aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 22:02:41 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 22:02:41 +0800
commit1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f (patch)
tree23da49f5ad132e4e9f623e1da6a5fcd02e2d8c9c /packages/website/ts/components
parent18dc5d17b552f03294c6ea13ae0d2cdcc72ac0fd (diff)
downloaddexon-0x-contracts-1c9428cbba873fe8d5bd18b2cb10522cbdb17a3f.tar.gz
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/components')
-rw-r--r--packages/website/ts/components/fill_order.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/website/ts/components/fill_order.tsx b/packages/website/ts/components/fill_order.tsx
index 33c88f61e..7cef247a3 100644
--- a/packages/website/ts/components/fill_order.tsx
+++ b/packages/website/ts/components/fill_order.tsx
@@ -418,8 +418,8 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
const takerAmount = new BigNumber(parsedOrder.taker.amount);
const expiration = new BigNumber(parsedOrder.expirationUnixTimestampSec);
const salt = new BigNumber(parsedOrder.salt);
- const parsedMakerFee = new BigNumber(parsedOrder.maker.feeAmount);
- const parsedTakerFee = new BigNumber(parsedOrder.taker.feeAmount);
+ const parsedMakerFee = new BigNumber(parsedOrder.makerFee);
+ const parsedTakerFee = new BigNumber(parsedOrder.takerFee);
const zeroExOrder: ZeroExOrder = {
exchangeContractAddress: parsedOrder.exchangeContractAddress,
@@ -536,8 +536,8 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
parsedOrder.taker.token.address,
new BigNumber(parsedOrder.maker.amount),
new BigNumber(parsedOrder.taker.amount),
- new BigNumber(parsedOrder.maker.feeAmount),
- new BigNumber(parsedOrder.taker.feeAmount),
+ new BigNumber(parsedOrder.makerFee),
+ new BigNumber(parsedOrder.takerFee),
new BigNumber(this.state.parsedOrder.expirationUnixTimestampSec),
parsedOrder.feeRecipient,
parsedOrder.ecSignature,
@@ -639,8 +639,8 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
parsedOrder.taker.token.address,
new BigNumber(parsedOrder.maker.amount),
takerTokenAmount,
- new BigNumber(parsedOrder.maker.feeAmount),
- new BigNumber(parsedOrder.taker.feeAmount),
+ new BigNumber(parsedOrder.makerFee),
+ new BigNumber(parsedOrder.takerFee),
new BigNumber(this.state.parsedOrder.expirationUnixTimestampSec),
parsedOrder.feeRecipient,
parsedOrder.ecSignature,