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.

reader state

Back to all declarations

MaxCards

untyped bigint

Batch limits. Hypothesis (S-4): sized for the genesis engine under the public qeval gas cap; measure on Onyx and lower if a full page runs out.

Value

(50 <untyped> bigint)

MaxTraitCounts

untyped bigint

Batch limits. Hypothesis (S-4): sized for the genesis engine under the public qeval gas cap; measure on Onyx and lower if a full page runs out.

Value

(500 <untyped> bigint)

MaxStudio

untyped bigint

Batch limits. Hypothesis (S-4): sized for the genesis engine under the public qeval gas cap; measure on Onyx and lower if a full page runs out.

Value

(200 <untyped> bigint)

Cards

func(cid string, offset int64, limit int64) string

Cards is one gallery page: \[{tid, owner, ownerName, traits, listing}] for tokens offset+1 … offset+limit. Burned tokens are skipped; listing is {id, price} or null.

Open
OID
05536e…3f52:3
Cards details

Inspect func

TraitCounts

func(cid string, offset int64, limit int64) string

TraitCounts counts trait values over tokens offset+1 … offset+limit: {"n": tokens counted, "counts": {type: {value: count}}}. Rarity % for a 1000-token collection takes two calls. Before Final every token reports Status=Unrevealed.

Open
OID
05536e…3f52:5
TraitCounts details

Inspect func

StudioTraits

func(engineID string, params string, from int64, n int64) string

StudioTraits is TraitCounts for an engine and params over n sample seeds (engine.SampleSeed(from) …), for the Studio's rarity preview.

Open
OID
05536e…3f52:6
StudioTraits details

Inspect func

Art

func(cid string, tid string) string

Art is one token's data URI (placeholder before Final).

Open
OID
05536e…3f52:7
Art details

Inspect func

Collections

func(offset int64, limit int64) string
Open
OID
05536e…3f52:8
Collections details

Inspect func

Profile

func(addr .uverse.address) string

Profile is {address, name, collections, listings} for one address.

Open
OID
05536e…3f52:9
Profile details

Inspect func

nameOf

func(addr .uverse.address) string

nameOf is the r/sys/users name of addr, or "".

Open
OID
05536e…3f52:10
nameOf details

Inspect func

tokenRange

func(minted int64, offset int64, limit int64, max int64) []string
Open
OID
05536e…3f52:11
tokenRange details

Inspect func

writeTraits

func(w *v1.JSONWriter, ts []v1.Trait)
Open
OID
05536e…3f52:12
writeTraits details

Inspect func

counter

type

counter keeps first-seen order so the JSON is deterministic.

Value

reader.counter

newCounter

func() *reader.counter
Open
OID
05536e…3f52:13
newCounter details

Inspect func
MaxCards : untyped bigint =(50 <untyped> bigint)
MaxTraitCounts : untyped bigint =(500 <untyped> bigint)
MaxStudio : untyped bigint =(200 <untyped> bigint)
Cards : func(cid string, offset int64, limit int64) string Inspect
TraitCounts : func(cid string, offset int64, limit int64) string Inspect
StudioTraits : func(engineID string, params string, from int64, n int64) string Inspect
Art : func(cid string, tid string) string Inspect
Collections : func(offset int64, limit int64) string Inspect
Profile : func(addr .uverse.address) string Inspect
nameOf : func(addr .uverse.address) string Inspect
tokenRange : func(minted int64, offset int64, limit int64, max int64) []string Inspect
writeTraits : func(w *v1.JSONWriter, ts []v1.Trait) Inspect
counter : type =reader.counter
newCounter : func() *reader.counter Inspect
itoa : func(n int64) string Inspect