Curve sell flow
- Enter the token amount and review the onchain
quoteSellresult. - The app calculates
minEthOutfrom your slippage setting. - If allowance is insufficient, the app simulates an exact approval to the per-token curve and requests an approval signature.
- It waits for the approval receipt, verifies success, and re-reads allowance until the confirmed state is visible.
- It rechecks wallet, network, balance, allowance, quote deadline, and curve state.
- It simulates
sell(tokensIn, minEthOut, deadline)and requests the separate sell signature. - It reports success only after the sell receipt succeeds.