Decode & Encode transactions sent to the Pancakeswap Universal Router. Support Pancakeswap V4
Project description
Uniswap Universal Router Decoder & Encoder
Forked from and many thanks to uniswap-universal-router-decoder
List of supported Uniswap Universal Router Functions
| Command Id | Universal Router Function | Underlying Action - Function | Supported |
|---|---|---|---|
| 0x0a | PERMIT2_PERMIT | ✅ | |
| 0x0e - 0x0f | placeholders | N/A | |
| 0x10 | V4_SWAP | ✅ | |
| 0x06 - SWAP_EXACT_IN_SINGLE | ✅ | ||
| 0x11 - 0x12 | ❌ | ||
| 0x15 - 0x1d | ❌ | ||
| 0x1e - 0x3f | placeholders | N/A |
Installation
A good practice is to use Python virtual environments, here is a tutorial.
The library can be pip installed from pypi.org as usual:
# update pip to latest version if needed
pip install -U pip
# install the decoder from pypi.org
pip install pancakeswap-universal-router-decoder
This is a fork of the original project and may not be fully compatible with the original project. Please DYOR.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pancakeswap_universal_router_decoder-0.1.tar.gz.
File metadata
- Download URL: pancakeswap_universal_router_decoder-0.1.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db31d5cc9863bec8fcf1122fcd61584e5e178d485c7487e4b209f89223b8573e
|
|
| MD5 |
d893e193f938f975520e0ae16bd12e56
|
|
| BLAKE2b-256 |
ad4712b26211119a2c576aada385b84352d8109e80aabf6671f4a5350ee5eb43
|
File details
Details for the file pancakeswap_universal_router_decoder-0.1-py3-none-any.whl.
File metadata
- Download URL: pancakeswap_universal_router_decoder-0.1-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
621c65c1732738d01c4e431b8012723a53074a23adf7b35a52db25a5ea9027a6
|
|
| MD5 |
f44308729dbf299eeecba2f4d95f018e
|
|
| BLAKE2b-256 |
ef17cd07dcf5d39943397eb755b66dfd5a9ae551631131b9a17ae28d17df6a79
|