Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IERC6909Metadata

Inherits: IERC6909

Optional extension of {IERC6909} that adds metadata functions.

Functions

name

Returns the name of the token of type id.

function name(uint256 id) external view returns (string memory);

symbol

Returns the ticker symbol of the token of type id.

function symbol(uint256 id) external view returns (string memory);

decimals

Returns the number of decimals for the token of type id.

function decimals(uint256 id) external view returns (uint8);