aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/util/balances.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-02-08 02:27:22 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-02-08 02:27:22 +0800
commitf3c6cce4559d096a2f3babfc7af670d078a6f0dd (patch)
tree580c59d474d52affc57593d25eb1d0acd480d4b0 /packages/contracts/util/balances.ts
parentd9b1d31e7310f7f554f1740f93e4ccd5b5db90f5 (diff)
parenta26e77074fdf5ea7a754a7a676ebd752668d3c82 (diff)
downloaddexon-sol-tools-f3c6cce4559d096a2f3babfc7af670d078a6f0dd.tar
dexon-sol-tools-f3c6cce4559d096a2f3babfc7af670d078a6f0dd.tar.gz
dexon-sol-tools-f3c6cce4559d096a2f3babfc7af670d078a6f0dd.tar.bz2
dexon-sol-tools-f3c6cce4559d096a2f3babfc7af670d078a6f0dd.tar.lz
dexon-sol-tools-f3c6cce4559d096a2f3babfc7af670d078a6f0dd.tar.xz
dexon-sol-tools-f3c6cce4559d096a2f3babfc7af670d078a6f0dd.tar.zst
dexon-sol-tools-f3c6cce4559d096a2f3babfc7af670d078a6f0dd.zip
Merge branch 'development' into feature/testnet-faucets/queue-by-network
* development: (24 commits) Fix Remco's github name in CODEOWNERS Fix ABI error message Stop using definite assignment assertion cause prettier doesn't handle that Special-case ZRXToken snake case conversion Fix linter errors Generate contract wrappers on pre-build Add missing async Remove noImplicitThis Tslint disable no-consecutive-blank-lines in generated files Change compiled sources in contracts Change utils Change tests Add base_contract.ts Remove generated files .gitignore gemerated files Change the list of generated wrappers Change contract templates Add indices for index parameters so that their names don't collide Use abi-gen for events in 0x.js Fix artifacts path ...
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;
}