MetaplexNFTPacksProgram.deletePackConfig constructor

MetaplexNFTPacksProgram.deletePackConfig({
  1. required SolAddress packSet,
  2. required SolAddress packConfig,
  3. required SolAddress refunder,
  4. required SolAddress authority,
})

Implementation

factory MetaplexNFTPacksProgram.deletePackConfig({
  required SolAddress packSet,
  required SolAddress packConfig,
  required SolAddress refunder,
  required SolAddress authority,
}) {
  return MetaplexNFTPacksProgram(
      keys: [
        packSet.toReadOnly(),
        packConfig.toWritable(),
        refunder.toWritable(),
        authority.toSigner()
      ],
      programId: MetaplexNFTPacksProgramConst.programId,
      layout: const MetaplexNFTPacksDeletePackConfigLayout());
}