Skip to main content

x/gov

Module parameters

Below are all the network parameters for the gov module:

  • deposit_params - Deposit related parameters:
    • min_deposit: Minimum deposit for a proposal to enter voting period.
    • max_deposit_period: Maximum period for SHR holders to deposit on a proposal.
  • voting_params - Voting related parameters
    • voting_period: The length of the voting period.
  • tally_params - Tally related parameters
    • quorum: The minimum percentage of voting power that needs to be casted on a proposal for the result to be valid.
    • threshold: Minimum proportion of Yes votes (excluding Abstain votes) for the proposal to be accepted.
  • veto: Minimum proportion of Veto votes to total votes ratio for proposal to be vetoed.
KeyTypeExample
min_depositarray (coins)[{"denom":"nshr","amount":"10000000000000000"}]
max_deposit_periodstring (seconds)"172800s"
voting_periodstring (seconds)"172800s"
quorumstring (dec)"0.334000000000000000"
thresholdstring (dec)"0.500000000000000000"
vetostring (dec)"0.334000000000000000"