aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-27 09:03:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 04:06:02 +0800
commit34c1134b55c202b47ac4672a4c9025e4be9e21b4 (patch)
tree2a4f75240fc3a085ea4f91e8fb462cb7ba618125 /packages/0x.js/src
parenta5ef1db0c56e4166641c19b46641921a3b1e509f (diff)
downloaddexon-0x-contracts-34c1134b55c202b47ac4672a4c9025e4be9e21b4.tar.gz
dexon-0x-contracts-34c1134b55c202b47ac4672a4c9025e4be9e21b4.tar.zst
dexon-0x-contracts-34c1134b55c202b47ac4672a4c9025e4be9e21b4.zip
Create ethers-typescript-typings
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r--packages/0x.js/src/globals.d.ts29
1 files changed, 0 insertions, 29 deletions
diff --git a/packages/0x.js/src/globals.d.ts b/packages/0x.js/src/globals.d.ts
index 505f9b933..0e103d057 100644
--- a/packages/0x.js/src/globals.d.ts
+++ b/packages/0x.js/src/globals.d.ts
@@ -41,32 +41,3 @@ declare module 'truffle-hdwallet-provider' {
}
export = HDWalletProvider;
}
-
-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);
- }
-}