MetaplexNFTPacksProgram.deletePackVoucher constructor

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

Implementation

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