Crate fuel_ethabi

source ·
Expand description

Ethereum ABI encoding decoding library.

Re-exports

Modules

Operation type.
Function and event param types.
ABI param and parsing for it.

Structs

Contract error specification.
Contract constructor specification.
API building calls to contracts ABI.
Contract event.
Event param specification.
Contract events iterator.
Contract function specification.
Contract functions iterator.
Decoded log.
Decoded log param.
Function param.
Ethereum log.
Raw topic filter.
Topic filter.
Tuple params specification

Enums

Ethabi errors
Function and event param types.
Whether a function modifies or reads blockchain state
Ethereum ABI params.
Acceptable topic possibilities.

Traits

Contract functions generated by ethabi-derive
Common filtering functions that are available for any event.
trait common to things (events) that have an associated Log type that can be parsed from a RawLog

Functions

Decodes ABI compliant vector of bytes into vector of tokens described by types param.
Decodes ABI compliant vector of bytes into vector of tokens described by types param. Checks, that decoded data is exact as input provided
Encodes vector of tokens into ABI compliant vector of bytes.
Returns the full Keccak-256 hash of the signature of the given params
Returns the first four bytes of the Keccak-256 hash of the signature of the given params

Type Definitions

ABI address.
ABI bytes.
ABI fixed bytes.
Commonly used FixedBytes of size 32
ABI signed integer.
Ethabi result type
ABI unsigned integer.
ABI word.