Duplicate truffle contracts types

This commit is contained in:
Leonid Logvinov
2017-06-11 16:40:48 +02:00
parent 175fd44005
commit 5036553dc9
2 changed files with 9 additions and 1 deletions

View File

@@ -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 {

View File

@@ -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};
}