ethereumjs-monorepo

@ethereumjs/vm

@ethereumjs/vm

Table of contents

Enumerations

Classes

Interfaces

Type Aliases

Functions

Type Aliases

EVMProfilerOpts

Ƭ EVMProfilerOpts: Object

Type declaration

Name Type
enabled boolean

Defined in

vm/src/types.ts:67


TxReceipt

Ƭ TxReceipt: PreByzantiumTxReceipt | PostByzantiumTxReceipt | EIP4844BlobTxReceipt

Defined in

vm/src/types.ts:8


VMEvents

Ƭ VMEvents: Object

Type declaration

Name Type
afterBlock (data: AfterBlockEvent, resolve?: (result?: any) => void) => void
afterTx (data: AfterTxEvent, resolve?: (result?: any) => void) => void
beforeBlock (data: Block, resolve?: (result?: any) => void) => void
beforeTx (data: TypedTransaction, resolve?: (result?: any) => void) => void

Defined in

vm/src/types.ts:72


VMProfilerOpts

Ƭ VMProfilerOpts: Object

Type declaration

Name Type
reportAfterBlock? boolean
reportAfterTx? boolean

Defined in

vm/src/types.ts:79

Functions

encodeReceipt

encodeReceipt(receipt, txType): Uint8Array

Returns the encoded tx receipt.

Parameters

Name Type
receipt TxReceipt
txType TransactionType

Returns

Uint8Array

Defined in

vm/src/runBlock.ts:689