MaxSetLen
untyped bigintAllowlist sets (design §4.6). A phase's set is a comma-separated union of terms; an address is eligible if any term admits it: users registered in r/sys/users (live check) validators in the active validator set (live check) holders:<cid> holds a token of collection <cid> merkle:<root> in a sha256 merkle tree; the minter passes the proof A term may carry "|"-separated provenance notes for humans, e.g. "merkle:\<root>|src:\<git-sha>|data:\<sha256>"; notes never affect logic.
Value
(512 <untyped> bigint)
MaxSetTerms
untyped bigintAllowlist sets (design §4.6). A phase's set is a comma-separated union of terms; an address is eligible if any term admits it: users registered in r/sys/users (live check) validators in the active validator set (live check) holders:<cid> holds a token of collection <cid> merkle:<root> in a sha256 merkle tree; the minter passes the proof A term may carry "|"-separated provenance notes for humans, e.g. "merkle:\<root>|src:\<git-sha>|data:\<sha256>"; notes never affect logic.
Value
(4 <untyped> bigint)
setTerm
typeValue
v1.setTerm
parseSet
func(set string) []v1.setTermparseSet validates a set and returns its terms; it panics on any error so AddPhase rejects a malformed set before it is ever frozen.
- OID
- 05ef6b…4a2c:3
parseSet details
eligible
func(cid string, set string, addr .uverse.address, proof string) (bool, string)eligible reports whether addr may mint in a phase with this set, and why not. Live sets are evaluated at mint time, so a deleted user or a removed validator loses eligibility immediately.
- OID
- 05ef6b…4a2c:5
eligible details
MaxPhases
untyped bigintValue
(3 <untyped> bigint)
sale
typesale is this minter's per-collection state. Phases can change only while core says Draft; after Launch they are frozen with the rest (I-6).
Value
v1.sale
sales
v0.Tree// cid -> \*sale
- OID
- 05ef6b…4a2c:7
sales details
Create
func(name string, symbol string, description string, engineID string, params string, maxSupply int64, royaltyBps int64, primaryPayees string, royaltyPayees string, expectedCID string) stringCreate opens a Draft collection for the calling wallet and pays the protocol's create fee from the attached ugnot (excess refunded). Empty payee strings default to "creator:10000". expectedCID, when set, makes the transaction fail instead of creating a different id than the frontend showed (OA B2).
- OID
- 05ef6b…4a2c:8
Create details
AddPhase
func(cid string, kind string, set string, startHeight int64, endHeight int64, startPrice int64, floorPrice int64, stepBlocks int64, stepAmount int64, walletCap int64)AddPhase appends a sale phase. Phases are ordered and do not overlap. kind is "allow" (set required) or "public" (set empty); a fixed price has startPrice == floorPrice and zero steps; walletCap 0 means no cap.
- OID
- 05ef6b…4a2c:10
AddPhase details
ClearPhases
func(cid string)ClearPhases removes every phase of a Draft.
- OID
- 05ef6b…4a2c:11
ClearPhases details
Launch
func(cid string, creatorCommit string, revealWindow int64, useBeacon bool)Launch freezes the sale. creatorCommit is safe.Commit(chainID, cid, "creator", secret), computed off-chain — never send the secret to a node before reveal.
- OID
- 05ef6b…4a2c:12
Launch details
Abort
func(cid string)Abort returns a launched collection with no mints to Draft (core rules).
- OID
- 05ef6b…4a2c:13
Abort details
Reserve
func(cid string, count int64) stringReserve mints the creator's reserve to the creator before the sale.
- OID
- 05ef6b…4a2c:14
Reserve details
Mint
func(cid string, count int64, maxUnitPrice int64, proof string) stringMint buys count tokens in the phase open at this block, at that block's unit price, never above maxUnitPrice (a Dutch step cannot surprise the buyer). proof is the merkle proof for merkle sets, otherwise "". Returns "first-last". Every attached unit is paid out or refunded (I-3, I-4).
- OID
- 05ef6b…4a2c:15
Mint details
mustSale
func(cid string) *v1.sale- OID
- 05ef6b…4a2c:16
mustSale details
mustDraftSale
func(cid string) *v1.sale- OID
- 05ef6b…4a2c:17
mustDraftSale details
assertCreator
func(cid string) .uverse.address- OID
- 05ef6b…4a2c:18
assertCreator details
Price
func(cid string, h int64) int64Price is the unit price at height h, or -1 when no phase covers h.
- OID
- 05ef6b…4a2c:19
Price details
Phases
func(cid string) stringPhases is the phase list as JSON.
- OID
- 05ef6b…4a2c:20
Phases details
Eligible
func(cid string, addr .uverse.address, proof string) stringEligible answers "can addr mint now, and how many?" with the same checks Mint runs, so the UI never disagrees with the chain (OA B3). JSON: {phase, kind, eligible, reason, remainingCap (-1 = no cap), price}.
- OID
- 05ef6b…4a2c:21
Eligible details
Render
func(path string) string- OID
- 05ef6b…4a2c:22
Render details
itoa
func(n int64) string- OID
- 05ef6b…4a2c:23
itoa details
received
func() int64received returns the ugnot attached to a direct wallet call. Payments are accepted only when a wallet called us: the origin-send envelope is shared by every realm on the path, so a realm in between could have consumed it (chain/runtime/unsafe.OriginSend).
- OID
- 05ef6b…4a2c:24
received details
assertNoDeposit
func()assertNoDeposit refuses coins on functions that take none (RA L-1).
- OID
- 05ef6b…4a2c:26
assertNoDeposit details
pay
func(to .uverse.address, amount int64)- OID
- 05ef6b…4a2c:27