ethereum.vm
¶
Ethereum Virtual Machine (EVM)¶
Table of Contents
Introduction¶
The abstract computer which runs the code stored in an eth1spec.eth_types.Account.
Submodules¶
Package Contents¶
Classes¶
Items external to the virtual machine itself, provided by the environment. |
|
The internal state of the virtual machine. |
Package Details¶
Environment¶
Items external to the virtual machine itself, provided by the environment.
- class ethereum.vm.Environment¶
- caller :ethereum.eth_types.Address¶
- block_hashes :List[ethereum.eth_types.Hash32]¶
- origin :ethereum.eth_types.Address¶
- coinbase :ethereum.eth_types.Address¶
- number :ethereum.eth_types.Uint¶
- gas_limit :ethereum.eth_types.Uint¶
- gas_price :ethereum.eth_types.U256¶
- time :ethereum.eth_types.U256¶
- difficulty :ethereum.eth_types.Uint¶
- state :ethereum.eth_types.State¶
Evm¶
The internal state of the virtual machine.
- class ethereum.vm.Evm¶
- pc :ethereum.eth_types.Uint¶
- stack :List[ethereum.eth_types.U256]¶
- memory :bytearray¶
- code :bytes¶
- gas_left :ethereum.eth_types.U256¶
- current :ethereum.eth_types.Address¶
- caller :ethereum.eth_types.Address¶
- data :bytes¶
- value :ethereum.eth_types.U256¶
- depth :ethereum.eth_types.Uint¶
- env :Environment¶
- refund_counter :ethereum.eth_types.Uint¶