diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 21:48:59 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 21:48:59 +0800 |
commit | 4d509331893066de7630e76ac19f3795a1ab637b (patch) | |
tree | b4e8973304887bd572b6395e871c907d8bacb722 /packages/website/ts/utils/utils.ts | |
parent | 9b3680780fab26543331524870eba75eea08a426 (diff) | |
download | dexon-0x-contracts-4d509331893066de7630e76ac19f3795a1ab637b.tar.gz dexon-0x-contracts-4d509331893066de7630e76ac19f3795a1ab637b.tar.zst dexon-0x-contracts-4d509331893066de7630e76ac19f3795a1ab637b.zip |
Rename exchangeContract to exchangeContractAddress
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 8 |
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; |