diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/contract_wrappers/contract_wrapper.ts | 2 | ||||
-rw-r--r-- | src/types.ts | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/contract_wrappers/contract_wrapper.ts b/src/contract_wrappers/contract_wrapper.ts index b9426849a..f9c1bc1cf 100644 --- a/src/contract_wrappers/contract_wrapper.ts +++ b/src/contract_wrappers/contract_wrapper.ts @@ -1,7 +1,7 @@ import * as _ from 'lodash'; import contract = require('truffle-contract'); import {Web3Wrapper} from '../web3_wrapper'; -import {ZeroExError} from '../types'; +import {ZeroExError, Artifact, ContractInstance} from '../types'; import {utils} from '../utils/utils'; export class ContractWrapper { diff --git a/src/types.ts b/src/types.ts index 4b9250654..1b70d950b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -267,3 +267,11 @@ export interface OrderFillRequest { } export type AsyncMethod = (...args: any[]) => Promise<any>; + +export interface ContractInstance { + address: string; +} + +export interface Artifact { + networks: {[networkId: number]: any}; +} |