From 34c1134b55c202b47ac4672a4c9025e4be9e21b4 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 26 Feb 2018 17:03:09 -0800 Subject: Create ethers-typescript-typings --- packages/utils/src/globals.d.ts | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 packages/utils/src/globals.d.ts (limited to 'packages/utils') diff --git a/packages/utils/src/globals.d.ts b/packages/utils/src/globals.d.ts deleted file mode 100644 index 951ef6ea2..000000000 --- a/packages/utils/src/globals.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare module 'ethers-contracts' { - export interface TransactionDescription { - name: string; - signature: string; - sighash: string; - data: string; - } - export interface CallDescription extends TransactionDescription { - parse: (...args: any[]) => any; - } - export interface FunctionDescription { - (...params: any[]): TransactionDescription | CallDescription; - inputs: { names: string[]; types: string[] }; - outputs: { names: string[]; types: string[] }; - } - export interface EventDescription { - parse: (...args: any[]) => any; - inputs: { names: string[]; types: string[] }; - signature: string; - topic: string; - } - // tslint:disable-next-line:max-classes-per-file - export class Interface { - public functions: { [functionName: string]: FunctionDescription }; - public events: { [eventName: string]: EventDescription }; - constructor(abi: any); - } -} -- cgit