Skip to main content

Module erc20

Module erc20 

Source

Re-exportsΒ§

use foundry_common::fmt::format_uint_exp; πŸ”’
use std::str::FromStr; πŸ”’
use crate::cmd::call_overrides::CallOverrideOpts; πŸ”’
use crate::cmd::rpc_provider; πŸ”’
use crate::cmd::send::SendTxArgs; πŸ”’
use crate::tx::SendTxOpts; πŸ”’
use crate::tx::TxParams; πŸ”’
use alloy_eips::BlockId; πŸ”’
use alloy_ens::NameOrAddress; πŸ”’
use alloy_network::AnyNetwork; πŸ”’
use alloy_primitives::Address; πŸ”’
use alloy_primitives::U256; πŸ”’
use alloy_sol_types::SolCall; πŸ”’
use alloy_sol_types::sol; πŸ”’
use clap::Parser; πŸ”’
use eyre::Result; πŸ”’
use foundry_cli::json::print_json_success; πŸ”’
use foundry_cli::json::print_scalar; πŸ”’
use foundry_cli::opts::RpcOpts; πŸ”’
use foundry_common::provider::RetryProvider; πŸ”’
use foundry_common::shell; πŸ”’

ModulesΒ§

IERC20
Module containing a contract’s types and functions.
permit πŸ”’
ERC-2612 signed approvals.

EnumsΒ§

Erc20Subcommand
Interact with ERC20 tokens.

FunctionsΒ§

print_amount πŸ”’
Prints a token amount: the raw decimal string in JSON mode, exponent-annotated otherwise.
resolve πŸ”’
send πŸ”’
token_at πŸ”’