From 6bcf31da3536d175ca08aff22f0435e62be62be8 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Mon, 14 Oct 2024 12:29:20 +0200 Subject: [PATCH] Prepare version bump --- CHANGELOG.md | 3 ++- eth_defi/token_analysis/tokensniffer.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc49bbdc..ded2da93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ -# Current +# 0.26.1 - Add: TokenSniffer API wrapper with a persistent cache - Add: Enzyme vault deployments on Arbitrum +- Add: Custom cache interface support for `CachedTokenSniffer()` # 0.26 diff --git a/eth_defi/token_analysis/tokensniffer.py b/eth_defi/token_analysis/tokensniffer.py index b35e4cd7..5fbba791 100644 --- a/eth_defi/token_analysis/tokensniffer.py +++ b/eth_defi/token_analysis/tokensniffer.py @@ -35,6 +35,8 @@ #: KNOWN_GOOD_TOKENS = { "USDC", + "USDT", + "USDS", # Dai rebranded "MKR", "DAI", "WBTC", @@ -469,8 +471,6 @@ class CachedTokenSniffer(TokenSniffer): - Use SQLite DB as a key-value cache backend, or your custom cache interface - - No cache expiration - - No support for multithreading/etc. fancy stuff Example usage: diff --git a/pyproject.toml b/pyproject.toml index 99175e7d..f1b9b8f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "web3-ethereum-defi" -version = "0.26" +version = "0.26.1" description = "Python library for Uniswap, Aave, ChainLink, Enzyme and other protocols on BNB Chain, Polygon, Ethereum and other blockchains" authors = ["Mikko Ohtamaa "] license = "MIT"