Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IERC20CamelOnlySafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20CamelOnlySafeDispatcherTrait

Part of the group: dispatchers

pub trait IERC20CamelOnlySafeDispatcherTrait<T>

Trait functions

totalSupply

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20CamelOnlySafeDispatcherTrait::totalSupply

fn totalSupply(self: T) -> Result<u256, Array<felt252>>

balanceOf

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20CamelOnlySafeDispatcherTrait::balanceOf

fn balanceOf(self: T, account: ContractAddress) -> Result<u256, Array<felt252>>

transferFrom

Fully qualified path: openzeppelin_interfaces::token::erc20::IERC20CamelOnlySafeDispatcherTrait::transferFrom

fn transferFrom(
    self: T, sender: ContractAddress, recipient: ContractAddress, amount: u256,
) -> Result<bool, Array<felt252>>