Section 11 of 18

Build
+25 Lynx

Vault: 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
Solidity
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 continue

Already have an account? Log in