GenesisState defines the gov module's genesis state.

from message cosmos.gov.v1.GenesisState

Hierarchy

Constructors

Properties

depositParams?: proto.cosmos.gov.v1.DepositParams

Deprecated: Prefer to use params instead. deposit_params defines all the paramaters of related to deposit.

from field: cosmos.gov.v1.DepositParams deposit_params = 5 [deprecated = true];

deposits: proto.cosmos.gov.v1.Deposit[] = []

deposits defines all the deposits present at genesis.

from field: repeated cosmos.gov.v1.Deposit deposits = 2;

params defines all the paramaters of x/gov module.

Since: cosmos-sdk 0.47

from field: cosmos.gov.v1.Params params = 8;

proposals: proto.cosmos.gov.v1.Proposal[] = []

proposals defines all the proposals present at genesis.

from field: repeated cosmos.gov.v1.Proposal proposals = 4;

startingProposalId: bigint = protoInt64.zero

starting_proposal_id is the ID of the starting proposal.

from field: uint64 starting_proposal_id = 1;

tallyParams?: proto.cosmos.gov.v1.TallyParams

Deprecated: Prefer to use params instead. tally_params defines all the paramaters of related to tally.

from field: cosmos.gov.v1.TallyParams tally_params = 7 [deprecated = true];

votes: proto.cosmos.gov.v1.Vote[] = []

votes defines all the votes present at genesis.

from field: repeated cosmos.gov.v1.Vote votes = 3;

votingParams?: proto.cosmos.gov.v1.VotingParams

Deprecated: Prefer to use params instead. voting_params defines all the paramaters of related to voting.

from field: cosmos.gov.v1.VotingParams voting_params = 6 [deprecated = true];

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

Methods