Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IERC20MetadataSafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MetadataSafeDispatcherTrait

Part of the group: dispatchers

pub trait IERC20MetadataSafeDispatcherTrait<T>

Trait functions

name

Returns the name of the token.

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

fn name(self: T) -> Result<ByteArray, Array<felt252>>

symbol

Returns the symbol of the token.

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

fn symbol(self: T) -> Result<ByteArray, Array<felt252>>

decimals

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

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

fn decimals(self: T) -> Result<u8, Array<felt252>>