MetaplexBubblegumProgram.verifyCreator constructor
MetaplexBubblegumProgram.verifyCreator({
- required SolAddress treeAuthority,
- required SolAddress leafOwner,
- required SolAddress leafDelegate,
- required SolAddress merkleTree,
- required SolAddress payer,
- required SolAddress creator,
- required SolAddress logWrapper,
- required SolAddress compressionProgram,
- required MetaplexBubblegumVerifyCreatorLayout layout,
- List<
AccountMeta> anchorRemainingAccounts = const [], - SolAddress systemProgram = SystemProgramConst.programId,
Implementation
factory MetaplexBubblegumProgram.verifyCreator({
required SolAddress treeAuthority,
required SolAddress leafOwner,
required SolAddress leafDelegate,
required SolAddress merkleTree,
required SolAddress payer,
required SolAddress creator,
required SolAddress logWrapper,
required SolAddress compressionProgram,
required MetaplexBubblegumVerifyCreatorLayout layout,
List<AccountMeta> anchorRemainingAccounts = const [],
SolAddress systemProgram = SystemProgramConst.programId,
}) {
return MetaplexBubblegumProgram(keys: [
treeAuthority.toReadOnly(),
leafOwner.toReadOnly(),
leafDelegate.toReadOnly(),
merkleTree.toWritable(),
payer.toSigner(),
creator.toSigner(),
logWrapper.toReadOnly(),
compressionProgram.toReadOnly(),
systemProgram.toReadOnly(),
...anchorRemainingAccounts
], programId: MetaplexBubblegumProgramConst.programId, layout: layout);
}