Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pancakeswap_universal_router_decoder-0.1.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file pancakeswap_universal_router_decoder-0.1.tar.gz.

File metadata

File hashes

Hashes for pancakeswap_universal_router_decoder-0.1.tar.gz
Algorithm Hash digest
SHA256 db31d5cc9863bec8fcf1122fcd61584e5e178d485c7487e4b209f89223b8573e
MD5 d893e193f938f975520e0ae16bd12e56
BLAKE2b-256 ad4712b26211119a2c576aada385b84352d8109e80aabf6671f4a5350ee5eb43

See more details on using hashes here.

File details

Details for the file pancakeswap_universal_router_decoder-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pancakeswap_universal_router_decoder-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 621c65c1732738d01c4e431b8012723a53074a23adf7b35a52db25a5ea9027a6
MD5 f44308729dbf299eeecba2f4d95f018e
BLAKE2b-256 ef17cd07dcf5d39943397eb755b66dfd5a9ae551631131b9a17ae28d17df6a79

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page