Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

tickets/v1 package

Overview

Package tickets is GnoRadio's concert tickets rules, release 1. Concerts belong to artist profiles of the catalog; a ticket is a GRC721 NFT of the permanent realm gno.land/r/nym-alexiscolin000/gnoradio/tickets/nft, drawn on-chain. Ticket money goes straight to the artist's owner address in the same transaction, the service fee to the GnoRadio treasury: this realm ends every transaction holding no coins.

It keeps no state but its admin role. Every record lives in the data realm, in the "tickets/…" collections only the current tickets writer may change (db.gno), and the NFTs in the NFT realm, which only that writer drives: a later release takes over both without copying anything.

Function

ArtistEvents

func ArtistEvents(artistID, limit int) []int

ArtistEvents returns up to limit visible concert ids of an artist, newest first.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-alexiscolin000/gnoradio/tickets/v1.ArtistEvents(,)"

Result