Expand description
High-level types commonly used in Ethereum contracts.
Structs§
- Bytes20
- An array of 160 bits.
- Bytes32
- An array of 256 bits.
- Uint128
- A little-endian unsigned 128-bit integer.
- Uint256
- A little-endian unsigned 256-bit integer.
Type Aliases§
- Address
- Type definition representing an address.
- Difficulty
- Type definition representing a block’s difficulty.
- Ether
Value - Type definition representing a value in wei.
- Hash
- Type definition representing a Keccak-256 or SHA-256 hash.
- LogTopic
- Type definition representing a log topic.
- Storage
Key - Type definition representing a storage key.
- Storage
Value - Type definition representing a storage value.