Function mpl_auction_house::receipt::print_bid_receipt
source · [−]pub fn print_bid_receipt<'info>(
ctx: Context<'_, '_, '_, 'info, PrintBidReceipt<'info>>,
receipt_bump: u8
) -> Result<()>
Expand description
Create a Bid Receipt account at a PDA with the seeds: “bid_receipt”, <BUYER_TRADE_STATE_PUBKEY>.
The previous instruction is checked to ensure that it is a “Bid” type to match the receipt type being created. Passing in an empty account results in the PDA being created; an existing account will be written over.