MetaplexNFTPacksProgram.deactivate constructor

MetaplexNFTPacksProgram.deactivate({
  1. required SolAddress packSet,
  2. required SolAddress authority,
})

Implementation

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