Skip to main content

Decode & Encode transactions sent to the Pancakeswap Universal Router. Support Pancakeswap V4

Project description

Pancakeswap Universal Router Decoder & Encoder

Forked from and many thanks to pancakeswap-universal-router-decoder

List of supported Pancakeswap 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.2.tar.gz (25.1 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.2.tar.gz.

File metadata

File hashes

Hashes for pancakeswap_universal_router_decoder-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8d2d71c6045f777b484bcaabfd4e49e7c6efa30f2bf2f28bb58055617c434db8
MD5 4f3444612b833f9cec814862f493c5d5
BLAKE2b-256 049c3282f7ba24532cd9a02069341cf30d4707dca8399a941afdb20b3aa3ab41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pancakeswap_universal_router_decoder-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ead861d000cc461f2bf1ea3a862696b5e9ce4741ebe17beffbb789b343bf345
MD5 10e4063000bec5383d7b8c1a039a559b
BLAKE2b-256 217b4e2168d565596be95018b73ddc40d82781dd4ab197b0147f843aa4fc8113

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