Module alloy_primitives::aliases
source · Expand description
Type aliases for common primitive types.
Type Definitions
- 1-byte fixed byte-array type.
- 2-byte fixed byte-array type.
- 4-byte fixed byte-array type.
- 8-byte fixed byte-array type.
- 12-byte fixed byte-array type.
- 16-byte fixed byte-array type.
- 24-byte fixed byte-array type.
- 28-byte fixed byte-array type.
- 32-byte fixed byte-array type.
- 64-byte fixed byte-array type.
- 128-byte fixed byte-array type.
- 256-byte fixed byte-array type.
- A block hash.
- A block number.
- Chain identifier type (introduced in EIP-155).
- The 0-bit signed integer type, capable of representing 0.
- The 1-bit signed integer type, capable of representing 0 and -1.
- 8-bit signed integer type, consisting of 1, 64-bit limbs.
- 16-bit signed integer type, consisting of 1, 64-bit limbs.
- 32-bit signed integer type, consisting of 1, 64-bit limbs.
- 64-bit signed integer type, consisting of 1, 64-bit limbs.
- 128-bit signed integer type, consisting of 2, 64-bit limbs.
- 160-bit signed integer type, consisting of 3, 64-bit limbs.
- 192-bit signed integer type, consisting of 3, 64-bit limbs.
- 256-bit signed integer type, consisting of 4, 64-bit limbs.
- 512-bit signed integer type, consisting of 8, 64-bit limbs.
- Solidity contract functions are addressed using the first four bytes of the Keccak-256 hash of their signature.
- An account storage key.
- An account storage value.
- A transaction hash is a keccak hash of an RLP encoded signed transaction.
- The index of transaction in a block.
- The sequence number of all existing transactions.
Uintfor160bits.Uintfor192bits.Uintfor256bits.Uintfor320bits.Uintfor384bits.Uintfor448bits.Uintfor512bits.Uintfor1024bits.Uintfor2048bits.Uintfor4096bits.