@ethereumjs/evm
Version:
JavaScript Ethereum Virtual Machine (EVM) implementation
16 lines (13 loc) • 382 B
text/typescript
import type { Common } from '@ethereumjs/common'
import type { debug } from 'debug'
import type { EVMInterface, ExecResult } from '../types.ts'
export interface PrecompileFunc {
(input: PrecompileInput): Promise<ExecResult> | ExecResult
}
export interface PrecompileInput {
data: Uint8Array
gasLimit: bigint
common: Common
_EVM: EVMInterface
_debug?: debug.Debugger
}