/// import type { RunState } from '../interpreter'; import type { Common } from '@nomicfoundation/common'; import type { Address } from '@nomicfoundation/util'; /** * Adds address to accessedAddresses set if not already included. * Adjusts cost incurred for executing opcode based on whether address read * is warm/cold. (EIP 2929) * @param {RunState} runState * @param {Address} address * @param {Common} common * @param {Boolean} chargeGas (default: true) * @param {Boolean} isSelfdestruct (default: false) */ export declare function accessAddressEIP2929(runState: RunState, address: Address, common: Common, chargeGas?: boolean, isSelfdestructOrAuthcall?: boolean): bigint; /** * Adds (address, key) to accessedStorage tuple set if not already included. * Adjusts cost incurred for executing opcode based on whether storage read * is warm/cold. (EIP 2929) * @param {RunState} runState * @param {Buffer} key (to storage slot) * @param {Common} common */ export declare function accessStorageEIP2929(runState: RunState, key: Buffer, isSstore: boolean, common: Common): bigint; /** * Adjusts cost of SSTORE_RESET_GAS or SLOAD (aka sstorenoop) (EIP-2200) downward when storage * location is already warm * @param {RunState} runState * @param {Buffer} key storage slot * @param {BigInt} defaultCost SSTORE_RESET_GAS / SLOAD * @param {string} costName parameter name ('noop') * @param {Common} common * @return {BigInt} adjusted cost */ export declare function adjustSstoreGasEIP2929(runState: RunState, key: Buffer, defaultCost: bigint, costName: string, common: Common): bigint; //# sourceMappingURL=EIP2929.d.ts.map