pub const TOTAL_VOTING_POWER: StakeUnit = 10_000;
Expand description

Set total_voting_power as 10_000 by convention. Individual voting powers can be interpreted as easily understandable basis points (e.g., voting_power: 100 = 1%, voting_power: 1 = 0.01%). Fixing the total voting power allows clients to hardcode the quorum threshold and total_voting power rather than recomputing these.