func Balance
crossing ActionBalance 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.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package ops is the house's till.
Package ops is the house's till.
WHAT IT IS FOR. The three arcade realms each take a cut -- 5% of a draw ticket, 3% of a duel stake -- and each pushes it to ONE compile-time address, opsVaultAddr, which is the address derived from THIS package's path. Until this realm existed, that address had no code at it: the money left the games and landed somewhere nothing could ever spend from. That is AUDIT-2026-10-07.md RED-2 and the arcade's own source names it, in terms, as "still blocking for deployment ... the owner's address is the missing input".
This realm is that input, and nothing else. It holds wrapped GNOT and lets one address take it out.
WHAT IT DELIBERATELY DOES NOT DO, because every one of these is a way for a till to become a liability:
THE COST OF A FIXED OWNER, SAID PLAINLY RATHER THAN DISCOVERED LATER: if that key is lost, every coin in this realm is lost with it. There is no recovery path and cannot be one without adding exactly the kind of privileged function the list above refuses. That trade is the owner's and it was made knowingly.
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.
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.
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.