Protocols / Yield Aggregator
Yearn Finance V3
Yearn V3 vaults are ERC-4626 vaults that put deposits to work in strategies. An agent can find endorsed vaults in the registry, deposit an asset through the 4626 Router, and redeem shares or withdraw the asset.
On-chainEVM9 contractsWebsite · Docs
get_protocol({ "protocol": "yearn" })Risks an agent should know
- Vault strategies can lose money. Yearn vaults do not guarantee the deposited amount.
- Vaults have their own fees, role managers and strategies. Governance and role managers can change them.
- Retired or shut down vaults may not allow new deposits. Check isEndorsed and read the vault before depositing.
- Withdrawals can be limited by liquidity in the strategies. Set maxLoss with care.
What an agent can do
| find-vault | Find endorsed vaults for an asset Registry.getEndorsedVaults(asset) on the chain you want; check isEndorsed(vault) before depositing |
| deposit | Deposit an asset into a vault approve the 4626 Router for the asset, then Router.deposit(vault, amount, to, minSharesOut) |
| redeem | Redeem vault shares approve the Router for the vault shares, then Router.redeem(vault, shares, to, maxLoss) |
| withdraw | Withdraw an exact amount of the asset approve the Router for the vault shares, then Router.withdraw(vault, amount, to, maxLoss) |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| V3 Registry (current, stable address on all EVM chains) other | 0xd40ecF29e001c76Dcc4cC0D9cd50520CE845B038 source | readgetEndorsedVaults(address) readnumEndorsedVaults(address) readisEndorsed(address) readvaultInfo(address) readgetAssets() readnumAssets() | Full ABI |
| VaultFactory 3.1.1 factory | 0x311de24e48C360B9A7765E7aB7eCDBABCd27B134 source | writedeploy_new_vault(address,string,string,address,uint256) | Full ABI |
| 4626 Router router | 0x1112dbCF805682e828606f74AB717abf4b4FD8DE source | writedeposit(address,uint256,address,uint256) writeredeem(address,uint256,address,uint256) writewithdraw(address,uint256,address,uint256) readWETH9() | Full ABI |
base · chain id 8453
| Contract | Address | Key functions | Try |
|---|---|---|---|
| V3 Registry (current) other | 0xd40ecF29e001c76Dcc4cC0D9cd50520CE845B038 source | readgetEndorsedVaults(address) readnumEndorsedVaults(address) readisEndorsed(address) readvaultInfo(address) readgetAssets() readnumAssets() | Full ABI |
| 4626 Router router | 0x1112dbCF805682e828606f74AB717abf4b4FD8DE source | writedeposit(address,uint256,address,uint256) writeredeem(address,uint256,address,uint256) writewithdraw(address,uint256,address,uint256) readWETH9() | Full ABI |
arbitrum · chain id 42161
| Contract | Address | Key functions | Try |
|---|---|---|---|
| V3 Registry (current) other | 0xd40ecF29e001c76Dcc4cC0D9cd50520CE845B038 source | readgetEndorsedVaults(address) readnumEndorsedVaults(address) readisEndorsed(address) readvaultInfo(address) readgetAssets() readnumAssets() | Full ABI |
| 4626 Router router | 0x1112dbCF805682e828606f74AB717abf4b4FD8DE source | writedeposit(address,uint256,address,uint256) writeredeem(address,uint256,address,uint256) writewithdraw(address,uint256,address,uint256) readWETH9() | Full ABI |
optimism · chain id 10
| Contract | Address | Key functions | Try |
|---|---|---|---|
| V3 Registry (current) other | 0xd40ecF29e001c76Dcc4cC0D9cd50520CE845B038 source | readgetEndorsedVaults(address) readnumEndorsedVaults(address) readisEndorsed(address) readvaultInfo(address) readgetAssets() readnumAssets() | Full ABI |
| 4626 Router router | 0x1112dbCF805682e828606f74AB717abf4b4FD8DE source | writedeposit(address,uint256,address,uint256) writeredeem(address,uint256,address,uint256) writewithdraw(address,uint256,address,uint256) readWETH9() | Full ABI |
Notes
Core contracts use the same address on every EVM chain (Yearn deploys with CREATE2). Addresses are listed only on the chains where eth_getCode returned bytecode and the ABI was read from Sourcify: Ethereum, Base, Arbitrum and Optimism. VaultFactory 3.1.1 has a verified ABI on Ethereum only. Individual vault addresses are not listed; find them with the registry. Older factory versions (3.0.x, 3.1.0) and the Role Manager and Accountant contracts are not included. Polygon, Fantom and Katana appear on DefiLlama but are not covered here.
Sources
- https://docs.yearn.fi/developers/addresses/v3-contracts
- https://docs.yearn.fi/ai/raw/developers/addresses/v3-contracts.md
- https://api.llama.fi/protocol/yearn-finance
- https://sourcify.dev/server/v2/contract/1/0xd40ecF29e001c76Dcc4cC0D9cd50520CE845B038
- https://sourcify.dev/server/v2/contract/1/0x1112dbCF805682e828606f74AB717abf4b4FD8DE
- https://sourcify.dev/server/v2/contract/1/0x311de24e48C360B9A7765E7aB7eCDBABCd27B134
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.