Releases: Elnaril/uniswap-universal-router-decoder
Releases · Elnaril/uniswap-universal-router-decoder
v1.2.1 - Add support for latest Python and web3 versions
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
v0.5.4 Fix decoding issue
Backport fix for decoding issue #28
v1.0.0 - Add support for SWEEP and PAY_PORTION
- Add support for
SWEEP
andPAY_PORTION
- Fix decoding issues
- Remove useless parameter
payer_is_sender
fromv*_swap_exact_in_from_balance()
methods - Update Router ABI
- Add
uint48
anduint160
in ABI builder
v0.9.1 - Minor fixes
- Fix lint error
- Change v*_swap_exact_in_from_balance payer_is_sender default to False. This parameter will be removed in the next version.
v0.9.0 - Encode UNWRAP_WETH
- Add support for UNWRAP_WETH encoding (close ticket #7)
- Add v2_swap_exact_in_from_balance() and v3_swap_exact_in_from_balance(): 2 convenient methods which are used when the exact in_amount is not known when the transaction is built, typically chained after a V*_SWAP_EXACT_IN.
v0.8.0 - function chaining
- Breaking changes because of refactoring
- Command chaining extension: all supported UR functions can now be chained in a single transaction