aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 22:09:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 22:09:06 +0800
commit223df8006a30a95db544a2af080224a4d9d2d474 (patch)
tree6b995cab8326ab91e4b347fad8caeaf96357665c /packages/website/ts/utils
parent1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f (diff)
downloaddexon-sol-tools-223df8006a30a95db544a2af080224a4d9d2d474.tar
dexon-sol-tools-223df8006a30a95db544a2af080224a4d9d2d474.tar.gz
dexon-sol-tools-223df8006a30a95db544a2af080224a4d9d2d474.tar.bz2
dexon-sol-tools-223df8006a30a95db544a2af080224a4d9d2d474.tar.lz
dexon-sol-tools-223df8006a30a95db544a2af080224a4d9d2d474.tar.xz
dexon-sol-tools-223df8006a30a95db544a2af080224a4d9d2d474.tar.zst
dexon-sol-tools-223df8006a30a95db544a2af080224a4d9d2d474.zip
Move .taker.amount to .takerTokenAmount and .maker.amount to .makerTokenAmount
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index b615ba646..cc0689868 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -77,6 +77,8 @@ export const utils = {
const order = {
makerFee: makerFee.toString(),
takerFee: takerFee.toString(),
+ makerTokenAmount: sideToAssetToken[Side.Deposit].amount.toString(),
+ takerTokenAmount: sideToAssetToken[Side.Receive].amount.toString(),
maker: {
address: orderMakerAddress,
token: {
@@ -85,7 +87,6 @@ export const utils = {
decimals: makerToken.decimals,
address: makerToken.address,
},
- amount: sideToAssetToken[Side.Deposit].amount.toString(),
},
taker: {
address: orderTakerAddress,
@@ -95,7 +96,6 @@ export const utils = {
decimals: takerToken.decimals,
address: takerToken.address,
},
- amount: sideToAssetToken[Side.Receive].amount.toString(),
},
expirationUnixTimestampSec: expirationUnixTimestampSec.toString(),
feeRecipient,