ethereumjs-vm
Version:
An Ethereum VM implementation
13 lines (12 loc) • 309 B
TypeScript
/// <reference types="node" />
import BN = require('bn.js');
import Common from 'ethereumjs-common';
import { ExecResult } from '../evm';
export interface PrecompileFunc {
(opts: PrecompileInput): ExecResult;
}
export interface PrecompileInput {
data: Buffer;
gasLimit: BN;
_common: Common;
}