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

(50 <untyped> bigint)

MaxKitStudio

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)

kitEngine

string

kitEngine is the Katman adapter (engines/katman next to this reader, derived from this realm's own path so staging needs no rewrite). Its collections read their traits from an assets/v1 store per token (~17.3M per token on the largest kit, ~1-2M for generative engines): TraitCounts(500) would be ~8.7B, over the 3B query cap, so they get the media page sizes (Cards 20, TraitCounts 50: \<= ~0.9B). It is an svg engine, so isMedia alone does not catch it.

Value

"gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia4/engines/katman"

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 collections of media engines and of the Katman kit engine). Burned tokens are skipped; listing is {id, price} or null. Traits are core.TokenTraitList: checked against the collection's own trait list (an upload's real trait names, sinopia4 M-6).

Open
OID
079736…5127:6
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; \<= 50 for collections of media engines and of the Katman kit engine). Rarity % for a 1000-token collection takes two calls (twenty for an upload). Before Final every token reports Status=Unrevealed. Types and values in first-seen order.

Open
OID
079736…5127:7
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 (n \<= 200; \<= 50 for the Katman kit engine).

Open
OID
079736…5127:8
StudioTraits details

Inspect func

Art

func(cid string, tid string) string

Art is one token's core.TokenURI (placeholder before Final): an SVG or raster data URI, or the "ipfs://\<CIDv1>" of an IPFS-stored file (I-15).

Open
OID
079736…5127:9
Art details

Inspect func

Card

func(cid string, tid string) string

Card is one token's checked SVG card data URI (core.TokenCard): the art of an SVG engine, the certificate card of a media engine; never remote.

Open
OID
079736…5127:10
Card details

Inspect func

Collections

func(offset int64, limit int64) string
Open
OID
079736…5127:11
Collections 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
079736…5127:12
Profile details

Inspect func

nameOf

func(addr .uverse.address) string

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

Open
OID
079736…5127:13
nameOf details

Inspect func

smallPages

func(engineID string) bool

smallPages: collections whose per-token traits are expensive (media engines, the Katman kit engine) get the small page sizes.

Open
OID
079736…5127:14
smallPages details

Inspect func

isMedia

func(engineID string) bool

isMedia: the collection's engine serves files (engine/v2 KindMedia).

Open
OID
079736…5127:15
isMedia details

Inspect func

tokenRange

func(minted int64, offset int64, limit int64, max int64) []string
Open
OID
079736…5127:16
tokenRange details

Inspect func

writeTraits

func(w *v2.JSONWriter, ts []v2.Trait)
Open
OID
079736…5127:17
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
079736…5127:18
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 =(50 <untyped> bigint)
MaxKitStudio : untyped bigint =(50 <untyped> bigint)
kitEngine : string ="gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia4/engines/katman"
init.7 : func() Inspect
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
Card : 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
smallPages : func(engineID string) bool Inspect
isMedia : func(engineID string) bool Inspect
tokenRange : func(minted int64, offset int64, limit int64, max int64) []string Inspect
writeTraits : func(w *v2.JSONWriter, ts []v2.Trait) Inspect
counter : type =reader.counter
newCounter : func() *reader.counter Inspect
itoa : func(n int64) string Inspect