Re-exportsΒ§
use std::str::FromStr;πuse crate::cmd::erc20::print_amount;π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::FixedBytes;πuse alloy_primitives::U256;πuse alloy_provider::Provider;πuse alloy_sol_types::SolCall;πuse alloy_sol_types::sol;πuse clap::Parser;πuse eyre::Result;πuse eyre::WrapErr;πuse foundry_cli::json::JsonError;πuse foundry_cli::json::JsonMessage;πuse foundry_cli::json::print_json_success;πuse foundry_cli::json::print_json_success_with_warnings;πuse foundry_cli::json::print_scalar;πuse foundry_cli::opts::RpcOpts;πuse foundry_common::provider::RetryProvider;πuse foundry_common::shell;πuse serde::Serialize;πuse serde::Serialize;π
ModulesΒ§
- IERC20
Metadata - Module containing a contractβs types and functions.
- IERC165
- Module containing a contractβs types and functions.
- IERC4626
- Module containing a contractβs types and functions.
StructsΒ§
- Compatibility
Check π - Compatibility
Report π - Token
Amount π - Vault
Info π - Vault
Position π - Vault
Warning π
EnumsΒ§
- Check
Status π - Erc4626
Subcommand - Interact with synchronous ERC-4626 tokenized vaults.
ConstantsΒ§
- CHECK_
DISCLAIMER π - ERC7540_
ASYNC_ πDEPOSIT_ INTERFACE - ERC7540_
ASYNC_ πREDEEM_ INTERFACE - NATIVE_
ASSET π - NATIVE_
ASSET_ πDECIMALS - ERC-7535 asset quantities are denominated in wei.
FunctionsΒ§
- check_
compatibility π - decimal_
unit π 10^decimals, orNonewhen it overflows.- display_
amount π - has_
shares π - native_
asset_ πwarning - or_
unavailable π - prepare_
write π - Warns when the vault holds the native asset and resolves the writeβs account arguments.
- preview_
error π - Error context for a failed
preview*call; asynchronous ERC-7540 vaults revert these. - print_
compatibility_ πreport - print_
field π - print_
info π - print_
json_ πwith_ warnings - print_
position π - print_
warnings π - push_
check π - record_
preview π - record_
required π - record_
zero_ πconversion - send_
call π - show_
info π - show_
position π - vault_
at π - warn_
if_ πnative_ asset - warn_
if_ πzero_ entry_ max - warn_
if_ πzero_ exit_ max - zero_
exit_ πwarning
Type AliasesΒ§
- Vault π