Releases: Elnaril/uniswap-universal-router-decoder
Releases · Elnaril/uniswap-universal-router-decoder
v2.0.0 - Add support for Uniswap V4
- Add support for V4 functions and features:
V4_INITIALIZE_POOL
V4_POSITION_MANAGER_CALL
MINT_POSITION
SETTLE
SETTLE_PAIR
CLOSE_CURRENCY
WRAP
UNWRAP
TAKE_PAIR
CLEAR_OR_TAKE
TAKE
V4_SWAP
SWAP_EXACT_IN_SINGLE
SWAP_EXACT_IN
SWAP_EXACT_OUT_SINGLE
SWAP_EXACT_OUT
SETTLE
SETTLE_ALL
TAKE_ALL
TAKE_PORTION
TAKE
- 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_POOL
V4_POSITION_MANAGER_CALL
MINT_POSITION
SETTLE
SETTLE_PAIR
CLOSE_CURRENCY
UNWRAP
V4_SWAP
SWAP_EXACT_IN_SINGLE
SETTLE
SETTLE_ALL
TAKE_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
v1.0.1 - fix decoding issue #35
- fix #35 - SDK fails to decode input data when there is too many commands
- update README
- update project configuration