ypricemagic 4.6.24.dev0__tar.gz → 4.6.26.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/black.yaml +2 -2
  2. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/codeql-analysis.yml +4 -4
  3. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/compile.yaml +1 -1
  4. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/deploy-docs.yml +5 -5
  5. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/mypy.yaml +2 -2
  6. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/pytest.yaml +5 -5
  7. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/release.yaml +10 -10
  8. {ypricemagic-4.6.24.dev0/ypricemagic.egg-info → ypricemagic-4.6.26.dev0}/PKG-INFO +1 -1
  9. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/pyproject.toml +1 -1
  10. ypricemagic-4.6.26.dev0/renovate.json +6 -0
  11. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/uniswap.py +2 -2
  12. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v2.py +1 -3
  13. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v3.py +1 -2
  14. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/magic.py +3 -0
  15. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0/ypricemagic.egg-info}/PKG-INFO +1 -1
  16. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/SOURCES.txt +1 -0
  17. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.env.sample +0 -0
  18. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.gitignore +0 -0
  19. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/CONTRIBUTING.md +0 -0
  20. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/FUNDING.json +0 -0
  21. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/LICENSE.txt +0 -0
  22. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/Makefile +0 -0
  23. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/README.md +0 -0
  24. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/brownie-config.yaml +0 -0
  25. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/Makefile +0 -0
  26. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/alabaster.css +0 -0
  27. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/basic.css +0 -0
  28. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/custom.css +0 -0
  29. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/doctools.js +0 -0
  30. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/documentation_options.js +0 -0
  31. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/file.png +0 -0
  32. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/language_data.js +0 -0
  33. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/minus.png +0 -0
  34. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/plus.png +0 -0
  35. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/pygments.css +0 -0
  36. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/searchtools.js +0 -0
  37. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
  38. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/caching.rst +0 -0
  39. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/cli.rst +0 -0
  40. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/conf.py +0 -0
  41. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/environment.rst +0 -0
  42. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/index.rst +0 -0
  43. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/make.bat +0 -0
  44. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/requirements-dev.txt +0 -0
  45. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/requirements.txt +0 -0
  46. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/scripts/debug-curve.py +0 -0
  47. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/scripts/debug-price.py +0 -0
  48. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/setup.cfg +0 -0
  49. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/setup.py +0 -0
  50. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/__init__.py +0 -0
  51. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/classes/test_erc20.py +0 -0
  52. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/classes/test_singleton.py +0 -0
  53. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/conftest.py +0 -0
  54. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/fixtures.py +0 -0
  55. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/__init__.py +0 -0
  56. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/__init__.py +0 -0
  57. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/test_balancer.py +0 -0
  58. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/test_uniswap.py +0 -0
  59. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/test_velodrome.py +0 -0
  60. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/lending/__init__.py +0 -0
  61. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/lending/test_aave.py +0 -0
  62. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/lending/test_compound.py +0 -0
  63. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/stable_swap/test_curve.py +0 -0
  64. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_chainlink.py +0 -0
  65. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_gearbox.py +0 -0
  66. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_magic.py +0 -0
  67. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_popsicle.py +0 -0
  68. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_synthetix.py +0 -0
  69. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_yearn.py +0 -0
  70. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/tokenized_fund/test_piedao.py +0 -0
  71. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/utils/test_buckets.py +0 -0
  72. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/test_constants.py +0 -0
  73. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/ENVIRONMENT_VARIABLES.py +0 -0
  74. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/__init__.py +0 -0
  75. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/__init__.py +0 -0
  76. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/brownie.py +0 -0
  77. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/common.py +0 -0
  78. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/config.py +0 -0
  79. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/decorators.py +0 -0
  80. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/entities.py +0 -0
  81. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/exceptions.py +0 -0
  82. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/log.py +0 -0
  83. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/structs.py +0 -0
  84. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/__init__.py +0 -0
  85. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/_ep.py +0 -0
  86. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/bulk.py +0 -0
  87. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/contract.py +0 -0
  88. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/logs.py +0 -0
  89. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/price.py +0 -0
  90. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/stringify.py +0 -0
  91. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/token.py +0 -0
  92. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/traces.py +0 -0
  93. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/utils.py +0 -0
  94. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_decorators.py +0 -0
  95. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/__init__.py +0 -0
  96. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/_abc.py +0 -0
  97. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/common.py +0 -0
  98. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/singleton.py +0 -0
  99. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/cli.py +0 -0
  100. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/constants.py +0 -0
  101. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/contracts.py +0 -0
  102. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/convert.py +0 -0
  103. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/datatypes.py +0 -0
  104. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/exceptions.py +0 -0
  105. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/ERC20.py +0 -0
  106. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/__init__.py +0 -0
  107. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/balancer/WeightedPool.py +0 -0
  108. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/balancer/__init__.py +0 -0
  109. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/compound/__init__.py +0 -0
  110. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/compound/unitroller.py +0 -0
  111. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/curve/CurveRegistry.py +0 -0
  112. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/curve/__init__.py +0 -0
  113. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/multicall2.py +0 -0
  114. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/__init__.py +0 -0
  115. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/factoryv2.py +0 -0
  116. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/quoterv3.py +0 -0
  117. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/velov2.py +0 -0
  118. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/monkey_patches.py +0 -0
  119. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/networks.py +0 -0
  120. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/__init__.py +0 -0
  121. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/band.py +0 -0
  122. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/chainlink.py +0 -0
  123. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/convex.py +0 -0
  124. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/__init__.py +0 -0
  125. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/__init__.py +0 -0
  126. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/_abc.py +0 -0
  127. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/balancer.py +0 -0
  128. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/v1.py +0 -0
  129. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/v2.py +0 -0
  130. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/genericamm.py +0 -0
  131. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/mooniswap.py +0 -0
  132. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/solidly.py +0 -0
  133. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/__init__.py +0 -0
  134. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v1.py +0 -0
  135. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v2_forks.py +0 -0
  136. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/velodrome.py +0 -0
  137. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/eth_derivs/__init__.py +0 -0
  138. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/eth_derivs/creth.py +0 -0
  139. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/eth_derivs/wsteth.py +0 -0
  140. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/gearbox.py +0 -0
  141. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/__init__.py +0 -0
  142. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/aave.py +0 -0
  143. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/compound.py +0 -0
  144. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/ib.py +0 -0
  145. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/one_to_one.py +0 -0
  146. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/pendle.py +0 -0
  147. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/popsicle.py +0 -0
  148. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/rkp3r.py +0 -0
  149. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/solidex.py +0 -0
  150. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/__init__.py +0 -0
  151. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/belt.py +0 -0
  152. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/curve.py +0 -0
  153. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/ellipsis.py +0 -0
  154. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/froyo.py +0 -0
  155. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/mstablefeederpool.py +0 -0
  156. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/saddle.py +0 -0
  157. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/synthetix.py +0 -0
  158. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/__init__.py +0 -0
  159. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/basketdao.py +0 -0
  160. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/gelato.py +0 -0
  161. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/piedao.py +0 -0
  162. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/reserve.py +0 -0
  163. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/tokensets.py +0 -0
  164. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/__init__.py +0 -0
  165. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/buckets.py +0 -0
  166. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/debug.py +0 -0
  167. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/sense_check.py +0 -0
  168. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/ypriceapi.py +0 -0
  169. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/yearn.py +0 -0
  170. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/py.typed +0 -0
  171. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/time.py +0 -0
  172. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/__init__.py +0 -0
  173. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/_erc20.py +0 -0
  174. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/cache.py +0 -0
  175. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/checks.py +0 -0
  176. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/client.py +0 -0
  177. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/dank_mids.py +0 -0
  178. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/events.py +0 -0
  179. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/fakes.py +0 -0
  180. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/gather.py +0 -0
  181. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/logging.py +0 -0
  182. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/middleware.py +0 -0
  183. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/multicall.py +0 -0
  184. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/raw_calls.py +0 -0
  185. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic/__init__.py +0 -0
  186. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic/magic.py +0 -0
  187. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/dependency_links.txt +0 -0
  188. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/entry_points.txt +0 -0
  189. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/not-zip-safe +0 -0
  190. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/requires.txt +0 -0
  191. {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/top_level.txt +0 -0
@@ -15,12 +15,12 @@ jobs:
15
15
 
16
16
  steps:
17
17
  - name: Checkout code
18
- uses: actions/checkout@v3
18
+ uses: actions/checkout@v5
19
19
  with:
20
20
  ref: ${{ github.head_ref }} # Check out the PR branch
21
21
 
22
22
  - name: Set up Python
23
- uses: actions/setup-python@v4
23
+ uses: actions/setup-python@v5
24
24
  with:
25
25
  python-version: '3.12'
26
26
 
@@ -48,11 +48,11 @@ jobs:
48
48
 
49
49
  steps:
50
50
  - name: Checkout repository
51
- uses: actions/checkout@v3
51
+ uses: actions/checkout@v5
52
52
 
53
53
  # Initializes the CodeQL tools for scanning.
54
54
  - name: Initialize CodeQL
55
- uses: github/codeql-action/init@v1
55
+ uses: github/codeql-action/init@v3
56
56
  with:
57
57
  languages: ${{ matrix.language }}
58
58
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -63,7 +63,7 @@ jobs:
63
63
  # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
64
64
  # If this step fails, then you should remove it and run the build manually (see below)
65
65
  - name: Autobuild
66
- uses: github/codeql-action/autobuild@v1
66
+ uses: github/codeql-action/autobuild@v3
67
67
 
68
68
  # ℹ️ Command-line programs to run using the OS shell.
69
69
  # 📚 https://git.io/JvXDl
@@ -77,4 +77,4 @@ jobs:
77
77
  # make release
78
78
 
79
79
  - name: Perform CodeQL Analysis
80
- uses: github/codeql-action/analyze@v1
80
+ uses: github/codeql-action/analyze@v3
@@ -14,7 +14,7 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
16
  - name: Checkout code
17
- uses: actions/checkout@v3
17
+ uses: actions/checkout@v5
18
18
  with:
19
19
  # Check out the PR branch
20
20
  ref: ${{ github.head_ref }}
@@ -20,10 +20,10 @@ jobs:
20
20
  runs-on: ubuntu-latest
21
21
  steps:
22
22
  - name: Check out code
23
- uses: actions/checkout@v2
23
+ uses: actions/checkout@v5
24
24
 
25
25
  - name: Set up Python
26
- uses: actions/setup-python@v2
26
+ uses: actions/setup-python@v5
27
27
  with:
28
28
  python-version: '3.10'
29
29
 
@@ -51,18 +51,18 @@ jobs:
51
51
  continue-on-error: true
52
52
 
53
53
  - name: Deploy to GitHub Pages
54
- uses: peaceiris/actions-gh-pages@v3
54
+ uses: peaceiris/actions-gh-pages@v4
55
55
  with:
56
56
  github_token: ${{ secrets.GITHUB_TOKEN }}
57
57
  publish_dir: ./docs/_build/html
58
58
 
59
59
  - name: Checkout
60
- uses: actions/checkout@v4
60
+ uses: actions/checkout@v5
61
61
  with:
62
62
  ref: gh-pages
63
63
 
64
64
  - name: Setup Pages
65
- uses: actions/configure-pages@v4
65
+ uses: actions/configure-pages@v5
66
66
 
67
67
  - name: Upload artifact
68
68
  uses: actions/upload-pages-artifact@v3
@@ -19,12 +19,12 @@ jobs:
19
19
  pyversion: [ "3.10", "3.11", "3.12" ]
20
20
 
21
21
  steps:
22
- - uses: actions/checkout@v2
22
+ - uses: actions/checkout@v5
23
23
  with:
24
24
  fetch-depth: 0
25
25
 
26
26
  - name: Setup Python (faster than using Python container)
27
- uses: actions/setup-python@v2
27
+ uses: actions/setup-python@v5
28
28
  with:
29
29
  python-version: ${{ matrix.pyversion }}
30
30
 
@@ -44,22 +44,22 @@ jobs:
44
44
 
45
45
  steps:
46
46
  - name: Check out repository code
47
- uses: actions/checkout@v2
47
+ uses: actions/checkout@v5
48
48
 
49
49
  - name: Setup Python (faster than using Python container)
50
- uses: actions/setup-python@v2
50
+ uses: actions/setup-python@v5
51
51
  with:
52
52
  python-version: ${{ matrix.pyversion }}
53
53
 
54
54
  - name: Cache dependencies
55
- uses: actions/cache@v3
55
+ uses: actions/cache@v4
56
56
  with:
57
57
  key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/requirements-dev.txt') }}
58
58
  path: |
59
59
  ${{ matrix.path }}
60
60
 
61
61
  - name: Cache joblib middleware cache
62
- uses: actions/cache@v3
62
+ uses: actions/cache@v4
63
63
  with:
64
64
  # Include requirements.txt so we recache if web3 version changes
65
65
  key: forceupdatedeletethislater3-${{ runner.os }}-${{ matrix.network }}-${{ hashFiles('**/middleware.py') }}-${{ hashFiles('**/requirements.txt') }}
@@ -77,7 +77,7 @@ jobs:
77
77
  continue-on-error: true
78
78
 
79
79
  - name: Cache compilers and brownie deployments
80
- uses: actions/cache@v3
80
+ uses: actions/cache@v4
81
81
  with:
82
82
  key: forceupdatedeletethislater3-${{ runner.os }}-brownie-cache-${{ matrix.network }}
83
83
  path: |
@@ -70,12 +70,12 @@ jobs:
70
70
 
71
71
  steps:
72
72
  - name: Check out code
73
- uses: actions/checkout@v3
73
+ uses: actions/checkout@v5
74
74
  with:
75
75
  fetch-depth: 0
76
76
 
77
77
  - name: Set up Python
78
- uses: actions/setup-python@v4
78
+ uses: actions/setup-python@v5
79
79
  with:
80
80
  python-version: "3.11"
81
81
 
@@ -108,12 +108,12 @@ jobs:
108
108
  runs-on: ubuntu-latest
109
109
  steps:
110
110
  - name: Check out code
111
- uses: actions/checkout@v3
111
+ uses: actions/checkout@v5
112
112
  with:
113
113
  fetch-depth: 0
114
114
 
115
115
  - name: Set up Python
116
- uses: actions/setup-python@v4
116
+ uses: actions/setup-python@v5
117
117
  with:
118
118
  python-version: "3.11"
119
119
 
@@ -130,37 +130,37 @@ jobs:
130
130
  # Download wheels built on each runner
131
131
  # ----------------------------------------------------
132
132
  - name: Download manylinux 64-bit wheels
133
- uses: actions/download-artifact@v4
133
+ uses: actions/download-artifact@v5
134
134
  with:
135
135
  name: "wheels-ubuntu-latest-manylinux-x64"
136
136
  path: wheelhouse/linux-many-x64
137
137
 
138
138
  - name: Download manylinux 32-bit wheels
139
- uses: actions/download-artifact@v4
139
+ uses: actions/download-artifact@v5
140
140
  with:
141
141
  name: "wheels-ubuntu-latest-manylinux-x86"
142
142
  path: wheelhouse/linux-many-x86
143
143
 
144
144
  - name: Download musllinux 64-bit wheels
145
- uses: actions/download-artifact@v4
145
+ uses: actions/download-artifact@v5
146
146
  with:
147
147
  name: "wheels-ubuntu-latest-musllinux-x64"
148
148
  path: wheelhouse/linux-musl-x64
149
149
 
150
150
  - name: Download macOS wheels
151
- uses: actions/download-artifact@v4
151
+ uses: actions/download-artifact@v5
152
152
  with:
153
153
  name: "wheels-macos-latest"
154
154
  path: wheelhouse/macos
155
155
 
156
156
  - name: Download Windows 64-bit wheels
157
- uses: actions/download-artifact@v4
157
+ uses: actions/download-artifact@v5
158
158
  with:
159
159
  name: "wheels-windows-latest-x64"
160
160
  path: wheelhouse/windows-x64
161
161
 
162
162
  - name: Download Windows 32-bit wheels
163
- uses: actions/download-artifact@v4
163
+ uses: actions/download-artifact@v5
164
164
  with:
165
165
  name: "wheels-windows-latest-x86"
166
166
  path: wheelhouse/windows-x86
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ypricemagic
3
- Version: 4.6.24.dev0
3
+ Version: 4.6.26.dev0
4
4
  Summary: Use this tool to extract historical on-chain price data from an archive node. Shoutout to @bantg and @nymmrx for their awesome work on yearn-exporter that made this library possible.
5
5
  Home-page: https://github.com/BobTheBuidler/ypricemagic
6
6
  Author: BobTheBuidler
@@ -2,7 +2,7 @@
2
2
  requires = [
3
3
  "setuptools",
4
4
  "wheel",
5
- "mypy[mypyc]==1.17.0",
5
+ "mypy[mypyc]==1.17.1",
6
6
  "types-python-dateutil",
7
7
  "types-cachetools",
8
8
  "types-requests",
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:recommended"
5
+ ]
6
+ }
@@ -209,7 +209,7 @@ class UniswapMultiplexer(a_sync.ASyncGenericSingleton):
209
209
  depth_to_router[balance] for balance in sorted(depth_to_router, reverse=True) if balance
210
210
  ]
211
211
 
212
- @a_sync.Semaphore(100) # some arbitrary number to keep the loop unclogged
212
+ @a_sync.Semaphore(250) # some arbitrary number to keep the loop unclogged
213
213
  @stuck_coro_debugger
214
214
  async def check_liquidity(
215
215
  self,
@@ -230,7 +230,7 @@ class UniswapMultiplexer(a_sync.ASyncGenericSingleton):
230
230
 
231
231
  Note:
232
232
  - The method uses asyncio.gather to check liquidity across all Uniswap instances concurrently.
233
- - A semaphore is used to limit the number of concurrent checks to 100.
233
+ - A semaphore is used to limit the number of concurrent checks to 250.
234
234
 
235
235
  Examples:
236
236
  >>> multiplexer = UniswapMultiplexer(asynchronous=True)
@@ -304,9 +304,7 @@ class UniswapV2Pool(ERC20):
304
304
  raise Exception("how did we get here?") from None
305
305
 
306
306
  @stuck_coro_debugger
307
- @a_sync.a_sync(
308
- ram_cache_maxsize=100_000, ram_cache_ttl=60 * 60, semaphore=10_000
309
- ) # lets try a semaphore here
307
+ @a_sync.a_sync(ram_cache_maxsize=100_000, ram_cache_ttl=60 * 60, semaphore=25_000)
310
308
  async def check_liquidity(self, token: Address, block: Block) -> int:
311
309
  """
312
310
  Check the liquidity of a specific token in the pool at a given block.
@@ -193,8 +193,7 @@ class UniswapV3Pool(ContractBase):
193
193
  raise TokenNotFound(token, self)
194
194
  return ERC20(token, asynchronous=self.asynchronous)
195
195
 
196
- # DEBUG: lets try a semaphore here
197
- @a_sync.a_sync(ram_cache_maxsize=100_000, ram_cache_ttl=60 * 60, semaphore=10000)
196
+ @a_sync.a_sync(ram_cache_maxsize=100_000, ram_cache_ttl=60 * 60, semaphore=25_000)
198
197
  async def check_liquidity(self, token: AnyAddressType, block: Block) -> Optional[int]:
199
198
  """
200
199
  Check the liquidity of a token in the pool at a specific block.
@@ -334,6 +334,9 @@ async def _get_price(
334
334
  The price of the token in USD, or None if the price couldn't be determined and fail_to_None is True.
335
335
  """
336
336
  if token == ZERO_ADDRESS:
337
+ logger = get_price_logger(
338
+ token, block, symbol="[ZERO_ADDRESS]", extra="magic", start_task=True
339
+ )
337
340
  _fail_appropriately(logger, symbol, fail_to_None, silent)
338
341
  return None
339
342
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ypricemagic
3
- Version: 4.6.24.dev0
3
+ Version: 4.6.26.dev0
4
4
  Summary: Use this tool to extract historical on-chain price data from an archive node. Shoutout to @bantg and @nymmrx for their awesome work on yearn-exporter that made this library possible.
5
5
  Home-page: https://github.com/BobTheBuidler/ypricemagic
6
6
  Author: BobTheBuidler
@@ -7,6 +7,7 @@ Makefile
7
7
  README.md
8
8
  brownie-config.yaml
9
9
  pyproject.toml
10
+ renovate.json
10
11
  requirements-dev.txt
11
12
  requirements.txt
12
13
  setup.cfg