diff options
Diffstat (limited to 'packages/contracts/globals.d.ts')
-rw-r--r-- | packages/contracts/globals.d.ts | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/packages/contracts/globals.d.ts b/packages/contracts/globals.d.ts index beb3bfd8c..0e6586a4b 100644 --- a/packages/contracts/globals.d.ts +++ b/packages/contracts/globals.d.ts @@ -32,32 +32,3 @@ declare module 'ethereumjs-abi' { const soliditySHA3: (argTypes: string[], args: any[]) => Buffer; const methodID: (name: string, types: string[]) => Buffer; } - -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 { - 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 }; - public static decodeParams(types: string[], data: string): any[]; - constructor(abi: any); - } -} |