@ethereumjs/evm / EVMInterface
• Optional
events: AsyncEventEmitter
<EVMEvents
>
• journal: Object
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 |
• precompiles: Map
<string
, PrecompileFunc
>
• stateManager: EVMStateManagerInterface
▸ runCall(opts
): Promise
<EVMResult
>
Name | Type |
---|---|
opts |
EVMRunCallOpts |
Promise
<EVMResult
>
▸ runCode(opts
): Promise
<ExecResult
>
Name | Type |
---|---|
opts |
EVMRunCodeOpts |
Promise
<ExecResult
>