Skip to main content

ERC6909Metadata

Git Source

Functions

name

Returns the name of the token

function name(uint256 tokenId_) public view virtual returns (string memory);

Parameters

NameTypeDescription
tokenId_uint256The ID of the token

Returns

NameTypeDescription
<none>stringstring The name of the token

symbol

Returns the symbol of the token

function symbol(uint256 tokenId_) public view virtual returns (string memory);

Parameters

NameTypeDescription
tokenId_uint256The ID of the token

Returns

NameTypeDescription
<none>stringstring The symbol of the token

decimals

Returns the number of decimals used by the token

function decimals(uint256 tokenId_) public view virtual returns (uint8);

Parameters

NameTypeDescription
tokenId_uint256The ID of the token

Returns

NameTypeDescription
<none>uint8uint8 The number of decimals used by the token

tokenURI

Returns the URI of the token

function tokenURI(uint256 tokenId_) public view virtual returns (string memory);

Parameters

NameTypeDescription
tokenId_uint256The ID of the token

Returns

NameTypeDescription
<none>stringstring The URI of the token

totalSupply

Returns the total supply of the token

function totalSupply(uint256 tokenId_) public view virtual returns (uint256);

Parameters

NameTypeDescription
tokenId_uint256The ID of the token

Returns

NameTypeDescription
<none>uint256uint256 The total supply of the token