2023-01-05 16:59:46 +00:00
|
|
|
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";
|
|
|
|
|
2023-03-13 07:04:10 +00:00
|
|
|
option go_package = "github.com/cerc-io/laconicd/x/feemarket/types";
|
2023-01-05 16:59:46 +00:00
|
|
|
|
|
|
|
// 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 {}
|