diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 19:38:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 19:38:19 +0800 |
commit | 4dfa720f2dec2be0b0758633c087579a02e482bb (patch) | |
tree | 242eec230a95f44a1280c7a6431cf1b48ff70337 /packages/contracts/util | |
parent | ce6abad97f248a3557390dd1e1ff3ae84662838f (diff) | |
download | dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.gz dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.bz2 dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.lz dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.xz dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.zst dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.zip |
Use configured version of bignumber in all packages
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 { |