GenesisState defines the gov module's genesis state.

interface GenesisState {
    depositParams: undefined | DepositParams;
    deposits: Deposit[];
    proposals: Proposal[];
    startingProposalId: bigint;
    tallyParams: undefined | TallyParams;
    votes: Vote[];
    votingParams: undefined | VotingParams;
}

Properties

depositParams: undefined | DepositParams

params defines all the paramaters of related to deposit.

deposits: Deposit[]

deposits defines all the deposits present at genesis.

proposals: Proposal[]

proposals defines all the proposals present at genesis.

startingProposalId: bigint

starting_proposal_id is the ID of the starting proposal.

tallyParams: undefined | TallyParams

params defines all the paramaters of related to tally.

votes: Vote[]

votes defines all the votes present at genesis.

votingParams: undefined | VotingParams

params defines all the paramaters of related to voting.