Realm

gno.land/r/g12cs4cehujpffpjpywmkqj43m6u5ya53nj69sjz/governor

Rendered output

🏛️ Governor

Simplified on-chain governance — 1 address = 1 vote, voting period of 100 blocks.

Current chain height: 605903

No proposals yet. Call Propose to create one.

Query (read-only)

non-crossing functions · no tx, no wallet needed
State(id int64) → string

Call functions (state-changing)

signs a tx via Adena
CastVote(id int64, support int)
Execute(id int64)
Propose(description string)

All exported functions (5)

show raw signatures
NameParamsReturns
Propose [{"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": "description", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
CastVote [{"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": "id", "Type": "int64", "Value": ""}, {"Name": "support", "Type": "int", "Value": ""}]
Execute [{"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": "id", "Type": "int64", "Value": ""}]
State [{"Name": "id", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 12236, deposit: 1223600"
}