MetaplexNFTPacksProgram.editPack constructor
MetaplexNFTPacksProgram.editPack({
- required SolAddress packSet,
- required SolAddress authority,
- 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);
}