What this does
This plug sells sellToken through a solver and requires the buyToken balance held by account to reach the pre-routing balance plus minReceive before settling. It asks the caller for account, sellAmount, sellToken, buyToken, and minReceive. It fires whenever the caller runs it, transferring sellAmount to the solver and reverting if routing returns less than the floor. Running this by hand or against a stale quote risks accepting an output below the minReceive floor and losing the difference.
Actions · 11











Related plugs · 8