MetaplexNFTPacksProgram.editPack constructor

MetaplexNFTPacksProgram.editPack({
  1. required SolAddress packSet,
  2. required SolAddress authority,
  3. required MetaplexNFTPacksEditPackLayout layout,
})

Implementation

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