aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/fill_order_json.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-20 04:26:34 +0800
committerGitHub <noreply@github.com>2017-12-20 04:26:34 +0800
commitc39ac903a972930d538f8fa3292c658201b1c5e5 (patch)
tree601833585d62dea776eff036520028c78917dbd2 /packages/website/ts/components/fill_order_json.tsx
parent1316a2dd2a8971771f750d8a7f457212daad520b (diff)
parent8a940a800aa6f042f7932df6de83148c3cc3f268 (diff)
downloaddexon-0x-contracts-c39ac903a972930d538f8fa3292c658201b1c5e5.tar.gz
dexon-0x-contracts-c39ac903a972930d538f8fa3292c658201b1c5e5.tar.zst
dexon-0x-contracts-c39ac903a972930d538f8fa3292c658201b1c5e5.zip
Merge pull request #275 from 0xProject/refactor/website
Refactor Website
Diffstat (limited to 'packages/website/ts/components/fill_order_json.tsx')
-rw-r--r--packages/website/ts/components/fill_order_json.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/components/fill_order_json.tsx b/packages/website/ts/components/fill_order_json.tsx
index f4db1f74e..4a4bdac9f 100644
--- a/packages/website/ts/components/fill_order_json.tsx
+++ b/packages/website/ts/components/fill_order_json.tsx
@@ -24,11 +24,11 @@ export class FillOrderJSON extends React.Component<FillOrderJSONProps, FillOrder
const tokenAddresses = _.keys(this.props.tokenByAddress);
const exchangeContract = this.props.blockchain.getExchangeContractAddressIfExists();
const hintSideToAssetToken = {
- [Side.deposit]: {
+ [Side.Deposit]: {
amount: new BigNumber(35),
address: tokenAddresses[0],
},
- [Side.receive]: {
+ [Side.Receive]: {
amount: new BigNumber(89),
address: tokenAddresses[1],
},
@@ -41,9 +41,10 @@ export class FillOrderJSON extends React.Component<FillOrderJSONProps, FillOrder
v: 27,
};
const hintSalt = ZeroEx.generatePseudoRandomSalt();
+ const feeRecipient = constants.NULL_ADDRESS;
const hintOrder = utils.generateOrder(this.props.networkId, exchangeContract, hintSideToAssetToken,
hintOrderExpiryTimestamp, '', '', constants.MAKER_FEE,
- constants.TAKER_FEE, constants.FEE_RECIPIENT_ADDRESS,
+ constants.TAKER_FEE, feeRecipient,
hintSignatureData, this.props.tokenByAddress, hintSalt);
const hintOrderJSON = `${JSON.stringify(hintOrder, null, '\t').substring(0, 500)}...`;
return (