EvmStateManagerInterface
Extends
StateManagerInterface
Extended by
Properties
originalStorageCache
originalStorageCache:
object
clear()
Returns
void
get()
Parameters
• address: EthjsAddress
• key: Uint8Array
Returns
Promise
<Uint8Array
>
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:136
Methods
checkChunkWitnessPresent()?
optional
checkChunkWitnessPresent(contract
,programCounter
):Promise
<boolean
>
Parameters
• contract: EthjsAddress
• programCounter: number
Returns
Promise
<boolean
>
Inherited from
StateManagerInterface.checkChunkWitnessPresent
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:133
checkpoint()
checkpoint():
Promise
<void
>
Returns
Promise
<void
>
Inherited from
StateManagerInterface.checkpoint
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:124
clearContractStorage()
clearContractStorage(
address
):Promise
<void
>
Parameters
• address: EthjsAddress
Returns
Promise
<void
>
Inherited from
StateManagerInterface.clearContractStorage
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:123
commit()
commit():
Promise
<void
>
Returns
Promise
<void
>
Inherited from
StateManagerInterface.commit
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:125
deleteAccount()
deleteAccount(
address
):Promise
<void
>
Parameters
• address: EthjsAddress
Returns
Promise
<void
>
Inherited from
StateManagerInterface.deleteAccount
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:116
dumpStorage()
dumpStorage(
address
):Promise
<StorageDump
>
Parameters
• address: EthjsAddress
Returns
Promise
<StorageDump
>
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:140
dumpStorageRange()
dumpStorageRange(
address
,startKey
,limit
):Promise
<StorageRange
>
Parameters
• address: EthjsAddress
• startKey: bigint
• limit: number
Returns
Promise
<StorageRange
>
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:141
generateCanonicalGenesis()
generateCanonicalGenesis(
initState
):Promise
<void
>
Parameters
• initState: any
Returns
Promise
<void
>
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:142
getAccount()
getAccount(
address
):Promise
<undefined
|EthjsAccount
>
Parameters
• address: EthjsAddress
Returns
Promise
<undefined
| EthjsAccount
>
Inherited from
StateManagerInterface.getAccount
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:114
getAppliedKey()?
optional
getAppliedKey(address
):Uint8Array
Parameters
• address: Uint8Array
Returns
Uint8Array
Inherited from
StateManagerInterface.getAppliedKey
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:132
getContractCode()
getContractCode(
address
):Promise
<Uint8Array
>
Parameters
• address: EthjsAddress
Returns
Promise
<Uint8Array
>
Inherited from
StateManagerInterface.getContractCode
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:119
getContractCodeSize()?
optional
getContractCodeSize(address
):Promise
<number
>
Parameters
• address: EthjsAddress
Returns
Promise
<number
>
Inherited from
StateManagerInterface.getContractCodeSize
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:120
getContractStorage()
getContractStorage(
address
,key
):Promise
<Uint8Array
>
Parameters
• address: EthjsAddress
• key: Uint8Array
Returns
Promise
<Uint8Array
>
Inherited from
StateManagerInterface.getContractStorage
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:121
getProof()
getProof(
address
,storageSlots
?):Promise
<Proof
>
Parameters
• address: EthjsAddress
• storageSlots?: Uint8Array
[]
Returns
Promise
<Proof
>
Overrides
StateManagerInterface.getProof
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:143
getStateRoot()
getStateRoot():
Promise
<Uint8Array
>
Returns
Promise
<Uint8Array
>
Inherited from
StateManagerInterface.getStateRoot
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:127
hasStateRoot()
hasStateRoot(
root
):Promise
<boolean
>
Parameters
• root: Uint8Array
Returns
Promise
<boolean
>
Inherited from
StateManagerInterface.hasStateRoot
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:130
modifyAccountFields()
modifyAccountFields(
address
,accountFields
):Promise
<void
>
Parameters
• address: EthjsAddress
• accountFields: Partial
<Pick
<EthjsAccount
, "nonce"
| "balance"
| "storageRoot"
| "codeHash"
>>
Returns
Promise
<void
>
Inherited from
StateManagerInterface.modifyAccountFields
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:117
putAccount()
putAccount(
address
,account
?):Promise
<void
>
Parameters
• address: EthjsAddress
• account?: EthjsAccount
Returns
Promise
<void
>
Inherited from
StateManagerInterface.putAccount
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:115
putContractCode()
putContractCode(
address
,value
):Promise
<void
>
Parameters
• address: EthjsAddress
• value: Uint8Array
Returns
Promise
<void
>
Inherited from
StateManagerInterface.putContractCode
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:118
putContractStorage()
putContractStorage(
address
,key
,value
):Promise
<void
>
Parameters
• address: EthjsAddress
• key: Uint8Array
• value: Uint8Array
Returns
Promise
<void
>
Inherited from
StateManagerInterface.putContractStorage
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:122
revert()
revert():
Promise
<void
>
Returns
Promise
<void
>
Inherited from
StateManagerInterface.revert
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:126
setStateRoot()
setStateRoot(
stateRoot
,clearCache
?):Promise
<void
>
Parameters
• stateRoot: Uint8Array
• clearCache?: boolean
Returns
Promise
<void
>
Inherited from
StateManagerInterface.setStateRoot
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:128
shallowCopy()
shallowCopy(
downlevelCaches
?):EvmStateManagerInterface
Parameters
• downlevelCaches?: boolean
Returns
Overrides
StateManagerInterface.shallowCopy
Defined in
node_modules/.pnpm/@ethereumjs+common@4.4.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:144