diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 21:41:40 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 21:41:40 +0800 |
commit | 9b3680780fab26543331524870eba75eea08a426 (patch) | |
tree | 8ed51682e7f1a7b86d1ea84c9f53ef468f7ccaf2 /packages/website/ts/utils/utils.ts | |
parent | 12d62e1157168ec9e8cd23749523b2bcda8eefe5 (diff) | |
download | dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar.gz dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar.bz2 dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar.lz dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar.xz dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar.zst dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.zip |
Rename expiration to expirationUnixTimestampSec
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 7e69b1c5f..794df8dc7 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -7,8 +7,8 @@ import * as moment from 'moment'; import { EtherscanLinkSuffixes, Networks, - Order, ScreenWidths, + SerializedOrder, Side, SideToAssetToken, SignatureData, @@ -71,7 +71,7 @@ export const utils = { signatureData: SignatureData, tokenByAddress: TokenByAddress, orderSalt: BigNumber, - ): Order { + ): SerializedOrder { const makerToken = tokenByAddress[sideToAssetToken[Side.Deposit].address]; const takerToken = tokenByAddress[sideToAssetToken[Side.Receive].address]; const order = { @@ -97,7 +97,7 @@ export const utils = { amount: sideToAssetToken[Side.Receive].amount.toString(), feeAmount: takerFee.toString(), }, - expiration: orderExpiryTimestamp.toString(), + expirationUnixTimestampSec: orderExpiryTimestamp.toString(), feeRecipient, salt: orderSalt.toString(), signature: signatureData, |