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
- Operation type.
- param_
type - Function and event param types.
- token
- ABI param and parsing for it.
Structs§
- AbiError
- Contract error specification.
- Constructor
- Contract constructor specification.
- Contract
- API building calls to contracts ABI.
- Event
- Contract event.
- Event
Param - Event param specification.
- Events
- Contract events iterator.
- Function
- Contract function specification.
- Functions
- Contract functions iterator.
- Log
- Decoded log.
- LogParam
- Decoded log param.
- Param
- Function param.
- RawLog
- Ethereum log.
- RawTopic
Filter - Raw topic filter.
- Topic
Filter - Topic filter.
- Tuple
Param - Tuple params specification
Enums§
- Error
- Ethabi errors
- State
Mutability - Whether a function modifies or reads blockchain state
- Topic
- Acceptable topic possibilities.
Traits§
- Function
Output Decoder - Contract functions generated by ethabi-derive
- LogFilter
- Common filtering functions that are available for any event.
- Parse
Log - trait common to things (events) that have an associated
Log
type that can be parsed from aRawLog
Functions§
- decode
- Decodes ABI compliant vector of bytes into vector of tokens described by types param.
- decode_
validate - Decodes ABI compliant vector of bytes into vector of tokens described by types param. Checks, that decoded data is exact as input provided
- encode
- Encodes vector of tokens into ABI compliant vector of bytes.
- long_
signature - Returns the full Keccak-256 hash of the signature of the given params
- short_
signature - Returns the first four bytes of the Keccak-256 hash of the signature of the given params