Skip to content

EvmStateManagerInterface

Extends

  • StateManagerInterface

Extended by

Properties

originalStorageCache

originalStorageCache: object

clear()

Returns

void

get()

Parameters

address: EthjsAddress

key: Uint8Array

Returns

Promise<Uint8Array>

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:73

Methods

checkpoint()

checkpoint(): Promise<void>

Returns

Promise<void>

Inherited from

StateManagerInterface.checkpoint

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:62


clearContractStorage()

clearContractStorage(address): Promise<void>

Parameters

address: EthjsAddress

Returns

Promise<void>

Inherited from

StateManagerInterface.clearContractStorage

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:61


commit()

commit(): Promise<void>

Returns

Promise<void>

Inherited from

StateManagerInterface.commit

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:63


deleteAccount()

deleteAccount(address): Promise<void>

Parameters

address: EthjsAddress

Returns

Promise<void>

Inherited from

StateManagerInterface.deleteAccount

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:55


dumpStorage()

dumpStorage(address): Promise<StorageDump>

Parameters

address: EthjsAddress

Returns

Promise<StorageDump>

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:77


dumpStorageRange()

dumpStorageRange(address, startKey, limit): Promise<StorageRange>

Parameters

address: EthjsAddress

startKey: bigint

limit: number

Returns

Promise<StorageRange>

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:78


generateCanonicalGenesis()

generateCanonicalGenesis(initState): Promise<void>

Parameters

initState: any

Returns

Promise<void>

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:79


getAccount()

getAccount(address): Promise<undefined | EthjsAccount>

Parameters

address: EthjsAddress

Returns

Promise<undefined | EthjsAccount>

Inherited from

StateManagerInterface.getAccount

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:53


getAppliedKey()?

optional getAppliedKey(address): Uint8Array

Parameters

address: Uint8Array

Returns

Uint8Array

Inherited from

StateManagerInterface.getAppliedKey

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:70


getContractCode()

getContractCode(address): Promise<Uint8Array>

Parameters

address: EthjsAddress

Returns

Promise<Uint8Array>

Inherited from

StateManagerInterface.getContractCode

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:58


getContractStorage()

getContractStorage(address, key): Promise<Uint8Array>

Parameters

address: EthjsAddress

key: Uint8Array

Returns

Promise<Uint8Array>

Inherited from

StateManagerInterface.getContractStorage

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:59


getProof()

getProof(address, storageSlots?): Promise<Proof>

Parameters

address: EthjsAddress

storageSlots?: Uint8Array[]

Returns

Promise<Proof>

Overrides

StateManagerInterface.getProof

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:80


getStateRoot()

getStateRoot(): Promise<Uint8Array>

Returns

Promise<Uint8Array>

Inherited from

StateManagerInterface.getStateRoot

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:65


hasStateRoot()

hasStateRoot(root): Promise<boolean>

Parameters

root: Uint8Array

Returns

Promise<boolean>

Inherited from

StateManagerInterface.hasStateRoot

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:68


modifyAccountFields()

modifyAccountFields(address, accountFields): Promise<void>

Parameters

address: EthjsAddress

accountFields: Partial<Pick<EthjsAccount, "nonce" | "balance" | "storageRoot" | "codeHash">>

Returns

Promise<void>

Inherited from

StateManagerInterface.modifyAccountFields

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:56


putAccount()

putAccount(address, account?): Promise<void>

Parameters

address: EthjsAddress

account?: EthjsAccount

Returns

Promise<void>

Inherited from

StateManagerInterface.putAccount

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:54


putContractCode()

putContractCode(address, value): Promise<void>

Parameters

address: EthjsAddress

value: Uint8Array

Returns

Promise<void>

Inherited from

StateManagerInterface.putContractCode

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:57


putContractStorage()

putContractStorage(address, key, value): Promise<void>

Parameters

address: EthjsAddress

key: Uint8Array

value: Uint8Array

Returns

Promise<void>

Inherited from

StateManagerInterface.putContractStorage

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:60


revert()

revert(): Promise<void>

Returns

Promise<void>

Inherited from

StateManagerInterface.revert

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:64


setStateRoot()

setStateRoot(stateRoot, clearCache?): Promise<void>

Parameters

stateRoot: Uint8Array

clearCache?: boolean

Returns

Promise<void>

Inherited from

StateManagerInterface.setStateRoot

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:66


shallowCopy()

shallowCopy(downlevelCaches?): EvmStateManagerInterface

Parameters

downlevelCaches?: boolean

Returns

EvmStateManagerInterface

Overrides

StateManagerInterface.shallowCopy

Source

node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/interfaces.d.ts:81