MetaplexNFTPacksProgram.transferPackAuthority constructor
MetaplexNFTPacksProgram.transferPackAuthority({
- required SolAddress packSet,
- required SolAddress currentAuthority,
- required SolAddress newAuthority,
Implementation
factory MetaplexNFTPacksProgram.transferPackAuthority({
required SolAddress packSet,
required SolAddress currentAuthority,
required SolAddress newAuthority,
}) {
return MetaplexNFTPacksProgram(
keys: [
packSet.toWritable(),
currentAuthority.toSigner(),
newAuthority.toReadOnly()
],
programId: MetaplexNFTPacksProgramConst.programId,
layout: const MetaplexNFTPacksTransferPackAuthorityLayout());
}