hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
36 lines • 937 B
TypeScript
/// <reference types="node" />
import type { ExceptionalHalt, SuccessReason } from "@nomicfoundation/edr";
import type { Address } from "@nomicfoundation/ethereumjs-util";
/**
* These types are minimal versions of the values returned by ethereumjs
* in the event listeners.
*/
export interface MinimalInterpreterStep {
pc: number;
depth: number;
opcode: {
name: string;
};
stack: bigint[];
memory?: Uint8Array;
}
export interface MinimalExecResult {
success: boolean;
executionGasUsed: bigint;
contractAddress?: Address;
reason?: SuccessReason | ExceptionalHalt;
output?: Buffer;
}
export interface MinimalEVMResult {
execResult: MinimalExecResult;
}
export interface MinimalMessage {
to?: Address;
codeAddress?: Address;
value: bigint;
data: Uint8Array;
caller: Address;
gasLimit: bigint;
isStaticCall: boolean;
}
//# sourceMappingURL=types.d.ts.map