Contents Menu Expand Light mode Dark mode Auto light/dark mode
Web3 Ethereum Defi documentation
Web3 Ethereum Defi documentation
  • API documentation
    • Core API
      • chain
        • POA_MIDDLEWARE_NEEDED_CHAIN_IDS
        • CHAIN_NAMES
        • CHAIN_HOMEPAGES
        • EVM_BLOCK_TIMES
        • fetch_block_timestamp
        • get_block_time
        • get_chain_homepage
        • get_chain_id_by_name
        • get_chain_name
        • get_default_call_gas_limit
        • get_graphql_url
        • has_graphql_support
        • install_api_call_counter_middleware
        • install_api_call_counter_middleware_on_provider
        • install_chain_middleware
        • install_retry_middleware
        • install_retry_muiddleware
      • token
        • WRAPPED_NATIVE_TOKEN
        • USDC_NATIVE_TOKEN
        • BRIDGED_USDC_TOKEN
        • USDC_WHALE
        • USDT_WHALE
        • USDT_NATIVE_TOKEN
        • SUSDS_NATIVE_TOKEN
        • HONEY_NATIVE_TOKEN
        • STABLECOIN_LIKE
        • YIELD_BEARING_STABLES
        • WRAPPED_STABLECOIN_LIKE
        • ALL_STABLECOIN_LIKE
        • LARGE_USDC_HOLDERS
        • create_token
        • fetch_erc20_details
        • get_chain_known_quote_tokens
        • get_chain_stablecoins
        • get_erc20_contract
        • get_weth_contract
        • get_wrapped_native_token_address
        • is_stablecoin_like
        • normalise_token_symbol
        • reset_default_token_cache
        • DummyPickledContract
        • TokenCacheWarmupResult
        • TokenDetails
        • TokenDiskCache
        • TokenDetailError
      • balances
        • convert_balances_to_decimal
        • create_erc20_balance_call
        • fetch_erc20_balances_by_token_list
        • fetch_erc20_balances_by_transfer_event
        • fetch_erc20_balances_fallback
        • fetch_erc20_balances_multicall
        • fetch_erc20_balances_multicall_v6
        • fetch_erc20_balances_multicall_v7
        • DecimalisedHolding
        • ERC20BalanceCall
        • BalanceFetchFailed
      • abi
        • ZERO_ADDRESS_STR
        • ZERO_ADDRESS
        • ZERO_ADDRESS_BYTES
        • ONE_ADDRESS_STR
        • decode_function_args
        • decode_function_output
        • encode_function_call
        • encode_multicalls
        • encode_with_signature
        • format_debug_instructions
        • get_abi_by_filename
        • get_contract
        • get_deployed_contract
        • get_function_abi_by_name
        • get_function_selector
        • get_linked_contract
        • get_topic_signature_from_event
        • get_transaction_data_field
        • humanise_decoded_arg_data
        • link_libraries_hardhat
        • present_solidity_args
      • deploy
        • deploy_contract
        • get_or_create_contract_registry
        • get_registered_contract
        • register_contract
        • ContractDeploymentFailed
      • event
        • fetch_all_events
      • gas
        • apply_gas
        • estimate_gas_fees
        • estimate_gas_price
        • node_default_gas_price_strategy
        • GasPriceMethod
        • GasPriceSuggestion
      • confirmation
        • broadcast_and_wait_transactions_to_complete
        • broadcast_transactions
        • check_nonce_mismatch
        • is_invalid_sender
        • is_out_of_gas
        • wait_and_broadcast_multiple_nodes
        • wait_and_broadcast_multiple_nodes_mev_blocker
        • wait_transactions_to_complete
        • BadChainId
        • BroadcastFailure
        • ConfirmationTimedOut
        • NonRetryableBroadcastException
        • NonceMismatch
        • NonceTooLow
        • OutOfGasFunds
        • Reverted
      • revert_reason
        • fetch_transaction_revert_reason
        • TransactionReverted
      • hotwallet
        • HotWallet
        • SignedTransactionWithNonce
      • gcloud_hsm_wallet
        • GCloudHSMWallet
      • middleware
        • DEFAULT_RETRYABLE_EXCEPTIONS
        • DEFAULT_RETRYABLE_HTTP_STATUS_CODES
        • DEFAULT_RETRYABLE_RPC_ERROR_CODES
        • DEFAULT_RETRYABLE_RPC_ERROR_MESSAGES
        • STATIC_CALL_LIST
        • configure_provider_retry
        • construct_sign_and_send_raw_middleware_anvil
        • exception_retry_middleware
        • http_retry_request_with_sleep_middleware
        • is_retryable_http_exception
        • raise_on_revert_middleware
        • StaticCallCacheMiddleware
        • static_call_cache_middleware
        • ProbablyNodeHasNoBlock
        • SomeCrappyRPCProviderException
      • tx
        • decode_signed_transaction
        • get_tx_broadcast_data
        • AssetDelta
        • DecodeFailure
      • trace
        • assert_call_success_with_explanation
        • assert_transaction_success_with_explanation
        • print_symbolic_trace
        • trace_evm_call
        • trace_evm_transaction
        • SymbolicTreeRepresentation
        • TraceMethod
        • TraceNotEnabled
        • TransactionAssertionError
      • eip_712
        • eip712_encode
        • eip712_encode_hash
        • eip712_signature
        • encode_data
        • encode_type
        • fast_keccak
        • find_type_dependencies
        • hash_struct
        • hash_type
      • timestamp
        • estimate_block_number_for_timestamp_by_findblock
        • get_block_timestamp
        • get_latest_block_timestamp
        • FindBlockReply
        • FindBlockError
      • trade
        • TradeFail
        • TradeResult
        • TradeSuccess
      • sqlite_cache
        • PersistentKeyValueStore
      • utils
        • addr
        • chunked
        • find_free_port
        • from_unix_timestamp
        • get_url_domain
        • is_localhost_port_listening
        • sanitise_string
        • setup_console_logging
        • shutdown_hard
        • to_unix_timestamp
        • wait_other_writers
    • JSON-RPC provider API
      • provider.multi_provider
        • create_multi_provider_web3
        • MultiProviderWeb3
        • MultiProviderWeb3Factory
        • MultiProviderConfigurationError
      • provider.mev_blocker
        • TRANSACT_METHODS
        • get_mev_blocker_provider
        • MEVBlockerProvider
      • provider.fallback
        • get_fallback_provider
        • FallbackProvider
        • FallbackStrategy
        • ExtraValueError
      • provider.broken_provider
        • get_almost_latest_block_number
        • get_block_tip_latency
        • get_default_block_tip_latency
        • get_safe_cached_latest_block_number
        • set_block_tip_latency
      • provider.ankr
        • is_ankr
      • provider.llamanodes
        • is_llama_bad_grapql_reply
      • provider.anvil
        • CLI_FLAGS
        • create_fork_funded_wallet
        • dump_state
        • fork_network_anvil
        • is_anvil
        • is_mainnet_fork
        • launch_anvil
        • load_state
        • make_anvil_custom_rpc_request
        • mine
        • revert
        • set_balance
        • sleep
        • snapshot
        • unlock_account
        • AnvilLaunch
        • InvalidArgumentWarning
        • RPCRequestError
      • provider.ganache
        • EVM_DEFAULT
        • fork_network
        • GanacheLaunch
        • InvalidArgumentWarning
        • NoGanacheInstalled
      • provider.named
        • get_provider_name
        • BaseNamedProvider
      • provider.env
        • get_json_rpc_env
        • read_json_rpc_url
    • USDC API
      • usdc.deployment
        • deploy_fiat_token
      • usdc.eip_3009
        • construct_eip_3009_authorization_message
        • make_eip_3009_transfer
        • EIP3009AuthorizationType
    • Uniswap v2 DEX API
      • uniswap_v2.deployment
        • INIT_CODE_HASH_MISSING
        • deploy_factory_sushi
        • deploy_trading_pair
        • deploy_uniswap_v2_like
        • fetch_deployment
        • mock_partial_deployment_for_analysis
        • UniswapV2Deployment
      • uniswap_v2.pair
        • fetch_pair_details
        • PairDetails
      • uniswap_v2.fees
        • estimate_buy_price
        • estimate_buy_price_decimals
        • estimate_buy_quantity
        • estimate_buy_received_amount_raw
        • estimate_sell_price
        • estimate_sell_price_decimals
        • estimate_sell_received_amount_raw
        • UniswapV2FeeCalculator
        • BadReserves
      • uniswap_v2.analysis
        • analyse_trade_by_hash
        • analyse_trade_by_receipt
      • uniswap_v2.utils
        • pair_for
        • sort_tokens
      • uniswap_v2.swap
        • swap_with_slippage_protection
      • uniswap_v2.liquidity
        • get_liquidity
        • LiquidityResult
        • UnmatchedToken
      • uniswap_v2.oracle
        • convert_sync_log_result_to_price_entry
        • update_live_price_feed
        • update_price_oracle_with_sync_events_single_thread
        • UniswapV2PriceOracleContext
      • uniswap_v2.token_tax
        • estimate_token_taxes
        • TokenTaxInfo
        • ApprovalFailure
        • OutOfGasDuringSell
        • OutOfGasDuringTransfer
        • SellFailed
        • SwapError
        • TransferFailure
        • TransferFromError
    • Uniswap v3 DEX API
      • uniswap_v3.analysis
        • analyse_trade_by_receipt
        • get_input_args
      • uniswap_v3.constants
      • uniswap_v3.deployment
        • add_liquidity
        • decrease_liquidity
        • deploy_pool
        • deploy_uniswap_v3
        • deploy_uniswap_v3_factory
        • fetch_deployment
        • increase_liquidity
        • mock_partial_deployment_for_analysis
        • UniswapV3Deployment
      • uniswap_v3.events
        • decode_burn
        • decode_mint
        • decode_pool_created
        • decode_swap
        • fetch_events_to_csv
        • get_event_mapping
        • TokenCache
      • uniswap_v3.fee
        • FeeTier
      • uniswap_v3.liquidity
        • create_tick_csv
        • create_tick_delta_csv
        • estimate_liquidity_depth_at_block
        • get_pool_state_at_block
        • handle_burn_event
        • handle_mint_event
        • TickDelta
      • uniswap_v3.oracle
        • convert_swap_event_to_price_entry
        • update_live_price_feed
        • update_price_oracle_concurrent
        • update_price_oracle_single_thread
        • UniswapV3PriceOracleContext
      • uniswap_v3.pool
        • fetch_pool_details
        • get_raw_fee_from_pool_address
        • PoolDetails
      • uniswap_v3.price
        • estimate_buy_received_amount
        • estimate_sell_received_amount
        • get_onchain_price
        • UniswapV3PriceHelper
        • QuotingFailed
      • uniswap_v3.swap
        • swap_with_slippage_protection
      • uniswap_v3.tvl
        • fetch_uniswap_v3_pool_tvl
      • uniswap_v3.utils
        • decode_path
        • encode_path
        • encode_sqrt_ratio_x96
        • get_default_tick_range
        • get_max_tick
        • get_min_tick
        • get_nearest_usable_tick
        • get_token0_amount_in_range
        • get_token1_amount_in_range
        • run_graphql_query
        • tick_to_price
        • tick_to_sqrt_price
    • Aave v2 API
      • aave_v2.constants
        • get_aave_v2_network_by_chain_id
        • AaveV2Network
      • aave_v2.events
        • aave_v2_fetch_events_to_csv
    • Aave v3 API
      • aave_v3.balances
        • aave_v3_get_deposit_balance
        • aave_v3_get_stable_borrow_balance
        • aave_v3_get_variable_borrow_balance
      • aave_v3.constants
        • aave_v3_get_account_address
        • aave_v3_get_json_rpc_url
        • aave_v3_get_network_by_chain_id
        • aave_v3_get_token_name_by_deposit_address
        • AaveNetwork
        • AaveToken
        • AaveV3InterestRateMode
        • AaveVersion
      • aave_v3.deployer
        • AAVE_DEPLOYER_REPO
        • HARDHAT_CONTRACTS
        • get_aave_hardhard_export
        • install_aave_for_testing
        • AaveDeployer
      • aave_v3.deployment
        • fetch_deployment
        • AaveV3Deployment
        • AaveV3ReserveConfiguration
        • AaveV3UserData
      • aave_v3.events
        • aave_v3_fetch_events_to_csv
        • decode_reserve_data_updated
        • get_event_mapping
        • TokenCache
      • aave_v3.loan
        • borrow
        • repay
        • supply
        • withdraw
      • aave_v3.rates
        • aave_v3_calculate_accrued_deposit_interest
        • aave_v3_calculate_accrued_interests
        • aave_v3_calculate_accrued_stable_borrow_interest
        • aave_v3_calculate_accrued_variable_borrow_interest
        • aave_v3_calculate_apr_apy_rates
        • aave_v3_calculate_mean
        • aave_v3_calculate_ohlc
        • aave_v3_filter_by_date_range
        • aave_v3_filter_by_token
        • AaveAccruedInterest
        • AaveAccruedInterests
      • aave_v3.reserve
        • fetch_aave_reserves_snapshot
        • fetch_reserve_data
        • fetch_reserves
        • get_helper_contracts
        • AggregatedReserveData
        • BaseCurrencyInfo
        • HelperContracts
        • JSONSerialisableReserveData
        • AaveContractsNotConfigured
    • CowW Swap API
      • cow.api
        • get_cowswap_api
        • CowAPIError
      • cow.constants
        • COWSWAP_SETTLEMENT
        • COWSWAP_VAULT_RELAYER
        • COWSWAP_API_ENDPOINTS
        • CHAIN_TO_EXPLORER
      • cow.order
        • post_order
        • GPv2OrderData
        • PostOrderResponse
        • SigningScheme
      • cow.quote
        • fetch_quote
        • Quote
      • cow.status
        • wait_order_complete
        • CowSwapResult
        • CowSwapStatusReply
    • Derive API
      • derive.onboarding
        • create_owner_key
        • create_session_key
        • fetch_derive_wallet_address
        • verify_session_key
      • derive.session
        • create_derive_session
      • derive.authentication
        • DeriveApiClient
      • derive.account
        • fetch_account_collaterals
        • fetch_account_summary
        • fetch_subaccount_ids
        • AccountSummary
        • CollateralBalance
      • derive.constants
        • DERIVE_MAINNET_API_URL
        • DERIVE_TESTNET_API_URL
        • DERIVE_MAINNET_WS_URL
        • DERIVE_TESTNET_WS_URL
        • DEFAULT_REQUESTS_PER_SECOND
        • DEFAULT_RETRIES
        • DEFAULT_BACKOFF_FACTOR
        • DERIVE_CHAIN_ID
        • DERIVE_TESTNET_CHAIN_ID
        • DERIVE_MAINNET_RPC_URL
        • DERIVE_TESTNET_RPC_URL
        • LIGHT_ACCOUNT_FACTORY_ADDRESS
        • ACCOUNT_ENTRY_POINT_ADDRESS
        • MATCHING_CONTRACT_TESTNET
        • PAYMASTER_CONTRACT_TESTNET
        • STANDARD_RISK_MANAGER_TESTNET
        • DEPOSIT_MODULE_TESTNET
        • CASH_ASSET_TESTNET
        • TRADE_MODULE_TESTNET
        • DOMAIN_SEPARATOR_TESTNET
        • ACTION_TYPEHASH
        • BUNDLER_URL_TESTNET
        • BLOCK_EXPLORER_TESTNET
        • LIGHT_ACCOUNT_FACTORY_ABI
        • CollateralType
        • MarginType
        • SessionKeyScope
    • GMX API
      • gmx.api
        • clear_apy_cache
        • clear_markets_cache
        • clear_markets_info_cache
        • clear_ticker_prices_cache
        • GMXAPI
      • gmx.base
        • GMXClient
      • gmx.config
        • GMXConfig
        • GMXConfigManager
      • gmx.constants
        • GMX_API_URLS
        • GMX_READER_ADDRESS
        • GMX_EVENT_EMITTER_ABI
        • ETH_ZERO_ADDRESS
        • DEFAULT_GAS_WARNING_THRESHOLD_USD
        • DEFAULT_GAS_CRITICAL_THRESHOLD_USD
        • DEFAULT_GAS_ESTIMATE_BUFFER
        • DEFAULT_GAS_MONITOR_ENABLED
        • DEFAULT_GAS_RAISE_ON_CRITICAL
        • GMX_MIN_COST_USD
        • GMX_MIN_DISPLAY_STAKE
        • DISK_CACHE_MARKETS_TTL_SECONDS
        • DISK_CACHE_APY_TTL_SECONDS
        • DEFAULT_MARKET_CACHE_DIR
        • OrderType
      • gmx.contracts
        • get_contract_addresses
        • get_datastore_contract
        • get_exchange_router_contract
        • get_glv_reader_contract
        • get_oracle_contract
        • get_reader_contract
        • get_token_address
        • get_token_address_normalized
        • get_token_balance_contract
        • get_token_metadata
        • get_tokens_address_dict
        • get_tokens_metadata_dict
        • normalize_gmx_token_symbol
        • ContractAddresses
      • gmx.data
        • GMXMarketData
      • gmx.events
        • GMX_PRICE_PRECISION
        • GMX_USD_PRECISION
        • GMX_EVENT_NAMES
        • GMX_ERROR_SELECTORS
        • decode_error_reason
        • decode_gmx_event
        • decode_gmx_events
        • extract_order_execution_result
        • extract_order_key_from_receipt
        • find_events_by_name
        • get_event_name_hash
        • GMXEventData
        • OrderExecutionResult
        • OrderFees
      • gmx.gas_utils
        • calculate_execution_fee
        • clear_gas_limits_cache
        • decrease_order_gas_limit_key
        • deposit_gas_limit_key
        • execution_gas_fee_base_amount_key
        • execution_gas_fee_base_amount_v2_1_key
        • execution_gas_fee_multiplier_key
        • execution_gas_fee_per_oracle_price_key
        • get_gas_limits
        • increase_order_gas_limit_key
        • single_swap_gas_limit_key
        • swap_order_gas_limit_key
        • withdraw_gas_limit_key
      • gmx.keys
        • accountPositionListKey
        • account_deposit_list_key
        • account_glv_deposit_list_key
        • account_glv_withdrawal_list_key
        • account_order_list_key
        • account_position_list_key
        • account_shift_list_key
        • account_withdrawal_list_key
        • affiliate_reward_key
        • apply_factor
        • atomic_swap_fee_factor_key
        • atomic_withdrawal_fee_factor_key
        • auto_cancel_order_list_key
        • borrowing_exponent_factor_key
        • borrowing_factor_key
        • buyback_available_fee_amount_key
        • buyback_batch_amount_key
        • buyback_gmx_factor_key
        • buyback_max_price_impact_factor_key
        • cancel_deposit_feature_disabled_key
        • cancel_order_feature_disabled_key
        • claim_terms_key
        • claimable_collateral_amount_key
        • claimable_collateral_factor_for_account_key
        • claimable_collateral_factor_key
        • claimable_collateral_reduction_factor_for_account_key
        • claimable_fee_amount_key
        • claimable_funding_amount_key
        • claimable_funding_amount_per_size_key
        • claimable_ui_fee_amount_key
        • collateral_sum_key
        • contributor_token_amount_key
        • create_deposit_feature_disabled_key
        • create_hash
        • create_hash_string
        • create_order_feature_disabled_key
        • cumulative_borrowing_factor_key
        • cumulative_borrowing_factor_updated_at_key
        • data_stream_id_key
        • data_stream_multiplier_key
        • data_stream_spread_reduction_factor_key
        • decrease_order_gas_limit_key
        • deposit_fee_factor_key
        • deposit_gas_limit_key
        • edge_data_stream_id_key
        • edge_data_stream_token_decimals_key
        • eid_to_src_chain_id_key
        • execute_adl_feature_disabled_key
        • execute_deposit_feature_disabled_key
        • execute_order_feature_disabled_key
        • execution_gas_fee_base_amount_key
        • execution_gas_fee_multiplier_key
        • fee_distributor_address_info_for_chain_key
        • fee_distributor_address_info_key
        • fee_distributor_bridge_slippage_factor_key
        • fee_distributor_fee_amount_gmx_key
        • fee_distributor_layerzero_chain_id_key
        • fee_distributor_staked_gmx_key
        • funding_decrease_factor_per_second_key
        • funding_exponent_factor_key
        • funding_factor_key
        • funding_fee_amount_per_size_key
        • funding_increase_factor_per_second_key
        • funding_updated_at_key
        • gasless_feature_disabled_key
        • general_claim_feature_disabled_key
        • glv_deposit_gas_limit_key
        • glv_max_market_token_balance_amount_key
        • glv_max_market_token_balance_usd_key
        • glv_per_market_gas_limit_key
        • glv_shift_gas_limit_key
        • glv_shift_max_loss_factor_key
        • glv_shift_min_interval_key
        • glv_supported_market_list_key
        • glv_withdrawal_gas_limit_key
        • increase_order_gas_limit_key
        • is_adl_enabled_key
        • is_atomic_oracle_provider_key
        • is_glv_market_disabled_key
        • is_market_disabled_key
        • is_multichain_endpoint_enabled_key
        • is_multichain_provider_enabled_key
        • is_oracle_provider_enabled_key
        • is_relay_fee_excluded_key
        • is_src_chain_id_enabled_key
        • jit_feature_disabled_key
        • latest_adl_block_key
        • lent_position_impact_pool_amount_key
        • liquidation_fee_factor_key
        • max_allowed_subaccount_action_count_key
        • max_funding_factor_per_second_key
        • max_lendable_impact_factor_for_withdrawals_key
        • max_lendable_impact_factor_key
        • max_lendable_impact_usd_key
        • max_open_interest_key
        • max_pnl_factor_key
        • max_pool_amount_key
        • max_pool_usd_for_deposit_key
        • max_position_impact_factor_for_liquidations_key
        • max_position_impact_factor_key
        • min_additional_gas_for_execution_key
        • min_affiliate_reward_factor_key
        • min_collateral
        • min_collateral_factor_for_liquidation_key
        • min_collateral_factor_for_open_interest_multiplier_key
        • min_collateral_factor_key
        • min_funding_factor_per_second_key
        • min_glv_tokens_for_first_glv_deposit_key
        • min_market_tokens_for_first_deposit_key
        • min_pnl_factor_after_adl_key
        • min_position_impact_pool_amount_key
        • multichain_authorized_originators_key
        • multichain_balance_key
        • multichain_confirmations_key
        • multichain_peers_key
        • open_interest_in_tokens_key
        • open_interest_key
        • open_interest_reserve_factor_key
        • oracle_provider_for_token_key
        • oracle_provider_updated_at_key
        • oracle_timestamp_adjustment_key
        • oracle_type_key
        • pool_amount_key
        • position_fee_factor_key
        • position_impact_exponent_factor_key
        • position_impact_factor_key
        • position_impact_pool_amount_key
        • position_impact_pool_distributed_at_key
        • position_impact_pool_distribution_rate_key
        • position_last_src_chain_id_key
        • price_feed_heartbeat_duration_key
        • price_feed_key
        • price_feed_multiplier_key
        • pro_discount_factor_key
        • pro_trader_tier_key
        • reserve_factor_key
        • saved_funding_factor_per_second_key
        • shift_gas_limit_key
        • single_swap_gas_limit_key
        • stable_price_key
        • subaccount_action_count_key
        • subaccount_auto_top_up_amount_key
        • subaccount_expires_at_key
        • subaccount_list_key
        • swap_fee_factor_key
        • swap_impact_exponent_factor_key
        • swap_impact_factor_key
        • swap_impact_pool_amount_key
        • swap_order_gas_limit_key
        • sync_config_feature_disabled_key
        • sync_config_latest_update_id_key
        • sync_config_market_disabled_key
        • sync_config_market_parameter_disabled_key
        • sync_config_parameter_disabled_key
        • sync_config_update_completed_key
        • threshold_for_decrease_funding_key
        • threshold_for_stable_funding_key
        • token_transfer_gas_limit_key
        • total_pending_impact_amount_key
        • update_order_feature_disabled_key
        • virtualTokenIdKey
        • virtual_inventory_for_positions_key
        • virtual_inventory_for_swaps_key
        • virtual_market_id_key
        • virtual_token_id_key
        • withdraw_gas_limit_key
        • withdrawable_buyback_token_amount_key
        • withdrawal_fee_factor_key
        • withdrawal_gas_limit_key
      • gmx.order
        • base_order
        • decrease_order
        • increase_order
        • order_argument_parser
        • sltp_order
        • swap_order
      • gmx.retry
        • make_gmx_api_request
      • gmx.synthetic_tokens
        • fetch_gmx_synthetic_tokens
        • get_gmx_synthetic_token_by_address
        • get_gmx_synthetic_token_by_symbol
        • get_supported_gmx_chains
        • reset_gmx_token_cache
        • GMXSyntheticTokenDetails
        • GMXTokenFetchError
      • gmx.testing
      • gmx.trading
        • GMXTrading
      • gmx.types
      • gmx.utils
        • calculate_estimated_liquidation_price
        • convert_raw_price_to_usd
        • convert_usd_to_raw_price
        • determine_swap_route
        • find_dictionary_by_key_value
        • format_position_for_display
        • get_oracle_address
        • get_positions
        • transform_open_position_to_order_parameters
    • Hyperliquid API
      • hyperliquid.vault
        • HYPERLIQUID_API_URL
        • HYPERLIQUID_TESTNET_API_URL
        • HYPERLIQUID_STATS_URL
        • HYPERLIQUID_STATS_TESTNET_URL
        • fetch_all_vaults
        • HyperliquidVault
        • PortfolioHistory
        • VaultFollower
        • VaultInfo
        • VaultSortKey
        • VaultSummary
      • hyperliquid.position
        • MAX_FILLS_PER_REQUEST
        • MAX_TOTAL_FILLS
        • fetch_vault_fills
        • fetch_vault_fills_iterator
        • get_position_summary
        • reconstruct_position_history
        • validate_position_reconstruction
        • Fill
        • PositionDirection
        • PositionEvent
        • PositionEventType
      • hyperliquid.position_analysis
        • create_account_dataframe
      • hyperliquid.session
        • DEFAULT_RETRIES
        • DEFAULT_BACKOFF_FACTOR
        • DEFAULT_REQUESTS_PER_SECOND
        • create_hyperliquid_session
    • Orderly API
      • orderly.api
        • encode_key
        • OrderlyApiClient
        • Signer
      • orderly.vault
        • deposit
        • withdraw
        • OrderlyVault
      • orderly.constants
        • MESSAGE_TYPES
    • 1delta API
      • one_delta.constants
        • Exchange
        • TradeOperation
        • TradeType
      • one_delta.deployment
        • fetch_deployment
        • OneDeltaDeployment
      • one_delta.position
        • approve
        • close_short_position
        • open_short_position
        • reduce_short_position
      • one_delta.price
        • estimate_buy_received_amount
        • estimate_sell_received_amount
        • OneDeltaPriceHelper
      • one_delta.lending
        • supply
        • withdraw
      • one_delta.utils
        • encode_path
        • encode_quoter_path
    • Gnosis Safe API
      • safe.deployment
        • add_new_safe_owners
        • deploy_safe
        • disable_safe_module
        • fetch_safe_deployment
      • safe.trace
        • assert_execute_module_success
      • safe.execute
        • execute_safe_tx
      • safe.safe_compat
        • create_safe_ethereum_client
      • safe.simulate
        • simulate_safe_execution_anvil
    • Vault framework
      • vault.base
        • TradingUniverse
        • VaultBase
        • VaultFlowManager
        • VaultHistoricalRead
        • VaultHistoricalReader
        • VaultInfo
        • VaultPortfolio
        • VaultReadCondition
        • VaultSpec
      • vault.risk
        • VAULT_PROTOCOL_RISK_MATRIX
        • VAULT_SPECIFIC_RISK
        • BROKEN_VAULT_CONTRACTS
        • get_vault_risk
        • VaultTechnicalRisk
      • vault.fee
        • VAULT_PROTOCOL_FEE_MATRIX
        • BROKEN_FEE_DATA
        • get_vault_fee_mode
        • FeeData
        • VaultFeeMode
      • vault.deposit_redeem
        • DepositRedeemEventAnalysis
        • DepositRedeemEventFailure
        • DepositRequest
        • DepositTicket
        • RedemptionRequest
        • RedemptionTicket
        • VaultDepositManager
        • CannotParseRedemptionTransaction
        • VaultTransactionFailed
      • vault.vaultdb
        • has_good_fee_data
        • read_default_vault_prices
        • VaultDatabase
        • VaultRow
      • vault.valuation
        • NetAssetValueCalculator
        • PortfolioValuation
        • Route
        • SwapMatrix
        • UniswapV2Router02Quoter
        • UniswapV3Quoter
        • ValuationMulticallWrapper
        • ValuationQuoter
        • NoRouteFound
      • vault.historical
        • DEFAULT_BLACK_LIST
        • pformat_scan_result
        • scan_historical_prices_to_parquet
        • ParquetScanResult
        • VaultHistoricalReadMulticaller
        • VaultReadNotSupported
      • vault.lower_case_dict
        • LowercaseDict
      • vault.mass_buyer
        • buy_tokens
        • create_buy_portfolio
        • BuyResult
    • ERC-4626 API
      • erc_4626.vault
        • KNOWN_SHARE_TOKEN_ERROR_MESSAGES
        • ERC4626HistoricalReader
        • ERC4626Vault
        • ERC4626VaultInfo
        • VaultReaderState
      • erc_4626.deposit_redeem
        • ERC4626DepositManager
        • ERC4626DepositRequest
        • ERC4626DepositTicket
        • ERC4626RedemptionRequest
        • ERC4626RedemptionTicket
      • erc_4626.flow
        • approve_and_deposit_4626
        • approve_and_redeem_4626
        • deposit_4626
        • redeem_4626
      • erc_4626.analysis
        • analyse_4626_flow_transaction
      • erc_4626.hypersync_discovery
        • HypersyncVaultDiscover
        • HypersyncCrappedOut
      • erc_4626.core
        • get_deployed_erc_4626_contract
        • get_erc_4626_contract
        • get_vault_protocol_name
        • ERC4262VaultDetection
        • ERC4626Feature
      • erc_4626.classification
        • CHAIN_RESTRICTED_PROBES
        • HARDCODED_PROTOCOLS
        • create_probe_calls
        • create_vault_instance
        • create_vault_instance_autodetect
        • detect_vault_features
        • identify_vault_features
        • probe_vaults
        • VaultFeatureProbe
      • erc_4626.scan
        • create_vault_scan_record
        • create_vault_scan_record_subprocess
      • erc_4626.estimate
        • estimate_4626_deposit
        • estimate_4626_redeem
        • estimate_value_by_share_price
      • erc_4626.profit_and_loss
        • estimate_4626_profitability
        • estimate_4626_recent_profitability
        • ERC4626Profitability
    • Enzyme protocol API
      • enzyme.deployment
        • POLYGON_DEPLOYMENT
        • ARBITRUM_DEPLOYMENT
        • ETHEREUM_DEPLOYMENT
        • EnzymeContracts
        • EnzymeDeployment
        • RateAsset
        • VaultPolicyConfiguration
        • EnzymeDeploymentError
      • enzyme.vault
        • Vault
      • enzyme.integration_manager
        • IntegrationManagerActionId
      • enzyme.events
        • fetch_vault_balance_events
        • fetch_vault_balances
        • Deposit
        • EnzymeBalanceEvent
        • LiveBalance
        • Redemption
      • enzyme.price_feed
        • fetch_price_feeds
        • fetch_updated_price_feed
        • EnzymePriceFeed
        • UnsupportedBaseAsset
      • enzyme.generic_adapter
        • encode_call_on_integration_args
        • encode_generic_adapter_execute_calls_args
        • execute_calls_for_generic_adapter
      • enzyme.generic_adapter_vault
        • bind_vault
        • deploy_generic_adapter_with_guard
        • deploy_guard
        • deploy_vault_with_generic_adapter
        • whitelist_sender_receiver
      • enzyme.utils
        • convert_rate_to_scaled_per_second_rate
      • enzyme.erc20
        • prepare_approve
        • prepare_transfer
        • prepare_transfer_sneaky
      • enzyme.uniswap_v2
        • prepare_swap
      • enzyme.policy
        • create_safe_default_policy_configuration_for_generic_adapter
        • encode_single_address_list_policy_args
        • get_vault_policies
        • update_adapter_policy
        • AddressListUpdateType
      • enzyme.vault_controlled_wallet
        • EnzymeVaultTransaction
        • VaultControlledWallet
    • Velvet Capital API
      • velvet.vault
        • VelvetVault
        • VelvetVaultInfo
        • VelvetBadConfig
      • velvet.config
        • VELVET_GAS_EXTRA_SAFETY_MARGIN
      • velvet.deposit
        • deposit_to_velvet
        • VelvetDepositError
      • velvet.redeem
        • redeem_from_velvet_velvet
        • VelvetRedemptionError
      • velvet.enso
        • swap_with_velvet_and_enso
        • swap_with_velvet_intent
        • VelvetSwapError
      • velvet.analysis
        • analyse_trade_by_receipt_generic
      • velvet.logging_retry
        • LoggingRetry
    • Morpho API
      • morpho.vault
    • Chainlink API
      • chainlink.round_data
        • fetch_chainlink_round_data
        • ChainLinkLatestRoundData
      • chainlink.token_price
        • get_native_token_price_with_chainlink
        • get_token_price_with_chainlink
    • Foundry API
      • foundry.forge
        • DEFAULT_TIMEOUT
        • deploy_contract_with_forge
        • ForgeFailed
    • Etherscan API
      • etherscan.config
        • ETHERSCAN_URLS
        • get_etherscan_address_link
        • get_etherscan_tx_link
        • get_etherscan_url
      • etherscan.validation
        • check_etherscan_api_key
        • EtherscanConfigurationError
      • etherscan.verify
    • HyperSync protocol API
      • hypersync.server
        • HYPERSYNC_SERVES
        • get_hypersync_server
        • is_hypersync_supported_chain
      • hypersync.hypersync_timestamp
        • fetch_block_timestamps_using_hypersync_cached
        • fetch_block_timestamps_using_hypersync_cached_async
        • get_block_timestamps_using_hypersync
        • get_block_timestamps_using_hypersync_async
        • get_hypersync_block_height
        • HypersyncFlaky
      • hypersync.utils
        • configure_hypersync_from_env
        • HypersyncBackendConfig
    • Token analysis API
      • token_analysis.tokenrisk
        • DEFAULT_AVOID_RISKS
        • has_risk_flags
        • is_tradeable_token
        • CachedTokenRisk
        • TokenRisk
        • TokenRiskFlags
        • TokenRiskReply
        • TokenRiskSmartContractInfo
        • TokenRiskError
      • token_analysis.tokensniffer
        • is_tradeable_token
        • CachedTokenSniffer
        • TokenSniffer
        • TokenSnifferReply
        • TokenSnifferError
      • token_analysis.blacklist
        • RUGPULLS
        • is_blacklisted_address
        • is_blacklisted_symbol
      • token_analysis.trusted_tokens
        • KNOWN_GOOD_TOKENS
    • Solidity event reader
      • event_reader.multithread
        • MultithreadEventReader
      • event_reader.multicall_batcher
        • MULTICALL_DEPLOY_ADDRESS
        • MULTICALL_CHAIN_ADDRESSES
        • WTF_RETRY_EXCEPTIONS_MESSAGE_CLUES
        • call_multicall
        • call_multicall_batched_single_thread
        • call_multicall_debug_single_thread
        • call_multicall_encoded
        • get_multicall_block_number
        • get_multicall_contract
        • read_multicall_chunked
        • read_multicall_historical
        • read_multicall_historical_stateful
        • BatchCallState
        • CombinedEncodedCallResult
        • EncodedCall
        • EncodedCallResult
        • MulticallHistoricalTask
        • MulticallWrapper
        • MultiprocessMulticallReader
        • MulticallNonRetryable
        • MulticallRetryable
        • MulticallStateProblem
      • event_reader.reader
        • extract_events
        • extract_events_concurrent
        • extract_timestamps_json_rpc
        • prepare_filter
        • read_events
        • read_events_concurrent
        • ProgressUpdate
        • Web3EventReader
        • BadTimestampValueReturned
        • ReadingLogsFailed
        • TimestampNotFound
      • event_reader.logresult
        • decode_log
        • LogContext
        • LogResult
      • event_reader.filter
        • Filter
      • event_reader.progress_update
        • PrintProgressUpdate
        • TQDMProgressUpdate
      • event_reader.conversion
        • convert_address_to_bytes32
        • convert_bytes32_to_address
        • convert_bytes32_to_uint
        • convert_int256_bytes_to_int
        • convert_jsonrpc_value_to_int
        • convert_solidity_bytes_to_string
        • convert_string_to_bytes32
        • convert_uin256_to_bytes
        • convert_uint256_bytes_to_address
        • convert_uint256_hex_string_to_address
        • convert_uint256_string_to_address
        • convert_uint256_string_to_int
        • decode_data
        • BadAddressError
      • event_reader.fast_json_rpc
        • get_last_headers
        • patch_provider
        • patch_web3
        • PartialHttpResponseException
      • event_reader.block_header
        • BlockHeader
      • event_reader.block_time
        • measure_block_time
      • event_reader.multicall_timestamp
        • fetch_block_timestamps_multiprocess
        • fetch_block_timestamps_multiprocess_auto_backend
      • event_reader.block_data_store
        • BlockDataStore
      • event_reader.reorganisation_monitor
        • create_reorganisation_monitor
        • ChainReorganisationResolution
        • GraphQLReorganisationMonitor
        • JSONRPCReorganisationMonitor
        • MockChainAndReorganisationMonitor
        • ReorganisationMonitor
        • BlockNotAvailable
        • ChainReorganisationDetected
        • ReorganisationResolutionFailure
        • TooLongRange
      • event_reader.parquet_block_data_store
        • ParquetDatasetBlockDataStore
        • NoGapsWritten
      • event_reader.csv_block_data_store
        • CSVDatasetBlockDataStore
        • NoGapsWritten
      • event_reader.web3factory
        • SimpleWeb3Factory
        • TunedWeb3Factory
        • Web3Factory
      • event_reader.web3worker
        • create_thread_pool_executor
        • get_worker_web3
      • event_reader.state
        • ScanState
      • event_reader.json_state
        • JSONFileScanState
    • Price oracle
      • price_oracle.oracle
        • time_weighted_average_price
        • BasePriceOracle
        • FixedPriceOracle
        • PriceEntry
        • PriceFunction
        • PriceOracle
        • PriceSource
        • TrustedStablecoinOracle
        • DataPeriodTooShort
        • DataTooOld
        • NotEnoughData
        • PriceCalculationError
    • Research, metrics and charts
      • research.candle
        • convert_to_ohlcv_candles
      • research.sparkline
        • export_sparkline_as_png
        • export_sparkline_as_svg
        • extract_vault_price_data
        • render_sparkline_gradient
        • render_sparkline_simple
        • upload_to_r2_compressed
      • research.value_table
        • format_series_as_multi_column_grid
      • research.vault_benchmark
        • visualise_vault_return_benchmark
      • research.vault_correlation
        • choose_vaults_for_correlation_comparison
        • visualise_vault_returns_correlation
      • research.vault_metrics
        • LOOKBACK_AND_TOLERANCES
        • analyse_vault
        • calculate_cumulative_returns
        • calculate_daily_returns_for_all_vaults
        • calculate_hourly_returns_for_all_vaults
        • calculate_lifetime_metrics
        • calculate_net_profit
        • calculate_net_returns_from_gross
        • calculate_net_returns_from_price
        • calculate_performance_metrics_for_all_vaults
        • calculate_period_metrics
        • calculate_returns
        • calculate_sharpe_ratio_from_returns
        • calculate_vault_rankings
        • calculate_vault_record
        • clean_lifetime_metrics
        • combine_return_columns
        • create_fee_label
        • cross_check_data
        • display_vault_chart_and_tearsheet
        • export_lifetime_row
        • fmt_one_decimal_or_int
        • format_ffn_performance_stats
        • format_lifetime_table
        • format_vault_database
        • format_vault_header
        • get_period_metrics
        • resample_returns
        • slugify_protocol
        • slugify_vault
        • slugify_vaults
        • zero_out_near_zero_prices
        • PeriodMetrics
        • VaultReport
      • research.wrangle_vault_prices
        • PRIORITY_SORT_IDS
        • VAULT_STATE_COLUMNS
        • add_denormalised_vault_data
        • assign_unique_names
        • calculate_vault_returns
        • check_missing_metadata
        • clean_by_tvl
        • clean_returns
        • ensure_vault_state_columns
        • filter_unneeded_row
        • filter_vaults_by_stablecoin
        • fix_outlier_share_prices
        • forward_fill_vault
        • generate_cleaned_vault_datasets
        • get_vaults_by_id
        • process_raw_vault_scan_data
        • remove_inactive_lead_time
        • sort_and_index_vault_prices
      • research.rolling_returns
        • calculate_daily_returns_for_all_vaults
        • calculate_rolling_returns
        • visualise_rolling_returns
        • wrap_legend_text
      • research.markdown_table
        • format_markdown_table
        • get_address_link
      • research.notebook
        • set_large_plotly_chart_font
        • set_notebook_logging
        • setup_charting_and_output
        • OutputMode
  • Vault protocols
    • aarnâ API
      • erc_4626.vault_protocol.aarna.vault
        • AarnaVault
    • Accountable API
      • erc_4626.vault_protocol.accountable.vault
        • AccountableVault
    • Altura API
      • erc_4626.vault_protocol.altura.vault
        • AlturaVault
    • Avant API
      • erc_4626.vault_protocol.avant.vault
        • AvantVault
    • AUTO Finance API
      • erc_4626.vault_protocol.autopool.vault
        • AutoPoolVault
    • Brink API
      • erc_4626.vault_protocol.brink.vault
        • BrinkVault
    • CAP API
      • erc_4626.vault_protocol.cap.vault
        • CAPVault
    • Centrifuge API
      • erc_4626.vault_protocol.centrifuge.vault
        • CentrifugeVault
      • erc_4626.vault_protocol.centrifuge.centrifuge_utils
        • fetch_pool_id
        • fetch_tranche_id
    • cSigma Finance API
      • erc_4626.vault_protocol.csigma.vault
        • CsigmaVault
    • Curvance API
      • erc_4626.vault_protocol.curvance.vault
        • CurvanceVault
    • D2 Finance API
      • erc_4626.vault_protocol.d2.vault
        • D2HistoricalReader
        • D2Vault
        • Epoch
    • Deltr API
      • erc_4626.vault_protocol.deltr.vault
        • DeltrVault
    • Dolomite API
      • erc_4626.vault_protocol.dolomite.vault
        • DolomiteVault
    • Ethena API
      • erc_4626.vault_protocol.ethena.vault
        • EthenaVault
    • Euler API
      • erc_4626.vault_protocol.euler.vault
        • EulerEarnVault
        • EulerVault
      • erc_4626.vault_protocol.euler.offchain_metadata
        • fetch_euler_vault_metadata
        • fetch_euler_vaults_file_for_chain
        • EulerVaultMetadata
    • ETH Strategy API
      • erc_4626.vault_protocol.eth_strategy.vault
        • EthStrategyVault
    • Fluid API
      • erc_4626.vault_protocol.fluid.vault
        • FluidVault
    • Foxify API
      • erc_4626.vault_protocol.foxify.vault
        • FoxifyVault
    • Frax API
      • erc_4626.vault_protocol.frax.vault
        • FraxVault
    • Gains and Ostium vault API
      • erc_4626.vault_protocol.gains.vault
        • GainsHistoricalReader
        • GainsVault
        • OstiumVault
      • erc_4626.vault_protocol.gains.deposit_redeem
        • GainsDepositManager
        • GainsRedemptionRequest
        • GainsRedemptionTicket
      • erc_4626.vault_protocol.gains.testing
        • force_next_gains_epoch
    • Gearbox API
      • erc_4626.vault_protocol.gearbox.vault
        • GearboxVault
    • Goat protocol API
      • erc_4626.vault_protocol.goat.vault
        • GoatVault
    • Harvest Finance API
      • erc_4626.vault_protocol.harvest.vault
        • HarvestVault
    • Hyperlend API
      • erc_4626.vault_protocol.hyperlend.vault
        • WrappedHLPVault
    • HypurrFi API
      • erc_4626.vault_protocol.hypurrfi.vault
        • HypurrFiVault
    • infiniFi API
      • erc_4626.vault_protocol.infinifi.vault
        • InfiniFiVault
    • IPOR protocol API
      • erc_4626.vault_protocol.ipor.vault
        • IPORVault
        • IPORVaultHistoricalReader
    • Lagoon Finance API
      • erc_4626.vault_protocol.lagoon.vault
        • DEFAULT_LAGOON_POST_VALUATION_GAS
        • DEFAULT_LAGOON_SETTLE_GAS
        • LagoonFlowManager
        • LagoonVault
        • LagoonVaultInfo
        • LagoonVersion
      • erc_4626.vault_protocol.lagoon.deposit_redeem
        • ERC7540DepositManager
        • ERC7540DepositRequest
        • ERC7540DepositTicket
        • ERC7540RedemptionRequest
        • ERC7540RedemptionTicket
      • erc_4626.vault_protocol.lagoon.config
        • get_lagoon_chain_config
        • LagoonChainConfig
      • erc_4626.vault_protocol.lagoon.deployment
        • LAGOON_BEACON_PROXY_FACTORIES
        • deploy_automated_lagoon_vault
        • deploy_fresh_lagoon_protocol
        • deploy_lagoon
        • deploy_lagoon_protocol_registry
        • deploy_safe_trading_strategy_module
        • setup_guard
        • LagoonAutomatedDeployment
        • LagoonDeploymentParameters
      • erc_4626.vault_protocol.lagoon.analysis
        • analyse_vault_flow_in_settlement
        • LagoonSettlementEvent
      • erc_4626.vault_protocol.lagoon.beacon_proxy
        • deploy_beacon_proxy
      • erc_4626.vault_protocol.lagoon.cowswap
        • approve_cow_swap
        • execute_presigned_cowswap_order
        • presign_and_broadcast
        • presign_and_execute_cowswap
        • presign_cowswap
      • erc_4626.vault_protocol.lagoon.testing
        • force_lagoon_settle
        • fund_lagoon_vault
    • Liquidity Royalty Tranching API
      • erc_4626.vault_protocol.liquidity_royalty.vault
        • LiquidityRoyalyJuniorVault
    • Llama Lend API
      • erc_4626.vault_protocol.llama_lend.vault
        • LlamaLendVault
    • Mainstreet Finance API
      • erc_4626.vault_protocol.mainstreet.vault
        • MAINSTREET_VAULT_NAMES
        • MainstreetVault
    • Maple API
      • erc_4626.vault_protocol.maple.vault
        • SyrupVault
      • erc_4626.vault_protocol.maple.aqru_vault
        • AQRUPoolVault
    • Morpho API
      • erc_4626.vault_protocol.morpho.vault_v1
        • MorphoV1Vault
        • MorphoV1VaultHistoricalReader
        • MorphoVault
        • MorphoVaultHistoricalReader
      • erc_4626.vault_protocol.morpho.vault_v2
        • MAX_PERFORMANCE_FEE
        • MAX_MANAGEMENT_FEE
        • FEE_DENOMINATOR
        • MorphoV2Vault
    • NashPoint API
      • erc_4626.vault_protocol.nashpoint.vault
        • NashpointNodeVault
    • Plutus API
      • erc_4626.vault_protocol.plutus.vault
        • PlutusHistoricalReader
        • PlutusVault
    • Renalta API
      • erc_4626.vault_protocol.renalta.vault
        • RenaltaVault
    • Resolv API
      • erc_4626.vault_protocol.resolv.vault
        • ResolvVault
    • Royco API
      • erc_4626.vault_protocol.royco.vault
        • RoycoVault
    • Sentiment API
      • erc_4626.vault_protocol.sentiment.vault
        • SentimentVault
    • Silo Finance API
      • erc_4626.vault_protocol.silo.vault
        • SiloVault
    • Singularity Finance API
      • erc_4626.vault_protocol.singularity.vault
        • SingularityVault
    • Sky API
      • erc_4626.vault_protocol.sky.vault
        • SkyVault
    • Spark API
      • erc_4626.vault_protocol.spark.vault
        • SparkVault
    • Spectra API
      • erc_4626.vault_protocol.spectra.erc4626_wrapper_vault
        • SPECTRA_VAULT_NAMES
        • SpectraERC4626WrapperVault
    • Summer.fi API
      • erc_4626.vault_protocol.summer.vault
        • SummerVault
    • Superform API
      • erc_4626.vault_protocol.superform.vault
        • SuperformVault
    • Teller protocol API
      • erc_4626.vault_protocol.teller.vault
        • TellerVault
    • Term Finance API
      • erc_4626.vault_protocol.term_finance.vault
        • TermFinanceVault
    • TrueFi API
      • erc_4626.vault_protocol.truefi.vault
        • TrueFiVault
    • Umami API
      • erc_4626.vault_protocol.umami.vault
        • UmamiDepositManager
        • UmamiVault
    • Untangle Finance API
      • erc_4626.vault_protocol.untangle.vault
        • ModuleAddressMap
        • UntangleVault
    • Upshift protocol API
      • erc_4626.vault_protocol.upshift.vault
        • UpshiftVault
    • USDai protocol API
      • erc_4626.vault_protocol.usdai.vault
        • StakedUSDaiVault
    • USDD API
      • erc_4626.vault_protocol.usdd.vault
        • USSDVault
    • USDX Money API
      • erc_4626.vault_protocol.usdx_money.vault
        • USDXMoneyVault
    • Yearn vaults API
      • erc_4626.vault_protocol.yearn.vault
        • YearnV3Vault
      • erc_4626.vault_protocol.yearn.morpho_compounder
        • YearnMorphoCompounderStrategy
    • YieldFi API
      • erc_4626.vault_protocol.yieldfi.vault
        • YieldFiVault
    • YieldNest API
      • erc_4626.vault_protocol.yieldnest.vault
        • YNRWAX_VAULT_ADDRESS
        • YNRWAX_MATURITY_DATE
        • YieldNestVault
    • Yo API
      • erc_4626.vault_protocol.yo.vault
        • YoVault
    • Yuzu Money API
      • erc_4626.vault_protocol.yuzu_money.vault
        • YuzuMoneyVault
    • ZeroLend API
      • erc_4626.vault_protocol.zerolend.vault
        • ZeroLendVault
  • Tutorials
    • ERC-20 token transfer with web3.py
    • Swap tokens on Uniswap v3
    • Swap tokens on Uniswap v2 compatible DEXes
    • Chainlink price feed reading
    • Chainlink reading blockchain native token price
    • Uniswap v3 price (minimal)
    • Uniswap v3 price impact estimation
    • Uniswap v2 live price with web3.py
    • Uniswap v3 liquidity analysis
    • Uniswap v3 OHCLV candle price analysis
    • Uniswap v3 historical price estimation
    • Uniswap v2 historical swaps and pairs event reading
    • Uniswap v2 reading swaps real-time (minimal)
    • Uniswap v2 reading real-time swaps and new pairs
    • PancakeSwap follow live trades programmatically
    • Aave V3 Interest Analysis
    • Aave V3 liquidations
    • GMX: swap tokens
    • GMX Price Analysis Using eth_defi’s native GMX Integration
    • Lagoon and CowSwap integration
    • ERC-4626: current APY of a vault
    • ERC-4626: historical APY of a vault
    • ERC-4626: scanning vault data
    • ERC-4626: vaults across all chains
    • ERC-4626: examine vault historical performance
    • ERC-4626: best performing stablecoin vaults
    • ERC-4626: vault report for blog posts
    • ERC-4626: all vaults on Arbitrum
    • ERC-4626: all vaults on Mantle
    • ERC-4626: analyse performance of individual vaults
    • ERC-4626: analyse performance of individual vaults
    • Fija vault analysis
    • ERC-4626 deposit and redeem
    • Vault historical data reading
    • Setting up
    • ERC-4626: list all vaults
    • Hyperliquid Vault PnL Analysis
    • Enzyme reading all vaults on a blockchain
    • Enzyme vault deployment
    • JSON-RPC node integrity verifier for EVM blockchains
    • Multicall3: Doing fast chain data reading with Web3.py
    • Solidity event high-speed multithread reading
    • MEV protection and multiple JSON-RPCs configuration
  • Developer guide
  • Troubleshooting
  • Related projects
Back to top

identify_vault_features

Documentation for eth_defi.erc_4626.classification.identify_vault_features function.

identify_vault_features(address, calls, debug_text)

Based on multicall results, create the feature flags for the vault..

Parameters
  • calls (dict[str, eth_defi.event_reader.multicall_batcher.EncodedCallResult]) – Call name -> result

  • address (eth_typing.evm.HexAddress) –

  • debug_text (str | None) –

Return type

set[eth_defi.erc_4626.core.ERC4626Feature]

Next
probe_vaults
Previous
detect_vault_features

Created and maintained by Trading Strategy