ethereumjs-monorepo

@ethereumjs/evm / EVMInterface

Interface: EVMInterface

Table of contents

Properties

Methods

Properties

events

Optional events: AsyncEventEmitter<EVMEvents>

Defined in

types.ts:163


journal

journal: Object

Type declaration

Name Type
accessList? Map<string, Set<string>>
preimages? Map<string, Uint8Array>
addAlwaysWarmAddress (address: string, addToAccessList?: boolean) => void
addAlwaysWarmSlot (address: string, slot: string, addToAccessList?: boolean) => void
checkpoint () => Promise<void>
cleanJournal () => void
cleanup () => Promise<void>
commit () => Promise<void>
deleteAccount (address: Address) => Promise<void>
putAccount (address: Address, account: Account) => Promise<void>
revert () => Promise<void>
startReportingAccessList () => void
startReportingPreimages? () => void

Defined in

types.ts:144


precompiles

precompiles: Map<string, PrecompileFunc>

Defined in

types.ts:160


stateManager

stateManager: EVMStateManagerInterface

Defined in

types.ts:159

Methods

runCall

runCall(opts): Promise<EVMResult>

Parameters

Name Type
opts EVMRunCallOpts

Returns

Promise<EVMResult>

Defined in

types.ts:161


runCode

runCode(opts): Promise<ExecResult>

Parameters

Name Type
opts EVMRunCodeOpts

Returns

Promise<ExecResult>

Defined in

types.ts:162