diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-27 09:03:09 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-28 04:06:02 +0800 |
commit | 34c1134b55c202b47ac4672a4c9025e4be9e21b4 (patch) | |
tree | 2a4f75240fc3a085ea4f91e8fb462cb7ba618125 /packages/contracts | |
parent | a5ef1db0c56e4166641c19b46641921a3b1e509f (diff) | |
download | dexon-0x-contracts-34c1134b55c202b47ac4672a4c9025e4be9e21b4.tar.gz dexon-0x-contracts-34c1134b55c202b47ac4672a4c9025e4be9e21b4.tar.zst dexon-0x-contracts-34c1134b55c202b47ac4672a4c9025e4be9e21b4.zip |
Create ethers-typescript-typings
Diffstat (limited to 'packages/contracts')
-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); - } -} |