From 6436d324103ee7dbd572a0923d5bc99b19f9fc6b Mon Sep 17 00:00:00 2001 From: KIMURA Yu <33382781+KimuraYu45z@users.noreply.github.com> Date: Sun, 19 May 2024 16:35:10 +0800 Subject: [PATCH] remove: modules --- proto/sunrise/feeconverter/genesis.proto | 17 -------- .../sunrise/feeconverter/module/module.proto | 14 ------- proto/sunrise/feeconverter/params.proto | 15 ------- proto/sunrise/feeconverter/query.proto | 30 -------------- proto/sunrise/feeconverter/tx.proto | 40 ------------------- proto/sunrise/liquiditystaking/genesis.proto | 17 -------- .../liquiditystaking/module/module.proto | 14 ------- proto/sunrise/liquiditystaking/params.proto | 15 ------- proto/sunrise/liquiditystaking/query.proto | 30 -------------- proto/sunrise/liquiditystaking/tx.proto | 40 ------------------- 10 files changed, 232 deletions(-) delete mode 100644 proto/sunrise/feeconverter/genesis.proto delete mode 100644 proto/sunrise/feeconverter/module/module.proto delete mode 100644 proto/sunrise/feeconverter/params.proto delete mode 100644 proto/sunrise/feeconverter/query.proto delete mode 100644 proto/sunrise/feeconverter/tx.proto delete mode 100644 proto/sunrise/liquiditystaking/genesis.proto delete mode 100644 proto/sunrise/liquiditystaking/module/module.proto delete mode 100644 proto/sunrise/liquiditystaking/params.proto delete mode 100644 proto/sunrise/liquiditystaking/query.proto delete mode 100644 proto/sunrise/liquiditystaking/tx.proto diff --git a/proto/sunrise/feeconverter/genesis.proto b/proto/sunrise/feeconverter/genesis.proto deleted file mode 100644 index e06e4b33..00000000 --- a/proto/sunrise/feeconverter/genesis.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package sunrise.feeconverter; - -import "amino/amino.proto"; -import "gogoproto/gogo.proto"; -import "sunrise/feeconverter/params.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/feeconverter/types"; - -// GenesisState defines the feeconverter module's genesis state. -message GenesisState { - // params defines all the parameters of the module. - Params params = 1 [ - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true - ]; -} diff --git a/proto/sunrise/feeconverter/module/module.proto b/proto/sunrise/feeconverter/module/module.proto deleted file mode 100644 index 1a92bbd2..00000000 --- a/proto/sunrise/feeconverter/module/module.proto +++ /dev/null @@ -1,14 +0,0 @@ -syntax = "proto3"; -package sunrise.feeconverter.module; - -import "cosmos/app/v1alpha1/module.proto"; - -// Module is the config object for the module. -message Module { - option (cosmos.app.v1alpha1.module) = { - go_import: "github.com/sunriselayer/sunrise/x/feeconverter" - }; - - // authority defines the custom module authority. If not set, defaults to the governance module. - string authority = 1; -} \ No newline at end of file diff --git a/proto/sunrise/feeconverter/params.proto b/proto/sunrise/feeconverter/params.proto deleted file mode 100644 index 99b4a6c3..00000000 --- a/proto/sunrise/feeconverter/params.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package sunrise.feeconverter; - -import "amino/amino.proto"; -import "gogoproto/gogo.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/feeconverter/types"; - -// Params defines the parameters for the module. -message Params { - option (amino.name) = "sunrise/x/feeconverter/Params"; - option (gogoproto.equal) = true; - - -} \ No newline at end of file diff --git a/proto/sunrise/feeconverter/query.proto b/proto/sunrise/feeconverter/query.proto deleted file mode 100644 index d05c717d..00000000 --- a/proto/sunrise/feeconverter/query.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package sunrise.feeconverter; - -import "amino/amino.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "sunrise/feeconverter/params.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/feeconverter/types"; - -// Query defines the gRPC querier service. -service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sunriselayer/sunrise/feeconverter/params"; - } -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [ - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true - ]; -} \ No newline at end of file diff --git a/proto/sunrise/feeconverter/tx.proto b/proto/sunrise/feeconverter/tx.proto deleted file mode 100644 index 3b91d890..00000000 --- a/proto/sunrise/feeconverter/tx.proto +++ /dev/null @@ -1,40 +0,0 @@ -syntax = "proto3"; -package sunrise.feeconverter; - -import "amino/amino.proto"; -import "cosmos/msg/v1/msg.proto"; -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "sunrise/feeconverter/params.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/feeconverter/types"; - -// Msg defines the Msg service. -service Msg { - option (cosmos.msg.v1.service) = true; - - // UpdateParams defines a (governance) operation for updating the module - // parameters. The authority defaults to the x/gov module account. - rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); -} - -// MsgUpdateParams is the Msg/UpdateParams request type. -message MsgUpdateParams { - option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "sunrise/x/feeconverter/MsgUpdateParams"; - - // authority is the address that controls the module (defaults to x/gov unless overwritten). - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // params defines the module parameters to update. - // - // NOTE: All parameters must be supplied. - Params params = 2 [ - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true - ]; -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/proto/sunrise/liquiditystaking/genesis.proto b/proto/sunrise/liquiditystaking/genesis.proto deleted file mode 100644 index 904ed79a..00000000 --- a/proto/sunrise/liquiditystaking/genesis.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package sunrise.liquiditystaking; - -import "amino/amino.proto"; -import "gogoproto/gogo.proto"; -import "sunrise/liquiditystaking/params.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/liquiditystaking/types"; - -// GenesisState defines the liquiditystaking module's genesis state. -message GenesisState { - // params defines all the parameters of the module. - Params params = 1 [ - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true - ]; -} diff --git a/proto/sunrise/liquiditystaking/module/module.proto b/proto/sunrise/liquiditystaking/module/module.proto deleted file mode 100644 index f05d72fd..00000000 --- a/proto/sunrise/liquiditystaking/module/module.proto +++ /dev/null @@ -1,14 +0,0 @@ -syntax = "proto3"; -package sunrise.liquiditystaking.module; - -import "cosmos/app/v1alpha1/module.proto"; - -// Module is the config object for the module. -message Module { - option (cosmos.app.v1alpha1.module) = { - go_import: "github.com/sunriselayer/sunrise/x/liquiditystaking" - }; - - // authority defines the custom module authority. If not set, defaults to the governance module. - string authority = 1; -} \ No newline at end of file diff --git a/proto/sunrise/liquiditystaking/params.proto b/proto/sunrise/liquiditystaking/params.proto deleted file mode 100644 index db9efc59..00000000 --- a/proto/sunrise/liquiditystaking/params.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package sunrise.liquiditystaking; - -import "amino/amino.proto"; -import "gogoproto/gogo.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/liquiditystaking/types"; - -// Params defines the parameters for the module. -message Params { - option (amino.name) = "sunrise/x/liquiditystaking/Params"; - option (gogoproto.equal) = true; - - -} \ No newline at end of file diff --git a/proto/sunrise/liquiditystaking/query.proto b/proto/sunrise/liquiditystaking/query.proto deleted file mode 100644 index a45368c2..00000000 --- a/proto/sunrise/liquiditystaking/query.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package sunrise.liquiditystaking; - -import "amino/amino.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "sunrise/liquiditystaking/params.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/liquiditystaking/types"; - -// Query defines the gRPC querier service. -service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/sunriselayer/sunrise/liquiditystaking/params"; - } -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [ - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true - ]; -} \ No newline at end of file diff --git a/proto/sunrise/liquiditystaking/tx.proto b/proto/sunrise/liquiditystaking/tx.proto deleted file mode 100644 index 0152a8a4..00000000 --- a/proto/sunrise/liquiditystaking/tx.proto +++ /dev/null @@ -1,40 +0,0 @@ -syntax = "proto3"; -package sunrise.liquiditystaking; - -import "amino/amino.proto"; -import "cosmos/msg/v1/msg.proto"; -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "sunrise/liquiditystaking/params.proto"; - -option go_package = "github.com/sunriselayer/sunrise/x/liquiditystaking/types"; - -// Msg defines the Msg service. -service Msg { - option (cosmos.msg.v1.service) = true; - - // UpdateParams defines a (governance) operation for updating the module - // parameters. The authority defaults to the x/gov module account. - rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); -} - -// MsgUpdateParams is the Msg/UpdateParams request type. -message MsgUpdateParams { - option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "sunrise/x/liquiditystaking/MsgUpdateParams"; - - // authority is the address that controls the module (defaults to x/gov unless overwritten). - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // params defines the module parameters to update. - // - // NOTE: All parameters must be supplied. - Params params = 2 [ - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true - ]; -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -message MsgUpdateParamsResponse {} \ No newline at end of file