Last updated
User approves sUSDe (or any whitelisted asset via zap) spend for the vault contract.
User calls join() with the desired sUSDe amount.
OpalManager distributes sUSDe across adapters proportionally.
The Aave V3 adapter uses the sUSDe to acquire PT-sUSDe (via swap), supplies PT-sUSDe as collateral, and borrows additional USDT0 to acquire more PT-sUSDe (via swap) to achieve the target leverage.
The vault mints opal-PT-sUSDe-PLASMA-a shares to the user proportional to the vault's current holdings.
User calls exit() with the number of opal-PT-sUSDe shares and USDT0 to redeem.
OpalManager reclaims from each adapter proportionally.
The Aave V3 adapter unwinds a proportional share of the leveraged position (repay debt, withdraw collateral, swap PT-sUSDe back to USDT0).
The vault burns the user's opal-PT-sUSDe-PLASMA-a shares.
sUSDe is transferred to the user.
Flash loan USDT0 from Aave V3.
Swap USDT0 to PT-sUSDe.
Supply PT-sUSDe as additional collateral.
Borrow USDT against the new collateral.
Repay the flash loan.
Assert the post-rebalance balance sheet.
For a leverage decrease, the steps are reversed: flash loan, repay debt, withdraw collateral, swap to USDT, repay flash loan, assert balance sheet.
Users do not need to take any action during a managed rebalance. Share balances and redemption rights are unaffected.
Last updated

