NFTSharesData
Class: NFTSharesData
Properties overview
- admin: PublicKey = PublicKey; ↗
- auction: PublicKey = PublicKey; ↗
- collection: PublicKey = PublicKey; ↗
- maxBuyPrice: UInt64 = UInt64; ↗
- minSellPrice: UInt64 = UInt64; ↗
- nft: PublicKey = PublicKey; ↗
- owner: PublicKey = PublicKey; ↗
Methods overview
Defined in: packages/nft/src/marketplace/nft-shares.ts:52
Extends
- {
admin
:PublicKey
;
auction
:PublicKey
;
collection
:PublicKey
;
maxBuyPrice
:UInt64
;
minSellPrice
:UInt64
;
nft
:PublicKey
;
owner
:PublicKey
;
}
Constructors
new NFTSharesData()
new NFTSharesData(value: {
admin: PublicKey;
auction: PublicKey;
collection: PublicKey;
maxBuyPrice: UInt64;
minSellPrice: UInt64;
nft: PublicKey;
owner: PublicKey;
}): NFTSharesData
Defined in: node_modules/o1js/dist/node/lib/provable/types/struct.d.ts:103
Parameters
value
admin
PublicKey
= PublicKey
auction
PublicKey
= PublicKey
collection
PublicKey
= PublicKey
maxBuyPrice
UInt64
= UInt64
minSellPrice
UInt64
= UInt64
nft
PublicKey
= PublicKey
owner
PublicKey
= PublicKey
Returns
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).constructor
Properties
admin
admin: PublicKey = PublicKey;
Defined in: packages/nft/src/marketplace/nft-shares.ts:53
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).admin
auction
auction: PublicKey = PublicKey;
Defined in: packages/nft/src/marketplace/nft-shares.ts:57
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).auction
collection
collection: PublicKey = PublicKey;
Defined in: packages/nft/src/marketplace/nft-shares.ts:55
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).collection
maxBuyPrice
maxBuyPrice: UInt64 = UInt64;
Defined in: packages/nft/src/marketplace/nft-shares.ts:58
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).maxBuyPrice
minSellPrice
minSellPrice: UInt64 = UInt64;
Defined in: packages/nft/src/marketplace/nft-shares.ts:59
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).minSellPrice
nft
nft: PublicKey = PublicKey;
Defined in: packages/nft/src/marketplace/nft-shares.ts:56
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).nft
owner
owner: PublicKey = PublicKey;
Defined in: packages/nft/src/marketplace/nft-shares.ts:54
Inherited from
Struct({
admin: PublicKey,
owner: PublicKey,
collection: PublicKey,
nft: PublicKey,
auction: PublicKey,
maxBuyPrice: UInt64,
minSellPrice: UInt64,
}).owner
Methods
pack()
pack(): NFTSharesDataPacked
Defined in: packages/nft/src/marketplace/nft-shares.ts:61
Returns
unpack()
static unpack(packed: NFTSharesDataPacked): NFTSharesData
Defined in: packages/nft/src/marketplace/nft-shares.ts:80
Parameters
packed
Returns
Updated 10 days ago