Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v1 state

Back to all declarations

Predecessor

untyped string

Predecessor is the version this one supersedes.

Value

"gno.land/r/moul/x/upgrade/lock/v0"

counter

int

Value

0

Inc

func(n int)

Inc adds n once the predecessor is frozen.

Open
OID
0285be…ab66:4
Inc details

Inspect func

Get

func() int

Get returns the predecessor's frozen total plus this version's own.

Open
OID
0285be…ab66:6
Get details

Inspect func

Live

func() bool

Live reports whether the handover has happened.

Open
OID
0285be…ab66:7
Live details

Inspect func

assertPredecessorRetired

func()
Open
OID
0285be…ab66:8
assertPredecessorRetired details

Inspect func
Predecessor : untyped string ="gno.land/r/moul/x/upgrade/lock/v0"
counter : int =0
Inc : func(n int) Inspect
Get : func() int Inspect
Live : func() bool Inspect
assertPredecessorRetired : func() Inspect
Render : func(string) string Inspect