MarketplaceAuction class
Handles auction listings
Signature:
export declare class MarketplaceAuction
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(contractWrapper, storage) | Constructs a new instance of the MarketplaceAuction class |
Methods
Method | Modifiers | Description |
---|---|---|
buyoutListing(listingId) | Buyout Auction | |
cancelListing(listingId) | Cancel Auction Listing | |
closeListing(listingId, closeFor) | Close the Auction | |
createListing(listing) | Create Auction | |
getAddress() | ||
getListing(listingId) | Get an Auction listing by id | |
getWinner(listingId) | Get Auction Winner | |
getWinningBid(listingId) | Get Highest Bid | |
makeBid(listingId, pricePerToken) | Bid On Auction | |
updateListing(listing) | Update an Auction listing with new metadata |