
What this does
This plug maintains a leveraged wstETH collateral and USDC borrow position on Aave at market 0x2f39d218133afab8f2b819b1066c7e434ad94e9e. It reads caller state from plug storage under exited_loop and measures live debt and supply balances for the wallet. It fires only while the loop is still open, exiting fully by repaying vUSDC and withdrawing awstETH when the USDC borrow rate reaches 0.055, otherwise rebalancing debt toward the liquidation ceiling divided by 1.2. Running this by hand on a stale borrow rate or price risks missing the exit or misssizing the rebalance.
Actions · 47















































Related plugs · 8