defi-state-querier 0.5.18__tar.gz → 0.5.20__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/PKG-INFO +1 -1
- defi_state_querier-0.5.20/src/defi_services/__init__.py +1 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/chain_constant.py +6 -1
- defi_state_querier-0.5.20/src/defi_services/constants/network_constants.py +58 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/token_constant.py +3 -1
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/cosmos_state_processor.py +3 -2
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/ton_state_processor.py +4 -3
- defi_state_querier-0.5.20/src/defi_services/jobs/tcv.py +144 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/aave_v2_services.py +3 -3
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/granary_services.py +3 -3
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/morpho_aave_v2_services.py +3 -3
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/morpho_aave_v3_services.py +2 -2
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/trava_services.py +2 -2
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/uwu_services.py +3 -3
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/valas_services.py +2 -2
- defi_state_querier-0.5.20/src/defi_services/services/multicall/multicall_v2.py +179 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/tcv_vault_services.py +1 -2
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/arbitrum/tcv_arb.py +6 -6
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_state_querier.egg-info/PKG-INFO +1 -1
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_state_querier.egg-info/SOURCES.txt +7 -7
- defi_state_querier-0.5.18/src/defi_services/__init__.py +0 -1
- defi_state_querier-0.5.18/src/defi_services/constants/network_constants.py +0 -399
- defi_state_querier-0.5.18/src/defi_services/jobs/tcv.py +0 -110
- defi_state_querier-0.5.18/src/defi_services/services/multicall/multicall_v2.py +0 -496
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/LICENSE +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/README.md +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/pyproject.toml +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/setup.cfg +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/setup.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/biswap/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/biswap/biswap_masterchef_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/factory_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/masterchef_v0_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/masterchef_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/nft_token_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/pancakeswap_lp_token_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/pancakeswap_masterchef_v2_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/pancakeswap_router_v2_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/pancakeswap_v2_factory_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/pancakeswap/v3_pool_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/quickswap/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/quickswap/factory_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/quickswap/nft_token_manager.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/quickswap/pool_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/spookyswap/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/spookyswap/masterchef_v2_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/spookyswap/masterchef_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/sushiswap/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/sushiswap/factory_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/sushiswap/masterchef_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/sushiswap/masterchef_v2_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/sushiswap/minichef_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/uniswap/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/uniswap/factory_v2_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/uniswap/factory_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/uniswap/nft_token_manager_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/dex/uniswap/pool_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/aave_incentives_controller.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/aave_oracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/atoken.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/avalanche_atoken.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/default_reserve_interest_rate_strategy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/lending_pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_addresses_provider.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_addresses_provider_registry.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_configurator.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/oracle_anchor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/stable_debt_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/uniswap_liquidity_swap_adapter.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/uniswap_repay_adapter.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2/variable_debt_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2_permissioned/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2_permissioned/aave_oracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v2_permissioned/permission_manager.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/aave_oracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_incentives_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_lending_pool_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_oracle_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/atoken.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/default_reserve_interest_rate_strategy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/pool_addresses_provider.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/pool_addresses_provider_registry.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/pool_configurator.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/price_oracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/rewards_controller.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/stable_debt_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/aave_v3/variable_debt_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/all_aave_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/gho/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/gho/gho_a_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/gho/gho_discount_rate_strategy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/gho/gho_flash_minter.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/gho/gho_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave/gho/gho_variable_debt_token.py +0 -0
- {defi_state_querier-0.5.18/src/defi_services/abis/lending/aave_v2_and_forlks → defi_state_querier-0.5.20/src/defi_services/abis/lending/aave_v2_and_forks}/__init__.py +0 -0
- {defi_state_querier-0.5.18/src/defi_services/abis/lending/aave_v2_and_forlks → defi_state_querier-0.5.20/src/defi_services/abis/lending/aave_v2_and_forks}/aave_v2_event_abi.py +0 -0
- {defi_state_querier-0.5.18/src/defi_services/abis/lending/aave_v2_and_forlks → defi_state_querier-0.5.20/src/defi_services/abis/lending/aave_v2_and_forks}/aave_v2_incentives_abi.py +0 -0
- {defi_state_querier-0.5.18/src/defi_services/abis/lending/aave_v2_and_forlks → defi_state_querier-0.5.20/src/defi_services/abis/lending/aave_v2_and_forks}/lending_pool_abi.py +0 -0
- {defi_state_querier-0.5.18/src/defi_services/abis/lending/aave_v2_and_forlks → defi_state_querier-0.5.20/src/defi_services/abis/lending/aave_v2_and_forks}/oracle_abi.py +0 -0
- {defi_state_querier-0.5.18/src/defi_services/abis/lending/aave_v2_and_forlks → defi_state_querier-0.5.20/src/defi_services/abis/lending/aave_v2_and_forks}/staked_incentives_abi.py +0 -0
- {defi_state_querier-0.5.18/src/defi_services/abis/lending/aave_v2_and_forlks → defi_state_querier-0.5.20/src/defi_services/abis/lending/aave_v2_and_forks}/uwu_incentives_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave_v3_forks/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_incentives_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_lending_pool_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_oracle_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/alpaca/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/alpaca/alpaca_fair_launch_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/alpaca/alpaca_vault_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/alpaca/alpaca_vault_config_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/apeswape/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/apeswape/apeswap_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/apeswape/apeswap_event_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/apeswape/apeswap_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/apeswape/apswap_ctoken_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/all_compound_abis.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/comet/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/compound_v3/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/compound_v3/comet_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/compound_v3/comet_ext_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/compound_v3/reward_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/governance/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/governance/comp.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/governance/governor_bravo_delegate.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/governance/governor_bravo_delegator.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/governance/timelock.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/bravodelegate2.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/bravodelegator2.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/comp.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/compoundlens.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/comptroller.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/ctoken.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/dsr_updateable.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/governoralpha.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/governorbravo.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/governorbravodelegator.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/irm_comp_updateable.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/jumpratemodelv2.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/legacyjumpratemodelv2.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/moneymarket.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/newbravodelegate.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/newbravodelegator.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/pricedata.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/pricefeed.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/priceoracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/rep.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/reservoir.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/stablecoininterestratemodel.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/standardinterestratemodel.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/stdcomptroller.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/timelock.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/uni.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/compound/protocol/unitroller.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/cream/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/cream/cream_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/cream/cream_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/granary/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/granary/granary_rewarder_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/iron_bank/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/iron_bank/ctoken_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/iron_bank/iron_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/iron_bank/iron_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/justlend/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/justlend/just_token_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/justlend/justlend_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/liqee/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/liqee/liqee_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/liqee/liqee_event_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/liqee/liqee_lending_data_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/liqee/liqee_token_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/morpho/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/morpho/morpho_aave_v2_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/morpho/morpho_aave_v2_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/morpho/morpho_aave_v3_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/morpho/morpho_compound_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/morpho/morpho_compound_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/morpho/morpho_compound_reward_manager_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/onyx/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/onyx/onyx_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/onyx/onyx_event_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/onyx/onyx_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/onyx/onyx_token_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/other/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/other/chain_link_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/radiant_v2/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/radiant_v2/radiant_v2_incentive_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/silo/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/silo/silo_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/silo/silo_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/silo/silo_repository_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/silo/silo_reward_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/strike/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/strike/strike_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/strike/strike_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/strike/strike_token_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/trava/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/trava/trava_lending_pool_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/trava/trava_oracle_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/valas/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/valas/chef_incentives_controller.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/valas/valas_multi_fee_distribution.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/comptroller_defi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/comptrollerbeacon.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/comptrollerimpl.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/defaultproxyadmin.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/jumpratemodelv2.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/poollens.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/poolregistry.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/poolregistry_implementation.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/poolregistry_proxy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/protocolsharereserve.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/protocolsharereserve_implementation.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/protocolsharereserve_proxy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/rewardsdistributor_defi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/rewardsdistributorimpl.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/riskfund.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/riskfund_implementation.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/riskfund_proxy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/shortfall.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/shortfall_implementation.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/shortfall_proxy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/swaprouter_defi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/vtokenbeacon.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/abi/vtokenimpl.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/all_venus_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/access_control_manager.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/access_controlled_v5.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/access_controlled_v8.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/governor_bravo_delegate.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/governor_bravo_delegator.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/governor_bravo_events.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/governance/timelock.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/venus/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/venus_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/venus_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/venus_lens_abi_v1.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/venus/vtoken_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/wepiggy/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/wepiggy/wepiggy_comptroller_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/wepiggy/wepiggy_distribution_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/wepiggy/wepiggy_lens_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/lending/wepiggy/wepiggy_lens_abi_v2.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/multicall_v3_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/token/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/token/ctoken_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/token/erc20_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/token/erc721_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/incentive_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/event_transfer_shares.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_accounting_oracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_add_allowed_recipient.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_allowed_token_registry.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_anchor_vault.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_aragon_acl.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_aragon_agent.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_aragon_finance.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_aragon_pm.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_aragon_token_manager.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_aragon_voting.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_burner.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_curated_staking_module.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_dao.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_dao_insurance_fund.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_dao_token.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_deposit_security_module.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_easy_track.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_evem_script_executor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_l1_executor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_l1_proxy_admin.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_legacy_oracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_locator.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_multisigs.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_oracle_daemon_config.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_staking_router.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_steth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_stonks.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_token_brigde.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_token_gateway.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_token_reward_program.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_voting_repo.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_withdrawal_vault.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_withdrawl_queue.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lido_wsteth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/tcv_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/trava_vault_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/valuator_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/abis/vault/ve_abi.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/cosmos_decimals_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/db_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/dex_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/dex_info_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/dex_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/lending_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/lending_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/vault_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/entities/vault_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/mongo_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/query_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/time_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/constants/ton_decimals_constant.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/call_state_processor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/multi_call_state_processor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/multi_state_processor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/solana_state_processor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/state_processor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/processors/substrate_state_processor.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/queriers/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/queriers/call_state_querier.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/queriers/solana_state_querier.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/queriers/state_querier.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/queriers/substrate_state_querier.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/jobs/queriers/ton_state_querier.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/cosmos_token_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/dex_info/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/dex_info/pancakeswap_info.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/dex_info/quickswap_info.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/dex_info/spookyswap_info.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/dex_info/sushiswap_info.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/dex_info/uniswap_info.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/pancakeswap_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/pancakeswap_v2_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/pancakeswap_v3_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/quickswap_v2_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/quickswap_v3_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/spookyswap_v2_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/sushiswap_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/sushiswap_v2_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/sushiswap_v3_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/uniswap_v2_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex/uniswap_v3_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/dex_protocol_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/eth/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/eth/eth_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/aave_v3_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/apeswap_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/compound_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/compound_v3_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/cream_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/flux_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/geist_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/iron_bank_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/justlend_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/arbitrum/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/arbitrum/radiant_arbitrum.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/arbitrum/silo_arbitrum.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/arbitrum/wepiggy_arbitrum.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/avalanche/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/avalanche/aave_v2_avalanche.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/avalanche/aave_v3_avalanche.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/avalanche/granary_avalanche.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/avalanche/iron_bank_avalanche.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/cream_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/granary_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/liqee_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/radiant_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/trava_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/valas_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/venus_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/bsc/wepiggy_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/aave_v2_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/aave_v3_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/compound_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/compound_v3_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/flux_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/granary_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/iron_bank_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/liqee_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v2_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v3_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/morpho_compound_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/old_aave_v3_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/onyx_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/radiant_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/silo_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/silo_llama_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/spark_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/strike_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/trava_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/uwu_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/ethereum/wepiggy_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/fantom/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/fantom/aave_v3_ftm.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/fantom/geist_ftm.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/fantom/granary_ftm.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/fantom/trava_ftm.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/optimism/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/optimism/aave_v3_optimism.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/optimism/granary_optimism.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/optimism/iron_bank_optimism.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/optimism/wepiggy_optimism.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/polygon/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/polygon/aave_v2_polygon.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/polygon/aave_v3_polygon.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/tron/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/lending_info/tron/justlend_tron.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/liqee_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/morpho_compound_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/onyx_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/radiant_v2_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/silo_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/spark_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/strike_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/venus_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/lending/wepiggy_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/multicall/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/multicall/batch_queries_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/multicall/state_query_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/nft_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/protocol_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/solana_token_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/substrate_token_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/token_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/trava_vault_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/arbitrum/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/bsc/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/bsc/trava_bsc.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/ethereum/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/ethereum/trava_eth.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/fantom/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/services/vault/vault_info/fantom/trava_ftm.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/__init__.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/apy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/convert_address.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/dict_utils.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/get_fees.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/graph_operations.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/init_dex_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/init_services.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/logger_utils.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/market_service.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/memory_storage.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/sqrt_price_math.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/thread_proxy.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_services/utils/ton_decode_address.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_state_querier.egg-info/dependency_links.txt +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_state_querier.egg-info/requires.txt +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_state_querier.egg-info/top_level.txt +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/tests/test_dex_information.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/tests/test_dex_v2_processor_job.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/tests/test_dex_v3_processor_job.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/tests/test_processor_job.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/tests/test_staking_reward_job.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/tests/test_uniswap_v2.py +0 -0
- {defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/tests/test_uniswap_v3.py +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.5.20"
|
@@ -30,7 +30,12 @@ class Chain:
|
|
30
30
|
moonriver = '0x505'
|
31
31
|
blast = '0xee'
|
32
32
|
oasis_sapphire = '0x5afe'
|
33
|
-
|
33
|
+
zetachain = '0x1b58'
|
34
|
+
zksync = '0x144'
|
35
|
+
oraichain = 'orai'
|
36
|
+
bitcoin = 'bitcoin'
|
37
|
+
cosmos = 'cosmos'
|
38
|
+
ton = 'ton'
|
34
39
|
|
35
40
|
native_decimals = {
|
36
41
|
tron: 6,
|
@@ -0,0 +1,58 @@
|
|
1
|
+
|
2
|
+
from defi_services.constants.chain_constant import Chain
|
3
|
+
|
4
|
+
POLYGON_AAVE_ADDRESS = '0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf'
|
5
|
+
ETHEREUM_AAVE_ADDRESS = '0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9'
|
6
|
+
|
7
|
+
BSC_TRAVA_ADDRESS = '0x75de5f7c91a89c16714017c7443eca20c7a8c295'
|
8
|
+
ETH_TRAVA_ADDRESS = '0xd61afaaa8a69ba541bc4db9c9b40d4142b43b9a4'
|
9
|
+
FTM_TRAVA_ADDRESS = '0xd98bb590bdfabf18c164056c185fbb6be5ee643f'
|
10
|
+
|
11
|
+
BSC_VALAS_ADDRESS = '0xe29a55a6aeff5c8b1beede5bcf2f0cb3af8f91f5'
|
12
|
+
|
13
|
+
BSC_VENUS_ADDRESS = '0xfd36e2c2a6789db23113685031d7f16329158384'
|
14
|
+
BSC_CREAM_ADDRESS = '0x589de0f0ccf905477646599bb3e5c622c84cc0ba'
|
15
|
+
|
16
|
+
FTM_GEIST_ADDRESS = '0x9fad24f572045c7869117160a571b2e50b10d068'
|
17
|
+
|
18
|
+
ETH_COMPOUND_ADDRESS = '0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b'
|
19
|
+
ETH_CREAM_ADDRESS = ''
|
20
|
+
|
21
|
+
NATIVE_TOKEN = '0x0000000000000000000000000000000000000000'
|
22
|
+
|
23
|
+
NATIVE_TOKENS = {
|
24
|
+
Chain.bsc: '0x0000000000000000000000000000000000000000',
|
25
|
+
Chain.ethereum: '0x0000000000000000000000000000000000000000',
|
26
|
+
Chain.fantom: '0x0000000000000000000000000000000000000000',
|
27
|
+
Chain.polygon: '0x0000000000000000000000000000000000000000',
|
28
|
+
Chain.arbitrum: '0x0000000000000000000000000000000000000000',
|
29
|
+
Chain.optimism: '0x0000000000000000000000000000000000000000',
|
30
|
+
Chain.avalanche: '0x0000000000000000000000000000000000000000',
|
31
|
+
Chain.tron: '0x0000000000000000000000000000000000000000',
|
32
|
+
Chain.ton: 'EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c'
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
class MulticallContract:
|
37
|
+
"""
|
38
|
+
References: https://www.multicall3.com/deployments
|
39
|
+
"""
|
40
|
+
|
41
|
+
on_chains_v3 = {
|
42
|
+
Chain.ethereum: '0xca11bde05977b3631167028862be2a173976ca11',
|
43
|
+
Chain.bsc: '0xca11bde05977b3631167028862be2a173976ca11',
|
44
|
+
Chain.polygon: '0xca11bde05977b3631167028862be2a173976ca11',
|
45
|
+
Chain.avalanche: '0xca11bde05977b3631167028862be2a173976ca11',
|
46
|
+
Chain.fantom: '0xca11bde05977b3631167028862be2a173976ca11',
|
47
|
+
Chain.arbitrum: '0xca11bde05977b3631167028862be2a173976ca11',
|
48
|
+
Chain.optimism: '0xca11bde05977b3631167028862be2a173976ca11',
|
49
|
+
Chain.tron: '0x32a4f47a74a6810bd0bf861cabab99656a75de9e',
|
50
|
+
Chain.oasis_sapphire: '0xca11bde05977b3631167028862be2a173976ca11',
|
51
|
+
Chain.zksync: '0xf9cda624fbc7e059355ce98a31693d299facd963'
|
52
|
+
}
|
53
|
+
|
54
|
+
default_address = '0xca11bde05977b3631167028862be2a173976ca11'
|
55
|
+
|
56
|
+
@classmethod
|
57
|
+
def get_multicall_contract(cls, chain_id):
|
58
|
+
return cls.on_chains_v3.get(chain_id, cls.default_address)
|
@@ -45,7 +45,9 @@ class Token:
|
|
45
45
|
Chain.aurora: '0xc9bdeed33cd01541e1eed10f90519d2c06fe3feb',
|
46
46
|
Chain.moonriver: '0x98878b06940ae243284ca214f92bb71a2b032b8a',
|
47
47
|
Chain.blast: '0x4300000000000000000000000000000000000004',
|
48
|
-
Chain.oasis_sapphire: '0x8bc2b030b299964eefb5e1e0b36991352e56d2d3'
|
48
|
+
Chain.oasis_sapphire: '0x8bc2b030b299964eefb5e1e0b36991352e56d2d3',
|
49
|
+
Chain.zetachain: '0x5f0b1a82749cb4e2278ec87f8bf6b618dc71a8bf',
|
50
|
+
Chain.zksync: '0xf00dad97284d0c6f06dc4db3c32454d4292c6813'
|
49
51
|
}
|
50
52
|
|
51
53
|
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import logging
|
2
2
|
|
3
|
+
from defi_services.constants.chain_constant import Chain
|
3
4
|
from defi_services.constants.cosmos_decimals_constant import Denoms, MulticallContract
|
4
|
-
from defi_services.constants.network_constants import Chains
|
5
5
|
from defi_services.services.cosmos_token_services import CosmosTokenServices
|
6
6
|
|
7
7
|
logger = logging.getLogger("CosmosStateProcessor")
|
8
8
|
|
9
|
+
|
9
10
|
class CosmosStateProcessor:
|
10
|
-
def __init__(self, lcd: str, rest_uri: str = None, chain_id: str =
|
11
|
+
def __init__(self, lcd: str, rest_uri: str = None, chain_id: str = Chain.oraichain):
|
11
12
|
self.chain_id = chain_id
|
12
13
|
self.lcd = lcd
|
13
14
|
self.rest_uri = rest_uri
|
@@ -1,18 +1,19 @@
|
|
1
1
|
import logging
|
2
2
|
|
3
|
+
from defi_services.constants.chain_constant import Chain
|
3
4
|
from defi_services.constants.ton_decimals_constant import TonTokens
|
4
|
-
from defi_services.constants.network_constants import
|
5
|
+
from defi_services.constants.network_constants import NATIVE_TOKENS
|
5
6
|
from defi_services.jobs.queriers.ton_state_querier import TonStateQuerier
|
6
7
|
|
7
8
|
logger = logging.getLogger("CosmosStateProcessor")
|
8
9
|
|
10
|
+
|
9
11
|
class TonStateProcessor:
|
10
|
-
def __init__(self, provider_uri: str, chain_id: str =
|
12
|
+
def __init__(self, provider_uri: str, chain_id: str = Chain.ton):
|
11
13
|
self.chain_id = chain_id
|
12
14
|
self.provider_uri = provider_uri
|
13
15
|
self.state_querier = TonStateQuerier(self.provider_uri)
|
14
16
|
|
15
|
-
|
16
17
|
def get_token_balance(self, address, tokens):
|
17
18
|
result = {}
|
18
19
|
if NATIVE_TOKENS[self.chain_id] in tokens:
|
@@ -0,0 +1,144 @@
|
|
1
|
+
from collections import defaultdict
|
2
|
+
|
3
|
+
from defi_services.constants.entities.dex_constant import Dex
|
4
|
+
from defi_services.constants.query_constant import Query
|
5
|
+
from defi_services.jobs.processors.state_processor import StateProcessor
|
6
|
+
|
7
|
+
|
8
|
+
class TCV:
|
9
|
+
def __init__(self, provider_uri, chain_id):
|
10
|
+
self.state_processor = StateProcessor(provider_uri, chain_id)
|
11
|
+
|
12
|
+
def get_tvl_info(
|
13
|
+
self,
|
14
|
+
address,
|
15
|
+
reserves_info,
|
16
|
+
block_number: int = "latest",
|
17
|
+
):
|
18
|
+
lp_token_dict = {information["pool"]: information["poolInfo"] for information in reserves_info.values()}
|
19
|
+
tcv_liquidity_user, dex_lp_info = self.get_tcv_liquidity_user_and_lp_token_info(
|
20
|
+
wallet=address,
|
21
|
+
dex_protocol=Dex.uniswap_v3, lp_token_list=lp_token_dict,
|
22
|
+
block_number=block_number
|
23
|
+
)
|
24
|
+
|
25
|
+
tcv_nfts = {}
|
26
|
+
for vault_address, liquidity_info in tcv_liquidity_user.items():
|
27
|
+
# For optimize
|
28
|
+
liquidity_user = liquidity_info.get('liquidity_user')
|
29
|
+
if not liquidity_user:
|
30
|
+
liquidity_info.update({'tvl': {}})
|
31
|
+
continue
|
32
|
+
|
33
|
+
vault_nft = self.get_user_nft(vault_address, Dex.uniswap_v3, block_number=block_number)
|
34
|
+
tcv_nfts.update(vault_nft)
|
35
|
+
|
36
|
+
nfts_info = self.get_nfts_info(address, Dex.uniswap_v3, tcv_nfts, block_number=block_number)
|
37
|
+
user_balance = self.get_user_token_balance(address, Dex.uniswap_v3, nfts_info, dex_lp_info, block_number=block_number)
|
38
|
+
|
39
|
+
for token_id, info in user_balance.items():
|
40
|
+
pool_address = info['pool_address']
|
41
|
+
addresses = [vault_address_ for vault_address_, info in reserves_info.items() if info['pool'] == pool_address]
|
42
|
+
vault_address = addresses[0] if addresses else None
|
43
|
+
|
44
|
+
if (not vault_address) or (vault_address not in tcv_liquidity_user):
|
45
|
+
continue
|
46
|
+
|
47
|
+
if tcv_liquidity_user[vault_address].get('tvl') is None:
|
48
|
+
tcv_liquidity_user[vault_address]['tvl'] = defaultdict(lambda: 0)
|
49
|
+
|
50
|
+
tcv_liquidity_user[vault_address]['tvl'][info['token0']] += info['token0_amount']
|
51
|
+
tcv_liquidity_user[vault_address]['tvl'][info['token1']] += info['token1_amount']
|
52
|
+
|
53
|
+
return tcv_liquidity_user
|
54
|
+
|
55
|
+
def get_user_nft(self, wallet, dex_protocol, block_number: int = 'latest'):
|
56
|
+
queries = [
|
57
|
+
{
|
58
|
+
'query_id': f'{dex_protocol}_{Query.dex_user_nft}',
|
59
|
+
"entity_id": dex_protocol,
|
60
|
+
'query_type': Query.dex_user_nft
|
61
|
+
}
|
62
|
+
]
|
63
|
+
|
64
|
+
res = self.state_processor.run(
|
65
|
+
wallet, queries, block_number=block_number,
|
66
|
+
batch_size=100, max_workers=8, ignore_error=True
|
67
|
+
)
|
68
|
+
user_nfts = res[0][Query.dex_user_nft]
|
69
|
+
return user_nfts
|
70
|
+
|
71
|
+
def get_nfts_info(self, wallet, dex_protocol, user_nfts, block_number: int = 'latest'):
|
72
|
+
queries = [
|
73
|
+
{
|
74
|
+
'query_id': f'{dex_protocol}_{Query.dex_user_info}',
|
75
|
+
"entity_id": dex_protocol,
|
76
|
+
'query_type': Query.dex_user_info,
|
77
|
+
'supplied_data': {
|
78
|
+
'user_data': user_nfts,
|
79
|
+
}
|
80
|
+
}
|
81
|
+
]
|
82
|
+
|
83
|
+
res = self.state_processor.run(
|
84
|
+
wallet, queries, block_number=block_number,
|
85
|
+
batch_size=100, max_workers=8, ignore_error=True
|
86
|
+
)
|
87
|
+
nfts_info = res[0][Query.dex_user_info]
|
88
|
+
return nfts_info
|
89
|
+
|
90
|
+
def get_user_token_balance(self, wallet, dex_protocol, nfts_info, lp_token_info, block_number: int = 'latest'):
|
91
|
+
queries = [
|
92
|
+
{
|
93
|
+
'query_id': f'{dex_protocol}_{Query.dex_user_token_balance}',
|
94
|
+
"entity_id": dex_protocol,
|
95
|
+
'query_type': Query.dex_user_token_balance,
|
96
|
+
'supplied_data': {
|
97
|
+
'user_data': nfts_info,
|
98
|
+
'lp_token_info': lp_token_info
|
99
|
+
}
|
100
|
+
}
|
101
|
+
]
|
102
|
+
|
103
|
+
res = self.state_processor.run(
|
104
|
+
wallet, queries, block_number=block_number,
|
105
|
+
batch_size=100, max_workers=8, ignore_error=True
|
106
|
+
)
|
107
|
+
user_balance = res[0][Query.dex_user_token_balance]
|
108
|
+
return user_balance
|
109
|
+
|
110
|
+
def get_tcv_liquidity_user_and_lp_token_info(self, wallet, dex_protocol, lp_token_list, block_number: int = 'latest'):
|
111
|
+
queries = [
|
112
|
+
{
|
113
|
+
"query_id": f"tcv-vault_{Query.staking_reward}",
|
114
|
+
"entity_id": "tcv-vault",
|
115
|
+
"query_type": Query.staking_reward
|
116
|
+
},
|
117
|
+
{
|
118
|
+
'query_id': f'{dex_protocol}_{Query.lp_token_info}',
|
119
|
+
"entity_id": dex_protocol,
|
120
|
+
'query_type': Query.lp_token_info,
|
121
|
+
'supplied_data': {
|
122
|
+
'lp_token_info': lp_token_list
|
123
|
+
}
|
124
|
+
},
|
125
|
+
# {
|
126
|
+
# 'query_id': f'{dex_protocol}_{Query.token_pair_balance}',
|
127
|
+
# "entity_id": dex_protocol,
|
128
|
+
# 'query_type': Query.token_pair_balance,
|
129
|
+
# 'supplied_data': {
|
130
|
+
# 'lp_token_info': lp_token_list
|
131
|
+
# }
|
132
|
+
# }
|
133
|
+
]
|
134
|
+
res = self.state_processor.run(
|
135
|
+
address=wallet, queries=queries,
|
136
|
+
block_number=block_number,
|
137
|
+
batch_size=100, max_workers=8,
|
138
|
+
ignore_error=True
|
139
|
+
)
|
140
|
+
data = {r['query_id']: r for r in res}
|
141
|
+
|
142
|
+
tcv_liquidity_user = data.get(f'tcv-vault_{Query.staking_reward}', {}).get(Query.staking_reward)
|
143
|
+
lp_token_info = data.get(f'{dex_protocol}_{Query.lp_token_info}', {}).get(Query.lp_token_info)
|
144
|
+
return tcv_liquidity_user, lp_token_info
|
@@ -3,9 +3,9 @@ import time
|
|
3
3
|
|
4
4
|
from web3 import Web3
|
5
5
|
|
6
|
-
from defi_services.abis.lending.
|
7
|
-
from defi_services.abis.lending.
|
8
|
-
from defi_services.abis.lending.
|
6
|
+
from defi_services.abis.lending.aave_v2_and_forks.aave_v2_incentives_abi import AAVE_V2_INCENTIVES_ABI
|
7
|
+
from defi_services.abis.lending.aave_v2_and_forks.lending_pool_abi import LENDING_POOL_ABI
|
8
|
+
from defi_services.abis.lending.aave_v2_and_forks.oracle_abi import ORACLE_ABI
|
9
9
|
from defi_services.abis.token.erc20_abi import ERC20_ABI
|
10
10
|
from defi_services.constants.chain_constant import Chain
|
11
11
|
from defi_services.constants.db_constant import DBConst
|
@@ -3,9 +3,9 @@ import time
|
|
3
3
|
|
4
4
|
from web3 import Web3
|
5
5
|
|
6
|
-
from defi_services.abis.lending.
|
7
|
-
from defi_services.abis.lending.
|
8
|
-
from defi_services.abis.lending.
|
6
|
+
from defi_services.abis.lending.aave_v2_and_forks.aave_v2_incentives_abi import AAVE_V2_INCENTIVES_ABI
|
7
|
+
from defi_services.abis.lending.aave_v2_and_forks.lending_pool_abi import LENDING_POOL_ABI
|
8
|
+
from defi_services.abis.lending.aave_v2_and_forks.oracle_abi import ORACLE_ABI
|
9
9
|
from defi_services.abis.lending.granary.granary_rewarder_abi import GRANARY_REWARDER_ABI
|
10
10
|
from defi_services.abis.token.erc20_abi import ERC20_ABI
|
11
11
|
from defi_services.constants.chain_constant import Chain
|
@@ -3,9 +3,9 @@ import time
|
|
3
3
|
|
4
4
|
from web3 import Web3
|
5
5
|
|
6
|
-
from defi_services.abis.lending.
|
7
|
-
from defi_services.abis.lending.
|
8
|
-
from defi_services.abis.lending.
|
6
|
+
from defi_services.abis.lending.aave_v2_and_forks.aave_v2_incentives_abi import AAVE_V2_INCENTIVES_ABI
|
7
|
+
from defi_services.abis.lending.aave_v2_and_forks.lending_pool_abi import LENDING_POOL_ABI
|
8
|
+
from defi_services.abis.lending.aave_v2_and_forks.oracle_abi import ORACLE_ABI
|
9
9
|
from defi_services.abis.lending.morpho.morpho_aave_v2_comptroller_abi import MORPHO_AAVE_V2_COMPTROLLER
|
10
10
|
from defi_services.abis.lending.morpho.morpho_aave_v2_lens_abi import MORPHO_AAVE_V2_LENS_ABI
|
11
11
|
from defi_services.abis.token.erc20_abi import ERC20_ABI
|
@@ -3,8 +3,8 @@ import time
|
|
3
3
|
|
4
4
|
from web3 import Web3
|
5
5
|
|
6
|
-
from defi_services.abis.lending.
|
7
|
-
from defi_services.abis.lending.
|
6
|
+
from defi_services.abis.lending.aave_v2_and_forks.aave_v2_incentives_abi import AAVE_V2_INCENTIVES_ABI
|
7
|
+
from defi_services.abis.lending.aave_v2_and_forks.oracle_abi import ORACLE_ABI
|
8
8
|
from defi_services.abis.lending.aave.aave_v3.aave_v3_lending_pool_abi import AAVE_V3_LENDING_POOL_ABI
|
9
9
|
from defi_services.abis.lending.morpho.morpho_aave_v3_comptroller_abi import MORPHO_AAVE_V3_COMPTROLLER_ABI
|
10
10
|
from defi_services.abis.token.erc20_abi import ERC20_ABI
|
@@ -3,8 +3,8 @@ import time
|
|
3
3
|
|
4
4
|
from web3 import Web3
|
5
5
|
|
6
|
-
from defi_services.abis.lending.
|
7
|
-
from defi_services.abis.lending.
|
6
|
+
from defi_services.abis.lending.aave_v2_and_forks.oracle_abi import ORACLE_ABI
|
7
|
+
from defi_services.abis.lending.aave_v2_and_forks.staked_incentives_abi import STAKED_INCENTIVES_ABI
|
8
8
|
from defi_services.abis.lending.trava.trava_lending_pool_abi import TRAVA_LENDING_POOL_ABI
|
9
9
|
from defi_services.abis.token.erc20_abi import ERC20_ABI
|
10
10
|
from defi_services.constants.chain_constant import Chain
|
@@ -3,9 +3,9 @@ import time
|
|
3
3
|
|
4
4
|
from web3 import Web3
|
5
5
|
|
6
|
-
from defi_services.abis.lending.
|
7
|
-
from defi_services.abis.lending.
|
8
|
-
from defi_services.abis.lending.
|
6
|
+
from defi_services.abis.lending.aave_v2_and_forks.lending_pool_abi import LENDING_POOL_ABI
|
7
|
+
from defi_services.abis.lending.aave_v2_and_forks.oracle_abi import ORACLE_ABI
|
8
|
+
from defi_services.abis.lending.aave_v2_and_forks.uwu_incentives_abi import UWU_INCENTIVES_ABI
|
9
9
|
from defi_services.abis.token.erc20_abi import ERC20_ABI
|
10
10
|
from defi_services.constants.chain_constant import Chain
|
11
11
|
from defi_services.constants.entities.lending_constant import Lending
|
@@ -3,8 +3,8 @@ import time
|
|
3
3
|
|
4
4
|
from web3 import Web3
|
5
5
|
|
6
|
-
from defi_services.abis.lending.
|
7
|
-
from defi_services.abis.lending.
|
6
|
+
from defi_services.abis.lending.aave_v2_and_forks.lending_pool_abi import LENDING_POOL_ABI
|
7
|
+
from defi_services.abis.lending.aave_v2_and_forks.oracle_abi import ORACLE_ABI
|
8
8
|
from defi_services.abis.lending.valas.chef_incentives_controller import CHEF_INCENTIVES_CONTROLLER
|
9
9
|
from defi_services.abis.lending.valas.valas_multi_fee_distribution import VALAS_MULTI_FEE_DISTRIBUTION
|
10
10
|
from defi_services.abis.token.erc20_abi import ERC20_ABI
|
@@ -0,0 +1,179 @@
|
|
1
|
+
from collections import defaultdict
|
2
|
+
from typing import Tuple, List, Union, Any, Optional, Dict
|
3
|
+
|
4
|
+
from query_state_lib.base.utils.decoder import decode_eth_call_data
|
5
|
+
from web3 import Web3, contract
|
6
|
+
|
7
|
+
from defi_services.abis.multicall_v3_abi import MULTICALL_V3_ABI
|
8
|
+
from defi_services.services.multicall.batch_queries_service import add_rpc_call, decode_data_response, \
|
9
|
+
decode_data_response_ignore_error
|
10
|
+
from defi_services.utils.dict_utils import all_equal
|
11
|
+
from defi_services.utils.logger_utils import get_logger
|
12
|
+
|
13
|
+
logger = get_logger('Multicall V2')
|
14
|
+
|
15
|
+
w3 = Web3()
|
16
|
+
|
17
|
+
|
18
|
+
def get_fn_abi(abi, fn_name):
|
19
|
+
for abi_ in abi:
|
20
|
+
if abi_.get('type') == 'function' and abi_.get('name') == fn_name:
|
21
|
+
return abi_
|
22
|
+
|
23
|
+
return None
|
24
|
+
|
25
|
+
|
26
|
+
def _unpack_aggregate_outputs(outputs: Any) -> Tuple[Tuple[Union[None, bool], bytes], ...]:
|
27
|
+
return tuple((success, output) for success, output in outputs)
|
28
|
+
|
29
|
+
|
30
|
+
class W3Multicall:
|
31
|
+
"""
|
32
|
+
Interface for multicall3.sol contract
|
33
|
+
"""
|
34
|
+
|
35
|
+
class Call:
|
36
|
+
|
37
|
+
def __init__(self, address, abi, fn_name, fn_paras=None, block_number: Union[int, str] = 'latest', key=None):
|
38
|
+
if key:
|
39
|
+
self.id = key
|
40
|
+
elif fn_paras is not None:
|
41
|
+
self.id = f"{fn_name}_{address}_{fn_paras}_{block_number}".lower()
|
42
|
+
else:
|
43
|
+
self.id = f"{fn_name}_{address}_{block_number}".lower()
|
44
|
+
|
45
|
+
self.address = Web3.to_checksum_address(address)
|
46
|
+
self.fn_name = fn_name
|
47
|
+
self.fn_abi = get_fn_abi(abi=abi, fn_name=fn_name)
|
48
|
+
self.block_number = block_number
|
49
|
+
|
50
|
+
args = []
|
51
|
+
if fn_paras is not None:
|
52
|
+
if type(fn_paras) is list:
|
53
|
+
for item in fn_paras:
|
54
|
+
if Web3.is_address(item):
|
55
|
+
args.append(Web3.to_checksum_address(item))
|
56
|
+
else:
|
57
|
+
args.append(item)
|
58
|
+
else:
|
59
|
+
if Web3.is_address(fn_paras):
|
60
|
+
fn_paras = Web3.to_checksum_address(fn_paras)
|
61
|
+
args = [fn_paras]
|
62
|
+
|
63
|
+
c = contract.Contract
|
64
|
+
c.w3 = w3
|
65
|
+
c.abi = abi
|
66
|
+
|
67
|
+
self.data = c.encodeABI(fn_name=fn_name, args=args)
|
68
|
+
|
69
|
+
def __init__(self, web3, address='0xcA11bde05977b3631167028862bE2a173976CA11', calls: Dict[str, 'W3Multicall.Call'] = None, require_success: bool = False):
|
70
|
+
"""
|
71
|
+
:param web3: Web3 instance
|
72
|
+
:param address: (optional) address of the multicall3.sol contract
|
73
|
+
:param calls: (optional) list of W3Multicall.Call to perform
|
74
|
+
"""
|
75
|
+
self.web3 = web3
|
76
|
+
self.address = address
|
77
|
+
self.calls: Dict[str, 'W3Multicall.Call'] = {} if calls is None else calls.copy()
|
78
|
+
|
79
|
+
self.require_success = require_success
|
80
|
+
|
81
|
+
def add(self, call: 'W3Multicall.Call'):
|
82
|
+
self.calls[call.id] = call
|
83
|
+
|
84
|
+
def get_params(self, calls: Optional[Dict[str, Call]] = None) -> List[Union[bool, List[List[Any]]]]:
|
85
|
+
args = self._get_args(calls=calls)
|
86
|
+
return args
|
87
|
+
|
88
|
+
def decode(self, aggregated, calls: Optional[Dict[str, Call]] = None, ignore_error=True):
|
89
|
+
if calls is None:
|
90
|
+
calls = self.calls
|
91
|
+
|
92
|
+
unpacked = _unpack_aggregate_outputs(aggregated)
|
93
|
+
|
94
|
+
outputs = {}
|
95
|
+
for (call_id, call), (success, output) in zip(calls.items(), unpacked):
|
96
|
+
if not success:
|
97
|
+
logger.warning(f'Fail to query {call_id}')
|
98
|
+
continue
|
99
|
+
|
100
|
+
try:
|
101
|
+
call_output = '0x' + output.hex()
|
102
|
+
decoded_data = decode_eth_call_data([call.fn_abi], call.fn_name, call_output)
|
103
|
+
except OverflowError:
|
104
|
+
bytes_array = bytearray.fromhex(output.hex())
|
105
|
+
bytes32 = '0x' + bytes_array.hex().rstrip("0")
|
106
|
+
if len(bytes32) % 2 != 0:
|
107
|
+
bytes32 += '0'
|
108
|
+
decoded_data = decode_eth_call_data([call.fn_abi], call.fn_name, bytes32)
|
109
|
+
except Exception as ex:
|
110
|
+
logger.error(f"An exception when decode data from provider: {ex}")
|
111
|
+
if ignore_error:
|
112
|
+
continue
|
113
|
+
|
114
|
+
raise ex
|
115
|
+
|
116
|
+
if len(decoded_data) == 1:
|
117
|
+
decoded_data = decoded_data[0]
|
118
|
+
|
119
|
+
outputs[call_id] = decoded_data
|
120
|
+
|
121
|
+
return outputs
|
122
|
+
|
123
|
+
def _get_args(self, calls: Optional[Dict[str, Call]] = None) -> List[Union[bool, List[List[Any]]]]:
|
124
|
+
if calls is None:
|
125
|
+
calls = self.calls
|
126
|
+
|
127
|
+
block_numbers = [call.block_number for call in calls.values()]
|
128
|
+
if not all_equal(block_numbers):
|
129
|
+
raise ValueError('All calls must be queried at the same block number')
|
130
|
+
|
131
|
+
return [self.require_success, [[call.address, call.data] for call in calls.values()]]
|
132
|
+
|
133
|
+
def batch_calls_iterator(self, batch_size=2000):
|
134
|
+
calls_by_block_number = defaultdict(lambda: {})
|
135
|
+
for call_id, call in self.calls.items():
|
136
|
+
block_number = call.block_number
|
137
|
+
calls_by_block_number[block_number][call_id] = call
|
138
|
+
|
139
|
+
for block_number, calls in calls_by_block_number.items():
|
140
|
+
batch = {}
|
141
|
+
|
142
|
+
for call_id, call in calls.items():
|
143
|
+
batch[call_id] = call
|
144
|
+
if len(batch) >= batch_size:
|
145
|
+
yield block_number, batch
|
146
|
+
batch = {}
|
147
|
+
|
148
|
+
if len(batch) > 0:
|
149
|
+
yield block_number, batch
|
150
|
+
|
151
|
+
|
152
|
+
def add_rpc_multicall(w3_multicall: W3Multicall, list_rpc_call=None, list_call_id=None, batch_size=2000):
|
153
|
+
batch_idx = 0
|
154
|
+
for block_number, batch_calls in w3_multicall.batch_calls_iterator(batch_size=batch_size):
|
155
|
+
inputs = w3_multicall.get_params(calls=batch_calls)
|
156
|
+
add_rpc_call(
|
157
|
+
fn_name="tryAggregate", fn_paras=inputs, block_number=block_number,
|
158
|
+
abi=MULTICALL_V3_ABI, contract_address=w3_multicall.address,
|
159
|
+
list_call_id=list_call_id, list_rpc_call=list_rpc_call, call_id=f'{batch_idx}_{block_number}'
|
160
|
+
)
|
161
|
+
batch_idx += 1
|
162
|
+
|
163
|
+
|
164
|
+
def decode_multical_response(w3_multicall: W3Multicall, data_responses, list_call_id, ignore_error=True, batch_size=2000):
|
165
|
+
if ignore_error:
|
166
|
+
decoded_data = decode_data_response_ignore_error(data_responses=data_responses, list_call_id=list_call_id)
|
167
|
+
else:
|
168
|
+
decoded_data = decode_data_response(data_responses=data_responses, list_call_id=list_call_id)
|
169
|
+
|
170
|
+
batch_idx = 0
|
171
|
+
results = {}
|
172
|
+
for block_number, batch_calls in w3_multicall.batch_calls_iterator(batch_size=batch_size):
|
173
|
+
multicall_data = decoded_data.get(f'{batch_idx}_{block_number}')
|
174
|
+
decode_multicall_data = w3_multicall.decode(multicall_data, calls=batch_calls, ignore_error=ignore_error)
|
175
|
+
results.update(decode_multicall_data)
|
176
|
+
|
177
|
+
batch_idx += 1
|
178
|
+
|
179
|
+
return results
|
@@ -94,7 +94,6 @@ class TCVVaultStateService(ProtocolServices):
|
|
94
94
|
}
|
95
95
|
return result
|
96
96
|
|
97
|
-
|
98
97
|
# REWARDS BALANCE
|
99
98
|
def get_rewards_balance_function_info(
|
100
99
|
self,
|
@@ -106,4 +105,4 @@ class TCVVaultStateService(ProtocolServices):
|
|
106
105
|
|
107
106
|
def calculate_rewards_balance(
|
108
107
|
self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
|
109
|
-
pass
|
108
|
+
pass
|
@@ -7,7 +7,7 @@ TCV_VAULT_ARBITRUM = {
|
|
7
7
|
"vaultName": "eth/usdc",
|
8
8
|
"tokenIn": "0xe467db55710cf35e2dc0402104e23221f0e12e66",
|
9
9
|
"pool": '0xc6962004f452be9203591991d15f6b388e09e8d0',
|
10
|
-
"poolInfo":{
|
10
|
+
"poolInfo": {
|
11
11
|
"token0": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
12
12
|
"token1": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
13
13
|
"fee": 500
|
@@ -17,7 +17,7 @@ TCV_VAULT_ARBITRUM = {
|
|
17
17
|
"vaultName": "eth/usdt",
|
18
18
|
"tokenIn": "0x9403be93fddedf88a3ed7d11bfb643b13e5cbc27",
|
19
19
|
"pool": '0x641c00a822e8b671738d32a431a4fb6074e5c79d',
|
20
|
-
"poolInfo":{
|
20
|
+
"poolInfo": {
|
21
21
|
"token0": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
22
22
|
"token1": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
|
23
23
|
"fee": 500
|
@@ -28,7 +28,7 @@ TCV_VAULT_ARBITRUM = {
|
|
28
28
|
"vaultName": "eth/arb",
|
29
29
|
"tokenIn": "0xae83866e6b48e29b225a10bc236f2665cc4f081e",
|
30
30
|
"pool": '0xc6f780497a95e246eb9449f5e4770916dcd6396a',
|
31
|
-
"poolInfo":{
|
31
|
+
"poolInfo": {
|
32
32
|
"token0": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
33
33
|
"token1": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
34
34
|
"fee": 500
|
@@ -38,7 +38,7 @@ TCV_VAULT_ARBITRUM = {
|
|
38
38
|
"vaultName": "eth/usdc(bridgeusdc)",
|
39
39
|
"tokenIn": "0xaae3866f0233aec20580c21a3c10791afd38c8c1",
|
40
40
|
"pool": '0xc31e54c7a869b9fcbecc14363cf510d1c41fa443',
|
41
|
-
"poolInfo":{
|
41
|
+
"poolInfo": {
|
42
42
|
"token0": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
43
43
|
"token1": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
44
44
|
"fee": 500
|
@@ -48,11 +48,11 @@ TCV_VAULT_ARBITRUM = {
|
|
48
48
|
"vaultName": "eth/usdc",
|
49
49
|
"tokenIn": "0xa02d1ecbe8eefaf7d64871ee0ae6404318df9702",
|
50
50
|
"pool": '0xc473e2aee3441bf9240be85eb122abb059a3b57c',
|
51
|
-
"poolInfo":{
|
51
|
+
"poolInfo": {
|
52
52
|
"token0": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
53
53
|
"token1": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
54
54
|
"fee": 3000
|
55
55
|
}
|
56
56
|
}
|
57
57
|
}
|
58
|
-
}
|
58
|
+
}
|
{defi_state_querier-0.5.18 → defi_state_querier-0.5.20}/src/defi_state_querier.egg-info/SOURCES.txt
RENAMED
@@ -77,13 +77,13 @@ src/defi_services/abis/lending/aave/gho/gho_discount_rate_strategy.py
|
|
77
77
|
src/defi_services/abis/lending/aave/gho/gho_flash_minter.py
|
78
78
|
src/defi_services/abis/lending/aave/gho/gho_token.py
|
79
79
|
src/defi_services/abis/lending/aave/gho/gho_variable_debt_token.py
|
80
|
-
src/defi_services/abis/lending/
|
81
|
-
src/defi_services/abis/lending/
|
82
|
-
src/defi_services/abis/lending/
|
83
|
-
src/defi_services/abis/lending/
|
84
|
-
src/defi_services/abis/lending/
|
85
|
-
src/defi_services/abis/lending/
|
86
|
-
src/defi_services/abis/lending/
|
80
|
+
src/defi_services/abis/lending/aave_v2_and_forks/__init__.py
|
81
|
+
src/defi_services/abis/lending/aave_v2_and_forks/aave_v2_event_abi.py
|
82
|
+
src/defi_services/abis/lending/aave_v2_and_forks/aave_v2_incentives_abi.py
|
83
|
+
src/defi_services/abis/lending/aave_v2_and_forks/lending_pool_abi.py
|
84
|
+
src/defi_services/abis/lending/aave_v2_and_forks/oracle_abi.py
|
85
|
+
src/defi_services/abis/lending/aave_v2_and_forks/staked_incentives_abi.py
|
86
|
+
src/defi_services/abis/lending/aave_v2_and_forks/uwu_incentives_abi.py
|
87
87
|
src/defi_services/abis/lending/aave_v3_forks/__init__.py
|
88
88
|
src/defi_services/abis/lending/aave_v3_forks/aave_v3_incentives_abi.py
|
89
89
|
src/defi_services/abis/lending/aave_v3_forks/aave_v3_lending_pool_abi.py
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.5.18"
|