defi-state-querier 0.3.2__tar.gz → 0.3.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/PKG-INFO +1 -1
  2. defi-state-querier-0.3.4/src/defi_services/__init__.py +1 -0
  3. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/entities/lending_services.py +4 -2
  4. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/compound_v3_services.py +5 -1
  5. defi-state-querier-0.3.4/src/defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py +61 -0
  6. defi-state-querier-0.3.4/src/defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py +41 -0
  7. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_state_querier.egg-info/PKG-INFO +1 -1
  8. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_state_querier.egg-info/SOURCES.txt +2 -0
  9. defi-state-querier-0.3.2/src/defi_services/__init__.py +0 -1
  10. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/LICENSE +0 -0
  11. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/README.md +0 -0
  12. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/pyproject.toml +0 -0
  13. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/setup.cfg +0 -0
  14. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/setup.py +0 -0
  15. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/__init__.py +0 -0
  16. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/dex/__init__.py +0 -0
  17. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/dex/biswap/__init__.py +0 -0
  18. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/dex/biswap/biswap_masterchef_abi.py +0 -0
  19. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/dex/pancakeswap/__init__.py +0 -0
  20. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/dex/pancakeswap/pancakeswap_masterchef_abi.py +0 -0
  21. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/__init__.py +0 -0
  22. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v2_and_forlks/__init__.py +0 -0
  23. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_event_abi.py +0 -0
  24. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_incentives_abi.py +0 -0
  25. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v2_and_forlks/lending_pool_abi.py +0 -0
  26. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v2_and_forlks/oracle_abi.py +0 -0
  27. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v2_and_forlks/staked_incentives_abi.py +0 -0
  28. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v2_and_forlks/uwu_incentives_abi.py +0 -0
  29. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3/__init__.py +0 -0
  30. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3/aave_v3_event_abi.py +0 -0
  31. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3/aave_v3_incentives_abi.py +0 -0
  32. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3/aave_v3_lending_pool_abi.py +0 -0
  33. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3/aave_v3_oracle_abi.py +0 -0
  34. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3_forks/__init__.py +0 -0
  35. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_incentives_abi.py +0 -0
  36. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_lending_pool_abi.py +0 -0
  37. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_oracle_abi.py +0 -0
  38. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/alpaca/__init__.py +0 -0
  39. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/alpaca/alpaca_fair_launch_abi.py +0 -0
  40. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/alpaca/alpaca_vault_abi.py +0 -0
  41. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/alpaca/alpaca_vault_config_abi.py +0 -0
  42. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/apeswape/__init__.py +0 -0
  43. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/apeswape/apeswap_comptroller_abi.py +0 -0
  44. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/apeswape/apeswap_event_abi.py +0 -0
  45. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/apeswape/apeswap_lens_abi.py +0 -0
  46. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/apeswape/apswap_ctoken_abi.py +0 -0
  47. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/compound_v3/__init__.py +0 -0
  48. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/compound_v3/comet_abi.py +0 -0
  49. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/compound_v3/comet_ext_abi.py +0 -0
  50. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/compound_v3/reward_abi.py +0 -0
  51. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/cream/__init__.py +0 -0
  52. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/cream/cream_comptroller_abi.py +0 -0
  53. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/cream/cream_lens_abi.py +0 -0
  54. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/granary/__init__.py +0 -0
  55. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/granary/granary_rewarder_abi.py +0 -0
  56. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/iron_bank/__init__.py +0 -0
  57. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/iron_bank/iron_comptroller_abi.py +0 -0
  58. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/iron_bank/iron_lens_abi.py +0 -0
  59. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/justlend/__init__.py +0 -0
  60. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/justlend/just_token_abi.py +0 -0
  61. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/justlend/justlend_comptroller_abi.py +0 -0
  62. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/liqee/__init__.py +0 -0
  63. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/liqee/liqee_comptroller_abi.py +0 -0
  64. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/liqee/liqee_event_abi.py +0 -0
  65. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/liqee/liqee_lending_data_abi.py +0 -0
  66. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/liqee/liqee_token_abi.py +0 -0
  67. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/morpho/__init__.py +0 -0
  68. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/morpho/morpho_aave_v2_comptroller_abi.py +0 -0
  69. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/morpho/morpho_aave_v2_lens_abi.py +0 -0
  70. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/morpho/morpho_aave_v3_comptroller_abi.py +0 -0
  71. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/morpho/morpho_compound_comptroller_abi.py +0 -0
  72. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/morpho/morpho_compound_lens_abi.py +0 -0
  73. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/morpho/morpho_compound_reward_manager_abi.py +0 -0
  74. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/onyx/__init__.py +0 -0
  75. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/onyx/onyx_comptroller_abi.py +0 -0
  76. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/onyx/onyx_event_abi.py +0 -0
  77. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/onyx/onyx_lens_abi.py +0 -0
  78. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/onyx/onyx_token_abi.py +0 -0
  79. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/other/__init__.py +0 -0
  80. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/other/chain_link_abi.py +0 -0
  81. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/radiant_v2/__init__.py +0 -0
  82. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/radiant_v2/radiant_v2_incentive_abi.py +0 -0
  83. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/silo/__init__.py +0 -0
  84. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/silo/silo_abi.py +0 -0
  85. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/silo/silo_lens_abi.py +0 -0
  86. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/silo/silo_repository_abi.py +0 -0
  87. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/silo/silo_reward_abi.py +0 -0
  88. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/strike/__init__.py +0 -0
  89. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/strike/strike_comptroller_abi.py +0 -0
  90. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/strike/strike_lens_abi.py +0 -0
  91. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/strike/strike_token_abi.py +0 -0
  92. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/trava/__init__.py +0 -0
  93. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/trava/trava_lending_pool_abi.py +0 -0
  94. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/trava/trava_oracle_abi.py +0 -0
  95. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/valas/__init__.py +0 -0
  96. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/valas/chef_incentives_controller.py +0 -0
  97. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/valas/valas_multi_fee_distribution.py +0 -0
  98. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/venus/__init__.py +0 -0
  99. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/venus/venus_comptroller_abi.py +0 -0
  100. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/venus/venus_lens_abi.py +0 -0
  101. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/venus/venus_lens_abi_v1.py +0 -0
  102. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/venus/vtoken_abi.py +0 -0
  103. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/wepiggy/__init__.py +0 -0
  104. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/wepiggy/wepiggy_comptroller_abi.py +0 -0
  105. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/wepiggy/wepiggy_distribution_abi.py +0 -0
  106. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/lending/wepiggy/wepiggy_lens_abi.py +0 -0
  107. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/token/__init__.py +0 -0
  108. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/token/ctoken_abi.py +0 -0
  109. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/token/erc20_abi.py +0 -0
  110. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/token/erc721_abi.py +0 -0
  111. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/vault/__init__.py +0 -0
  112. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/vault/incentive_abi.py +0 -0
  113. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/vault/trava_vault_abi.py +0 -0
  114. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/vault/valuator_abi.py +0 -0
  115. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/abis/vault/ve_abi.py +0 -0
  116. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/__init__.py +0 -0
  117. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/chain_constant.py +0 -0
  118. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/db_constant.py +0 -0
  119. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/entities/__init__.py +0 -0
  120. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/entities/lending_constant.py +0 -0
  121. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/mongo_constant.py +0 -0
  122. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/query_constant.py +0 -0
  123. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/time_constant.py +0 -0
  124. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/constants/token_constant.py +0 -0
  125. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/__init__.py +0 -0
  126. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/processors/__init__.py +0 -0
  127. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/processors/multi_state_processor.py +0 -0
  128. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/processors/solana_state_processor.py +0 -0
  129. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/processors/state_processor.py +0 -0
  130. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/processors/substrate_state_processor.py +0 -0
  131. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/queriers/__init__.py +0 -0
  132. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/queriers/solana_state_querier.py +0 -0
  133. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/queriers/state_querier.py +0 -0
  134. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/jobs/queriers/substrate_state_querier.py +0 -0
  135. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/__init__.py +0 -0
  136. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/__init__.py +0 -0
  137. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/aave_v2_services.py +0 -0
  138. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/aave_v3_services.py +0 -0
  139. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/apeswap_services.py +0 -0
  140. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/compound_service.py +0 -0
  141. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/cream_services.py +0 -0
  142. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/flux_services.py +0 -0
  143. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/geist_services.py +0 -0
  144. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/granary_services.py +0 -0
  145. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/iron_bank_service.py +0 -0
  146. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/justlend_service.py +0 -0
  147. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/__init__.py +0 -0
  148. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/arbitrum/__init__.py +0 -0
  149. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +0 -0
  150. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py +0 -0
  151. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/arbitrum/radiant_arbitrum.py +0 -0
  152. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/arbitrum/silo_arbitrum.py +0 -0
  153. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/arbitrum/wepiggy_arbitrum.py +0 -0
  154. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/avalanche/__init__.py +0 -0
  155. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/avalanche/aave_v2_avalanche.py +0 -0
  156. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/avalanche/aave_v3_avalanche.py +0 -0
  157. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/avalanche/granary_avalanche.py +0 -0
  158. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/avalanche/iron_bank_avalanche.py +0 -0
  159. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/__init__.py +0 -0
  160. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +0 -0
  161. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/cream_bsc.py +0 -0
  162. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/granary_bsc.py +0 -0
  163. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/liqee_bsc.py +0 -0
  164. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/radiant_bsc.py +0 -0
  165. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/trava_bsc.py +0 -0
  166. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/valas_bsc.py +0 -0
  167. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/venus_bsc.py +0 -0
  168. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/bsc/wepiggy_bsc.py +0 -0
  169. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/__init__.py +0 -0
  170. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/aave_v2_eth.py +0 -0
  171. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/aave_v3_eth.py +0 -0
  172. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/compound_eth.py +0 -0
  173. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/compound_v3_eth.py +0 -0
  174. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/flux_eth.py +0 -0
  175. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/granary_eth.py +0 -0
  176. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/iron_bank_eth.py +0 -0
  177. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/liqee_eth.py +0 -0
  178. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v2_eth.py +0 -0
  179. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v3_eth.py +0 -0
  180. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/morpho_compound_eth.py +0 -0
  181. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/onyx_eth.py +0 -0
  182. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/silo_eth.py +0 -0
  183. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/silo_llama_eth.py +0 -0
  184. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/spark_eth.py +0 -0
  185. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/strike_eth.py +0 -0
  186. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/trava_eth.py +0 -0
  187. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/uwu_eth.py +0 -0
  188. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/ethereum/wepiggy_eth.py +0 -0
  189. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/fantom/__init__.py +0 -0
  190. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/fantom/aave_v3_ftm.py +0 -0
  191. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/fantom/geist_ftm.py +0 -0
  192. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/fantom/granary_ftm.py +0 -0
  193. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/fantom/trava_ftm.py +0 -0
  194. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/optimism/__init__.py +0 -0
  195. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/optimism/aave_v3_optimism.py +0 -0
  196. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/optimism/granary_optimism.py +0 -0
  197. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/optimism/iron_bank_optimism.py +0 -0
  198. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/optimism/wepiggy_optimism.py +0 -0
  199. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/polygon/__init__.py +0 -0
  200. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/polygon/aave_v2_polygon.py +0 -0
  201. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/polygon/aave_v3_polygon.py +0 -0
  202. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py +0 -0
  203. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/tron/__init__.py +0 -0
  204. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/lending_info/tron/justlend_tron.py +0 -0
  205. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/liqee_service.py +0 -0
  206. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/morpho_aave_v2_services.py +0 -0
  207. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/morpho_aave_v3_services.py +0 -0
  208. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/morpho_compound_services.py +0 -0
  209. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/onyx_service.py +0 -0
  210. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/radiant_v2_services.py +0 -0
  211. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/silo_services.py +0 -0
  212. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/spark_services.py +0 -0
  213. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/strike_service.py +0 -0
  214. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/trava_services.py +0 -0
  215. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/uwu_services.py +0 -0
  216. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/valas_services.py +0 -0
  217. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/venus_services.py +0 -0
  218. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/lending/wepiggy_services.py +0 -0
  219. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/nft_services.py +0 -0
  220. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/protocol_services.py +0 -0
  221. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/solana_token_services.py +0 -0
  222. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/substrate_token_services.py +0 -0
  223. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/services/token_services.py +0 -0
  224. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/__init__.py +0 -0
  225. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/apy.py +0 -0
  226. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/convert_address.py +0 -0
  227. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/graph_operations.py +0 -0
  228. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/init_services.py +0 -0
  229. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/logger_utils.py +0 -0
  230. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/market_service.py +0 -0
  231. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/memory_storage.py +0 -0
  232. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_services/utils/thread_proxy.py +0 -0
  233. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_state_querier.egg-info/dependency_links.txt +0 -0
  234. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_state_querier.egg-info/requires.txt +0 -0
  235. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/src/defi_state_querier.egg-info/top_level.txt +0 -0
  236. {defi-state-querier-0.3.2 → defi-state-querier-0.3.4}/tests/test_processor_job.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: defi-state-querier
3
- Version: 0.3.2
3
+ Version: 0.3.4
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.3.4"
@@ -78,7 +78,8 @@ class LendingServices:
78
78
  polygon = {
79
79
  Lending.aave_v2: AaveV2StateService,
80
80
  Lending.aave_v3: AaveV3StateService,
81
- Lending.wepiggy: WepiggyStateService
81
+ Lending.wepiggy: WepiggyStateService,
82
+ Lending.compound_v3: CompoundV3StateService
82
83
  }
83
84
 
84
85
  optimism = {
@@ -93,7 +94,8 @@ class LendingServices:
93
94
  Lending.aave_v3: AaveV3StateService,
94
95
  Lending.wepiggy: WepiggyStateService,
95
96
  Lending.granary: GranaryStateService,
96
- Lending.silo: SiloStateService
97
+ Lending.silo: SiloStateService,
98
+ Lending.compound_v3: CompoundV3StateService
97
99
  }
98
100
 
99
101
  tron = {
@@ -8,12 +8,16 @@ from defi_services.constants.time_constant import TimeConstants
8
8
  from defi_services.constants.token_constant import Token
9
9
  from defi_services.jobs.queriers.state_querier import StateQuerier
10
10
  from defi_services.services.lending.compound_service import CompoundStateService
11
+ from defi_services.services.lending.lending_info.arbitrum.compound_v3_arbitrum import COMPOUND_V3_ARBITRUM
11
12
  from defi_services.services.lending.lending_info.ethereum.compound_v3_eth import COMPOUND_V3_ETH
13
+ from defi_services.services.lending.lending_info.polygon.compound_v3_polygon import COMPOUND_V3_POLYGON
12
14
 
13
15
 
14
16
  class CompoundV3Info:
15
17
  mapping = {
16
- Chain.ethereum: COMPOUND_V3_ETH
18
+ Chain.ethereum: COMPOUND_V3_ETH,
19
+ Chain.polygon: COMPOUND_V3_POLYGON,
20
+ Chain.arbitrum: COMPOUND_V3_ARBITRUM
17
21
  }
18
22
 
19
23
 
@@ -0,0 +1,61 @@
1
+ COMPOUND_V3_ARBITRUM = {
2
+ "name": "Compound V3 Lending Pool",
3
+ "rewardToken": "0x354a6da3fcde098f8389cad84b0182725c6c91de",
4
+ "rewardAddress": "0x88730d254a2f7e6ac8388c3198afd694ba9f7fae",
5
+ "factoryAddress": "0xe2aa5194e45b043afdd6e98f467c0b1c13484ae9",
6
+ "poolToken": "0x354a6da3fcde098f8389cad84b0182725c6c91de",
7
+ "type": "LENDING_POOL",
8
+ "forked": "compound-v3",
9
+ "reservesList": {
10
+ "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8": {
11
+ "comet": "0xa5edbdd9646f8dff606d7448e414884c7d905dca",
12
+ "assets": {
13
+ "0x912ce59144191c1204e64559fe8253a0e49e6548": {
14
+ "priceFeed": "0xb2a824043730fe05f3da2efafa1cbbe83fa548d6",
15
+ "loanToValue": 0.55,
16
+ "liquidationThreshold": 0.6
17
+ },
18
+ "0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a": {
19
+ "priceFeed": "0xdb98056fecfff59d032ab628337a4887110df3db",
20
+ "loanToValue": 0.4,
21
+ "liquidationThreshold": 0.45
22
+ },
23
+ "0x82af49447d8a07e3bd95bd0d56f35241523fbab1": {
24
+ "priceFeed": "0x639fe6ab55c921f74e7fac1ee960c0b6293ba612",
25
+ "loanToValue": 0.78,
26
+ "liquidationThreshold": 0.85
27
+ },
28
+ "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f": {
29
+ "priceFeed": "0xd0c7101eacbb49f3decccc166d238410d6d46d57",
30
+ "loanToValue": 0.7,
31
+ "liquidationThreshold": 0.77
32
+ }
33
+ }
34
+ },
35
+ "0xaf88d065e77c8cc2239327c5edb3a432268e5831": {
36
+ "comet": "0x9c4ec768c28520b50860ea7a15bd7213a9ff58bf",
37
+ "assets": {
38
+ "0x912ce59144191c1204e64559fe8253a0e49e6548": {
39
+ "priceFeed": "0xb2a824043730fe05f3da2efafa1cbbe83fa548d6",
40
+ "loanToValue": 0.55,
41
+ "liquidationThreshold": 0.6
42
+ },
43
+ "0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a": {
44
+ "priceFeed": "0xdb98056fecfff59d032ab628337a4887110df3db",
45
+ "loanToValue": 0.4,
46
+ "liquidationThreshold": 0.45
47
+ },
48
+ "0x82af49447d8a07e3bd95bd0d56f35241523fbab1": {
49
+ "priceFeed": "0x639fe6ab55c921f74e7fac1ee960c0b6293ba612",
50
+ "loanToValue": 0.78,
51
+ "liquidationThreshold": 0.85
52
+ },
53
+ "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f": {
54
+ "priceFeed": "0xd0c7101eacbb49f3decccc166d238410d6d46d57",
55
+ "loanToValue": 0.7,
56
+ "liquidationThreshold": 0.77
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,41 @@
1
+ COMPOUND_V3_POLYGON = {
2
+ "name": "Compound V3 Lending Pool",
3
+ "rewardToken": "0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c",
4
+ "rewardAddress": "0x45939657d1ca34a8fa39a924b71d28fe8431e581",
5
+ "factoryAddress": "0x2f9e3953b2ef89fa265f2a32ed9f80d00229125b",
6
+ "poolToken": "0x8505b9d2254a7ae468c0e9dd10ccea3a837aef5c",
7
+ "type": "LENDING_POOL",
8
+ "forked": "compound-v3",
9
+ "reservesList": {
10
+ "0x2791bca1f2de4661ed88a30c99a7a9449aa84174": {
11
+ "comet": "0xf25212e676d1f7f89cd72ffee66158f541246445",
12
+ "assets": {
13
+ "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619": {
14
+ "priceFeed": "0xf9680d99d6c9589e2a93a78a04a279e509205945",
15
+ "loanToValue": 0.775,
16
+ "liquidationThreshold": 0.825
17
+ },
18
+ "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6": {
19
+ "priceFeed": "0xde31f8bfbd8c84b5360cfacca3539b938dd78ae6",
20
+ "loanToValue": 0.7,
21
+ "liquidationThreshold": 0.75
22
+ },
23
+ "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270": {
24
+ "priceFeed": "0xab594600376ec9fd91f8e885dadf0ce036862de0",
25
+ "loanToValue": 0.65,
26
+ "liquidationThreshold": 0.7
27
+ },
28
+ "0xfa68fb4628dff1028cfec22b4162fccd0d45efb6": {
29
+ "priceFeed": "0x5d37e4b374e6907de8fc7fb33ee3b0af403c7403",
30
+ "loanToValue": 0.55,
31
+ "liquidationThreshold": 0.6
32
+ },
33
+ "0x3a58a54c066fdc0f2d55fc9c89f0415c92ebf3c4": {
34
+ "priceFeed": "0x97371df4492605486e23da797fa68e55fc38a13f",
35
+ "loanToValue": 0.6,
36
+ "liquidationThreshold": 0.65
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: defi-state-querier
3
- Version: 0.3.2
3
+ Version: 0.3.4
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
@@ -159,6 +159,7 @@ src/defi_services/services/lending/wepiggy_services.py
159
159
  src/defi_services/services/lending/lending_info/__init__.py
160
160
  src/defi_services/services/lending/lending_info/arbitrum/__init__.py
161
161
  src/defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py
162
+ src/defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py
162
163
  src/defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py
163
164
  src/defi_services/services/lending/lending_info/arbitrum/radiant_arbitrum.py
164
165
  src/defi_services/services/lending/lending_info/arbitrum/silo_arbitrum.py
@@ -211,6 +212,7 @@ src/defi_services/services/lending/lending_info/optimism/wepiggy_optimism.py
211
212
  src/defi_services/services/lending/lending_info/polygon/__init__.py
212
213
  src/defi_services/services/lending/lending_info/polygon/aave_v2_polygon.py
213
214
  src/defi_services/services/lending/lending_info/polygon/aave_v3_polygon.py
215
+ src/defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py
214
216
  src/defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py
215
217
  src/defi_services/services/lending/lending_info/tron/__init__.py
216
218
  src/defi_services/services/lending/lending_info/tron/justlend_tron.py
@@ -1 +0,0 @@
1
- __version__ = "0.3.2"