aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-09 00:17:30 +0800
committerFabio Berger <me@fabioberger.com>2017-06-09 00:17:30 +0800
commitb1b879e217f383fa694214e731969647f9f6fd78 (patch)
tree6053e4d717a0d0f5dcc96124b27fffaec072421c /src/contract_wrappers/exchange_wrapper.ts
parent655c71a46b9e3ad82380efe6b37e9140ecc130cf (diff)
downloaddexon-sol-tools-b1b879e217f383fa694214e731969647f9f6fd78.tar
dexon-sol-tools-b1b879e217f383fa694214e731969647f9f6fd78.tar.gz
dexon-sol-tools-b1b879e217f383fa694214e731969647f9f6fd78.tar.bz2
dexon-sol-tools-b1b879e217f383fa694214e731969647f9f6fd78.tar.lz
dexon-sol-tools-b1b879e217f383fa694214e731969647f9f6fd78.tar.xz
dexon-sol-tools-b1b879e217f383fa694214e731969647f9f6fd78.tar.zst
dexon-sol-tools-b1b879e217f383fa694214e731969647f9f6fd78.zip
fix indentation
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 46613af77..73ec0886c 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -303,15 +303,15 @@ export class ExchangeWrapper extends ContractWrapper {
_.unzip<any>(orderAddressesValuesAndTakerTokenFillAmounts);
const gas = await exchangeInstance.batchFillOrKill.estimateGas(
- orderAddresses,
- orderValues,
- fillTakerAmounts,
- vParams,
- rParams,
- sParams,
- {
- from: takerAddress,
- },
+ orderAddresses,
+ orderValues,
+ fillTakerAmounts,
+ vParams,
+ rParams,
+ sParams,
+ {
+ from: takerAddress,
+ },
);
const response: ContractResponse = await exchangeInstance.batchFillOrKill(
orderAddresses,
@@ -320,10 +320,10 @@ export class ExchangeWrapper extends ContractWrapper {
vParams,
rParams,
sParams,
- {
- from: takerAddress,
- gas,
- },
+ {
+ from: takerAddress,
+ gas,
+ },
);
this.throwErrorLogsAsErrors(response.logs);
}