ethereum.forks.bpo4.fork_typesethereum.forks.bpo5.fork_types
Ethereum Types.
.. contents:: Table of Contents :backlinks: none :local:
Introduction
Types reused throughout the specification, which are specific to Ethereum.
VersionedHash¶
| 24 | VersionedHash = Hash32 |
|---|
Bloom¶
| 26 | Bloom = Bytes256 |
|---|
encode_account ¶
Encode Account dataclass.
Storage is not stored in the Account dataclass, so Accounts cannot be
encoded without providing a storage root.
Authorization ¶
The authorization for a set code transaction.
| 46 | @slotted_freezable |
|---|
| 47 | @dataclass |
|---|
class Authorization:
chain_id¶
| 53 | chain_id: U256 |
|---|
address¶
| 54 | address: Address |
|---|
nonce¶
| 55 | nonce: U64 |
|---|
y_parity¶
| 56 | y_parity: U8 |
|---|
r¶
| 57 | r: U256 |
|---|
s¶
| 58 | s: U256 |
|---|