31 lines
1.1 KiB
Protocol Buffer
31 lines
1.1 KiB
Protocol Buffer
syntax = "proto3";
|
|
package ethermint.feemarket.v1;
|
|
|
|
import "cosmos/msg/v1/msg.proto";
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "ethermint/feemarket/v1/feemarket.proto";
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option go_package = "github.com/cerc-io/laconicd/x/feemarket/types";
|
|
|
|
// Msg defines the erc20 Msg service.
|
|
service Msg {
|
|
// UpdateParams defined a governance operation for updating the x/feemarket module parameters.
|
|
// The authority is hard-coded to the Cosmos SDK x/gov module account
|
|
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
|
|
}
|
|
|
|
// MsgUpdateParams defines a Msg for updating the x/feemarket module parameters.
|
|
message MsgUpdateParams {
|
|
option (cosmos.msg.v1.signer) = "authority";
|
|
// authority is the address of the governance account.
|
|
string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
|
// params defines the x/feemarket parameters to update.
|
|
// NOTE: All parameters must be supplied.
|
|
Params params = 2 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// MsgUpdateParamsResponse defines the response structure for executing a
|
|
// MsgUpdateParams message.
|
|
message MsgUpdateParamsResponse {}
|