Expand description
rexport ethers macros.
Re-exports
Modules
This implementation adapted from
ethers-core
Ethereum ABI encoding decoding library.
Recursive Length Prefix serialization crate.
Macros
Conditional compilation depending on whether ethereum-types is built with ethbloom support.
Structs
Bloom hash type with 256 bytes (2048 bits) size.
32 bytes $name
32 bytes $name
Eip712 Domain attributes used in determining the domain separator;
Unused fields are left out of the struct type.
Represents the name and type pair
The error type for parsing numbers from strings.
Fixed-size uninterpreted hash type with 16 bytes (128 bits) size.
Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.
Ether network api provider
Topic filter.
Transaction instance provide extra wait fn
Typed data is a JSON object containing type information, domain separator parameters and the
message object which has the following schema
Little-endian large integer type
Unsigned 64-bit integer.
Little-endian large integer type
128-bit unsigned integer.
Little-endian large integer type
256-bit unsigned integer.
Little-endian large integer type
512-bits unsigned integer.
Enums
eth_getBlockByNumber parameter
Block
eth_getBlockByNumber parameter
Block
valid tag enumError typed used by Eip712 derive macro
Conversion from decimal string error
A list of error categories encountered when parsing numbers.
Helper type to parse numeric strings,
u64
and U256
Traits
Extend
Address
structure, add some usefull helper fns.The Eip712 trait provides helper methods for computing
the typed data hash used in
eth_signTypedData
.Functions
Supports parsing numbers as strings
Encodes an object by encoding and concatenating each of its members.
Parse token into Eip712 compliant ABI encoding
Encode a single field.
Encodes the type of an object by encoding a comma delimited list of its members.
Hashes an object
Returns the hashed encoded type of
primary_type
Type Definitions
Custom types for
TypedData
TypedData
value