Catalog PyPI
PACKAGE EXPLORERView in registry

abi-dehumanizer

PyPI

A parser for transforming human-readable ABI strings into a format compatible with eth_abi.decode()

Versions collected1
Direct dependencies0From release 0.1
Last observed20 Oct, 17:24 UTC

README

Version 0.1 documentation

Human-Readable ABI String Convertor To eth_abi Compatible List

This repository contains Python classes designed for parsing human-readable ABI strings into a format that can be easily used with the eth_abi.decode() function.

Installation

pip install abi_dehumanizer

Usage

>>> from abi_dehumanizer import ABIDehumanizer
>>> ABIDehumanizer("deposit((address,uint256,uint256,uint256,(address,address,bool,uint256)[]),address[],uint256[])").parse_parameters()
['(address,uint256,uint256,uint256,(address,address,bool,uint256)[])', 'address[]', 'uint256[]']
>>> 
>>> ABIDehumanizer("claim(address,address,uint256,uint256,bytes32[])").parse_parameters()
['address', 'address', 'uint256', 'uint256', 'bytes32[]']
>>> 
>>> ABIDehumanizer("transfer(address,uint256)").parse_parameters()
['address', 'uint256']

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.15 Mar 20240

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xst1ng3r/abi-dehumanizer

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:24 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:cc64a59bf8900bc2fad3dff89eb8ba37a5a859a9b68570dc580d298831792f43