What this does
This plug manages a WETH/USDC leverage loop on Aave in the Ethereum market at 0x2f39d218133afab8f2b819b1066c7e434ad94e9e by composing three sub-plugs that supply, maintain a target health factor, and enforce a stop loss. It reads the WETH and USDC reserve data and the position held at 0x484428507A212cA56D71baa27Ca6089a6dB63a88. It runs only when the exited_weth/usdc_swarm flag equals false, opening the position when no aToken is held and unwinding on the stop loss trigger. Managing this by hand across supply, rebalance, and exit risks acting on stale rates or a closed position.
Actions · 8








Related plugs · 8