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.

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)

MaxUploadCards

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

(20 <untyped> bigint)

MaxUploadTraitCounts

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 (limit \<= 50; \<= 20 for uploaded collections). Burned tokens are skipped; listing is {id, price} or null. Uploaded collections carry the creator's real trait names (upload.TraitLists, one permutation key per page) instead of core's fixed engine slots.

Open
OID
0ad7a7…1b9b:16
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}}} (limit \<= 500; \<= 200 for uploaded collections). Rarity % for a 1000-token collection takes two calls (five for an uploaded one). Before Final every token reports Status=Unrevealed.

Open
OID
0ad7a7…1b9b:18
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
0ad7a7…1b9b:19
StudioTraits details

Inspect func

Art

func(cid string, tid string) string

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

Open
OID
0ad7a7…1b9b:20
Art details

Inspect func

Collections

func(offset int64, limit int64) string
Open
OID
0ad7a7…1b9b:21
Collections details

Inspect func

SetComposition

func(cid string) string

SetComposition passes upload.SetComposition through: slots per creator-assigned tier and trait value over an uploaded collection's set.

Open
OID
0ad7a7…1b9b:22
SetComposition details

Inspect func

UploadStatus

func(cid string) string

UploadStatus passes upload.Status through (mint gating, storage badge).

Open
OID
0ad7a7…1b9b:23
UploadStatus details

Inspect func

Profile

func(addr .uverse.address) string

Profile is {address, name, collections} for one address. A seller's listings come from the indexer (market "Listed"/"Cancelled" events): market/v1 keeps no per-seller index on chain (storage, M2).

Open
OID
0ad7a7…1b9b:24
Profile details

Inspect func

nameOf

func(addr .uverse.address) string

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

Open
OID
0ad7a7…1b9b:25
nameOf details

Inspect func

uploadTraits

func(cid string, offset int64, limit int64) map[string]string
Open
OID
0ad7a7…1b9b:26
uploadTraits details

Inspect func

clamp

func(limit int64, max int64) int64
Open
OID
0ad7a7…1b9b:27
clamp details

Inspect func

tokenRange

func(minted int64, offset int64, limit int64, max int64) []string
Open
OID
0ad7a7…1b9b:28
tokenRange details

Inspect func

writeTraits

func(w *v1.JSONWriter, ts []v1.Trait)
Open
OID
0ad7a7…1b9b:29
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
0ad7a7…1b9b:30
newCounter details

Inspect func
MaxCards : untyped bigint =(50 <untyped> bigint)
MaxTraitCounts : untyped bigint =(500 <untyped> bigint)
MaxStudio : untyped bigint =(200 <untyped> bigint)
MaxUploadCards : untyped bigint =(20 <untyped> bigint)
MaxUploadTraitCounts : 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
SetComposition : func(cid string) string Inspect
UploadStatus : func(cid string) string Inspect
Profile : func(addr .uverse.address) string Inspect
nameOf : func(addr .uverse.address) string Inspect
uploadTraits : func(cid string, offset int64, limit int64) map[string]string Inspect
clamp : func(limit int64, max int64) int64 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