Skip to content

Commit

Permalink
merging in yearn commits
Browse files Browse the repository at this point in the history
  • Loading branch information
0xddong committed Aug 7, 2024
1 parent 3de4406 commit 823368f
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion lib/tokenized-strategy
2 changes: 1 addition & 1 deletion src/RepoTokenList.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import "forge-std/console.sol";
import {ITermRepoToken} from "./interfaces/term/ITermRepoToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/RepoTokenUtils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ITermRepoToken} from "./interfaces/term/ITermRepoToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/TermAuctionList.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ITermAuction} from "./interfaces/term/ITermAuction.sol";
import {ITermAuctionOfferLocker} from "./interfaces/term/ITermAuctionOfferLocker.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/term/ITermAuction.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

interface ITermAuction {
function termAuctionOfferLocker() external view returns (address);
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/term/ITermAuctionOfferLocker.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

interface ITermAuctionOfferLocker {
/// @dev TermAuctionOfferSubmission represents an offer submission to offeror an amount of money for a specific interest rate
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/term/ITermController.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

struct AuctionMetadata {
bytes32 termAuctionId;
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/term/ITermRepoCollateralManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

interface ITermRepoCollateralManager {
function maintenanceCollateralRatios(
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/term/ITermRepoServicer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

interface ITermRepoServicer {
function redeemTermRepoTokens(
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/term/ITermRepoToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/term/ITermVaultEvents.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

interface ITermVaultEvents {
event TermControllerUpdated(address oldController, address newController);
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockTermAuction.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ITermAuction} from "../../interfaces/term/ITermAuction.sol";
import {ITermRepoToken} from "../../interfaces/term/ITermRepoToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockTermAuctionOfferLocker.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ITermAuctionOfferLocker} from "../../interfaces/term/ITermAuctionOfferLocker.sol";
import {ITermAuction} from "../../interfaces/term/ITermAuction.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockTermController.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ITermController, AuctionMetadata} from "../../interfaces/term/ITermController.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockTermRepoCollateralManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ITermRepoCollateralManager} from "../../interfaces/term/ITermRepoCollateralManager.sol";
import {ITermRepoToken} from "../../interfaces/term/ITermRepoToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockTermRepoLocker.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

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

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockTermRepoServicer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ITermRepoServicer} from "../../interfaces/term/ITermRepoServicer.sol";
import {ITermRepoToken} from "../../interfaces/term/ITermRepoToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockTermRepoToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity ^0.8.18;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ITermRepoToken} from "../../interfaces/term/ITermRepoToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/utils/Setup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ contract Setup is ExtendedTest, IEvents {

// Factory from mainnet, tokenized strategy needs to be hardcoded to 0xBB51273D6c746910C7C06fe718f30c936170feD0
tokenizedStrategy = new TokenizedStrategy(address(mockFactory));
vm.etch(0xBB51273D6c746910C7C06fe718f30c936170feD0, address(tokenizedStrategy).code);
vm.etch(0x2e234DAe75C793f67A35089C9d99245E1C58470b, address(tokenizedStrategy).code);

termController = new MockTermController();
termVaultEventEmitterImpl = new TermVaultEventEmitter();
Expand Down

0 comments on commit 823368f

Please sign in to comment.