ERC1155MetadataNameSymbolFacet
ERC1155MetadataNameSymbolFacet
Provides a name and symbol getter, and allows the contract admin to update those.
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
_symbol
string
name
A descriptive name for a collection of NFTs in this contract
symbol
An abbreviated name for NFTs in this contract
Was this helpful?