github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/gov/v1beta1/genesis.proto (about)

     1  syntax = "proto3";
     2  
     3  package cosmos.gov.v1beta1;
     4  
     5  import "gogoproto/gogo.proto";
     6  import "cosmos/gov/v1beta1/gov.proto";
     7  
     8  option go_package = "github.com/Finschia/finschia-sdk/x/gov/types";
     9  
    10  // GenesisState defines the gov module's genesis state.
    11  message GenesisState {
    12    // starting_proposal_id is the ID of the starting proposal.
    13    uint64 starting_proposal_id = 1 [(gogoproto.moretags) = "yaml:\"starting_proposal_id\""];
    14    // deposits defines all the deposits present at genesis.
    15    repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false];
    16    // votes defines all the votes present at genesis.
    17    repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false];
    18    // proposals defines all the proposals present at genesis.
    19    repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false];
    20    // params defines all the paramaters of related to deposit.
    21    DepositParams deposit_params = 5 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"deposit_params\""];
    22    // params defines all the paramaters of related to voting.
    23    VotingParams voting_params = 6 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"voting_params\""];
    24    // params defines all the paramaters of related to tally.
    25    TallyParams tally_params = 7 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"tally_params\""];
    26  }