Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IERC20Metadata

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20Metadata

pub trait IERC20Metadata<TState>

Trait functions

name

Returns the name of the token.

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20Metadata::name

fn name(self: @TState) -> ByteArray

symbol

Returns the symbol of the token.

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20Metadata::symbol

fn symbol(self: @TState) -> ByteArray

decimals

Returns the number of decimals used to get its user representation.

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20Metadata::decimals

fn decimals(self: @TState) -> u8