Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IERC20MetadataDispatcherTrait

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MetadataDispatcherTrait

Part of the group: dispatchers

pub trait IERC20MetadataDispatcherTrait<T>

Trait functions

name

Returns the name of the token.

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

fn name(self: T) -> ByteArray

symbol

Returns the symbol of the token.

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

fn symbol(self: T) -> ByteArray

decimals

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

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

fn decimals(self: T) -> u8