Skip to content

Releases: Elnaril/uniswap-universal-router-decoder

v2.0.0 - Add support for Uniswap V4

21 Feb 13:22
6ed466e
Compare
Choose a tag to compare
  • 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

09 Feb 16:08
3b2040f
Compare
Choose a tag to compare
Pre-release
  • 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

20 Jan 17:26
d962ccb
Compare
Choose a tag to compare

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

10 Jan 08:42
34272bb
Compare
Choose a tag to compare
  • 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

30 Dec 07:10
7759054
Compare
Choose a tag to compare
  • 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

26 Oct 12:49
e683a86
Compare
Choose a tag to compare
  • Add support for web3 v7
  • Add support for Python 3.12 & 3.13

v1.2.0 - Add convenient methods

17 Jun 15:51
a945a74
Compare
Choose a tag to compare
  • 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() with eth_account.messages.encode_typed_data()

v1.1.0 - Add support for TRANSFER

07 Feb 07:12
5dd1d62
Compare
Choose a tag to compare
  • 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

02 Feb 13:32
4714b1c
Compare
Choose a tag to compare

Backport fix #35 - SDK fails to decode input data when there is too many commands

v1.0.1 - fix decoding issue #35

28 Dec 11:19
af911af
Compare
Choose a tag to compare
  • fix #35 - SDK fails to decode input data when there is too many commands
  • update README
  • update project configuration