
What this does
This plug manages a looped WETH/USDC position on the Aave Ethereum market at 0x2f39d218133afab8f2b819b1066c7e434ad94e9e, opening collateral, adjusting toward a target health factor, and composing a stop loss. It reads the exited_weth/usdc_swarm flag and the caller's WETH and USDC reserve data and supply balance at 0x484428507A212cA56D71baa27Ca6089a6dB63a88. It runs only while that flag equals false, meaning the loop has not already been closed. Managing this by hand or on a stale health factor risks winding against a closed position or missing the stop loss trigger.
Actions · 8








Related plugs · 8