Module mpl_auction_house::receipt
source · [−]Expand description
Create PDAs to to track the status and results of various Auction House actions.
Structs
Receipt for a bid transaction.
Accounts for the cancel_bid_receipt
handler.
Accounts for the cancel_listing_receipt
handler.
Receipt for a listing transaction.
Accounts for the print_bid_receipt
handler.
Accounts for the print_listing_receipt
hanlder.
Accounts for the print_purchase_receipt
handler.
Receipt for a purchase transaction.
Constants
Functions
Add a canceled_at timestamp to the Bid Receipt account.
Add a cancelation time to a listing receipt.
Create a Bid Receipt account at a PDA with the seeds: “bid_receipt”, <BUYER_TRADE_STATE_PUBKEY>.
Create a Listing Receipt account at a PDA with the seeds: “listing_receipt”, <SELLER_TRADE_STATE_PUBKEY>.
Create a Purchase Receipt account at a PDA with the seeds: “listing_receipt”, <SELLER_TRADE_STATE_PUBKEY>, <BUYER_TRADE_STATE_PUBKEY>.