Crate ethers_primitives
source ·Expand description
Primitives for contract abi, eip715 and rlp
Structs
- Type mapping for
bytes
of contract abi - Type mapping for
bytes<M>
of contract abi - Ethereum signature structure.
int<M>
type mappinguint<M>
type mapping
Enums
- The error type for decoding a hex string into
Vec<u8>
or[u8; N]
.
Traits
- Eip55 support trait
- Implement this trait to support deserialize
type
from ethereum hex string, “0x…” - Types that can be decoded from a hex string.
- Implement this trait to support serialize
type
to ethereum hex string, “0x…” - Encoding values as hex string.
Functions
- Decodes a hex string into raw bytes.
- Decode a hex string into a mutable bytes slice.
- Encodes
data
as hex string using lowercase characters. - Encodes some bytes into a mutable slice of bytes.
- Encodes
data
as hex string using uppercase characters.