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.

guardians_store_v1 source realm

Constants 1

Functions 16

func Buy

crossing Action
1func Buy(cur realm, id string, expectedNonce, expectedPrice int64)
source

One MsgCall settles the NFT and both payouts. Any abort rolls back the tx. Expected nonce AND price stop a stale checkout accepting edited terms.

func List

crossing Action
1func List(cur realm, id string, price, expectedNonce int64)
source

Explicit positive price only. No default price and no free checkout.

func Listings

Action
1func Listings() string
source

Public catalogue contains only active orders, never private seller inventory. A fresh Snapshot and Buy recheck custody before any wallet signs or settles.

func Register

crossing Action
1func Register(cur realm, id string)
source

Register BEFORE the seller directly transfers a selected NFT to this realm. The store cannot pull NFTs out of the seller's wallet.

func Withdraw

crossing Action
1func Withdraw(cur realm, id string, expectedNonce int64)
source

Returns selected, unsold inventory even while globally paused. An undeployed or unapproved realm must NEVER receive real NFTs.

Dependencies

Source Files 2