owner
.uverse.addressValue
<gnolang.StringValue>
Ownable
*v0.Ownable- OID
- 087446…5524:4
Ownable details
counter
intValue
0
live
stringValue
"gno.land/r/moul/x/upgrade/store/logic/v0"
Inc
func(n int) intInc adds n to the stored counter. Only the live logic realm may call it.
- OID
- 087446…5524:8
Inc details
Get
func() intGet is open to everyone: the data is public, only writes are gated.
- OID
- 087446…5524:10
Get details
Live
func() stringLive is the package path currently allowed to write.
- OID
- 087446…5524:11
Live details
SetLive
func(pkgPath string)SetLive hands write access to another logic realm. This is the upgrade.
- OID
- 087446…5524:12
SetLive details
assertCallerIsLive
func()- OID
- 087446…5524:13
assertCallerIsLive details
Render
func(string) string- OID
- 087446…5524:14
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
- 087446…5524:15
assertPkgPath details
owner
:
.uverse.address
=<gnolang.StringValue>
Ownable : *v0.Ownable Inspect
counter
:
int
=0
live
:
string
="gno.land/r/moul/x/upgrade/store/logic/v0"