SafeGRC20Transfer
SafeGRC20Transfer transfers tokens as the current realm and panics if it fails.
Parameters:
- _: leading integer discriminator for the realm-crossing ABI; pass 0.
- rlm: propagated realm context used to resolve and invoke the registered token implementation.
- tokenKey: registry key identifying the GRC20 token to transfer.
- to: recipient address.
- amount: number of token base units to transfer.
Panics if the underlying transfer returns an error.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/common.SafeGRC20Transfer(,,,,)"
Result