Section 18 of 18
Final Build
+100 LynxComplete Multi-Strategy Vault
Final Build
Submit your complete protocol and run the full test suite. Earn the "yearn-v2-builder" badge on completion.
The Complete Multi-Strategy Vault
You have built the entire Yearn V2 vault system. The deployable artifact is two contracts:
Vault(the final link in the Vault inheritance chain, section 17). Inherits everything from sections 2-17. Deploys with a constructor that takes (token, name, symbol, governance, management, guardian, rewards).- A concrete strategy that inherits from
StrategyHarvest(section 15), which inherits fromBaseStrategy(section 8). Section 15's example showed an Aave lender; you can write Curve, Compound, or any other underlying-protocol adapter on the same template.
Your Complete Protocol
Solution.sol
Loading editor...
Sign up free — keep reading + earn 100 Lynx
Zealynx Academy is free. Track your progress, earn Lynx, and climb the leaderboard.
Sign up free to continueAlready have an account? Log in