TallyParams defines the params for tallying votes on governance proposals.

interface TallyParams {
    expeditedQuorum: Uint8Array;
    expeditedThreshold: Uint8Array;
    quorum: Uint8Array;
    threshold: Uint8Array;
    vetoThreshold: Uint8Array;
}

Properties

expeditedQuorum: Uint8Array

Minimum percentage of total stake needed to vote for expedited proposal to be valid

expeditedThreshold: Uint8Array

Minimum proportion of Yes votes for an expedited proposal to pass. Default value: 0.67.

quorum: Uint8Array

Minimum percentage of total stake needed to vote for a result to be considered valid.

threshold: Uint8Array

Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.

vetoThreshold: Uint8Array

Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3.