ethereumjs-monorepo

@ethereumjs/statemanager / OriginalStorageCache

Class: OriginalStorageCache

Table of contents

Constructors

Methods

Constructors

constructor

new OriginalStorageCache(getContractStorage)

Parameters

Name Type
getContractStorage getContractStorage

Defined in

cache/originalStorageCache.ts:10

Methods

clear

clear(): void

Returns

void

Defined in

cache/originalStorageCache.ts:43


get

get(address, key): Promise<Uint8Array>

Parameters

Name Type
address Address
key Uint8Array

Returns

Promise<Uint8Array>

Defined in

cache/originalStorageCache.ts:15


put

put(address, key, value): void

Parameters

Name Type
address Address
key Uint8Array
value Uint8Array

Returns

void

Defined in

cache/originalStorageCache.ts:30