MetaplexNFTPacksProgram.closePack constructor

MetaplexNFTPacksProgram.closePack({
  1. required SolAddress packSet,
  2. required SolAddress authority,
  3. required SolAddress clock,
})

Implementation

factory MetaplexNFTPacksProgram.closePack({
  required SolAddress packSet,
  required SolAddress authority,
  required SolAddress clock,
}) {
  return MetaplexNFTPacksProgram(
      keys: [packSet.toWritable(), authority.toSigner(), clock.toReadOnly()],
      programId: MetaplexNFTPacksProgramConst.programId,
      layout: MetaplexNFTPacksClosePackLayout());
}