IERC1155MetadataNameSymbolFacet
IERC1155MetadataNameSymbolFacet
Manages name and symbol for ERC1155 compatible contracts. Note that this is outside of the 1155 spec.
updateNameAndSymbol
Update the name
and symbol
of the NFT contract. When run in a proxy -> diamond scenario this is restricted to the proxy only and will revert on the diamond.
Parameters
Name
Type
Description
name
string
The new name of the contract.
symbol
string
The new symbol of the contract. It is recommended to keep the length at 11 characters or less, all caps.
name
A descriptive name for a collection of NFTs in this contract
symbol
An abbreviated name for NFTs in this contract
Was this helpful?