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 state

Back to all declarations

Seller

.uverse.address

Value

<gnolang.StringValue>

RoyaltyReceiver

.uverse.address

Value

<gnolang.StringValue>

RoyaltyBps

int64

Value

400

maxPrice

int64

// multiplication by 400 stays in int64

Value

9000000000000000

order

type

Value

guardians_store_v1.order

orders

map[string]*guardians_store_v1.order
Open
OID
0968f3…7d9b:4
orders details

Inspect map

nextNonce

int64

Value

5242

storeAddress

.uverse.address

Value

<gnolang.StringValue>

paused

bool

Value

false

Listings

func() string

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

Open
OID
0968f3…7d9b:15
Listings details

Inspect func

OrderNonce

func(id string) int64
Open
OID
0968f3…7d9b:18
OrderNonce details

Inspect func

OrderPrice

func(id string) int64
Open
OID
0968f3…7d9b:19
OrderPrice details

Inspect func

Register

func(id string)

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

Open
OID
0968f3…7d9b:21
Register details

Inspect func

List

func(id string, price int64, expectedNonce int64)

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

Open
OID
0968f3…7d9b:22
List details

Inspect func

Unlist

func(id string, expectedNonce int64)
Open
OID
0968f3…7d9b:23
Unlist details

Inspect func

Withdraw

func(id string, expectedNonce int64)

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

Open
OID
0968f3…7d9b:24
Withdraw details

Inspect func

Buy

func(id string, expectedNonce int64, expectedPrice int64)

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.

Open
OID
0968f3…7d9b:26
Buy details

Inspect func

verifyRoyalty

func(id string, price int64) int64
Open
OID
0968f3…7d9b:27
verifyRoyalty details

Inspect func

mustOrder

func(id string) *guardians_store_v1.order
Open
OID
0968f3…7d9b:28
mustOrder details

Inspect func

currentOrder

func(id string, nonce int64) *guardians_store_v1.order
Open
OID
0968f3…7d9b:29
currentOrder details

Inspect func
Seller : .uverse.address =<gnolang.StringValue>
RoyaltyReceiver : .uverse.address =<gnolang.StringValue>
RoyaltyBps : int64 =400
maxPrice : int64 =9000000000000000
order : type =guardians_store_v1.order
orders : map[string]*guardians_store_v1.order Inspect
nextNonce : int64 =5242
storeAddress : .uverse.address =<gnolang.StringValue>
paused : bool =false
init.9 : func() Inspect
Address : func() .uverse.address Inspect
Version : func() string Inspect
Paused : func() bool Inspect
NextNonce : func() int64 Inspect
Identity : func() string Inspect
Listings : func() string Inspect
Snapshot : func(id string) string Inspect
HasOrder : func(id string) bool Inspect
OrderNonce : func(id string) int64 Inspect
OrderPrice : func(id string) int64 Inspect
IsListed : func(id string) bool Inspect
Register : func(id string) Inspect
List : func(id string, price int64, expectedNonce int64) Inspect
Unlist : func(id string, expectedNonce int64) Inspect
Withdraw : func(id string, expectedNonce int64) Inspect
SetPaused : func(value bool) Inspect
Buy : func(id string, expectedNonce int64, expectedPrice int64) Inspect
verifyRoyalty : func(id string, price int64) int64 Inspect
mustOrder : func(id string) *guardians_store_v1.order Inspect
currentOrder : func(id string, nonce int64) *guardians_store_v1.order Inspect
freshNonce : func() int64 Inspect
directUser : func() Inspect
onlySeller : func() Inspect
noPayment : func() Inspect