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.
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/black.yaml +2 -2
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/codeql-analysis.yml +4 -4
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/compile.yaml +1 -1
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/deploy-docs.yml +5 -5
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/mypy.yaml +2 -2
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/pytest.yaml +5 -5
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.github/workflows/release.yaml +10 -10
- {ypricemagic-4.6.24.dev0/ypricemagic.egg-info → ypricemagic-4.6.26.dev0}/PKG-INFO +1 -1
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/pyproject.toml +1 -1
- ypricemagic-4.6.26.dev0/renovate.json +6 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/uniswap.py +2 -2
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v2.py +1 -3
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v3.py +1 -2
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/magic.py +3 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0/ypricemagic.egg-info}/PKG-INFO +1 -1
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/SOURCES.txt +1 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.env.sample +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/.gitignore +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/CONTRIBUTING.md +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/FUNDING.json +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/LICENSE.txt +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/Makefile +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/README.md +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/brownie-config.yaml +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/Makefile +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/alabaster.css +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/basic.css +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/custom.css +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/doctools.js +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/documentation_options.js +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/file.png +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/language_data.js +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/minus.png +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/plus.png +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/pygments.css +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/searchtools.js +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/caching.rst +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/cli.rst +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/conf.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/environment.rst +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/index.rst +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/docs/make.bat +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/requirements-dev.txt +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/requirements.txt +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/scripts/debug-curve.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/scripts/debug-price.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/setup.cfg +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/setup.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/classes/test_erc20.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/classes/test_singleton.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/conftest.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/fixtures.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/test_balancer.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/test_uniswap.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/dex/test_velodrome.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/lending/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/lending/test_aave.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/lending/test_compound.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/stable_swap/test_curve.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_chainlink.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_gearbox.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_magic.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_popsicle.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_synthetix.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/test_yearn.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/tokenized_fund/test_piedao.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/prices/utils/test_buckets.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/tests/test_constants.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/ENVIRONMENT_VARIABLES.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/brownie.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/common.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/config.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/decorators.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/entities.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/exceptions.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/log.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/structs.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/_ep.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/bulk.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/contract.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/logs.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/price.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/stringify.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/token.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/traces.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_db/utils/utils.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/_decorators.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/_abc.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/common.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/classes/singleton.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/cli.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/constants.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/contracts.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/convert.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/datatypes.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/exceptions.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/ERC20.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/balancer/WeightedPool.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/balancer/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/compound/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/compound/unitroller.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/curve/CurveRegistry.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/curve/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/multicall2.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/factoryv2.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/quoterv3.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/interfaces/uniswap/velov2.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/monkey_patches.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/networks.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/band.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/chainlink.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/convex.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/_abc.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/balancer.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/v1.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/balancer/v2.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/genericamm.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/mooniswap.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/solidly.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v1.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/uniswap/v2_forks.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/dex/velodrome.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/eth_derivs/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/eth_derivs/creth.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/eth_derivs/wsteth.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/gearbox.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/aave.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/compound.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/lending/ib.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/one_to_one.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/pendle.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/popsicle.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/rkp3r.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/solidex.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/belt.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/curve.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/ellipsis.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/froyo.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/mstablefeederpool.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/stable_swap/saddle.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/synthetix.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/basketdao.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/gelato.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/piedao.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/reserve.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/tokenized_fund/tokensets.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/buckets.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/debug.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/sense_check.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/utils/ypriceapi.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/prices/yearn.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/py.typed +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/time.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/_erc20.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/cache.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/checks.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/client.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/dank_mids.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/events.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/fakes.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/gather.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/logging.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/middleware.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/multicall.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/y/utils/raw_calls.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic/__init__.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic/magic.py +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/dependency_links.txt +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/entry_points.txt +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/not-zip-safe +0 -0
- {ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/requires.txt +0 -0
- {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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
80
|
+
uses: github/codeql-action/analyze@v3
|
|
@@ -20,10 +20,10 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
steps:
|
|
22
22
|
- name: Check out code
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@v5
|
|
24
24
|
|
|
25
25
|
- name: Set up Python
|
|
26
|
-
uses: actions/setup-python@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
47
|
+
uses: actions/checkout@v5
|
|
48
48
|
|
|
49
49
|
- name: Setup Python (faster than using Python container)
|
|
50
|
-
uses: actions/setup-python@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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.
|
|
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
|
|
@@ -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(
|
|
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
|
|
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
|
-
|
|
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.
|
|
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
|
|
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.24.dev0 → ypricemagic-4.6.26.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.24.dev0 → ypricemagic-4.6.26.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
|
|
File without changes
|
|
File without changes
|
{ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.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
|
{ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.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
|
|
File without changes
|
{ypricemagic-4.6.24.dev0 → ypricemagic-4.6.26.dev0}/ypricemagic.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|