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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

market/v1 package

Overview

Package market is the platform's immutable fixed-price market (design §2.5.4). It never holds a token: the seller approves this realm in core, the token stays in the seller's wallet, and Buy moves it through core's official grc721 RealmTeller in the same transaction that pays everyone. It never holds coins either (I-3).

Stale listings (RA H-2) cannot be bought: a listing pins the token's move counter and core's approval nonces at listing time, and Buy requires owner == seller, the counter unchanged and the approval it was listed under still in place, unchanged (I-8). Once stale, a listing stays dead: approving the market again later never revives it (SA-L3). A stale listing never blocks the new owner: List overwrites it and anyone may CancelStale it.

Pause ("trade" in core) stops List and Buy only. Cancel, CancelStale and UpdatePrice are never paused (I-2).

Function

ListingsBySeller

func ListingsBySeller(seller address, offset, limit int64) string
Ask AI Claude ChatGPT

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1pq6pxhgxk2uw5shg5le6glfydpxcu74k0zh069/sinopia/market/v1.ListingsBySeller(,,)"

Result