aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
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 /packages/contracts
parent2aec1501d03085e85fc5a73da3a44481de2dc6b3 (diff)
downloaddexon-sol-tools-747732118ca7375012545629139f47bad8290056.tar
dexon-sol-tools-747732118ca7375012545629139f47bad8290056.tar.gz
dexon-sol-tools-747732118ca7375012545629139f47bad8290056.tar.bz2
dexon-sol-tools-747732118ca7375012545629139f47bad8290056.tar.lz
dexon-sol-tools-747732118ca7375012545629139f47bad8290056.tar.xz
dexon-sol-tools-747732118ca7375012545629139f47bad8290056.tar.zst
dexon-sol-tools-747732118ca7375012545629139f47bad8290056.zip
Fix namings
Diffstat (limited to 'packages/contracts')
-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;