type.gno
0.52 Kb ยท 30 lines
1package gnopensea10
2
3import (
4 "gno.land/p/demo/tokens/grc721"
5)
6
7// Listing structure
8type Listing struct {
9 ListingId int
10 NFTGetter grc721.NFTGetter
11 TokenId grc721.TokenID
12 Seller address
13 Price int64
14 Active bool
15 ListedAt int64
16 NFTRealmAddress address
17}
18
19// Sale statistics
20type Sale struct {
21 ListingId int
22 TokenId string
23 Buyer address
24 Seller address
25 Price int64
26 MarketplaceFee int64
27 RoyaltyFee int64
28 RoyaltyReceiver address
29 SoldAt int64
30}