Appearance
Solidity API
PropsERC1155BaseInternal
Abstract contract providing internal functions for managing ERC1155 token metadata This contract is part of a diamond framework implementation for ERC1155 tokens
_setName
solidity
function _setName(string _name) internalSets the name of the token collection
Parameters
| Name | Type | Description |
|---|---|---|
| _name | string | The new name to set |
_setSymbol
solidity
function _setSymbol(string _symbol) internalSets the symbol of the token collection
Parameters
| Name | Type | Description |
|---|---|---|
| _symbol | string | The new symbol to set |
_setDescription
solidity
function _setDescription(string _description) internalSets the description of the token collection
Parameters
| Name | Type | Description |
|---|---|---|
| _description | string | The new description to set |
_setContractURI
solidity
function _setContractURI(string _contractURI) internalSets the contract URI for the token collection metadata
Parameters
| Name | Type | Description |
|---|---|---|
| _contractURI | string | The new contract URI to set |
_setTokenIndex
solidity
function _setTokenIndex(uint256 _tokenIndex) internalSets the token index for the collection
Parameters
| Name | Type | Description |
|---|---|---|
| _tokenIndex | uint256 | The new token index to set |
name
solidity
function name() public view returns (string)Retrieves the name of the token collection
Return Values
| Name | Type | Description |
|---|---|---|
| [0] | string | The name of the token collection |
symbol
solidity
function symbol() public view returns (string)Retrieves the symbol of the token collection
Return Values
| Name | Type | Description |
|---|---|---|
| [0] | string | The symbol of the token collection |
description
solidity
function description() public view returns (string)Retrieves the description of the token collection
Return Values
| Name | Type | Description |
|---|---|---|
| [0] | string | The description of the token collection |
contractURI
solidity
function contractURI() public view returns (string)Retrieves the contract URI for the token collection metadata
Return Values
| Name | Type | Description |
|---|---|---|
| [0] | string | The contract URI |