
What this does
This plug swaps 0.001 WETH for USDC on ElfomoFi with a minimum output derived from the current quote. It asks the caller to supply 0.001 WETH for the exchange. It fires whenever run, first reading ElfomoFi's live quote and then computing a floor at 995 divided by 1000, rounded down, of that amount. Performing this manually or against a stale quote risks setting a minimum that is too loose or executing at a worse rate than the chain confirms.
Actions · 3



Related plugs · 4