foo20 package

Overview

foo20 is a GRC20 token contract where all the grc20.Teller methods are proxified with top-level functions. see also gno.land/r/demo/bar20.

Function

Burn

func Burn(cur realm, from std.Address, amount int64)

Params

Command

gnokey query -remote "https://rpc.gno.land:443" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/demo/defi/foo20" -func "Burn"  -args "" -args "" -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "staging" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land:443" call.tx