diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 22:02:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 22:02:41 +0800 |
commit | 1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f (patch) | |
tree | 23da49f5ad132e4e9f623e1da6a5fcd02e2d8c9c /packages/website/ts/utils/utils.ts | |
parent | 18dc5d17b552f03294c6ea13ae0d2cdcc72ac0fd (diff) | |
download | dexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.tar dexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.tar.gz dexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.tar.bz2 dexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.tar.lz dexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.tar.xz dexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.tar.zst dexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.zip |
Move .taker.feeAmount to .takerFee and .maker.feeAmount to .makerFee
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 7204586c6..b615ba646 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -75,6 +75,8 @@ export const utils = { const makerToken = tokenByAddress[sideToAssetToken[Side.Deposit].address]; const takerToken = tokenByAddress[sideToAssetToken[Side.Receive].address]; const order = { + makerFee: makerFee.toString(), + takerFee: takerFee.toString(), maker: { address: orderMakerAddress, token: { @@ -84,7 +86,6 @@ export const utils = { address: makerToken.address, }, amount: sideToAssetToken[Side.Deposit].amount.toString(), - feeAmount: makerFee.toString(), }, taker: { address: orderTakerAddress, @@ -95,7 +96,6 @@ export const utils = { address: takerToken.address, }, amount: sideToAssetToken[Side.Receive].amount.toString(), - feeAmount: takerFee.toString(), }, expirationUnixTimestampSec: expirationUnixTimestampSec.toString(), feeRecipient, |