MetaplexAuctionHouseProgram.sellRemainingAccounts constructor
MetaplexAuctionHouseProgram.sellRemainingAccounts({
- required SolAddress metadataProgram,
- required SolAddress delegateRecord,
- required SolAddress tokenRecord,
- required SolAddress tokenMint,
- required SolAddress edition,
- required SolAddress authRulesProgram,
- required SolAddress authRules,
- required SolAddress sysvarInstructions,
Implementation
factory MetaplexAuctionHouseProgram.sellRemainingAccounts({
required SolAddress metadataProgram,
required SolAddress delegateRecord,
required SolAddress tokenRecord,
required SolAddress tokenMint,
required SolAddress edition,
required SolAddress authRulesProgram,
required SolAddress authRules,
required SolAddress sysvarInstructions,
}) {
return MetaplexAuctionHouseProgram(
keys: [
metadataProgram.toReadOnly(),
delegateRecord.toWritable(),
tokenRecord.toWritable(),
tokenMint.toReadOnly(),
edition.toReadOnly(),
authRulesProgram.toReadOnly(),
authRules.toReadOnly(),
sysvarInstructions.toReadOnly(),
],
programId: MetaplexAuctionHouseProgramConst.programId,
layout: MetaplexAuctionHouseSellRemainingAccountsLayout());
}