diff --git a/lib/hooks/queries/court/useCourtParticipants.ts b/lib/hooks/queries/court/useCourtParticipants.ts index 62bf1f701..ab513ea0c 100644 --- a/lib/hooks/queries/court/useCourtParticipants.ts +++ b/lib/hooks/queries/court/useCourtParticipants.ts @@ -34,6 +34,7 @@ export const useCourtParticipants = () => { delegations: delegations, }; }); + console.log(jurors); return jurors; }, diff --git a/pages/court/index.tsx b/pages/court/index.tsx index 7a83deade..082a9b84f 100644 --- a/pages/court/index.tsx +++ b/pages/court/index.tsx @@ -334,19 +334,24 @@ const Stats = () => { "linear-gradient(131.15deg, rgba(5, 5, 5, 0.11) 11.02%, rgba(5, 5, 5, 0.022) 93.27%)", }} > - +
- {yearlyInflation?.toString()}% + {formatNumberLocalized( + yearlyInflationAmount + ?.div(totalStake.all) + .mul(100) + .toNumber() ?? 0, + )} + %
- Yearly Inflation is the yearly percentage of the total ZTG - issuance minted through inflation by the court system to its - participants (jurors and delegators). + The currently yearly percentage returns that jurors and delegators + will receive on their staked ZTG
@@ -360,7 +365,7 @@ const Stats = () => { "linear-gradient(131.15deg, rgba(50, 255, 157, 0.4) 11.02%, rgba(240, 206, 135, 0.048) 93.27%)", }} > - +