Explore how a BakerFi-style Vault issues shares while a separate leveraged Strategy manages collateral and debt. You will trace the complete deposit and withdrawal flow, understand how totalAssets() and Rebase determine share value, and then audit the finished implementation in a hands-on Foundry lab.
Path Outcome
By the end of this path, you should be able to read the vault’s accounting flow, identify its sensitive assumptions, and demonstrate a valid exploit without modifying the protocol contracts.