Python replication of samczsun's abi-guesser
Project description
ABI Guesser Py
A Pythonic version of abi-guesser. All credit goes to samczsun for the original development; this is a direct 1-to-1 replication of his work.
Installation
pip install abi_guesser
Usage
>>> from abi_guesser import guess_fragment
>>> guess_fragment("0x38ed173900000000000000000000000000000000000000000000000000000000389fd9800000000000000000000000000000000000000000004607aa2b3b11fb9d4c000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000032baf5624fed24e66feaeb9c3fb1cad9e0960cc80000000000000000000000000000000000000000000000000000000064da7d310000000000000000000000000000000000000000000000000000000000000003000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c8de43bfe33ff496fa14c270d9cb29bda196b9b5")
'guessed_38ed1739(uint256,uint256,address[],address,uint256)'
>>>
# swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline)
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
abi_guesser-0.3.tar.gz
(6.2 kB
view details)
File details
Details for the file abi_guesser-0.3.tar.gz
.
File metadata
- Download URL: abi_guesser-0.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34d5bdf92bb18d2c1192ea3f230365a3e52e29fd95a7be0c7654d26b47185452 |
|
MD5 | 4f1e32bf1437670bec71d388a720de84 |
|
BLAKE2b-256 | 5a418a556a43b08becc5093e37bc6fc86988aea1786e899d7f6237990e740df9 |