Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

tavern_offers state

Back to all declarations

itemKey

type

Value

tavern_offers.itemKey

offer

type

Value

tavern_offers.offer

listing

type

Value

tavern_offers.listing

offers

map[tavern_offers.itemKey]tavern_offers.offer
Open
OID
01646a…8985:4
offers details

Inspect map

listings

map[tavern_offers.itemKey]tavern_offers.listing
Open
OID
01646a…8985:6
listings details

Inspect map

sequence

int64

Value

3

bookAddress

.uverse.address

Value

<gnolang.StringValue>

maxAmount

int64

Limit also keeps basis-point arithmetic within int64 for collection adapters.

Value

900000000000000

pay

func(to .uverse.address, amount int64)
Open
OID
01646a…8985:16
pay details

Inspect func

Bid

func(collection string, id string, amount int64, expected int64)
Open
OID
01646a…8985:17
Bid details

Inspect func

Cancel

func(collection string, id string, expected int64)
Open
OID
01646a…8985:18
Cancel details

Inspect func

Prepare

func(collection string, id string)

Wallets always bundle Prepare and the owner's direct NFT transfer in one transaction. A new owner may replace an abandoned preparation while the NFT is in their wallet.

Open
OID
01646a…8985:19
Prepare details

Inspect func

custody

func(key tavern_offers.itemKey) tavern_offers.listing
Open
OID
01646a…8985:20
custody details

Inspect func

List

func(collection string, id string, price int64)
Open
OID
01646a…8985:21
List details

Inspect func

Withdraw

func(collection string, id string)
Open
OID
01646a…8985:22
Withdraw details

Inspect func

settle

func(key tavern_offers.itemKey, buyer .uverse.address, seller .uverse.address, gross int64, minNet int64)
Open
OID
01646a…8985:23
settle details

Inspect func

Accept

func(collection string, id string, expected int64, minNet int64)
Open
OID
01646a…8985:24
Accept details

Inspect func

Buy

func(collection string, id string, expected int64, price int64)
Open
OID
01646a…8985:25
Buy details

Inspect func

Snapshot

func(collection string, id string) string

Numeric values are decimal strings to preserve integer precision in clients.

Open
OID
01646a…8985:26
Snapshot details

Inspect func

ownerOf

func(collection string, id string) .uverse.address
Open
OID
01646a…8985:27
ownerOf details

Inspect func

deliver

func(collection string, id string, to .uverse.address)
Open
OID
01646a…8985:29
deliver details

Inspect func

royalty

func(collection string, id string, gross int64) (.uverse.address, int64)
Open
OID
01646a…8985:30
royalty details

Inspect func
itemKey : type =tavern_offers.itemKey
offer : type =tavern_offers.offer
listing : type =tavern_offers.listing
offers : map[tavern_offers.itemKey]tavern_offers.offer Inspect
listings : map[tavern_offers.itemKey]tavern_offers.listing Inspect
sequence : int64 =3
bookAddress : .uverse.address =<gnolang.StringValue>
init.7 : func() Inspect
Address : func() .uverse.address Inspect
fresh : func() int64 Inspect
maxAmount : int64 =900000000000000
caller : func() .uverse.address Inspect
unpaid : func() Inspect
paid : func(amount int64) Inspect
pay : func(to .uverse.address, amount int64) Inspect
Bid : func(collection string, id string, amount int64, expected int64) Inspect
Cancel : func(collection string, id string, expected int64) Inspect
Prepare : func(collection string, id string) Inspect
custody : func(key tavern_offers.itemKey) tavern_offers.listing Inspect
List : func(collection string, id string, price int64) Inspect
Withdraw : func(collection string, id string) Inspect
settle : func(key tavern_offers.itemKey, buyer .uverse.address, seller .uverse.address, gross int64, minNet int64) Inspect
Accept : func(collection string, id string, expected int64, minNet int64) Inspect
Buy : func(collection string, id string, expected int64, price int64) Inspect
Snapshot : func(collection string, id string) string Inspect
ownerOf : func(collection string, id string) .uverse.address Inspect
deliver : func(collection string, id string, to .uverse.address) Inspect
royalty : func(collection string, id string, gross int64) (.uverse.address, int64) Inspect