Less info in metadata heafer

This commit is contained in:
Marco van Dijk 2022-03-02 15:14:04 +01:00
parent 435a3c95e9
commit da8bf5d70f
3 changed files with 5 additions and 21 deletions

View File

@ -6,7 +6,6 @@ const EventViewer = (obj) => {
return ( return (
<div className="stroke roundedOpaque" style={{ padding: 0, margin: 0, marginTop: '2em', position: 'absolute', bottom: 0, top: '200px', left: '0px', right: '0px', overflowY: 'auto', overflowX: 'hidden', width: '100%' }}> <div className="stroke roundedOpaque" style={{ padding: 0, margin: 0, marginTop: '2em', position: 'absolute', bottom: 0, top: '200px', left: '0px', right: '0px', overflowY: 'auto', overflowX: 'hidden', width: '100%' }}>
{obj.events.map((eventObj, idx) => { {obj.events.map((eventObj, idx) => {
console.log(eventObj);
// TODO: make something that groups shit as long as the eventObj.transactionUrl is the same // TODO: make something that groups shit as long as the eventObj.transactionUrl is the same
return <EventButton return <EventButton
key={eventObj.transactionUrl + idx} key={eventObj.transactionUrl + idx}

View File

@ -146,33 +146,18 @@ class Livepeer extends React.Component {
</div> </div>
</div> </div>
<div className="stroke" style={{ margin: 0, padding: 0 }}> <div className="stroke" style={{ margin: 0, padding: 0 }}>
<h3>Smart contract prices L2</h3> <h3>Smart contract prices</h3>
<div className="row"> <div className="row">
<p>Reward Call:</p> <p>Reward Call:</p>
<p>${redeemRewardCostL2USD}</p> <p>${redeemRewardCostL2USD} (vs ${redeemRewardCostL1USD} on L1)</p>
</div> </div>
<div className="row"> <div className="row">
<p>Claim Ticket:</p> <p>Claim Ticket:</p>
<p>${claimTicketCostL2USD}</p> <p>${claimTicketCostL2USD} (vs ${claimTicketCostL1USD} on L1)</p>
</div> </div>
<div className="row"> <div className="row">
<p>Withdraw Fees:</p> <p>Withdraw Fees:</p>
<p>${withdrawFeeCostL2USD}</p> <p>${withdrawFeeCostL2USD} (vs ${withdrawFeeCostL1USD} on L1)</p>
</div>
</div>
<div className="stroke" style={{ margin: 0, padding: 0 }}>
<h3>Smart contract prices L1</h3>
<div className="row">
<p>Reward Call:</p>
<p>${redeemRewardCostL1USD}</p>
</div>
<div className="row">
<p>Claim Ticket:</p>
<p>${claimTicketCostL1USD}</p>
</div>
<div className="row">
<p>Withdraw Fees:</p>
<p>${withdrawFeeCostL1USD}</p>
</div> </div>
</div> </div>
</div> </div>