mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Added TranscoderUpdate
This commit is contained in:
parent
c7985b493b
commit
3b87a9f881
@ -30,6 +30,10 @@ const EventButton = (obj) => {
|
|||||||
eventSpecificInfo = <div className="row">
|
eventSpecificInfo = <div className="row">
|
||||||
<p>Reward: T {obj.data.transcoder} earned {obj.data.amount / 1000000000000000000} Eth</p>
|
<p>Reward: T {obj.data.transcoder} earned {obj.data.amount / 1000000000000000000} Eth</p>
|
||||||
</div>
|
</div>
|
||||||
|
} else if (obj.name == "TranscoderUpdate") {
|
||||||
|
eventSpecificInfo = <div className="row" style={{ backgroundColor: 'rgba(245, 5, 89, 0.3)' }}>
|
||||||
|
<p>Reward: T {obj.data.transcoder} changed their rewardCut to {obj.data.rewardCut} and their feeShare to {obj.data.feeShare}</p>
|
||||||
|
</div>
|
||||||
} else {
|
} else {
|
||||||
console.log(obj);
|
console.log(obj);
|
||||||
eventSpecificInfo = <div className="row">
|
eventSpecificInfo = <div className="row">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user