diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 18:16:07 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 19:26:13 +0800 |
commit | 65beef5b9cf3a859ec2d24a7b68d02e6d8425fba (patch) | |
tree | 103bad0473a5fdc9212b1cbf14a6ca2049d913ef /src | |
parent | 879b2870e153d71d75c0cd8943a287e360faba6f (diff) | |
download | dexon-0x-contracts-65beef5b9cf3a859ec2d24a7b68d02e6d8425fba.tar.gz dexon-0x-contracts-65beef5b9cf3a859ec2d24a7b68d02e6d8425fba.tar.zst dexon-0x-contracts-65beef5b9cf3a859ec2d24a7b68d02e6d8425fba.zip |
Use ContractInstance from globals
Diffstat (limited to 'src')
-rw-r--r-- | src/globals.d.ts | 4 | ||||
-rw-r--r-- | src/types.ts | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts index 164fc2386..567ba016d 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -47,7 +47,9 @@ declare module 'ethereumjs-util' { } // truffle-contract declarations -declare interface ContractInstance {} +declare interface ContractInstance { + address: string; +} declare interface ContractFactory { setProvider: (providerObj: any) => void; deployed: () => ContractInstance; diff --git a/src/types.ts b/src/types.ts index 0623ec6a7..877864f49 100644 --- a/src/types.ts +++ b/src/types.ts @@ -44,9 +44,6 @@ export interface ContractEventObj { } export type CreateContractEvent = (indexFilterValues: IndexFilterValues, subscriptionOpts: SubscriptionOpts) => ContractEventObj; -export interface ContractInstance { - address: string; -} export interface ExchangeContract extends ContractInstance { isValidSignature: { call: (signerAddressHex: string, dataHex: string, v: number, r: string, s: string, |