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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

ops state

Back to all declarations

owner

.uverse.address

Value

<gnolang.StringValue>

Balance

func() int64

Balance is the wrapped GNOT this realm holds, read from wugnot rather than tracked in a counter of our own. A realm that keeps its own idea of its balance is a realm that can disagree with the truth.

Open
OID
066817…239f:5
Balance details

Inspect func

rejectAttachedCoin

func(what string)

rejectAttachedCoin panics if the caller attached native coin to a call that has no use for it. Identical in shape and reasoning to the guard the three arcade realms gained on 2026-10-07: every money path here is wrapped GNOT, so attached ugnot would sit in this realm for ever with nothing able to reach it. Inert on a non-user call, for the reason r/splash/exchange's Buy comment gives: unsafe.OriginSend() reads the envelope attached at the chain root, shared by every realm in the call chain, so reading it is only sound when the immediate caller is an EOA.

Open
OID
066817…239f:6
rejectAttachedCoin details

Inspect func

requireOwner

func()

requireOwner is the only authorisation in this realm. cur.Previous().Address() AND NOT runtime.OriginCaller(). The origin caller is whoever signed the transaction, which is the same thing right up until the owner is persuaded to call some other realm that calls this one -- at which point an origin check would authorise a withdrawal the owner never asked for. The immediate caller is the one that cannot be borrowed.

Open
OID
066817…239f:7
requireOwner details

Inspect func

Withdraw

func(amount int64) int64

Withdraw sends \`amount\` of wrapped GNOT to the owner. THE DESTINATION IS NOT AN ARGUMENT. It is always the owner's own address, so there is no call shape in which this realm pays somebody else -- not by mistake, not by a malformed argument, not by a caller who has somehow got past requireOwner. A withdrawal function that takes a recipient is one typo away from being a drain.

Open
OID
066817…239f:8
Withdraw details

Inspect func

WithdrawAll

func() int64

WithdrawAll empties the till to the owner. Refuses on an empty one rather than succeeding with a zero transfer: "it worked" and "there was nothing there" are different answers and a caller deserves to be told which.

Open
OID
066817…239f:9
WithdrawAll details

Inspect func
owner : .uverse.address =<gnolang.StringValue>
Owner : func() .uverse.address Inspect
Balance : func() int64 Inspect
rejectAttachedCoin : func(what string) Inspect
requireOwner : func() Inspect
Withdraw : func(amount int64) int64 Inspect
WithdrawAll : func() int64 Inspect
Render : func(path string) string Inspect