Duplicate truffle contracts types
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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};
|
||||
}
|
||||
|
Reference in New Issue
Block a user