Releases: Elnaril/uniswap-universal-router-decoder
Releases · Elnaril/uniswap-universal-router-decoder
v2.1.0 - Add support for PERMIT2_PERMIT_BATCH & PERMIT2_TRANSFER_FROM_BATCH
- Add support for PERMIT2_PERMIT_BATCH
- Add support for PERMIT2_TRANSFER_FROM_BATCH
- Refactor all integration tests to use Anvil i/o Ganache
- Replace typing features deprecated since Python 3.9
- Get test coverage back to 100%
- Refactor ABI builder
- Add support for Python 3.14
v2.0.0 - Add support for Uniswap V4
- Add support for V4 functions and features:
V4_INITIALIZE_POOLV4_POSITION_MANAGER_CALLMINT_POSITIONSETTLESETTLE_PAIRCLOSE_CURRENCYWRAPUNWRAPTAKE_PAIRCLEAR_OR_TAKETAKE
V4_SWAPSWAP_EXACT_IN_SINGLESWAP_EXACT_INSWAP_EXACT_OUT_SINGLESWAP_EXACT_OUTSETTLESETTLE_ALLTAKE_ALLTAKE_PORTIONTAKE
- Pool Key, Path and Id encoding
- Add support for
PERMIT2_TRANSFER_FROM - Custom contract error decoding
- Encoding refactoring
- Remove support for Python 3.8
- Update repository picture
- Update default router address to Mainnet's one
- Add integration tests for V4 functions
- Update default router address to new Mainnet's one
v2.0.0b1 - Fix issues and add doc
- Fix SWAP_EXACT_IN and SWAP_EXACT_OUT issue
- Add/improve documentation
- Update default router address to new Mainnet's one
- Minor refactoring
v2.0.0a3 - Add support for the last V4 Functions
Add the remaining V4 Functions supported by the Universal Router:
- CLEAR_OR_TAKE
- TAKE
- TAKE_PAIR
- TAKE_PORTION
v2.0.0a2 - Add support for more Uniswap V4 features & Refactoring
- Add support for more V4 functions and features:
- WRAP & fix UNWRAP
- SWAP_EXACT_IN
- SWAP_EXACT_OUT_SINGLE
- Remove support for Python 3.8
- More refactoring
- Update repository picture
v2.0.0a1 - Add support for some Uniswap V4 features
- Add support for some V4 functions and features:
V4_INITIALIZE_POOLV4_POSITION_MANAGER_CALLMINT_POSITIONSETTLESETTLE_PAIRCLOSE_CURRENCYUNWRAP
V4_SWAPSWAP_EXACT_IN_SINGLESETTLESETTLE_ALLTAKE_ALL
- Pool Key and Pool Id encoding
- Add support for
PERMIT2_TRANSFER_FROM - Custom contract error decoding
- Encoding refactoring
v1.2.1 - Add support for latest Python and web3 versions
- Add support for web3 v7
- Add support for Python 3.12 & 3.13
v1.2.0 - Add convenient methods
- Add
compute_gas_fees(): utility function to compute gas fees - Add
build_transaction()method: It's now possible to build the full transaction i/o just the input data. - Add
fetch_permit2_allowance(): Easy way to check the current Permit2 allowed amount, expiration and nonce. - Make verifying contract (Permit2) configurable (Thanks to @speedssr and @freereaper)
- Replace deprecated
eth_account.encode_structured_data()witheth_account.messages.encode_typed_data()
v1.1.0 - Add support for TRANSFER
- Add support for the TRANSFER function
- Add support for decoding the "revert on fail" flag and prepare for encoding on UR functions that support it.
- Add support for encoding the
execute()function without deadline
v0.5.5 - Fix decoding issue #35
Backport fix #35 - SDK fails to decode input data when there is too many commands