Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

grc20reg/v0 package

Function

Approve

func Approve(_ int, rlm realm, tokenKey string, spender address, amount int64)

Approve sets an allowance owned by the CALLING REALM, letting `spender` draw on the calling realm's balance. It does not touch the signing user's allowances.

Params

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/nt/grc20reg/v0.Approve(,,,,)"

Result