MetaplexNFTPacksProgram.deletePack constructor

MetaplexNFTPacksProgram.deletePack({
  1. required SolAddress packSet,
  2. required SolAddress authority,
  3. required SolAddress refunder,
})

Implementation

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