Skip to content

fix: remove abstain governance action votes from total stake#2922

Merged
MSzalowski merged 1 commit into
developfrom
chore/remove-abstain-votes-from-drep-stake
Feb 7, 2025
Merged

fix: remove abstain governance action votes from total stake#2922
MSzalowski merged 1 commit into
developfrom
chore/remove-abstain-votes-from-drep-stake

Conversation

@MSzalowski
Copy link
Copy Markdown
Contributor

@MSzalowski MSzalowski commented Feb 7, 2025

List of changes

  • remove abstain governance action votes from total stake

Which results in:
Zrzut ekranu z 2025-02-07 15-12-39

Summary of equation:

Network metrics:
Total active DRep stake: Voting power coming from all active DReps
Auto abstain: Voting power coming from pre-defined always abstain DRep
No confidence: Voting power coming from pre-defined always no-confidence DRep

List proposals:
Yes votes: Sum of Voting power coming from DReps who voted Yes (+ no confidence when Governance Action Type === No confidence)
No votes: Sum of Voting power coming from DReps who voted No (+ no confidence when Governance Action Type !== No confidence)
Abstain votes: Sum of Voting power coming from DReps who voted Abstain and Auto-abstain

IMPORTANT
As DReps who voted Abstain because of making a vote action are active, these Voting powers are included in Total active stake.

Equations for the percentages and not voted on the frontend for the displayed votes:
Not voted: Total active DRep stake - yes votes - no votes - abstain votes
Yes votes percentage: Yes votes / (Total active DRep stake - abstain votes)
No votes percentage: No votes / (Total active DRep stake - abstain votes)
Not voted percentage: 100 - Yes votes percentage - No votes percentage

@MSzalowski MSzalowski force-pushed the chore/remove-abstain-votes-from-drep-stake branch from 1d12815 to 900ed29 Compare February 7, 2025 14:15
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

5 similar comments
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

@MSzalowski MSzalowski force-pushed the chore/remove-abstain-votes-from-drep-stake branch from 900ed29 to dd251bc Compare February 7, 2025 15:18
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

2 similar comments
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

✅ All checks succeeded

@MSzalowski MSzalowski merged commit 9ab9ada into develop Feb 7, 2025
@MSzalowski MSzalowski deleted the chore/remove-abstain-votes-from-drep-stake branch February 7, 2025 16:11
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

@MSzalowski
This PR is in the tag: develop-9ab9adab0111d6d521f16c890926dc3cb7b838b8 , for govtool-metadata-validation service

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

@MSzalowski
This PR is in the tag: develop-9ab9adab0111d6d521f16c890926dc3cb7b838b8 , for govtool-frontend service

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

@MSzalowski
This PR is in the tag: develop-9ab9adab0111d6d521f16c890926dc3cb7b838b8 , for govtool-backend service

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.

3 participants