Realm

gno.land/r/demo/defi/grc20factory

Rendered output

GRC20 Tokens (0)

Query (read-only)

non-crossing functions · no tx, no wallet needed
Allowance(symbol string, owner string, spender string) → int64
BalanceOf(symbol string, owner string) → int64
Bank(symbol string) → *gno.land/p/demo/tokens/grc20.Token
HasAddr(symbol string, owner string) → bool
ListTokens(pageNumber int, pageSize int) → []*gno.land/p/demo/tokens/grc20.Token
TotalSupply(symbol string) → int64

Call functions (state-changing)

signs a tx via Adena
Approve(symbol string, spender string, amount int64)
Burn(symbol string, from string, amount int64)
DropInstanceOwnership(symbol string)
Faucet(symbol string)
Mint(symbol string, to string, amount int64)
New(name string, symbol string, decimals int, initialMint int64, faucet int64)
NewWithAdmin(name string, symbol string, decimals int, initialMint int64, faucet int64, admin string)
Transfer(symbol string, to string, amount int64)
TransferFrom(symbol string, from string, to string, amount int64)
TransferInstanceOwnership(symbol string, newOwner string)

All exported functions (17)

show raw signatures
NameParamsReturns
New [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "name", "Type": "string", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "decimals", "Type": "int", "Value": ""}, {"Name": "initialMint", "Type": "int64", "Value": ""}, {"Name": "faucet", "Type": "int64", "Value": ""}]
NewWithAdmin [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "name", "Type": "string", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "decimals", "Type": "int", "Value": ""}, {"Name": "initialMint", "Type": "int64", "Value": ""}, {"Name": "faucet", "Type": "int64", "Value": ""}, {"Name": "admin", "Type": "string", "Value": ""}]
Bank [{"Name": "symbol", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "*gno.land/p/demo/tokens/grc20.Token", "Value": ""}]
TotalSupply [{"Name": "symbol", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
HasAddr [{"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "owner", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
BalanceOf [{"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "owner", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Allowance [{"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "owner", "Type": "string", "Value": ""}, {"Name": "spender", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Transfer [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
Approve [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "spender", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
TransferFrom [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "from", "Type": "string", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
Faucet [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}]
Mint [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
Burn [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "from", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
DropInstanceOwnership [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}]
TransferInstanceOwnership [{"Name": "cur", "Type": "interface {Address func() .uverse.address; Coins func() .uverse.gnocoins; Origin func() .uverse.realm; PkgPath func() string; Previous func() .uverse.realm; Send func(.uverse.gnocoins, .uverse.address) .uverse.error; String func() string}", "Value": ""}, {"Name": "symbol", "Type": "string", "Value": ""}, {"Name": "newOwner", "Type": "string", "Value": ""}]
ListTokens [{"Name": "pageNumber", "Type": "int", "Value": ""}, {"Name": "pageSize", "Type": "int", "Value": ""}] [{"Name": ".res.0", "Type": "[]*gno.land/p/demo/tokens/grc20.Token", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 25563, deposit: 2556300"
}