ContractMetadata smart contract is an extension usable with any smart contract. It lets you define metadata for your smart contract. Additionally,
ContractMetadata is necessary to enable royalties on NFT contracts on OpenSea.
ContractMetadata extension is an abstract contract, and expects you to implement the following functions by yourself:
This is an example smart contract demonstrating how to inherit from this extension and override the functions to add (optional) custom functionality.
Base Contracts Implementing This Extension
All of the base contracts implement this extension.