Skip to main content

Module erc4626

Module erc4626 

Source

Modules§

IERC20Metadata
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§

CompatibilityCheck 🔒
CompatibilityReport 🔒
TokenAmount 🔒
VaultInfo 🔒
VaultPosition 🔒
VaultWarning 🔒

Enums§

CheckStatus 🔒
Erc4626Subcommand
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, or None when 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 🔒