aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 21:48:59 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 21:48:59 +0800
commit4d509331893066de7630e76ac19f3795a1ab637b (patch)
treeb4e8973304887bd572b6395e871c907d8bacb722 /packages/website/ts/utils
parent9b3680780fab26543331524870eba75eea08a426 (diff)
downloaddexon-sol-tools-4d509331893066de7630e76ac19f3795a1ab637b.tar.gz
dexon-sol-tools-4d509331893066de7630e76ac19f3795a1ab637b.tar.zst
dexon-sol-tools-4d509331893066de7630e76ac19f3795a1ab637b.zip
Rename exchangeContract to exchangeContractAddress
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/utils.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 794df8dc7..db153d47a 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -60,9 +60,9 @@ export const utils = {
},
generateOrder(
networkId: number,
- exchangeContract: string,
+ exchangeContractAddress: string,
sideToAssetToken: SideToAssetToken,
- orderExpiryTimestamp: BigNumber,
+ expirationUnixTimestampSec: BigNumber,
orderTakerAddress: string,
orderMakerAddress: string,
makerFee: BigNumber,
@@ -97,11 +97,11 @@ export const utils = {
amount: sideToAssetToken[Side.Receive].amount.toString(),
feeAmount: takerFee.toString(),
},
- expirationUnixTimestampSec: orderExpiryTimestamp.toString(),
+ expirationUnixTimestampSec: expirationUnixTimestampSec.toString(),
feeRecipient,
salt: orderSalt.toString(),
signature: signatureData,
- exchangeContract,
+ exchangeContractAddress,
networkId,
};
return order;