A yield vault with share-based accounting. The math is clean — until you look at what happens with very small numbers.
Max Points
50 PTS
Live Since
Apr 20, 2026
Last Updated
Apr 29, 2026
Difficulty
Advanced
Fractured is a yield vault where depositors receive shares proportional to their deposit. The share price floats based on the vault's total value. Everything works correctly in normal conditions.
But edge cases matter. Think about what happens at the extremes — when the vault is nearly empty, when deposits are tiny, or when someone interacts with the vault in unexpected ways.
Share-based accounting is the standard pattern for yield vaults, LP tokens, and staking derivatives. The math seems simple: shares = deposit * totalShares / totalAssets. But integer arithmetic on blockchains has no decimals, and rounding can be weaponized.
This challenge tests your understanding of numerical edge cases in DeFi.