MetaplexAuctionHouseProgram.cancelRemainingAccounts constructor
MetaplexAuctionHouseProgram.cancelRemainingAccounts({
- required SolAddress metadataProgram,
- required SolAddress delegateRecord,
- required SolAddress programAsSigner,
- required SolAddress metadata,
- required SolAddress edition,
- required SolAddress tokenRecord,
- required SolAddress tokenMint,
- required SolAddress authRulesProgram,
- required SolAddress authRules,
- required SolAddress sysvarInstructions,
- SolAddress systemProgram = SystemProgramConst.programId,
Implementation
factory MetaplexAuctionHouseProgram.cancelRemainingAccounts({
required SolAddress metadataProgram,
required SolAddress delegateRecord,
required SolAddress programAsSigner,
required SolAddress metadata,
required SolAddress edition,
required SolAddress tokenRecord,
required SolAddress tokenMint,
required SolAddress authRulesProgram,
required SolAddress authRules,
required SolAddress sysvarInstructions,
SolAddress systemProgram = SystemProgramConst.programId,
}) {
return MetaplexAuctionHouseProgram(
keys: [
metadataProgram.toReadOnly(),
delegateRecord.toWritable(),
programAsSigner.toReadOnly(),
metadata.toWritable(),
edition.toReadOnly(),
tokenRecord.toWritable(),
tokenMint.toReadOnly(),
authRulesProgram.toReadOnly(),
authRules.toReadOnly(),
sysvarInstructions.toReadOnly(),
systemProgram.toReadOnly()
],
programId: MetaplexAuctionHouseProgramConst.programId,
layout: MetaplexAuctionHouseCancelRemainingAccountsLayout());
}