@orangecheck/vote-core / voterWeight
Function: voterWeight()
function voterWeight(input: VoterWeightInput): number;
Defined in: weight.ts:51
Voter weight per SPEC §5. Returns 0 if threshold not met or mode unsupported. Unknown modes throw — callers should check support before tallying.
Parameters
| Parameter | Type |
|---|---|
input | VoterWeightInput |
Returns
number