MetaplexTokenMetaDataProgram.convertMasterEditionV1ToV2 constructor
MetaplexTokenMetaDataProgram.convertMasterEditionV1ToV2({
- required SolAddress masterEdition,
- required SolAddress oneTimeAuth,
- required SolAddress printingMint,
Implementation
factory MetaplexTokenMetaDataProgram.convertMasterEditionV1ToV2({
required SolAddress masterEdition,
required SolAddress oneTimeAuth,
required SolAddress printingMint,
}) {
return MetaplexTokenMetaDataProgram(
keys: [
masterEdition.toWritable(),
oneTimeAuth.toWritable(),
printingMint.toWritable()
],
programId: MetaplexTokenMetaDataProgramConst.programId,
layout: MetaplexTokenMetaDataConvertMasterEditionV1ToV2Layout());
}