Expand description
Ethereum ABI encoding decoding library.
Re-exports§
pub use crate::param_type::ParamType;
pub use crate::token::Token;
pub use ethereum_types;
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
- Whether a function modifies or reads blockchain state
- 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 aRawLog
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 Aliases§
- ABI address.
- ABI bytes.
- ABI fixed bytes.
- Commonly used FixedBytes of size 32
- ABI signed integer.
- Ethabi result type
- ABI unsigned integer.
- ABI word.