Set the swap’s minimum output from a treasury loss budget, not a wallet default. For a team converting a recurring payout balance, the quoted rate is only a snapshot: pool movement and competing transactions can change the fill before confirmation. For any route quoted on Biswap, record the quote, route, and minimum output your transaction will enforce; that gives finance and operations a shared execution limit.
What does the slippage setting actually limit?
Slippage tolerance sets how far the received amount may fall below the transaction’s quoted output before the swap reverts. If the quote is 1,000,000 payout tokens and tolerance is 12 basis points, the minimum output is 998,800 tokens: quoted output × (1 − 0.0012), rounded down to the token’s smallest unit.
The quote usually already reflects the pool fee and price impact for the simulated trade. Tolerance does not cap those costs against a market reference; it caps deterioration from that quote. In a constant-product pool, a large trade moves the reserve ratio along the x·y=k curve, so price impact grows with trade size relative to reserves. A concentrated-liquidity pool can have abundant liquidity near the current price and much less beyond its active tick range, making the next portion of the same trade materially more expensive.
How should a treasury choose the tolerance?
Derive the tolerance from the maximum adverse movement your policy permits between quote and execution, then check total execution cost separately. Set a per-transfer budget in basis points of notional, and reserve room for quote-to-inclusion movement; do not spend the whole budget on tolerance if the quoted price impact and pool fee already consume most of it.
For example, suppose a $100,000 conversion has a $200 total execution-cost budget, or 20 bps against a defined reference price. If the quoted route already implies 11 bps of fee and price impact, only 9 bps remain for adverse movement and other costs under that policy. A 9 bps tolerance means the transaction reverts if its output falls more than that below the quote; it does not guarantee the total trade stays within 20 bps unless the quote and reference use the same valuation basis.
What should operations verify before signing?
For each recurring payout, validate the route against the treasury’s limit and persist these execution fields with the approval record:
- Input amount, output token, and recipient address.
- Quoted output, reference price, route, and quote timestamp.
- Minimum output derived from the approved tolerance.
- Pool fee, estimated price impact, network fee, and transaction deadline.
Use a short deadline, often around one to three minutes for an actively monitored transfer, so a delayed transaction cannot execute against a stale quote. The precise window depends on block times, approval workflow, and congestion; if it expires, obtain a fresh quote and re-approve rather than resubmitting old calldata. For routes involving Biswap pools, compare the quote with the actual pool path and active liquidity, since a multi-hop route can have a different fee and depth profile from the direct pair.
What happens when the limit is too tight or too loose?
A tight minimum output protects the approved price but increases reverts when the pool moves during inclusion; repeated failures add network fees and delay a payout. A loose limit improves fill probability while giving price movement—and potentially an ordering trade—a larger interval in which to worsen execution. The right setting is therefore the narrowest tolerance that clears reliably under observed quote-to-inclusion movement, not a universal wallet preset.
Before rollout, simulate the intended trade size at the time of execution and compare several recent transfers’ quote-to-fill changes; use a percentile consistent with the business’s service level, then review failed swaps and realized costs monthly. If the required tolerance is routinely wider than policy allows, reduce trade size, schedule execution when liquidity is deeper, or pause and seek approval for another route. Set tolerance from measured execution drift, and split or delay any transfer whose quoted cost plus permitted drift exceeds the treasury budget.