Simulate before going live
Single call
sailor mandate simulate \
--address MyPermission \ # required: address or tracked name
--sma 0xYourSMA \ # probe as this account (ctx.account); defaults to .sail/account.json
--target 0xRouter \ # the call target
--calldata 0x414bf389... \ # 0x-prefixed calldata
--value 0 \ # ETH value in wei (default 0)
--expect pass \ # expected outcome: pass | fail (sets a non-zero exit on mismatch)
--label "swap usdc->weth" # human-readable labelBatch
Where it fits
Last updated

