Deployed Contracts Registry
Below is a list of relevant smart contracts and Github repositories for using and interacting with the Yearn product suite.
Token Contracts
YFI
The Yearn ecosystem is controlled by YFI token holders who submit and vote on proposals that govern the ecosystem.
Token
Address
0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e
v2 Yield Tokens
The v2 yield tokens can be used in one lender at a time. Currently being used on Curve’s Y Pool, Yearn’s yBTC pool and sUSD pool.
Token
Address
Github
v3 Yield Tokens
The v3 yield tokens allow the underlying assets to be spread across multiple lenders. Currently being used on Curve’s BUSD pool.
Token
Address
Github
Vault Contracts
Vaults follow unique strategies that are designed to maximize yield of the deposited asset and minimize risk. The vaults are maintained by a Controller
which oversees the strategy execution. Strategies' generated profits are used to buy respective vault underlying asset.
The Controller
contract can be found here and the source code can be found here.
Vaults
Vault
Address
GitHub
Strategies
Strategy
Address
GitHub
Vault
0xC59601F0CC49baa266891b7fc63d2D5FE097A79D
0x932fc4fd0eee66f22f1e23fba74d7058391c0b15
0xc999fb87aca383a63d804a575396f65a55aa5ac8
0x530da5aef3c8f9ccbc75c97c182d6ee2284b643f
0xBA0c07BBE9C22a1ee33FE988Ea3763f21D0909a0
Delegated Vault Contracts
Volatile assets can also participate in yield farming strategies as part of the Delegated Vaults. Currently, there is only one Delegated Vault: aLINK. The Controller
deposits LINK into AAVE and borrows stable coins (USDC). The initial health factor of these loans is always above 4, and if the health factor drops below 4 at any time the Controller
repays a portion of the debt in order to maintain a health factor above 4.
The stable coins borrowed (e.g., USDC, DAI, USDT, etc.) depend on the strategy selected by the Controller
. After obtaining stable coins the Controller
will deposit them into one of the yVaults identified above.
The aLINK vault uses the StrategyControllerV2
contract. The source code for StrategyControllerV2
is here.
Strategy
Strategy
GitHub
Vault
Address
GitHub
Governance Contracts
YFI holders govern the Yearn ecosystem and are eligible to receive a portion of protocol profits. Therefore, YFI represents a right to govern the platform and a claim on earnings. Profits are obtained from each of Yearn's products. In order to claim profits, YFI holders stake their tokens into the Governance contract.
Contract
Status
Address
Status and Info Contracts
Utility
Summary
The Vault Registry is the single source of truth for active Yearn vaults. The registry allows users to query for active Yearn vaults and vault metadata (details here).
On-chain uniswap pool ROI calculator
Allows on-chain rate comparison between Compound, Fulcrum, Aave, and dYdX.
An on-chain uniswap pool APR calculator. It calculates all values in ETH adjusted for the last year.
Contract for on-chain APR decision trees between Compound, Fulcrum, Aave, and dYdX.
On-chain stateless execution. Recommendations based on IearnAPR.
APR used for stateless recommend()
function. Can be used to change the recommended provider.
APR used for stateless recommend()
function. Can be used to change the recommended provider.
Utility Contracts
Utility
Address
0xdF5e0e81Dff6FAF3A7e52BA697820c5e32D806A8
Last updated
Was this helpful?