Skip to content

Commit

Permalink
fix: greater or equal (#200)
Browse files Browse the repository at this point in the history
* fix: greater or equal

* fix: usdt version

* fix: usdt view
  • Loading branch information
Schlagonia authored Apr 7, 2024
1 parent cb9be33 commit 9fbc614
Show file tree
Hide file tree
Showing 19 changed files with 106 additions and 86 deletions.
1 change: 1 addition & 0 deletions ape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
contracts_folder: src

solidity:
version: 0.8.18
import_remapping:
- "@openzeppelin/contracts=openzeppelin/v4.9.5"
- "@tokenized-strategy=tokenized-strategy/v3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IDeployer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

interface IDeployer {
event ContractCreation(address indexed newContract, bytes32 indexed salt);
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IVault.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

import {IERC4626} from "@openzeppelin/contracts/interfaces/IERC4626.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IVaultFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/Roles.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

// prettier-ignore
library Roles {
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/VaultConstants.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

// prettier-ignore
contract VaultConstants {
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/ERC4626BaseStrategy.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.18;
pragma solidity >=0.8.18;

import {ERC4626} from "@openzeppelin/contracts/token/ERC20/extensions/ERC4626.sol";
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/Token.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

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

Expand Down
Loading

0 comments on commit 9fbc614

Please sign in to comment.