Skip to main content

IContractMetadataRegistry

Methods

registerMetadata

function registerMetadata(address contractAddress, string metadataUri) external nonpayable

Records metadataUri as metadata for the contract at contractAddress.

Parameters

NameTypeDescription
contractAddressaddressundefined
metadataUristringundefined

Events

MetadataRegistered

event MetadataRegistered(address indexed contractAddress, string metadataUri)

Emitted when a contract metadata is registered

Parameters

NameTypeDescription
contractAddress indexedaddressundefined
metadataUristringundefined