From a7924cef0416563ebcf5c681aa0303265dc98b21 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 14 Aug 2017 18:46:38 -0500 Subject: Update Exchange artifacts and adjust ExchangeWrapper --- src/contract_wrappers/exchange_wrapper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/contract_wrappers') diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index 2ddd63422..d601b5155 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -669,7 +669,7 @@ export class ExchangeWrapper extends ContractWrapper { ); const wouldRoundingErrorOccur = await this._isRoundingErrorAsync( - signedOrder.takerTokenAmount, fillTakerAmount, signedOrder.makerTokenAmount, + fillTakerAmount, signedOrder.takerTokenAmount, signedOrder.makerTokenAmount, ); if (wouldRoundingErrorOccur) { throw new Error(ExchangeContractErrs.OrderFillRoundingError); @@ -714,7 +714,7 @@ export class ExchangeWrapper extends ContractWrapper { await assert.isUserAddressAvailableAsync(this._web3Wrapper); const exchangeInstance = await this._getExchangeContractAsync(); const isRoundingError = await exchangeInstance.isRoundingError.call( - demoninator, numerator, makerTokenAmount, + numerator, demoninator, makerTokenAmount, ); return isRoundingError; } -- cgit v1.2.3 From 9099ef4ee554a44f46d9de128333b7ad231fa61a Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 14 Aug 2017 19:32:41 -0500 Subject: Remove url from token registry --- src/contract_wrappers/token_registry_wrapper.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/contract_wrappers') diff --git a/src/contract_wrappers/token_registry_wrapper.ts b/src/contract_wrappers/token_registry_wrapper.ts index d15e5c4f7..eaaea150d 100644 --- a/src/contract_wrappers/token_registry_wrapper.ts +++ b/src/contract_wrappers/token_registry_wrapper.ts @@ -30,8 +30,7 @@ export class TokenRegistryWrapper extends ContractWrapper { address: metadata[0], name: metadata[1], symbol: metadata[2], - url: metadata[3], - decimals: metadata[4].toNumber(), + decimals: metadata[3].toNumber(), }; }); return tokens; -- cgit v1.2.3