owner
.uverse.addressValue
<gnolang.StringValue>
Ownable
*v0.Ownable- OID
- 0a0a81…99bc:4
Ownable details
counter
intValue
0
successor
string// pkgpath that replaced this one; "" while this version is live
Value
""
Inc
func(n int)Inc adds n. It aborts once a successor has been declared.
- OID
- 0a0a81…99bc:8
Inc details
Get
func() intGet returns this version's final (or current) total.
- OID
- 0a0a81…99bc:10
Get details
Successor
func() stringSuccessor is the path callers should move to, or "" while this version is live.
- OID
- 0a0a81…99bc:11
Successor details
Retire
func(pkgPath string)Retire freezes this version and names its replacement. Owner-gated, one-way.
- OID
- 0a0a81…99bc:12
Retire details
Render
func(string) string- OID
- 0a0a81…99bc:13
Render details
assertPkgPath
func(p string)assertPkgPath rejects anything that is not a gno.land realm path. It exists for Render, not for correctness of the upgrade: the stored path is echoed into markdown, so validating it at write time is what lets Render print it raw. ui.Inline would escape the dots in "gno.land" and turn the one string a reader needs to copy into "gno\\.land".
- OID
- 0a0a81…99bc:14
assertPkgPath details
owner
:
.uverse.address
=<gnolang.StringValue>
Ownable : *v0.Ownable Inspect
counter
:
int
=0
successor
:
string
=""