
What this does
This plug swaps 100 USDC for WETH on WOOFi at the oracle price. It asks the caller for 100 USDC to spend. It queries the current WOOFi quote, sets a minimum at 99.5 percent of that amount, and executes the swap only when the output clears that floor. Running it by hand or against a stale quote risks accepting fewer WETH than the live price would yield or having the trade revert when the market moves.
Actions · 3



Related plugs · 4