Before you sign.
The checks between a preview and a wallet prompt, including the rules for prepared liquidity plans.
What a swap must pass
The client and server both validate the token pair, chain, authoritative minimums, technical bounds, connected taker, selected slippage, and fees. They also check the allowance target, transaction target, value, calldata meaning, route, the provider simulation result, and expiry. Confirm swap is bound to the trade currently shown in the review.
Calldata is the instruction data sent to a contract. Checking its meaning helps ensure the transaction performs the intended action, rather than merely checking that data exists.
What a liquidity plan must pass
LP validation is tied to the fixed chain, pool, tokens, managers, zero hooks, aligned full range, recipient, step order, amount bounds, and deadlines.
A prepared plan contains the intended amounts, current allowance state, exact targets and calldata, transaction order, limits, and expiry. It is kept private off-chain.
The final check happens just before action
- Require a validated executable swap quote with a complete provider simulation result. Approval and LP steps have their own exact simulation checks.
- Check readiness again before submission.
- Stop if readiness cannot be proven: a disabled release switch, missing or stale configuration, or unknown readiness must fail closed.
Fail closed means the action is blocked when the system cannot establish that it is permitted and ready. LP actions stay disabled regardless of what the read-only pages display.