ink
untyped stringValue
"#0d0d0d"
paper
untyped stringValue
"#fafaf8"
grey
untyped stringValue
"#9a9a96"
accent
untyped stringValue
"#e5432f"
removedTitle
untyped stringremovedTitle replaces the details of a concert hidden by moderation.
Value
"Removed by moderation"
concert
typeconcert is what a ticket shows of its concert.
Value
nft.concert
shown
func(id int, rec string) (c nft.concert, ok bool)shown decodes an event record for a ticket: everything while the concert and its artist are visible, a neutral placeholder otherwise. ok is false when the concert is not visible.
- OID
- 007a20…1c42:3
shown details
fields
func(id int) (ev int, serial int, attended bool, ok bool)fields reads ticket id's event, serial and attended mark (ok false when unknown).
- OID
- 007a20…1c42:5
fields details
EventSVG
func(id int) stringEventSVG is the specimen ticket of a visible concert as a markdown image, or "" when the concert is not visible.
- OID
- 007a20…1c42:6
EventSVG details
TicketSVG
func(id int) stringTicketSVG is a ticket as a markdown image, or "" if unknown.
- OID
- 007a20…1c42:7
TicketSVG details
TokenURI
func(tokenID string) stringTokenURI is a ticket's GRC721 metadata as a data URI, its artwork drawn on the fly. It panics for an unknown ticket.
- OID
- 007a20…1c42:8
TokenURI details
newCanvas
func(w int, h int) *v0.Canvas- OID
- 007a20…1c42:9
newCanvas details
drawText
func(c *v0.Canvas, x int, y int, s string, fill string, size int, anchor string, class string)- OID
- 007a20…1c42:10
drawText details
draw
func(e nft.concert, serial int, attended bool) *v0.Canvasdraw draws a ticket; serial 0 is the specimen shown before purchase.
- OID
- 007a20…1c42:11
draw details
stamp
func(c *v0.Canvas, label string)- OID
- 007a20…1c42:12
stamp details
pad3
func(n int) string- OID
- 007a20…1c42:13
pad3 details
artistVisible
func(id int) boolartistVisible reports whether artist id exists and is not hidden.
- OID
- 007a20…1c42:14
artistVisible details
ArtistName
func(id int) stringArtistName is a visible artist's name, "" otherwise (one data read: the catalog's artist record, through the frozen layout).
- OID
- 007a20…1c42:15
ArtistName details
CEvents
untyped string// store.Pad(id) -> event record
Value
"tickets/events"
CTickets
untyped string// store.Pad((id-1)/Chunk) -> Chunk ticket records
Value
"tickets/tickets"
Chunk
untyped bigintThe tickets records this realm reads, written by the tickets writer. Every tickets release keeps this layout: the artwork of existing tickets depends on it.
Value
(16 <untyped> bigint)
ESold
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(0 <untyped> bigint)
EArtist
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(1 <untyped> bigint)
EStart
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(2 <untyped> bigint)
EPrice
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(3 <untyped> bigint)
ECapacity
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(4 <untyped> bigint)
ECancelled
untyped bigint// "1" or ""
Value
(5 <untyped> bigint)
ERemoved
untyped bigint// the moderator's public reason while hidden
Value
(7 <untyped> bigint)
ETitle
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(8 <untyped> bigint)
EVenue
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(9 <untyped> bigint)
ELink
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(10 <untyped> bigint)
EFields
untyped bigintEvent record fields (store.Rec); the one each sale changes comes first.
Value
(11 <untyped> bigint)
TEvent
untyped bigintTicket record fields.
Value
(0 <untyped> bigint)
TSerial
untyped bigintTicket record fields.
Value
(1 <untyped> bigint)
TAttended
untyped bigint// "1" or ""
Value
(2 <untyped> bigint)
CArtists
untyped string// store.Pad((id-1)/ArtistChunk) -> ArtistChunk artist heads
Value
"catalog/artists"
ArtistChunk
untyped bigintThe catalog's artist heads, read for a ticket's artist line: every catalog release keeps this layout, since it shares the data realm's records (catalog/v1 records.gno). Reading them here, not through a catalog realm, keeps this permanent realm free of any versioned import.
Value
(8 <untyped> bigint)
AName
untyped bigintThe catalog's artist heads, read for a ticket's artist line: every catalog release keeps this layout, since it shares the data realm's records (catalog/v1 records.gno). Reading them here, not through a catalog realm, keeps this permanent realm free of any versioned import.
Value
(6 <untyped> bigint)
token
*v0.Token- OID
- 007a20…1c42:34
token details
ledger
*v0.PrivateLedger- OID
- 007a20…1c42:36
ledger details
init.42
func()- OID
- 007a20…1c42:18
init.42 details
writer
func()writer lets only the tickets writer through, while its role is not paused.
- OID
- 007a20…1c42:20
writer details
maxID
untyped bigintmaxID is the largest id a data key holds (store.Pad); readers answer "" past it instead of panicking.
Value
(99999999 <untyped> bigint)
tid
func(id int) v0.TokenID- OID
- 007a20…1c42:21
tid details
Mint
func(to .uverse.address, id int)Mint creates ticket id for to, the wallet that signed the transaction. The tickets writer only.
- OID
- 007a20…1c42:22
Mint details
Transfer
func(from .uverse.address, to .uverse.address, id int)Transfer moves ticket id from its holder from to to. The tickets writer only, and only in a transaction from signed: no release moves the tickets of a holder who signs nothing (see the package comment for what a malicious release could still do). The rules decide who may gift.
- OID
- 007a20…1c42:23
Transfer details
Name
func() string- OID
- 007a20…1c42:24
Name details
Symbol
func() string- OID
- 007a20…1c42:25
Symbol details
TotalSupply
func() int64- OID
- 007a20…1c42:26
TotalSupply details
BalanceOf
func(owner .uverse.address) int64BalanceOf is how many tickets owner holds.
- OID
- 007a20…1c42:27
BalanceOf details
OwnerOf
func(tokenID string) .uverse.address- OID
- 007a20…1c42:28
OwnerOf details
Holder
func(id int) .uverse.address- OID
- 007a20…1c42:29
Holder details
Render
func(string) stringRender shows the collection.
- OID
- 007a20…1c42:30
Render details
ticket
func(id int) stringticket returns ticket id's record ("" when absent).
- OID
- 007a20…1c42:31
ticket details
artist
func(id int) stringartist returns artist id's head record ("" when absent).
- OID
- 007a20…1c42:32
artist details
event
func(id int) string- OID
- 007a20…1c42:33