MetaplexTokenMetaDataProgram.updatePrimarySaleHappenedViaToken constructor
MetaplexTokenMetaDataProgram.updatePrimarySaleHappenedViaToken({
- required SolAddress metadata,
- required SolAddress owner,
- required SolAddress token,
Implementation
factory MetaplexTokenMetaDataProgram.updatePrimarySaleHappenedViaToken({
required SolAddress metadata,
required SolAddress owner,
required SolAddress token,
}) {
return MetaplexTokenMetaDataProgram(
keys: [
metadata.toWritable(),
owner.toSigner(),
token.toReadOnly(),
],
programId: MetaplexTokenMetaDataProgramConst.programId,
layout:
const MetaplexTokenMetaDataUpdatePrimarySaleHappenedViaTokenLayout());
}