Owed
Ask AI
Owed returns what an address can Withdraw right now.
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/games/lastwords/v0.Owed()"
Result
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package lastwords is one string, on chain, forever.
There is a single message slot. Pay more than the last writer paid and the slot is yours; when the clock finally runs out, whatever is in it stays there permanently. The artefact at the end is the point, so the game is a bidding war over an epitaph rather than over a prize.
The three rules exist because the obvious version of this game does not end and does not pay:
Nothing is ever pushed: payouts are credited to an internal ledger and swept by Withdraw. A realm that pays inside a loop over its roster is a gas bomb that eventually bricks, and the bigger the game gets the more certain that is.
The pieces are libraries, and the realm is the wiring: p/moul/x/games/clock(/p/nym-moultest123/x/games/clock/v0) owns the deadline and its guards, p/moul/x/games/prorata(/p/nym-moultest123/x/games/prorata/v0) owns the split, and p/moul/x/daily/pullpayment(/p/nym-moultest123/x/daily/pullpayment/v0) owns the credit ledger.
Owed returns what an address can Withdraw right now.
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/games/lastwords/v0.Owed()"