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.
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/mypy.yaml +1 -1
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/pytest.yaml +1 -1
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/release.yaml +0 -16
- {ypricemagic-4.6.21.dev0/ypricemagic.egg-info → ypricemagic-4.6.22.dev0}/PKG-INFO +2 -2
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/pyproject.toml +1 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/requirements.txt +2 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/setup.py +1 -1
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v3.py +9 -11
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/curve.py +1 -1
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/synthetix.py +9 -11
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/multicall.py +1 -1
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0/ypricemagic.egg-info}/PKG-INFO +2 -2
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/requires.txt +2 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.env.sample +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/black.yaml +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/codeql-analysis.yml +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/compile.yaml +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.github/workflows/deploy-docs.yml +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/.gitignore +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/CONTRIBUTING.md +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/FUNDING.json +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/LICENSE.txt +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/Makefile +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/README.md +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/brownie-config.yaml +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/Makefile +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/alabaster.css +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/basic.css +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/custom.css +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/doctools.js +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/documentation_options.js +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/file.png +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/language_data.js +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/minus.png +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/plus.png +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/pygments.css +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/searchtools.js +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/caching.rst +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/cli.rst +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/conf.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/environment.rst +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/index.rst +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/make.bat +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/requirements-dev.txt +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/scripts/debug-curve.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/scripts/debug-price.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/setup.cfg +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/classes/test_erc20.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/classes/test_singleton.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/conftest.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/fixtures.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/test_balancer.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/test_uniswap.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/dex/test_velodrome.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/lending/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/lending/test_aave.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/lending/test_compound.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/stable_swap/test_curve.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_chainlink.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_gearbox.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_magic.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_popsicle.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_synthetix.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/test_yearn.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/tokenized_fund/test_piedao.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/utils/test_buckets.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/test_constants.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/ENVIRONMENT_VARIABLES.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/brownie.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/common.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/config.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/decorators.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/entities.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/exceptions.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/log.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/structs.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/_ep.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/bulk.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/contract.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/logs.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/price.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/stringify.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/token.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/traces.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_db/utils/utils.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/_decorators.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/_abc.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/common.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/classes/singleton.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/cli.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/constants.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/contracts.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/convert.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/datatypes.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/exceptions.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/ERC20.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/balancer/WeightedPool.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/balancer/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/compound/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/compound/unitroller.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/curve/CurveRegistry.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/curve/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/multicall2.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/factoryv2.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/quoterv3.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/interfaces/uniswap/velov2.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/monkey_patches.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/networks.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/band.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/chainlink.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/convex.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/_abc.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/balancer.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/v1.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/balancer/v2.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/genericamm.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/mooniswap.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/solidly.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/uniswap.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v1.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v2.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/uniswap/v2_forks.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/dex/velodrome.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/eth_derivs/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/eth_derivs/creth.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/eth_derivs/wsteth.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/gearbox.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/aave.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/compound.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/lending/ib.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/magic.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/one_to_one.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/pendle.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/popsicle.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/rkp3r.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/solidex.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/belt.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/ellipsis.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/froyo.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/mstablefeederpool.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/saddle.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/basketdao.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/gelato.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/piedao.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/reserve.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/tokenized_fund/tokensets.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/buckets.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/debug.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/sense_check.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/utils/ypriceapi.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/yearn.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/py.typed +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/time.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/_erc20.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/cache.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/checks.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/client.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/dank_mids.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/events.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/fakes.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/gather.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/logging.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/middleware.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/utils/raw_calls.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic/__init__.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic/magic.py +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/SOURCES.txt +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/dependency_links.txt +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/entry_points.txt +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/not-zip-safe +0 -0
- {ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
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.
|
|
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.
|
|
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>=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.
|
|
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
|
|
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
|
-
|
|
23
|
-
except ImportError:
|
|
24
|
-
from eth_abi import encode_single
|
|
21
|
+
logger: Final = logging.getLogger(__name__)
|
|
25
22
|
|
|
26
|
-
|
|
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
|
|
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.
|
|
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.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/language_data.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/docs/_build/html/_static/sphinx_highlight.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/tests/prices/tokenized_fund/test_piedao.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/y/prices/stable_swap/mstablefeederpool.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ypricemagic-4.6.21.dev0 → ypricemagic-4.6.22.dev0}/ypricemagic.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|