aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/util/balances.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-06 23:40:25 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-07 09:27:47 +0800
commit4cc5bbaf19d2388b0be0669a6249bf92f60c712c (patch)
tree2151ea75dd433d027d35cd12798405c63886f163 /packages/contracts/util/balances.ts
parenta264c36a48d224a55c2ef883f207692752ca74c7 (diff)
downloaddexon-sol-tools-4cc5bbaf19d2388b0be0669a6249bf92f60c712c.tar
dexon-sol-tools-4cc5bbaf19d2388b0be0669a6249bf92f60c712c.tar.gz
dexon-sol-tools-4cc5bbaf19d2388b0be0669a6249bf92f60c712c.tar.bz2
dexon-sol-tools-4cc5bbaf19d2388b0be0669a6249bf92f60c712c.tar.lz
dexon-sol-tools-4cc5bbaf19d2388b0be0669a6249bf92f60c712c.tar.xz
dexon-sol-tools-4cc5bbaf19d2388b0be0669a6249bf92f60c712c.tar.zst
dexon-sol-tools-4cc5bbaf19d2388b0be0669a6249bf92f60c712c.zip
Change utils
Diffstat (limited to 'packages/contracts/util/balances.ts')
-rw-r--r--packages/contracts/util/balances.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/util/balances.ts b/packages/contracts/util/balances.ts
index 5bcb5145f..0abc305d8 100644
--- a/packages/contracts/util/balances.ts
+++ b/packages/contracts/util/balances.ts
@@ -2,12 +2,14 @@ import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
import * as Web3 from 'web3';
+import { DummyTokenContract } from '../src/contract_wrappers/generated/dummy_token';
+
import { BalancesByOwner } from './types';
export class Balances {
- private _tokenContractInstances: Web3.ContractInstance[];
+ private _tokenContractInstances: DummyTokenContract[];
private _ownerAddresses: string[];
- constructor(tokenContractInstances: Web3.ContractInstance[], ownerAddresses: string[]) {
+ constructor(tokenContractInstances: DummyTokenContract[], ownerAddresses: string[]) {
this._tokenContractInstances = tokenContractInstances;
this._ownerAddresses = ownerAddresses;
}