mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 02:44:26 -08:00
Initialized with Ignite CLI
This commit is contained in:
14
proto/cosmostest/genesis.proto
Normal file
14
proto/cosmostest/genesis.proto
Normal file
@@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
package cosmostest.cosmostest;
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
import "cosmostest/params.proto";
|
||||
// this line is used by starport scaffolding # genesis/proto/import
|
||||
|
||||
option go_package = "cosmos-test/x/cosmostest/types";
|
||||
|
||||
// GenesisState defines the cosmostest module's genesis state.
|
||||
message GenesisState {
|
||||
Params params = 1 [(gogoproto.nullable) = false];
|
||||
// this line is used by starport scaffolding # genesis/proto/state
|
||||
}
|
||||
12
proto/cosmostest/params.proto
Normal file
12
proto/cosmostest/params.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
package cosmostest.cosmostest;
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
|
||||
option go_package = "cosmos-test/x/cosmostest/types";
|
||||
|
||||
// Params defines the parameters for the module.
|
||||
message Params {
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
}
|
||||
30
proto/cosmostest/query.proto
Normal file
30
proto/cosmostest/query.proto
Normal file
@@ -0,0 +1,30 @@
|
||||
syntax = "proto3";
|
||||
package cosmostest.cosmostest;
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "cosmos/base/query/v1beta1/pagination.proto";
|
||||
import "cosmostest/params.proto";
|
||||
// this line is used by starport scaffolding # 1
|
||||
|
||||
option go_package = "cosmos-test/x/cosmostest/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 = "/cosmos-test/cosmostest/params";
|
||||
}
|
||||
// this line is used by starport scaffolding # 2
|
||||
}
|
||||
|
||||
// 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];
|
||||
}
|
||||
|
||||
// this line is used by starport scaffolding # 3
|
||||
13
proto/cosmostest/tx.proto
Normal file
13
proto/cosmostest/tx.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
package cosmostest.cosmostest;
|
||||
|
||||
// this line is used by starport scaffolding # proto/tx/import
|
||||
|
||||
option go_package = "cosmos-test/x/cosmostest/types";
|
||||
|
||||
// Msg defines the Msg service.
|
||||
service Msg {
|
||||
// this line is used by starport scaffolding # proto/tx/rpc
|
||||
}
|
||||
|
||||
// this line is used by starport scaffolding # proto/tx/message
|
||||
Reference in New Issue
Block a user