Skip to content

Commit

Permalink
Merge pull request #100 from Layr-Labs/lax-interface-pragmas
Browse files Browse the repository at this point in the history
laxer pragmas for interfaces
  • Loading branch information
ChaoticWalrus authored Jul 17, 2023
2 parents 4aef537 + 3a377c3 commit 25515ed
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IBLSPublicKeyCompendium.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "../libraries/BN254.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IBLSRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "./IQuorumRegistry.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IBeaconChainOracle.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

/**
* @title Interface for the BeaconStateOracle contract.
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IDelayedService.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

/**
* @title Interface for a middleware / service that may look at past stake amounts.
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IDelayedWithdrawalRouter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

interface IDelayedWithdrawalRouter {
// struct used to pack data into a single storage slot
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IDelegationManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "./IDelegationTerms.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IDelegationTerms.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "./IStrategy.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IETHPOSDeposit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// SPDX-License-Identifier: CC0-1.0

pragma solidity =0.8.12;
pragma solidity >=0.5.0;

// This interface is designed to be compatible with the Vyper version.
/// @notice This is the Ethereum 2.0 deposit contract interface.
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IEigenPod.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "../libraries/BeaconChainProofs.sol";
import "./IEigenPodManager.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IEigenPodManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "./IStrategyManager.sol";
import "./IEigenPod.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IPausable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "../interfaces/IPauserRegistry.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IPauserRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

/**
* @title Interface for the `PauserRegistry` contract.
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IPaymentManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IQuorumRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "./IRegistry.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

/**
* @title Minimal interface for a `Registry`-type contract.
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IServiceManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./IDelegationManager.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/ISlasher.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

/**
* @title Interface for the primary 'slashing' contract for EigenLayer.
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IStrategy.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IStrategyManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "./IStrategy.sol";
import "./ISlasher.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IVoteWeigher.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

/**
* @title Interface for a `VoteWeigher`-type contract.
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IWhitelister.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity >=0.5.0;

import "../../contracts/interfaces/IStrategyManager.sol";
import "../../contracts/interfaces/IStrategy.sol";
Expand Down

0 comments on commit 25515ed

Please sign in to comment.