@ethereumjs/evm
Ƭ Log: [address: Uint8Array, topics: Uint8Array[], data: Uint8Array]
Log that the contract emits.
• Const EOF: Object
| Name | Type |
|---|---|
FORMAT |
number |
MAGIC |
number |
VERSION |
number |
codeAnalysis |
(container: Uint8Array) => undefined | { code: number = 0; data: number = 0 } |
validOpcodes |
(code: Uint8Array) => boolean |
▸ getActivePrecompiles(common, customPrecompiles?): Map<string, PrecompileFunc>
| Name | Type |
|---|---|
common |
Common |
customPrecompiles? |
CustomPrecompile[] |
Map<string, PrecompileFunc>
▸ getOpcodesForHF(common, customOpcodes?): OpcodeContext
Get suitable opcodes for the required hardfork.
| Name | Type | Description |
|---|---|---|
common |
Common |
{Common} Ethereumjs Common metadata object. |
customOpcodes? |
CustomOpcode[] |
List with custom opcodes (see EVM customOpcodes option description). |
OpcodeContext
Opcodes dictionary object.