pub trait Erc20Metadata {
    fn name() -> &'static str;
    fn symbol() -> &'static str;
    fn decimals() -> u8;
}
Expand description

Metadata of an ERC20 token.

Required Methods

Returns the name of the token.

Returns the symbol of the token.

Returns the decimals places of the token.

Implementors