MetaplexNFTPacksProgram.deletePackCard constructor
MetaplexNFTPacksProgram.deletePackCard({
- required SolAddress packSet,
- required SolAddress packCard,
- required SolAddress authority,
- required SolAddress refunder,
- required SolAddress newMasterEditionOwner,
- required SolAddress tokenAccount,
- required SolAddress programAuthority,
- SolAddress rent = SystemProgramConst.sysvarRentPubkey,
- SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId,
Implementation
factory MetaplexNFTPacksProgram.deletePackCard(
{required SolAddress packSet,
required SolAddress packCard,
required SolAddress authority,
required SolAddress refunder,
required SolAddress newMasterEditionOwner,
required SolAddress tokenAccount,
required SolAddress programAuthority,
SolAddress rent = SystemProgramConst.sysvarRentPubkey,
SolAddress tokenProgram = SPLTokenProgramConst.tokenProgramId}) {
return MetaplexNFTPacksProgram(
keys: [
packSet.toWritable(),
packCard.toWritable(),
authority.toSigner(),
refunder.toWritable(),
newMasterEditionOwner.toWritable(),
tokenAccount.toWritable(),
programAuthority.toReadOnly(),
rent.toReadOnly(),
tokenProgram.toReadOnly()
],
programId: MetaplexNFTPacksProgramConst.programId,
layout: MetaplexNFTPacksDeletePackCardLayout());
}