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

v1 state

Back to all declarations

collectionOwnerHere

.uverse.address

Value

<gnolang.StringValue>

mintingOpen

bool

Value

true

maxMintsPerWallet

int64

Value

0

nextID

v0.ID

Value

<zero>

MintAssembled

func(to .uverse.address) v0.TokenID

MintAssembled: assembles a fresh random (chain, shape, color, metal, active) combination, verifies payment against ../stable's discount- adjusted price, then hands the RAW trait fields (not a rendered image) to ../stable.RecordMint -- the render happens later, lazily, on a read. This is the whole fix: nothing shape-dependent runs inside this transaction, so its real gas cost stays small and uniform regardless of which random trait combination gets drawn (confirmed on the throwaway revealpoc spike before this real split-realm version was built).

Open
OID
053e92…1093:7
MintAssembled details

Inspect func

traitPreset

type

Value

v1.traitPreset

traitComboKey

func(chainName string, shapeIdx int, colorIdx int, metal string, active bool) string
Open
OID
053e92…1093:9
traitComboKey details

Inspect func

activeProbability

untyped bigdec

Value

(0.2 <untyped> bigdec)

prng

type

Value

v1.prng

newPRNG

func(seed string) *v1.prng
Open
OID
053e92…1093:10
newPRNG details

Inspect func

randomTraitPreset

func(attempt int) v1.traitPreset
Open
OID
053e92…1093:11
randomTraitPreset details

Inspect func

maxAssembleAttempts

untyped bigint

Value

(200 <untyped> bigint)

assembleUniqueTraits

func() (v1.traitPreset, string)
Open
OID
053e92…1093:12
assembleUniqueTraits details

Inspect func

IsTraitComboAvailable

func(chainName string, shapeIdx int, colorIdx int, metal string, active bool) bool
Open
OID
053e92…1093:13
IsTraitComboAvailable details

Inspect func

MaxUniqueTraitCombos

func() int64
Open
OID
053e92…1093:14
MaxUniqueTraitCombos details

Inspect func

ComboProbability

func(chainName string, shapeIdx int, colorIdx int, active bool) float64

ComboProbability is the chance (0..1) that one mint draws this piece's look: its stone (the share of roster chains that carry it), its cut (even among the stone's cuts), its colour (the stone's colour odds) and its status (20% active; always active on mainnet). Ring metal and the chain's own name are equally likely for every piece, so they leave the ranking unchanged and are left out.

Open
OID
053e92…1093:15
ComboProbability details

Inspect func

rarityTiers

[]struct{...} (len=4)

rarityTiers are upper bounds on ComboProbability, rarest first. Set (2026-09-25) from the full distribution of all 691 looks on the 18-chain roster, each bound the midpoint between two neighbouring probability values, so no two equally likely looks fall on different sides and float rounding cannot move one. Shares of mints: Legendary 1.3%, Epic 3.5%, Rare 11.1%, Uncommon 25.0%, Common 59.1%. A tier is fixed at mint (stored with the token); adding a chain later only changes the odds of new mints, never an existing token's tier.

Open
OID
053e92…1093:17
rarityTiers details (len=4)

+4 more Inspect slice

rarityTier

func(tp v1.traitPreset) string
Open
OID
053e92…1093:22
rarityTier details

Inspect func

ChainRosterSize

func() int64
Open
OID
053e92…1093:26
ChainRosterSize details

Inspect func

ChainRosterCSV

func() string
Open
OID
053e92…1093:27
ChainRosterCSV details

Inspect func

callerAddress

func() .uverse.address
Open
OID
053e92…1093:28
callerAddress details

Inspect func

SetMintingOpen

func(open bool)
Open
OID
053e92…1093:31
SetMintingOpen details

Inspect func

MaxMintsPerWallet

func() int64
Open
OID
053e92…1093:32
MaxMintsPerWallet details

Inspect func

SetMaxMintsPerWallet

func(max int64)
Open
OID
053e92…1093:33
SetMaxMintsPerWallet details

Inspect func

MintsByWallet

func(owner .uverse.address) int64
Open
OID
053e92…1093:34
MintsByWallet details

Inspect func
collectionOwnerHere : .uverse.address =<gnolang.StringValue>
mintingOpen : bool =true
maxMintsPerWallet : int64 =0
nextID : v0.ID =<zero>
MintAssembled : func(to .uverse.address) v0.TokenID Inspect
traitPreset : type =v1.traitPreset
traitComboKey : func(chainName string, shapeIdx int, colorIdx int, metal string, active bool) string Inspect
activeProbability : untyped bigdec =(0.2 <untyped> bigdec)
prng : type =v1.prng
newPRNG : func(seed string) *v1.prng Inspect
randomTraitPreset : func(attempt int) v1.traitPreset Inspect
maxAssembleAttempts : untyped bigint =(200 <untyped> bigint)
assembleUniqueTraits : func() (v1.traitPreset, string) Inspect
IsTraitComboAvailable : func(chainName string, shapeIdx int, colorIdx int, metal string, active bool) bool Inspect
MaxUniqueTraitCombos : func() int64 Inspect
ComboProbability : func(chainName string, shapeIdx int, colorIdx int, active bool) float64 Inspect
rarityTiers : []struct{...} (len=4) Inspect
rarityTier : func(tp v1.traitPreset) string Inspect
chainRoster : []string (len=18) Inspect
AddChain : func(chainName string) Inspect
ChainRosterSize : func() int64 Inspect
ChainRosterCSV : func() string Inspect
callerAddress : func() .uverse.address Inspect
assertOwner : func() Inspect
MintingOpen : func() bool Inspect
SetMintingOpen : func(open bool) Inspect
MaxMintsPerWallet : func() int64 Inspect
SetMaxMintsPerWallet : func(max int64) Inspect
MintsByWallet : func(owner .uverse.address) int64 Inspect