Changelog
All notable changes to the uniswap-python project will be documented in this file.
0.7.2
- Updated: Default fee is not applied when using Uniswap V3. Default fee for Uniswap V1 and V2 is still 0.3%.
- Updated:
InvalidFeeTierexception is raised when a tier is not supported by the protocol version. See all supported tiers inuniswap.fee.FeeTier.
0.7.1
- Incomplete changelog.
0.7.0
- Incomplete changelog.
0.5.4
- Added use of gas estimation instead of a fixed gas limit (to support Arbitrum).
- Added
use_estimate_gasconstructor argument (used in testing). - Added constants/basic support for Arbitrum, Optimism, Polygon, and Fantom (untested).
0.5.3
- Incomplete changelog.
0.5.2
- Incomplete changelog.
0.5.1
- Updated dependencies.
- Fixed minor typing issues.
0.5.0
- Basic support for Uniswap V3.
- Added new methods
get_price_inputandget_price_output. - Made a lot of previously public methods private to clean up the API.
- Added documentation site.
- Removed ENS support (which was broken).
0.4.6
- Bug fix: Update bleach package from 3.1.4 to 3.3.0.
0.4.5
- Bug fix: Use
.ethinstead of.ens.
0.4.4
- General: Add new logo for Uniswap V2.
- Bug fix: Invalid balance check (#25).
- Bug fix: Fixed error when passing WETH as a token.
0.4.3
- Allow kwargs in the
approveddecorator.
0.4.2
- Add note about Uniswap V2 support to the README.
0.4.1
- Update changelog for PyPI and clean up packaging.
0.4.0
- Added support for Uniswap V2.
- Handle arbitrary tokens (by address) using the factory contract.
- Switched from
setup.pytopyproject.toml/Poetry. - Switched from Travis to GitHub Actions for CI.
- Running tests on a local fork of mainnet using ganache-cli.
- Fixed tests for
make_tradeandmake_trade_output. - Added type annotations to the entire codebase and check them with mypy in CI.
- Formatted entire codebase with Black.
- Moved module structures such that the basic import becomes
from uniswap import Uniswap. - Fixed miscellaneous bugs.
0.3.3
- Provide token inputs as addresses instead of names.
0.3.2
- Add ability to transfer tokens after a trade.
- Add tests for this new functionality.
0.3.1
- Add tests for all types of trades.
0.3.0
- Add ability to make all types of trades.
- Add examples to README.
0.2.1
- Add liquidity tests.
0.2.0
- Add liquidity and ERC20 pool methods.
0.1.1
- Major README update.
0.1.0
- Add market endpoints.
- Add tests for market endpoints.