board source realm
Package board is the public OTC board of Trade Window.
Package board is the public OTC board of Trade Window.
A listing says what its owner gives and what they want, in their own words. It holds no assets and promises nothing: a deal happens only when both parties open a room in gno.land/r/tradewindow/rooms (or wherever that realm is deployed) and lock the same version of it. Contact details never belong here; everything in this realm is public forever.
1
6
func Close
crossing ActionClose takes a listing down. Only its owner can close it.
func ListingJSON
ActionListingJSON returns one listing, or null.
func ListingsOfJSON
ActionListingsOfJSON lists every listing of one owner, newest first.
func OpenJSON
ActionOpenJSON lists open listings, newest first. side filters by buy, sell or swap; "" means all.
func Post
crossing ActionPost publishes a listing and returns its id. side is buy, sell or swap; give and want are short phrases such as "50,000 GNOT"; note is optional. days is how long the listing stays up: 0 means 7, the most is 30.
func Render
Render shows open listings on gnoweb, and one listing at listing/<id>.