defi-state-querier 0.2.7__tar.gz → 0.2.8__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. {defi-state-querier-0.2.7/src/defi_state_querier.egg-info → defi-state-querier-0.2.8}/PKG-INFO +1 -1
  2. defi-state-querier-0.2.8/src/defi_services/__init__.py +1 -0
  3. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/processors/state_processor.py +4 -4
  4. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/justlend_service.py +20 -0
  5. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8/src/defi_state_querier.egg-info}/PKG-INFO +1 -1
  6. defi-state-querier-0.2.7/src/defi_services/__init__.py +0 -1
  7. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/LICENSE +0 -0
  8. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/README.md +0 -0
  9. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/pyproject.toml +0 -0
  10. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/setup.cfg +0 -0
  11. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/setup.py +0 -0
  12. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/__init__.py +0 -0
  13. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/dex/__init__.py +0 -0
  14. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/dex/biswap/__init__.py +0 -0
  15. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/dex/biswap/biswap_masterchef_abi.py +0 -0
  16. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/dex/pancakeswap/__init__.py +0 -0
  17. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/dex/pancakeswap/pancakeswap_masterchef_abi.py +0 -0
  18. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/__init__.py +0 -0
  19. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v2_and_forlks/__init__.py +0 -0
  20. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_event_abi.py +0 -0
  21. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_incentives_abi.py +0 -0
  22. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v2_and_forlks/lending_pool_abi.py +0 -0
  23. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v2_and_forlks/oracle_abi.py +0 -0
  24. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v2_and_forlks/staked_incentives_abi.py +0 -0
  25. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v2_and_forlks/uwu_incentives_abi.py +0 -0
  26. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3/__init__.py +0 -0
  27. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3/aave_v3_event_abi.py +0 -0
  28. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3/aave_v3_incentives_abi.py +0 -0
  29. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3/aave_v3_lending_pool_abi.py +0 -0
  30. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3/aave_v3_oracle_abi.py +0 -0
  31. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3_forks/__init__.py +0 -0
  32. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_incentives_abi.py +0 -0
  33. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_lending_pool_abi.py +0 -0
  34. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_oracle_abi.py +0 -0
  35. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/alpaca/__init__.py +0 -0
  36. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/alpaca/alpaca_fair_launch_abi.py +0 -0
  37. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/alpaca/alpaca_vault_abi.py +0 -0
  38. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/alpaca/alpaca_vault_config_abi.py +0 -0
  39. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/apeswape/__init__.py +0 -0
  40. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/apeswape/apeswap_comptroller_abi.py +0 -0
  41. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/apeswape/apeswap_event_abi.py +0 -0
  42. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/apeswape/apeswap_lens_abi.py +0 -0
  43. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/apeswape/apswap_ctoken_abi.py +0 -0
  44. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/compound_v3/__init__.py +0 -0
  45. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/compound_v3/comet_abi.py +0 -0
  46. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/compound_v3/comet_ext_abi.py +0 -0
  47. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/compound_v3/reward_abi.py +0 -0
  48. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/cream/__init__.py +0 -0
  49. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/cream/cream_comptroller_abi.py +0 -0
  50. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/cream/cream_lens_abi.py +0 -0
  51. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/granary/__init__.py +0 -0
  52. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/granary/granary_rewarder_abi.py +0 -0
  53. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/iron_bank/__init__.py +0 -0
  54. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/iron_bank/iron_comptroller_abi.py +0 -0
  55. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/iron_bank/iron_lens_abi.py +0 -0
  56. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/justlend/__init__.py +0 -0
  57. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/justlend/just_token_abi.py +0 -0
  58. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/liqee/__init__.py +0 -0
  59. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/liqee/liqee_comptroller_abi.py +0 -0
  60. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/liqee/liqee_event_abi.py +0 -0
  61. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/liqee/liqee_lending_data_abi.py +0 -0
  62. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/liqee/liqee_token_abi.py +0 -0
  63. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/morpho/__init__.py +0 -0
  64. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/morpho/morpho_aave_v2_comptroller_abi.py +0 -0
  65. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/morpho/morpho_aave_v2_lens_abi.py +0 -0
  66. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/morpho/morpho_aave_v3_comptroller_abi.py +0 -0
  67. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/morpho/morpho_compound_comptroller_abi.py +0 -0
  68. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/morpho/morpho_compound_lens_abi.py +0 -0
  69. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/morpho/morpho_compound_reward_manager_abi.py +0 -0
  70. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/onyx/__init__.py +0 -0
  71. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/onyx/onyx_comptroller_abi.py +0 -0
  72. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/onyx/onyx_event_abi.py +0 -0
  73. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/onyx/onyx_lens_abi.py +0 -0
  74. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/onyx/onyx_token_abi.py +0 -0
  75. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/other/__init__.py +0 -0
  76. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/other/chain_link_abi.py +0 -0
  77. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/radiant_v2/__init__.py +0 -0
  78. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/radiant_v2/radiant_v2_incentive_abi.py +0 -0
  79. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/silo/__init__.py +0 -0
  80. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/silo/silo_abi.py +0 -0
  81. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/silo/silo_lens_abi.py +0 -0
  82. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/silo/silo_repository_abi.py +0 -0
  83. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/silo/silo_reward_abi.py +0 -0
  84. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/strike/__init__.py +0 -0
  85. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/strike/strike_comptroller_abi.py +0 -0
  86. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/strike/strike_lens_abi.py +0 -0
  87. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/strike/strike_token_abi.py +0 -0
  88. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/trava/__init__.py +0 -0
  89. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/trava/trava_lending_pool_abi.py +0 -0
  90. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/trava/trava_oracle_abi.py +0 -0
  91. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/valas/__init__.py +0 -0
  92. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/valas/chef_incentives_controller.py +0 -0
  93. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/valas/valas_multi_fee_distribution.py +0 -0
  94. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/venus/__init__.py +0 -0
  95. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/venus/venus_comptroller_abi.py +0 -0
  96. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/venus/venus_lens_abi.py +0 -0
  97. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/venus/venus_lens_abi_v1.py +0 -0
  98. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/venus/vtoken_abi.py +0 -0
  99. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/wepiggy/__init__.py +0 -0
  100. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/wepiggy/wepiggy_comptroller_abi.py +0 -0
  101. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/wepiggy/wepiggy_distribution_abi.py +0 -0
  102. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/lending/wepiggy/wepiggy_lens_abi.py +0 -0
  103. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/token/__init__.py +0 -0
  104. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/token/ctoken_abi.py +0 -0
  105. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/token/erc20_abi.py +0 -0
  106. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/token/erc721_abi.py +0 -0
  107. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/vault/__init__.py +0 -0
  108. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/vault/incentive_abi.py +0 -0
  109. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/vault/trava_vault_abi.py +0 -0
  110. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/vault/valuator_abi.py +0 -0
  111. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/abis/vault/ve_abi.py +0 -0
  112. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/__init__.py +0 -0
  113. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/chain_constant.py +0 -0
  114. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/db_constant.py +0 -0
  115. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/entities/__init__.py +0 -0
  116. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/entities/lending_constant.py +0 -0
  117. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/entities/lending_services.py +0 -0
  118. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/mongo_constant.py +0 -0
  119. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/query_constant.py +0 -0
  120. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/time_constant.py +0 -0
  121. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/constants/token_constant.py +0 -0
  122. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/__init__.py +0 -0
  123. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/processors/__init__.py +0 -0
  124. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/processors/multi_state_processor.py +0 -0
  125. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/processors/solana_state_processor.py +0 -0
  126. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/processors/substrate_state_processor.py +0 -0
  127. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/queriers/__init__.py +0 -0
  128. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/queriers/solana_state_querier.py +0 -0
  129. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/queriers/state_querier.py +0 -0
  130. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/jobs/queriers/substrate_state_querier.py +0 -0
  131. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/__init__.py +0 -0
  132. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/__init__.py +0 -0
  133. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/aave_v2_services.py +0 -0
  134. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/aave_v3_services.py +0 -0
  135. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/apeswap_services.py +0 -0
  136. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/compound_service.py +0 -0
  137. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/compound_v3_services.py +0 -0
  138. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/cream_services.py +0 -0
  139. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/flux_services.py +0 -0
  140. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/geist_services.py +0 -0
  141. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/granary_services.py +0 -0
  142. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/iron_bank_service.py +0 -0
  143. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/__init__.py +0 -0
  144. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/arbitrum/__init__.py +0 -0
  145. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +0 -0
  146. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py +0 -0
  147. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/arbitrum/radiant_arbitrum.py +0 -0
  148. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/arbitrum/silo_arbitrum.py +0 -0
  149. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/arbitrum/wepiggy_arbitrum.py +0 -0
  150. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/avalanche/__init__.py +0 -0
  151. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/avalanche/aave_v2_avalanche.py +0 -0
  152. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/avalanche/aave_v3_avalanche.py +0 -0
  153. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/avalanche/granary_avalanche.py +0 -0
  154. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/avalanche/iron_bank_avalanche.py +0 -0
  155. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/__init__.py +0 -0
  156. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +0 -0
  157. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/cream_bsc.py +0 -0
  158. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/granary_bsc.py +0 -0
  159. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/liqee_bsc.py +0 -0
  160. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/radiant_bsc.py +0 -0
  161. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/trava_bsc.py +0 -0
  162. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/valas_bsc.py +0 -0
  163. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/venus_bsc.py +0 -0
  164. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/bsc/wepiggy_bsc.py +0 -0
  165. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/__init__.py +0 -0
  166. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/aave_v2_eth.py +0 -0
  167. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/aave_v3_eth.py +0 -0
  168. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/compound_eth.py +0 -0
  169. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/compound_v3_eth.py +0 -0
  170. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/flux_eth.py +0 -0
  171. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/granary_eth.py +0 -0
  172. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/iron_bank_eth.py +0 -0
  173. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/liqee_eth.py +0 -0
  174. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v2_eth.py +0 -0
  175. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v3_eth.py +0 -0
  176. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/morpho_compound_eth.py +0 -0
  177. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/onyx_eth.py +0 -0
  178. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/silo_eth.py +0 -0
  179. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/silo_llama_eth.py +0 -0
  180. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/spark_eth.py +0 -0
  181. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/strike_eth.py +0 -0
  182. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/trava_eth.py +0 -0
  183. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/uwu_eth.py +0 -0
  184. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/ethereum/wepiggy_eth.py +0 -0
  185. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/fantom/__init__.py +0 -0
  186. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/fantom/aave_v3_ftm.py +0 -0
  187. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/fantom/geist_ftm.py +0 -0
  188. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/fantom/granary_ftm.py +0 -0
  189. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/fantom/trava_ftm.py +0 -0
  190. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/optimism/__init__.py +0 -0
  191. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/optimism/aave_v3_optimism.py +0 -0
  192. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/optimism/granary_optimism.py +0 -0
  193. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/optimism/iron_bank_optimism.py +0 -0
  194. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/optimism/wepiggy_optimism.py +0 -0
  195. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/polygon/__init__.py +0 -0
  196. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/polygon/aave_v2_polygon.py +0 -0
  197. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/polygon/aave_v3_polygon.py +0 -0
  198. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py +0 -0
  199. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/tron/__init__.py +0 -0
  200. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/lending_info/tron/justlend_tron.py +0 -0
  201. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/liqee_service.py +0 -0
  202. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/morpho_aave_v2_services.py +0 -0
  203. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/morpho_aave_v3_services.py +0 -0
  204. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/morpho_compound_services.py +0 -0
  205. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/onyx_service.py +0 -0
  206. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/radiant_v2_services.py +0 -0
  207. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/silo_services.py +0 -0
  208. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/spark_services.py +0 -0
  209. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/strike_service.py +0 -0
  210. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/trava_services.py +0 -0
  211. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/uwu_services.py +0 -0
  212. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/valas_services.py +0 -0
  213. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/venus_services.py +0 -0
  214. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/lending/wepiggy_services.py +0 -0
  215. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/nft_services.py +0 -0
  216. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/protocol_services.py +0 -0
  217. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/solana_token_services.py +0 -0
  218. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/substrate_token_services.py +0 -0
  219. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/services/token_services.py +0 -0
  220. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/__init__.py +0 -0
  221. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/convert_address.py +0 -0
  222. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/graph_operations.py +0 -0
  223. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/init_services.py +0 -0
  224. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/logger_utils.py +0 -0
  225. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/market_service.py +0 -0
  226. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/memory_storage.py +0 -0
  227. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_services/utils/thread_proxy.py +0 -0
  228. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_state_querier.egg-info/SOURCES.txt +0 -0
  229. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_state_querier.egg-info/dependency_links.txt +0 -0
  230. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_state_querier.egg-info/requires.txt +0 -0
  231. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/src/defi_state_querier.egg-info/top_level.txt +0 -0
  232. {defi-state-querier-0.2.7 → defi-state-querier-0.2.8}/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.2.7
3
+ Version: 0.2.8
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.2.8"
@@ -117,8 +117,8 @@ class StateProcessor:
117
117
  def run(self, address: str, queries: list, block_number: int = 'latest',
118
118
  batch_size: int = 100, max_workers: int = 8, ignore_error=False, token_prices=None):
119
119
  wallet = address
120
- if self.chain_id == Chain.tron and not self.check_address(address):
121
- wallet = base58_to_hex(address)
120
+ # if self.chain_id == Chain.tron and not self.check_address(address):
121
+ # wallet = base58_to_hex(address)
122
122
  if token_prices is None:
123
123
  token_prices = {}
124
124
  all_rpc_calls = {}
@@ -145,7 +145,7 @@ class StateProcessor:
145
145
  token_prices=token_prices, reserve_info=reserves_list)
146
146
  result.append(processed_data)
147
147
 
148
- if self.chain_id == Chain.tron:
149
- result = convert_address_dict(result)
148
+ # if self.chain_id == Chain.tron:
149
+ # result = convert_address_dict(result)
150
150
 
151
151
  return result
@@ -63,3 +63,23 @@ class JustLendStateService(CompoundStateService):
63
63
  reserves_info[underlying] = {'cToken': token.lower()}
64
64
  return reserves_info
65
65
 
66
+ # REWARDS BALANCE
67
+ def get_rewards_balance_function_info(
68
+ self,
69
+ wallets: str,
70
+ reserves_info: dict = None,
71
+ block_number: int = "latest",
72
+ ):
73
+ rpc_call = self.get_comptroller_function_info("compAccrued", [wallets], block_number)
74
+ get_reward_id = f"compAccrued_{self.name}_{wallets}_{block_number}".lower()
75
+ return {get_reward_id: rpc_call}
76
+
77
+ def calculate_rewards_balance(self, decoded_data: dict, wallets: str,
78
+ block_number: int = "latest"):
79
+ get_reward_id = f"compAccrued_{self.name}_{wallets}_{block_number}".lower()
80
+ rewards = decoded_data.get(get_reward_id) / 10 ** 18
81
+ reward_token = self.pool_info.get("rewardToken")
82
+ result = {
83
+ reward_token: {"amount": rewards}
84
+ }
85
+ return result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: defi-state-querier
3
- Version: 0.2.7
3
+ Version: 0.2.8
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
@@ -1 +0,0 @@
1
- __version__ = "0.2.7"