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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pancakeswap_universal_router_decoder-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03260e3edd275eef9245a334d4b05b3c74f31cf9cc90b4dc6268b641d71ad1bf
MD5 4a751b8362ce9cdeac82cf1407e88a87
BLAKE2b-256 0fabfe07e434af27bf108be673c62df7599e8749b8b16115cffb59418a9fa18e

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