const AuthorFeeBps
AuthorFeeBps is the author's fee on primary and secondary sales of collections by other creators (engine.Manifest.FeeBps; waived for the author's own collections, capped by core's engine-fee cap). Platform engines: 1 %.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package pafta is the adapter that registers the Pafta engine (p/…/sinopia/art/pafta/v1) with core. Core knows the eng...
Package pafta is the adapter that registers the Pafta engine (p/…/sinopia/art/pafta/v1) with core. Core knows the engine only as this realm's package path plus an interface value.
Pafta is a collection-level engine: 256 tokens are the 256 sheets of one map. Which map and which sheet a token is must stay unknown until the sale is over (otherwise buyers could target the summit or the lone island), so both come from the collection's final salt (art.Placement):
The adapter keeps no state of its own (selfPath is set once by init) and has no admin: what it renders is fixed by the p/ package it imports. Never mark this realm private (design §5.4: a re-deployable adapter could swap the art). Per-chain values (author key, fee) live in config.gno.
AuthorFeeBps is the author's fee on primary and secondary sales of collections by other creators (engine.Manifest.FeeBps; waived for the author's own collections, capped by core's engine-fee cap). Platform engines: 1 %.
Register is an explicit call, not init: under the inert package policy init runs inside the approver's transaction (RA B-1). It registers this realm, once, and core accepts it only when the transaction is signed by the manifest author (author, config.gno). salt "" = no commit reservation; the fingerprint is in core's in-source reserved table (r/core config.gno), so only that key can register this art anywhere.
SelfPath is the engine id.
Sheet is token tid's place on the map once collection cid is Final: {"cid","tid","tile","sheet","col","row"} (tile 0..255 row-major, col and row 0..15), or null (not a Final commit-reveal Pafta collection, or no such token). Before Final it is always null: nothing about the map exists yet.
Sheets is the whole layout of a Final collection: {"cid","mapSeed", "tiles":[tid of each sheet 0..255, "" where no token was minted]} or null (as Sheet). A composite view (gallery, reader) crops each token's TokenURI to the map face (art.MapX, MapY, MapSize of a Width x Height sheet) and lays the faces edge to edge in this order; burned tokens stay listed (check OwnerOf).