Realm
gno.land/r/g172tf235svs0hkckys8kshnam6ncz7pscx9x59f/demo/demo_v00001/ledger
Render
this realm has no Render() output
Query (read-only)
non-crossing functions · no tx, no wallet neededBalanceOf(addr string) → uint64
DynamicAttrCount() → int
GetAdmin() → string
GetDynamicAttr(key string) → string
GetMainRealm() → string
HasDynamicAttr(key string) → bool
RenderDynamicAttrs() → string
TokenizedByOf(addr string) → uint64
Call functions (state-changing)
signs a tx via AdenaAddTokenized(addr string, amount uint64)
BurnFrom(addr string, amount uint64)
MintTo(addr string, amount uint64)
RemoveDynamicAttr(key string)
SetAdmin(newAdmin string)
SetDynamicAttr(key string, value string)
SetMainRealm(m string)
All exported functions (15)
show raw signatures
| Name | Params | Returns |
|---|---|---|
| SetAdmin | [{"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": "newAdmin", "Type": "string", "Value": ""}] | — |
| GetAdmin | — | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| SetMainRealm | [{"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": "m", "Type": "string", "Value": ""}] | — |
| GetMainRealm | — | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| SetDynamicAttr | [{"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": "key", "Type": "string", "Value": ""}, {"Name": "value", "Type": "string", "Value": ""}] | — |
| RemoveDynamicAttr | [{"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": "key", "Type": "string", "Value": ""}] | — |
| GetDynamicAttr | [{"Name": "key", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| HasDynamicAttr | [{"Name": "key", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "bool", "Value": ""}] |
| DynamicAttrCount | — | [{"Name": ".res.0", "Type": "int", "Value": ""}] |
| RenderDynamicAttrs | — | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| MintTo | [{"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": "addr", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "uint64", "Value": ""}] | — |
| BurnFrom | [{"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": "addr", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "uint64", "Value": ""}] | — |
| AddTokenized | [{"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": "addr", "Type": "string", "Value": ""}, {"Name": "amount", "Type": "uint64", "Value": ""}] | — |
| BalanceOf | [{"Name": "addr", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "uint64", "Value": ""}] |
| TokenizedByOf | [{"Name": "addr", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "uint64", "Value": ""}] |
Files
Storage
{
"raw": "storage: 33757, deposit: 3375700"
}