Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

TokenImpl

Fully qualified path: starkware_utils_testing::test_utils::TokenImpl

pub impl TokenImpl of TokenTrait<TokenState>;

Impl functions

fund

Fully qualified path: starkware_utils_testing::test_utils::TokenImpl::fund

fn fund(self: TokenState, recipient: ContractAddress, amount: u128)

approve

Fully qualified path: starkware_utils_testing::test_utils::TokenImpl::approve

fn approve(self: TokenState, owner: ContractAddress, spender: ContractAddress, amount: u128)

balance_of

Fully qualified path: starkware_utils_testing::test_utils::TokenImpl::balance_of

fn balance_of(self: TokenState, account: ContractAddress) -> u128