admin
.uverse.addressValue
<gnolang.StringValue>
message
stringValue
"Only the admin can edit this message."
SetMessage
func(next string)- OID
- 0d6be2…459b:5
SetMessage details
TransferAdmin
func(next .uverse.address)- OID
- 0d6be2…459b:7
TransferAdmin details
Admin
func() .uverse.address- OID
- 0d6be2…459b:8
Admin details
Message
func() string- OID
- 0d6be2…459b:9
Message details
Render
func(path string) string- OID
- 0d6be2…459b:10
Render details
assertAdmin
func()assertAdmin guards a state-mutating call. Callers pass their own cur rather than cross(cur) — a non-crossing call of a crossing function, so PreviousRealm does not shift and still names whoever called SetMessage or TransferAdmin. The cur realm first parameter is what makes it a crossing function: the compiler refuses any other first argument, so the token reaching IsCurrent below is live by construction.
- OID
- 0d6be2…459b:11
assertAdmin details
admin
:
.uverse.address
=<gnolang.StringValue>
message
:
string
="Only the admin can edit this message."