What's Changed * fix: catch ContractLogicError in curve module by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/685 * chore: cleanup DeprecationError by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/684
What's Changed * feat: use weakref to cache price loggers by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/621 * feat: y.map_prices by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/625 * feat: add usdc to base constants by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/630 * feat: enable call cancellation in check_bucket and failed tasks by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/633 * feat: optimize calls to UniswapV2Pool.tokens by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/635 * feat: weth chainlink feed on base by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/638 * feat: optimize chainlink by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/639 * feat: create FUNDING.json by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/643 * feat: optimize uni v3 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/645 * feat: use pop to save memory by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/646 * feat: more imports to main by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/651 * feat: optimize velodrome v2 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/652 * feat: support basescan and optiscan on older brownie versions by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/656 * feat: support reserve protocol rtokens by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/657 * feat: support pendle lp tokens by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/658 * feat: WeiBalance maths by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/659 * feat: optimize balancer by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/675 * feat: optional disk cache by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/678 * feat: use chainlink feed for VELO by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/679 * feat: smaller events db for bigger scale analysis by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/683 * fix: type hint doesnt init on 3.8 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/626 * fix: synthetix assets when on-chain feed is stale by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/628 * fix: get_block_timestamp on erigon polygon by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/629 * fix: ERC20.repr if symbol unfetchable by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/637 * fix: add native USDC to polygon stablecoins by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/641 * fix: add missing comma in STABLECOINS dictionary by murderteeth in https://github.com/BobTheBuidler/ypricemagic/pull/648 * fix: missing import by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/653 * fix: yearn fallback to dex when underlying cant get price by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/654 * fix: is_basketdao_index revert case by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/655 * fix: broken crvCRVETH pool by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/661 * fix: build_name infinite loop by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/662 * fix: curve ContractLogicError on recent web3 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/663 * fix: catch wider range of explorer excs by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/668 * fix: event decoding on eth_events>1.2.3 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/670 * fix: pendle broke chains that dont have pendle by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/672 * fix: erigon_getHeaderByNumber new fields by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/673 * fix: memory leak if too many uniswap tasks run at once by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/676 * fix: except clause by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/677 * fix: random stuff by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/623 * fix: None is not boolean by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/680 * chore: format README.md by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/619 * chore: rename module decorators -> _decorators by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/620 * chore: refactor magic by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/624 * chore: remove old comment by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/631 * chore: cleanup piedao by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/632 * chore: remove old comment by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/634 * chore: cleanup solidly by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/640 * chore: adapt to ez-a-sync 0.22 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/644 * chore: cleanup tracebacks by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/647 * chore: refactor chainlink by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/650 * chore: refactor magic by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/649 * chore: add coins to sense check exclusions by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/660 * chore: refactor curve by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/664 * chore: cleanup long tracebacks by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/665 * chore: refactor loggers by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/666 * chore: clarify comment by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/667 * chore: refactor uni v2 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/669 * chore: apply stuck_coro_debugger to gather helpers by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/674 * chore: use stuck_coro_debugger in chainlink module by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/681 * chore: add type hint by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/682
* feat(docs): link to typing_extensions docs by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/618 * fix(mypy): fix generator type hints by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/622 * fix(mypy): magic fail_to_None typing by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/636
New Contributors * murderteeth made their first contribution in https://github.com/BobTheBuidler/ypricemagic/pull/648
What's Changed THIS RELEASE INCLUDES FIXES THAT WILL IMPACT PRICES * fix: balancer v2 deepest_pool_for gt/lt mixup by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/587 * fix: BalancerV2Pool.weights by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/593 * fix: balancer v1 scaling by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/607
What Else Changed * feat: SmartProcessingQueue for Contract by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/594 * feat: optimize uni v3 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/601 * feat: WeiBalance.price ASyncProperty by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/583 * feat: hashable WeiBalance by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/582 * feat: UniswapV2Pool.get_token_out method by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/599 * feat: classvars by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/606 * feat: cache pool tokens for balancer v1 by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/609 * feat: use ttls for most caches by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/610 * fix: Uniswap pool singleton memory leak by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/600
* chore: add brownie-config.yaml file by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/604 * chore: remove pandas from requirements-dev.txt by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/585 * chore: refactor with new a_sync mapping capability by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/596 * chore: refactor with DankContractMethod by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/589 * chore: extract _lowest_deploy_block by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/595 * chore: swap out ydb lru cache lib by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/590
* fix(mypy): fix UniswapV2Pool.__tokens__ type hint by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/598
* feat(test): limit gh workflow concurrency by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/584 * fix(test): fix compound test setup by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/588 * chore(test): limit codeql runner concurrency by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/612 * chore(test): limit test runner to on: pull_request only by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/605
* chore(docs): limit deploy runner concurrency by BobTheBuidler in https://github.com/BobTheBuidler/ypricemagic/pull/611