MetaplexNFTPacksProgram.cleanUp constructor

MetaplexNFTPacksProgram.cleanUp({
  1. required SolAddress packSet,
  2. required SolAddress packConfig,
})

Implementation

factory MetaplexNFTPacksProgram.cleanUp(
    {required SolAddress packSet, required SolAddress packConfig}) {
  return MetaplexNFTPacksProgram(
      keys: [
        packSet.toWritable(),
        packConfig.toWritable(),
      ],
      programId: MetaplexNFTPacksProgramConst.programId,
      layout: const MetaplexNFTPacksCleanUpLayout());
}