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.

core state

Back to all declarations

PolicyClosed

untyped string

Policies.

Value

"closed"

PolicyLicensed

untyped string

Policies.

Value

"licensed"

PolicyOpen

untyped string

Policies.

Value

"open"

AccessAuthor

untyped string

How a collection's creator was allowed to use the engine (collection JSON "access", CollectionCreated.access).

Value

"author"

AccessLicence

untyped string

How a collection's creator was allowed to use the engine (collection JSON "access", CollectionCreated.access).

Value

"licence"

AccessOpen

untyped string

How a collection's creator was allowed to use the engine (collection JSON "access", CollectionCreated.access).

Value

"open"

MaxLicencesPerEngine

untyped bigint

// live licences of one engine (GrantLicence of a new holder)

Value

(1000 <untyped> bigint)

MaxLicenceCollections

untyped bigint

// collections one licence allows

Value

(1000 <untyped> bigint)

LicenceFeeDefault

untyped bigint

// GrantLicence feeBps: the manifest's FeeBps applies

Value

(-1 <untyped> bigint)

licence

type

Value

core.licence

licences

v0.Tree

// engine id + ":" + holder -> \*licence

Open
OID
0a86b7…6f26:4
licences details

Inspect ref

paramsTaken

v0.Tree

// paramsKey(engine id, params) -> cid of the first collection with them

Open
OID
0a86b7…6f26:6
paramsTaken details

Inspect ref

SetEnginePolicy

func(id string, policy string)

SetEnginePolicy sets who may create collections with engine id: "closed", "licensed" or "open". The claimed manifest author only; refused for a deprecated or superseded engine (it backs no new collection anyway).

Open
OID
0a86b7…6f26:7
SetEnginePolicy details

Inspect func

GrantLicence

func(id string, holder .uverse.address, maxCollections int64, feeBps int64)

GrantLicence lets holder create up to maxCollections (1.. MaxLicenceCollections) collections with engine id while its policy is "licensed". feeBps is LicenceFeeDefault (-1, the manifest fee) or 0..EngineFeeCapBps: the engine-author fee of the holder's collections, snapshotted at their creation (a sale still pays at most the platform cap). Granting again to a holder updates maxCollections (not below the used count) and feeBps and keeps the used count. Claimed author only; not on a deprecated or superseded engine. A grant does not change the policy.

Open
OID
0a86b7…6f26:9
GrantLicence details

Inspect func

RevokeLicence

func(id string, holder .uverse.address)

RevokeLicence removes holder's licence on engine id. Collections already created under it are not affected. Claimed author only (also on a deprecated or superseded engine).

Open
OID
0a86b7…6f26:10
RevokeLicence details

Inspect func

assertEngineAuthor

func(rec *core.engineRecord, what string)
Open
OID
0a86b7…6f26:11
assertEngineAuthor details

Inspect func

assertEngineNotRetired

func(rec *core.engineRecord)
Open
OID
0a86b7…6f26:12
assertEngineNotRetired details

Inspect func

licenceKey

func(id string, holder .uverse.address) string
Open
OID
0a86b7…6f26:13
licenceKey details

Inspect func

paramsKey

func(id string, params string) string

paramsKey identifies an (engine, params) pair in bounded space.

Open
OID
0a86b7…6f26:14
paramsKey details

Inspect func

createGrant

type

createGrant is what CreateCollection learned from the access gate.

Value

core.createGrant

createAccess

func(rec *core.engineRecord, creator .uverse.address, params string) (core.createGrant, string)

createAccess is the engine side of CreateCollection's gate: engine usable (claimed, live), creator allowed by the policy, params not held by another creator. It returns the refusal text ("" = allowed) and writes nothing; CreateCollection panics with that text and CreateRefusal returns it.

Open
OID
0a86b7…6f26:15
createAccess details

Inspect func

EnginePolicy

func(id string) string

EnginePolicy is engine id's policy: "closed", "licensed" or "open".

Open
OID
0a86b7…6f26:16
EnginePolicy details

Inspect func

Licensed

func(id string, holder .uverse.address) bool

Licensed reports whether holder holds a licence on engine id with room for another collection (whatever the current policy).

Open
OID
0a86b7…6f26:17
Licensed details

Inspect func

Licence

func(id string, holder .uverse.address) string

Licence is holder's licence on engine id as JSON {engine, holder, maxCollections, used, feeBps, grantedHeight}, or null.

Open
OID
0a86b7…6f26:18
Licence details

Inspect func

Licences

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

Licences pages engine id's licences in holder-address order.

Open
OID
0a86b7…6f26:19
Licences details

Inspect func

writeLicence

func(w *v2.JSONWriter, id string, holder string, l *core.licence)
Open
OID
0a86b7…6f26:20
writeLicence details

Inspect func

ParamsTaken

func(id string, params string) string

ParamsTaken is the cid of the first collection created with engine id and exactly these params, or "" (always "" for empty params).

Open
OID
0a86b7…6f26:21
ParamsTaken details

Inspect func

CreateRefusal

func(id string, creator .uverse.address, params string) string

CreateRefusal is why CreateCollection would refuse creator on engine id with params now, as core's own text, or "" when the engine gates pass: unknown engine, create paused, unclaimed/deprecated/superseded, the policy, a used-up licence, params of another creator. The engine's own ValidateParams and the spec's other fields are not judged here.

Open
OID
0a86b7…6f26:22
CreateRefusal details

Inspect func

admin

.uverse.address

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Value

<gnolang.StringValue>

pendingAdmin

.uverse.address

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Value

<gnolang.StringValue>

fees

v2.Fees

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Open
OID
0a86b7…6f26:26
fees details

Inspect ref

beacon

.uverse.address

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Value

<gnolang.StringValue>

listingDeposit

int64

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Value

407700

minters

v0.Tree

// minter pkgpath -> \*minterRecord

Open
OID
0a86b7…6f26:30
minters details

Inspect ref

ops

v0.Tree

// safe.PadInt(op id) -> \*pendingOp

Open
OID
0a86b7…6f26:32
ops details

Inspect ref

opCount

int64

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Value

20

pauses

v0.Tree

// scope -> \*pauseRecord

Open
OID
0a86b7…6f26:35
pauses details

Inspect ref

deniedPayees

v0.Tree

// address -> \*deniedPayee

Open
OID
0a86b7…6f26:37
deniedPayees details

Inspect ref

deniedOrder

v0.Tree

// safe.PadInt(seq) -> address (DeniedPayees pages)

Open
OID
0a86b7…6f26:39
deniedOrder details

Inspect ref

deniedCount

int64

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Value

26

deniedByOps

int64

Admin (design §2.5.2, §7.5). The admin can only change the parameters listed in validateOp, each inside a hard cap, after a public timelock; it can pause new activity for a bounded time. It can never move, approve or burn a token, touch a collection's configuration, or receive funds (I-1). With no collection yet there is nothing to protect, so ops execute without delay — that is how the platform is configured after deploy. The initial admin and treasury come from config.gno (per chain; the admin is the bootstrap deployer and is handed to the 2/3 multisig with admin.transfer before minter.add, plan §5.7). SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; the bootstrap sets fee.create (1 GNOT, decision §6-5).

Value

0

deniedPayee

type

Value

core.deniedPayee

pauseRecord

type

pauseRecord is one scope's pause and its budget (SA-L2): within a window of PauseWindowBlocks a scope can be paused for at most MaxPauseBlocks in total; a pause cannot be renewed while it runs. Worst case two budgets meet at a window boundary (\<= 2 x MaxPauseBlocks in a row), never more.

Value

core.pauseRecord

minterRecord

type

Value

core.minterRecord

pendingOp

type

Value

core.pendingOp

OpFeeCreate

untyped string

// ugnot, \<= CreateFeeCap

Value

"fee.create"

OpFeePrimary

untyped string

// bps, \<= ProtocolFeeCapBps

Value

"fee.primary"

OpFeeSecondary

untyped string

// bps, \<= ProtocolFeeCapBps

Value

"fee.secondary"

OpFeeEngine

untyped string

// bps, \<= EngineFeeCapBps: platform cap on engine-author fees

Value

"fee.engine"

OpTreasury

untyped string

// address

Value

"treasury"

OpBeacon

untyped string

// address, or "" to disable new beacon launches

Value

"beacon"

OpMinterAdd

untyped string

// realm pkgpath

Value

"minter.add"

OpMinterDeprecate

untyped string

// realm pkgpath: no new collections

Value

"minter.deprecate"

OpEngineReview

untyped string

// engine id: reviewed badge (UI only)

Value

"engine.review"

OpAdminTransfer

untyped string

// address; the new admin must AcceptAdmin

Value

"admin.transfer"

OpRandomnessAdd

untyped string

// registered provider path: creators may launch with it

Value

"randomness.add"

OpRandomnessDepr

untyped string

// provider path: no new launches; running ones finish

Value

"randomness.deprecate"

OpListingDeposit

untyped string

// ugnot, \<= ListingDepositCap: market deposit return for new listings

Value

"listing.deposit"

OpEngineDeprecate

untyped string

// engine id: no new collections (proven re-wrap or squat, ENG-M1)

Value

"engine.deprecate"

OpPayeeDeny

untyped string

// realm pkgpath: refused as payee/treasury from now on (I-18: no op removes)

Value

"payee.deny"

ProposeOp

func(op string, arg string) string
Open
OID
0a86b7…6f26:44
ProposeOp details

Inspect func

ExecuteOp

func(opID string)

ExecuteOp applies a proposed op once its timelock has passed. The delay is judged at execution, so an op proposed during bootstrap still waits the full timelock if a collection appeared in the meantime.

Open
OID
0a86b7…6f26:46
ExecuteOp details

Inspect func

Pause

func(scope string)

Pause stops new activity in one scope for the rest of its budget (at most MaxPauseBlocks per PauseWindowBlocks). It never blocks exits (I-2) and cannot be renewed while it runs (SA-L2).

Open
OID
0a86b7…6f26:49
Pause details

Inspect func

Unpause

func(scope string)

Unpause ends a pause early and gives the unused blocks back to the budget.

Open
OID
0a86b7…6f26:50
Unpause details

Inspect func

pauseOf

func(scope string) *core.pauseRecord
Open
OID
0a86b7…6f26:51
pauseOf details

Inspect func

Paused

func(scope string) bool

Paused reports whether scope ("create", "mint", "trade") is paused now.

Open
OID
0a86b7…6f26:52
Paused details

Inspect func

PauseBudget

func(scope string) string

PauseBudget is the scope's pause record as JSON: {until, used, windowStart, windowEnd, left}.

Open
OID
0a86b7…6f26:53
PauseBudget details

Inspect func

assertNotPaused

func(scope string)
Open
OID
0a86b7…6f26:54
assertNotPaused details

Inspect func

assertScope

func(scope string)
Open
OID
0a86b7…6f26:55
assertScope details

Inspect func

earliestExecution

func(p *core.pendingOp) int64
Open
OID
0a86b7…6f26:58
earliestExecution details

Inspect func

mustOp

func(opID string) *core.pendingOp
Open
OID
0a86b7…6f26:59
mustOp details

Inspect func

validateOp

func(op string, arg string)

validateOp is the closed list of admin powers (I-1).

Open
OID
0a86b7…6f26:60
validateOp details

Inspect func

applyOp

func(op string, arg string)
Open
OID
0a86b7…6f26:61
applyOp details

Inspect func

assertActiveMinter

func(path string)
Open
OID
0a86b7…6f26:62
assertActiveMinter details

Inspect func

parseAmount

func(s string) int64
Open
OID
0a86b7…6f26:63
parseAmount details

Inspect func

initDeniedPayees

func()

initDeniedPayees adds the static platform realms next to core.

Open
OID
0a86b7…6f26:64
initDeniedPayees details

Inspect func

denyPayee

func(path string, source string)

denyPayee adds path's package address to the deny set (idempotent).

Open
OID
0a86b7…6f26:65
denyPayee details

Inspect func

IsDeniedPayee

func(addr .uverse.address) bool

IsDeniedPayee reports whether addr is in the payee deny set (static platform realms, approved minters, payee.deny). Core's own addresses and a collection's sub-addresses and engine adapter are refused as well (assertSpendable) but are not listed here.

Open
OID
0a86b7…6f26:66
IsDeniedPayee details

Inspect func

DeniedPayees

func(offset int64, limit int64) string

DeniedPayees pages the deny set as JSON: \[{path, address, source}].

Open
OID
0a86b7…6f26:67
DeniedPayees details

Inspect func

CreateCollection

func(creator .uverse.address, spec v2.CollectionSpec) string

CreateCollection stores a Draft collection and returns its id. Nobody can mint a Draft, so a creator can configure phases across several messages without a race (OA B2).

Open
OID
0a86b7…6f26:68
CreateCollection details

Inspect func

Launch

func(cid string, l v2.LaunchSpec)

Launch freezes the configuration (I-6): sale window, reveal window and the creator's commitment. The sale must start in the future so a beacon can commit before the first mint.

Open
OID
0a86b7…6f26:70
Launch details

Inspect func

launchOpen

func(c *core.collection, l v2.LaunchSpec)

launchOpen is Launch in open mode (I-17): no commitment, no beacon or provider, no reveal window. The salt is public (openSalt) and anyone may finalize once the sale is Closed.

Open
OID
0a86b7…6f26:71
launchOpen details

Inspect func

checkLaunch

func(c *core.collection, mode string)

checkLaunch refuses an engine that was deprecated or superseded after the Draft was made (WP-J J-1: I-14's "no new sales" covers Launch and every relaunch after AbortLaunch, not only CreateCollection; a collection that is already Scheduled or later is not touched), then runs the engine's launch gate (I-16: the creator's own tx; everything the engine needs is passed in). An engine that implements engine.LaunchGate is then asked again with the launch mode (e.g. an engine that only works in reveal mode refuses an open launch).

Open
OID
0a86b7…6f26:72
checkLaunch details

Inspect func

assertEngineUsable

func(rec *core.engineRecord)

assertEngineUsable is the engine gate of Launch: claimed, not deprecated, not superseded (CreateCollection's createAccess starts with the same checks and texts). The access policy is not judged again (I-19).

Open
OID
0a86b7…6f26:73
assertEngineUsable details

Inspect func

schedule

func(c *core.collection)

schedule snapshots the fees and moves c to Scheduled (both modes).

Open
OID
0a86b7…6f26:74
schedule details

Inspect func

modeName

func(m string) string

modeName is the mode as shown in events and JSON ("reveal" or "open").

Open
OID
0a86b7…6f26:75
modeName details

Inspect func

collectionTraitTypes

func(rec *core.engineRecord, params string) []string

collectionTraitTypes asks the engine for the collection's trait list (I-16) and returns a core-owned copy, or nil when it equals the manifest's (nothing extra stored).

Open
OID
0a86b7…6f26:76
collectionTraitTypes details

Inspect func

sameList

func(a []string, b []string) bool
Open
OID
0a86b7…6f26:77
sameList details

Inspect func

traitTypesOf

func(c *core.collection) []string

traitTypesOf is c's effective trait list (shared; callers copy before handing it out).

Open
OID
0a86b7…6f26:78
traitTypesOf details

Inspect func

AbortLaunch

func(cid string)

AbortLaunch returns a launched collection to Draft while nothing has been minted — the way out when a beacon never commits. A commitment whose secret was revealed is burned for this collection; unrevealed ones (the beacon's deterministic one included) may be committed again (SA-L1).

Open
OID
0a86b7…6f26:79
AbortLaunch details

Inspect func

ReserveTo

func(cid string, to .uverse.address, n int64) (first int64, last int64)

ReserveTo mints the creator's reserve before the sale starts. Reserve mints feed the entropy like any mint, appear in Provenance, and do not count toward wallet caps.

Open
OID
0a86b7…6f26:80
ReserveTo details

Inspect func

MintTo

func(cid string, to .uverse.address, n int64) (first int64, last int64)

MintTo mints n tokens during the sale. The minter has already checked phase, price, allowlist and wallet cap; core re-checks only what it owns: state, supply and the beacon commitment (I-5). The lifetime counter of I-9 is the grc721 balance itself (mintedBy).

Open
OID
0a86b7…6f26:81
MintTo details

Inspect func

assertMintCount

func(c *core.collection, n int64)
Open
OID
0a86b7…6f26:82
assertMintCount details

Inspect func

mintBatchTo

func(c *core.collection, to .uverse.address, n int64, h int64) (first int64, last int64)

mintBatchTo is the only place tokens come into existence.

Open
OID
0a86b7…6f26:83
mintBatchTo details

Inspect func

mintedBy

func(c *core.collection, addr .uverse.address) int64

mintedBy is addr's lifetime count of sale mints (I-9) while the collection is not Final: before Final no token can move or burn (I-11, lockExt) and tokens only come from mintBatchTo, so the grc721 balance is exactly sale mints + reserves received. This replaces a stored counter (~2 KB per new wallet, storage-cost-analysis P2). After Final the balance moves freely and no minter needs the count any more: -1.

Open
OID
0a86b7…6f26:84
mintedBy details

Inspect func

reservedTo

func(c *core.collection, addr .uverse.address) int64
Open
OID
0a86b7…6f26:85
reservedTo details

Inspect func

awaitingBeaconCommit

func(c *core.collection) bool

awaitingBeaconCommit: a committed-beacon launch whose beacon has not committed yet; nothing may be minted (or reserved) before it does.

Open
OID
0a86b7…6f26:86
awaitingBeaconCommit details

Inspect func

CloseMint

func(cid string)

CloseMint materializes Closed once the sale window has passed. Anyone may call it; reveals and Finalize work without it.

Open
OID
0a86b7…6f26:87
CloseMint details

Inspect func

TransferCreator

func(cid string, to .uverse.address)

TransferCreator starts a two-step handover (RA M-11).

Open
OID
0a86b7…6f26:88
TransferCreator details

Inspect func

AcceptCreator

func(cid string)
Open
OID
0a86b7…6f26:89
AcceptCreator details

Inspect func

SetPayees

func(cid string, payees string)

SetPayees changes the royalty split after Final. The primary-sale split is frozen with the sale (I-6); the royalty receiver stays the collection's sub-treasury, so third-party markets are unaffected. Royalties earned so far are first paid to the current payees (SA-I4).

Open
OID
0a86b7…6f26:90
SetPayees details

Inspect func

assertPayees

func(field string, ps []v2.Payee, cid string, engineID string)

assertPayees refuses payees that can never spend what they receive (SA-L5): the platform's own realms and sub-addresses. cid is the collection being configured, engineID its engine adapter.

Open
OID
0a86b7…6f26:91
assertPayees details

Inspect func

assertSpendable

func(field string, addr .uverse.address, cid string, engineID string)

assertSpendable panics for core, core's sub-addresses of collection cid (token identity c/\<cid>, royalty treasury roy/\<cid>), the engine adapter, and every address of the deny set: the static platform realms next to core, every minter ever approved and every payee.deny realm (I-18). None of them has a path that spends an incoming payment, so the coins would be stranded (I-3).

Open
OID
0a86b7…6f26:92
assertSpendable details

Inspect func

assertCreator

func(c *core.collection)
Open
OID
0a86b7…6f26:93
assertCreator details

Inspect func

assertBoundMinter

func(c *core.collection)
Open
OID
0a86b7…6f26:94
assertBoundMinter details

Inspect func

initialAdmin

.uverse.address

Roles are separate on purpose (S-8): the admin can only propose timelocked parameter changes and never holds funds (I-1); the treasury only receives fees; the platform engine author only claims and deprecates the platform engines and registers their reserved fingerprints. The admin here is the bootstrap admin (= the deployer): admin.transfer hands it to the 2/3 multisig before minter.add (§5.7).

Value

<gnolang.StringValue>

initialTreasury

.uverse.address

Roles are separate on purpose (S-8): the admin can only propose timelocked parameter changes and never holds funds (I-1); the treasury only receives fees; the platform engine author only claims and deprecates the platform engines and registers their reserved fingerprints. The admin here is the bootstrap admin (= the deployer): admin.transfer hands it to the 2/3 multisig before minter.add (§5.7).

Value

<gnolang.StringValue>

platformAuthor

.uverse.address

Roles are separate on purpose (S-8): the admin can only propose timelocked parameter changes and never holds funds (I-1); the treasury only receives fees; the platform engine author only claims and deprecates the platform engines and registers their reserved fingerprints. The admin here is the bootstrap admin (= the deployer): admin.transfer hands it to the 2/3 multisig before minter.add (§5.7).

Value

<gnolang.StringValue>

reservedFP

type

reservedFP is a platform engine whose art is public before its adapter registers (Onyx p/ packages, the TS twins in the site bundle). Its sample fingerprint exists in core from the enable tx, so nobody but its author can ever register it (ENG-M1, I-14).

Value

core.reservedFP

reservedFingerprints

[]core.reservedFP (len=17)

reservedFingerprints: sha256(Render(engine.SampleInput())) of each platform engine, from docs/engines/README.md (2026-11-04; the v2 and new engines 2026-11-11, each checked against its art package in z\_reserved\_fp\_filetest.gno); the upload card's is sha256 of the v2 card (engines/upload render.gno cardSVG = upload.CardFingerprint, WP-F 2026-11-10; it holds no path text, so it is the same on every chain).

Open
OID
0a86b7…6f26:100
reservedFingerprints details (len=17)

+17 more Inspect slice

staticDeniedRealms

[]string (len=26)

staticDeniedRealms are the platform realms next to core (paths relative to core's parent, README package map) that can never spend an incoming payment. They are refused as payees and treasury from deploy on (SA-L5, M-17); the admin adds others with payee.deny (I-18: additions only).

Open
OID
0a86b7…6f26:119
staticDeniedRealms details (len=26)

+26 more Inspect slice

ProtocolFeeCapBps

untyped bigint

// 5% of any sale

Value

(500 <untyped> bigint)

RoyaltyCapBps

untyped bigint

// 10% (RA M-3)

Value

(1000 <untyped> bigint)

CreateFeeCap

untyped bigint

// 1,000 GNOT in ugnot

Value

(1000000000 <untyped> bigint)

MaxPayees

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(4 <untyped> bigint)

MaxSupplyCap

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(10000 <untyped> bigint)

MaxMintPerTx

untyped bigint

// hypothesis: measure n=10 gas/deposit on Onyx

Value

(10 <untyped> bigint)

MaxReserveBps

untyped bigint

// creator reserve \<= 10% of supply

Value

(1000 <untyped> bigint)

MaxSaleBlocks

untyped bigint

// ~30 days

Value

(732000 <untyped> bigint)

RevealWindowMin

untyped bigint

// ~1 hour

Value

(1017 <untyped> bigint)

RevealWindowMax

untyped bigint

// ~7 days

Value

(170000 <untyped> bigint)

BeaconGraceBlocks

untyped bigint

// beacon may reveal first in the window's last ~15 min (\< RevealWindowMin, so the creator always gets to go first)

Value

(254 <untyped> bigint)

TimelockBlocks

untyped bigint

// ~48 hours

Value

(48800 <untyped> bigint)

MaxPauseBlocks

untyped bigint

// ~8 days: pause budget per scope and window

Value

(195000 <untyped> bigint)

PauseWindowBlocks

untyped bigint

// ~30 days (SA-L2)

Value

(732000 <untyped> bigint)

EngineFeeCapBps

untyped bigint

// 5%: hard cap of an engine author's fee (platform cap \<= this)

Value

(500 <untyped> bigint)

ProviderWaitBlocks

untyped bigint

// ~24 h: Finalize waits this long after the deadline (or the round's binding) for a provider's round before falling back (CV-M1)

Value

(24400 <untyped> bigint)

ListingDepositCap

untyped bigint

// 5 GNOT: hard cap of the market's listing deposit return (op listing.deposit, CV-L2)

Value

(5000000 <untyped> bigint)

MaxNameLen

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(64 <untyped> bigint)

MaxDescriptionLen

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(1024 <untyped> bigint)

MaxParamsLen

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(1024 <untyped> bigint)

MinSecretLen

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(32 <untyped> bigint)

MaxSecretLen

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(256 <untyped> bigint)

MaxPageSize

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(50 <untyped> bigint)

ReservationTTLBlocks

untyped bigint

// ~7 days: a fingerprint reservation is usable this long

Value

(170000 <untyped> bigint)

UnclaimedHoldBlocks

untyped bigint

// ~1 day: an unclaimed record stops blocking the same art after this

Value

(24400 <untyped> bigint)

MinReserveSaltLen

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(32 <untyped> bigint)

MaxReserveSaltLen

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(256 <untyped> bigint)

MaxDeniedPayees

untyped bigint

Hard limits. They are constants on purpose: nobody, admin included, can raise them after deploy (block counts assume ~3.54 s blocks, RA M-1).

Value

(64 <untyped> bigint)

CoreVersion

untyped string

CoreVersion tells indexers and frontends which core they read (M-26).

Value

"sinopia-core/4"

BadgeBoth

untyped string

Provenance badges (design §4.3).

Value

"2/2"

BadgeCreatorOnly

untyped string

Provenance badges (design §4.3).

Value

"creator-only"

BadgeBeaconOnly

untyped string

Provenance badges (design §4.3).

Value

"beacon-only"

BadgeFallback

untyped string

Provenance badges (design §4.3).

Value

"fallback"

BadgeOpen

untyped string

// open mode: no secrets, never a fair launch (I-17)

Value

"open"

collection

type

Value

core.collection

selfPath

string

Value

"gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia4/core"

collections

v0.Tree

// safe.PadInt(cid) -> \*collection

Open
OID
0a86b7…6f26:122
collections details

Inspect ref

byCreator

v0.Tree

// creator + ":" + padded cid -> cid

Open
OID
0a86b7…6f26:124
byCreator details

Inspect ref

collCount

int64

Value

14

Version

func() string

Version is CoreVersion (M-26).

Open
OID
0a86b7…6f26:128
Version details

Inspect func

cidWidth

untyped bigint

Value

(10 <untyped> bigint)

collKey

func(cid string) string

collKey accepts a collection id as "\<cid>" or as its token sub-path "c/\<cid>" (the form a wallet derives from Token.ID(), "…/core#c/\<cid>"; K-1). Every function that takes a cid resolves it through mustCollection and then uses c.id only.

Open
OID
0a86b7…6f26:129
collKey details

Inspect func

mustCollection

func(cid string) *core.collection
Open
OID
0a86b7…6f26:130
mustCollection details

Inspect func

stateAt

func(c *core.collection, h int64) v2.State

stateAt is the effective state at height h; the stored state lags until the next write materializes it (refresh).

Open
OID
0a86b7…6f26:131
stateAt details

Inspect func

refresh

func(c *core.collection, h int64)
Open
OID
0a86b7…6f26:132
refresh details

Inspect func

revealDeadline

func(c *core.collection) int64

revealDeadline is when anyone may finalize without the missing secrets. It is at most endHeight + RevealWindowMax, which bounds the transfer lock (I-11).

Open
OID
0a86b7…6f26:133
revealDeadline details

Inspect func

assertNoDeposit

func()

assertNoDeposit refuses coins on functions that take none, so nothing can get stuck in core (RA L-1). The origin-send envelope belongs to the first realm of the call; it is only ours to judge when a wallet called us.

Open
OID
0a86b7…6f26:135
assertNoDeposit details

Inspect func

engineRecord

type

Engine registry ("art as code", design §5). An engine registers itself from its own /r/ adapter realm; its id is that realm's package path, so nobody can register in someone else's name. The stored interface value's methods are declared in the adapter, so every call runs with the adapter's authority, not core's (interrealm v2 borrow rule #1): engine code cannot write core state. It also cannot call back into a core mutator: all of core's state-changing functions are crossing and need a live cur the engine never has. Honest limits, surfaced to users rather than hidden: - an adapter realm with state could change its art later; the sample fingerprint (VerifyEngine) detects a change of the sample, and review means reading the adapter for statelessness; - a private (re-deployable) adapter cannot register: the VM aborts the registration when core's state would retain the private realm's type (spike A9, observed in gno v1.7.0 test mode; confirm on Onyx).

Value

core.engineRecord

EngineUnclaimed

untyped string

Engine statuses (EngineStatus, engine JSON "status").

Value

"unclaimed"

EngineUnverified

untyped string

Engine statuses (EngineStatus, engine JSON "status").

Value

"unverified"

EngineReviewed

untyped string

Engine statuses (EngineStatus, engine JSON "status").

Value

"reviewed"

EngineDeprecated

untyped string

Engine statuses (EngineStatus, engine JSON "status").

Value

"deprecated"

EngineSuperseded

untyped string

Engine statuses (EngineStatus, engine JSON "status").

Value

"superseded"

reservationSource

untyped string

// fingerprint reserved in config.gno

Value

"source"

reservationCommit

untyped string

// backed by a ReserveFingerprint commitment

Value

"commit"

engines

v0.Tree

// engine id -> \*engineRecord

Open
OID
0a86b7…6f26:139
engines details

Inspect ref

engineOrder

v0.Tree

// safe.PadInt(seq) -> engine id

Open
OID
0a86b7…6f26:141
engineOrder details

Inspect ref

byFingerprint

v0.Tree

// fingerprint + ":" + engine id -> "" (CV-L3)

Open
OID
0a86b7…6f26:143
byFingerprint details

Inspect ref

byEngine

v0.Tree

// engine id + ":" + padded cid -> cid (CollectionsByEngine, M-18)

Open
OID
0a86b7…6f26:145
byEngine details

Inspect ref

engineCount

int64

Value

16

fpReservation

type

Value

core.fpReservation

RegisterEngine

func(e v2.Engine, salt string) string

RegisterEngine stores the calling realm's engine (I-16: the manifest, default params and one sample render with its traits, in the engine's own registration transaction). The record is immutable afterwards except for the claim/deprecate/review/superseded flags, the collection count and the access policy (access.gno: every engine starts closed). salt is "" or the salt of a ReserveFingerprint commitment made by the manifest author (ENG-M1 rule 2). Fingerprint rules (I-14), with signer = OriginCaller: - every registration must be signed by its manifest author (signer == Manifest.Author; WP-J J-2: otherwise a tx the author of a live engine signs into a foreign realm could register a re-wrap of that art under another author, since CV-L3 exempts the author's own versions); - a fingerprint reserved in source (config.gno) registers only with signer == Manifest.Author == its reserved author; - a live record of the same art by another author (not deprecated, not superseded) blocks the registration (CV-L3) unless this registration is reserved in source, or backed by a reservation made before that record's own priority (so the record was registered after the reservation's commit; WP-J J-3), or the record is unclaimed and older than UnclaimedHoldBlocks; such records are marked superseded instead.

Open
OID
0a86b7…6f26:149
RegisterEngine details

Inspect func

registrationPriority

func(fp string, author .uverse.address, signer .uverse.address, salt string, h int64) (string, int64, string)

registrationPriority applies the reservation rules and returns the registration's kind, priority (lower wins) and the reservation key it consumes ("" for none). It writes nothing.

Open
OID
0a86b7…6f26:151
registrationPriority details

Inspect func

conflicts

func(fp string, author .uverse.address, kind string, priority int64, h int64) []*core.engineRecord

conflicts returns the live records of the same art by other authors that this registration (by author, who signed it) supersedes, and panics on one that blocks it (CV-L3, I-14). A deprecated or superseded record never blocks. A commit reservation (priority = its ReserveFingerprint height) beats only a record with a later priority: a plain record registered after the commit height, or a record backed by a later reservation. A record registered at or before the commit height — claimed or not — is never superseded by it (WP-J J-3; rec.priority \<= rec.registeredHeight, so a later priority implies a later registration). Unclaimed records still expire after UnclaimedHoldBlocks for every registration.

Open
OID
0a86b7…6f26:152
conflicts details

Inspect func

reservedAuthorOf

func(fp string) (.uverse.address, bool)
Open
OID
0a86b7…6f26:153
reservedAuthorOf details

Inspect func

ReserveFingerprint

func(commitHex string)

ReserveFingerprint records a commitment to register an engine whose art is not public yet (ENG-M1 rule 2): commit = ReservationCommit(chainId, fingerprint, author, salt) with salt 32..256 bytes. The caller (a wallet) is the author; the reservation is usable from the next block for ReservationTTLBlocks by a RegisterEngine(…, salt) signed by that author with that Manifest.Author. The commitment reveals nothing, so it cannot be front-run.

Open
OID
0a86b7…6f26:154
ReserveFingerprint details

Inspect func

ReservationCommit

func(chainID string, fp string, author .uverse.address, salt string) string

ReservationCommit is the commitment ReserveFingerprint takes: sha256("art|fpres|v1|" + chainID + "|" + fp + "|" + author + "|" + salt).

Open
OID
0a86b7…6f26:155
ReservationCommit details

Inspect func

Reservation

func(author .uverse.address, commitHex string) string

Reservation is the reservation of author for commitHex as JSON {author, commit, height, validFrom, expires, active}, or null.

Open
OID
0a86b7…6f26:156
Reservation details

Inspect func

ReservedAuthor

func(fp string) .uverse.address
Open
OID
0a86b7…6f26:157
ReservedAuthor details

Inspect func

ReservedFingerprints

func() string

ReservedFingerprints is the in-source table as JSON \[{name, fingerprint, author}].

Open
OID
0a86b7…6f26:158
ReservedFingerprints details

Inspect func

ClaimEngine

func(id string)

ClaimEngine proves the manifest author controls that address. Unclaimed engines cannot back a collection.

Open
OID
0a86b7…6f26:159
ClaimEngine details

Inspect func

DeprecateEngine

func(id string)

DeprecateEngine stops new collections; existing ones keep rendering.

Open
OID
0a86b7…6f26:160
DeprecateEngine details

Inspect func

engineFeeOf

func(rec *core.engineRecord) int64

engineFeeOf is the engine's fee under the current platform cap.

Open
OID
0a86b7…6f26:161
engineFeeOf details

Inspect func

engineFeeQuote

func(c *core.collection) (.uverse.address, int64)

engineFeeQuote is what c would snapshot at a Launch now.

Open
OID
0a86b7…6f26:162
engineFeeQuote details

Inspect func

collectionEngineFee

func(c *core.collection) (.uverse.address, int64)

collectionEngineFee is the fee a sale of c pays now: the Launch snapshot bounded by the current cap; before Launch, the current quote.

Open
OID
0a86b7…6f26:163
collectionEngineFee details

Inspect func

EngineFee

func(cid string) (author .uverse.address, bps int64)

EngineFee is the engine-author share of cid's sales: the author and the bps a sale pays now (0 when the creator is the author). mint/v1 and market/v1 pay safe.BpsOf(amount, bps) to author.

Open
OID
0a86b7…6f26:164
EngineFee details

Inspect func

mustEngine

func(id string) *core.engineRecord
Open
OID
0a86b7…6f26:165
mustEngine details

Inspect func

copyManifest

func(m v2.Manifest) v2.Manifest

copyManifest gives core its own copy: the engine's slice was allocated in the engine realm.

Open
OID
0a86b7…6f26:166
copyManifest details

Inspect func

RenderWith

func(id string, params string, seed string) string

RenderWith renders any registered engine for arbitrary params and seed as a data URI — Studio previews and the Verify button. For a media engine it is the card.

Open
OID
0a86b7…6f26:167
RenderWith details

Inspect func

RenderWithInput

func(id string, params string, seed string, mintHeight int64, lastMove int64, moves int64, h int64, firstOwner .uverse.address) string

RenderWithInput is RenderWith for a full Input, so living engines can be verified off chain and against their TS twins (M-24). CollectionID and TokenID are "0" and Salt "" as in every studio render; firstOwner is passed through as Input.FirstOwner ("" = none).

Open
OID
0a86b7…6f26:168
RenderWithInput details

Inspect func

renderChecked

func(rec *core.engineRecord, in v2.Input) string
Open
OID
0a86b7…6f26:169
renderChecked details

Inspect func

EngineTraits

func(id string, params string, seed string) []v2.Trait

EngineTraits returns a core-owned copy of the engine's traits for seed, checked against TraitTypes(params).

Open
OID
0a86b7…6f26:170
EngineTraits details

Inspect func

TraitsWith

func(id string, params string, seed string) string
Open
OID
0a86b7…6f26:171
TraitsWith details

Inspect func

VerifyEngine

func(id string) bool

VerifyEngine re-renders the sample and compares it with the fingerprint stored at registration.

Open
OID
0a86b7…6f26:172
VerifyEngine details

Inspect func

EngineManifest

func(id string) v2.Manifest

EngineManifest is the typed read for other realms (gallery).

Open
OID
0a86b7…6f26:173
EngineManifest details

Inspect func

EngineStatus

func(id string) string

EngineStatus is "unclaimed", "unverified", "reviewed", "deprecated" or "superseded".

Open
OID
0a86b7…6f26:174
EngineStatus details

Inspect func

engineStatus

func(rec *core.engineRecord) string
Open
OID
0a86b7…6f26:175
engineStatus details

Inspect func

Engine

func(id string) string

Engine is the record as JSON.

Open
OID
0a86b7…6f26:176
Engine details

Inspect func

Engines

func(offset int64, limit int64) string
Open
OID
0a86b7…6f26:177
Engines details

Inspect func

EnginesByFingerprint

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

EnginesByFingerprint pages every record with fingerprint fp, in path order (the deploy check's squat scan).

Open
OID
0a86b7…6f26:178
EnginesByFingerprint details

Inspect func

CollectionsByEngine

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

CollectionsByEngine pages the collections created on engine id, in creation order (M-18). The count is the engine JSON's "collections".

Open
OID
0a86b7…6f26:179
CollectionsByEngine details

Inspect func

writeEngine

func(w *v2.JSONWriter, rec *core.engineRecord)
Open
OID
0a86b7…6f26:180
writeEngine details

Inspect func

writeStrings

func(w *v2.JSONWriter, list []string)
Open
OID
0a86b7…6f26:181
writeStrings details

Inspect func

studioInput

func(params string, seed string) v2.Input
Open
OID
0a86b7…6f26:182
studioInput details

Inspect func

provenance

type

Commit–reveal v2 (design §4.2–4.3, closes RA H-3, M-5, M-6). The map is fixed by three inputs: the creator's secret sc, the beacon's secret sb and the public mint-entropy accumulator acc. Neither committer knows the other's secret while minting is open, so neither can time the last mint for a good map. Order of reveals: 1. nothing is accepted before Closed (an early reveal informs the other side); 2. the creator may reveal until revealDeadline - BeaconGraceBlocks; the beacon follows at any time before the deadline; 3. inside the last BeaconGraceBlocks only the beacon may reveal. If the creator stayed silent, the beacon's reveal finalizes at once ("beacon-only"), so the creator never sees sb while it can still choose (SA-M1; this also closes the mempool race of a creator front-running the beacon's grace reveal); 4. after revealDeadline anyone finalizes with whatever was revealed. What stays open, by design: the beacon, as last revealer after the creator, can still choose between revealing and not (one bit). It runs public code and the badge shows the outcome. The transfer lock (tokens.gno) keeps anyone from trading on early knowledge until Final. The second secret sb comes from the committed beacon (below) or, when the collection was launched with a randomness provider, from the provider's round bound after the creator's turn (randomness.gno); the order rules and badges are the same. A collection launched without the beacon (only possible while no beacon or provider is configured, SA-M2) gives the creator the whole choice of the map; it can have no creator reserve and is never reported as a fair launch (FairLaunch, Provenance "fair").

Value

core.provenance

roleCreator

untyped string

Value

"creator"

roleBeacon

untyped string

Value

"beacon"

BeaconCommit

func(cid string, commitHex string)

BeaconCommit is the beacon's commitment, before any token exists.

Open
OID
0a86b7…6f26:183
BeaconCommit details

Inspect func

RevealCreatorSecret

func(cid string, secret string)
Open
OID
0a86b7…6f26:185
RevealCreatorSecret details

Inspect func

RevealBeaconSecret

func(cid string, secret string)
Open
OID
0a86b7…6f26:186
RevealBeaconSecret details

Inspect func

Finalize

func(cid string)

Finalize is permissionless and never paused (I-2): immediately once every expected secret is revealed, otherwise after revealDeadline (fallback). For a provider collection it first binds or consumes the provider's round (settleProvider) and falls back only when the provider failed to deliver.

Open
OID
0a86b7…6f26:187
Finalize details

Inspect func

assertRevealOpen

func(c *core.collection, h int64)
Open
OID
0a86b7…6f26:188
assertRevealOpen details

Inspect func

assertSecret

func(c *core.collection, role string, secret string, commit string)
Open
OID
0a86b7…6f26:189
assertSecret details

Inspect func

revealsComplete

func(c *core.collection) bool
Open
OID
0a86b7…6f26:190
revealsComplete details

Inspect func

assertNotOpen

func(c *core.collection)
Open
OID
0a86b7…6f26:191
assertNotOpen details

Inspect func

openSalt

func(cid string) string

openSalt is an open collection's salt: public from Launch, so anyone can compute every token's art before minting (I-17).

Open
OID
0a86b7…6f26:192
openSalt details

Inspect func

finalize

func(c *core.collection, h int64)

finalize runs at most once per collection (I-10): every caller checks state Closed, and this sets Final.

Open
OID
0a86b7…6f26:193
finalize details

Inspect func

VerifyProvenance

func(cid string) bool

VerifyProvenance recomputes every commitment and the salt from public data. True only for a Final collection whose record is consistent.

Open
OID
0a86b7…6f26:194
VerifyProvenance details

Inspect func

FairLaunch

func(cid string) bool

FairLaunch is true only for a Final, consistent collection whose map no single party could choose: launched with the beacon and finalized with both secrets or with the beacon's alone (after the creator stayed silent). Creator-only collections (no beacon: the creator alone knew the only secret and could steer the last mint, SA-M2) and fallbacks are not fair launches, even when VerifyProvenance is true.

Open
OID
0a86b7…6f26:195
FairLaunch details

Inspect func

isBurned

func(c *core.collection, commit string) bool
Open
OID
0a86b7…6f26:196
isBurned details

Inspect func

Provenance

func(cid string) string

Provenance is the whole record as JSON; secrets and salt stay "" until revealed / final.

Open
OID
0a86b7…6f26:197
Provenance details

Inspect func

Salt

func(cid string) string

Salt is cid's final salt (hex), "" before Final (M-5: the upload adapter and other readers no longer parse Provenance JSON).

Open
OID
0a86b7…6f26:198
Salt details

Inspect func

RandomnessProvider

type

Pluggable randomness sources (beacon v2). A collection launched with useBeacon picks its second entropy source at Launch (LaunchSpec.BeaconSource, frozen by I-6): - types.BeaconCommitted: the platform beacon's commit-reveal (provenance.gno; BeaconCommit before the first mint, RevealBeaconSecret after the creator). - the package path of a randomness provider realm: a public random value nobody can know in advance, e.g. a drand round relayed and BLS-verified on chain (gnolang/gno#6268 p/drand + r/drand). Nothing is committed before the sale; the round is fixed by the creator's reveal (same transaction) or, for a silent creator, in the grace period / at the deadline, and its value is then consumed by whoever calls first (FulfillRandomness or Finalize): no caller can skip it. Before any provider is approved (randomness.add) a keeper must run that requests in the grace period for silent creators and fulfills bound rounds as soon as they are published (README "Randomness keeper"). A provider realm registers itself (its id is its package path, as for engines) and is usable only after the admin approves it through the timelocked op randomness.add; randomness.deprecate stops new launches, running collections finish with it. So a drand provider plugs in without a core redeploy. Its methods are declared in its own realm, so core calling them runs the provider with the provider's authority (interrealm v2 borrow rule #1): it cannot write core state, and with no cur it cannot call a core mutator. Order with a provider (same guarantees as the committed beacon, SA-M1; CV-M1: the outcome never depends on who calls, or when): 1. the creator reveals until revealDeadline - BeaconGraceBlocks; the reveal itself binds the collection to provider.Target() in the same transaction, a round nobody knows yet (its secret is public now, so nobody holding a choice learns anything new later); 2. a silent creator: RequestRandomness (anyone, a keeper) inside the grace period, or the first Finalize after revealDeadline, binds the round instead — the creator's window is closed by then; 3. once the provider has the bound round (and not in the binding block, CV-I6), FulfillRandomness or Finalize (anyone, before or after the deadline) takes its value as the beacon secret and the collection is Final (2/2 after the creator, beacon-only otherwise). After the deadline Finalize refuses to fall back while the bound round may still arrive; 4. fallback (creator-only / fallback badge, never a FairLaunch) only once the provider failed to deliver for ProviderWaitBlocks after the deadline or the binding, whichever is later. A provider that panics aborts the calling transaction (a realm-boundary panic cannot be recovered); if an approved provider breaks, the admin deprecates it and, after the wait, Finalize stops calling it.

Value

core.RandomnessProvider

providerRecord

type

Value

core.providerRecord

providers

v0.Tree

// provider pkgpath -> \*providerRecord

Open
OID
0a86b7…6f26:200
providers details

Inspect ref

activeProviders

int64

Value

0

MaxProviderNameLen

untyped bigint

Value

(64 <untyped> bigint)

RegisterRandomnessProvider

func(p core.RandomnessProvider) string

RegisterRandomnessProvider stores the calling realm's provider. It is inert until the admin approves it (randomness.add, timelocked).

Open
OID
0a86b7…6f26:202
RegisterRandomnessProvider details

Inspect func

mustProvider

func(id string) *core.providerRecord
Open
OID
0a86b7…6f26:204
mustProvider details

Inspect func

assertActiveProvider

func(id string)
Open
OID
0a86b7…6f26:205
assertActiveProvider details

Inspect func

beaconAvailable

func() bool

beaconAvailable: some unpredictable second source exists, so no launch may opt out of it (SA-M2).

Open
OID
0a86b7…6f26:206
beaconAvailable details

Inspect func

usesProvider

func(c *core.collection) bool
Open
OID
0a86b7…6f26:207
usesProvider details

Inspect func

RequestRandomness

func(cid string) int64

RequestRandomness binds a provider-backed collection whose creator stayed silent to the provider's next unknowable round (a creator's reveal binds it itself). Permissionless and never paused (I-2); after the deadline the first Finalize binds instead.

Open
OID
0a86b7…6f26:208
RequestRandomness details

Inspect func

FulfillRandomness

func(cid string)

FulfillRandomness takes the bound round's value from the provider as the beacon secret and finalizes (2/2 after the creator, beacon-only when it stayed silent). Permissionless and never paused (I-2); works before and after the deadline while the collection is Closed.

Open
OID
0a86b7…6f26:209
FulfillRandomness details

Inspect func

bindRound

func(c *core.collection, h int64) bool

bindRound fixes the collection's round to provider.Target() at height h. It refuses (false) a non-positive round or one whose value the provider already has: that value would be known before binding (CV-I6).

Open
OID
0a86b7…6f26:210
bindRound details

Inspect func

consumeRound

func(c *core.collection, v string, h int64)
Open
OID
0a86b7…6f26:211
consumeRound details

Inspect func

providerWaitEnd

func(c *core.collection) int64

providerWaitEnd is the last height at which Finalize still waits for the provider: ProviderWaitBlocks after the deadline or the binding.

Open
OID
0a86b7…6f26:212
providerWaitEnd details

Inspect func

settleProvider

func(c *core.collection, h int64) bool

settleProvider is Finalize's provider step after the deadline (CV-M1). It returns true when Finalize is done: the round was bound now (a later Finalize or FulfillRandomness takes its value), or its value finalized the collection. It returns false only when the provider is provably unavailable — no usable value after providerWaitEnd — and Finalize falls back (creator-only / fallback, never a FairLaunch). While the bound round may still arrive it refuses, so nobody can pick the fallback by not fulfilling. After the wait a deprecated provider is not called at all (escape hatch for a provider whose code aborts every call).

Open
OID
0a86b7…6f26:213
settleProvider details

Inspect func

isRandomness

func(v string) bool

isRandomness: a provider value core accepts (64 hex characters).

Open
OID
0a86b7…6f26:214
isRandomness details

Inspect func

RandomnessProviders

func(offset int64, limit int64) string

RandomnessProviders lists registered providers (by path) as JSON: \[{id, name, active, registeredHeight}]. Registration is open, so only "active" ones (admin-approved) can be chosen at Launch.

Open
OID
0a86b7…6f26:215
RandomnessProviders details

Inspect func

SelfAddress

func() .uverse.address
Open
OID
0a86b7…6f26:216
SelfAddress details

Inspect func

CollectionCount

func() int64
Open
OID
0a86b7…6f26:218
CollectionCount details

Inspect func

MintedTotal

func(cid string) int64

MintedTotal counts every token ever minted, burned ones included (OA B4).

Open
OID
0a86b7…6f26:219
MintedTotal details

Inspect func

MintedBy

func(cid string, addr .uverse.address) int64

MintedBy is addr's lifetime count of sale mints in cid (OA B3, I-9), reserves excluded. Exact until the collection is Final, -1 afterwards (derived from the locked grc721 balance; see mintedBy).

Open
OID
0a86b7…6f26:220
MintedBy details

Inspect func

Info

func(cid string) v2.CollectionInfo

Info is the typed collection view for other realms.

Open
OID
0a86b7…6f26:221
Info details

Inspect func

CollectionTraitTypes

func(cid string) string

CollectionTraitTypes is the collection's trait list as JSON \["…"].

Open
OID
0a86b7…6f26:222
CollectionTraitTypes details

Inspect func

PrimaryPayees

func(cid string) []v2.Payee

PrimaryPayees returns a copy of the frozen primary-sale split.

Open
OID
0a86b7…6f26:223
PrimaryPayees details

Inspect func

FeeConfig

func() v2.Fees

FeeConfig is the typed fee view minters and markets settle with.

Open
OID
0a86b7…6f26:224
FeeConfig details

Inspect func

ListingDeposit

func() int64

ListingDeposit is the deposit return (ugnot) market/v1 pins into a new listing (CV-L2); 0..ListingDepositCap, admin op listing.deposit.

Open
OID
0a86b7…6f26:225
ListingDeposit details

Inspect func

PrimaryFeeBps

func(cid string) int64

PrimaryFeeBps is the protocol fee on cid's primary sale: the fee at Launch, or the current one if the admin lowered it since (SA-I5: a fee cannot rise during a sale).

Open
OID
0a86b7…6f26:226
PrimaryFeeBps details

Inspect func

IsMinter

func(path string) bool
Open
OID
0a86b7…6f26:229
IsMinter details

Inspect func

Collection

func(cid string) string

Collection is the collection record as JSON.

Open
OID
0a86b7…6f26:230
Collection details

Inspect func

Collections

func(offset int64, limit int64) string
Open
OID
0a86b7…6f26:231
Collections details

Inspect func

CollectionsByCreator

func(creator .uverse.address, offset int64, limit int64) string
Open
OID
0a86b7…6f26:232
CollectionsByCreator details

Inspect func

Fees

func() string

Fees is the fee configuration and its hard caps as JSON.

Open
OID
0a86b7…6f26:233
Fees details

Inspect func

PendingOps

func(offset int64, limit int64) string

PendingOps pages the timelock queue as JSON (M-25): \[{id, op, arg, proposed, earliest}].

Open
OID
0a86b7…6f26:234
PendingOps details

Inspect func

writeCollection

func(w *v2.JSONWriter, c *core.collection)
Open
OID
0a86b7…6f26:235
writeCollection details

Inspect func

clampLimit

func(limit int64) int64
Open
OID
0a86b7…6f26:236
clampLimit details

Inspect func

Render

func(path string) string

Render stays minimal in the immutable realm; the browsable gallery is the private, re-deployable gallery realm (design §2.5.7).

Open
OID
0a86b7…6f26:237
Render details

Inspect func

royaltyAddress

func(cid string) .uverse.address
Open
OID
0a86b7…6f26:238
royaltyAddress details

Inspect func

RoyaltyAddress

func(cid string) .uverse.address
Open
OID
0a86b7…6f26:240
RoyaltyAddress details

Inspect func

DistributeRoyalties

func(cid string) int64

DistributeRoyalties pushes the whole sub-treasury balance to the royalty payees. Permissionless and never paused (I-2); market/v1 calls it after every sale. Returns the amount distributed. The sub-realm banker spend is verified by spike/subtoken, core and market tests on gno v1.7.0.

Open
OID
0a86b7…6f26:241
DistributeRoyalties details

Inspect func

distribute

func(c *core.collection) int64
Open
OID
0a86b7…6f26:242
distribute details

Inspect func

tokenState

type

tokenState is the per-collection data the transfer hook needs. It is shared by the collection and its lockExt, so neither points at the other. Per-token state is packed (storage-cost-analysis P1+P3): one fixed-width entry of packEntry bytes per token, packSlots tokens per avl key. Entry = four big-endian uint32 fields: mint height, transfer count (H-2), height of the last transfer, and the token's approval nonce (SA-L3). A mint appends entries in tid order (a new key every packSlots tokens, ~2 KB the minter of that bucket's first token pays); a transfer or an Approve only rewrites bytes in place, so neither creates a storage object. First owners (I-20) are run-length records in a second tree with the same bucket keys: one record of ownerRec bytes (the token's slot in the bucket, then the 40-character address) for each run of consecutive tokens minted to one address. A mint batch adds at most one record per bucket it touches, and none when it continues the bucket's last run, so a batch of n costs 41 bytes, not 40 n; a bucket holds at most packSlots records. Neither a transfer nor an approval touches it.

Value

core.tokenState

packSlots

untyped bigint

Value

(128 <untyped> bigint)

packFields

untyped bigint

Value

(4 <untyped> bigint)

packEntry

untyped bigint

Value

(16 <untyped> bigint)

packKeyWidth

untyped bigint

// MaxSupplyCap/packSlots \< 1000

Value

(3 <untyped> bigint)

addrLen

untyped bigint

// a bech32 "g1…" address of 20 bytes

Value

(40 <untyped> bigint)

ownerRec

untyped bigint

Value

(41 <untyped> bigint)

fieldMintHeight

untyped bigint

Value

(0 <untyped> bigint)

fieldMoves

untyped bigint

Value

(1 <untyped> bigint)

fieldLastMove

untyped bigint

Value

(2 <untyped> bigint)

fieldNonce

untyped bigint

Value

(3 <untyped> bigint)

u32

func(v int64) string

u32 encodes v as 4 big-endian bytes. Heights stay below 2^32 for ~470 years of 3.5 s blocks; 2^32 transfers or approvals of one token cannot happen, so overflow is a hard error rather than a wrap.

Open
OID
0a86b7…6f26:245
u32 details

Inspect func

tidNum

func(tid string) int64

tidNum is the numeric token id, or 0 for anything that is not a canonical positive decimal (no such token exists).

Open
OID
0a86b7…6f26:246
tidNum details

Inspect func

lockExt

type

lockExt is the grc721 Extension behind two invariants: - I-11: before Final no token moves or burns (the reveal lock that closes RA H-3's information-advantage branch). The veto is a panic, which aborts the whole transaction — the documented Extension semantics of p/nt/grc721/v0. - H-2: every transfer bumps the token's move counter, so a market listing taken at moves=N is dead after any transfer, even if the token later comes back to the seller. It is declared in this realm, so the hooks write core state with core's authority even when another realm moves the token via RealmTeller.

Value

core.lockExt

lockKind

untyped string

Value

"art-lock"

Approve

func(cid string, to .uverse.address, tid string)

Every Approve of a token and every SetApprovalForAll of an (owner, operator) pair bumps a nonce. A market pins the nonces at listing time, so revoking an approval kills a listing for good: approving again later starts a new nonce and never revives the old listing (SA-L3). Argument order follows grc721 with the collection first (K-1, Onbloc option A): Approve(cid, to, tid), TransferFrom(cid, from, to, tid).

Open
OID
0a86b7…6f26:247
Approve details

Inspect func

SetApprovalForAll

func(cid string, operator .uverse.address, approved bool)
Open
OID
0a86b7…6f26:248
SetApprovalForAll details

Inspect func

ApprovalNonces

func(cid string, tid string, owner .uverse.address, operator .uverse.address) (tokenNonce int64, operatorNonce int64)

ApprovalNonces returns the token's approval nonce and the (owner, operator) approval-for-all nonce. Approvals made directly through Token(cid).RealmTeller by a realm acting for itself do not bump them.

Open
OID
0a86b7…6f26:249
ApprovalNonces details

Inspect func

bumpNonce

func(c *core.collection, key string)
Open
OID
0a86b7…6f26:250
bumpNonce details

Inspect func

nonceOf

func(c *core.collection, key string) int64
Open
OID
0a86b7…6f26:251
nonceOf details

Inspect func

TransferFrom

func(cid string, from .uverse.address, to .uverse.address, tid string)
Open
OID
0a86b7…6f26:252
TransferFrom details

Inspect func

errSoulbound

untyped string

Value

"tokens of a non-transferable collection never move or get approved"

assertTransferable

func(c *core.collection)

assertTransferable refuses core's transfer and approval entry points for a non-transferable collection (I-20). The lockExt hook refuses every transfer anyway, also one through Token(cid).RealmTeller; this gives the same text before grc721's own approval checks. Revoking an approval-for-all stays possible.

Open
OID
0a86b7…6f26:253
assertTransferable details

Inspect func

Burn

func(cid string, tid string)

Burn is owner-only. The supply gate uses nextTID, so a burn never reopens a slot (I-5).

Open
OID
0a86b7…6f26:254
Burn details

Inspect func

Token

func(cid string) *v0.Token

Token publishes the collection's official \*grc721.Token. Its exported methods are reads or teller factories that need the caller's live realm; the ledger itself is never published.

Open
OID
0a86b7…6f26:255
Token details

Inspect func

Royalty

func(cid string) *v0.Royalty

Royalty publishes the read-only royalty view (EIP-2981 RoyaltyInfo).

Open
OID
0a86b7…6f26:256
Royalty details

Inspect func

Name

func(cid string) string

Name and Symbol are the collection's grc721 name and symbol (K-1: the grc721 read set a wallet needs, keyed by collection).

Open
OID
0a86b7…6f26:257
Name details

Inspect func

OwnerOf

func(cid string, tid string) (.uverse.address, .uverse.error)
Open
OID
0a86b7…6f26:259
OwnerOf details

Inspect func

BalanceOf

func(cid string, owner .uverse.address) (int64, .uverse.error)
Open
OID
0a86b7…6f26:260
BalanceOf details

Inspect func

FirstOwner

func(cid string, tid string) .uverse.address
Open
OID
0a86b7…6f26:261
FirstOwner details

Inspect func

TokenMoves

func(cid string, tid string) int64

TokenMoves is the transfer counter market/v1 pins in a listing (H-2).

Open
OID
0a86b7…6f26:262
TokenMoves details

Inspect func

TokenSeed

func(cid string, tid string) string

TokenSeed is "" until the collection is Final: no read path can leak the rarity map early.

Open
OID
0a86b7…6f26:263
TokenSeed details

Inspect func

TokenState

func(cid string, tid string) string

TokenState is {mintHeight, lastMoveHeight, moves, firstOwner} as JSON.

Open
OID
0a86b7…6f26:264
TokenState details

Inspect func

TokenURI

func(cid string, tid string) (string, .uverse.error)

TokenURI is the token's art (I-15). Before Final every token shows core's neutral placeholder, never engine output (design §4.2). Then: an SVG engine's checked Render as an SVG data URI; a media engine's checked Media as a raster/SVG data URI or its ipfs:// CIDv1 URI, or — when the Media is empty or fails engine.CheckMedia — the checked card.

Open
OID
0a86b7…6f26:265
TokenURI details

Inspect func

TokenCard

func(cid string, tid string) (string, .uverse.error)

TokenCard is the token's checked SVG as a data URI: the art of an SVG engine, the card of a media engine, or the placeholder (gnoweb and SVG-only clients).

Open
OID
0a86b7…6f26:266
TokenCard details

Inspect func

TokenMediaInfo

func(cid string, tid string) string

TokenMediaInfo describes what TokenURI returns without the payload: {"source":"placeholder"|"svg"|"card"|"data"|"ipfs","mime","sha256","uri","bytes"} (uri only for ipfs; bytes = the file size for data, else 0).

Open
OID
0a86b7…6f26:267
TokenMediaInfo details

Inspect func

TokenTraits

func(cid string, tid string) string

TokenTraits is \[{"trait\_type":…,"value":…}] JSON.

Open
OID
0a86b7…6f26:268
TokenTraits details

Inspect func

TokenTraitList

func(cid string, tid string) []v2.Trait

TokenTraitList is the typed form of TokenTraits for other realms (a copy).

Open
OID
0a86b7…6f26:269
TokenTraitList details

Inspect func

TokenMetadata

func(cid string, tid string) string

TokenMetadata is OpenSea-style metadata JSON. "image" is TokenURI written without escaping (it only ever holds data-URI / ipfs characters, M-4); "image\_mime" and "image\_sha256" describe a checked media file.

Open
OID
0a86b7…6f26:270
TokenMetadata details

Inspect func

artPlaceholder

untyped string

Art sources of a token (TokenMediaInfo "source").

Value

"placeholder"

artSVG

untyped string

Art sources of a token (TokenMediaInfo "source").

Value

"svg"

artCard

untyped string

Art sources of a token (TokenMediaInfo "source").

Value

"card"

artData

untyped string

Art sources of a token (TokenMediaInfo "source").

Value

"data"

artIPFS

untyped string

Art sources of a token (TokenMediaInfo "source").

Value

"ipfs"

art

type

art is a token's resolved, checked art.

Value

core.art

tokenArt

func(c *core.collection, tid string) core.art

tokenArt resolves a token's art under I-15; every engine output passes engine.CheckSVG or engine.CheckMedia first.

Open
OID
0a86b7…6f26:271
tokenArt details

Inspect func

exists

func(c *core.collection, tid string) bool
Open
OID
0a86b7…6f26:272
exists details

Inspect func

tokenInput

func(c *core.collection, tid string) v2.Input
Open
OID
0a86b7…6f26:273
tokenInput details

Inspect func

renderToken

func(c *core.collection, tid string) string

renderToken runs the collection's engine on a read path. A bad output degrades to a placeholder; a panicking engine only fails reads of its own collections (interrealm v2 §9: cross-realm panics abort the query).

Open
OID
0a86b7…6f26:274
renderToken details

Inspect func

renderCheckedToken

func(c *core.collection, rec *core.engineRecord, in v2.Input) (string, bool)

renderCheckedToken is Render + CheckSVG; false (and the placeholder) when the output is rejected.

Open
OID
0a86b7…6f26:275
renderCheckedToken details

Inspect func

tokenTraits

func(c *core.collection, tid string) []v2.Trait
Open
OID
0a86b7…6f26:276
tokenTraits details

Inspect func

writeTraits

func(w *v2.JSONWriter, ts []v2.Trait)
Open
OID
0a86b7…6f26:277
writeTraits details

Inspect func

placeholderSVG

func(name string, label string) string

placeholderSVG is core's own neutral art: identical for every token of a collection, so it carries no rarity signal.

Open
OID
0a86b7…6f26:278
placeholderSVG details

Inspect func

emitBatch

func(kind string, c *core.collection, to .uverse.address, first int64, last int64)

emitBatch announces one MintTo ("MintBatch") or ReserveTo ("Reserved") call; each token also gets its own "Minted" event from lockExt.

Open
OID
0a86b7…6f26:280
emitBatch details

Inspect func
PolicyClosed : untyped string ="closed"
PolicyLicensed : untyped string ="licensed"
PolicyOpen : untyped string ="open"
AccessAuthor : untyped string ="author"
AccessLicence : untyped string ="licence"
AccessOpen : untyped string ="open"
MaxLicencesPerEngine : untyped bigint =(1000 <untyped> bigint)
MaxLicenceCollections : untyped bigint =(1000 <untyped> bigint)
LicenceFeeDefault : untyped bigint =(-1 <untyped> bigint)
licence : type =core.licence
licences : v0.Tree Inspect
paramsTaken : v0.Tree Inspect
SetEnginePolicy : func(id string, policy string) Inspect
GrantLicence : func(id string, holder .uverse.address, maxCollections int64, feeBps int64) Inspect
RevokeLicence : func(id string, holder .uverse.address) Inspect
assertEngineAuthor : func(rec *core.engineRecord, what string) Inspect
assertEngineNotRetired : func(rec *core.engineRecord) Inspect
licenceKey : func(id string, holder .uverse.address) string Inspect
paramsKey : func(id string, params string) string Inspect
createGrant : type =core.createGrant
createAccess : func(rec *core.engineRecord, creator .uverse.address, params string) (core.createGrant, string) Inspect
EnginePolicy : func(id string) string Inspect
Licensed : func(id string, holder .uverse.address) bool Inspect
Licence : func(id string, holder .uverse.address) string Inspect
Licences : func(id string, offset int64, limit int64) string Inspect
writeLicence : func(w *v2.JSONWriter, id string, holder string, l *core.licence) Inspect
ParamsTaken : func(id string, params string) string Inspect
CreateRefusal : func(id string, creator .uverse.address, params string) string Inspect
admin : .uverse.address =<gnolang.StringValue>
pendingAdmin : .uverse.address =<gnolang.StringValue>
fees : v2.Fees Inspect
beacon : .uverse.address =<gnolang.StringValue>
listingDeposit : int64 =407700
minters : v0.Tree Inspect
ops : v0.Tree Inspect
opCount : int64 =20
pauses : v0.Tree Inspect
deniedPayees : v0.Tree Inspect
deniedOrder : v0.Tree Inspect
deniedCount : int64 =26
deniedByOps : int64 =0
deniedPayee : type =core.deniedPayee
pauseRecord : type =core.pauseRecord
minterRecord : type =core.minterRecord
pendingOp : type =core.pendingOp
OpFeeCreate : untyped string ="fee.create"
OpFeePrimary : untyped string ="fee.primary"
OpFeeSecondary : untyped string ="fee.secondary"
OpFeeEngine : untyped string ="fee.engine"
OpTreasury : untyped string ="treasury"
OpBeacon : untyped string ="beacon"
OpMinterAdd : untyped string ="minter.add"
OpMinterDeprecate : untyped string ="minter.deprecate"
OpEngineReview : untyped string ="engine.review"
OpAdminTransfer : untyped string ="admin.transfer"
OpRandomnessAdd : untyped string ="randomness.add"
OpRandomnessDepr : untyped string ="randomness.deprecate"
OpListingDeposit : untyped string ="listing.deposit"
OpEngineDeprecate : untyped string ="engine.deprecate"
OpPayeeDeny : untyped string ="payee.deny"
pauseScopes : []string (len=3) Inspect
ProposeOp : func(op string, arg string) string Inspect
ExecuteOp : func(opID string) Inspect
CancelOp : func(opID string) Inspect
AcceptAdmin : func() Inspect
Pause : func(scope string) Inspect
Unpause : func(scope string) Inspect
pauseOf : func(scope string) *core.pauseRecord Inspect
Paused : func(scope string) bool Inspect
PauseBudget : func(scope string) string Inspect
assertNotPaused : func(scope string) Inspect
assertScope : func(scope string) Inspect
assertAdmin : func() Inspect
bootstrapping : func() bool Inspect
earliestExecution : func(p *core.pendingOp) int64 Inspect
mustOp : func(opID string) *core.pendingOp Inspect
validateOp : func(op string, arg string) Inspect
applyOp : func(op string, arg string) Inspect
assertActiveMinter : func(path string) Inspect
parseAmount : func(s string) int64 Inspect
initDeniedPayees : func() Inspect
denyPayee : func(path string, source string) Inspect
IsDeniedPayee : func(addr .uverse.address) bool Inspect
DeniedPayees : func(offset int64, limit int64) string Inspect
CreateCollection : func(creator .uverse.address, spec v2.CollectionSpec) string Inspect
Launch : func(cid string, l v2.LaunchSpec) Inspect
launchOpen : func(c *core.collection, l v2.LaunchSpec) Inspect
checkLaunch : func(c *core.collection, mode string) Inspect
assertEngineUsable : func(rec *core.engineRecord) Inspect
schedule : func(c *core.collection) Inspect
modeName : func(m string) string Inspect
collectionTraitTypes : func(rec *core.engineRecord, params string) []string Inspect
sameList : func(a []string, b []string) bool Inspect
traitTypesOf : func(c *core.collection) []string Inspect
AbortLaunch : func(cid string) Inspect
ReserveTo : func(cid string, to .uverse.address, n int64) (first int64, last int64) Inspect
MintTo : func(cid string, to .uverse.address, n int64) (first int64, last int64) Inspect
assertMintCount : func(c *core.collection, n int64) Inspect
mintBatchTo : func(c *core.collection, to .uverse.address, n int64, h int64) (first int64, last int64) Inspect
mintedBy : func(c *core.collection, addr .uverse.address) int64 Inspect
reservedTo : func(c *core.collection, addr .uverse.address) int64 Inspect
awaitingBeaconCommit : func(c *core.collection) bool Inspect
CloseMint : func(cid string) Inspect
TransferCreator : func(cid string, to .uverse.address) Inspect
AcceptCreator : func(cid string) Inspect
SetPayees : func(cid string, payees string) Inspect
assertPayees : func(field string, ps []v2.Payee, cid string, engineID string) Inspect
assertSpendable : func(field string, addr .uverse.address, cid string, engineID string) Inspect
assertCreator : func(c *core.collection) Inspect
assertBoundMinter : func(c *core.collection) Inspect
boolStr : func(b bool) string Inspect
initialAdmin : .uverse.address =<gnolang.StringValue>
initialTreasury : .uverse.address =<gnolang.StringValue>
platformAuthor : .uverse.address =<gnolang.StringValue>
reservedFP : type =core.reservedFP
reservedFingerprints : []core.reservedFP (len=17) Inspect
staticDeniedRealms : []string (len=26) Inspect
ProtocolFeeCapBps : untyped bigint =(500 <untyped> bigint)
RoyaltyCapBps : untyped bigint =(1000 <untyped> bigint)
CreateFeeCap : untyped bigint =(1000000000 <untyped> bigint)
MaxPayees : untyped bigint =(4 <untyped> bigint)
MaxSupplyCap : untyped bigint =(10000 <untyped> bigint)
MaxMintPerTx : untyped bigint =(10 <untyped> bigint)
MaxReserveBps : untyped bigint =(1000 <untyped> bigint)
MaxSaleBlocks : untyped bigint =(732000 <untyped> bigint)
RevealWindowMin : untyped bigint =(1017 <untyped> bigint)
RevealWindowMax : untyped bigint =(170000 <untyped> bigint)
BeaconGraceBlocks : untyped bigint =(254 <untyped> bigint)
TimelockBlocks : untyped bigint =(48800 <untyped> bigint)
MaxPauseBlocks : untyped bigint =(195000 <untyped> bigint)
PauseWindowBlocks : untyped bigint =(732000 <untyped> bigint)
EngineFeeCapBps : untyped bigint =(500 <untyped> bigint)
ProviderWaitBlocks : untyped bigint =(24400 <untyped> bigint)
ListingDepositCap : untyped bigint =(5000000 <untyped> bigint)
MaxNameLen : untyped bigint =(64 <untyped> bigint)
MaxDescriptionLen : untyped bigint =(1024 <untyped> bigint)
MaxParamsLen : untyped bigint =(1024 <untyped> bigint)
MinSecretLen : untyped bigint =(32 <untyped> bigint)
MaxSecretLen : untyped bigint =(256 <untyped> bigint)
MaxPageSize : untyped bigint =(50 <untyped> bigint)
ReservationTTLBlocks : untyped bigint =(170000 <untyped> bigint)
UnclaimedHoldBlocks : untyped bigint =(24400 <untyped> bigint)
MinReserveSaltLen : untyped bigint =(32 <untyped> bigint)
MaxReserveSaltLen : untyped bigint =(256 <untyped> bigint)
MaxDeniedPayees : untyped bigint =(64 <untyped> bigint)
CoreVersion : untyped string ="sinopia-core/4"
BadgeBoth : untyped string ="2/2"
BadgeCreatorOnly : untyped string ="creator-only"
BadgeBeaconOnly : untyped string ="beacon-only"
BadgeFallback : untyped string ="fallback"
BadgeOpen : untyped string ="open"
collection : type =core.collection
selfPath : string ="gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia4/core"
collections : v0.Tree Inspect
byCreator : v0.Tree Inspect
collCount : int64 =14
init.156 : func() Inspect
Version : func() string Inspect
cidWidth : untyped bigint =(10 <untyped> bigint)
collKey : func(cid string) string Inspect
mustCollection : func(cid string) *core.collection Inspect
stateAt : func(c *core.collection, h int64) v2.State Inspect
refresh : func(c *core.collection, h int64) Inspect
revealDeadline : func(c *core.collection) int64 Inspect
caller : func() .uverse.address Inspect
assertNoDeposit : func() Inspect
itoa : func(n int64) string Inspect
height : func() int64 Inspect
engineRecord : type =core.engineRecord
EngineUnclaimed : untyped string ="unclaimed"
EngineUnverified : untyped string ="unverified"
EngineReviewed : untyped string ="reviewed"
EngineDeprecated : untyped string ="deprecated"
EngineSuperseded : untyped string ="superseded"
reservationSource : untyped string ="source"
reservationCommit : untyped string ="commit"
engines : v0.Tree Inspect
engineOrder : v0.Tree Inspect
byFingerprint : v0.Tree Inspect
byEngine : v0.Tree Inspect
engineCount : int64 =16
reservations : v0.Tree Inspect
fpReservation : type =core.fpReservation
RegisterEngine : func(e v2.Engine, salt string) string Inspect
registrationPriority : func(fp string, author .uverse.address, signer .uverse.address, salt string, h int64) (string, int64, string) Inspect
conflicts : func(fp string, author .uverse.address, kind string, priority int64, h int64) []*core.engineRecord Inspect
reservedAuthorOf : func(fp string) (.uverse.address, bool) Inspect
ReserveFingerprint : func(commitHex string) Inspect
ReservationCommit : func(chainID string, fp string, author .uverse.address, salt string) string Inspect
Reservation : func(author .uverse.address, commitHex string) string Inspect
ReservedAuthor : func(fp string) .uverse.address Inspect
ReservedFingerprints : func() string Inspect
ClaimEngine : func(id string) Inspect
DeprecateEngine : func(id string) Inspect
engineFeeOf : func(rec *core.engineRecord) int64 Inspect
engineFeeQuote : func(c *core.collection) (.uverse.address, int64) Inspect
collectionEngineFee : func(c *core.collection) (.uverse.address, int64) Inspect
EngineFee : func(cid string) (author .uverse.address, bps int64) Inspect
mustEngine : func(id string) *core.engineRecord Inspect
copyManifest : func(m v2.Manifest) v2.Manifest Inspect
RenderWith : func(id string, params string, seed string) string Inspect
RenderWithInput : func(id string, params string, seed string, mintHeight int64, lastMove int64, moves int64, h int64, firstOwner .uverse.address) string Inspect
renderChecked : func(rec *core.engineRecord, in v2.Input) string Inspect
EngineTraits : func(id string, params string, seed string) []v2.Trait Inspect
TraitsWith : func(id string, params string, seed string) string Inspect
VerifyEngine : func(id string) bool Inspect
EngineManifest : func(id string) v2.Manifest Inspect
EngineStatus : func(id string) string Inspect
engineStatus : func(rec *core.engineRecord) string Inspect
Engine : func(id string) string Inspect
Engines : func(offset int64, limit int64) string Inspect
EnginesByFingerprint : func(fp string, offset int64, limit int64) string Inspect
CollectionsByEngine : func(id string, offset int64, limit int64) string Inspect
writeEngine : func(w *v2.JSONWriter, rec *core.engineRecord) Inspect
writeStrings : func(w *v2.JSONWriter, list []string) Inspect
studioInput : func(params string, seed string) v2.Input Inspect
provenance : type =core.provenance
roleCreator : untyped string ="creator"
roleBeacon : untyped string ="beacon"
BeaconCommit : func(cid string, commitHex string) Inspect
RevealCreatorSecret : func(cid string, secret string) Inspect
RevealBeaconSecret : func(cid string, secret string) Inspect
Finalize : func(cid string) Inspect
assertRevealOpen : func(c *core.collection, h int64) Inspect
assertSecret : func(c *core.collection, role string, secret string, commit string) Inspect
revealsComplete : func(c *core.collection) bool Inspect
assertNotOpen : func(c *core.collection) Inspect
openSalt : func(cid string) string Inspect
finalize : func(c *core.collection, h int64) Inspect
VerifyProvenance : func(cid string) bool Inspect
FairLaunch : func(cid string) bool Inspect
isBurned : func(c *core.collection, commit string) bool Inspect
Provenance : func(cid string) string Inspect
Salt : func(cid string) string Inspect
RandomnessProvider : type =core.RandomnessProvider
providerRecord : type =core.providerRecord
providers : v0.Tree Inspect
activeProviders : int64 =0
MaxProviderNameLen : untyped bigint =(64 <untyped> bigint)
RegisterRandomnessProvider : func(p core.RandomnessProvider) string Inspect
mustProvider : func(id string) *core.providerRecord Inspect
assertActiveProvider : func(id string) Inspect
beaconAvailable : func() bool Inspect
usesProvider : func(c *core.collection) bool Inspect
RequestRandomness : func(cid string) int64 Inspect
FulfillRandomness : func(cid string) Inspect
bindRound : func(c *core.collection, h int64) bool Inspect
consumeRound : func(c *core.collection, v string, h int64) Inspect
providerWaitEnd : func(c *core.collection) int64 Inspect
settleProvider : func(c *core.collection, h int64) bool Inspect
isRandomness : func(v string) bool Inspect
RandomnessProviders : func(offset int64, limit int64) string Inspect
SelfAddress : func() .uverse.address Inspect
CollectionCount : func() int64 Inspect
MintedTotal : func(cid string) int64 Inspect
MintedBy : func(cid string, addr .uverse.address) int64 Inspect
Info : func(cid string) v2.CollectionInfo Inspect
CollectionTraitTypes : func(cid string) string Inspect
PrimaryPayees : func(cid string) []v2.Payee Inspect
FeeConfig : func() v2.Fees Inspect
ListingDeposit : func() int64 Inspect
PrimaryFeeBps : func(cid string) int64 Inspect
Beacon : func() .uverse.address Inspect
Admin : func() .uverse.address Inspect
IsMinter : func(path string) bool Inspect
Collection : func(cid string) string Inspect
Collections : func(offset int64, limit int64) string Inspect
CollectionsByCreator : func(creator .uverse.address, offset int64, limit int64) string Inspect
Fees : func() string Inspect
PendingOps : func(offset int64, limit int64) string Inspect
writeCollection : func(w *v2.JSONWriter, c *core.collection) Inspect
clampLimit : func(limit int64) int64 Inspect
Render : func(path string) string Inspect
royaltyAddress : func(cid string) .uverse.address Inspect
RoyaltyAddress : func(cid string) .uverse.address Inspect
DistributeRoyalties : func(cid string) int64 Inspect
distribute : func(c *core.collection) int64 Inspect
tokenState : type =core.tokenState
packSlots : untyped bigint =(128 <untyped> bigint)
packFields : untyped bigint =(4 <untyped> bigint)
packEntry : untyped bigint =(16 <untyped> bigint)
packKeyWidth : untyped bigint =(3 <untyped> bigint)
addrLen : untyped bigint =(40 <untyped> bigint)
ownerRec : untyped bigint =(41 <untyped> bigint)
fieldMintHeight : untyped bigint =(0 <untyped> bigint)
fieldMoves : untyped bigint =(1 <untyped> bigint)
fieldLastMove : untyped bigint =(2 <untyped> bigint)
fieldNonce : untyped bigint =(3 <untyped> bigint)
packKey : func(tid int64) string Inspect
u32 : func(v int64) string Inspect
tidNum : func(tid string) int64 Inspect
lockExt : type =core.lockExt
lockKind : untyped string ="art-lock"
Approve : func(cid string, to .uverse.address, tid string) Inspect
SetApprovalForAll : func(cid string, operator .uverse.address, approved bool) Inspect
ApprovalNonces : func(cid string, tid string, owner .uverse.address, operator .uverse.address) (tokenNonce int64, operatorNonce int64) Inspect
bumpNonce : func(c *core.collection, key string) Inspect
nonceOf : func(c *core.collection, key string) int64 Inspect
TransferFrom : func(cid string, from .uverse.address, to .uverse.address, tid string) Inspect
errSoulbound : untyped string ="tokens of a non-transferable collection never move or get approved"
assertTransferable : func(c *core.collection) Inspect
Burn : func(cid string, tid string) Inspect
Token : func(cid string) *v0.Token Inspect
Royalty : func(cid string) *v0.Royalty Inspect
Name : func(cid string) string Inspect
Symbol : func(cid string) string Inspect
OwnerOf : func(cid string, tid string) (.uverse.address, .uverse.error) Inspect
BalanceOf : func(cid string, owner .uverse.address) (int64, .uverse.error) Inspect
FirstOwner : func(cid string, tid string) .uverse.address Inspect
TokenMoves : func(cid string, tid string) int64 Inspect
TokenSeed : func(cid string, tid string) string Inspect
TokenState : func(cid string, tid string) string Inspect
TokenURI : func(cid string, tid string) (string, .uverse.error) Inspect
TokenCard : func(cid string, tid string) (string, .uverse.error) Inspect
TokenMediaInfo : func(cid string, tid string) string Inspect
TokenTraits : func(cid string, tid string) string Inspect
TokenTraitList : func(cid string, tid string) []v2.Trait Inspect
TokenMetadata : func(cid string, tid string) string Inspect
artPlaceholder : untyped string ="placeholder"
artSVG : untyped string ="svg"
artCard : untyped string ="card"
artData : untyped string ="data"
artIPFS : untyped string ="ipfs"
art : type =core.art
tokenArt : func(c *core.collection, tid string) core.art Inspect
exists : func(c *core.collection, tid string) bool Inspect
tokenInput : func(c *core.collection, tid string) v2.Input Inspect
renderToken : func(c *core.collection, tid string) string Inspect
renderCheckedToken : func(c *core.collection, rec *core.engineRecord, in v2.Input) (string, bool) Inspect
tokenTraits : func(c *core.collection, tid string) []v2.Trait Inspect
writeTraits : func(w *v2.JSONWriter, ts []v2.Trait) Inspect
placeholderSVG : func(name string, label string) string Inspect
dataURI : func(svg string) string Inspect
emitBatch : func(kind string, c *core.collection, to .uverse.address, first int64, last int64) Inspect