diff --git a/backend/src/models/Round.js b/backend/src/models/Round.js index 8acf016..e2483f5 100644 --- a/backend/src/models/Round.js +++ b/backend/src/models/Round.js @@ -17,10 +17,6 @@ const RoundSchema = new mongoose.Schema({ type: Number, required: true }, - lengthBlocks: { - type: Number, - required: false - }, startBlock: { type: Number, required: false diff --git a/src/components/RoundViewer.js b/src/components/RoundViewer.js index 95ce7a1..d996135 100644 --- a/src/components/RoundViewer.js +++ b/src/components/RoundViewer.js @@ -49,46 +49,52 @@ const Round = (obj) => { Round {obj.round.number}
+ { obj.round.mintableTokens && obj.round.mintableTokens > 0 ? -+
Has {parseFloat(obj.round.mintableTokens).toFixed(2)} mintable tokens
+
A volume of {parseFloat(obj.round.volumeEth).toFixed(2)} Eth ({parseFloat(obj.round.volumeUsd).toFixed(2)}$)
+
A total supply of {parseFloat(obj.round.totalSupply).toFixed(2)} LPT, of which {parseFloat(obj.round.totalActiveStake).toFixed(2)} is staked ({(parseFloat(obj.round.participationRate) * 100).toFixed(2)}%)
+
{parseFloat(obj.round.newStake).toFixed(2)} LPT new stake
+
{parseFloat(obj.round.movedStake).toFixed(2)} LPT stake moved around