ypricemagic 4.6.21.dev0__tar.gz → 4.6.22.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 (190) hide show
  1. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/mypy.yaml +1 -1
  2. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/pytest.yaml +1 -1
  3. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/release.yaml +0 -16
  4. {ypricemagic-4.6.21.dev0/ypricemagic.egg-info → ypricemagic-4.6.22.dev0}/PKG-INFO +2 -2
  5. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/pyproject.toml +1 -0
  6. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/requirements.txt +2 -0
  7. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/setup.py +1 -1
  8. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v3.py +9 -11
  9. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/curve.py +1 -1
  10. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/synthetix.py +9 -11
  11. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/multicall.py +1 -1
  12. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0/ypricemagic.egg-info}/PKG-INFO +2 -2
  13. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/requires.txt +2 -0
  14. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.env.sample +0 -0
  15. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/black.yaml +0 -0
  16. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/codeql-analysis.yml +0 -0
  17. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/compile.yaml +0 -0
  18. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/deploy-docs.yml +0 -0
  19. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.gitignore +0 -0
  20. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/CONTRIBUTING.md +0 -0
  21. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/FUNDING.json +0 -0
  22. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/LICENSE.txt +0 -0
  23. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/Makefile +0 -0
  24. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/README.md +0 -0
  25. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/brownie-config.yaml +0 -0
  26. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/Makefile +0 -0
  27. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/alabaster.css +0 -0
  28. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/basic.css +0 -0
  29. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/custom.css +0 -0
  30. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/doctools.js +0 -0
  31. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/documentation_options.js +0 -0
  32. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/file.png +0 -0
  33. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/language_data.js +0 -0
  34. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/minus.png +0 -0
  35. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/plus.png +0 -0
  36. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/pygments.css +0 -0
  37. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/searchtools.js +0 -0
  38. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
  39. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/caching.rst +0 -0
  40. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/cli.rst +0 -0
  41. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/conf.py +0 -0
  42. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/environment.rst +0 -0
  43. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/index.rst +0 -0
  44. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/make.bat +0 -0
  45. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/requirements-dev.txt +0 -0
  46. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/scripts/debug-curve.py +0 -0
  47. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/scripts/debug-price.py +0 -0
  48. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/setup.cfg +0 -0
  49. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/__init__.py +0 -0
  50. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/classes/test_erc20.py +0 -0
  51. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/classes/test_singleton.py +0 -0
  52. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/conftest.py +0 -0
  53. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/fixtures.py +0 -0
  54. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/__init__.py +0 -0
  55. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/__init__.py +0 -0
  56. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/test_balancer.py +0 -0
  57. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/test_uniswap.py +0 -0
  58. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/test_velodrome.py +0 -0
  59. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/lending/__init__.py +0 -0
  60. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/lending/test_aave.py +0 -0
  61. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/lending/test_compound.py +0 -0
  62. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/stable_swap/test_curve.py +0 -0
  63. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_chainlink.py +0 -0
  64. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_gearbox.py +0 -0
  65. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_magic.py +0 -0
  66. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_popsicle.py +0 -0
  67. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_synthetix.py +0 -0
  68. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_yearn.py +0 -0
  69. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/tokenized_fund/test_piedao.py +0 -0
  70. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/utils/test_buckets.py +0 -0
  71. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/test_constants.py +0 -0
  72. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/ENVIRONMENT_VARIABLES.py +0 -0
  73. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/__init__.py +0 -0
  74. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/__init__.py +0 -0
  75. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/brownie.py +0 -0
  76. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/common.py +0 -0
  77. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/config.py +0 -0
  78. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/decorators.py +0 -0
  79. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/entities.py +0 -0
  80. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/exceptions.py +0 -0
  81. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/log.py +0 -0
  82. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/structs.py +0 -0
  83. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/__init__.py +0 -0
  84. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/_ep.py +0 -0
  85. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/bulk.py +0 -0
  86. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/contract.py +0 -0
  87. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/logs.py +0 -0
  88. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/price.py +0 -0
  89. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/stringify.py +0 -0
  90. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/token.py +0 -0
  91. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/traces.py +0 -0
  92. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/utils.py +0 -0
  93. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_decorators.py +0 -0
  94. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/__init__.py +0 -0
  95. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/_abc.py +0 -0
  96. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/common.py +0 -0
  97. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/singleton.py +0 -0
  98. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/cli.py +0 -0
  99. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/constants.py +0 -0
  100. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/contracts.py +0 -0
  101. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/convert.py +0 -0
  102. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/datatypes.py +0 -0
  103. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/exceptions.py +0 -0
  104. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/ERC20.py +0 -0
  105. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/__init__.py +0 -0
  106. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/balancer/WeightedPool.py +0 -0
  107. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/balancer/__init__.py +0 -0
  108. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/compound/__init__.py +0 -0
  109. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/compound/unitroller.py +0 -0
  110. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/curve/CurveRegistry.py +0 -0
  111. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/curve/__init__.py +0 -0
  112. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/multicall2.py +0 -0
  113. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/__init__.py +0 -0
  114. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/factoryv2.py +0 -0
  115. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/quoterv3.py +0 -0
  116. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/velov2.py +0 -0
  117. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/monkey_patches.py +0 -0
  118. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/networks.py +0 -0
  119. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/__init__.py +0 -0
  120. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/band.py +0 -0
  121. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/chainlink.py +0 -0
  122. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/convex.py +0 -0
  123. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/__init__.py +0 -0
  124. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/__init__.py +0 -0
  125. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/_abc.py +0 -0
  126. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/balancer.py +0 -0
  127. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/v1.py +0 -0
  128. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/v2.py +0 -0
  129. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/genericamm.py +0 -0
  130. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/mooniswap.py +0 -0
  131. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/solidly.py +0 -0
  132. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/__init__.py +0 -0
  133. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/uniswap.py +0 -0
  134. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v1.py +0 -0
  135. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v2.py +0 -0
  136. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v2_forks.py +0 -0
  137. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/velodrome.py +0 -0
  138. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/eth_derivs/__init__.py +0 -0
  139. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/eth_derivs/creth.py +0 -0
  140. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/eth_derivs/wsteth.py +0 -0
  141. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/gearbox.py +0 -0
  142. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/__init__.py +0 -0
  143. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/aave.py +0 -0
  144. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/compound.py +0 -0
  145. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/ib.py +0 -0
  146. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/magic.py +0 -0
  147. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/one_to_one.py +0 -0
  148. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/pendle.py +0 -0
  149. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/popsicle.py +0 -0
  150. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/rkp3r.py +0 -0
  151. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/solidex.py +0 -0
  152. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/__init__.py +0 -0
  153. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/belt.py +0 -0
  154. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/ellipsis.py +0 -0
  155. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/froyo.py +0 -0
  156. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/mstablefeederpool.py +0 -0
  157. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/saddle.py +0 -0
  158. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/__init__.py +0 -0
  159. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/basketdao.py +0 -0
  160. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/gelato.py +0 -0
  161. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/piedao.py +0 -0
  162. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/reserve.py +0 -0
  163. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/tokensets.py +0 -0
  164. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/__init__.py +0 -0
  165. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/buckets.py +0 -0
  166. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/debug.py +0 -0
  167. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/sense_check.py +0 -0
  168. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/ypriceapi.py +0 -0
  169. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/yearn.py +0 -0
  170. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/py.typed +0 -0
  171. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/time.py +0 -0
  172. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/__init__.py +0 -0
  173. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/_erc20.py +0 -0
  174. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/cache.py +0 -0
  175. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/checks.py +0 -0
  176. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/client.py +0 -0
  177. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/dank_mids.py +0 -0
  178. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/events.py +0 -0
  179. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/fakes.py +0 -0
  180. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/gather.py +0 -0
  181. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/logging.py +0 -0
  182. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/middleware.py +0 -0
  183. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/raw_calls.py +0 -0
  184. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic/__init__.py +0 -0
  185. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic/magic.py +0 -0
  186. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/SOURCES.txt +0 -0
  187. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/dependency_links.txt +0 -0
  188. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/entry_points.txt +0 -0
  189. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/not-zip-safe +0 -0
  190. {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/top_level.txt +0 -0
@@ -16,7 +16,7 @@ jobs:
16
16
  fail-fast: false
17
17
  matrix:
18
18
  os: [ ubuntu-latest, macos-latest, windows-latest ]
19
- pyversion: [ "3.9", "3.10", "3.11", "3.12" ]
19
+ pyversion: [ "3.10", "3.11", "3.12" ]
20
20
 
21
21
  steps:
22
22
  - uses: actions/checkout@v2
@@ -20,7 +20,7 @@ jobs:
20
20
  fail-fast: false
21
21
  matrix:
22
22
  os: [ ubuntu-latest, macos-latest, windows-latest ]
23
- pyversion: [ "3.9", "3.10" ]
23
+ pyversion: [ "3.10", "3.11", "3.12" ]
24
24
  network: [ mainnet, bsc-main, polygon-main, ftm-main, arbitrum-main, optimism-main ]
25
25
  include:
26
26
  - os: ubuntu-latest
@@ -41,15 +41,6 @@ jobs:
41
41
  cibw_archs_linux: x86_64
42
42
  artifact_name: "wheels-ubuntu-latest-musllinux-x64"
43
43
 
44
- # ----------------------------------------------------
45
- # musllinux 32-bit
46
- # ----------------------------------------------------
47
- - os: ubuntu-latest
48
- build_type: musllinux-x86
49
- cibw_build: "*musllinux*"
50
- cibw_archs_linux: i686
51
- artifact_name: "wheels-ubuntu-latest-musllinux-x86"
52
-
53
44
  # ----------------------------------------------------
54
45
  # macOS (64-bit only)
55
46
  # ----------------------------------------------------
@@ -156,12 +147,6 @@ jobs:
156
147
  name: "wheels-ubuntu-latest-musllinux-x64"
157
148
  path: wheelhouse/linux-musl-x64
158
149
 
159
- - name: Download musllinux 32-bit wheels
160
- uses: actions/download-artifact@v4
161
- with:
162
- name: "wheels-ubuntu-latest-musllinux-x86"
163
- path: wheelhouse/linux-musl-x86
164
-
165
150
  - name: Download macOS wheels
166
151
  uses: actions/download-artifact@v4
167
152
  with:
@@ -193,7 +178,6 @@ jobs:
193
178
  wheelhouse/linux-many-x64/*.whl \
194
179
  wheelhouse/linux-many-x86/*.whl \
195
180
  wheelhouse/linux-musl-x64/*.whl \
196
- wheelhouse/linux-musl-x86/*.whl \
197
181
  wheelhouse/macos/*.whl \
198
182
  wheelhouse/windows-x64/*.whl \
199
183
  wheelhouse/windows-x86/*.whl
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ypricemagic
3
- Version: 4.6.21.dev0
3
+ Version: 4.6.22.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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: Implementation :: CPython
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Topic :: Software Development :: Libraries
18
- Requires-Python: >=3.9,<3.13
18
+ Requires-Python: >=3.10,<3.13
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE.txt
21
21
 
@@ -6,6 +6,7 @@ requires = [
6
6
  "types-python-dateutil",
7
7
  "types-cachetools",
8
8
  "types-requests",
9
+ "faster-eth-abi>=5.2.1,<6",
9
10
  "eth-typing==4.4.0",
10
11
  ]
11
12
 
@@ -4,9 +4,11 @@ cchecksum>=0.0.3
4
4
  checksum_dict>=2.1.10.dev0,<3
5
5
  dank_mids>=4.20.161
6
6
  eth-brownie>=1.21.0,<1.23
7
+ eth-event>=1.4.0
7
8
  eth_retry>=0.2.1
8
9
  evmspec>=0.3.4
9
10
  ez-a-sync>=0.32.18,<1
11
+ faster-eth-abi>=5.2.1,<6
10
12
  faster-eth-utils
11
13
  inflection>=0.1,<0.6
12
14
  joblib>=1.0.1
@@ -69,7 +69,7 @@ setup(
69
69
  author_email="bobthebuidlerdefi@gmail.com",
70
70
  url="https://github.com/BobTheBuidler/ypricemagic",
71
71
  license="MIT",
72
- python_requires=">=3.9,<3.13",
72
+ python_requires=">=3.10,<3.13",
73
73
  classifiers=[
74
74
  "Intended Audience :: Developers",
75
75
  "Programming Language :: Python :: 3",
@@ -8,6 +8,7 @@ from typing import (
8
8
  AsyncIterator,
9
9
  DefaultDict,
10
10
  Dict,
11
+ Final,
11
12
  Iterable,
12
13
  List,
13
14
  Literal,
@@ -22,6 +23,7 @@ from a_sync import igather
22
23
  from a_sync.a_sync import HiddenMethodDescriptor
23
24
  from brownie.network.event import _EventItem
24
25
  from eth_typing import ChecksumAddress, HexAddress
26
+ from faster_eth_abi.packed import encode_packed
25
27
  from typing_extensions import Self
26
28
 
27
29
  from y import convert
@@ -41,21 +43,17 @@ from y.interfaces.uniswap.quoterv3 import UNIV3_QUOTER_ABI
41
43
  from y.networks import Network
42
44
  from y.utils.events import ProcessedEvents
43
45
 
44
- try:
45
- from eth_abi.packed import encode_packed
46
- except ImportError:
47
- from eth_abi.packed import encode_abi_packed as encode_packed
48
46
 
49
47
  # https://github.com/Uniswap/uniswap-v3-periphery/blob/main/deploys.md
50
- UNISWAP_V3_FACTORY = "0x1F98431c8aD98523631AE4a59f267346ea31F984"
51
- UNISWAP_V3_QUOTER = "0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6"
48
+ UNISWAP_V3_FACTORY: Final = "0x1F98431c8aD98523631AE4a59f267346ea31F984"
49
+ UNISWAP_V3_QUOTER: Final = "0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6"
52
50
 
53
- logger = getLogger(__name__)
51
+ logger: Final = getLogger(__name__)
54
52
 
55
53
  Path = Iterable[Union[Address, int]]
56
54
 
57
55
  # same addresses on all networks
58
- addresses = {
56
+ addresses: Final = {
59
57
  Network.Mainnet: {
60
58
  "factory": UNISWAP_V3_FACTORY,
61
59
  "quoter": UNISWAP_V3_QUOTER,
@@ -78,7 +76,7 @@ addresses = {
78
76
  },
79
77
  }
80
78
 
81
- forked_deployments = {
79
+ forked_deployments: Final = {
82
80
  Network.Optimism: [
83
81
  {
84
82
  # Velodrome slipstream
@@ -97,9 +95,9 @@ forked_deployments = {
97
95
  ],
98
96
  }
99
97
 
100
- _FEE_DENOMINATOR = Decimal(1_000_000)
98
+ _FEE_DENOMINATOR: Final = Decimal(1_000_000)
101
99
 
102
- _PATH_TYPE_STRINGS: Dict[int, Tuple[Literal["address", "uint24"], ...]] = {
100
+ _PATH_TYPE_STRINGS: Final[Dict[int, Tuple[Literal["address", "uint24"], ...]]] = {
103
101
  3: tuple(islice(cycle(("address", "uint24")), 3)),
104
102
  5: tuple(islice(cycle(("address", "uint24")), 5)),
105
103
  }
@@ -14,7 +14,7 @@ from brownie import ZERO_ADDRESS
14
14
  from brownie.convert.datatypes import EthAddress
15
15
  from brownie.exceptions import ContractNotFound, EventLookupError
16
16
  from brownie.network.event import _EventItem
17
- from eth_abi.exceptions import InvalidPointer
17
+ from faster_eth_abi.exceptions import InvalidPointer
18
18
  from typing_extensions import Self
19
19
  from web3.exceptions import ContractLogicError
20
20
 
@@ -1,10 +1,11 @@
1
1
  import logging
2
- from typing import Callable, List, Optional
2
+ from typing import Callable, Final, List, Optional, final
3
3
 
4
4
  import a_sync
5
5
  from a_sync import cgather
6
6
  from a_sync.a_sync import HiddenMethodDescriptor
7
7
  from eth_typing import ChecksumAddress, HexStr
8
+ from faster_eth_abi import encode
8
9
  from multicall import Call
9
10
  from typing_extensions import Self
10
11
 
@@ -16,23 +17,20 @@ from y.exceptions import UnsupportedNetwork, call_reverted
16
17
  from y.networks import Network
17
18
  from y.utils import a_sync_ttl_cache
18
19
 
19
- try:
20
- from eth_abi import encode
21
20
 
22
- encode_bytes: Callable[[str], bytes] = lambda s: encode(["bytes32"], [s.encode()])
23
- except ImportError:
24
- from eth_abi import encode_single
21
+ logger: Final = logging.getLogger(__name__)
25
22
 
26
- encode_bytes: Callable[[str], bytes] = lambda s: encode_single("bytes32", s.encode())
27
-
28
- logger = logging.getLogger(__name__)
29
-
30
- addresses = {
23
+ addresses: Final = {
31
24
  Network.Mainnet: "0x823bE81bbF96BEc0e25CA13170F5AaCb5B79ba83",
32
25
  Network.Optimism: "0x95A6a3f44a70172E7d50a9e28c85Dfd712756B8C",
33
26
  }
34
27
 
35
28
 
29
+ def encode_bytes(s: str) -> bytes:
30
+ return encode(["bytes32"], [s.encode()])
31
+
32
+
33
+ @final
36
34
  class Synthetix(a_sync.ASyncGenericSingleton):
37
35
  """A class to interact with the Synthetix protocol.
38
36
 
@@ -6,7 +6,7 @@ import a_sync
6
6
  import brownie
7
7
  import dank_mids
8
8
  from a_sync import igather
9
- from eth_abi.exceptions import InsufficientDataBytes
9
+ from faster_eth_abi.exceptions import InsufficientDataBytes
10
10
  from multicall import Call
11
11
  from web3.exceptions import CannotHandleRequest
12
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ypricemagic
3
- Version: 4.6.21.dev0
3
+ Version: 4.6.22.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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: Implementation :: CPython
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Topic :: Software Development :: Libraries
18
- Requires-Python: >=3.9,<3.13
18
+ Requires-Python: >=3.10,<3.13
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE.txt
21
21
 
@@ -4,9 +4,11 @@ cchecksum>=0.0.3
4
4
  checksum_dict<3,>=2.1.10.dev0
5
5
  dank_mids>=4.20.161
6
6
  eth-brownie<1.23,>=1.21.0
7
+ eth-event>=1.4.0
7
8
  eth_retry>=0.2.1
8
9
  evmspec>=0.3.4
9
10
  ez-a-sync<1,>=0.32.18
11
+ faster-eth-abi<6,>=5.2.1
10
12
  faster-eth-utils
11
13
  inflection<0.6,>=0.1
12
14
  joblib>=1.0.1