Skip to content

stake: show amount staked alongside total weight#81

Open
mizuki0x wants to merge 1 commit into
mainfrom
fix/stake-amount-display
Open

stake: show amount staked alongside total weight#81
mizuki0x wants to merge 1 commit into
mainfrom
fix/stake-amount-display

Conversation

@mizuki0x

@mizuki0x mizuki0x commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

The /stake page's only staked figure was "Total weight locked" (config.totalWeight) — the reward-share basis, i.e. Σ(principal × lock multiplier). With multipliers of 0.5×/1×/1.5×/2× for 7/30/90/180-day locks, that runs well above the tokens actually staked (currently 124.4M weighted vs 73.9M principal), so the headline read as if ~124M CVNT were locked.

Adds an "Amount staked" stat showing the real locked principal (the vault balance the page already fetched) plus % of supply, and clarifying hints on both rows. Now matches the bot's "Total staked" and the /treasury "Locked principal".

Display only — no change to weight or reward logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant