diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-06 23:40:25 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-02-07 09:27:47 +0800 |
commit | 4cc5bbaf19d2388b0be0669a6249bf92f60c712c (patch) | |
tree | 2151ea75dd433d027d35cd12798405c63886f163 /packages/contracts/util/balances.ts | |
parent | a264c36a48d224a55c2ef883f207692752ca74c7 (diff) | |
download | dexon-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.ts | 6 |
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; } |