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.

katman state

Back to all declarations

author

.uverse.address

// stage:engineAuthor

Value

<gnolang.StringValue>

AuthorFeeBps

untyped bigint

AuthorFeeBps is the author's fee on primary and secondary sales of collections by other creators (engine.Manifest.FeeBps; waived for the author's own collections, capped by core's engine-fee cap). Platform engines: 1 %.

Value

(100 <untyped> bigint)

impl

type

impl is zero-size and declared here, so core runs it with this realm's authority (interrealm v2 borrow rule #1).

Value

katman.impl

Register

func() string

Register is an explicit call, not init: under the inert package policy init runs inside the approver's transaction (RA B-1). It registers this realm, once, and core accepts it only when the transaction is signed by the manifest author (author, config.gno). salt "" = no commit reservation; the fingerprint is in core's in-source reserved table (r/core config.gno), so only that key can register this art anywhere.

Open
OID
03cf4e…32f9:6
Register details

Inspect func

CheckKit

func(params string) string

CheckKit is the full kit check of params, without the owner rule: "" when a collection over them would be accepted (by the store's owner), else the reason. The Create wizard calls it right after Seal (a query).

Open
OID
03cf4e…32f9:7
CheckKit details

Inspect func

storeExists

func(n int64) bool
Open
OID
03cf4e…32f9:9
storeExists details

Inspect func

layout

func(id string) ([]string, []int64)

layout is a kit's layer names (its tiers) and weight lines (tier slots).

Open
OID
03cf4e…32f9:10
layout details

Inspect func

drawn

func(id string, seed string, totals []int64) []int64

drawn maps a seed to the artwork index of every layer's part: the drawn point of layer k is slot start\_k + point (layers are consecutive slot ranges in a checked kit). -1 for a layer without weight (unchecked kits).

Open
OID
03cf4e…32f9:11
drawn details

Inspect func

checkKit

func(cfg v1.Config, owner .uverse.address, full bool) .uverse.error

checkKit is the kit check. Always (O(layers)): the store exists and is sealed; 1..MaxLayers layers; its tiers are its trait types; every layer has weight; no untiered artwork; at most MaxParts parts, all on chain, at most MaxKitBytes in all. With an owner: owner owns the store. With full: every part (O(parts)) — an SVG; sorted by layer; exactly its own layer's value set; names unique per layer; at most MaxPartsPerLayer per layer; the file is art.Root(w, h) of the first part + inner + "\</svg>"; and the worst composed token under cfg's palette is at most art.MaxSVGBytes.

Open
OID
03cf4e…32f9:12
checkKit details

Inspect func
author : .uverse.address =<gnolang.StringValue>
AuthorFeeBps : untyped bigint =(100 <untyped> bigint)
Author : func() .uverse.address Inspect
impl : type =katman.impl
Register : func() string Inspect
CheckKit : func(params string) string Inspect
storeID : func(n int64) string Inspect
storeExists : func(n int64) bool Inspect
layout : func(id string) ([]string, []int64) Inspect
drawn : func(id string, seed string, totals []int64) []int64 Inspect
checkKit : func(cfg v1.Config, owner .uverse.address, full bool) .uverse.error Inspect