2022-01-08 01:59:34 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package cosmos.gov.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "cosmos/gov/v1beta1/gov.proto";
|
2024-02-06 22:54:10 +00:00
|
|
|
import "amino/amino.proto";
|
2022-01-08 01:59:34 +00:00
|
|
|
|
2023-04-04 00:08:45 +00:00
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1";
|
2022-01-08 01:59:34 +00:00
|
|
|
|
|
|
|
// GenesisState defines the gov module's genesis state.
|
|
|
|
message GenesisState {
|
|
|
|
// starting_proposal_id is the ID of the starting proposal.
|
2023-04-04 00:08:45 +00:00
|
|
|
uint64 starting_proposal_id = 1;
|
2022-01-08 01:59:34 +00:00
|
|
|
// deposits defines all the deposits present at genesis.
|
2024-02-06 22:54:10 +00:00
|
|
|
repeated Deposit deposits = 2
|
|
|
|
[(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
2022-01-08 01:59:34 +00:00
|
|
|
// votes defines all the votes present at genesis.
|
2024-02-06 22:54:10 +00:00
|
|
|
repeated Vote votes = 3
|
|
|
|
[(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
2022-01-08 01:59:34 +00:00
|
|
|
// proposals defines all the proposals present at genesis.
|
2024-02-06 22:54:10 +00:00
|
|
|
repeated Proposal proposals = 4
|
|
|
|
[(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
|
|
|
// params defines all the parameters of related to deposit.
|
|
|
|
DepositParams deposit_params = 5 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
|
|
|
// params defines all the parameters of related to voting.
|
|
|
|
VotingParams voting_params = 6 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
|
|
|
// params defines all the parameters of related to tally.
|
|
|
|
TallyParams tally_params = 7 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
2022-01-08 01:59:34 +00:00
|
|
|
}
|