Ethereumjs-Webserver

@ethereumjs/evm / EVMInterface

Interface: EVMInterface

Table of contents

Properties

Methods

Properties

events

Optional events: AsyncEventEmitter<EVMEvents>

Defined in

types.ts:161


journal

journal: Object

Type declaration

Name Type
accessList? Map<string, Set<string>>
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

Defined in

types.ts:144


precompiles

precompiles: Map<string, PrecompileFunc>

Defined in

types.ts:158


stateManager

stateManager: EVMStateManagerInterface

Defined in

types.ts:157

Methods

runCall

runCall(opts): Promise<EVMResult>

Parameters

Name Type
opts EVMRunCallOpts

Returns

Promise<EVMResult>

Defined in

types.ts:159


runCode

runCode(opts): Promise<ExecResult>

Parameters

Name Type
opts EVMRunCodeOpts

Returns

Promise<ExecResult>

Defined in

types.ts:160