Section 11 of 18
Build
+25 LynxVault: The report() Cycle (gain, loss, debt netting)
What You Are Building
The most important function in the vault. report() is called by every strategy on every harvest. It validates the strategy's claim, applies any loss, assesses fees, computes the new credit/debt allocation, and executes the net underlying transfer between vault and strategy.
If you understand report(), you understand multi-strategy vaults.
Your Code
Solution.sol
Loading editor...
Requirements
Write your implementation, then click Run Tests. Tests execute on the server.
Sign up free — keep reading + earn 25 Lynx
Zealynx Academy is free. Track your progress, earn Lynx, and climb the leaderboard.
Sign up free to continueAlready have an account? Log in