diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-02-09 04:09:07 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:16 +0800 |
commit | 942867179c05e901450a7a08872dd523122a2f81 (patch) | |
tree | 511edac66bad43851c80ba2550d3716bfac0f8ef /packages/contracts/util | |
parent | 6b897f6fd2b3bf894662f11f67ebb555f20c2464 (diff) | |
download | dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.gz dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.bz2 dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.lz dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.xz dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.tar.zst dexon-sol-tools-942867179c05e901450a7a08872dd523122a2f81.zip |
Run prettier
Diffstat (limited to 'packages/contracts/util')
-rw-r--r-- | packages/contracts/util/exchange_wrapper.ts | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/packages/contracts/util/exchange_wrapper.ts b/packages/contracts/util/exchange_wrapper.ts index 14d603f58..90744367a 100644 --- a/packages/contracts/util/exchange_wrapper.ts +++ b/packages/contracts/util/exchange_wrapper.ts @@ -86,10 +86,7 @@ export class ExchangeWrapper { shouldThrowOnInsufficientBalanceOrAllowance?: boolean; } = {}, ): Promise<TransactionReceiptWithDecodedLogs> { - const params = formatters.createBatchFill( - orders, - opts.takerTokenFillAmounts, - ); + const params = formatters.createBatchFill(orders, opts.takerTokenFillAmounts); const txHash = await this._exchange.batchFillOrders.sendTransactionAsync( params.orderAddresses, params.orderValues, @@ -109,10 +106,7 @@ export class ExchangeWrapper { from: string, opts: { takerTokenFillAmounts?: BigNumber[] } = {}, ): Promise<TransactionReceiptWithDecodedLogs> { - const params = formatters.createBatchFill( - orders, - opts.takerTokenFillAmounts, - ); + const params = formatters.createBatchFill(orders, opts.takerTokenFillAmounts); const txHash = await this._exchange.batchFillOrKillOrders.sendTransactionAsync( params.orderAddresses, params.orderValues, @@ -132,10 +126,7 @@ export class ExchangeWrapper { from: string, opts: { takerTokenFillAmount: BigNumber }, ): Promise<TransactionReceiptWithDecodedLogs> { - const params = formatters.createMarketFillOrders( - orders, - opts.takerTokenFillAmount, - ); + const params = formatters.createMarketFillOrders(orders, opts.takerTokenFillAmount); const txHash = await this._exchange.marketFillOrders.sendTransactionAsync( params.orderAddresses, params.orderValues, |