What this does
This plug swaps one token for another by transferring the input to the solver, routing it, and verifying the received amount. It asks the caller for amount_in, token_in, min_out, and token_out at execution time. It fires whenever called, but reverts unless the post-routing token_out balance gain is greater than or equal to min_out. Running this by hand or against a stale min_out floor risks accepting an output below the intended minimum.
Actions · 9









Related plugs · 8