MetaplexNFTPacksProgram.activate constructor

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

Implementation

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