diff options
Diffstat (limited to 'packages/contracts/util')
-rw-r--r-- | packages/contracts/util/balances.ts | 5 | ||||
-rw-r--r-- | packages/contracts/util/exchange_wrapper.ts | 2 | ||||
-rw-r--r-- | packages/contracts/util/formatters.ts | 2 | ||||
-rw-r--r-- | packages/contracts/util/order.ts | 2 | ||||
-rw-r--r-- | packages/contracts/util/order_factory.ts | 2 | ||||
-rw-r--r-- | packages/contracts/util/types.ts | 2 |
6 files changed, 6 insertions, 9 deletions
diff --git a/packages/contracts/util/balances.ts b/packages/contracts/util/balances.ts index eaeecf1c4..6a1659ab1 100644 --- a/packages/contracts/util/balances.ts +++ b/packages/contracts/util/balances.ts @@ -1,11 +1,8 @@ -import { bigNumberConfigs } from '@0xproject/utils'; -import { BigNumber } from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; import { BalancesByOwner, ContractInstance } from './types'; -bigNumberConfigs.configure(); - export class Balances { private _tokenContractInstances: ContractInstance[]; private _ownerAddresses: string[]; diff --git a/packages/contracts/util/exchange_wrapper.ts b/packages/contracts/util/exchange_wrapper.ts index 200b0fb1e..ca79f92c4 100644 --- a/packages/contracts/util/exchange_wrapper.ts +++ b/packages/contracts/util/exchange_wrapper.ts @@ -1,4 +1,4 @@ -import { BigNumber } from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; import { formatters } from './formatters'; diff --git a/packages/contracts/util/formatters.ts b/packages/contracts/util/formatters.ts index ab3558ee7..0d0ef6df4 100644 --- a/packages/contracts/util/formatters.ts +++ b/packages/contracts/util/formatters.ts @@ -1,4 +1,4 @@ -import { BigNumber } from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; import { Order } from './order'; diff --git a/packages/contracts/util/order.ts b/packages/contracts/util/order.ts index 2427ffb87..9d1814368 100644 --- a/packages/contracts/util/order.ts +++ b/packages/contracts/util/order.ts @@ -1,5 +1,5 @@ import { promisify } from '@0xproject/utils'; -import { BigNumber } from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import ethUtil = require('ethereumjs-util'); import * as _ from 'lodash'; import Web3 = require('web3'); diff --git a/packages/contracts/util/order_factory.ts b/packages/contracts/util/order_factory.ts index 3ae06a335..a45877de0 100644 --- a/packages/contracts/util/order_factory.ts +++ b/packages/contracts/util/order_factory.ts @@ -1,5 +1,5 @@ import { ZeroEx } from '0x.js'; -import { BigNumber } from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; import { Order } from './order'; diff --git a/packages/contracts/util/types.ts b/packages/contracts/util/types.ts index 9b225cb0b..58a7e6a2d 100644 --- a/packages/contracts/util/types.ts +++ b/packages/contracts/util/types.ts @@ -1,4 +1,4 @@ -import { BigNumber } from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import * as Web3 from 'web3'; export interface BalancesByOwner { |