What this does
This plug maintains a WETH-collateralized USDC loop on Aave at 0x2f39d218133afab8f2b819b1066c7e434ad94e9e, tracking a trailing peak price and rebalancing debt toward the liquidation ceiling divided by 1.5. It reads only stored flags and live Aave reserve, oracle, and account data. It fires when supply is empty, price sets a new peak, price falls to 10 percent below the peak, or debt drifts off target, and halts otherwise. Running this by hand or on a stale price risks missing the stop or rebalancing against an outdated peak.
Actions · 67



































































Related plugs · 8