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

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. TODO(mainnet): the initial admin and treasury must be the 2/3 multisig. SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; scripts/deploy-onyx.sh sets a non-zero fee.create during bootstrap.

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. TODO(mainnet): the initial admin and treasury must be the 2/3 multisig. SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; scripts/deploy-onyx.sh sets a non-zero fee.create during bootstrap.

Value

<zero>

fees

v1.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. TODO(mainnet): the initial admin and treasury must be the 2/3 multisig. SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; scripts/deploy-onyx.sh sets a non-zero fee.create during bootstrap.

Open
OID
072394…0bb3:6
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. TODO(mainnet): the initial admin and treasury must be the 2/3 multisig. SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; scripts/deploy-onyx.sh sets a non-zero fee.create during bootstrap.

Value

<gnolang.StringValue>

minters

v0.Tree

// minter pkgpath -> \*minterRecord

Open
OID
072394…0bb3:9
minters details

Inspect ref

ops

v0.Tree

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

Open
OID
072394…0bb3:11
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. TODO(mainnet): the initial admin and treasury must be the 2/3 multisig. SA-I6: CreateFee starts at 0 here so tests and bootstrap stay simple; scripts/deploy-onyx.sh sets a non-zero fee.create during bootstrap.

Value

3

pauses

v0.Tree

// scope -> \*pauseRecord

Open
OID
072394…0bb3:14
pauses details

Inspect ref

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"

ProposeOp

func(op string, arg string) string
Open
OID
072394…0bb3:17
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
072394…0bb3:19
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
072394…0bb3:22
Pause details

Inspect func

Unpause

func(scope string)

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

Open
OID
072394…0bb3:23
Unpause details

Inspect func

pauseOf

func(scope string) *core.pauseRecord
Open
OID
072394…0bb3:24
pauseOf details

Inspect func

Paused

func(scope string) bool

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

Open
OID
072394…0bb3:25
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
072394…0bb3:26
PauseBudget details

Inspect func

assertNotPaused

func(scope string)
Open
OID
072394…0bb3:27
assertNotPaused details

Inspect func

assertScope

func(scope string)
Open
OID
072394…0bb3:28
assertScope details

Inspect func

earliestExecution

func(p *core.pendingOp) int64
Open
OID
072394…0bb3:31
earliestExecution details

Inspect func

mustOp

func(opID string) *core.pendingOp
Open
OID
072394…0bb3:32
mustOp details

Inspect func

validateOp

func(op string, arg string)

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

Open
OID
072394…0bb3:33
validateOp details

Inspect func

applyOp

func(op string, arg string)
Open
OID
072394…0bb3:34
applyOp details

Inspect func

assertActiveMinter

func(path string)
Open
OID
072394…0bb3:35
assertActiveMinter details

Inspect func

parseAmount

func(s string) int64
Open
OID
072394…0bb3:36
parseAmount details

Inspect func

CreateCollection

func(creator .uverse.address, spec v1.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
072394…0bb3:37
CreateCollection details

Inspect func

Launch

func(cid string, l v1.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
072394…0bb3:39
Launch 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
072394…0bb3:40
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
072394…0bb3:41
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
072394…0bb3:42
MintTo details

Inspect func

assertMintCount

func(c *core.collection, n int64)
Open
OID
072394…0bb3:43
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
072394…0bb3:44
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
072394…0bb3:45
mintedBy details

Inspect func

reservedTo

func(c *core.collection, addr .uverse.address) int64
Open
OID
072394…0bb3:46
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
072394…0bb3:47
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
072394…0bb3:48
CloseMint details

Inspect func

TransferCreator

func(cid string, to .uverse.address)

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

Open
OID
072394…0bb3:49
TransferCreator details

Inspect func

AcceptCreator

func(cid string)
Open
OID
072394…0bb3:50
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
072394…0bb3:51
SetPayees details

Inspect func

assertPayees

func(field string, ps []v1.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
072394…0bb3:52
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>), every minter ever approved, the engine adapter, and the platform realms next to core (market, reader, gallery, the genesis adapter). None of them has a path that spends an incoming payment, so the coins would be stranded (I-3).

Open
OID
072394…0bb3:53
assertSpendable details

Inspect func

platformRealms

[]string (len=5)

platformRealms are the realm paths next to core (README package map).

Open
OID
072394…0bb3:55
platformRealms details (len=5)

+5 more Inspect slice

assertCreator

func(c *core.collection)
Open
OID
072394…0bb3:56
assertCreator details

Inspect func

assertBoundMinter

func(c *core.collection)
Open
OID
072394…0bb3:57
assertBoundMinter details

Inspect func

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)

RequestMargin

untyped bigint

// a randomness request leaves >= this many blocks before revealDeadline

Value

(127 <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)

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"

collection

type

Value

core.collection

selfPath

string

Value

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

collections

v0.Tree

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

Open
OID
072394…0bb3:61
collections details

Inspect ref

byCreator

v0.Tree

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

Open
OID
072394…0bb3:63
byCreator details

Inspect ref

collCount

int64

Value

1

cidWidth

untyped bigint

Value

(10 <untyped> bigint)

mustCollection

func(cid string) *core.collection
Open
OID
072394…0bb3:68
mustCollection details

Inspect func

stateAt

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

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

Open
OID
072394…0bb3:69
stateAt details

Inspect func

refresh

func(c *core.collection, h int64)
Open
OID
072394…0bb3:70
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
072394…0bb3:71
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
072394…0bb3:73
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

engines

v0.Tree

// engine id -> \*engineRecord

Open
OID
072394…0bb3:77
engines details

Inspect ref

engineOrder

v0.Tree

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

Open
OID
072394…0bb3:79
engineOrder details

Inspect ref

engineCount

int64

Value

1

RegisterEngine

func(e v1.Engine) string

RegisterEngine stores the calling realm's engine (I-12 exception: one sample render in the engine's own registration transaction). The record is immutable afterwards except for the claim/deprecate/review flags.

Open
OID
072394…0bb3:81
RegisterEngine details

Inspect func

ClaimEngine

func(id string)

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

Open
OID
072394…0bb3:83
ClaimEngine details

Inspect func

DeprecateEngine

func(id string)

DeprecateEngine stops new collections; existing ones keep rendering.

Open
OID
072394…0bb3:84
DeprecateEngine details

Inspect func

engineFeeOf

func(rec *core.engineRecord) int64

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

Open
OID
072394…0bb3:85
engineFeeOf details

Inspect func

engineFeeQuote

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

engineFeeQuote is what c would snapshot at a Launch now.

Open
OID
072394…0bb3:86
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
072394…0bb3:87
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
072394…0bb3:88
EngineFee details

Inspect func

mustEngine

func(id string) *core.engineRecord
Open
OID
072394…0bb3:89
mustEngine details

Inspect func

copyManifest

func(m v1.Manifest) v1.Manifest

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

Open
OID
072394…0bb3:90
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.

Open
OID
072394…0bb3:91
RenderWith details

Inspect func

EngineTraits

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

EngineTraits returns a core-owned copy of the engine's traits for seed.

Open
OID
072394…0bb3:92
EngineTraits details

Inspect func

TraitsWith

func(id string, params string, seed string) string
Open
OID
072394…0bb3:93
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
072394…0bb3:94
VerifyEngine details

Inspect func

EngineManifest

func(id string) v1.Manifest

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

Open
OID
072394…0bb3:95
EngineManifest details

Inspect func

EngineStatus

func(id string) string

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

Open
OID
072394…0bb3:96
EngineStatus details

Inspect func

engineStatus

func(rec *core.engineRecord) string
Open
OID
072394…0bb3:97
engineStatus details

Inspect func

Engine

func(id string) string

Engine is the record as JSON.

Open
OID
072394…0bb3:98
Engine details

Inspect func

Engines

func(offset int64, limit int64) string
Open
OID
072394…0bb3:99
Engines details

Inspect func

writeEngine

func(w *v1.JSONWriter, rec *core.engineRecord)
Open
OID
072394…0bb3:100
writeEngine details

Inspect func

studioInput

func(params string, seed string) v1.Input
Open
OID
072394…0bb3:101
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. A collection launched without the beacon (only possible while no beacon 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
072394…0bb3:102
BeaconCommit details

Inspect func

RevealCreatorSecret

func(cid string, secret string)
Open
OID
072394…0bb3:104
RevealCreatorSecret details

Inspect func

RevealBeaconSecret

func(cid string, secret string)
Open
OID
072394…0bb3:105
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).

Open
OID
072394…0bb3:106
Finalize details

Inspect func

assertRevealOpen

func(c *core.collection, h int64)
Open
OID
072394…0bb3:107
assertRevealOpen details

Inspect func

assertSecret

func(c *core.collection, role string, secret string, commit string)
Open
OID
072394…0bb3:108
assertSecret details

Inspect func

revealsComplete

func(c *core.collection) bool
Open
OID
072394…0bb3:109
revealsComplete 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
072394…0bb3:110
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
072394…0bb3:111
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
072394…0bb3:112
FairLaunch details

Inspect func

isBurned

func(c *core.collection, commit string) bool
Open
OID
072394…0bb3:113
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
072394…0bb3:114
Provenance 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 only once the creator can no longer choose (RequestRandomness), then anyone pulls its value (FulfillRandomness). 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): 1. the creator reveals until revealDeadline - BeaconGraceBlocks; 2. RequestRandomness (anyone) after the creator revealed, or inside the grace period when it stayed silent, and no later than revealDeadline - RequestMargin: binds the collection to provider.Target(), a round whose value nobody knows yet — not the creator, whose secret is public or whose window is closed, not the minters, whose sale is over; 3. FulfillRandomness (anyone) once the provider has that round: the value becomes the beacon secret and the collection is Final at once (2/2 after the creator, beacon-only in grace); 4. after revealDeadline Finalize works as before (creator-only / fallback if the provider never delivered).

Value

core.RandomnessProvider

providerRecord

type

Value

core.providerRecord

providers

v0.Tree

// provider pkgpath -> \*providerRecord

Open
OID
072394…0bb3:116
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
072394…0bb3:118
RegisterRandomnessProvider details

Inspect func

mustProvider

func(id string) *core.providerRecord
Open
OID
072394…0bb3:120
mustProvider details

Inspect func

assertActiveProvider

func(id string)
Open
OID
072394…0bb3:121
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
072394…0bb3:122
beaconAvailable details

Inspect func

usesProvider

func(c *core.collection) bool
Open
OID
072394…0bb3:123
usesProvider details

Inspect func

RequestRandomness

func(cid string) int64

RequestRandomness binds a provider-backed collection to the provider's next unknowable round. Permissionless and never paused (I-2).

Open
OID
072394…0bb3:124
RequestRandomness details

Inspect func

FulfillRandomness

func(cid string)

FulfillRandomness takes the requested 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).

Open
OID
072394…0bb3:125
FulfillRandomness 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
072394…0bb3:126
RandomnessProviders details

Inspect func

SelfAddress

func() .uverse.address
Open
OID
072394…0bb3:127
SelfAddress details

Inspect func

CollectionCount

func() int64
Open
OID
072394…0bb3:129
CollectionCount details

Inspect func

MintedTotal

func(cid string) int64

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

Open
OID
072394…0bb3:130
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
072394…0bb3:131
MintedBy details

Inspect func

Info

func(cid string) v1.CollectionInfo

Info is the typed collection view for other realms.

Open
OID
072394…0bb3:132
Info details

Inspect func

PrimaryPayees

func(cid string) []v1.Payee

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

Open
OID
072394…0bb3:133
PrimaryPayees details

Inspect func

FeeConfig

func() v1.Fees

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

Open
OID
072394…0bb3:134
FeeConfig 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
072394…0bb3:135
PrimaryFeeBps details

Inspect func

IsMinter

func(path string) bool
Open
OID
072394…0bb3:138
IsMinter details

Inspect func

Collection

func(cid string) string

Collection is the collection record as JSON.

Open
OID
072394…0bb3:139
Collection details

Inspect func

Collections

func(offset int64, limit int64) string
Open
OID
072394…0bb3:140
Collections details

Inspect func

CollectionsByCreator

func(creator .uverse.address, offset int64, limit int64) string
Open
OID
072394…0bb3:141
CollectionsByCreator details

Inspect func

Fees

func() string

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

Open
OID
072394…0bb3:142
Fees details

Inspect func

PendingOps

func() string

PendingOps is the timelock queue as JSON.

Open
OID
072394…0bb3:143
PendingOps details

Inspect func

writeCollection

func(w *v1.JSONWriter, c *core.collection)
Open
OID
072394…0bb3:144
writeCollection details

Inspect func

clampLimit

func(limit int64) int64
Open
OID
072394…0bb3:145
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
072394…0bb3:146
Render details

Inspect func

royaltyAddress

func(cid string) .uverse.address
Open
OID
072394…0bb3:147
royaltyAddress details

Inspect func

RoyaltyAddress

func(cid string) .uverse.address
Open
OID
072394…0bb3:149
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
072394…0bb3:150
DistributeRoyalties details

Inspect func

distribute

func(c *core.collection) int64
Open
OID
072394…0bb3:151
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.

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)

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
072394…0bb3:154
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
072394…0bb3:155
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, tid string, to .uverse.address)

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).

Open
OID
072394…0bb3:156
Approve details

Inspect func

SetApprovalForAll

func(cid string, operator .uverse.address, approved bool)
Open
OID
072394…0bb3:157
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
072394…0bb3:158
ApprovalNonces details

Inspect func

bumpNonce

func(c *core.collection, key string)
Open
OID
072394…0bb3:159
bumpNonce details

Inspect func

nonceOf

func(c *core.collection, key string) int64
Open
OID
072394…0bb3:160
nonceOf details

Inspect func

TransferFrom

func(cid string, tid string, from .uverse.address, to .uverse.address)
Open
OID
072394…0bb3:161
TransferFrom 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
072394…0bb3:162
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
072394…0bb3:163
Token details

Inspect func

Royalty

func(cid string) *v0.Royalty

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

Open
OID
072394…0bb3:164
Royalty details

Inspect func

OwnerOf

func(cid string, tid string) (.uverse.address, .uverse.error)
Open
OID
072394…0bb3:165
OwnerOf details

Inspect func

BalanceOf

func(cid string, owner .uverse.address) (int64, .uverse.error)
Open
OID
072394…0bb3:166
BalanceOf 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
072394…0bb3:167
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
072394…0bb3:168
TokenSeed details

Inspect func

TokenState

func(cid string, tid string) string

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

Open
OID
072394…0bb3:169
TokenState details

Inspect func

TokenURI

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

TokenURI is a base64 SVG data URI. Before Final every token shows core's neutral placeholder, never engine output (design §4.2).

Open
OID
072394…0bb3:170
TokenURI details

Inspect func

TokenTraits

func(cid string, tid string) string

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

Open
OID
072394…0bb3:171
TokenTraits details

Inspect func

TokenTraitList

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

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

Open
OID
072394…0bb3:172
TokenTraitList details

Inspect func

TokenMetadata

func(cid string, tid string) string

TokenMetadata is OpenSea-style metadata JSON.

Open
OID
072394…0bb3:173
TokenMetadata details

Inspect func

exists

func(c *core.collection, tid string) bool
Open
OID
072394…0bb3:174
exists details

Inspect func

tokenInput

func(c *core.collection, tid string) v1.Input
Open
OID
072394…0bb3:175
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
072394…0bb3:176
renderToken details

Inspect func

tokenTraits

func(c *core.collection, tid string) []v1.Trait
Open
OID
072394…0bb3:177
tokenTraits details

Inspect func

writeTraits

func(w *v1.JSONWriter, ts []v1.Trait)
Open
OID
072394…0bb3:178
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
072394…0bb3:179
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
072394…0bb3:181
emitBatch details

Inspect func
admin : .uverse.address =<gnolang.StringValue>
pendingAdmin : .uverse.address =<zero>
fees : v1.Fees Inspect
beacon : .uverse.address =<gnolang.StringValue>
minters : v0.Tree Inspect
ops : v0.Tree Inspect
opCount : int64 =3
pauses : v0.Tree Inspect
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"
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
CreateCollection : func(creator .uverse.address, spec v1.CollectionSpec) string Inspect
Launch : func(cid string, l v1.LaunchSpec) 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 []v1.Payee, cid string, engineID string) Inspect
assertSpendable : func(field string, addr .uverse.address, cid string, engineID string) Inspect
platformRealms : []string (len=5) Inspect
assertCreator : func(c *core.collection) Inspect
assertBoundMinter : func(c *core.collection) Inspect
boolStr : func(b bool) string 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)
RequestMargin : untyped bigint =(127 <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)
BadgeBoth : untyped string ="2/2"
BadgeCreatorOnly : untyped string ="creator-only"
BadgeBeaconOnly : untyped string ="beacon-only"
BadgeFallback : untyped string ="fallback"
collection : type =core.collection
selfPath : string ="gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia/core"
collections : v0.Tree Inspect
byCreator : v0.Tree Inspect
collCount : int64 =1
init.94 : func() 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) v1.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
engines : v0.Tree Inspect
engineOrder : v0.Tree Inspect
engineCount : int64 =1
RegisterEngine : func(e v1.Engine) 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 v1.Manifest) v1.Manifest Inspect
RenderWith : func(id string, params string, seed string) string Inspect
EngineTraits : func(id string, params string, seed string) []v1.Trait Inspect
TraitsWith : func(id string, params string, seed string) string Inspect
VerifyEngine : func(id string) bool Inspect
EngineManifest : func(id string) v1.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
writeEngine : func(w *v1.JSONWriter, rec *core.engineRecord) Inspect
studioInput : func(params string, seed string) v1.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
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
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
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) v1.CollectionInfo Inspect
PrimaryPayees : func(cid string) []v1.Payee Inspect
FeeConfig : func() v1.Fees 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() string Inspect
writeCollection : func(w *v1.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)
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, tid string, to .uverse.address) 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, tid string, from .uverse.address, to .uverse.address) Inspect
Burn : func(cid string, tid string) Inspect
Token : func(cid string) *v0.Token Inspect
Royalty : func(cid string) *v0.Royalty Inspect
OwnerOf : func(cid string, tid string) (.uverse.address, .uverse.error) Inspect
BalanceOf : func(cid string, owner .uverse.address) (int64, .uverse.error) 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
TokenTraits : func(cid string, tid string) string Inspect
TokenTraitList : func(cid string, tid string) []v1.Trait Inspect
TokenMetadata : func(cid string, tid string) string Inspect
exists : func(c *core.collection, tid string) bool Inspect
tokenInput : func(c *core.collection, tid string) v1.Input Inspect
renderToken : func(c *core.collection, tid string) string Inspect
tokenTraits : func(c *core.collection, tid string) []v1.Trait Inspect
writeTraits : func(w *v1.JSONWriter, ts []v1.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