Uniswap-universal-router-decoder

Latest version: v1.2.1

Safety actively analyzes 685507 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.2.1

- Add support for web3 v7
- Add support for Python 3.12 & 3.13

1.2.0

- 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()`

1.1.0

- 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

1.0.1

- fix 35 - SDK fails to decode input data when there is too many commands
- update README
- update project configuration

1.0.0

- Add support for `SWEEP` and `PAY_PORTION`
- Fix decoding issues
- Remove useless parameter `payer_is_sender` from `v*_swap_exact_in_from_balance()` methods
- Update Router ABI
- Add `uint48` and `uint160` in ABI builder

0.9.1

- 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.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.