IERC7572

Git Source

ERC-7572 standard interface for exposing contract-level metadata via contractURI()

See https://eips.ethereum.org/EIPS/eip-7572

Functions

contractURI

Returns a URI pointing to contract-level metadata

The metadata should conform to a standard like OpenSea's contract-level metadata schema

function contractURI() external view returns (string memory uri_);

Returns

NameTypeDescription
uri_stringThe contract metadata URI as a string

Events

ContractURIUpdated

Emitted when the contract URI is updated

event ContractURIUpdated();