Realm

gno.land/r/test1/tba

Rendered output

Token Bound Account ($TBA)

  • Total supply: 2
  • Known accounts: 2

Query (read-only)

non-crossing functions · no tx, no wallet needed
AllTokens() → []gno.land/p/test1/grc721.TokenID
AllTokensCSV() → string
Balance(tid string) → int64
BalanceOfOwner(owner string) → int64, interface {Error func() string}
OwnerOf(tid string) → string, interface {Error func() string}
TokenInfo(tid string) → string, string, string, string, int64, interface {Error func() string}
TokensOf(owner string) → []gno.land/p/test1/grc721.TokenID
TokensOfCSV(owner string) → string
VaultAddress(tid string) → string

Call functions (state-changing)

signs a tx via Adena
Mint(to string, name string, image string)
Setup()
TransferFrom(from string, to string, tid string)
Withdraw(tid string, to string, amount int64)

All exported functions (14)

show raw signatures
NameParamsReturns
Setup [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}]
Mint [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "name", "Type": "string", "Value": ""}, {"Name": "image", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
VaultAddress [{"Name": "tid", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
Balance [{"Name": "tid", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Withdraw [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "tid", "Type": "string", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "int64", "Value": ""}]
OwnerOf [{"Name": "tid", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
BalanceOfOwner [{"Name": "owner", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}, {"Name": ".res.1", "Type": "interface {Error func() string}", "Value": ""}]
TransferFrom [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "from", "Type": "string", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "tid", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "interface {Error func() string}", "Value": ""}]
AllTokens [{"Name": ".res.0", "Type": "[]gno.land/p/test1/grc721.TokenID", "Value": ""}]
TokensOf [{"Name": "owner", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "[]gno.land/p/test1/grc721.TokenID", "Value": ""}]
TokenInfo [{"Name": "tid", "Type": "string", "Value": ""}] [{"Name": "name", "Type": "string", "Value": ""}, {"Name": "image", "Type": "string", "Value": ""}, {"Name": "owner", "Type": "string", "Value": ""}, {"Name": "vault", "Type": "string", "Value": ""}, {"Name": "balance", "Type": "int64", "Value": ""}, {"Name": "err", "Type": "interface {Error func() string}", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
AllTokensCSV [{"Name": ".res.0", "Type": "string", "Value": ""}]
TokensOfCSV [{"Name": "owner", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 31508, deposit: 3150800"
}