GenesisState defines the gov module's genesis state.

from message cosmos.gov.v1beta1.GenesisState

Hierarchy

Constructors

Properties

params defines all the parameters of related to deposit.

from field: cosmos.gov.v1beta1.DepositParams deposit_params = 5;

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

deposits defines all the deposits present at genesis.

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

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

proposals defines all the proposals present at genesis.

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

startingProposalId: bigint = protoInt64.zero

starting_proposal_id is the ID of the starting proposal.

from field: uint64 starting_proposal_id = 1;

params defines all the parameters of related to tally.

from field: cosmos.gov.v1beta1.TallyParams tally_params = 7;

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

votes defines all the votes present at genesis.

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

params defines all the parameters of related to voting.

from field: cosmos.gov.v1beta1.VotingParams voting_params = 6;

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

Methods