Realm
gno.land/r/g1t2kg2vtr3fukg43eujkn6x53gfdyakhngt4sfd/gnofly/nfts/market/bazaar/v0/gnofly
Overview
Realm Path
gno.land/r/g1t2kg2vtr3fukg43eujkn6x53gfdyakhngt4sfd/gnofly/nfts/market/bazaar/v0/gnofly
Exported Functions
18
State Entries
28
Source Files
6
Total Package Entries
60
Exported Functions
18 exported functions
State
28 state entries
Source Code
FILES
doc.gno
go
1// Package gnofly is the market of gnofly's planes: a fixed-price book where
2// a plane's owner lists it, anyone buys it, and each sale pays the planes
3// realm's royalty (RoyaltyInfo: 5% to the gnofly treasury) out of the price.
4//
5// It is a wrapper, not a collection: it mints nothing. The planes are the
6// tokens of gno.land/r/g1t2kg2vtr3fukg43eujkn6x53gfdyakhngt4sfd/gnofly/nfts/planes,
7// moved with that realm's TransferFrom. A seller first approves this realm
8// there (Approve for one plane, or SetApprovalForAll); List then moves the
9// plane here, in escrow, Buy hands it to the buyer and Cancel back to the
10// seller.
11//
12// Its calls and reads have the shapes Bazaar's site (bazaar.gnomi.fun)
13// uses on a collection package (List, UpdatePrice, Cancel, Buy, Transfer;
14// ListOpen, ItemLine, TokensOf, Minted), so that it can be registered there
15// later, under the slug of its last path element. It is not registered, and
16// pays Bazaar nothing.
17//
18// It is version v0 of the market (the path's v0). SetPaused stops new
19// listings for a move to a newer one; Cancel and Buy keep working, so no
20// plane is ever stuck here.
21//
22// Every write is a direct call from a wallet: no realm can list, buy or
23// cancel in a user's name.
24package gnofly
25Raw Package Data
Raw JSON data