MetaplexBubblegumProgram.setDecompressibleState constructor

MetaplexBubblegumProgram.setDecompressibleState({
  1. required SolAddress treeAuthority,
  2. required SolAddress treeCreator,
  3. required MetaplexBubblegumSetDecompressibleStateLayout layout,
  4. List<AccountMeta> anchorRemainingAccounts = const [],
})

Implementation

factory MetaplexBubblegumProgram.setDecompressibleState({
  required SolAddress treeAuthority,
  required SolAddress treeCreator,
  required MetaplexBubblegumSetDecompressibleStateLayout layout,
  List<AccountMeta> anchorRemainingAccounts = const [],
}) {
  return MetaplexBubblegumProgram(keys: [
    treeAuthority.toWritable(),
    treeCreator.toSigner(),
    ...anchorRemainingAccounts
  ], programId: MetaplexBubblegumProgramConst.programId, layout: layout);
}