MetaplexBubblegumProgram.cancelRedeem constructor
MetaplexBubblegumProgram.cancelRedeem({
- required SolAddress treeAuthority,
- required SolAddress leafOwner,
- required SolAddress merkleTree,
- required SolAddress voucher,
- required SolAddress logWrapper,
- required SolAddress compressionProgram,
- required MetaplexBubblegumCancelRedeemLayout layout,
- List<
AccountMeta> anchorRemainingAccounts = const [], - SolAddress systemProgram = SystemProgramConst.programId,
Implementation
factory MetaplexBubblegumProgram.cancelRedeem(
{required SolAddress treeAuthority,
required SolAddress leafOwner,
required SolAddress merkleTree,
required SolAddress voucher,
required SolAddress logWrapper,
required SolAddress compressionProgram,
required MetaplexBubblegumCancelRedeemLayout layout,
List<AccountMeta> anchorRemainingAccounts = const [],
SolAddress systemProgram = SystemProgramConst.programId}) {
return MetaplexBubblegumProgram(keys: [
treeAuthority.toReadOnly(),
leafOwner.toSignerAndWritable(),
merkleTree.toWritable(),
voucher.toWritable(),
logWrapper.toReadOnly(),
compressionProgram.toReadOnly(),
systemProgram.toReadOnly(),
...anchorRemainingAccounts
], programId: MetaplexBubblegumProgramConst.programId, layout: layout);
}