
What this does
This plug maintains a WETH collateral and USDC borrow position on Aave at 0x2f39d218133afab8f2b819b1066c7e434ad94e9e, targeting debt at the liquidation ceiling divided by 1.5 while tracking a trailing stop 10 percent below the recorded peak price. It reads its own stored exited_loop flag and last_peak_price and the live oracle price. It runs when supply is empty, the price sets a new peak, debt drifts off target, or the price reaches the stop. Acting on a stale peak risks a late exit or liquidation.
Actions · 67



































































Related plugs · 8