2020-02-12 08:34:09 -08:00
|
|
|
syntax = "proto3";
|
2020-08-11 04:49:45 -07:00
|
|
|
package cosmos.params.v1beta1;
|
2020-02-12 08:34:09 -08:00
|
|
|
|
2020-02-21 02:31:16 -08:00
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal";
|
|
|
|
option (gogoproto.equal_all) = true;
|
2020-02-12 08:34:09 -08:00
|
|
|
|
2020-06-18 10:04:26 -07:00
|
|
|
import "gogoproto/gogo.proto";
|
2020-02-12 08:34:09 -08:00
|
|
|
|
2020-08-19 00:36:41 -07:00
|
|
|
// ParameterChangeProposal defines a proposal to change one or more parameters.
|
2020-02-12 08:34:09 -08:00
|
|
|
message ParameterChangeProposal {
|
|
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
|
2020-11-13 08:36:58 -08:00
|
|
|
string title = 1;
|
|
|
|
string description = 2;
|
|
|
|
repeated ParamChange changes = 3 [(gogoproto.nullable) = false];
|
2020-02-12 08:34:09 -08:00
|
|
|
}
|
|
|
|
|
2020-09-25 03:25:37 -07:00
|
|
|
// ParamChange defines an individual parameter change, for use in
|
|
|
|
// ParameterChangeProposal.
|
2020-02-12 08:34:09 -08:00
|
|
|
message ParamChange {
|
|
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
|
|
|
|
string subspace = 1;
|
|
|
|
string key = 2;
|
|
|
|
string value = 3;
|
|
|
|
}
|