MetaplexBubblegumProgram.verifyCollection constructor
MetaplexBubblegumProgram.verifyCollection({
- required SolAddress treeAuthority,
- required SolAddress leafOwner,
- required SolAddress leafDelegate,
- required SolAddress merkleTree,
- required SolAddress payer,
- required SolAddress treeDelegate,
- required SolAddress collectionAuthority,
- required SolAddress collectionAuthorityRecordPda,
- required SolAddress collectionMint,
- required SolAddress collectionMetadata,
- required SolAddress editionAccount,
- required SolAddress bubblegumSigner,
- required SolAddress logWrapper,
- required SolAddress compressionProgram,
- required SolAddress tokenMetadataProgram,
- required MetaplexBubblegumVerifyCollectionLayout layout,
- List<
AccountMeta> anchorRemainingAccounts = const [], - SolAddress systemProgram = SystemProgramConst.programId,
Implementation
factory MetaplexBubblegumProgram.verifyCollection({
required SolAddress treeAuthority,
required SolAddress leafOwner,
required SolAddress leafDelegate,
required SolAddress merkleTree,
required SolAddress payer,
required SolAddress treeDelegate,
required SolAddress collectionAuthority,
required SolAddress collectionAuthorityRecordPda,
required SolAddress collectionMint,
required SolAddress collectionMetadata,
required SolAddress editionAccount,
required SolAddress bubblegumSigner,
required SolAddress logWrapper,
required SolAddress compressionProgram,
required SolAddress tokenMetadataProgram,
required MetaplexBubblegumVerifyCollectionLayout layout,
List<AccountMeta> anchorRemainingAccounts = const [],
SolAddress systemProgram = SystemProgramConst.programId,
}) {
return MetaplexBubblegumProgram(keys: [
treeAuthority.toReadOnly(),
leafOwner.toReadOnly(),
leafDelegate.toReadOnly(),
merkleTree.toWritable(),
payer.toSigner(),
treeDelegate.toReadOnly(),
collectionAuthority.toSigner(),
collectionAuthorityRecordPda.toReadOnly(),
collectionMint.toReadOnly(),
collectionMetadata.toWritable(),
editionAccount.toReadOnly(),
bubblegumSigner.toReadOnly(),
logWrapper.toReadOnly(),
compressionProgram.toReadOnly(),
tokenMetadataProgram.toReadOnly(),
systemProgram.toReadOnly(),
...anchorRemainingAccounts
], programId: MetaplexBubblegumProgramConst.programId, layout: layout);
}