Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

v6 state

Back to all declarations

saleFeeRecipient

untyped string

// gnotchi-opponent, v4's choice

Value

"g1ylpe9juk8cafgf9rt09wzuz85ug2lyfk5metyv"

saleFeeRateBps

int64

// 5% of the declared price

Value

500

saleFeeFloorUgnot

int64

// 1 GNOT flat minimum per sale

Value

1000000

collectionName

untyped string

Value

"Gnotchi gnomes"

collectionSymbol

untyped string

Value

"GNOME"

adminAddress

untyped string

Value

"g1nq99m3h9ed7vqve6ajpr3qwy2ls252m8jnundm"

numEyes

int64

Value

10

numNoses

int64

Value

8

hourSeconds

int64

Value

3600

daySeconds

int64

Value

86400

numPlots

untyped bigint

// acorns.plots

Value

(3 <untyped> bigint)

plantCost

int64

// acorns.plantCost

Value

1

feedCost

int64

// acorns.feedCost

Value

1

acornsStart

int64

Value

10

meterMax

int64

Value

10

patCheer

int64

Value

3

hungryAtOrBelow

int64

Value

2

growHours

int64

Value

24

patCooldownHours

int64

Value

12

tinkerCost

int64

Value

5

levelBase

int64

Value

50

levelStep

int64

Value

25

sulkyPenaltyPct

int64

Value

10

harvestPerPlot

int64

Value

3

feedBelly

int64

Value

4

bellyDropEveryHours

int64

Value

3

cheerDropEveryHours

int64

Value

6

dailyCareCap

int64

Value

60

acornReserve

int64

Value

2

happyBonusPct

int64

Value

10

happyWindowHours

int64

Value

2

sulkyAfterHours

int64

Value

72

maxLevel

int64

Value

20

typeAtLevel

int64

Value

5

xpPat

int64

Value

5

xpFeed

int64

Value

5

xpHarvestPerPlot

int64

Value

10

xpTinkerTask

int64

Value

15

maxActionsPerCall

untyped bigint

Value

(32 <untyped> bigint)

maxBackfillHours

int64

Value

48

caredWindowDays

uint

Value

64

maxGnomesPageSize

untyped bigint

Value

(100 <untyped> bigint)

maxListingsPageSize

untyped bigint

Value

(100 <untyped> bigint)

ugnotDenom

untyped string

Value

"ugnot"

maxPriceUgnot

int64

Value

1000000000000000

maxFeeRateBps

int64

Value

10000

maxListingDays

int64

Value

30

moodHungry

untyped string

Value

"hungry"

moodSulky

untyped string

Value

"sulky"

moodHappy

untyped string

Value

"happy"

moodContent

untyped string

Value

"content"

actionPat

untyped string

Value

"pat"

actionFeed

untyped string

Value

"feed"

actionPlant

untyped string

Value

"plant"

actionHarvest

untyped string

Value

"harvest"

actionTinker

untyped string

Value

"tinker"

typeGardener

untyped string

Value

"gardener"

typeExplorer

untyped string

Value

"explorer"

typeTinkerer

untyped string

Value

"tinkerer"

batchCap

int64

Value

24

numNamedEditions

untyped bigint

Value

(3 <untyped> bigint)

lockCaredDays

int64

Value

30

maxNameLen

untyped bigint

Value

(24 <untyped> bigint)

pinOffsetSeconds

int64

Value

60

pinOffsetRounds

int64

pinOffsetRounds is a const expression over an imported const (beacon.PeriodSeconds), which Gno permits across package boundaries exactly as it would within one; TestPinOffsetIsTwentyRounds pins the arithmetic rather than trusting the comment above.

Value

20

hatOptions

[4]string

hatOptions / coatOptions: v4's validHats/validCoats catalogue, as an ORDERED array rather than a set, because Settle needs to draw a POSITION, not merely validate one. Order is frozen the moment this realm deploys, exactly as v4's own numEyes/numNoses ordering is frozen -- a part may be redrawn; it may never be reordered, removed or renumbered (v4's own comment on this).

Open
OID
00ecdb…27e8:4
hatOptions details

Inspect array

eyesWeights

[10]int64

eyesWeights: ECONOMY.md section 3, verbatim -- "eyes across 4 colours at 15%, 3 at 9%, 2 at 5%, 1 at 3%" -- 4+3+2+1 = 10 entries = numEyes, and 4\*15+3\*9+2\*5+1\*3 = 100. TestWeightTablesSumToOneHundred pins the sum rather than trusting the arithmetic in this comment; drawWeighted's own fallback additionally makes a drift here fail safe, not silently.

Open
OID
00ecdb…27e8:8
eyesWeights details

Inspect array

noseWeights

[8]int64

noseWeights: ECONOMY.md section 3 says only "nose similar across 8 shapes" and gives no exact percentages -- BATCH-ONE.md section 4a names this directly as real work nobody has done yet. This is a SHAPE-FAITHFUL INTERPRETATION, not a transcription: four tiers of two shapes each, 20/20/15/15/10/10/5/5, the same big-gap-then-smaller-gaps shape eyesWeights has, scaled to 8 entries and summing to 100. Flagged here, not quietly presented as sourced, so the owner or a future author can replace it with real numbers the moment ECONOMY.md section 3 gets them.

Open
OID
00ecdb…27e8:10
noseWeights details

Inspect array

namedEditionOrder

[3]string

namedEditionOrder: BATCH-ONE.md section 7's three names, in the fixed order Settle's namedPick indexes into. The order carries no meaning -- it is not a ranking -- it only has to be fixed, which it is, forever, the moment this realm deploys.

Open
OID
00ecdb…27e8:12
namedEditionOrder details

Inspect array

namedEditionDisplayNames

[3]string

namedEditionDisplayNames: BATCH-ONE.md section 7's three names AS THEY ARE WRITTEN -- "Hob, Thistle, Wick", the form this file's own documentation uses throughout -- paired by index with namedEditionOrder above. WHY A SECOND ARRAY RATHER THAN JUST CAPITALISING namedEditionOrder, which is the change a reviewer will reach for first: namedEditionOrder's values are not labels, they are KEYS. settleCore writes characterOwner.Set(character, ...) and tests characterOwner.Has(candidate) with those exact strings, and the public CharacterOwner(name) reader does a raw tree Get with no case folding at all -- so CharacterOwner("hob") resolving is a chain fact that an off-chain caller already depends on, and init() registers the genesis gnome under the matching lowercase key "genesis". Capitalising namedEditionOrder would move those keys to "Hob" while leaving "genesis" lowercase, break CharacterOwner("hob") for every existing caller, and it is unfixable after deploy. The keys stay canonical. This array exists ONLY to supply the gnome's \`name\`, which is a DISPLAY STRING and has always been a different thing from its canonical key -- see canonicalNameKey's own comment on why the stored form and the uniqueness key are deliberately two strings. nameOwner is still keyed by canonicalNameKey(name), which folds "Hob" to "hob", so reservedNameKeys and the uniqueness index are untouched by this: no new mechanism, just the display side of a separation that was already here. TestNamedEditionDisplayNamesPairWithTheirCanonicalKeys pins the pairing in both directions, so an edit to either array that breaks it fails a test rather than shipping a one-of-one whose display name canonicalises to somebody else's key.

Open
OID
00ecdb…27e8:14
namedEditionDisplayNames details

Inspect array

namedEditionDisplayName

func(character string) string

namedEditionDisplayName maps a named edition's canonical character key to its display name. Used by settleCore's mint and mirrored by the test fabricator, so there is exactly one copy of the mapping. Returns the input unchanged for anything that is not one of the three editions -- which is unreachable from settleCore (it only ever passes a namedEditionOrder entry) and is a pass-through rather than a panic because this is a label lookup, not a security boundary.

Open
OID
00ecdb…27e8:15
namedEditionDisplayName details

Inspect func

genesisGnomeName

untyped string

genesisGnomeName: DECISIONS.md 2026-10-15 settles the MECHANISM (minted to this realm's own address, non-transferable, never listable, separate from the batch) but never settles a NAME anywhere in this project's documents. Placeholder, named as one; change it freely before deploying. CHANGED FROM v5 IN ONE RESPECT, deliberately: v5's comment ended "it is read by nothing else in this file", which was true there and is NOT true here. v6 fix 1 writes this string into the genesis gnome's own \`name\` field at init() and registers its canonical key in nameOwner, so changing it also changes which name is taken. It must still canonicalise to one of reservedNameKeys below, or an ordinary gnome could be named "Genesis" and pose as it -- TestGenesisNameIsReserved pins exactly that, so an edit here that breaks the pairing fails a test rather than shipping.

Value

"Genesis"

reservedNameKeys

[4]string

reservedNameKeys: the canonical name keys NO ORDINARY GNOME MAY EVER TAKE -- the three named one-of-ones (BATCH-ONE.md section 7's roster, re-read rather than assumed: Hob, Thistle, Wick) plus the genesis gnome. Checked by SetName; see assertNameAssignable. WHY THIS EXISTS SEPARATELY FROM THE nameOwner UNIQUENESS INDEX, which is the subtle part and the reason a reviewer should not "simplify" one of the two away: the uniqueness index only protects a name that is ALREADY TAKEN BY A LIVING TOKEN. Hob's cap-one edition may not have been minted yet -- its namedPick is a pure function of a drand round nobody has rolled -- and for the whole window before it mints, nameOwner has no "hob" key at all. Without this list, the FIRST ordinary claimant could name their gnome "Hob", take the key, and the real Hob would then mint into a collection where its own name already belongs to an impostor. Reservation covers the pre-mint window; uniqueness covers the post-mint one. Both are needed, and together they are the "two locks on a door" discipline this file already uses for the genesis gnome. Every entry is already in canonical form (lowercase, single-spaced, trimmed), and TestReservedNameKeysAreCanonical pins that -- a non-canonical entry here would be a key canonicalNameKey could never produce, i.e. a reservation that silently protects nothing.

Open
OID
00ecdb…27e8:18
reservedNameKeys details

Inspect array

plot

type

plot: unchanged from v4. plantedAt == 0 is the empty state; readyAt is stored, not computed, so a future change to growHours (there is none possible in this file, but the shape is kept for the day a v6 adds tuning back) could never reach backwards into an already-planted plot.

Value

v6.plot

gnome

type

gnome is the whole persisted pet. EVERY FIELD HERE HAS AN EXPORTED READER -- v4's own rule, carried over verbatim: a realm cannot grow a second chance at this after deploy. NOT HERE, DELIBERATELY: a hat/coat the OWNER chose (nothing is chosen at mint any more; hat/coat are ROLLED exactly as eyes/nose are, and are exactly as permanent as eyes/nose always were in v4 -- there has never been a function anywhere in this family of realms that changes a gnome's hat or coat after mint). v5's own comment also listed "a name" here; v6 fix 1 is precisely the correction of that, and \`name\` is below. character is "" for every ordinary gnome and one of namedEditionOrder's three strings for a named one-of-one. eyes/nose/hat/coat are the sentinel -1/-1/""/"" for a named edition: its look is NOT a point in the ordinary 1,280-look space, it is BATCH-ONE.md section 6's own new art (Hob's crown and gold coat, Thistle's helmet and axe, Wick's lantern), which this contract does not need to know the pixels of -- only that Character(tokenID) names it, so the app can render the right thing. A named edition's parts are therefore never counted in eyesCounts/noseCounts/hatCounts/coatCounts: it is already as rare as a thing can be, at cap one, counted instead through characterOwner.

Value

v6.gnome

listing

type

listing: unchanged in shape from v4, now simply one of possibly SEVERAL a single owner may have standing at once (mint one, hold many) -- listings is still keyed by tokenID, which was always the right key for this and needed no change.

Value

v6.listing

feeConfig

type

feeConfig: unchanged from v4.

Value

v6.feeConfig

pendingClaim

type

pendingClaim is the record Claim writes and Settle consumes: the permanent, irrevocable fact that this address spent its one roll, and the future drand round it is waiting on.

Value

v6.pendingClaim

nextID

v0.ID

Value

<zero>

balances

*v0.Tree

// owner address -> int64 acorns, per PLAYER, exactly as v4

Open
OID
00ecdb…27e8:38
balances details

Inspect pointer

mintedCount

int64

// reservations made by Claim, gates batchCap; never decremented

Value

0

settledCount

int64

// completions made by Settle; informational only, see BatchStatus

Value

0

genesisTokenID

string

// set exactly once, in init()

Value

"0000001"

rulesFrozen

bool

// always true: there are no rules to freeze or unfreeze in v5. See AdminState.

Value

true

transferGate

string

Value

""

assertFeeConfig

func(cfg v6.feeConfig, realmAddr .uverse.address)

assertFeeConfig: unchanged from v4's own gate.

Open
OID
00ecdb…27e8:78
assertFeeConfig details

Inspect func

saleGateExtension

type

saleGateExtension: v4's shape, plus the genesis refusal. Panics on every transfer except the one Buy is performing right now, and ALWAYS panics for genesisTokenID regardless of transferGate -- there is no path, including a future bug in Buy, by which the genesis gnome should ever be transferable, so this checks it first and unconditionally.

Value

v6.saleGateExtension

AdminAllow

func(addr .uverse.address)

AdminAllow adds addr to the allowlist, so it may call Claim. Adding an address a second time is a harmless no-op. Adding an address that has already rolled changes nothing -- hasRolled is checked independently and is permanent regardless of allowlist state.

Open
OID
00ecdb…27e8:79
AdminAllow details

Inspect func

AdminDisallow

func(addr .uverse.address)

AdminDisallow removes addr from the allowlist. It does NOT, and cannot, undo a roll already spent: hasRolled is a separate, permanent record, and this function never touches it. Removing an address that was never allowed, or that has already claimed, is a harmless no-op.

Open
OID
00ecdb…27e8:80
AdminDisallow details

Inspect func

Claim

func()

Claim spends the caller's one-and-only roll on this realm and pins a drand round that does not exist yet. It mints NOTHING -- Settle does that, once the pinned round is actually published -- because the whole point of this split is that the result must not be computable, by anyone, including this transaction's own caller, at the moment the roll becomes irrevocable (MINT.md section 10.2: gno.land has no on-chain entropy at all, so anything decidable inside one transaction is decidable by the caller before broadcasting it). WALLET-ONLY, the same reasoning as v4's Adopt: a gnome minted to a realm's address could never be recovered, so a batching, sponsor or multicall realm must never be able to spend a roll on anyone's behalf. The \`gnokey maketx run\` shape is refused by the identical gate, for the identical reason (IsUserCall is false for both).

Open
OID
00ecdb…27e8:81
Claim details

Inspect func

pendingClaimFor

func(claimant .uverse.address) *v6.pendingClaim

pendingClaimFor looks up claimant's pending roll, shared by both Settle and SettleWithSignature so the "no pending claim" message and lookup logic exist exactly once.

Open
OID
00ecdb…27e8:82
pendingClaimFor details

Inspect func

Settle

func(claimant .uverse.address)

Settle computes and permanently mints the result of claimant's pending roll, once the round Claim pinned has actually been published to the beacon by SOMEBODY -- another claimant's own SettleWithSignature, a relay, anyone. It does not publish anything itself; call SettleWithSignature instead if the round is not published yet and the caller has its signature to offer. ANYONE may call this -- the claimant themself, the project's own relayer, a stranger -- because by the time it can succeed at all, nothing is left to decide: the drand signature for the pinned round either exists publicly or it does not, and the parts this mints are a pure function of (that signature, the claimant's own address), fixed the instant the round is published, not the instant Settle happens to be called. Simulating this call before calling it for real previews a fact, not a choice -- exactly the property MINT.md section 10.5 names as the whole fix: "reading the result afterward is a free query, same as any other realm read." Refuses coins for the same reason every other non-paying function here does: there is no banker to return them, and this is a free, permissionless computation, never a payment.

Open
OID
00ecdb…27e8:83
Settle details

Inspect func

SettleWithSignature

func(claimant .uverse.address, sigHex string)

SettleWithSignature is Settle, plus: if claimant's pinned round has not been published yet, this function publishes it ITSELF first, in this same transaction, using sigHex -- the round's drand signature, which the caller's own app fetches read-only from drand's public API ([https://api.drand.sh/](https://api.drand.sh/)\<chain>/public/\<round> or any mirror) and passes straight through unmodified. This is the function a player's app should call once it has fetched a signature; Settle (above) remains for a caller with no signature to offer, or that already knows (or does not care) that somebody else has published the round. SAFE EITHER WAY THE ROUND TURNS OUT TO BE, which is the one property this function exists to guarantee and the live chain fact its shape is built around (see the package doc): beacon/v2's own Publish PANICS, not no-ops, when the round is already published, so this function checks beacon.Published first and only calls Publish if that check says no. If the round was published by someone else (another claimant's own SettleWithSignature, a relay, anyone) between the moment the caller fetched sigHex and the moment this transaction lands, sigHex is simply never used -- this function still succeeds, exactly as Settle would have. A bad sigHex, by contrast, is a real failure: beacon.Publish rejects it with its own "beacon: invalid signature" panic, which aborts this whole call (and the claim stays pending, to be retried with a correct signature or left for Settle once someone else relays it). Refuses coins for the same reason Settle does and every non-paying function here does: there is no banker to return them, and this is a free, permissionless computation -- the only payment anywhere in this call is the ordinary GNOT gas the caller's own transaction spends, to the network, never to this project (MINT.md section 14).

Open
OID
00ecdb…27e8:84
SettleWithSignature details

Inspect func

settleCore

func(claimant .uverse.address, pc *v6.pendingClaim)

settleCore is Settle's and SettleWithSignature's shared tail: the draw, the mint, and every write that follows, once the caller above has already confirmed the pinned round is published. Takes no \`cur realm\` because it makes no cross-realm call of its own -- beacon.Randomness and beacon.Published below are plain reads, not crossing functions, exactly as they always were before this change.

Open
OID
00ecdb…27e8:85
settleCore details

Inspect func

fnv64a

func(s string) uint64

fnv64a is a plain, non-cryptographic 64-bit FNV-1a hash. IT IS NOT THE SOURCE OF UNPREDICTABILITY HERE -- drand's signature for a not-yet-existent round is, exactly as MINT.md section 10.5 designs. This exists only to DECORRELATE independent draws (two different claimants sharing a pinned round, or one claimant's own eyes-draw from their own nose-draw) from a single public drand value, the same category of use math/rand's PCG(0,0) would be fine for once combined with a secure external seed -- see MINT.md section 10.5's own list of unsafe constructions for why math/rand ALONE is not used, and note this is never alone: every call site below mixes in beacon.Randomness(pc.round), which is the only thing doing real work.

Open
OID
00ecdb…27e8:86
fnv64a details

Inspect func

seedFor

func(randomnessHex string, claimant .uverse.address, purpose string) uint64

seedFor derives one independent-looking 64-bit value from the published drand randomness, the claimant's own address, and a purpose string -- so a single drand round can safely drive several unrelated draws (which named edition, which eyes, which nose, which hat/coat) for several different simultaneous claimants without any of them correlating with each other.

Open
OID
00ecdb…27e8:87
seedFor details

Inspect func

drawWeighted

func(weights []int64, totalWeight int64, seed uint64) int

drawWeighted picks an index into weights (which TestWeightTablesSumToOneHundred pins as summing to totalWeight) using seed as the source of randomness -- a plain cumulative-sum bucket walk, MINT.md section 10.5's own recommendation for what Settle should do ("a simple, bounded index... easy to audit"), applied to a weight table instead of a published array, which is the same shape of arithmetic.

Open
OID
00ecdb…27e8:88
drawWeighted details

Inspect func

Wake

func(tokenID string)

Wake makes tokenID the caller's awake gnome. Free, and limited to once per UTC day -- the same day-boundary discipline SaveDay's own dailyCareDay already uses, chosen over a GNOT fee for the reason MINT.md section 2a gives: "a cost that cannot be bought, only lived".

Open
OID
00ecdb…27e8:89
Wake details

Inspect func

saveAction

type

Value

v6.saveAction

SetName

func(tokenID string, name string)

SetName names tokenID, which the caller must currently own, or RENAMES it. Free, unlimited, and refused for the three named one-of-ones and the genesis gnome. RENAMING IS ALLOWED, NOT ONE-SHOT, and this is a deliberate decision with a named trade-off rather than an oversight. On an immutable realm a one-shot name means a typo is forever, and "my gnome is called Fenncik" is a worse permanent outcome than "somebody changed their mind". Aavegotchi, the closest prior art this project has looked at, allows renaming. What it costs: a name is not a stable identifier over time, so nothing anywhere -- in this realm, in the adventure realm, or in the app -- may ever key anything on a name. tokenID is the identifier; the name is a label. (The nameOwner index is keyed BY name only to answer "is this taken", never to identify a gnome; every function here looks tokens up by tokenID.) Refuses coins for the same reason every other non-paying function here does: there is no banker to return them, and naming your own gnome is free (MINT.md section 14 -- batch one is free end to end, and this is not a new place to charge).

Open
OID
00ecdb…27e8:92
SetName details

Inspect func

assertNameAssignable

func(name string, tokenID string)

assertNameAssignable is SetName's refusal gate: it panics with nameAssignabilityProblem's message, or returns normally if name may be assigned to tokenID. The rules themselves are in nameAssignabilityProblem, not here, so the free NameAvailability query and this enforcing path can never disagree about what is allowed -- there is exactly one copy.

Open
OID
00ecdb…27e8:93
assertNameAssignable details

Inspect func

nameAssignabilityProblem

func(name string, tokenID string) string

nameAssignabilityProblem is THE one copy of the naming rules. It returns "" if name may be assigned to tokenID, or the exact player-meaningful message explaining which rule refused it. IT RETURNS ITS REFUSAL RATHER THAN PANICKING IT so that NameAvailability can offer the same answer as a free read without any recover() -- see NameAvailability's own note on why recover is avoided on this toolchain. ORDER IS DELIBERATE AND MATCHES app/js/config.js's nameError, which mirrors v4's realm order: length, then charset, then visible content, then (new in v6) reservation, then uniqueness. A name that fails several rules reports the first, so the app's own message and the realm's refusal always name the SAME rule for the same input rather than disagreeing about which problem is the problem.

Open
OID
00ecdb…27e8:94
nameAssignabilityProblem details

Inspect func

List

func(tokenID string, priceUgnot int64, buyer .uverse.address, days int64)

List offers tokenID, which the caller must own, for sale. The lock: a named one-of-one (character != "") cannot be listed until it has lockCaredDays cared days; an ordinary gnome has no such restriction, trading from the moment it is minted (MINT.md section 12/13).

Open
OID
00ecdb…27e8:95
List details

Inspect func

Cancel

func(tokenID string)

Cancel withdraws the caller's own listing on tokenID. Only the seller who created it may.

Open
OID
00ecdb…27e8:96
Cancel details

Inspect func

Buy

func(tokenID string)

Buy purchases the listed gnome tokenID. v4's validate-then-commit shape, unchanged, MINUS the one-gnome-per-address refusal: MINT.md section 2a removes the hold cap from Buy specifically, and only from Buy -- Claim's hasRolled gate is the cap that still matters, and this function never touches it.

Open
OID
00ecdb…27e8:97
Buy details

Inspect func

Listing

func(tokenID string) (seller .uverse.address, priceUgnot int64, buyer .uverse.address, listedAtUnix int64, expiresAtUnix int64, feeUgnot int64, totalUgnot int64, found bool)
Open
OID
00ecdb…27e8:98
Listing details

Inspect func

ListingsPage

func(offset int, limit int) []string
Open
OID
00ecdb…27e8:100
ListingsPage details

Inspect func

QuoteFee

func(priceUgnot int64) (feeUgnot int64, totalUgnot int64)
Open
OID
00ecdb…27e8:101
QuoteFee details

Inspect func

Provenance

func(tokenID string) (adoptedAtUnix int64, acquiredAtUnix int64, saleCount int64, found bool)
Open
OID
00ecdb…27e8:103
Provenance details

Inspect func

Name

func(tokenID string) (name string, found bool)

Name returns tokenID's name, or found=false if there is no such token. A name of "" is a REAL, EXPECTED ANSWER, not an error: it means this gnome has not been named yet, which is the state every ordinary gnome mints in. found reports whether the TOKEN exists, never whether it has a name -- check the string for that.

Open
OID
00ecdb…27e8:104
Name details

Inspect func

NameOwner

func(name string) (tokenID string, found bool)

NameOwner resolves a name to the tokenID currently carrying it, matching the same way SetName refuses duplicates: on the canonical form, so any capitalisation or spacing of a taken name finds it. This is the uniqueness index read back, and the honest answer to "who is Fennick".

Open
OID
00ecdb…27e8:105
NameOwner details

Inspect func

NameAvailability

func(name string, tokenID string) (ok bool, reason string)

NameAvailability answers "would SetName accept this name, and if not why" WITHOUT a transaction -- a free query against the same assertNameAssignable the write path uses, so the realm itself is the authority the app checks against instead of a second copy of the rules that can drift from it. reason is "" when ok is true, and the realm's own refusal message otherwise. The tokenID argument matters for exactly one case: a name is available TO THE TOKEN THAT ALREADY HOLDS IT (re-capitalising your own gnome's name). Pass "" to ask the general question "is this name free for somebody new", which is what an app naming a fresh gnome wants. THIS IS A CONVENIENCE, NOT THE AUTHORITY, and the distinction is load-bearing: a true answer here can be made false by somebody else's transaction landing first. SetName re-checks everything itself, always -- this function cannot be used to skip a check, only to avoid wasting a player's gas on a refusal that was already knowable. NOTE ON SHAPE, because the obvious implementation is a trap on this toolchain: this does NOT call SetName's validator and recover() from its panic. \`recover()\` does not reliably catch a panic across a realm boundary in Gno (MEMORY.md records this costing this project real time), and a reader should not have to reason about whether a same-realm call is the exception. So the rules live in nameAssignabilityProblem, which RETURNS its refusal instead of panicking it, and both this reader and assertNameAssignable call that one copy. No recover anywhere.

Open
OID
00ecdb…27e8:106
NameAvailability details

Inspect func

SettledRound

func(tokenID string) (round int64, found bool)

SettledRound returns the drand round whose published signature produced tokenID's parts -- v6 FIX 2, and the one query that makes this project's "provably unrigged" claim (ECONOMY.md section 1) checkable by a holder rather than merely asserted at them. Fetch [https://api.drand.sh/](https://api.drand.sh/)\<chain>/public/\<round>, hash its signature, and re-derive the parts with this file's own seedFor/drawWeighted against your own address: a round signed by drand before anybody knew who would pin it cannot have been chosen to produce a particular gnome. round == 0 means this token was never produced by a roll, which is true of exactly one token ever: the genesis gnome. found reports whether the token exists.

Open
OID
00ecdb…27e8:107
SettledRound details

Inspect func

MaxNameLen

func() int64

MaxNameLen is maxNameLen read back, so the app can show the limit it will be held to instead of hardcoding a second copy of the number (app/js/config.js's NAME\_MAX\_LEN is the other copy, and the two are kept equal by hand and by TestMaxNameLenMatchesTheAppsRule).

Open
OID
00ecdb…27e8:108
MaxNameLen details

Inspect func

GnomeByToken

func(tokenID string) (hat string, coat string, eyes int64, nose int64, character string, level int64, gnomeType string, adoptedAtUnix int64, found bool)

GnomeByToken: the basic facts for one token -- hat, coat, eyes, nose, character (empty for an ordinary gnome), level, calling and the moment it was minted. SIGNATURE UNCHANGED FROM v5 -- the name is Name(tokenID) and the round is SettledRound(tokenID); see the note above.

Open
OID
00ecdb…27e8:109
GnomeByToken details

Inspect func

ActiveGnome

func(addr .uverse.address) (tokenID string, found bool)

ActiveGnome returns the tokenID that is awake for addr right now, or found=false if nothing is (never claimed or bought a gnome, or sold the only one and has not Woken another since).

Open
OID
00ecdb…27e8:110
ActiveGnome details

Inspect func

OwnerTokens

func(addr .uverse.address) []string

OwnerTokens returns every tokenID addr currently holds, in no particular order. Unbounded and unpaginated deliberately: batchCap is 24 and the genesis gnome is permanently unreachable to any wallet, so no address can ever hold more than batchCap tokens, which is a small, fixed upper bound this call is always safely within.

Open
OID
00ecdb…27e8:111
OwnerTokens details

Inspect func

TokensPage

func(offset int, limit int) []string

TokensPage: the global token enumerator, hollowmere/v1's own pattern (TotalClaimants/ ClaimantsPage) applied here, because v4's own missing-enumerator lesson (DECISIONS.md:780-791, arena/v1 shipping with no challenge inbox and no way to ever add one) is unavailable to fix after deploy and twenty lines now is cheaper than "unavailable forever" later.

Open
OID
00ecdb…27e8:112
TokensPage details

Inspect func

GardenState

func(tokenID string) (plantedAtCsv string, readyAtCsv string, readyCount int64, found bool)
Open
OID
00ecdb…27e8:113
GardenState details

Inspect func

CareState

func(tokenID string) (belly int64, cheer int64, acorns int64, totalXp int64, lastPatAtUnix int64, lastHappyEventAtUnix int64, lastActionAtUnix int64, found bool)
Open
OID
00ecdb…27e8:114
CareState details

Inspect func

MeterState

func(tokenID string) (belly int64, bellyAtUnix int64, cheer int64, cheerAtUnix int64, found bool)
Open
OID
00ecdb…27e8:115
MeterState details

Inspect func

Progress

func(tokenID string) (xpGarden int64, xpTinker int64, harvestCount int64, lastTinkerAtUnix int64, caredDayCount int64, dailyCareXpSpent int64, dailyCareDay int64, found bool)
Open
OID
00ecdb…27e8:116
Progress details

Inspect func

CaredDays

func(tokenID string) (daysCsv string, found bool)
Open
OID
00ecdb…27e8:117
CaredDays details

Inspect func

Mood

func(tokenID string) (mood string, found bool)
Open
OID
00ecdb…27e8:118
Mood details

Inspect func

IsLocked

func(tokenID string) (locked bool, found bool)

IsLocked reports whether tokenID is currently refused by List's lockCaredDays check -- true only for a named one-of-one with fewer than lockCaredDays cared days; false for every ordinary gnome, always, and false for a named one-of-one once it has enough cared days.

Open
OID
00ecdb…27e8:119
IsLocked details

Inspect func

CollectionInfo

func() (name string, symbol string)
Open
OID
00ecdb…27e8:120
CollectionInfo details

Inspect func

BalanceOf

func(addr .uverse.address) int64
Open
OID
00ecdb…27e8:122
BalanceOf details

Inspect func

OwnerOfToken

func(tokenID string) (owner .uverse.address, found bool)
Open
OID
00ecdb…27e8:123
OwnerOfToken details

Inspect func

Acorns

func(addr .uverse.address) (acorns int64, found bool)
Open
OID
00ecdb…27e8:125
Acorns details

Inspect func

EyesCount

func(id int64) int64
Open
OID
00ecdb…27e8:126
EyesCount details

Inspect func

NoseCount

func(id int64) int64
Open
OID
00ecdb…27e8:127
NoseCount details

Inspect func

HatCount

func(hat string) int64
Open
OID
00ecdb…27e8:128
HatCount details

Inspect func

CoatCount

func(coat string) int64
Open
OID
00ecdb…27e8:129
CoatCount details

Inspect func

CharacterOwner

func(name string) (tokenID string, found bool)

CharacterOwner resolves one of the three named one-of-ones, or the genesis gnome under its own name "genesis", to its tokenID, once minted. (Second-audit-pass nitpick: an earlier version of this comment said only "one of the three named one-of-ones", which stopped being true the moment init() registered "genesis" here too -- see init()'s own comment for why that registration is safe and never touches the three editions' cap.)

Open
OID
00ecdb…27e8:130
CharacterOwner details

Inspect func

IsAllowlisted

func(addr .uverse.address) bool
Open
OID
00ecdb…27e8:131
IsAllowlisted details

Inspect func

HasRolled

func(addr .uverse.address) bool
Open
OID
00ecdb…27e8:132
HasRolled details

Inspect func

PendingClaim

func(addr .uverse.address) (round int64, claimedAtUnix int64, found bool)
Open
OID
00ecdb…27e8:133
PendingClaim details

Inspect func

BatchStatus

func() (mintedSoFar int64, settledSoFar int64, batchCapOut int64, namedMinted int64, namedCapOut int64)

BatchStatus: mintedCount is reservations made by Claim (gates batchCap); settledCount is completions made by Settle (always \<= mintedCount, the gap being pending, unsettled claims); namedMinted is how many of the three named one-of-ones have actually been minted so far -- read live off characterOwner rather than a separate counter, so there is only ever one source of truth for "has this edition been taken".

Open
OID
00ecdb…27e8:134
BatchStatus details

Inspect func

GenesisTokenID

func() string
Open
OID
00ecdb…27e8:135
GenesisTokenID details

Inspect func

AdminState

func() (admin .uverse.address, frozen bool)
Open
OID
00ecdb…27e8:136
AdminState details

Inspect func

LastWakeDay

func(addr .uverse.address) (day int64, found bool)
Open
OID
00ecdb…27e8:137
LastWakeDay details

Inspect func

Render

func(path string) string

Render DELIBERATELY ECHOES NO PLAYER-SUPPLIED STRING, and v6 keeps it that way even though it now has gnome names it could print. THIS IS THE DEFENCE AGAINST ABUSIVE NAMES ON A PUBLIC PAGE, and it is structural rather than a filter: gnoweb renders this output as markdown, so a page that listed names would be a markdown sink fed by arbitrary player input, and the project would then own a moderation problem on an immutable realm with no moderation surface. v5's own adversarial review (ATTACK-REVIEW.md, "Render sanitisation") recorded "no injection surface" as a property of this function; adding a name here would have been the one change in this file that falsified an audited claim. Belt and braces, because "nothing echoes names today" is only one edit away from being false: the name charset allowlist (letters, digits, space, hyphen, apostrophe -- see validNameRune) excludes every markdown metacharacter there is. No '\[', ']', '(', ')', '\<', '>', '\*', '\_', backtick, pipe or newline can appear in a name, so even a future Render that DID print one could not be made to inject link syntax, a raw HTML tag or a table break. An abusive name is therefore limited to being rude in words, visible only to someone who queries that specific token, never on a page this project publishes.

Open
OID
00ecdb…27e8:138
Render details

Inspect func

gnomeByTokenID

func(tokenID string) (*v6.gnome, bool)
Open
OID
00ecdb…27e8:139
gnomeByTokenID details

Inspect func

activeGnomeForAddr

func(addr .uverse.address) (tid string, g *v6.gnome, found bool)

activeGnomeForAddr resolves addr's AWAKE gnome, if any. This is the one and only lookup SaveDay and ChooseType use -- there is deliberately no "the gnome for this address" any more.

Open
OID
00ecdb…27e8:140
activeGnomeForAddr details

Inspect func

ownerOfToken

func(tokenID string) (owner .uverse.address, found bool)
Open
OID
00ecdb…27e8:141
ownerOfToken details

Inspect func

addOwnerToken

func(addr .uverse.address, tokenID string)

addOwnerToken / removeOwnerToken: the hold-many index. ownerTokens stores a \*\[]string per owner so repeated appends mutate one allocation rather than replacing the tree entry every time; removal does a linear scan, which is fine at this realm's permanent, tiny upper bound (batchCap = 24 tokens that will ever exist, minus the one permanently unreachable genesis gnome, so no owner's slice is ever longer than 24 entries for the whole life of this realm).

Open
OID
00ecdb…27e8:142
addOwnerToken details

Inspect func

removeOwnerToken

func(addr .uverse.address, tokenID string)
Open
OID
00ecdb…27e8:143
removeOwnerToken details

Inspect func

balanceOf

func(addr .uverse.address) int64
Open
OID
00ecdb…27e8:144
balanceOf details

Inspect func

setBalance

func(addr .uverse.address, v int64)
Open
OID
00ecdb…27e8:145
setBalance details

Inspect func

grantStartingPurseIfNew

func(addr .uverse.address)
Open
OID
00ecdb…27e8:146
grantStartingPurseIfNew details

Inspect func

feeFor

func(priceUgnot int64) int64
Open
OID
00ecdb…27e8:147
feeFor details

Inspect func

exactUgnot

func(send chain.Coins, want int64) bool
Open
OID
00ecdb…27e8:148
exactUgnot details

Inspect func

coinsString

func(c chain.Coins) string
Open
OID
00ecdb…27e8:149
coinsString details

Inspect func

listingFor

func(tokenID string) (*v6.listing, bool)
Open
OID
00ecdb…27e8:150
listingFor details

Inspect func

validNameLength

func(name string) bool
Open
OID
00ecdb…27e8:151
validNameLength details

Inspect func

validNameCharset

func(name string) bool
Open
OID
00ecdb…27e8:152
validNameCharset details

Inspect func

hasVisibleNameContent

func(name string) bool
Open
OID
00ecdb…27e8:153
hasVisibleNameContent details

Inspect func

invisibleLetterRunes

map[int32]bool

invisibleLetterRunes: the four code points that are Unicode LETTERS and render as nothing. See the section comment above for why a letter allowlist alone cannot catch these. Written as \\uXXXX escapes (v2's audit fix F3) so they survive an editor or formatter that strips default-ignorable characters -- a denylist that can be silently emptied protects nothing. v3 through v5 carried this comment while the entries themselves were literal invisible glyphs, so the comment was false about its own code for three versions and the protection it describes was not actually in place. Restored here, with the escapes BACK IN THE SOURCE this time. The escapes alone are only half of F3. TestEveryInvisibleLetterIsRefused table-drives this map, which means it tests whatever the map happens to contain -- swap one entry for an ordinary letter and that test still passes while the realm ships banning the letter and accepting the invisible one. TestInvisibleLetterRunesIsExactlyFourPinnedCodepoints is the other half: it pins all four code points BY ESCAPE, independently of this map's contents, so that substitution fails loudly.

Open
OID
00ecdb…27e8:155
invisibleLetterRunes details

Inspect map

validNameRune

func(r int32) bool
Open
OID
00ecdb…27e8:156
validNameRune details

Inspect func

smartPunctuationRunes

map[int32]bool

smartPunctuationRunes: the four code points iOS substitutes by default for a straight apostrophe or hyphen. NONE of them is accepted by validNameRune -- this map exists only so the refusal can SAY SO instead of reporting a generic charset failure to a player who typed an ordinary apostrophe on an ordinary phone. See nameAssignabilityProblem's own comment on why this realm refuses rather than folds them.

Open
OID
00ecdb…27e8:158
smartPunctuationRunes details

Inspect map

hasSmartPunctuation

func(name string) bool
Open
OID
00ecdb…27e8:159
hasSmartPunctuation details

Inspect func

canonicalNameKey

func(name string) string

canonicalNameKey folds a name to the key nameOwner and reservedNameKeys compare on: lowercase ASCII, runs of spaces collapsed to one, leading and trailing spaces removed. THE STORED NAME AND THE KEY ARE DELIBERATELY TWO DIFFERENT STRINGS. The gnome keeps the name its owner typed, exactly as typed, because that is what a person chose and the app should show it back to them unaltered. The KEY exists only to answer "is this the same name as that one" for uniqueness and reservation, and for THAT question "Hob", "hob", "HOB" and "Hob" with two spaces in it are all plainly the same name. Keying on the raw string instead would make uniqueness worthless and would let anyone walk around the one-of-one reservation by changing one letter's case. WHAT IT DELIBERATELY DOES NOT DO, stated plainly rather than left for a reader to discover: it does not close cross-script HOMOGLYPHS. Cyrillic "А", Greek "Ο" and fullwidth "A" are all Unicode letters, all accepted, and all visually confusable with their Latin counterparts, so "Нob" with a Cyrillic Н is a different key from "Hob" and will be allowed. This is the SAME accepted residual app/js/config.js's NAME\_CHARSET\_RE documents in its own comment, carried forward knowingly: closing it properly needs a confusables table (thousands of mappings, versioned by Unicode, compiled into an immutable realm) and the honest cost/benefit at a 24-gnome collection does not justify it. The defence that IS in place for the case that actually matters -- the three cap-one editions -- is that their names are reserved and unrenameable, so a homoglyph impostor can exist but can never hold the real key, and CharacterOwner (not a name lookup) is what resolves the genuine Hob. ASCII-only lowercasing, following lowerASCII's own v4 reasoning: strings.ToLower would apply locale-independent Unicode case folding whose behaviour is a toolchain-version detail on an immutable realm, and the keys that MUST match exactly (reservedNameKeys) are all ASCII.

Open
OID
00ecdb…27e8:160
canonicalNameKey details

Inspect func

nameOwnerOf

func(key string) (tokenID string, found bool)
Open
OID
00ecdb…27e8:161
nameOwnerOf details

Inspect func

lowerASCII

func(s string) string

lowerASCII: v4's own helper, unchanged -- ASCII-only on purpose (see v4's own comment on why not strings.ToLower).

Open
OID
00ecdb…27e8:162
lowerASCII details

Inspect func

anyPlotPlanted

func(g *v6.gnome) bool
Open
OID
00ecdb…27e8:163
anyPlotPlanted details

Inspect func

eyesCount

func(id int64) int64
Open
OID
00ecdb…27e8:164
eyesCount details

Inspect func

noseCount

func(id int64) int64
Open
OID
00ecdb…27e8:165
noseCount details

Inspect func

hatCount

func(hat string) int64
Open
OID
00ecdb…27e8:166
hatCount details

Inspect func

coatCount

func(coat string) int64
Open
OID
00ecdb…27e8:167
coatCount details

Inspect func

parseActions

func(raw string) []v6.saveAction
Open
OID
00ecdb…27e8:168
parseActions details

Inspect func

quoteAction

func(part string) string
Open
OID
00ecdb…27e8:169
quoteAction details

Inspect func

parseUnixField

func(s string, part string) int64
Open
OID
00ecdb…27e8:170
parseUnixField details

Inspect func

parsePlotField

func(s string, part string) int
Open
OID
00ecdb…27e8:171
parsePlotField details

Inspect func

dayNumber

func(unixSeconds int64) int64
Open
OID
00ecdb…27e8:172
dayNumber details

Inspect func

recordCaredDay

func(g *v6.gnome, day int64) banked bool

recordCaredDay reports, via banked, whether it actually incremented g.caredDayCount -- false on the no-op branch (day == g.lastCaredDay already, e.g. a second SaveDay call the same UTC day, or a token bought mid-day that the SELLER had already banked that exact day for before the sale). SaveDay's own caller-scoped gate (lastCaredDayForOwner) depends on this: it must only spend the owner's one-bank-per-day allowance on a call that actually banked something, never on a no-op -- a gno-auditor re-audit found that an unconditional advance let a buyer's SaveDay on a token the seller had already banked that day silently consume the buyer's own allowance for the rest of that day, denying an otherwise fully legitimate cared day on a DIFFERENT, genuinely active token later the same day. See the call site in SaveDay.

Open
OID
00ecdb…27e8:173
recordCaredDay details

Inspect func

caredDaysCsv

func(g *v6.gnome) string
Open
OID
00ecdb…27e8:174
caredDaysCsv details

Inspect func

meterNow

func(value int64, setAt int64, now int64, dropEveryHours int64) int64
Open
OID
00ecdb…27e8:175
meterNow details

Inspect func

clampMeter

func(v int64) int64
Open
OID
00ecdb…27e8:176
clampMeter details

Inspect func

canPat

func(lastPatAt int64, now int64, cooldownHours int64) bool
Open
OID
00ecdb…27e8:177
canPat details

Inspect func

moodNow

func(belly int64, lastPatAt int64, lastHappyEventAt int64, adoptedAt int64, now int64, hungryThreshold int64) string
Open
OID
00ecdb…27e8:178
moodNow details

Inspect func

xpToNext

func(level int64) int64
Open
OID
00ecdb…27e8:179
xpToNext details

Inspect func

totalXpForLevel

func(level int64) int64
Open
OID
00ecdb…27e8:180
totalXpForLevel details

Inspect func

levelFromXp

func(totalXp int64) int64
Open
OID
00ecdb…27e8:181
levelFromXp details

Inspect func
saleFeeRecipient : untyped string ="g1ylpe9juk8cafgf9rt09wzuz85ug2lyfk5metyv"
saleFeeRateBps : int64 =500
saleFeeFloorUgnot : int64 =1000000
collectionName : untyped string ="Gnotchi gnomes"
collectionSymbol : untyped string ="GNOME"
adminAddress : untyped string ="g1nq99m3h9ed7vqve6ajpr3qwy2ls252m8jnundm"
numEyes : int64 =10
numNoses : int64 =8
hourSeconds : int64 =3600
daySeconds : int64 =86400
numPlots : untyped bigint =(3 <untyped> bigint)
plantCost : int64 =1
feedCost : int64 =1
acornsStart : int64 =10
meterMax : int64 =10
patCheer : int64 =3
hungryAtOrBelow : int64 =2
growHours : int64 =24
patCooldownHours : int64 =12
tinkerCost : int64 =5
levelBase : int64 =50
levelStep : int64 =25
sulkyPenaltyPct : int64 =10
harvestPerPlot : int64 =3
feedBelly : int64 =4
bellyDropEveryHours : int64 =3
cheerDropEveryHours : int64 =6
dailyCareCap : int64 =60
acornReserve : int64 =2
happyBonusPct : int64 =10
happyWindowHours : int64 =2
sulkyAfterHours : int64 =72
maxLevel : int64 =20
typeAtLevel : int64 =5
xpPat : int64 =5
xpFeed : int64 =5
xpHarvestPerPlot : int64 =10
xpTinkerTask : int64 =15
maxActionsPerCall : untyped bigint =(32 <untyped> bigint)
maxBackfillHours : int64 =48
caredWindowDays : uint =64
maxGnomesPageSize : untyped bigint =(100 <untyped> bigint)
maxListingsPageSize : untyped bigint =(100 <untyped> bigint)
ugnotDenom : untyped string ="ugnot"
maxPriceUgnot : int64 =1000000000000000
maxFeeRateBps : int64 =10000
maxListingDays : int64 =30
moodHungry : untyped string ="hungry"
moodSulky : untyped string ="sulky"
moodHappy : untyped string ="happy"
moodContent : untyped string ="content"
actionPat : untyped string ="pat"
actionFeed : untyped string ="feed"
actionPlant : untyped string ="plant"
actionHarvest : untyped string ="harvest"
actionTinker : untyped string ="tinker"
typeGardener : untyped string ="gardener"
typeExplorer : untyped string ="explorer"
typeTinkerer : untyped string ="tinkerer"
batchCap : int64 =24
numNamedEditions : untyped bigint =(3 <untyped> bigint)
lockCaredDays : int64 =30
maxNameLen : untyped bigint =(24 <untyped> bigint)
pinOffsetSeconds : int64 =60
pinOffsetRounds : int64 =20
hatOptions : [4]string Inspect
coatOptions : [4]string Inspect
eyesWeights : [10]int64 Inspect
noseWeights : [8]int64 Inspect
namedEditionOrder : [3]string Inspect
namedEditionDisplayNames : [3]string Inspect
namedEditionDisplayName : func(character string) string Inspect
genesisGnomeName : untyped string ="Genesis"
reservedNameKeys : [4]string Inspect
plot : type =v6.plot
gnome : type =v6.gnome
listing : type =v6.listing
feeConfig : type =v6.feeConfig
pendingClaim : type =v6.pendingClaim
token : *v0.Token Inspect
ledger : *v0.PrivateLedger Inspect
nextID : v0.ID =<zero>
gnomes : *v0.Tree Inspect
ownerTokens : *v0.Tree Inspect
activeToken : *v0.Tree Inspect
lastWakeDay : *v0.Tree Inspect
lastCaredDayForOwner : *v0.Tree Inspect
balances : *v0.Tree Inspect
listings : *v0.Tree Inspect
allowlist : *v0.Tree Inspect
hasRolled : *v0.Tree Inspect
pendingClaims : *v0.Tree Inspect
eyesCounts : *v0.Tree Inspect
noseCounts : *v0.Tree Inspect
hatCounts : *v0.Tree Inspect
coatCounts : *v0.Tree Inspect
nameOwner : *v0.Tree Inspect
characterOwner : *v0.Tree Inspect
mintedCount : int64 =0
settledCount : int64 =0
genesisTokenID : string ="0000001"
rulesFrozen : bool =true
fee : v6.feeConfig Inspect
transferGate : string =""
init.104 : func() Inspect
assertFeeConfig : func(cfg v6.feeConfig, realmAddr .uverse.address) Inspect
saleGateExtension : type =v6.saleGateExtension
AdminAllow : func(addr .uverse.address) Inspect
AdminDisallow : func(addr .uverse.address) Inspect
Claim : func() Inspect
pendingClaimFor : func(claimant .uverse.address) *v6.pendingClaim Inspect
Settle : func(claimant .uverse.address) Inspect
SettleWithSignature : func(claimant .uverse.address, sigHex string) Inspect
settleCore : func(claimant .uverse.address, pc *v6.pendingClaim) Inspect
fnv64a : func(s string) uint64 Inspect
seedFor : func(randomnessHex string, claimant .uverse.address, purpose string) uint64 Inspect
drawWeighted : func(weights []int64, totalWeight int64, seed uint64) int Inspect
Wake : func(tokenID string) Inspect
saveAction : type =v6.saveAction
SaveDay : func(actionsRaw string) Inspect
ChooseType : func(kind string) Inspect
SetName : func(tokenID string, name string) Inspect
assertNameAssignable : func(name string, tokenID string) Inspect
nameAssignabilityProblem : func(name string, tokenID string) string Inspect
List : func(tokenID string, priceUgnot int64, buyer .uverse.address, days int64) Inspect
Cancel : func(tokenID string) Inspect
Buy : func(tokenID string) Inspect
Listing : func(tokenID string) (seller .uverse.address, priceUgnot int64, buyer .uverse.address, listedAtUnix int64, expiresAtUnix int64, feeUgnot int64, totalUgnot int64, found bool) Inspect
TotalListings : func() int64 Inspect
ListingsPage : func(offset int, limit int) []string Inspect
QuoteFee : func(priceUgnot int64) (feeUgnot int64, totalUgnot int64) Inspect
FeeRules : func() string Inspect
Provenance : func(tokenID string) (adoptedAtUnix int64, acquiredAtUnix int64, saleCount int64, found bool) Inspect
Name : func(tokenID string) (name string, found bool) Inspect
NameOwner : func(name string) (tokenID string, found bool) Inspect
NameAvailability : func(name string, tokenID string) (ok bool, reason string) Inspect
SettledRound : func(tokenID string) (round int64, found bool) Inspect
MaxNameLen : func() int64 Inspect
GnomeByToken : func(tokenID string) (hat string, coat string, eyes int64, nose int64, character string, level int64, gnomeType string, adoptedAtUnix int64, found bool) Inspect
ActiveGnome : func(addr .uverse.address) (tokenID string, found bool) Inspect
OwnerTokens : func(addr .uverse.address) []string Inspect
TokensPage : func(offset int, limit int) []string Inspect
GardenState : func(tokenID string) (plantedAtCsv string, readyAtCsv string, readyCount int64, found bool) Inspect
CareState : func(tokenID string) (belly int64, cheer int64, acorns int64, totalXp int64, lastPatAtUnix int64, lastHappyEventAtUnix int64, lastActionAtUnix int64, found bool) Inspect
MeterState : func(tokenID string) (belly int64, bellyAtUnix int64, cheer int64, cheerAtUnix int64, found bool) Inspect
Progress : func(tokenID string) (xpGarden int64, xpTinker int64, harvestCount int64, lastTinkerAtUnix int64, caredDayCount int64, dailyCareXpSpent int64, dailyCareDay int64, found bool) Inspect
CaredDays : func(tokenID string) (daysCsv string, found bool) Inspect
Mood : func(tokenID string) (mood string, found bool) Inspect
IsLocked : func(tokenID string) (locked bool, found bool) Inspect
CollectionInfo : func() (name string, symbol string) Inspect
TotalSupply : func() int64 Inspect
BalanceOf : func(addr .uverse.address) int64 Inspect
OwnerOfToken : func(tokenID string) (owner .uverse.address, found bool) Inspect
TotalGnomes : func() int64 Inspect
Acorns : func(addr .uverse.address) (acorns int64, found bool) Inspect
EyesCount : func(id int64) int64 Inspect
NoseCount : func(id int64) int64 Inspect
HatCount : func(hat string) int64 Inspect
CoatCount : func(coat string) int64 Inspect
CharacterOwner : func(name string) (tokenID string, found bool) Inspect
IsAllowlisted : func(addr .uverse.address) bool Inspect
HasRolled : func(addr .uverse.address) bool Inspect
PendingClaim : func(addr .uverse.address) (round int64, claimedAtUnix int64, found bool) Inspect
BatchStatus : func() (mintedSoFar int64, settledSoFar int64, batchCapOut int64, namedMinted int64, namedCapOut int64) Inspect
GenesisTokenID : func() string Inspect
AdminState : func() (admin .uverse.address, frozen bool) Inspect
LastWakeDay : func(addr .uverse.address) (day int64, found bool) Inspect
Render : func(path string) string Inspect
gnomeByTokenID : func(tokenID string) (*v6.gnome, bool) Inspect
activeGnomeForAddr : func(addr .uverse.address) (tid string, g *v6.gnome, found bool) Inspect
ownerOfToken : func(tokenID string) (owner .uverse.address, found bool) Inspect
addOwnerToken : func(addr .uverse.address, tokenID string) Inspect
removeOwnerToken : func(addr .uverse.address, tokenID string) Inspect
balanceOf : func(addr .uverse.address) int64 Inspect
setBalance : func(addr .uverse.address, v int64) Inspect
grantStartingPurseIfNew : func(addr .uverse.address) Inspect
feeFor : func(priceUgnot int64) int64 Inspect
exactUgnot : func(send chain.Coins, want int64) bool Inspect
coinsString : func(c chain.Coins) string Inspect
listingFor : func(tokenID string) (*v6.listing, bool) Inspect
validNameLength : func(name string) bool Inspect
validNameCharset : func(name string) bool Inspect
hasVisibleNameContent : func(name string) bool Inspect
invisibleLetterRunes : map[int32]bool Inspect
validNameRune : func(r int32) bool Inspect
smartPunctuationRunes : map[int32]bool Inspect
hasSmartPunctuation : func(name string) bool Inspect
canonicalNameKey : func(name string) string Inspect
nameOwnerOf : func(key string) (tokenID string, found bool) Inspect
lowerASCII : func(s string) string Inspect
anyPlotPlanted : func(g *v6.gnome) bool Inspect
eyesCount : func(id int64) int64 Inspect
noseCount : func(id int64) int64 Inspect
hatCount : func(hat string) int64 Inspect
coatCount : func(coat string) int64 Inspect
parseActions : func(raw string) []v6.saveAction Inspect
quoteAction : func(part string) string Inspect
parseUnixField : func(s string, part string) int64 Inspect
parsePlotField : func(s string, part string) int Inspect
dayNumber : func(unixSeconds int64) int64 Inspect
recordCaredDay : func(g *v6.gnome, day int64) banked bool Inspect
caredDaysCsv : func(g *v6.gnome) string Inspect
meterNow : func(value int64, setAt int64, now int64, dropEveryHours int64) int64 Inspect
clampMeter : func(v int64) int64 Inspect
canPat : func(lastPatAt int64, now int64, cooldownHours int64) bool Inspect
moodNow : func(belly int64, lastPatAt int64, lastHappyEventAt int64, adoptedAt int64, now int64, hungryThreshold int64) string Inspect
xpToNext : func(level int64) int64 Inspect
totalXpForLevel : func(level int64) int64 Inspect
levelFromXp : func(totalXp int64) int64 Inspect