defi-state-querier 0.4.2__tar.gz → 0.4.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/PKG-INFO +1 -1
  2. defi-state-querier-0.4.3/src/defi_services/__init__.py +1 -0
  3. defi-state-querier-0.4.3/src/defi_services/constants/entities/vault_constant.py +5 -0
  4. defi-state-querier-0.4.3/src/defi_services/constants/entities/vault_services.py +24 -0
  5. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/query_constant.py +1 -0
  6. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/processors/state_processor.py +4 -2
  7. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/aave_v2_services.py +1 -1
  8. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/aave_v3_services.py +1 -1
  9. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/apeswap_services.py +1 -1
  10. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/compound_service.py +1 -1
  11. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/compound_v3_services.py +1 -4
  12. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/flux_services.py +1 -4
  13. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/granary_services.py +1 -4
  14. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/iron_bank_service.py +1 -4
  15. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/justlend_service.py +6 -6
  16. defi-state-querier-0.4.3/src/defi_services/services/lending/lending_info/bsc/liqee_bsc.py +157 -0
  17. defi-state-querier-0.4.3/src/defi_services/services/lending/lending_info/ethereum/liqee_eth.py +163 -0
  18. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/liqee_service.py +1 -1
  19. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/morpho_aave_v2_services.py +1 -1
  20. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/morpho_aave_v3_services.py +1 -4
  21. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/morpho_compound_services.py +1 -5
  22. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/onyx_service.py +1 -4
  23. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/radiant_v2_services.py +1 -4
  24. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/silo_services.py +1 -1
  25. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/strike_service.py +1 -1
  26. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/trava_services.py +5 -5
  27. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/uwu_services.py +1 -1
  28. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/valas_services.py +1 -1
  29. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/venus_services.py +6 -6
  30. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/wepiggy_services.py +1 -1
  31. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/protocol_services.py +34 -2
  32. defi-state-querier-0.4.3/src/defi_services/services/vault/trava_vault_services.py +196 -0
  33. defi-state-querier-0.4.3/src/defi_services/services/vault/vault_info/__init__.py +0 -0
  34. defi-state-querier-0.4.3/src/defi_services/services/vault/vault_info/bsc/__init__.py +0 -0
  35. defi-state-querier-0.4.3/src/defi_services/services/vault/vault_info/bsc/trava_bsc.py +41 -0
  36. defi-state-querier-0.4.3/src/defi_services/services/vault/vault_info/ethereum/__init__.py +0 -0
  37. defi-state-querier-0.4.3/src/defi_services/services/vault/vault_info/ethereum/trava_eth.py +22 -0
  38. defi-state-querier-0.4.3/src/defi_services/services/vault/vault_info/fantom/__init__.py +0 -0
  39. defi-state-querier-0.4.3/src/defi_services/services/vault/vault_info/fantom/trava_ftm.py +31 -0
  40. defi-state-querier-0.4.3/src/defi_services/utils/__init__.py +0 -0
  41. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/init_services.py +5 -0
  42. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_state_querier.egg-info/PKG-INFO +1 -1
  43. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_state_querier.egg-info/SOURCES.txt +13 -3
  44. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/tests/test_processor_job.py +1 -1
  45. defi-state-querier-0.4.3/tests/test_staking_reward_job.py +54 -0
  46. defi-state-querier-0.4.2/src/defi_services/__init__.py +0 -1
  47. defi-state-querier-0.4.2/src/defi_services/jobs/queriers/cosmos_state_querier.py +0 -82
  48. defi-state-querier-0.4.2/src/defi_services/services/cosmos_token_services.py +0 -46
  49. defi-state-querier-0.4.2/src/defi_services/services/lending/lending_info/bsc/liqee_bsc.py +0 -109
  50. defi-state-querier-0.4.2/src/defi_services/services/lending/lending_info/ethereum/liqee_eth.py +0 -113
  51. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/LICENSE +0 -0
  52. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/README.md +0 -0
  53. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/pyproject.toml +0 -0
  54. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/setup.cfg +0 -0
  55. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/setup.py +0 -0
  56. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/__init__.py +0 -0
  57. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/dex/__init__.py +0 -0
  58. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/dex/biswap/__init__.py +0 -0
  59. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/dex/biswap/biswap_masterchef_abi.py +0 -0
  60. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/dex/pancakeswap/__init__.py +0 -0
  61. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/dex/pancakeswap/pancakeswap_masterchef_abi.py +0 -0
  62. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/__init__.py +0 -0
  63. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/__init__.py +0 -0
  64. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/__init__.py +0 -0
  65. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/aave_incentives_controller.py +0 -0
  66. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/aave_oracle.py +0 -0
  67. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/atoken.py +0 -0
  68. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/avalanche_atoken.py +0 -0
  69. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/default_reserve_interest_rate_strategy.py +0 -0
  70. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/lending_pool.py +0 -0
  71. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_addresses_provider.py +0 -0
  72. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_addresses_provider_registry.py +0 -0
  73. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_configurator.py +0 -0
  74. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/oracle_anchor.py +0 -0
  75. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/stable_debt_token.py +0 -0
  76. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/uniswap_liquidity_swap_adapter.py +0 -0
  77. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/uniswap_repay_adapter.py +0 -0
  78. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2/variable_debt_token.py +0 -0
  79. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2_permissioned/__init__.py +0 -0
  80. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2_permissioned/aave_oracle.py +0 -0
  81. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v2_permissioned/permission_manager.py +0 -0
  82. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/__init__.py +0 -0
  83. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/aave_oracle.py +0 -0
  84. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_incentives_abi.py +0 -0
  85. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_lending_pool_abi.py +0 -0
  86. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_oracle_abi.py +0 -0
  87. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/atoken.py +0 -0
  88. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/default_reserve_interest_rate_strategy.py +0 -0
  89. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/pool.py +0 -0
  90. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/pool_addresses_provider.py +0 -0
  91. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/pool_addresses_provider_registry.py +0 -0
  92. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/pool_configurator.py +0 -0
  93. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/price_oracle.py +0 -0
  94. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/rewards_controller.py +0 -0
  95. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/stable_debt_token.py +0 -0
  96. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/aave_v3/variable_debt_token.py +0 -0
  97. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/all_aave_abi.py +0 -0
  98. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/gho/__init__.py +0 -0
  99. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/gho/gho_a_token.py +0 -0
  100. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/gho/gho_discount_rate_strategy.py +0 -0
  101. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/gho/gho_flash_minter.py +0 -0
  102. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/gho/gho_token.py +0 -0
  103. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave/gho/gho_variable_debt_token.py +0 -0
  104. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v2_and_forlks/__init__.py +0 -0
  105. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_event_abi.py +0 -0
  106. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_incentives_abi.py +0 -0
  107. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v2_and_forlks/lending_pool_abi.py +0 -0
  108. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v2_and_forlks/oracle_abi.py +0 -0
  109. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v2_and_forlks/staked_incentives_abi.py +0 -0
  110. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v2_and_forlks/uwu_incentives_abi.py +0 -0
  111. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v3_forks/__init__.py +0 -0
  112. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_incentives_abi.py +0 -0
  113. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_lending_pool_abi.py +0 -0
  114. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_oracle_abi.py +0 -0
  115. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/alpaca/__init__.py +0 -0
  116. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/alpaca/alpaca_fair_launch_abi.py +0 -0
  117. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/alpaca/alpaca_vault_abi.py +0 -0
  118. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/alpaca/alpaca_vault_config_abi.py +0 -0
  119. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/apeswape/__init__.py +0 -0
  120. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/apeswape/apeswap_comptroller_abi.py +0 -0
  121. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/apeswape/apeswap_event_abi.py +0 -0
  122. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/apeswape/apeswap_lens_abi.py +0 -0
  123. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/apeswape/apswap_ctoken_abi.py +0 -0
  124. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/__init__.py +0 -0
  125. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/all_compound_abis.py +0 -0
  126. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/comet/__init__.py +0 -0
  127. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/compound_v3/__init__.py +0 -0
  128. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/compound_v3/comet_abi.py +0 -0
  129. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/compound_v3/comet_ext_abi.py +0 -0
  130. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/compound_v3/reward_abi.py +0 -0
  131. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/governance/__init__.py +0 -0
  132. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/governance/comp.py +0 -0
  133. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/governance/governor_bravo_delegate.py +0 -0
  134. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/governance/governor_bravo_delegator.py +0 -0
  135. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/governance/timelock.py +0 -0
  136. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/__init__.py +0 -0
  137. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/bravodelegate2.py +0 -0
  138. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/bravodelegator2.py +0 -0
  139. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/comp.py +0 -0
  140. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/compoundlens.py +0 -0
  141. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/comptroller.py +0 -0
  142. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/ctoken.py +0 -0
  143. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/dsr_updateable.py +0 -0
  144. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/governoralpha.py +0 -0
  145. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/governorbravo.py +0 -0
  146. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/governorbravodelegator.py +0 -0
  147. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/irm_comp_updateable.py +0 -0
  148. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/jumpratemodelv2.py +0 -0
  149. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/legacyjumpratemodelv2.py +0 -0
  150. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/moneymarket.py +0 -0
  151. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/newbravodelegate.py +0 -0
  152. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/newbravodelegator.py +0 -0
  153. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/pricedata.py +0 -0
  154. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/pricefeed.py +0 -0
  155. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/priceoracle.py +0 -0
  156. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/rep.py +0 -0
  157. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/reservoir.py +0 -0
  158. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/stablecoininterestratemodel.py +0 -0
  159. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/standardinterestratemodel.py +0 -0
  160. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/stdcomptroller.py +0 -0
  161. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/timelock.py +0 -0
  162. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/uni.py +0 -0
  163. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/compound/protocol/unitroller.py +0 -0
  164. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/cream/__init__.py +0 -0
  165. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/cream/cream_comptroller_abi.py +0 -0
  166. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/cream/cream_lens_abi.py +0 -0
  167. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/granary/__init__.py +0 -0
  168. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/granary/granary_rewarder_abi.py +0 -0
  169. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/iron_bank/__init__.py +0 -0
  170. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/iron_bank/ctoken_abi.py +0 -0
  171. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/iron_bank/iron_comptroller_abi.py +0 -0
  172. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/iron_bank/iron_lens_abi.py +0 -0
  173. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/justlend/__init__.py +0 -0
  174. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/justlend/just_token_abi.py +0 -0
  175. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/justlend/justlend_comptroller_abi.py +0 -0
  176. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/liqee/__init__.py +0 -0
  177. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/liqee/liqee_comptroller_abi.py +0 -0
  178. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/liqee/liqee_event_abi.py +0 -0
  179. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/liqee/liqee_lending_data_abi.py +0 -0
  180. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/liqee/liqee_token_abi.py +0 -0
  181. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/morpho/__init__.py +0 -0
  182. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/morpho/morpho_aave_v2_comptroller_abi.py +0 -0
  183. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/morpho/morpho_aave_v2_lens_abi.py +0 -0
  184. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/morpho/morpho_aave_v3_comptroller_abi.py +0 -0
  185. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/morpho/morpho_compound_comptroller_abi.py +0 -0
  186. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/morpho/morpho_compound_lens_abi.py +0 -0
  187. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/morpho/morpho_compound_reward_manager_abi.py +0 -0
  188. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/onyx/__init__.py +0 -0
  189. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/onyx/onyx_comptroller_abi.py +0 -0
  190. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/onyx/onyx_event_abi.py +0 -0
  191. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/onyx/onyx_lens_abi.py +0 -0
  192. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/onyx/onyx_token_abi.py +0 -0
  193. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/other/__init__.py +0 -0
  194. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/other/chain_link_abi.py +0 -0
  195. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/radiant_v2/__init__.py +0 -0
  196. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/radiant_v2/radiant_v2_incentive_abi.py +0 -0
  197. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/silo/__init__.py +0 -0
  198. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/silo/silo_abi.py +0 -0
  199. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/silo/silo_lens_abi.py +0 -0
  200. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/silo/silo_repository_abi.py +0 -0
  201. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/silo/silo_reward_abi.py +0 -0
  202. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/strike/__init__.py +0 -0
  203. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/strike/strike_comptroller_abi.py +0 -0
  204. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/strike/strike_lens_abi.py +0 -0
  205. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/strike/strike_token_abi.py +0 -0
  206. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/trava/__init__.py +0 -0
  207. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/trava/trava_lending_pool_abi.py +0 -0
  208. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/trava/trava_oracle_abi.py +0 -0
  209. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/valas/__init__.py +0 -0
  210. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/valas/chef_incentives_controller.py +0 -0
  211. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/valas/valas_multi_fee_distribution.py +0 -0
  212. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/__init__.py +0 -0
  213. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/__init__.py +0 -0
  214. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/comptroller_defi.py +0 -0
  215. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/comptrollerbeacon.py +0 -0
  216. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/comptrollerimpl.py +0 -0
  217. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/defaultproxyadmin.py +0 -0
  218. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/jumpratemodelv2.py +0 -0
  219. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/poollens.py +0 -0
  220. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/poolregistry.py +0 -0
  221. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/poolregistry_implementation.py +0 -0
  222. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/poolregistry_proxy.py +0 -0
  223. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/protocolsharereserve.py +0 -0
  224. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/protocolsharereserve_implementation.py +0 -0
  225. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/protocolsharereserve_proxy.py +0 -0
  226. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/rewardsdistributor_defi.py +0 -0
  227. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/rewardsdistributorimpl.py +0 -0
  228. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/riskfund.py +0 -0
  229. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/riskfund_implementation.py +0 -0
  230. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/riskfund_proxy.py +0 -0
  231. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/shortfall.py +0 -0
  232. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/shortfall_implementation.py +0 -0
  233. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/shortfall_proxy.py +0 -0
  234. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/swaprouter_defi.py +0 -0
  235. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/vtokenbeacon.py +0 -0
  236. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/abi/vtokenimpl.py +0 -0
  237. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/all_venus_abi.py +0 -0
  238. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/__init__.py +0 -0
  239. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/access_control_manager.py +0 -0
  240. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/access_controlled_v5.py +0 -0
  241. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/access_controlled_v8.py +0 -0
  242. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/governor_bravo_delegate.py +0 -0
  243. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/governor_bravo_delegator.py +0 -0
  244. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/governor_bravo_events.py +0 -0
  245. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/governance/timelock.py +0 -0
  246. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/venus/__init__.py +0 -0
  247. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/venus_comptroller_abi.py +0 -0
  248. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/venus_lens_abi.py +0 -0
  249. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/venus_lens_abi_v1.py +0 -0
  250. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/venus/vtoken_abi.py +0 -0
  251. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/wepiggy/__init__.py +0 -0
  252. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/wepiggy/wepiggy_comptroller_abi.py +0 -0
  253. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/wepiggy/wepiggy_distribution_abi.py +0 -0
  254. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/lending/wepiggy/wepiggy_lens_abi.py +0 -0
  255. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/token/__init__.py +0 -0
  256. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/token/ctoken_abi.py +0 -0
  257. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/token/erc20_abi.py +0 -0
  258. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/token/erc721_abi.py +0 -0
  259. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/vault/__init__.py +0 -0
  260. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/vault/incentive_abi.py +0 -0
  261. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/vault/trava_vault_abi.py +0 -0
  262. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/vault/valuator_abi.py +0 -0
  263. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/abis/vault/ve_abi.py +0 -0
  264. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/__init__.py +0 -0
  265. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/chain_constant.py +0 -0
  266. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/db_constant.py +0 -0
  267. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/entities/__init__.py +0 -0
  268. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/entities/lending_constant.py +0 -0
  269. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/entities/lending_services.py +0 -0
  270. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/mongo_constant.py +0 -0
  271. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/time_constant.py +0 -0
  272. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/constants/token_constant.py +0 -0
  273. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/__init__.py +0 -0
  274. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/processors/__init__.py +0 -0
  275. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/processors/multi_state_processor.py +0 -0
  276. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/processors/solana_state_processor.py +0 -0
  277. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/processors/substrate_state_processor.py +0 -0
  278. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/queriers/__init__.py +0 -0
  279. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/queriers/solana_state_querier.py +0 -0
  280. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/queriers/state_querier.py +0 -0
  281. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/jobs/queriers/substrate_state_querier.py +0 -0
  282. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/__init__.py +0 -0
  283. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/__init__.py +0 -0
  284. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/cream_services.py +0 -0
  285. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/geist_services.py +0 -0
  286. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/__init__.py +0 -0
  287. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/arbitrum/__init__.py +0 -0
  288. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +0 -0
  289. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py +0 -0
  290. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py +0 -0
  291. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/arbitrum/radiant_arbitrum.py +0 -0
  292. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/arbitrum/silo_arbitrum.py +0 -0
  293. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/arbitrum/wepiggy_arbitrum.py +0 -0
  294. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/avalanche/__init__.py +0 -0
  295. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/avalanche/aave_v2_avalanche.py +0 -0
  296. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/avalanche/aave_v3_avalanche.py +0 -0
  297. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/avalanche/granary_avalanche.py +0 -0
  298. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/avalanche/iron_bank_avalanche.py +0 -0
  299. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/__init__.py +0 -0
  300. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +0 -0
  301. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/cream_bsc.py +0 -0
  302. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/granary_bsc.py +0 -0
  303. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/radiant_bsc.py +0 -0
  304. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/trava_bsc.py +0 -0
  305. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/valas_bsc.py +0 -0
  306. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/venus_bsc.py +0 -0
  307. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/bsc/wepiggy_bsc.py +0 -0
  308. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/__init__.py +0 -0
  309. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/aave_v2_eth.py +0 -0
  310. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/aave_v3_eth.py +0 -0
  311. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/compound_eth.py +0 -0
  312. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/compound_v3_eth.py +0 -0
  313. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/flux_eth.py +0 -0
  314. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/granary_eth.py +0 -0
  315. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/iron_bank_eth.py +0 -0
  316. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v2_eth.py +0 -0
  317. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v3_eth.py +0 -0
  318. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/morpho_compound_eth.py +0 -0
  319. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/onyx_eth.py +0 -0
  320. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/silo_eth.py +0 -0
  321. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/silo_llama_eth.py +0 -0
  322. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/spark_eth.py +0 -0
  323. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/strike_eth.py +0 -0
  324. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/trava_eth.py +0 -0
  325. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/uwu_eth.py +0 -0
  326. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/ethereum/wepiggy_eth.py +0 -0
  327. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/fantom/__init__.py +0 -0
  328. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/fantom/aave_v3_ftm.py +0 -0
  329. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/fantom/geist_ftm.py +0 -0
  330. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/fantom/granary_ftm.py +0 -0
  331. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/fantom/trava_ftm.py +0 -0
  332. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/optimism/__init__.py +0 -0
  333. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/optimism/aave_v3_optimism.py +0 -0
  334. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/optimism/granary_optimism.py +0 -0
  335. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/optimism/iron_bank_optimism.py +0 -0
  336. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/optimism/wepiggy_optimism.py +0 -0
  337. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/polygon/__init__.py +0 -0
  338. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/polygon/aave_v2_polygon.py +0 -0
  339. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/polygon/aave_v3_polygon.py +0 -0
  340. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py +0 -0
  341. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py +0 -0
  342. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/tron/__init__.py +0 -0
  343. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/lending_info/tron/justlend_tron.py +0 -0
  344. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/lending/spark_services.py +0 -0
  345. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/nft_services.py +0 -0
  346. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/solana_token_services.py +0 -0
  347. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/substrate_token_services.py +0 -0
  348. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/services/token_services.py +0 -0
  349. {defi-state-querier-0.4.2/src/defi_services/utils → defi-state-querier-0.4.3/src/defi_services/services/vault}/__init__.py +0 -0
  350. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/apy.py +0 -0
  351. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/convert_address.py +0 -0
  352. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/graph_operations.py +0 -0
  353. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/logger_utils.py +0 -0
  354. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/market_service.py +0 -0
  355. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/memory_storage.py +0 -0
  356. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_services/utils/thread_proxy.py +0 -0
  357. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_state_querier.egg-info/dependency_links.txt +0 -0
  358. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_state_querier.egg-info/requires.txt +0 -0
  359. {defi-state-querier-0.4.2 → defi-state-querier-0.4.3}/src/defi_state_querier.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: defi-state-querier
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: Calculate apy, apr, and wallet information,... in decentralized applications.
5
5
  Home-page: https://github.com/Centic-io/defi-state-querier
6
6
  Author: Viet-Bang Pham
@@ -0,0 +1 @@
1
+ __version__ = "0.4.3"
@@ -0,0 +1,5 @@
1
+ class Vault:
2
+ # service
3
+ trava_vault = "trava-vault"
4
+
5
+ all = [trava_vault]
@@ -0,0 +1,24 @@
1
+ from defi_services.constants.chain_constant import Chain
2
+ from defi_services.constants.entities.vault_constant import Vault
3
+ from defi_services.services.vault.trava_vault_services import TravaVaultStateService
4
+
5
+
6
+ class VaultServices:
7
+ # chain
8
+ bsc = {
9
+ Vault.trava_vault: TravaVaultStateService
10
+ }
11
+
12
+ ethereum = {
13
+ Vault.trava_vault: TravaVaultStateService
14
+ }
15
+
16
+ fantom = {
17
+ Vault.trava_vault: TravaVaultStateService
18
+ }
19
+
20
+ mapping = {
21
+ Chain.bsc: bsc,
22
+ Chain.ethereum: ethereum,
23
+ Chain.fantom: fantom
24
+ }
@@ -10,6 +10,7 @@ class Query:
10
10
  token_balance = 'token_balance'
11
11
  nft_balance = 'nft_balance'
12
12
  deposit_borrow = 'deposit_borrow'
13
+ staking_reward = 'staking_reward'
13
14
  protocol_reward = 'protocol_reward'
14
15
  protocol_apy = 'protocol_apy'
15
16
  health_factor = 'health_factor'
@@ -4,12 +4,13 @@ from web3 import Web3
4
4
 
5
5
  from defi_services.constants.chain_constant import Chain
6
6
  from defi_services.constants.entities.lending_services import LendingServices
7
+ from defi_services.constants.entities.vault_services import VaultServices
7
8
  from defi_services.constants.query_constant import Query
8
9
  from defi_services.jobs.queriers.state_querier import StateQuerier
9
10
  from defi_services.services.nft_services import NFTServices
10
11
  from defi_services.services.protocol_services import ProtocolServices
11
12
  from defi_services.services.token_services import TokenServices
12
- from defi_services.utils.convert_address import base58_to_hex, convert_address_dict
13
+ from defi_services.utils.convert_address import base58_to_hex
13
14
  from defi_services.utils.init_services import init_services
14
15
 
15
16
  logger = logging.getLogger("StateProcessor")
@@ -23,6 +24,7 @@ class StateProcessor:
23
24
  self.token_service = TokenServices(self.state_querier, chain_id)
24
25
  self.nft_service = NFTServices(self.state_querier, chain_id)
25
26
  self.lending_services = LendingServices.mapping.get(chain_id)
27
+ self.vault_services = VaultServices.mapping.get(chain_id, {})
26
28
 
27
29
  def get_service_info(self):
28
30
  info = self.nft_service.get_service_info()
@@ -104,7 +106,7 @@ class StateProcessor:
104
106
  if Query.nft_balance == query_type:
105
107
  data = self.nft_service.get_data(wallet, entity, entity_value, block_number)
106
108
 
107
- elif entity in self.lending_services:
109
+ elif (entity in self.lending_services) or (entity in self.vault_services):
108
110
  entity_service: ProtocolServices = self.services.get(entity)
109
111
  data = entity_service.get_data(
110
112
  [query_type], wallet, entity_value, block_number, **kwargs)
@@ -438,7 +438,7 @@ class AaveV2StateService(ProtocolServices):
438
438
  return rpc_calls
439
439
 
440
440
  def calculate_rewards_balance(
441
- self, decoded_data: dict, wallet: str, block_number: int = "latest"):
441
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
442
442
  reward_token = self.pool_info['rewardToken']
443
443
  key = f"getRewardsBalance_{self.name}_{wallet}_{block_number}".lower()
444
444
  rewards = decoded_data.get(key) / 10 ** 18
@@ -299,7 +299,7 @@ class AaveV3StateService(AaveV2StateService):
299
299
  return rpc_calls
300
300
 
301
301
  def calculate_rewards_balance(
302
- self, decoded_data: dict, wallet: str, block_number: int = "latest"):
302
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
303
303
  key = f"getAllUserRewards_{self.name}_{wallet}_{block_number}".lower()
304
304
  rewards = decoded_data.get(key)
305
305
  result = dict(zip(*rewards))
@@ -116,7 +116,7 @@ class ApeSwapStateService(CompoundStateService):
116
116
  return {}
117
117
 
118
118
  def calculate_rewards_balance(
119
- self, decoded_data: dict, wallet: str, block_number: int = "latest"):
119
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
120
120
  return {}
121
121
 
122
122
  def get_ctoken_function_info(self, ctoken: str, fn_name: str, fn_paras: list = None, block_number: int = "latest"):
@@ -282,7 +282,7 @@ class CompoundStateService(ProtocolServices):
282
282
  get_reward_id = f"getCompBalanceMetadataExt_{self.name}_{wallet}_{block_number}".lower()
283
283
  return {get_reward_id: rpc_call}
284
284
 
285
- def calculate_rewards_balance(self, decoded_data: dict, wallet: str, block_number: int = "latest"):
285
+ def calculate_rewards_balance(self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
286
286
  get_reward_id = f"getCompBalanceMetadataExt_{self.name}_{wallet}_{block_number}".lower()
287
287
  rewards = decoded_data.get(get_reward_id)[-1] / 10 ** 18
288
288
  reward_token = self.pool_info.get("rewardToken")
@@ -258,10 +258,7 @@ class CompoundV3StateService(CompoundStateService):
258
258
  return result
259
259
 
260
260
  def calculate_rewards_balance(
261
- self,
262
- decoded_data: dict,
263
- wallet: str,
264
- block_number: int = "latest"):
261
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
265
262
  reward_amount = 0
266
263
  reward_address = self.pool_info.get("rewardAddress")
267
264
  for token, value in self.pool_info.get("reservesList").items():
@@ -89,10 +89,7 @@ class FluxStateService(CompoundStateService):
89
89
  return {get_reward_id: rpc_call}
90
90
 
91
91
  def calculate_rewards_balance(
92
- self,
93
- decoded_data: dict,
94
- wallet: str,
95
- block_number: int = "latest"):
92
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
96
93
  get_reward_id = f"compAccrued_{self.name}_{wallet}_{block_number}".lower()
97
94
  rewards = decoded_data.get(get_reward_id) / 10 ** 18
98
95
  reward_token = self.pool_info.get("rewardToken")
@@ -331,10 +331,7 @@ class GranaryStateService(ProtocolServices):
331
331
  return rpc_calls
332
332
 
333
333
  def calculate_rewards_balance(
334
- self,
335
- decoded_data: dict,
336
- wallet: str,
337
- block_number: int = "latest"):
334
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
338
335
  reward_tokens = self.pool_info.get("rewardToken")
339
336
  if not reward_tokens:
340
337
  return {}
@@ -153,10 +153,7 @@ class IronBankStateService(CompoundStateService):
153
153
  return {get_reward_id: rpc_call}
154
154
 
155
155
  def calculate_rewards_balance(
156
- self,
157
- decoded_data: dict,
158
- wallet: str,
159
- block_number: int = "latest"):
156
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
160
157
  if self.chain_id in [Chain.optimism, Chain.avalanche]:
161
158
  return {}
162
159
  get_reward_id = f"compAccrued_{self.name}_{wallet}_{block_number}".lower()
@@ -92,17 +92,17 @@ class JustLendStateService(CompoundStateService):
92
92
  # REWARDS BALANCE
93
93
  def get_rewards_balance_function_info(
94
94
  self,
95
- wallets: str,
95
+ wallet: str,
96
96
  reserves_info: dict = None,
97
97
  block_number: int = "latest",
98
98
  ):
99
- rpc_call = self.get_comptroller_function_info("compAccrued", [wallets])
100
- get_reward_id = f"compAccrued_{self.name}_{wallets}_{block_number}".lower()
99
+ rpc_call = self.get_comptroller_function_info("compAccrued", [wallet])
100
+ get_reward_id = f"compAccrued_{self.name}_{wallet}_{block_number}".lower()
101
101
  return {get_reward_id: rpc_call}
102
102
 
103
- def calculate_rewards_balance(self, decoded_data: dict, wallets: str,
104
- block_number: int = "latest"):
105
- get_reward_id = f"compAccrued_{self.name}_{wallets}_{block_number}".lower()
103
+ def calculate_rewards_balance(
104
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
105
+ get_reward_id = f"compAccrued_{self.name}_{wallet}_{block_number}".lower()
106
106
  rewards = decoded_data.get(get_reward_id) / 10 ** 18
107
107
  reward_token = self.pool_info.get("rewardToken")
108
108
  result = {
@@ -0,0 +1,157 @@
1
+ LIQEE_BSC = {
2
+ "comptrollerAddress": "",
3
+ "controllerAddress": "0x0b53e608bd058bb54748c35148484fd627e6dc0a",
4
+ "forked": "compound",
5
+ "lendingDataAddress": "0xeb92b72272e66be56b74392519cf81e150bfae0e",
6
+ "lensAddress": "",
7
+ "name": "Liqee Lending Pool",
8
+ "poolToken": "0x4a9a2b2b04549c3927dd2c9668a5ef3fca473623",
9
+ "reservesList": {
10
+ "0xe9e7cea3dedca5984780bafc599bd69add087d56": {
11
+ "cToken": "0x5511b64ae77452c7130670c79298dec978204a47",
12
+ "exchangeRate": 1.0727907490506678,
13
+ "liquidationThreshold": 0.75,
14
+ "loanToValue": 0.75
15
+ },
16
+ "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d": {
17
+ "cToken": "0xaf9c10b341f55465e8785f0f81dbb52a9bfe005d",
18
+ "exchangeRate": 1.0915276103263118,
19
+ "liquidationThreshold": 0.85,
20
+ "loanToValue": 0.85
21
+ },
22
+ "0x55d398326f99059ff775485246999027b3197955": {
23
+ "cToken": "0x0bf8c72d618b5d46b055165e21d661400008fa0f",
24
+ "exchangeRate": 1.107541263208309,
25
+ "liquidationThreshold": 0.85,
26
+ "loanToValue": 0.85
27
+ },
28
+ "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3": {
29
+ "cToken": "0xad5ec11426970c32da48f58c92b1039bc50e5492",
30
+ "exchangeRate": 1.090369296984632,
31
+ "liquidationThreshold": 0.85,
32
+ "loanToValue": 0.85
33
+ },
34
+ "0x4a9a2b2b04549c3927dd2c9668a5ef3fca473623": {
35
+ "cToken": "0xec3fd540a2dee6f479be539d64da593a59e12d08",
36
+ "exchangeRate": 1.023706366745555,
37
+ "liquidationThreshold": 0.6,
38
+ "loanToValue": 0.6
39
+ },
40
+ "0xa05478b34fad86cc86f07eb6698c69ea60b266e3": {
41
+ "cToken": "0xc35acaeedb814f42b2214378d8950f8555b2d670",
42
+ "exchangeRate": 1,
43
+ "liquidationThreshold": 0.8,
44
+ "loanToValue": 0.8
45
+ },
46
+ "0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c": {
47
+ "cToken": "0x0b66a250dadf3237ddb38d485082a7bfe400356e",
48
+ "exchangeRate": 1.0008955018668733,
49
+ "liquidationThreshold": 0.8,
50
+ "loanToValue": 0.8
51
+ },
52
+ "0x2170ed0880ac9a755fd29b2688956bd959f933f8": {
53
+ "cToken": "0x390bf37355e9df6ea2e16eed5686886da6f47669",
54
+ "exchangeRate": 1.0180063558704127,
55
+ "liquidationThreshold": 0.8,
56
+ "loanToValue": 0.8
57
+ },
58
+ "0xbf5140a22578168fd562dccf235e5d43a02ce9b1": {
59
+ "cToken": "0xee9099c1318cf960651b3196747640eb84b8806b",
60
+ "exchangeRate": 1.0014743731623101,
61
+ "liquidationThreshold": 0.7,
62
+ "loanToValue": 0.7
63
+ },
64
+ "0x0eb3a705fc54725037cc9e008bdede697f62f335": {
65
+ "cToken": "0x55012ad2f0a50195aef44f403536df2465009ef7",
66
+ "exchangeRate": 1.0253052659477702,
67
+ "liquidationThreshold": 0.7,
68
+ "loanToValue": 0.7
69
+ },
70
+ "0x7083609fce4d1d8dc0c979aab8c869ea2c873402": {
71
+ "cToken": "0x9ab060ba568b86848bf19577226184db6192725b",
72
+ "exchangeRate": 1.0615419244367703,
73
+ "liquidationThreshold": 0.7,
74
+ "loanToValue": 0.7
75
+ },
76
+ "0x0d8ce2a99bb6e3b7db580ed848240e4a0f9ae153": {
77
+ "cToken": "0xd739a569ec254d6a20ecf029f024816be58fb810",
78
+ "exchangeRate": 1.0066415558494175,
79
+ "liquidationThreshold": 0.7,
80
+ "loanToValue": 0.7
81
+ },
82
+ "0x3ee2200efb3400fabb9aacf31297cbdd1d435d47": {
83
+ "cToken": "0xfc5bb1e8c29b100ef8f12773f972477bcab68862",
84
+ "exchangeRate": 1.0138756837775817,
85
+ "liquidationThreshold": 0.7,
86
+ "loanToValue": 0.7
87
+ },
88
+ "0x0000000000000000000000000000000000000000": {
89
+ "cToken": "0xd57e1425837567f74a35d07669b23bfb67aa4a93",
90
+ "exchangeRate": 1.1026774278138651,
91
+ "liquidationThreshold": 0.8,
92
+ "loanToValue": 0.8
93
+ },
94
+ "0xb5102cee1528ce2c760893034a4603663495fd72": {
95
+ "cToken": "0x36f4c36d1f6e8418ecb2402f896b2a8fedde0991",
96
+ "exchangeRate": 1,
97
+ "liquidationThreshold": 0.7,
98
+ "loanToValue": 0.7
99
+ },
100
+ "0x367c17d19fcd0f7746764455497d63c8e8b2bba3": {
101
+ "cToken": "0xb22ef996c0a2d262a19db2a66a256067f51511eb",
102
+ "exchangeRate": 1,
103
+ "liquidationThreshold": 0.7,
104
+ "loanToValue": 0.7
105
+ },
106
+ "0x20ecc92f0a33e16e8cf0417dfc3f586cf597f3a9": {
107
+ "cToken": "0x6e42423e1bcb6a093a58e203b5eb6e8a8023b4e5",
108
+ "exchangeRate": 1,
109
+ "liquidationThreshold": 0.7,
110
+ "loanToValue": 0.7
111
+ },
112
+ "0x463e3d1e01d048fdf872710f7f3745b5cdf50d0e": {
113
+ "cToken": "0x6ac0a0b3959c1e5fcbd09b59b09abf7c53c72346",
114
+ "exchangeRate": 1,
115
+ "liquidationThreshold": 0.7,
116
+ "loanToValue": 0.7
117
+ },
118
+ "0x1d2f0da169ceb9fc7b3144628db156f3f6c60dbe": {
119
+ "cToken": "0x6d64effe3af8697336fc57efd5a7517ad526dd6d",
120
+ "exchangeRate": 1.0095313806387172,
121
+ "liquidationThreshold": 0.7,
122
+ "loanToValue": 0.7
123
+ },
124
+ "0x4338665cbb7b2485a8855a139b75d5e34ab0db94": {
125
+ "cToken": "0xd957bea67aadb8a72061ce94d033c631d1c1e6ac",
126
+ "exchangeRate": 1.009766921268889,
127
+ "liquidationThreshold": 0.7,
128
+ "loanToValue": 0.7
129
+ },
130
+ "0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd": {
131
+ "cToken": "0x50e894894809f642de1e11b4076451734c963087",
132
+ "exchangeRate": 1.0113349577900335,
133
+ "liquidationThreshold": 0.7,
134
+ "loanToValue": 0.7
135
+ },
136
+ "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82": {
137
+ "cToken": "0xefae8f7af4bada590d4e707d900258fc72194d73",
138
+ "exchangeRate": 1.3218997732331732,
139
+ "liquidationThreshold": 0.7,
140
+ "loanToValue": 0.7
141
+ },
142
+ "0x8ff795a6f4d97e7887c79bea79aba5cc76444adf": {
143
+ "cToken": "0x9747e26c5ad01d3594ea49ccf00790f564193c15",
144
+ "exchangeRate": 1.086362444236688,
145
+ "liquidationThreshold": 0.7,
146
+ "loanToValue": 0.7
147
+ },
148
+ "0x16939ef78684453bfdfb47825f8a5f714f12623a": {
149
+ "cToken": "0x8be8cd81737b282c909f1911f3f0ade630c335aa",
150
+ "exchangeRate": 1.0046816669180731,
151
+ "liquidationThreshold": 0.7,
152
+ "loanToValue": 0.7
153
+ }
154
+ },
155
+ "rewardToken": "0x4a9a2b2b04549c3927dd2c9668a5ef3fca473623",
156
+ "type": "LENDING_POOL"
157
+ }
@@ -0,0 +1,163 @@
1
+ LIQEE_ETH = {
2
+ "comptrollerAddress": "",
3
+ "controllerAddress": "0x8b53ab2c0df3230ea327017c91eb909f815ad113",
4
+ "forked": "compound",
5
+ "lendingDataAddress": "0x4b30c26d61be2f76bc7d9f2c5edbacba84982358",
6
+ "lensAddress": "",
7
+ "name": "Liqee Lending Pool",
8
+ "poolToken": "0x431ad2ff6a9c365805ebad47ee021148d6f7dbe0",
9
+ "reservesList": {
10
+ "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
11
+ "cToken": "0x5812fcf91adc502a765e5707ebb3f36a07f63c02",
12
+ "exchangeRate": 1.000012067974307,
13
+ "liquidationThreshold": 0.8,
14
+ "loanToValue": 0.8
15
+ },
16
+ "0x0000000000000000000000000000000000000000": {
17
+ "cToken": "0x5acd75f21659a59ffab9aebaf350351a8bfaabc0",
18
+ "exchangeRate": 1.0092559004684867,
19
+ "liquidationThreshold": 0.85,
20
+ "loanToValue": 0.85
21
+ },
22
+ "0xdac17f958d2ee523a2206206994597c13d831ec7": {
23
+ "cToken": "0x1180c114f7fadcb6957670432a3cf8ef08ab5354",
24
+ "exchangeRate": 1.0653006831932572,
25
+ "liquidationThreshold": 0.85,
26
+ "loanToValue": 0.85
27
+ },
28
+ "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": {
29
+ "cToken": "0x2f956b2f801c6dad74e87e7f45c94f6283bf0f45",
30
+ "exchangeRate": 1.0618162566733447,
31
+ "liquidationThreshold": 0.85,
32
+ "loanToValue": 0.85
33
+ },
34
+ "0x6b175474e89094c44da98b954eedeac495271d0f": {
35
+ "cToken": "0x298f243ad592b6027d4717fbe9decda668e3c3a8",
36
+ "exchangeRate": 1.0671526314936417,
37
+ "liquidationThreshold": 0.85,
38
+ "loanToValue": 0.85
39
+ },
40
+ "0x4fabb145d64652a948d72533023f6e7a623c7c53": {
41
+ "cToken": "0x24677e213dec0ea53a430404cf4a11a6dc889fce",
42
+ "exchangeRate": 1.000000000000008,
43
+ "liquidationThreshold": 0.75,
44
+ "loanToValue": 0.75
45
+ },
46
+ "0x0316eb71485b0ab14103307bf65a021042c6d380": {
47
+ "cToken": "0x47566acd7af49d2a192132314826ed3c3c5f3698",
48
+ "exchangeRate": 1,
49
+ "liquidationThreshold": 0.8,
50
+ "loanToValue": 0.8
51
+ },
52
+ "0x431ad2ff6a9c365805ebad47ee021148d6f7dbe0": {
53
+ "cToken": "0xb3dc7425e63e1855eb41107134d471dd34d7b239",
54
+ "exchangeRate": 1.0001004296452365,
55
+ "liquidationThreshold": 0.6,
56
+ "loanToValue": 0.6
57
+ },
58
+ "0x355c665e101b9da58704a8fddb5feef210ef20c0": {
59
+ "cToken": "0x164315ea59169d46359baa4bcc6479bb421764b6",
60
+ "exchangeRate": 1,
61
+ "liquidationThreshold": 0.8,
62
+ "loanToValue": 0.8
63
+ },
64
+ "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984": {
65
+ "cToken": "0xbec9a824d6da8d0f923fd9fbec4faa949d396320",
66
+ "exchangeRate": 1,
67
+ "liquidationThreshold": 0.7,
68
+ "loanToValue": 0.7
69
+ },
70
+ "0x0a5e677a6a24b2f1a2bf4f3bffc443231d2fdec8": {
71
+ "cToken": "0xd1254d280e7504836e1b0e36535ebff248483cee",
72
+ "exchangeRate": 1,
73
+ "liquidationThreshold": 0.7,
74
+ "loanToValue": 0.7
75
+ },
76
+ "0xb986f3a2d91d3704dc974a24fb735dcc5e3c1e70": {
77
+ "cToken": "0x591595bfae3f5d51a820ecd20a1e3fbb6638f34b",
78
+ "exchangeRate": 1,
79
+ "liquidationThreshold": 0.7,
80
+ "loanToValue": 0.7
81
+ },
82
+ "0x527ec46ac094b399265d1d71eff7b31700aa655d": {
83
+ "cToken": "0xfa2e831c674b61475c175b2206e81a5938b298dd",
84
+ "exchangeRate": 1,
85
+ "liquidationThreshold": 0.7,
86
+ "loanToValue": 0.7
87
+ },
88
+ "0x8d2cb35893c01fa8b564c84bd540c5109d9d278e": {
89
+ "cToken": "0x028db7a9d133301bd49f27b5e41f83f56ab0faa6",
90
+ "exchangeRate": 1,
91
+ "liquidationThreshold": 0.7,
92
+ "loanToValue": 0.7
93
+ },
94
+ "0x514910771af9ca656af840dff83e8264ecf986ca": {
95
+ "cToken": "0xa3068aa78611ed29d381e640bb2c02abcf3ca7de",
96
+ "exchangeRate": 1,
97
+ "liquidationThreshold": 0.7,
98
+ "loanToValue": 0.7
99
+ },
100
+ "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2": {
101
+ "cToken": "0x039e7ef6a674f3ec1d88829b8215ed45385c24bc",
102
+ "exchangeRate": 1,
103
+ "liquidationThreshold": 0.7,
104
+ "loanToValue": 0.7
105
+ },
106
+ "0x0000000000085d4780b73119b644ae5ecd22b376": {
107
+ "cToken": "0x6e6a689a5964083dff9fd7a0f788baf620ea2dbe",
108
+ "exchangeRate": 1,
109
+ "liquidationThreshold": 0,
110
+ "loanToValue": 0
111
+ },
112
+ "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0": {
113
+ "cToken": "0xbfd291da8a403daaf7e5e9dc1ec0aceacd4848b9",
114
+ "exchangeRate": 1,
115
+ "liquidationThreshold": 0.825,
116
+ "loanToValue": 0.825
117
+ },
118
+ "0x853d955acef822db058eb8505911ed77f175b99e": {
119
+ "cToken": "0x71173e3c6999c2c72ccf363f4ae7b67bcc7e8f63",
120
+ "exchangeRate": 1.000056097645922,
121
+ "liquidationThreshold": 0,
122
+ "loanToValue": 0
123
+ },
124
+ "0x956f47f50a910163d8bf957cf5846d573e7f87ca": {
125
+ "cToken": "0x47c19a2ab52da26551a22e2b2aeed5d19ef4022f",
126
+ "exchangeRate": 1,
127
+ "liquidationThreshold": 0,
128
+ "loanToValue": 0
129
+ },
130
+ "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9": {
131
+ "cToken": "0x3e5cb932d7a1c0ca096b71cc486b2ad7e0dc3d0e",
132
+ "exchangeRate": 1,
133
+ "liquidationThreshold": 0.7,
134
+ "loanToValue": 0.7
135
+ },
136
+ "0xd533a949740bb3306d119cc777fa900ba034cd52": {
137
+ "cToken": "0xe39672dfa87c824bcb3b38aa480ef684687cbc09",
138
+ "exchangeRate": 1,
139
+ "liquidationThreshold": 0.65,
140
+ "loanToValue": 0.65
141
+ },
142
+ "0xd5147bc8e386d91cc5dbe72099dac6c9b99276f5": {
143
+ "cToken": "0x59055220e00da46c891283ea1d79363c769158b9",
144
+ "exchangeRate": 1,
145
+ "liquidationThreshold": 0,
146
+ "loanToValue": 0
147
+ },
148
+ "0x83f20f44975d03b1b09e64809b757c47f942beea": {
149
+ "cToken": "0x5f02fb5f1203a502c701a12fd409548993f795ba",
150
+ "exchangeRate": 1,
151
+ "liquidationThreshold": 0.85,
152
+ "loanToValue": 0.85
153
+ },
154
+ "0xae78736cd615f374d3085123a210448e74fc6393": {
155
+ "cToken": "0x33b5edc15e05d3dac27fccad77cf550c5f3f02aa",
156
+ "exchangeRate": 1,
157
+ "liquidationThreshold": 0.7,
158
+ "loanToValue": 0.7
159
+ }
160
+ },
161
+ "rewardToken": "0x431ad2ff6a9c365805ebad47ee021148d6f7dbe0",
162
+ "type": "LENDING_POOL"
163
+ }
@@ -187,7 +187,7 @@ class LiqeeStateService(CompoundStateService):
187
187
  get_reward_id = f"getAccountRewardAmount_{self.name}_{wallet}_{block_number}".lower()
188
188
  return {get_reward_id: rpc_call}
189
189
 
190
- def calculate_rewards_balance(self, decoded_data: dict, wallet: str, block_number: int = "latest"):
190
+ def calculate_rewards_balance(self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
191
191
  get_reward_id = f"getAccountRewardAmount_{self.name}_{wallet}_{block_number}".lower()
192
192
  rewards = decoded_data.get(get_reward_id) / 10 ** 18
193
193
  reward_token = self.pool_info.get("rewardToken")
@@ -180,7 +180,7 @@ class MorphoAaveV2StateService(MorphoCompoundStateService):
180
180
  ):
181
181
  return {}
182
182
 
183
- def calculate_rewards_balance(self, decoded_data: dict, wallet: str, block_number: int = "latest"):
183
+ def calculate_rewards_balance(self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
184
184
  return {}
185
185
 
186
186
  def get_function_lending_pool_info(self, fn_name: str, fn_paras=None, block_number: int = 'latest'):
@@ -111,10 +111,7 @@ class MorphoAaveV3StateService(MorphoCompoundStateService):
111
111
  return {}
112
112
 
113
113
  def calculate_rewards_balance(
114
- self,
115
- decoded_data: dict,
116
- wallet: str,
117
- block_number: int = "latest"):
114
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
118
115
  return {}
119
116
 
120
117
  # WALLET DEPOSIT BORROW BALANCE
@@ -204,11 +204,7 @@ class MorphoCompoundStateService(ProtocolServices):
204
204
  return {get_reward_id: rpc_call}
205
205
 
206
206
  def calculate_rewards_balance(
207
- self,
208
- decoded_data: dict,
209
- wallet: str,
210
- block_number: int = "latest"
211
- ):
207
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
212
208
  get_reward_id = f"getUserUnclaimedRewards_{self.name}_{wallet}_{block_number}".lower()
213
209
  rewards = decoded_data.get(get_reward_id) / 10 ** 18
214
210
  reward_token = self.pool_info.get("rewardToken")
@@ -161,10 +161,7 @@ class OnyxStateService(CompoundStateService):
161
161
  return {get_reward_id: rpc_call}
162
162
 
163
163
  def calculate_rewards_balance(
164
- self,
165
- decoded_data: dict,
166
- wallet: str,
167
- block_number: int = "latest"):
164
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
168
165
  get_reward_id = f"xcnAccrued_{self.name}_{wallet}_{block_number}".lower()
169
166
  rewards = decoded_data.get(get_reward_id) / 10 ** 18
170
167
  reward_token = self.pool_info.get("rewardToken")
@@ -72,10 +72,7 @@ class RadiantStateService(ValasStateService):
72
72
  return rpc_calls
73
73
 
74
74
  def calculate_rewards_balance(
75
- self,
76
- decoded_data: dict,
77
- wallet: str,
78
- block_number: int = "latest"):
75
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
79
76
  reward_token = self.pool_info['rewardToken']
80
77
  key = f"allPendingRewards_{self.name}_{wallet}_{block_number}".lower()
81
78
  rewards = decoded_data.get(key) / 10 ** 18
@@ -240,7 +240,7 @@ class SiloStateService(ProtocolServices):
240
240
  decimals_id = f"decimals_{self.name}_{reward_token}_{block_number}".lower()
241
241
  return {get_reward_id: rpc_call, decimals_id: decimals_call}
242
242
 
243
- def calculate_rewards_balance(self, decoded_data: dict, wallet: str, block_number: int = "latest"):
243
+ def calculate_rewards_balance(self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
244
244
  reward_token = self.pool_info.get("rewardToken")
245
245
  get_reward_id = f"getUserUnclaimedRewards_{self.name}_{wallet}_{block_number}".lower()
246
246
  decimals_id = f"decimals_{self.name}_{reward_token}_{block_number}".lower()
@@ -123,7 +123,7 @@ class StrikeStateService(CompoundStateService):
123
123
  return {get_reward_id: rpc_call}
124
124
 
125
125
  def calculate_rewards_balance(
126
- self, decoded_data: dict, wallet: str, block_number: int = "latest"):
126
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
127
127
  get_reward_id = f"strikeAccrued_{self.name}_{wallet}_{block_number}".lower()
128
128
  rewards = decoded_data.get(get_reward_id) / 10 ** 18
129
129
  reward_token = self.pool_info.get("rewardToken")
@@ -388,7 +388,7 @@ class TravaStateService(ProtocolServices):
388
388
  # REWARDS BALANCE
389
389
  def get_rewards_balance_function_info(
390
390
  self,
391
- wallet_address,
391
+ wallet,
392
392
  reserves_info: dict = None,
393
393
  block_number: int = "latest"
394
394
  ):
@@ -397,16 +397,16 @@ class TravaStateService(ProtocolServices):
397
397
  for token, value in reserves_info.items():
398
398
  atoken, debt_token = Web3.toChecksumAddress(value['tToken']), Web3.toChecksumAddress(value['dToken'])
399
399
  tokens += [atoken, debt_token]
400
- key = f"getRewardsBalance_{self.name}_{wallet_address}_{block_number}".lower()
400
+ key = f"getRewardsBalance_{self.name}_{wallet}_{block_number}".lower()
401
401
  rpc_calls[key] = self.get_function_incentive_info(
402
- "getRewardsBalance", [tokens, wallet_address], block_number)
402
+ "getRewardsBalance", [tokens, wallet], block_number)
403
403
 
404
404
  return rpc_calls
405
405
 
406
406
  def calculate_rewards_balance(
407
- self, decoded_data: dict, wallet_address: str, block_number: int = "latest"):
407
+ self, wallet: str, reserves_info: dict, decoded_data: dict, block_number: int = "latest"):
408
408
  reward_token = self.pool_info['rewardToken']
409
- key = f"getRewardsBalance_{self.name}_{wallet_address}_{block_number}".lower()
409
+ key = f"getRewardsBalance_{self.name}_{wallet}_{block_number}".lower()
410
410
  rewards = decoded_data.get(key) / 10 ** 18
411
411
  result = {
412
412
  reward_token: {"amount": rewards}