Params defines the parameters for the x/gov module.

Since: cosmos-sdk 0.47

from message cosmos.gov.v1.Params

Hierarchy

Constructors

Properties

burnProposalDepositPrevote: boolean = false

burn deposits if the proposal does not enter voting period

from field: bool burn_proposal_deposit_prevote = 14;

burnVoteQuorum: boolean = false

burn deposits if a proposal does not meet quorum

from field: bool burn_vote_quorum = 13;

burnVoteVeto: boolean = false

burn deposits if quorum with vote type no_veto is met

from field: bool burn_vote_veto = 15;

maxDepositPeriod?: Duration

Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months.

from field: google.protobuf.Duration max_deposit_period = 2;

minDeposit: Coin[] = []

Minimum deposit for a proposal to enter voting period.

from field: repeated cosmos.base.v1beta1.Coin min_deposit = 1;

minInitialDepositRatio: string = ""

The ratio representing the proportion of the deposit value that must be paid at proposal submission.

from field: string min_initial_deposit_ratio = 7;

quorum: string = ""

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

from field: string quorum = 4;

threshold: string = ""

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

from field: string threshold = 5;

vetoThreshold: string = ""

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

from field: string veto_threshold = 6;

votingPeriod?: Duration

Duration of the voting period.

from field: google.protobuf.Duration voting_period = 3;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.gov.v1.Params" = "cosmos.gov.v1.Params"

Methods