defi-state-querier 0.4.18__tar.gz → 0.4.19__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (412) hide show
  1. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/PKG-INFO +1 -1
  2. defi-state-querier-0.4.19/src/defi_services/__init__.py +1 -0
  3. defi-state-querier-0.4.19/src/defi_services/constants/cosmos_decimals_constant.py +187 -0
  4. defi-state-querier-0.4.19/src/defi_services/jobs/processors/cosmos_state_processor.py +37 -0
  5. defi-state-querier-0.4.19/src/defi_services/services/cosmos_token_services.py +42 -0
  6. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_state_querier.egg-info/PKG-INFO +1 -1
  7. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_state_querier.egg-info/SOURCES.txt +3 -0
  8. defi-state-querier-0.4.18/src/defi_services/__init__.py +0 -1
  9. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/LICENSE +0 -0
  10. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/README.md +0 -0
  11. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/pyproject.toml +0 -0
  12. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/setup.cfg +0 -0
  13. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/setup.py +0 -0
  14. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/__init__.py +0 -0
  15. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/__init__.py +0 -0
  16. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/biswap/__init__.py +0 -0
  17. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/biswap/biswap_masterchef_abi.py +0 -0
  18. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/__init__.py +0 -0
  19. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/factory_v3_abi.py +0 -0
  20. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/masterchef_v0_abi.py +0 -0
  21. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/masterchef_v3_abi.py +0 -0
  22. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/nft_token_abi.py +0 -0
  23. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/pancakeswap_lp_token_abi.py +0 -0
  24. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/pancakeswap_masterchef_v2_abi.py +0 -0
  25. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/pancakeswap_router_v2_abi.py +0 -0
  26. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/pancakeswap_v2_factory_abi.py +0 -0
  27. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/pancakeswap/v3_pool_abi.py +0 -0
  28. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/quickswap/__init__.py +0 -0
  29. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/quickswap/factory_v3_abi.py +0 -0
  30. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/quickswap/nft_token_manager.py +0 -0
  31. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/quickswap/pool_v3_abi.py +0 -0
  32. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/spookyswap/__init__.py +0 -0
  33. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/spookyswap/masterchef_v2_abi.py +0 -0
  34. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/spookyswap/masterchef_v3_abi.py +0 -0
  35. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/sushiswap/__init__.py +0 -0
  36. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/sushiswap/factory_v3_abi.py +0 -0
  37. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/sushiswap/masterchef_abi.py +0 -0
  38. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/sushiswap/masterchef_v2_abi.py +0 -0
  39. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/sushiswap/minichef_abi.py +0 -0
  40. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/uniswap/__init__.py +0 -0
  41. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/uniswap/factory_v2_abi.py +0 -0
  42. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/uniswap/factory_v3_abi.py +0 -0
  43. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/uniswap/nft_token_manager_abi.py +0 -0
  44. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/dex/uniswap/pool_v3_abi.py +0 -0
  45. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/__init__.py +0 -0
  46. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/__init__.py +0 -0
  47. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/__init__.py +0 -0
  48. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/aave_incentives_controller.py +0 -0
  49. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/aave_oracle.py +0 -0
  50. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/atoken.py +0 -0
  51. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/avalanche_atoken.py +0 -0
  52. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/default_reserve_interest_rate_strategy.py +0 -0
  53. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/lending_pool.py +0 -0
  54. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_addresses_provider.py +0 -0
  55. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_addresses_provider_registry.py +0 -0
  56. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/lending_pool_configurator.py +0 -0
  57. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/oracle_anchor.py +0 -0
  58. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/stable_debt_token.py +0 -0
  59. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/uniswap_liquidity_swap_adapter.py +0 -0
  60. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/uniswap_repay_adapter.py +0 -0
  61. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2/variable_debt_token.py +0 -0
  62. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2_permissioned/__init__.py +0 -0
  63. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2_permissioned/aave_oracle.py +0 -0
  64. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v2_permissioned/permission_manager.py +0 -0
  65. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/__init__.py +0 -0
  66. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/aave_oracle.py +0 -0
  67. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_incentives_abi.py +0 -0
  68. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_lending_pool_abi.py +0 -0
  69. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/aave_v3_oracle_abi.py +0 -0
  70. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/atoken.py +0 -0
  71. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/default_reserve_interest_rate_strategy.py +0 -0
  72. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/pool.py +0 -0
  73. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/pool_addresses_provider.py +0 -0
  74. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/pool_addresses_provider_registry.py +0 -0
  75. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/pool_configurator.py +0 -0
  76. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/price_oracle.py +0 -0
  77. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/rewards_controller.py +0 -0
  78. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/stable_debt_token.py +0 -0
  79. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/aave_v3/variable_debt_token.py +0 -0
  80. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/all_aave_abi.py +0 -0
  81. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/gho/__init__.py +0 -0
  82. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/gho/gho_a_token.py +0 -0
  83. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/gho/gho_discount_rate_strategy.py +0 -0
  84. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/gho/gho_flash_minter.py +0 -0
  85. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/gho/gho_token.py +0 -0
  86. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave/gho/gho_variable_debt_token.py +0 -0
  87. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v2_and_forlks/__init__.py +0 -0
  88. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_event_abi.py +0 -0
  89. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v2_and_forlks/aave_v2_incentives_abi.py +0 -0
  90. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v2_and_forlks/lending_pool_abi.py +0 -0
  91. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v2_and_forlks/oracle_abi.py +0 -0
  92. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v2_and_forlks/staked_incentives_abi.py +0 -0
  93. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v2_and_forlks/uwu_incentives_abi.py +0 -0
  94. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v3_forks/__init__.py +0 -0
  95. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_incentives_abi.py +0 -0
  96. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_lending_pool_abi.py +0 -0
  97. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/aave_v3_forks/aave_v3_oracle_abi.py +0 -0
  98. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/alpaca/__init__.py +0 -0
  99. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/alpaca/alpaca_fair_launch_abi.py +0 -0
  100. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/alpaca/alpaca_vault_abi.py +0 -0
  101. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/alpaca/alpaca_vault_config_abi.py +0 -0
  102. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/apeswape/__init__.py +0 -0
  103. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/apeswape/apeswap_comptroller_abi.py +0 -0
  104. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/apeswape/apeswap_event_abi.py +0 -0
  105. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/apeswape/apeswap_lens_abi.py +0 -0
  106. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/apeswape/apswap_ctoken_abi.py +0 -0
  107. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/__init__.py +0 -0
  108. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/all_compound_abis.py +0 -0
  109. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/comet/__init__.py +0 -0
  110. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/compound_v3/__init__.py +0 -0
  111. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/compound_v3/comet_abi.py +0 -0
  112. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/compound_v3/comet_ext_abi.py +0 -0
  113. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/compound_v3/reward_abi.py +0 -0
  114. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/governance/__init__.py +0 -0
  115. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/governance/comp.py +0 -0
  116. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/governance/governor_bravo_delegate.py +0 -0
  117. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/governance/governor_bravo_delegator.py +0 -0
  118. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/governance/timelock.py +0 -0
  119. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/__init__.py +0 -0
  120. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/bravodelegate2.py +0 -0
  121. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/bravodelegator2.py +0 -0
  122. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/comp.py +0 -0
  123. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/compoundlens.py +0 -0
  124. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/comptroller.py +0 -0
  125. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/ctoken.py +0 -0
  126. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/dsr_updateable.py +0 -0
  127. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/governoralpha.py +0 -0
  128. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/governorbravo.py +0 -0
  129. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/governorbravodelegator.py +0 -0
  130. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/irm_comp_updateable.py +0 -0
  131. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/jumpratemodelv2.py +0 -0
  132. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/legacyjumpratemodelv2.py +0 -0
  133. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/moneymarket.py +0 -0
  134. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/newbravodelegate.py +0 -0
  135. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/newbravodelegator.py +0 -0
  136. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/pricedata.py +0 -0
  137. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/pricefeed.py +0 -0
  138. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/priceoracle.py +0 -0
  139. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/rep.py +0 -0
  140. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/reservoir.py +0 -0
  141. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/stablecoininterestratemodel.py +0 -0
  142. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/standardinterestratemodel.py +0 -0
  143. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/stdcomptroller.py +0 -0
  144. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/timelock.py +0 -0
  145. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/uni.py +0 -0
  146. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/compound/protocol/unitroller.py +0 -0
  147. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/cream/__init__.py +0 -0
  148. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/cream/cream_comptroller_abi.py +0 -0
  149. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/cream/cream_lens_abi.py +0 -0
  150. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/granary/__init__.py +0 -0
  151. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/granary/granary_rewarder_abi.py +0 -0
  152. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/iron_bank/__init__.py +0 -0
  153. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/iron_bank/ctoken_abi.py +0 -0
  154. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/iron_bank/iron_comptroller_abi.py +0 -0
  155. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/iron_bank/iron_lens_abi.py +0 -0
  156. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/justlend/__init__.py +0 -0
  157. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/justlend/just_token_abi.py +0 -0
  158. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/justlend/justlend_comptroller_abi.py +0 -0
  159. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/liqee/__init__.py +0 -0
  160. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/liqee/liqee_comptroller_abi.py +0 -0
  161. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/liqee/liqee_event_abi.py +0 -0
  162. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/liqee/liqee_lending_data_abi.py +0 -0
  163. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/liqee/liqee_token_abi.py +0 -0
  164. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/morpho/__init__.py +0 -0
  165. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/morpho/morpho_aave_v2_comptroller_abi.py +0 -0
  166. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/morpho/morpho_aave_v2_lens_abi.py +0 -0
  167. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/morpho/morpho_aave_v3_comptroller_abi.py +0 -0
  168. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/morpho/morpho_compound_comptroller_abi.py +0 -0
  169. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/morpho/morpho_compound_lens_abi.py +0 -0
  170. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/morpho/morpho_compound_reward_manager_abi.py +0 -0
  171. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/onyx/__init__.py +0 -0
  172. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/onyx/onyx_comptroller_abi.py +0 -0
  173. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/onyx/onyx_event_abi.py +0 -0
  174. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/onyx/onyx_lens_abi.py +0 -0
  175. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/onyx/onyx_token_abi.py +0 -0
  176. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/other/__init__.py +0 -0
  177. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/other/chain_link_abi.py +0 -0
  178. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/radiant_v2/__init__.py +0 -0
  179. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/radiant_v2/radiant_v2_incentive_abi.py +0 -0
  180. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/silo/__init__.py +0 -0
  181. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/silo/silo_abi.py +0 -0
  182. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/silo/silo_lens_abi.py +0 -0
  183. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/silo/silo_repository_abi.py +0 -0
  184. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/silo/silo_reward_abi.py +0 -0
  185. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/strike/__init__.py +0 -0
  186. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/strike/strike_comptroller_abi.py +0 -0
  187. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/strike/strike_lens_abi.py +0 -0
  188. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/strike/strike_token_abi.py +0 -0
  189. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/trava/__init__.py +0 -0
  190. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/trava/trava_lending_pool_abi.py +0 -0
  191. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/trava/trava_oracle_abi.py +0 -0
  192. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/valas/__init__.py +0 -0
  193. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/valas/chef_incentives_controller.py +0 -0
  194. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/valas/valas_multi_fee_distribution.py +0 -0
  195. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/__init__.py +0 -0
  196. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/__init__.py +0 -0
  197. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/comptroller_defi.py +0 -0
  198. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/comptrollerbeacon.py +0 -0
  199. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/comptrollerimpl.py +0 -0
  200. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/defaultproxyadmin.py +0 -0
  201. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/jumpratemodelv2.py +0 -0
  202. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/poollens.py +0 -0
  203. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/poolregistry.py +0 -0
  204. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/poolregistry_implementation.py +0 -0
  205. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/poolregistry_proxy.py +0 -0
  206. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/protocolsharereserve.py +0 -0
  207. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/protocolsharereserve_implementation.py +0 -0
  208. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/protocolsharereserve_proxy.py +0 -0
  209. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/rewardsdistributor_defi.py +0 -0
  210. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/rewardsdistributorimpl.py +0 -0
  211. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/riskfund.py +0 -0
  212. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/riskfund_implementation.py +0 -0
  213. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/riskfund_proxy.py +0 -0
  214. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/shortfall.py +0 -0
  215. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/shortfall_implementation.py +0 -0
  216. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/shortfall_proxy.py +0 -0
  217. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/swaprouter_defi.py +0 -0
  218. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/vtokenbeacon.py +0 -0
  219. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/abi/vtokenimpl.py +0 -0
  220. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/all_venus_abi.py +0 -0
  221. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/__init__.py +0 -0
  222. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/access_control_manager.py +0 -0
  223. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/access_controlled_v5.py +0 -0
  224. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/access_controlled_v8.py +0 -0
  225. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/governor_bravo_delegate.py +0 -0
  226. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/governor_bravo_delegator.py +0 -0
  227. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/governor_bravo_events.py +0 -0
  228. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/governance/timelock.py +0 -0
  229. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/venus/__init__.py +0 -0
  230. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/venus_comptroller_abi.py +0 -0
  231. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/venus_lens_abi.py +0 -0
  232. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/venus_lens_abi_v1.py +0 -0
  233. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/venus/vtoken_abi.py +0 -0
  234. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/wepiggy/__init__.py +0 -0
  235. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/wepiggy/wepiggy_comptroller_abi.py +0 -0
  236. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/wepiggy/wepiggy_distribution_abi.py +0 -0
  237. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/lending/wepiggy/wepiggy_lens_abi.py +0 -0
  238. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/token/__init__.py +0 -0
  239. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/token/ctoken_abi.py +0 -0
  240. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/token/erc20_abi.py +0 -0
  241. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/token/erc721_abi.py +0 -0
  242. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/vault/__init__.py +0 -0
  243. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/vault/incentive_abi.py +0 -0
  244. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/vault/trava_vault_abi.py +0 -0
  245. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/vault/valuator_abi.py +0 -0
  246. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/abis/vault/ve_abi.py +0 -0
  247. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/__init__.py +0 -0
  248. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/chain_constant.py +0 -0
  249. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/db_constant.py +0 -0
  250. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/__init__.py +0 -0
  251. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/dex_constant.py +0 -0
  252. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/dex_info_constant.py +0 -0
  253. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/dex_services.py +0 -0
  254. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/lending_constant.py +0 -0
  255. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/lending_services.py +0 -0
  256. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/vault_constant.py +0 -0
  257. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/entities/vault_services.py +0 -0
  258. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/mongo_constant.py +0 -0
  259. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/query_constant.py +0 -0
  260. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/time_constant.py +0 -0
  261. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/constants/token_constant.py +0 -0
  262. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/__init__.py +0 -0
  263. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/processors/__init__.py +0 -0
  264. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/processors/multi_state_processor.py +0 -0
  265. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/processors/solana_state_processor.py +0 -0
  266. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/processors/state_processor.py +0 -0
  267. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/processors/substrate_state_processor.py +0 -0
  268. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/queriers/__init__.py +0 -0
  269. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/queriers/solana_state_querier.py +0 -0
  270. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/queriers/state_querier.py +0 -0
  271. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/jobs/queriers/substrate_state_querier.py +0 -0
  272. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/__init__.py +0 -0
  273. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/__init__.py +0 -0
  274. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/dex_info/__init__.py +0 -0
  275. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/dex_info/pancakeswap_info.py +0 -0
  276. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/dex_info/quickswap_info.py +0 -0
  277. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/dex_info/spookyswap_info.py +0 -0
  278. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/dex_info/sushiswap_info.py +0 -0
  279. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/dex_info/uniswap_info.py +0 -0
  280. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/pancakeswap_service.py +0 -0
  281. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/pancakeswap_v2_service.py +0 -0
  282. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/pancakeswap_v3_service.py +0 -0
  283. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/quickswap_v2_service.py +0 -0
  284. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/quickswap_v3_service.py +0 -0
  285. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/spookyswap_v2_service.py +0 -0
  286. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/sushiswap_service.py +0 -0
  287. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/sushiswap_v2_service.py +0 -0
  288. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/sushiswap_v3_service.py +0 -0
  289. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/uniswap_v2_service.py +0 -0
  290. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex/uniswap_v3_service.py +0 -0
  291. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/dex_protocol_services.py +0 -0
  292. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/__init__.py +0 -0
  293. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/aave_v2_services.py +0 -0
  294. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/aave_v3_services.py +0 -0
  295. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/apeswap_services.py +0 -0
  296. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/compound_service.py +0 -0
  297. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/compound_v3_services.py +0 -0
  298. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/cream_services.py +0 -0
  299. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/flux_services.py +0 -0
  300. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/geist_services.py +0 -0
  301. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/granary_services.py +0 -0
  302. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/iron_bank_service.py +0 -0
  303. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/justlend_service.py +0 -0
  304. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/__init__.py +0 -0
  305. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/arbitrum/__init__.py +0 -0
  306. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +0 -0
  307. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py +0 -0
  308. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py +0 -0
  309. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/arbitrum/radiant_arbitrum.py +0 -0
  310. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/arbitrum/silo_arbitrum.py +0 -0
  311. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/arbitrum/wepiggy_arbitrum.py +0 -0
  312. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/avalanche/__init__.py +0 -0
  313. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/avalanche/aave_v2_avalanche.py +0 -0
  314. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/avalanche/aave_v3_avalanche.py +0 -0
  315. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/avalanche/granary_avalanche.py +0 -0
  316. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/avalanche/iron_bank_avalanche.py +0 -0
  317. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/__init__.py +0 -0
  318. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +0 -0
  319. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/cream_bsc.py +0 -0
  320. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/granary_bsc.py +0 -0
  321. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/liqee_bsc.py +0 -0
  322. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/radiant_bsc.py +0 -0
  323. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/trava_bsc.py +0 -0
  324. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/valas_bsc.py +0 -0
  325. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/venus_bsc.py +0 -0
  326. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/bsc/wepiggy_bsc.py +0 -0
  327. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/__init__.py +0 -0
  328. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/aave_v2_eth.py +0 -0
  329. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/aave_v3_eth.py +0 -0
  330. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/compound_eth.py +0 -0
  331. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/compound_v3_eth.py +0 -0
  332. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/flux_eth.py +0 -0
  333. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/granary_eth.py +0 -0
  334. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/iron_bank_eth.py +0 -0
  335. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/liqee_eth.py +0 -0
  336. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v2_eth.py +0 -0
  337. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/morpho_aave_v3_eth.py +0 -0
  338. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/morpho_compound_eth.py +0 -0
  339. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/onyx_eth.py +0 -0
  340. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/silo_eth.py +0 -0
  341. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/silo_llama_eth.py +0 -0
  342. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/spark_eth.py +0 -0
  343. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/strike_eth.py +0 -0
  344. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/trava_eth.py +0 -0
  345. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/uwu_eth.py +0 -0
  346. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/ethereum/wepiggy_eth.py +0 -0
  347. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/fantom/__init__.py +0 -0
  348. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/fantom/aave_v3_ftm.py +0 -0
  349. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/fantom/geist_ftm.py +0 -0
  350. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/fantom/granary_ftm.py +0 -0
  351. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/fantom/trava_ftm.py +0 -0
  352. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/optimism/__init__.py +0 -0
  353. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/optimism/aave_v3_optimism.py +0 -0
  354. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/optimism/granary_optimism.py +0 -0
  355. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/optimism/iron_bank_optimism.py +0 -0
  356. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/optimism/wepiggy_optimism.py +0 -0
  357. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/polygon/__init__.py +0 -0
  358. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/polygon/aave_v2_polygon.py +0 -0
  359. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/polygon/aave_v3_polygon.py +0 -0
  360. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py +0 -0
  361. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py +0 -0
  362. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/tron/__init__.py +0 -0
  363. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/lending_info/tron/justlend_tron.py +0 -0
  364. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/liqee_service.py +0 -0
  365. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/morpho_aave_v2_services.py +0 -0
  366. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/morpho_aave_v3_services.py +0 -0
  367. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/morpho_compound_services.py +0 -0
  368. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/onyx_service.py +0 -0
  369. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/radiant_v2_services.py +0 -0
  370. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/silo_services.py +0 -0
  371. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/spark_services.py +0 -0
  372. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/strike_service.py +0 -0
  373. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/trava_services.py +0 -0
  374. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/uwu_services.py +0 -0
  375. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/valas_services.py +0 -0
  376. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/venus_services.py +0 -0
  377. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/lending/wepiggy_services.py +0 -0
  378. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/nft_services.py +0 -0
  379. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/protocol_services.py +0 -0
  380. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/solana_token_services.py +0 -0
  381. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/substrate_token_services.py +0 -0
  382. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/token_services.py +0 -0
  383. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/__init__.py +0 -0
  384. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/trava_vault_services.py +0 -0
  385. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/vault_info/__init__.py +0 -0
  386. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/vault_info/bsc/__init__.py +0 -0
  387. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/vault_info/bsc/trava_bsc.py +0 -0
  388. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/vault_info/ethereum/__init__.py +0 -0
  389. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/vault_info/ethereum/trava_eth.py +0 -0
  390. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/vault_info/fantom/__init__.py +0 -0
  391. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/services/vault/vault_info/fantom/trava_ftm.py +0 -0
  392. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/__init__.py +0 -0
  393. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/apy.py +0 -0
  394. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/convert_address.py +0 -0
  395. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/graph_operations.py +0 -0
  396. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/init_dex_services.py +0 -0
  397. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/init_services.py +0 -0
  398. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/logger_utils.py +0 -0
  399. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/market_service.py +0 -0
  400. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/memory_storage.py +0 -0
  401. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/sqrt_price_math.py +0 -0
  402. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_services/utils/thread_proxy.py +0 -0
  403. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_state_querier.egg-info/dependency_links.txt +0 -0
  404. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_state_querier.egg-info/requires.txt +0 -0
  405. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/src/defi_state_querier.egg-info/top_level.txt +0 -0
  406. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/tests/test_dex_information.py +0 -0
  407. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/tests/test_dex_v2_processor_job.py +0 -0
  408. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/tests/test_dex_v3_processor_job.py +0 -0
  409. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/tests/test_processor_job.py +0 -0
  410. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/tests/test_staking_reward_job.py +0 -0
  411. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/tests/test_uniswap_v2.py +0 -0
  412. {defi-state-querier-0.4.18 → defi-state-querier-0.4.19}/tests/test_uniswap_v3.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: defi-state-querier
3
- Version: 0.4.18
3
+ Version: 0.4.19
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.19"
@@ -0,0 +1,187 @@
1
+ class Denoms:
2
+ def __init__(self, denom: str, decimal: int):
3
+ self.denom = denom
4
+ self.decimal = decimal
5
+
6
+ data = {
7
+ "uatom": {
8
+ "name": "ATOM",
9
+ "denom": "uatom",
10
+ "decimal": 6
11
+ },
12
+ "ibc/0025f8a87464a471e66b234c4f93aec5b4da3d42d7986451a059273426290dd5": {
13
+ "name": "NTRN",
14
+ "denom": "ibc/0025f8a87464a471e66b234c4f93aec5b4da3d42d7986451a059273426290dd5",
15
+ "decimal": 6
16
+ },
17
+ "ibc/f663521bf1836b00f5f177680f74bfb9a8b5654a694d0d2bc249e03cf2509013": {
18
+ "name": "USDC",
19
+ "denom": "ibc/f663521bf1836b00f5f177680f74bfb9a8b5654a694d0d2bc249e03cf2509013",
20
+ "decimal": 6
21
+ },
22
+ "ibc/b05539b66b72e2739b986b86391e5d08f12b8d5d2c2a7f8f8cf9adf674dfa231": {
23
+ "name": "stATOM",
24
+ "denom": "ibc/b05539b66b72e2739b986b86391e5d08f12b8d5d2c2a7f8f8cf9adf674dfa231",
25
+ "decimal": 6
26
+ },
27
+ "ibc/2181aab0218eac24bc9f86bd1364fbbfa3e6e3fcc25e88e3e68c15dc6e752d86": {
28
+ "name": "AKT",
29
+ "denom": "ibc/2181aab0218eac24bc9f86bd1364fbbfa3e6e3fcc25e88e3e68c15dc6e752d86",
30
+ "decimal": 6
31
+ },
32
+ "ibc/6b8a3f5c2ad51cd6171fa41a7e8c35ad594ab69226438db94450436ea57b3a89": {
33
+ "name": "STRD",
34
+ "denom": "ibc/6b8a3f5c2ad51cd6171fa41a7e8c35ad594ab69226438db94450436ea57b3a89",
35
+ "decimal": 6
36
+ },
37
+ "ibc/14f9bc3e44b8a9c1be1fb08980fab87034c9905ef17cf2f5008fc085218811cc": {
38
+ "name": "OSMO",
39
+ "denom": "ibc/14f9bc3e44b8a9c1be1fb08980fab87034c9905ef17cf2f5008fc085218811cc",
40
+ "decimal": 6
41
+ },
42
+ "ibc/e7d5e9d0e9bf8b7354929a817dd28d4d017e745f638954764aa88522a7a409ec": {
43
+ "name": "BTSG",
44
+ "denom": "ibc/e7d5e9d0e9bf8b7354929a817dd28d4d017e745f638954764aa88522a7a409ec",
45
+ "decimal": 6
46
+ },
47
+ "ibc/054892d6bb43af8b93aac28aa5fd7019d2c59a15dafd6f45c1fa2bf9bda22454": {
48
+ "name": "stOSMO",
49
+ "denom": "ibc/054892d6bb43af8b93aac28aa5fd7019d2c59a15dafd6f45c1fa2bf9bda22454",
50
+ "decimal": 6
51
+ },
52
+ "ibc/adbec1a7ac2fef73e06b066a1c94dab6c27924ef7ea3f5a43378150009620284": {
53
+ "name": "BCNA",
54
+ "denom": "ibc/adbec1a7ac2fef73e06b066a1c94dab6c27924ef7ea3f5a43378150009620284",
55
+ "decimal": 6
56
+ },
57
+ "ibc/12da42304ee1ce96071f712aa4d58186ad11c3165c0dcda71e017a54f3935e66": {
58
+ "name": "IRIS",
59
+ "denom": "ibc/12da42304ee1ce96071f712aa4d58186ad11c3165c0dcda71e017a54f3935e66",
60
+ "decimal": 6
61
+ },
62
+ "ibc/b011c1a0ad5e717f674ba59fd8e05b2f946e4fd41c9cb3311c95f7ed4b815620": {
63
+ "name": "stINJ",
64
+ "denom": "ibc/b011c1a0ad5e717f674ba59fd8e05b2f946e4fd41c9cb3311c95f7ed4b815620",
65
+ "decimal": 18
66
+ },
67
+ "ibc/81d08bc39fb520ebd948cf017910dd69702d34bf5ac160f76d3b5cfc444ebce0": {
68
+ "name": "XPRT",
69
+ "denom": "ibc/81d08bc39fb520ebd948cf017910dd69702d34bf5ac160f76d3b5cfc444ebce0",
70
+ "decimal": 6
71
+ },
72
+ "ibc/c932adfe2b4216397a4f17458b6e4468499b86c3bc8116180f85d799d6f5cc1b": {
73
+ "name": "CRO",
74
+ "denom": "ibc/c932adfe2b4216397a4f17458b6e4468499b86c3bc8116180f85d799d6f5cc1b",
75
+ "decimal": 8
76
+ },
77
+ "ibc/42e47a5ba708ebe6e0c227006254f2784e209f4dbd3c6bb77edc4b29ef875e8e": {
78
+ "name": "DVPN",
79
+ "denom": "ibc/42e47a5ba708ebe6e0c227006254f2784e209f4dbd3c6bb77edc4b29ef875e8e",
80
+ "decimal": 6
81
+ },
82
+ "ibc/1fbdd58d438b4d04d26cbfb2e722c18984a0f1a52468c4f42f37d102f3d3f399": {
83
+ "name": "REGEN",
84
+ "denom": "ibc/1fbdd58d438b4d04d26cbfb2e722c18984a0f1a52468c4f42f37d102f3d3f399",
85
+ "decimal": 6
86
+ },
87
+ "ibc/19dd710119533524061885a6f190b18af28d9537e2bae37f32a62c1a25979287": {
88
+ "name": "EVMOS",
89
+ "denom": "ibc/19dd710119533524061885a6f190b18af28d9537e2bae37f32a62c1a25979287",
90
+ "decimal": 18
91
+ },
92
+ "ibc/88dcaa43a9cd099e1f9bbb80b9a90f64782eba115a84b2cd8398757ada4f4b40": {
93
+ "name": "stJUNO",
94
+ "denom": "ibc/88dcaa43a9cd099e1f9bbb80b9a90f64782eba115a84b2cd8398757ada4f4b40",
95
+ "decimal": 6
96
+ },
97
+ "ibc/715bd634cf4d914c3ee93b0f8a9d2514b743f6fe36bc80263d1bc5ee4b3c5d40": {
98
+ "name": "stSTARS",
99
+ "denom": "ibc/715bd634cf4d914c3ee93b0f8a9d2514b743f6fe36bc80263d1bc5ee4b3c5d40",
100
+ "decimal": 6
101
+ },
102
+ "ibc/6469bda6f62c4f4b8f76629fa1e72a02a3d1dd9e2b22ddb3c3b2296dead29ab8": {
103
+ "name": "INJ",
104
+ "denom": "ibc/6469bda6f62c4f4b8f76629fa1e72a02a3d1dd9e2b22ddb3c3b2296dead29ab8",
105
+ "decimal": 18
106
+ },
107
+ "ibc/5bb694d466ccf099ef73f165f88472af51d9c4991eaa42bd1168c5304712cc0d": {
108
+ "name": "ION",
109
+ "denom": "ibc/5bb694d466ccf099ef73f165f88472af51d9c4991eaa42bd1168c5304712cc0d",
110
+ "decimal": 6
111
+ },
112
+ "ibc/533e5ffc606fd11b8dca309c66afd6a1f046ef784a73f323a332cf6823f0ea87": {
113
+ "name": "XKI",
114
+ "denom": "ibc/533e5ffc606fd11b8dca309c66afd6a1f046ef784a73f323a332cf6823f0ea87",
115
+ "decimal": 6
116
+ },
117
+ "ibc/1542f8dc70e7999691e991e1edeb1b47e65e3a217b1649d347098ee48acb580f": {
118
+ "name": "SCRT",
119
+ "denom": "ibc/1542f8dc70e7999691e991e1edeb1b47e65e3a217b1649d347098ee48acb580f",
120
+ "decimal": 6
121
+ },
122
+ "ibc/cdab23da5495290063363bd1c3499e26189036302dc689985a7e23f8df8d8db0": {
123
+ "name": "JUNO",
124
+ "denom": "ibc/cdab23da5495290063363bd1c3499e26189036302dc689985a7e23f8df8d8db0",
125
+ "decimal": 6
126
+ },
127
+ "ibc/68a333688e5b07451f95555f8fe510e43ef9d3d44df0909964f92081ef9be5a7": {
128
+ "name": "IOV",
129
+ "denom": "ibc/68a333688e5b07451f95555f8fe510e43ef9d3d44df0909964f92081ef9be5a7",
130
+ "decimal": 6
131
+ },
132
+ "ibc/1d5826f7ede6e3b13009fef994dc9caaf15cc24ca7a9ff436ffb2e56fd72f54f": {
133
+ "name": "LIKE",
134
+ "denom": "ibc/1d5826f7ede6e3b13009fef994dc9caaf15cc24ca7a9ff436ffb2e56fd72f54f",
135
+ "decimal": 9
136
+ },
137
+ "ibc/dec41a02e47658d40fc71e5a35a9c807111f5a6662a3fb5da84c4e6f53e616b3": {
138
+ "name": "UMEE",
139
+ "denom": "ibc/dec41a02e47658d40fc71e5a35a9c807111f5a6662a3fb5da84c4e6f53e616b3",
140
+ "decimal": 6
141
+ },
142
+ "ibc/f5ed5f3dc6f0ef73fa455337c027fe91abcb375116bf51a228e44c493e020a09": {
143
+ "name": "ROWAN",
144
+ "denom": "ibc/f5ed5f3dc6f0ef73fa455337c027fe91abcb375116bf51a228e44c493e020a09",
145
+ "decimal": 18
146
+ },
147
+ "ibc/5cae744c89bc70ae7b38019a1edf83199b7e10f00f160e7f4f12bca7a32a7ee5": {
148
+ "name": "stLUNA",
149
+ "denom": "ibc/5cae744c89bc70ae7b38019a1edf83199b7e10f00f160e7f4f12bca7a32a7ee5",
150
+ "decimal": 6
151
+ },
152
+ "ibc/8870c4203cebf2279ba065e3de95fc3f8e05a4a93424e7dc707a21514be353a0": {
153
+ "name": "KAVA",
154
+ "denom": "ibc/8870c4203cebf2279ba065e3de95fc3f8e05a4a93424e7dc707a21514be353a0",
155
+ "decimal": 6
156
+ },
157
+ "ibc/b93f321238f7bb15ab5b882660aae72286c8e9035de34e2b30f60e54c623c63c": {
158
+ "name": "EEUR",
159
+ "denom": "ibc/b93f321238f7bb15ab5b882660aae72286c8e9035de34e2b30f60e54c623c63c",
160
+ "decimal": 6
161
+ },
162
+ "ibc/e070ce91cc4bd15aec9b5788c0826755aad35052a3037e9ac62be70b4c9a7dbb": {
163
+ "name": "NGM",
164
+ "denom": "ibc/e070ce91cc4bd15aec9b5788c0826755aad35052a3037e9ac62be70b4c9a7dbb",
165
+ "decimal": 6
166
+ },
167
+ "ibc/835ee9d00c35d72128f195b50f8a89eb83e5011c43ea0aa00d16348e2208febb": {
168
+ "name": "bCRE",
169
+ "denom": "ibc/835ee9d00c35d72128f195b50f8a89eb83e5011c43ea0aa00d16348e2208febb",
170
+ "decimal": 6
171
+ },
172
+ "ibc/3f18d520ce791a40357d061fad657ced6b21d023f229eaf131d7fe7ce6f488bd": {
173
+ "name": "CRE",
174
+ "denom": "ibc/3f18d520ce791a40357d061fad657ced6b21d023f229eaf131d7fe7ce6f488bd",
175
+ "decimal": 6
176
+ },
177
+ "ibc/db9aaadfbe21e014373ef97141d451f453b9b9a2c8b65f5cf8e7ce57531b6850": {
178
+ "name": "CRO",
179
+ "denom": "ibc/db9aaadfbe21e014373ef97141d451f453b9b9a2c8b65f5cf8e7ce57531b6850",
180
+ "decimal": 8
181
+ },
182
+ "ibc/20a7dc8e24709e6f1ee0f4e832c2ed345add77425890482a349ae3c43cac6b2c": {
183
+ "name": "ATOLO",
184
+ "denom": "ibc/20a7dc8e24709e6f1ee0f4e832c2ed345add77425890482a349ae3c43cac6b2c",
185
+ "decimal": 6
186
+ }
187
+ }
@@ -0,0 +1,37 @@
1
+ from defi_services.constants.cosmos_decimals_constant import Denoms
2
+ from defi_services.services.cosmos_token_services import CosmosTokenServices
3
+
4
+
5
+ class CosmosStateProcessor:
6
+ def __init__(self, lcd: str, denom: str):
7
+ self.lcd = lcd
8
+ self.denom = denom
9
+
10
+ def get_token_balance(self, address):
11
+ cosmos = CosmosTokenServices(self.lcd, self.denom)
12
+ data = cosmos.query_balances(address)
13
+ result = {}
14
+ for item in data:
15
+ denom = item.get('denom', "").lower()
16
+ amount = int(item.get('amount', None))
17
+ decimal = Denoms.data.get(denom, {}).get("decimal", 0)
18
+ result[denom] = amount / 10 ** decimal
19
+ return result
20
+
21
+ def run(self, address: str, queries: list):
22
+ result = []
23
+ token_balances = self.get_token_balance(address)
24
+ for query in queries:
25
+ query_id = query.get("query_id")
26
+ entity_id = query.get("entity_id")
27
+ query_type = query.get("query_type")
28
+ if query_type != "token_balance":
29
+ continue
30
+
31
+ result.append(
32
+ {"query_id": query_id,
33
+ "query_type": query_type,
34
+ "entity_id": entity_id,
35
+ "token_balance": token_balances.get(entity_id, 0)
36
+ })
37
+ return result
@@ -0,0 +1,42 @@
1
+ import json
2
+ from urllib.parse import quote
3
+ import requests
4
+
5
+
6
+ class CosmosTokenServices:
7
+ def __init__(self, lcd: str, denom: str):
8
+ self.lcd = lcd
9
+ self.denom = denom
10
+
11
+ # queries the balance of all coins for a single account.
12
+ def query_balances(self, address: str):
13
+ responses = []
14
+ endpoint = '/cosmos/bank/v1beta1/balances/'
15
+ try:
16
+ results = json.loads(requests.get(self.lcd + endpoint + address, timeout=60).content)
17
+ responses += results['balances']
18
+ pagination = results['pagination']['next_key']
19
+ while pagination is not None:
20
+ results = json.loads(
21
+ requests.get(self.lcd + endpoint + '?pagination.key=' + quote(str(pagination)), timeout=60).content)
22
+ responses += results['balances']
23
+ pagination = results['pagination']['next_key']
24
+ return responses
25
+ except Exception:
26
+ raise Exception
27
+
28
+ # queries the balance of a given denom for a single account.
29
+ def query_balances_by_denom(self, address, denom):
30
+ endpoint = '/cosmos/bank/v1beta1/balances/'
31
+ try:
32
+ return json.loads(
33
+ requests.get(self.lcd + endpoint + address + '/by_denom?denom=' + denom, timeout=60).content)
34
+ except Exception:
35
+ raise Exception
36
+
37
+ def query_token_decimal(self):
38
+ endpoint = '/cosmos/bank/v1beta1/denoms_metadata'
39
+ try:
40
+ return json.loads(requests.get(self.lcd + endpoint, timeout=60).content)
41
+ except Exception:
42
+ raise Exception
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: defi-state-querier
3
- Version: 0.4.18
3
+ Version: 0.4.19
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
@@ -238,6 +238,7 @@ src/defi_services/abis/vault/valuator_abi.py
238
238
  src/defi_services/abis/vault/ve_abi.py
239
239
  src/defi_services/constants/__init__.py
240
240
  src/defi_services/constants/chain_constant.py
241
+ src/defi_services/constants/cosmos_decimals_constant.py
241
242
  src/defi_services/constants/db_constant.py
242
243
  src/defi_services/constants/mongo_constant.py
243
244
  src/defi_services/constants/query_constant.py
@@ -253,6 +254,7 @@ src/defi_services/constants/entities/vault_constant.py
253
254
  src/defi_services/constants/entities/vault_services.py
254
255
  src/defi_services/jobs/__init__.py
255
256
  src/defi_services/jobs/processors/__init__.py
257
+ src/defi_services/jobs/processors/cosmos_state_processor.py
256
258
  src/defi_services/jobs/processors/multi_state_processor.py
257
259
  src/defi_services/jobs/processors/solana_state_processor.py
258
260
  src/defi_services/jobs/processors/state_processor.py
@@ -262,6 +264,7 @@ src/defi_services/jobs/queriers/solana_state_querier.py
262
264
  src/defi_services/jobs/queriers/state_querier.py
263
265
  src/defi_services/jobs/queriers/substrate_state_querier.py
264
266
  src/defi_services/services/__init__.py
267
+ src/defi_services/services/cosmos_token_services.py
265
268
  src/defi_services/services/dex_protocol_services.py
266
269
  src/defi_services/services/nft_services.py
267
270
  src/defi_services/services/protocol_services.py
@@ -1 +0,0 @@
1
- __version__ = "0.4.18"