aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:06:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:06:06 +0800
commit45fadeb690e27acccc776515ada8d39e3633194a (patch)
treeaf17f7b233c989d4a89275ce20a75be5b2495f0b /src/contract_wrappers
parent89d93494788f06d227628dfcfbd712e26ef02b77 (diff)
downloaddexon-sol-tools-45fadeb690e27acccc776515ada8d39e3633194a.tar
dexon-sol-tools-45fadeb690e27acccc776515ada8d39e3633194a.tar.gz
dexon-sol-tools-45fadeb690e27acccc776515ada8d39e3633194a.tar.bz2
dexon-sol-tools-45fadeb690e27acccc776515ada8d39e3633194a.tar.lz
dexon-sol-tools-45fadeb690e27acccc776515ada8d39e3633194a.tar.xz
dexon-sol-tools-45fadeb690e27acccc776515ada8d39e3633194a.tar.zst
dexon-sol-tools-45fadeb690e27acccc776515ada8d39e3633194a.zip
Allign arguments
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index ba3b05758..55ddcc46a 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -161,12 +161,12 @@ export class ExchangeWrapper extends ContractWrapper {
zrxTokenAddress: string): Promise<void> {
const makerBalance = await this.tokenWrapper.getBalanceAsync(signedOrder.makerTokenAddress,
- signedOrder.maker);
+ signedOrder.maker);
const takerBalance = await this.tokenWrapper.getBalanceAsync(signedOrder.takerTokenAddress, senderAddress);
const makerAllowance = await this.tokenWrapper.getProxyAllowanceAsync(signedOrder.makerTokenAddress,
- signedOrder.maker);
+ signedOrder.maker);
const takerAllowance = await this.tokenWrapper.getProxyAllowanceAsync(signedOrder.takerTokenAddress,
- senderAddress);
+ senderAddress);
// How many taker tokens would you get for 1 maker token;
const exchangeRate = signedOrder.takerTokenAmount.div(signedOrder.makerTokenAmount);