Skip to content
This repository was archived by the owner on Jan 10, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,165 changes: 510 additions & 655 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion contracts/controllers/Controller.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/controllers/DelegatedController.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
1 change: 1 addition & 0 deletions contracts/exploits/EvilGauge.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity =0.5.17;

import "@openzeppelinV2/contracts/token/ERC20/IERC20.sol";
Expand Down
3 changes: 2 additions & 1 deletion contracts/registries/YRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/CurveYCRVVoter.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyCreamYFI.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
1 change: 1 addition & 0 deletions contracts/strategies/StrategyCurve3CrvVoterProxy.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

import "@openzeppelinV2/contracts/token/ERC20/IERC20.sol";
Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyCurveBTCVoterProxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyCurveBUSDVoterProxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyCurveYVoterProxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyDAICurve.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyDForceUSDC.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyDForceUSDT.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
1 change: 1 addition & 0 deletions contracts/strategies/StrategyMKRVaultDAIDelegate.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

import "@openzeppelinV2/contracts/token/ERC20/IERC20.sol";
Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyProxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyTUSDCurve.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyVaultUSDC.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/strategies/StrategyYFIGovernance.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion contracts/test/Token.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0

pragma solidity ^0.5.17;

import "@openzeppelinV2/contracts/token/ERC20/ERC20.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/utils/BTCOSMedianizer.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

import "@openzeppelinV2/contracts/math/SafeMath.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/utils/ETHOSMedianizer.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

import "../../interfaces/maker/OracleSecurityModule.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/vaults/yDelegatedVault.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

import "@openzeppelinV2/contracts/token/ERC20/IERC20.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/vaults/yVault.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

import "@openzeppelinV2/contracts/token/ERC20/IERC20.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/vaults/yWETH.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

import "@openzeppelinV2/contracts/token/ERC20/IERC20.sol";
Expand Down
1 change: 1 addition & 0 deletions interfaces/aave/Aave.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface Aave {
Expand Down
1 change: 1 addition & 0 deletions interfaces/aave/AaveToken.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface AaveToken {
Expand Down
1 change: 1 addition & 0 deletions interfaces/aave/LendingPoolAddressesProvider.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface LendingPoolAddressesProvider {
Expand Down
1 change: 1 addition & 0 deletions interfaces/aave/Oracle.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface Oracle {
Expand Down
3 changes: 2 additions & 1 deletion interfaces/compound/Token.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/cream/Controller.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/curve/Curve.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/curve/Gauge.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/curve/Mintr.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/curve/VoteEscrow.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/dforce/Rewards.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/dforce/Token.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
1 change: 1 addition & 0 deletions interfaces/maker/Maker.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface GemLike {
Expand Down
1 change: 1 addition & 0 deletions interfaces/maker/OracleSecurityModule.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface OracleSecurityModule {
Expand Down
3 changes: 2 additions & 1 deletion interfaces/uniswap/Uni.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
1 change: 1 addition & 0 deletions interfaces/weth/WETH.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface WETH {
Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IController.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IConverter.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
1 change: 1 addition & 0 deletions interfaces/yearn/IDelegatedVault.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// SPDX-License-Identifier: SSPL-1.0
pragma solidity ^0.5.17;

interface IDelegatedVault {
Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IGovernance.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IOneSplitAudit.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IProxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IStrategy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IToken.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IVault.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IVoterProxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down
3 changes: 2 additions & 1 deletion interfaces/yearn/IWrappedVault.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
/// SPDX-License-Identifier: SSPL-1.0


pragma solidity ^0.5.17;

Expand Down