Execute
Execute runs one delegated limit swap of `amountIn` wugnot -> GNS for the caller.
Preconditions (set by the caller in prior txs):
- caller holds >= amountIn wugnot (wrap ugnot via wugnot.Deposit first);
- caller has Approve'd THIS realm as spender for >= amountIn wugnot.
The limit gate: execution is refused unless the live pool tick >= minTick. (minTick is the on-chain, MEV-safe trigger — the realm re-checks it itself, so a keeper poking this function can never force an off-limit fill.)
minOut is the slippage floor (amountOutMin) passed to GnoSwap. Returns (tickAtExecution, gnsForwardedToCaller).
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/g1cz86tl8vnh9956cpuu43ksjy7kmur745wdjxsc/limitspike" -func "Execute" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "test-13" -remote "https://rpc.test13.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test13.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1cz86tl8vnh9956cpuu43ksjy7kmur745wdjxsc/limitspike" -func "Execute" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test-13" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test13.testnets.gno.land" call.tx