aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-27 06:10:41 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 04:06:02 +0800
commit747732118ca7375012545629139f47bad8290056 (patch)
tree05ad8ebafc58073c8034c2b9d86a46101044346a
parent2aec1501d03085e85fc5a73da3a44481de2dc6b3 (diff)
downloaddexon-0x-contracts-747732118ca7375012545629139f47bad8290056.tar
dexon-0x-contracts-747732118ca7375012545629139f47bad8290056.tar.gz
dexon-0x-contracts-747732118ca7375012545629139f47bad8290056.tar.bz2
dexon-0x-contracts-747732118ca7375012545629139f47bad8290056.tar.lz
dexon-0x-contracts-747732118ca7375012545629139f47bad8290056.tar.xz
dexon-0x-contracts-747732118ca7375012545629139f47bad8290056.tar.zst
dexon-0x-contracts-747732118ca7375012545629139f47bad8290056.zip
Fix namings
-rw-r--r--packages/contracts/test/exchange/helpers.ts4
-rw-r--r--packages/contracts/util/types.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/contracts/test/exchange/helpers.ts b/packages/contracts/test/exchange/helpers.ts
index 497193e8b..9869c2155 100644
--- a/packages/contracts/test/exchange/helpers.ts
+++ b/packages/contracts/test/exchange/helpers.ts
@@ -55,8 +55,8 @@ describe('Exchange', () => {
exchangeContractAddress: exchange.address,
maker,
feeRecipient,
- makerToken: rep.address,
- takerToken: dgd.address,
+ makerTokenAddress: rep.address,
+ takerTokenAddress: dgd.address,
makerTokenAmount: ZeroEx.toBaseUnitAmount(new BigNumber(100), 18),
takerTokenAmount: ZeroEx.toBaseUnitAmount(new BigNumber(200), 18),
makerFee: ZeroEx.toBaseUnitAmount(new BigNumber(1), 18),
diff --git a/packages/contracts/util/types.ts b/packages/contracts/util/types.ts
index 65bc26f79..d6e4c587d 100644
--- a/packages/contracts/util/types.ts
+++ b/packages/contracts/util/types.ts
@@ -41,8 +41,8 @@ export interface DefaultOrderParams {
exchangeContractAddress: string;
maker: string;
feeRecipient: string;
- makerToken: string;
- takerToken: string;
+ makerTokenAddress: string;
+ takerTokenAddress: string;
makerTokenAmount: BigNumber;
takerTokenAmount: BigNumber;
makerFee: BigNumber;