IERC20MixinDispatcherTrait
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait
Part of the group: dispatchers
pub trait IERC20MixinDispatcherTrait<T>
Trait functions
total_supply
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::total_supply
fn total_supply(self: T) -> u256
balance_of
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::balance_of
fn balance_of(self: T, account: ContractAddress) -> u256
allowance
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::allowance
fn allowance(self: T, owner: ContractAddress, spender: ContractAddress) -> u256
transfer
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::transfer
fn transfer(self: T, recipient: ContractAddress, amount: u256) -> bool
transfer_from
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::transfer_from
fn transfer_from(self: T, sender: ContractAddress, recipient: ContractAddress, amount: u256) -> bool
approve
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::approve
fn approve(self: T, spender: ContractAddress, amount: u256) -> bool
name
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::name
fn name(self: T) -> ByteArray
symbol
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::symbol
fn symbol(self: T) -> ByteArray
decimals
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::decimals
fn decimals(self: T) -> u8
totalSupply
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::totalSupply
fn totalSupply(self: T) -> u256
balanceOf
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::balanceOf
fn balanceOf(self: T, account: ContractAddress) -> u256
transferFrom
Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20MixinDispatcherTrait::transferFrom
fn transferFrom(self: T, sender: ContractAddress, recipient: ContractAddress, amount: u256) -> bool