syntax = "proto3"; package cosmos.gov.v1beta1; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/gov/v1beta1/gov.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.stringer_all) = false; option (gogoproto.goproto_getters_all) = false; // MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary // proposal Content. message MsgSubmitProposal { option (gogoproto.equal) = true; google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [ (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.moretags) = "yaml:\"initial_deposit\"" ]; bytes proposer = 3 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"]; } // MsgVote defines a message to cast a vote message MsgVote { option (gogoproto.equal) = true; uint64 proposal_id = 1 [ (gogoproto.jsontag) = "proposal_id", (gogoproto.customname) = "ProposalID", (gogoproto.moretags) = "yaml:\"proposal_id\"" ]; bytes voter = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"]; VoteOption option = 3; } // MsgDeposit defines a message to submit a deposit to an existing proposal message MsgDeposit { option (gogoproto.equal) = true; uint64 proposal_id = 1 [ (gogoproto.jsontag) = "proposal_id", (gogoproto.customname) = "ProposalID", (gogoproto.moretags) = "yaml:\"proposal_id\"" ]; bytes depositor = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"]; repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; }