MetaplexAuctionHouseProgram.printBidReceipt constructor
MetaplexAuctionHouseProgram.printBidReceipt({
- required SolAddress receipt,
- required SolAddress bookkeeper,
- required SolAddress instruction,
- required MetaplexAuctionHousePrintBidReceiptLayout layout,
- SolAddress systemProgram = SystemProgramConst.programId,
- SolAddress rent = SystemProgramConst.sysvarRentPubkey,
Create a bid receipt by creating a bid_receipt
account.
Implementation
factory MetaplexAuctionHouseProgram.printBidReceipt({
required SolAddress receipt,
required SolAddress bookkeeper,
required SolAddress instruction,
required MetaplexAuctionHousePrintBidReceiptLayout layout,
SolAddress systemProgram = SystemProgramConst.programId,
SolAddress rent = SystemProgramConst.sysvarRentPubkey,
}) {
return MetaplexAuctionHouseProgram(keys: [
receipt.toWritable(),
bookkeeper.toSignerAndWritable(),
systemProgram.toReadOnly(),
rent.toReadOnly(),
instruction.toReadOnly(),
], programId: MetaplexAuctionHouseProgramConst.programId, layout: layout);
}