Realm

gno.land/r/demo/profile

Rendered output

Query (read-only)

non-crossing functions · no tx, no wallet needed
GetBoolField(addr string, field string, def bool) → bool
GetIntField(addr string, field string, def int) → int
GetStringField(addr string, field string, def string) → string

Call functions (state-changing)

signs a tx via Adena
SetBoolField(field string, value bool)
SetIntField(field string, value int)
SetStringField(field string, value string)

All exported functions (7)

show raw signatures
NameParamsReturns
SetStringField [{"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": "field", "Type": "string", "Value": ""}, {"Name": "value", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
SetIntField [{"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": "field", "Type": "string", "Value": ""}, {"Name": "value", "Type": "int", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
SetBoolField [{"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": "field", "Type": "string", "Value": ""}, {"Name": "value", "Type": "bool", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
GetStringField [{"Name": "addr", "Type": "string", "Value": ""}, {"Name": "field", "Type": "string", "Value": ""}, {"Name": "def", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
GetBoolField [{"Name": "addr", "Type": "string", "Value": ""}, {"Name": "field", "Type": "string", "Value": ""}, {"Name": "def", "Type": "bool", "Value": ""}] [{"Name": ".res.0", "Type": "bool", "Value": ""}]
GetIntField [{"Name": "addr", "Type": "string", "Value": ""}, {"Name": "field", "Type": "string", "Value": ""}, {"Name": "def", "Type": "int", "Value": ""}] [{"Name": ".res.0", "Type": "int", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 56135, deposit: 5613500"
}