Skip to main content

MarketplaceAuction class

Handles auction listings

Signature:

export declare class MarketplaceAuction

Constructors

ConstructorModifiersDescription
(constructor)(contractWrapper, storage)Constructs a new instance of the MarketplaceAuction class

Methods

MethodModifiersDescription
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