@ethereumjs/evm
Version:
JavaScript Ethereum Virtual Machine (EVM) implementation
13 lines • 575 B
TypeScript
import type { Common } from '@ethereumjs/common';
import type { RunState } from '../interpreter.ts';
/**
* Adjusts gas usage and refunds of SStore ops per EIP-2200 (Istanbul)
*
* @param {RunState} runState
* @param {Uint8Array} currentStorage
* @param {Uint8Array} originalStorage
* @param {Uint8Array} value
* @param {Common} common
*/
export declare function updateSstoreGasEIP2200(runState: RunState, currentStorage: Uint8Array, originalStorage: Uint8Array, value: Uint8Array, key: Uint8Array, common: Common): bigint;
//# sourceMappingURL=EIP2200.d.ts.map