MetaplexTokenMetaDataProgram.puffMetadata constructor

MetaplexTokenMetaDataProgram.puffMetadata({
  1. required SolAddress metadata,
})

Implementation

factory MetaplexTokenMetaDataProgram.puffMetadata(
    {required SolAddress metadata}) {
  return MetaplexTokenMetaDataProgram(
      keys: [
        metadata.toWritable(),
      ],
      programId: MetaplexTokenMetaDataProgramConst.programId,
      layout: MetaplexTokenMetaDataPuffMetadataLayout());
}