NewDirectListing
Represents a new marketplace direct listing.
type NewDirectListing = { assetContractAddress: string; buyoutPricePerToken: string | number; currencyContractAddress: string; listingDurationInSeconds: BigNumberish; quantity: BigNumberish; startTimestamp: Date; tokenId: BigNumberish; type: "NewDirectListing";};
The address of the asset being listed.
type assetContractAddress = string;
The buyout price of the listing.
So if the quantity = 10
and the reserve price = 1
, then the buyout price
is 10 coins (of the configured currency).
type buyoutPricePerToken = string | number;
The address of the currency to accept for the listing.
type currencyContractAddress = string;
The duration of the listing in seconds.
type listingDurationInSeconds = BigNumberish;
The quantity of tokens to include in the listing.
For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).
type quantity = BigNumberish;
The start time of the listing.
type startTimestamp = Date;
The ID of the token to list.
type tokenId = BigNumberish;
type type = "NewDirectListing";