diff --git a/internal/nft/types/query.pb.go b/nft/types/query.pb.go similarity index 92% rename from internal/nft/types/query.pb.go rename to nft/types/query.pb.go index ff3423c..c160ca7 100644 --- a/internal/nft/types/query.pb.go +++ b/nft/types/query.pb.go @@ -423,48 +423,48 @@ func init() { func init() { proto.RegisterFile("indexer/nft/v1/query.proto", fileDescriptor_244ebe53b76c6658) } var fileDescriptor_244ebe53b76c6658 = []byte{ - // 655 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x4d, 0x4f, 0x13, 0x41, - 0x18, 0xc7, 0x99, 0x22, 0xa0, 0x43, 0x02, 0xc9, 0x48, 0x74, 0x59, 0xc9, 0x06, 0x6b, 0x02, 0x44, - 0xd2, 0x1d, 0x5a, 0xd4, 0x70, 0x32, 0x29, 0x24, 0x1a, 0x0e, 0x26, 0x5a, 0x3d, 0xa9, 0x49, 0x33, - 0xbb, 0x3b, 0xac, 0x1b, 0xca, 0x4c, 0xd9, 0x99, 0x36, 0x36, 0x84, 0x8b, 0x9f, 0xc0, 0x44, 0x0e, - 0x9e, 0x3c, 0x6b, 0xe2, 0xd1, 0xcf, 0x60, 0x3c, 0x12, 0xbd, 0x78, 0x34, 0xe0, 0x77, 0xf0, 0x6a, - 0x76, 0x76, 0xda, 0xdd, 0x6e, 0x17, 0x8a, 0x06, 0x6e, 0x3b, 0x33, 0xcf, 0x7f, 0x9e, 0xdf, 0xf3, - 0x36, 0x0b, 0xcd, 0x80, 0x79, 0xf4, 0x35, 0x0d, 0x31, 0xdb, 0x92, 0xb8, 0x5d, 0xc6, 0xbb, 0x2d, - 0x1a, 0x76, 0xec, 0x66, 0xc8, 0x25, 0x47, 0x53, 0xfa, 0xcc, 0x66, 0x5b, 0xd2, 0x6e, 0x97, 0xcd, - 0xdb, 0x2e, 0x17, 0x3b, 0x5c, 0x60, 0x87, 0x08, 0x1a, 0x1b, 0xe2, 0x76, 0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0x8f, 0x75, 0x4d, 0xb1, 0x56, 0xd0, 0xca, - 0x69, 0xac, 0x4e, 0xa7, 0xae, 0x67, 0x09, 0xef, 0xe9, 0x8f, 0x7d, 0xf4, 0x1e, 0xc0, 0xe9, 0xcc, - 0x90, 0xa2, 0xe5, 0x5c, 0xbf, 0xf9, 0xa3, 0x6c, 0xde, 0x3a, 0xc5, 0xb8, 0xc7, 0xb7, 0xaa, 0xf8, - 0x4a, 0x68, 0x39, 0xcb, 0x17, 0xb7, 0x47, 0x3e, 0xda, 0x27, 0x00, 0xd1, 0xe0, 0x14, 0x21, 0xfb, - 0x54, 0xba, 0xc1, 0x82, 0x9f, 0x09, 0xf0, 0xbe, 0x02, 0x5c, 0x43, 0xf7, 0x4e, 0x06, 0x4c, 0x52, - 0x39, 0x58, 0xf5, 0xf5, 0x47, 0xdf, 0x8e, 0x2c, 0x70, 0x78, 0x64, 0x81, 0x5f, 0x47, 0x16, 0x78, - 0x7b, 0x6c, 0x8d, 0x1c, 0x1e, 0x5b, 0x23, 0x3f, 0x8f, 0xad, 0x91, 0xe7, 0xab, 0x7e, 0x20, 0x5f, - 0xb5, 0x1c, 0xdb, 0xe5, 0x3b, 0x38, 0x60, 0x81, 0x0c, 0x48, 0xa9, 0x41, 0x1c, 0x81, 0xb7, 0xdb, - 0x5d, 0x4f, 0x01, 0x93, 0x34, 0x64, 0xa4, 0xa1, 0x5c, 0xaa, 0x9f, 0xa9, 0x33, 0xae, 0xfe, 0xa6, - 0xab, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xc6, 0xc4, 0xa3, 0x12, 0x08, 0x00, 0x00, + // 648 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x4f, 0x6b, 0x13, 0x4f, + 0x18, 0xc7, 0x33, 0xe9, 0xaf, 0xed, 0xcf, 0x29, 0xb4, 0x30, 0x06, 0xdd, 0xae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 0x68, 0x6b, 0xf3, 0x62, 0xbd, 0x67, + 0x27, 0x8a, 0xf4, 0xdf, 0x3f, 0x17, 0xe9, 0x0b, 0x80, 0xda, 0x48, 0xe4, 0x97, 0x31, 0x09, 0x23, + 0x81, 0x64, 0x2f, 0x27, 0x90, 0x2e, 0x80, 0x57, 0x63, 0x81, 0x0c, 0x1b, 0xed, 0x36, 0x9c, 0x13, + 0xae, 0x06, 0x3d, 0xb6, 0x72, 0x46, 0x8f, 0x09, 0x59, 0x4d, 0xda, 0x5e, 0x58, 0x67, 0x95, 0xbb, + 0xb3, 0x70, 0x56, 0x60, 0xa1, 0x2e, 0x80, 0x30, 0x4a, 0x2e, 0x5a, 0x4d, 0x72, 0xa4, 0xbf, 0x43, + 0xea, 0xda, 0x54, 0xbb, 0xd0, 0x6b, 0xe1, 0xce, 0xeb, 0xef, 0xbf, 0xde, 0x66, 0x31, 0x2a, 0xe2, + 0xc4, 0x7b, 0x17, 0x9b, 0x18, 0x7c, 0x9c, 0xa8, 0xe4, 0x09, 0xfa, 0x04, 0x60, 0x2e, 0xed, 0x05, + 0x41, 0x5b, 0x53, 0x1c, 0x8f, 0x4d, 0x89, 0xba, 0x3e, 0x4d, 0x31, 0x64, 0xdd, 0x11, 0xac, 0x65, + 0xb4, 0x35, 0x89, 0xd5, 0xec, 0xd4, 0xe5, 0x2c, 0xe1, 0x63, 0xf9, 0x71, 0x82, 0xde, 0x01, 0xb8, + 0x94, 0x18, 0x52, 0xb4, 0x99, 0xea, 0x37, 0x7d, 0x94, 0xd5, 0x5b, 0x13, 0x8c, 0x87, 0x7c, 0xdb, + 0x82, 0xaf, 0x88, 0x36, 0x93, 0x7c, 0x61, 0x7b, 0xa4, 0xa3, 0x7d, 0x04, 0x10, 0x8d, 0x4f, 0x11, + 0xd2, 0x27, 0xd2, 0x8d, 0x17, 0xfc, 0x5c, 0x80, 0xf7, 0x04, 0xe0, 0x0e, 0xba, 0x7b, 0x36, 0x60, + 0x94, 0xca, 0xf1, 0xaa, 0x57, 0xef, 0x7f, 0xed, 0x69, 0xe0, 0xb4, 0xa7, 0x81, 0x9f, 0x3d, 0x0d, + 0xbc, 0xe9, 0x6b, 0x99, 0xd3, 0xbe, 0x96, 0xf9, 0xd1, 0xd7, 0x32, 0xcf, 0x36, 0x1c, 0x97, 0xbf, + 0x6c, 0x99, 0xba, 0x45, 0x0f, 0xb1, 0xeb, 0xb9, 0xdc, 0x35, 0x8a, 0x0d, 0xc3, 0x64, 0xf8, 0xa0, + 0x1d, 0xf7, 0x24, 0xfe, 0xa1, 0xe6, 0x9c, 0xf8, 0x89, 0x6e, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, + 0xed, 0x33, 0xcc, 0x93, 0x09, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/internal/nft/types/query.pb.gw.go b/nft/types/query.pb.gw.go similarity index 100% rename from internal/nft/types/query.pb.gw.go rename to nft/types/query.pb.gw.go diff --git a/internal/nft/types/types.pb.go b/nft/types/types.pb.go similarity index 93% rename from internal/nft/types/types.pb.go rename to nft/types/types.pb.go index 4a33d7e..91c558c 100644 --- a/internal/nft/types/types.pb.go +++ b/nft/types/types.pb.go @@ -277,37 +277,36 @@ func init() { func init() { proto.RegisterFile("indexer/nft/v1/types.proto", fileDescriptor_fd956bdc1b36fda7) } var fileDescriptor_fd956bdc1b36fda7 = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xb1, 0x6e, 0x13, 0x41, - 0x10, 0xf5, 0x62, 0x3b, 0xc1, 0x63, 0x94, 0xc0, 0x2a, 0xa0, 0x8b, 0x11, 0x1b, 0xeb, 0x9a, 0xa4, - 0xe1, 0x4e, 0x21, 0x1d, 0x12, 0x42, 0x40, 0x83, 0x1b, 0x8a, 0x13, 0x34, 0x34, 0xd6, 0xf9, 0x76, - 0x6d, 0x2f, 0x39, 0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, 0x3f, - 0x97, 0xac, 0xf1, 0xfe, 0x6c, 0x22, 0xcd, 0xf4, 0x62, 0x14, 0x65, 0x6a, 0x16, 0x4b, 0x94, 0x46, - 0xa6, 0x8f, 0xf3, 0x74, 0x54, 0xc4, 0xe7, 0x8b, 0xd5, 0xe5, 0x49, 0x34, 0x42, 0x63, 0x9a, 0xdb, - 0x13, 0xb4, 0xf7, 0x37, 0xda, 0xb1, 0xf7, 0x73, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x59, 0xa4, - 0x51, 0x49, 0x9e, 0x03, 0x00, 0x00, + // 464 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x41, 0x6f, 0xd3, 0x30, + 0x14, 0xae, 0x69, 0xbb, 0xd1, 0x57, 0xb4, 0x81, 0x35, 0x50, 0x56, 0x84, 0x57, 0xe5, 0xb2, 0x09, + 0x89, 0x44, 0x83, 0x1b, 0x12, 0x42, 0xc0, 0x85, 0x4a, 0x88, 0x43, 0xc4, 0x89, 0x4b, 0x95, 0xc4, + 0x4e, 0x6a, 0x96, 0xda, 0x91, 0xe3, 0x15, 0xf8, 0x17, 0xdc, 0x38, 0x72, 0xe5, 0xa7, 0x8c, 0xdb, + 0x8e, 0x1c, 0x21, 0xfd, 0x23, 0x28, 0xb6, 0xb7, 0xa6, 0xa5, 0x12, 0xdc, 0xde, 0xfb, 0xde, 0xe7, + 0xef, 0x3d, 0x7f, 0x4f, 0x0f, 0x46, 0x5c, 0x50, 0xf6, 0x89, 0xa9, 0x50, 0x64, 0x3a, 0x5c, 0x9c, + 0x86, 0xfa, 0x73, 0xc9, 0xaa, 0xa0, 0x54, 0x52, 0x4b, 0xbc, 0xe7, 0x6a, 0x81, 0xc8, 0x74, 0xb0, + 0x38, 0x1d, 0x1d, 0xe4, 0x32, 0x97, 0xa6, 0x14, 0x36, 0x91, 0x65, 0x8d, 0x0e, 0x53, 0x59, 0xcd, + 0x65, 0x35, 0xb5, 0x05, 0x9b, 0xd8, 0x92, 0x5f, 0xc2, 0x9d, 0x89, 0x91, 0xa0, 0xaf, 0x64, 0x51, + 0xb0, 0x54, 0x73, 0x29, 0xf0, 0x11, 0x0c, 0x65, 0xf2, 0x81, 0xa5, 0x7a, 0x1a, 0x53, 0xaa, 0x3c, + 0x34, 0x46, 0x27, 0x83, 0x08, 0x2c, 0xf4, 0x82, 0x52, 0x85, 0x9f, 0x02, 0xa4, 0xd7, 0x74, 0xef, + 0xc6, 0x18, 0x9d, 0x0c, 0x1f, 0x8f, 0x82, 0xf5, 0x59, 0x82, 0x95, 0x60, 0xd4, 0x62, 0xfb, 0xdf, + 0x10, 0x40, 0xab, 0x97, 0x07, 0xbb, 0xa9, 0x62, 0xb1, 0x96, 0x57, 0x7d, 0xae, 0x52, 0x3c, 0x86, + 0x21, 0x65, 0x55, 0xaa, 0x78, 0x79, 0xdd, 0x65, 0x10, 0xb5, 0x21, 0x8c, 0xa1, 0x27, 0xe2, 0x39, + 0xf3, 0xba, 0xa6, 0x64, 0x62, 0x7c, 0x1b, 0xba, 0xe7, 0x8a, 0x7b, 0x3d, 0x03, 0x35, 0x21, 0x0e, + 0xa1, 0x27, 0x32, 0x5d, 0x79, 0x7d, 0x33, 0xe6, 0xfd, 0xcd, 0x31, 0xdf, 0xc9, 0x33, 0x26, 0x5e, + 0xc7, 0x82, 0x16, 0x2c, 0x32, 0x44, 0xff, 0x19, 0x0c, 0x5b, 0x20, 0xbe, 0x07, 0x3b, 0x33, 0x13, + 0xb9, 0x01, 0x5d, 0xd6, 0xe0, 0x05, 0x13, 0xb9, 0x9e, 0xb9, 0xd1, 0x5c, 0xe6, 0xff, 0x40, 0x70, + 0xcb, 0x79, 0x6a, 0x64, 0xfe, 0x6d, 0xe7, 0x31, 0xec, 0xaf, 0x0c, 0xb2, 0x24, 0x2b, 0xb9, 0xb7, + 0x82, 0xb7, 0x10, 0x5b, 0x7f, 0x6f, 0x11, 0xdf, 0x36, 0x2e, 0x3c, 0x00, 0x90, 0x1f, 0x05, 0x53, + 0x56, 0xcc, 0x9a, 0x31, 0x30, 0x88, 0xd3, 0xe9, 0x8a, 0x4c, 0x3b, 0x47, 0xee, 0x6e, 0x75, 0x24, + 0x6a, 0x18, 0xfe, 0x57, 0x04, 0x7d, 0xfb, 0x89, 0xe7, 0x6b, 0x2b, 0x47, 0xe6, 0xe5, 0xd1, 0xe6, + 0xcb, 0x89, 0x10, 0x4c, 0x6d, 0xdf, 0xfb, 0x7f, 0xac, 0xf3, 0x10, 0x6e, 0xea, 0xa6, 0xd7, 0x94, + 0x53, 0xf7, 0xad, 0x5d, 0x93, 0x4f, 0xe8, 0xdf, 0x5b, 0xf5, 0x8f, 0x61, 0x7f, 0xa3, 0x1b, 0x3e, + 0x80, 0x3e, 0x6f, 0x20, 0xe7, 0xb0, 0x4d, 0x5e, 0xbe, 0xb9, 0xf8, 0x4d, 0x3a, 0xdf, 0x6b, 0x82, + 0x2e, 0x6a, 0x82, 0x2e, 0x6b, 0x82, 0x7e, 0xd5, 0x04, 0x7d, 0x59, 0x92, 0xce, 0xe5, 0x92, 0x74, + 0x7e, 0x2e, 0x49, 0xe7, 0xfd, 0xc3, 0x9c, 0xeb, 0xd9, 0x79, 0x12, 0xa4, 0x72, 0x1e, 0x72, 0xc1, + 0x35, 0x8f, 0x1f, 0x15, 0x71, 0x52, 0x85, 0x67, 0x8b, 0xf6, 0xe5, 0x99, 0xb3, 0x4b, 0x76, 0xcc, + 0xd9, 0x3c, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0x19, 0x39, 0xc4, 0xc4, 0x95, 0x03, 0x00, 0x00, } func (this *IndexedCollection) Equal(that interface{}) bool { diff --git a/proto/indexer/block/v1/query.proto b/proto/indexer/block/v1/query.proto index 0e27369..69f7ebe 100644 --- a/proto/indexer/block/v1/query.proto +++ b/proto/indexer/block/v1/query.proto @@ -13,24 +13,21 @@ option go_package = "github.com/initia-labs/kvindexer/submodules/block/types"; service Query { // Block returns a block by its height. - rpc Block(BlockRequest) - returns (BlockResponse) { + rpc Block(BlockRequest) returns (BlockResponse) { option (google.api.http) = { get : "/indexer/block/v1/blocks/{height}" }; } // Blocks returns a list of blocks. - rpc Blocks(BlocksRequest) - returns (BlocksResponse) { + rpc Blocks(BlocksRequest) returns (BlocksResponse) { option (google.api.http) = { get : "/indexer/block/v1/blocks" }; } // AvgBlockTime returns the average block time. - rpc AvgBlockTime(AvgBlockTimeRequest) - returns (AvgBlockTimeResponse) { + rpc AvgBlockTime(AvgBlockTimeRequest) returns (AvgBlockTimeResponse) { option (google.api.http) = { get : "/indexer/block/v1/avg_blocktime" }; @@ -38,14 +35,10 @@ service Query { } // BlockRequest defines the request for the Blocks RPC. -message BlockRequest { - int64 height = 1; -} +message BlockRequest { int64 height = 1; } // BlockResponse defines the response for the Blocks RPC. -message BlockResponse { - Block block = 1; -} +message BlockResponse { Block block = 1; } // BlocksRequest defines the request for the Blocks RPC. message BlocksRequest { @@ -60,10 +53,9 @@ message BlocksResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// AvgBlockTimeRequest defines the request for the AvgBlockTime RPC: no params for now. +// AvgBlockTimeRequest defines the request for the AvgBlockTime RPC: no params +// for now. message AvgBlockTimeRequest {} // AvgBlockTimeResponse defines the response for the AvgBlockTime RPC. -message AvgBlockTimeResponse { - double avg_block_time = 1; -} \ No newline at end of file +message AvgBlockTimeResponse { double avg_block_time = 1; } \ No newline at end of file diff --git a/proto/indexer/block/v1/types.proto b/proto/indexer/block/v1/types.proto index 6964455..d74ff2c 100644 --- a/proto/indexer/block/v1/types.proto +++ b/proto/indexer/block/v1/types.proto @@ -9,7 +9,7 @@ import "cosmos/base/v1beta1/coin.proto"; option go_package = "github.com/initia-labs/kvindexer/submodules/block/types"; option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; +option (gogoproto.equal_all) = true; // Block represents a indexed block in a blockchain message Block { @@ -17,17 +17,15 @@ message Block { int64 height = 2; string hash = 3; int64 block_time = 4; - google.protobuf.Timestamp timestamp = 5 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true - ]; + google.protobuf.Timestamp timestamp = 5 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; int64 gas_used = 6; int64 gas_wanted = 7; int64 tx_count = 8; repeated cosmos.base.v1beta1.Coin total_fee = 9 [ - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true, - (amino.encoding) = "legacy_coins", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true, + (amino.encoding) = "legacy_coins", (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" ]; Proposer proposer = 10; @@ -36,7 +34,9 @@ message Block { // Proposer represents the proposer of a block: for minitia, its the L2 operator message Proposer { string moniker = 1; - // actually minitias have no identity because they haven't MsgCreateValidator, but we decided to keep this field for compatibility with L1 + // actually minitias have no identity because they haven't MsgCreateValidator, + // but we decided to keep this field for compatibility with L1 string identity = 2; - string operator_address = 3; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string operator_address = + 3; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; } \ No newline at end of file diff --git a/proto/indexer/info/query.proto b/proto/indexer/info/query.proto index d48dd46..6f48b2e 100644 --- a/proto/indexer/info/query.proto +++ b/proto/indexer/info/query.proto @@ -5,41 +5,32 @@ package indexer.info; import "google/api/annotations.proto"; import "indexer/info/types.proto"; - option go_package = "github.com/initia-labs/kvindexer/x/kvindexer/types"; // Query provides the service definition for the Token Version service Query { - // Version queries all the collections of an account - rpc Versions(QueryVersionRequest) returns (QueryVersionResponse) { - option (google.api.http) = { - get : "/indexer/version" - }; - } - - rpc VMType(QueryVMTypeRequest) returns (QueryVMTypeResponse) { - option (google.api.http) = { - get : "/indexer/vmtype" - }; - } + // Version queries all the collections of an account + rpc Versions(QueryVersionRequest) returns (QueryVersionResponse) { + option (google.api.http) = { + get : "/indexer/version" + }; + } + + rpc VMType(QueryVMTypeRequest) returns (QueryVMTypeResponse) { + option (google.api.http) = { + get : "/indexer/vmtype" + }; + } } // QueryVersionRequest is the request type for the Query/Versions RPC method -message QueryVersionRequest { -} +message QueryVersionRequest {} // QueryVersionResponse is the response type for the Query/Versions RPC method -message QueryVersionResponse { - repeated SubmoduleVersion versions = 1; -} - +message QueryVersionResponse { repeated SubmoduleVersion versions = 1; } // QueryVMTypeRequest is the request type for the Query/VMType RPC method -message QueryVMTypeRequest { -} +message QueryVMTypeRequest {} // QueryVMTypeResponse is the response type for the Query/VMType RPC method -message QueryVMTypeResponse { - string vmtype = 1; -} - +message QueryVMTypeResponse { string vmtype = 1; } diff --git a/proto/indexer/info/types.proto b/proto/indexer/info/types.proto index 4533281..cafe771 100644 --- a/proto/indexer/info/types.proto +++ b/proto/indexer/info/types.proto @@ -9,7 +9,7 @@ import "cosmos/base/v1beta1/coin.proto"; option go_package = "github.com/initia-labs/kvindexer/x/kvindexer/types"; option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; +option (gogoproto.equal_all) = true; // SubmoduleVersion defines the version of the submodule message SubmoduleVersion { diff --git a/proto/indexer/nft/v1/query.proto b/proto/indexer/nft/v1/query.proto index d822d41..1b1fa01 100644 --- a/proto/indexer/nft/v1/query.proto +++ b/proto/indexer/nft/v1/query.proto @@ -8,79 +8,86 @@ import "google/api/annotations.proto"; import "cosmos_proto/cosmos.proto"; import "indexer/nft/v1/types.proto"; -option go_package = "github.com/initia-labs/kvindexer/internal/nft/types"; +option go_package = "github.com/initia-labs/kvindexer/nft/types"; // Query provides the service definition for the Collections and NFTs service Query { - // Collection queries a collection by its address - rpc Collection(QueryCollectionRequest) returns (QueryCollectionResponse) { - option (google.api.http) = { - get : "/indexer/nft/v1/collections/{collection_addr}" - }; - } + // Collection queries a collection by its address + rpc Collection(QueryCollectionRequest) returns (QueryCollectionResponse) { + option (google.api.http) = { + get : "/indexer/nft/v1/collections/{collection_addr}" + }; + } - // Collections queries all the collections of an account - rpc CollectionsByAccount(QueryCollectionsByAccountRequest) returns (QueryCollectionsResponse) { - option (google.api.http) = { - get : "/indexer/nft/v1/collections/by_account/{account}" - }; - } + // Collections queries all the collections of an account + rpc CollectionsByAccount(QueryCollectionsByAccountRequest) + returns (QueryCollectionsResponse) { + option (google.api.http) = { + get : "/indexer/nft/v1/collections/by_account/{account}" + }; + } - // TokensByACcount queries all the NFTs of an account - rpc TokensByAccount(QueryTokensByAccountRequest) returns (QueryTokensResponse) { - option (google.api.http) = { - get : "/indexer/nft/v1/tokens/by_account/{account}" - }; - } + // TokensByACcount queries all the NFTs of an account + rpc TokensByAccount(QueryTokensByAccountRequest) + returns (QueryTokensResponse) { + option (google.api.http) = { + get : "/indexer/nft/v1/tokens/by_account/{account}" + }; + } - // TokensByCollection queries all the NFTs of a collection - rpc TokensByCollection(QueryTokensByCollectionRequest) returns (QueryTokensResponse) { - option (google.api.http) = { - get : "/indexer/nft/v1/tokens/by_collection/{collection_addr}" - }; - } + // TokensByCollection queries all the NFTs of a collection + rpc TokensByCollection(QueryTokensByCollectionRequest) + returns (QueryTokensResponse) { + option (google.api.http) = { + get : "/indexer/nft/v1/tokens/by_collection/{collection_addr}" + }; + } } -// QueryCollectionRequest is the request type for the Query/Collection RPC method +// QueryCollectionRequest is the request type for the Query/Collection RPC +// method message QueryCollectionRequest { - string collection_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string collection_addr = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; } -// QueryCollectionResponse is the response type for the Query/Collection RPC method -message QueryCollectionResponse { - IndexedCollection collection = 1; -} +// QueryCollectionResponse is the response type for the Query/Collection RPC +// method +message QueryCollectionResponse { IndexedCollection collection = 1; } -// QueryCollectionsRequest is the request type for the Query/Collections RPC method +// QueryCollectionsRequest is the request type for the Query/Collections RPC +// method message QueryCollectionsByAccountRequest { - string account = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - cosmos.base.query.v1beta1.PageRequest pagination = 2; + string account = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// QueryCollectionsResponse is the response type for the Query/Collections RPC method +// QueryCollectionsResponse is the response type for the Query/Collections RPC +// method message QueryCollectionsResponse { - repeated IndexedCollection collections = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; + repeated IndexedCollection collections = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryTokensByAccountRequest is the request type for the Query/Tokens RPC method +// QueryTokensByAccountRequest is the request type for the Query/Tokens RPC +// method message QueryTokensByAccountRequest { - string account = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string collection_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string token_id = 3; - cosmos.base.query.v1beta1.PageRequest pagination = 4; + string account = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + string collection_addr = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + string token_id = 3; + cosmos.base.query.v1beta1.PageRequest pagination = 4; } -// QueryTokensByCollectionRequest is the request type for the Query/Tokens RPC method +// QueryTokensByCollectionRequest is the request type for the Query/Tokens RPC +// method message QueryTokensByCollectionRequest { - string collection_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string token_id = 2; - cosmos.base.query.v1beta1.PageRequest pagination = 4; + string collection_addr = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + string token_id = 2; + cosmos.base.query.v1beta1.PageRequest pagination = 4; } // QueryTokensResponse is the response type for the Query/Tokens RPC method message QueryTokensResponse { - repeated IndexedToken tokens = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; + repeated IndexedToken tokens = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; } \ No newline at end of file diff --git a/proto/indexer/nft/v1/types.proto b/proto/indexer/nft/v1/types.proto index 4d045f2..c7a6a6b 100644 --- a/proto/indexer/nft/v1/types.proto +++ b/proto/indexer/nft/v1/types.proto @@ -5,54 +5,52 @@ package indexer.nft.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/initia-labs/kvindexer/internal/nft/types"; +option go_package = "github.com/initia-labs/kvindexer/nft/types"; option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; +option (gogoproto.equal_all) = true; // Collections // IndexedCollection is wrapped Collection with its object address message IndexedCollection { - string object_addr = 1; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; - Collection collection = 2; + string object_addr = 1; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; + Collection collection = 2; } // Collection is the message for a collection of NFTs message Collection { - string creator = 1; - string description = 2; - string name = 3; - string uri = 4; - TokenHandle nfts = 5; + string creator = 1; + string description = 2; + string name = 3; + string uri = 4; + TokenHandle nfts = 5; } // TokenHandle is an embedded message for CollectionData message TokenHandle { - string handle = 1; - string length = 2; + string handle = 1; + string length = 2; } // NFTs // IndexedToken is wrapped NFT with its object address and collection address message IndexedToken { - string object_addr = 1; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string collection_addr = 2; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string collection_name = 3; - string owner_addr = 4; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; - Token nft = 5; + string object_addr = 1; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string collection_addr = + 2; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string collection_name = 3; + string owner_addr = 4; // [(cosmos_proto.scalar) = "cosmos.AddressString"]; + Token nft = 5; } // NFT is the message for a single NFT message Token { - InnerCollection collection = 1; - string description = 2; - string token_id = 3; - string uri = 4; + InnerCollection collection = 1; + string description = 2; + string token_id = 3; + string uri = 4; } // InnerCollection is inner data of NFT -message InnerCollection { - string inner = 1; -} +message InnerCollection { string inner = 1; } diff --git a/proto/indexer/pair/v1/query.proto b/proto/indexer/pair/v1/query.proto index b215416..ab348be 100644 --- a/proto/indexer/pair/v1/query.proto +++ b/proto/indexer/pair/v1/query.proto @@ -12,23 +12,22 @@ option go_package = "github.com/initia-labs/kvindexer/submodules/pair/types"; // Query provides the service definition for the Token Pairs service Query { - // Pairs queries all the collections of an account - rpc Pairs(QueryPairsRequest) returns (QueryPairsResponse) { - option (google.api.http) = { - get : "/indexer/pair/v1/pairs" - }; - } + // Pairs queries all the collections of an account + rpc Pairs(QueryPairsRequest) returns (QueryPairsResponse) { + option (google.api.http) = { + get : "/indexer/pair/v1/pairs" + }; + } } // QueryPairsRequest is the request type for the Query/Pairs RPC method message QueryPairsRequest { - bool is_non_fungible = 1; - cosmos.base.query.v1beta1.PageRequest pagination = 2; + bool is_non_fungible = 1; + cosmos.base.query.v1beta1.PageRequest pagination = 2; } // QueryPairsResponse is the response type for the Query/Pairs RPC method message QueryPairsResponse { - repeated Pair pairs = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; + repeated Pair pairs = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; } - diff --git a/proto/indexer/pair/v1/types.proto b/proto/indexer/pair/v1/types.proto index 653c5db..f669666 100644 --- a/proto/indexer/pair/v1/types.proto +++ b/proto/indexer/pair/v1/types.proto @@ -5,13 +5,12 @@ package indexer.pair.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; - option go_package = "github.com/initia-labs/kvindexer/submodules/pair/types"; option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; +option (gogoproto.equal_all) = true; // Pair is a struct that holds the information of a pair message Pair { - string l1 = 1; - string l2 = 2; + string l1 = 1; + string l2 = 2; } diff --git a/proto/indexer/tx/v1/query.proto b/proto/indexer/tx/v1/query.proto index c248824..22f061b 100644 --- a/proto/indexer/tx/v1/query.proto +++ b/proto/indexer/tx/v1/query.proto @@ -10,75 +10,73 @@ import "google/api/annotations.proto"; option go_package = "github.com/initia-labs/kvindexer/submodules/tx/types"; -// Query provides the service definition for the Txs +// Query provides the service definition for the Txs service Query { - // Tx queries a transaction by hash - rpc Tx(QueryTxRequest) returns (QueryTxResponse) { - option (google.api.http) = { - get : "/indexer/tx/v1/txs/{tx_hash}" - }; - } - - // Txs queries all transactions with pagination - rpc Txs(QueryTxsRequest) returns (QueryTxsResponse) { - option (google.api.http) = { - get : "/indexer/tx/v1/txs" - }; - } - - // TxsByAccount queries all the collections of given account - rpc TxsByAccount(QueryTxsByAccountRequest) returns (QueryTxsResponse) { - option (google.api.http) = { - get : "/indexer/tx/v1/txs/by_account/{account}" - }; - } - - // TxsByHeight queries all the collections of given height - rpc TxsByHeight(QueryTxsByHeightRequest) returns (QueryTxsResponse) { - option (google.api.http) = { - get : "/indexer/tx/v1/txs/by_height/{height}" - }; - } + // Tx queries a transaction by hash + rpc Tx(QueryTxRequest) returns (QueryTxResponse) { + option (google.api.http) = { + get : "/indexer/tx/v1/txs/{tx_hash}" + }; + } + + // Txs queries all transactions with pagination + rpc Txs(QueryTxsRequest) returns (QueryTxsResponse) { + option (google.api.http) = { + get : "/indexer/tx/v1/txs" + }; + } + + // TxsByAccount queries all the collections of given account + rpc TxsByAccount(QueryTxsByAccountRequest) returns (QueryTxsResponse) { + option (google.api.http) = { + get : "/indexer/tx/v1/txs/by_account/{account}" + }; + } + + // TxsByHeight queries all the collections of given height + rpc TxsByHeight(QueryTxsByHeightRequest) returns (QueryTxsResponse) { + option (google.api.http) = { + get : "/indexer/tx/v1/txs/by_height/{height}" + }; + } } - // QueryTxRequest is the request type for the Query/Txs RPC method message QueryTxRequest { - // tx_hash is a hash string of the transaction to query. - string tx_hash = 1 ; + // tx_hash is a hash string of the transaction to query. + string tx_hash = 1; } // QueryTxResponse is the response type for the Query/Txs RPC method message QueryTxResponse { - // txs is the list of queried transactions. - cosmos.base.abci.v1beta1.TxResponse tx = 1; + // txs is the list of queried transactions. + cosmos.base.abci.v1beta1.TxResponse tx = 1; } // QueryTxsequest is the request type for the Query/Txs RPC method message QueryTxsRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; + cosmos.base.query.v1beta1.PageRequest pagination = 1; } - // QueryTxsByAccountRequest is the request type for the Query/Txs RPC method message QueryTxsByAccountRequest { - // account is the account address to query txs for. - string account = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // account is the account address to query txs for. + string account = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 3; + cosmos.base.query.v1beta1.PageRequest pagination = 3; } // QueryTxsByHeightRequest is the request type for the Query/Txs RPC method message QueryTxsByHeightRequest { - // height is the height to query txs for. - int64 height = 1; + // height is the height to query txs for. + int64 height = 1; - cosmos.base.query.v1beta1.PageRequest pagination = 3; + cosmos.base.query.v1beta1.PageRequest pagination = 3; } // QueryTxsResponse is the response type for the Query/Txs RPC method message QueryTxsResponse { - // txs is the list of queried transactions. - repeated cosmos.base.abci.v1beta1.TxResponse txs = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; + // txs is the list of queried transactions. + repeated cosmos.base.abci.v1beta1.TxResponse txs = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; } \ No newline at end of file diff --git a/submodules/move-nft/grpc_query.go b/submodules/move-nft/grpc_query.go index 2fb9a16..9dede6d 100644 --- a/submodules/move-nft/grpc_query.go +++ b/submodules/move-nft/grpc_query.go @@ -12,7 +12,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" ) var _ nfttypes.QueryServer = (*Querier)(nil) diff --git a/submodules/move-nft/store.go b/submodules/move-nft/store.go index f61050c..80b993e 100644 --- a/submodules/move-nft/store.go +++ b/submodules/move-nft/store.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/initia-labs/kvindexer/collection" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" "github.com/initia-labs/kvindexer/submodules/move-nft/types" ) diff --git a/submodules/move-nft/submodule.go b/submodules/move-nft/submodule.go index b8efb4d..09a1aad 100644 --- a/submodules/move-nft/submodule.go +++ b/submodules/move-nft/submodule.go @@ -17,7 +17,7 @@ import ( abci "github.com/cometbft/cometbft/abci/types" "github.com/initia-labs/kvindexer/collection" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" "github.com/initia-labs/kvindexer/submodules/move-nft/types" kvindexer "github.com/initia-labs/kvindexer/x/kvindexer/types" ) diff --git a/submodules/move-nft/types/types.go b/submodules/move-nft/types/types.go index 7cfdfc1..adc52ea 100644 --- a/submodules/move-nft/types/types.go +++ b/submodules/move-nft/types/types.go @@ -2,7 +2,7 @@ package types import ( abci "github.com/cometbft/cometbft/abci/types" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" ) type EventWithAttributeMap struct { diff --git a/submodules/move-nft/vm_util.go b/submodules/move-nft/vm_util.go index 6ad3e46..d7cf685 100644 --- a/submodules/move-nft/vm_util.go +++ b/submodules/move-nft/vm_util.go @@ -10,7 +10,7 @@ import ( movetypes "github.com/initia-labs/initia/x/move/types" vmtypes "github.com/initia-labs/movevm/types" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" "github.com/initia-labs/kvindexer/submodules/move-nft/types" "google.golang.org/grpc/codes" diff --git a/submodules/wasm-nft/grpc_query.go b/submodules/wasm-nft/grpc_query.go index 14d215e..3a1ac42 100644 --- a/submodules/wasm-nft/grpc_query.go +++ b/submodules/wasm-nft/grpc_query.go @@ -12,7 +12,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" ) var _ nfttypes.QueryServer = (*Querier)(nil) diff --git a/submodules/wasm-nft/submodule.go b/submodules/wasm-nft/submodule.go index e3655b5..8905993 100644 --- a/submodules/wasm-nft/submodule.go +++ b/submodules/wasm-nft/submodule.go @@ -17,7 +17,7 @@ import ( abci "github.com/cometbft/cometbft/abci/types" "github.com/initia-labs/kvindexer/collection" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" "github.com/initia-labs/kvindexer/submodules/move-nft/types" kvindexer "github.com/initia-labs/kvindexer/x/kvindexer/types" ) diff --git a/submodules/wasm-nft/types/types.go b/submodules/wasm-nft/types/types.go index e87bcb7..55613e1 100644 --- a/submodules/wasm-nft/types/types.go +++ b/submodules/wasm-nft/types/types.go @@ -2,7 +2,7 @@ package types import ( abci "github.com/cometbft/cometbft/abci/types" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" ) type EventWithAttributeMap struct { diff --git a/submodules/wasm-nft/vm_util.go b/submodules/wasm-nft/vm_util.go index 0e5328c..8c04394 100644 --- a/submodules/wasm-nft/vm_util.go +++ b/submodules/wasm-nft/vm_util.go @@ -12,7 +12,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - nfttypes "github.com/initia-labs/kvindexer/internal/nft/types" + nfttypes "github.com/initia-labs/kvindexer/nft/types" "github.com/initia-labs/kvindexer/submodules/move-nft/types" ) diff --git a/x/kvindexer/types/query.pb.go b/x/kvindexer/types/query.pb.go index c4ee240..fabfd5e 100644 --- a/x/kvindexer/types/query.pb.go +++ b/x/kvindexer/types/query.pb.go @@ -202,28 +202,28 @@ func init() { func init() { proto.RegisterFile("indexer/info/query.proto", fileDescriptor_81019926f3a532d0) } var fileDescriptor_81019926f3a532d0 = []byte{ - // 330 bytes of a gzipped FileDescriptorProto + // 332 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x4e, 0xc3, 0x30, - 0x18, 0x84, 0x6b, 0x10, 0x55, 0x31, 0x48, 0x80, 0x29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e, - 0x00, 0xdc, 0x2b, 0xf5, 0x68, 0x06, 0x5b, 0x86, 0x21, 0x51, 0xb7, 0x1e, 0x62, 0x43, 0x23, 0xdb, - 0xd9, 0x26, 0xd1, 0x50, 0xc7, 0x7a, 0xf9, 0xf8, 0x79, 0xdb, 0x41, 0xe8, 0x98, 0x54, 0xef, 0x65, - 0xc2, 0xa3, 0x09, 0x6c, 0xea, 0x80, 0xa8, 0xb3, 0xc9, 0x67, 0xbd, 0x91, 0xdd, 0xdd, 0xa2, 0x30, - 0xa0, 0x8b, 0x12, 0x74, 0x82, 0x8e, 0xfe, 0x41, 0x65, 0xbd, 0xe1, 0xf0, 0x3d, 0xc3, 0x60, 0x95, - 0x61, 0xf0, 0x9d, 0x61, 0xf0, 0x9a, 0xe3, 0xc6, 0x2a, 0xc7, 0x8d, 0xcf, 0x1c, 0x37, 0x1e, 0x7b, - 0x53, 0xa6, 0x9e, 0x63, 0xdf, 0x7d, 0x12, 0x01, 0x61, 0x9c, 0x29, 0xe6, 0xf5, 0xe7, 0x9e, 0x2f, - 0xc9, 0x2c, 0xa9, 0x2c, 0x96, 0xfa, 0xb0, 0x7e, 0xb3, 0xbc, 0xec, 0xd5, 0x6f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x60, 0x5e, 0x77, 0x7c, 0x3b, 0x02, 0x00, 0x00, + 0x10, 0x86, 0x6b, 0x10, 0x55, 0x31, 0x48, 0x80, 0x29, 0x10, 0x45, 0xc8, 0x6a, 0x33, 0x75, 0x69, + 0x2c, 0x95, 0x8d, 0x91, 0x19, 0x06, 0x0a, 0x62, 0x60, 0x4b, 0xa8, 0x5b, 0xac, 0x26, 0x76, 0x1a, + 0x3b, 0x51, 0xb3, 0xf2, 0x04, 0x48, 0xbc, 0x14, 0x63, 0x25, 0x16, 0x06, 0x06, 0x94, 0xf0, 0x20, + 0x28, 0x89, 0x03, 0x89, 0x54, 0x75, 0xb3, 0xef, 0x7e, 0xff, 0xdf, 0x7f, 0x3e, 0x68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0xd0, 0xc1, 0x3f, 0xa8, 0x18, 0xef, 0xea, 0xfa, 0x3d, 0xc5, 0x60, + 0x95, 0x62, 0xf0, 0x9d, 0x62, 0xf0, 0x9a, 0xe1, 0xd6, 0x2a, 0xc3, 0xad, 0xcf, 0x0c, 0xb7, 0x1e, + 0x47, 0x33, 0xa6, 0x9e, 0x23, 0xd7, 0x7e, 0x12, 0x3e, 0x61, 0x9c, 0x29, 0xe6, 0x0c, 0x3d, 0xc7, + 0x95, 0x64, 0x1e, 0x57, 0x16, 0xcb, 0xda, 0xb9, 0x58, 0xb1, 0xdb, 0x2e, 0x76, 0x7c, 0xf1, 0x1b, + 0x00, 0x00, 0xff, 0xff, 0x25, 0x57, 0xdf, 0x02, 0x45, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/kvindexer/types/types.pb.go b/x/kvindexer/types/types.pb.go index 3aa41d9..8ee0848 100644 --- a/x/kvindexer/types/types.pb.go +++ b/x/kvindexer/types/types.pb.go @@ -72,23 +72,23 @@ func init() { func init() { proto.RegisterFile("indexer/info/types.proto", fileDescriptor_07f8f35a2cd80b30) } var fileDescriptor_07f8f35a2cd80b30 = []byte{ - // 249 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0x31, 0x4e, 0xc3, 0x30, - 0x14, 0x86, 0x63, 0x06, 0x50, 0x23, 0x06, 0xa8, 0x18, 0xa2, 0x0a, 0x19, 0xc4, 0xd4, 0x85, 0x3c, - 0x55, 0xdc, 0x80, 0xb1, 0x23, 0x48, 0x0c, 0x6c, 0x76, 0xfa, 0x6a, 0x9e, 0x88, 0xfd, 0xa2, 0xd8, - 0x89, 0xca, 0x2d, 0x38, 0x06, 0x47, 0xe9, 0xd8, 0x91, 0x11, 0x92, 0x8b, 0xa0, 0x3a, 0x89, 0x58, - 0x2c, 0xff, 0xff, 0xf7, 0x0d, 0x4f, 0x7f, 0x9a, 0x91, 0xdb, 0xe0, 0x0e, 0x6b, 0x20, 0xb7, 0x65, - 0x08, 0x1f, 0x15, 0xfa, 0xbc, 0xaa, 0x39, 0xf0, 0xfc, 0x7c, 0x24, 0xf9, 0x91, 0x2c, 0xae, 0x0c, - 0x1b, 0x8e, 0x00, 0x8e, 0xbf, 0xc1, 0x59, 0x5c, 0x2a, 0x4b, 0x8e, 0x21, 0xbe, 0x63, 0x75, 0x63, - 0x98, 0x4d, 0x89, 0x10, 0x93, 0x6e, 0xb6, 0x10, 0xc8, 0xa2, 0x0f, 0xca, 0x56, 0xa3, 0x20, 0x0b, - 0xf6, 0x96, 0x3d, 0x68, 0xe5, 0x11, 0xda, 0x95, 0xc6, 0xa0, 0x56, 0x50, 0x30, 0xb9, 0x81, 0xdf, - 0xad, 0xd3, 0x8b, 0xe7, 0x46, 0x5b, 0xde, 0x34, 0x25, 0xbe, 0x60, 0xed, 0x89, 0xdd, 0xfc, 0x3a, - 0x9d, 0xf9, 0xa9, 0xcb, 0xc4, 0xad, 0x58, 0xce, 0x9e, 0xfe, 0x8b, 0x79, 0x96, 0x9e, 0xb5, 0x83, - 0x98, 0x9d, 0x44, 0x36, 0xc5, 0xc7, 0xf5, 0xfe, 0x57, 0x26, 0x5f, 0x9d, 0x14, 0xfb, 0x4e, 0x8a, - 0x43, 0x27, 0xc5, 0x4f, 0x27, 0xc5, 0x67, 0x2f, 0x93, 0x43, 0x2f, 0x93, 0xef, 0x5e, 0x26, 0xaf, - 0x4b, 0x43, 0xe1, 0xad, 0xd1, 0x79, 0xc1, 0x16, 0xc8, 0x51, 0x20, 0x75, 0x5f, 0x2a, 0xed, 0xe1, - 0xbd, 0x9d, 0x86, 0xd9, 0x0d, 0xab, 0xe8, 0xd3, 0x78, 0xde, 0xc3, 0x5f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x70, 0x11, 0x5e, 0xf6, 0x32, 0x01, 0x00, 0x00, + // 251 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x31, 0x4e, 0xc3, 0x40, + 0x10, 0x45, 0xbd, 0x14, 0xa0, 0x58, 0x14, 0x60, 0x51, 0x58, 0x11, 0x5a, 0x10, 0x15, 0x0d, 0x1e, + 0x05, 0x6e, 0x40, 0x49, 0x09, 0x88, 0x82, 0x6e, 0xd7, 0x99, 0x98, 0x11, 0xde, 0x1d, 0xcb, 0xbb, + 0xb6, 0xc2, 0x2d, 0x38, 0x06, 0x47, 0x49, 0x99, 0x92, 0x12, 0xec, 0x8b, 0xa0, 0xac, 0x6d, 0x91, + 0x66, 0xf4, 0xff, 0x7f, 0xbf, 0x18, 0xfd, 0x38, 0x25, 0xbb, 0xc4, 0x35, 0xd6, 0x40, 0x76, 0xc5, + 0xe0, 0x3f, 0x2a, 0x74, 0x59, 0x55, 0xb3, 0xe7, 0xe4, 0x78, 0x24, 0xd9, 0x8e, 0xcc, 0xcf, 0x0a, + 0x2e, 0x38, 0x00, 0xd8, 0xa9, 0xa1, 0x33, 0x3f, 0x55, 0x86, 0x2c, 0x43, 0xb8, 0x63, 0x74, 0x51, + 0x30, 0x17, 0x25, 0x42, 0x70, 0xba, 0x59, 0x81, 0x27, 0x83, 0xce, 0x2b, 0x53, 0x8d, 0x05, 0x99, + 0xb3, 0x33, 0xec, 0x40, 0x2b, 0x87, 0xd0, 0x2e, 0x34, 0x7a, 0xb5, 0x80, 0x9c, 0xc9, 0x0e, 0xfc, + 0xea, 0x21, 0x3e, 0x79, 0x6a, 0xb4, 0xe1, 0x65, 0x53, 0xe2, 0x0b, 0xd6, 0x8e, 0xd8, 0x26, 0xe7, + 0xf1, 0xcc, 0x4d, 0x59, 0x2a, 0x2e, 0xc5, 0xf5, 0xec, 0xf1, 0x3f, 0x48, 0xd2, 0xf8, 0xa8, 0x1d, + 0x8a, 0xe9, 0x41, 0x60, 0x93, 0xbd, 0x7f, 0xde, 0xfc, 0xca, 0xe8, 0xab, 0x93, 0x62, 0xd3, 0x49, + 0xb1, 0xed, 0xa4, 0xf8, 0xe9, 0xa4, 0xf8, 0xec, 0x65, 0xb4, 0xed, 0x65, 0xf4, 0xdd, 0xcb, 0xe8, + 0xf5, 0xb6, 0x20, 0xff, 0xd6, 0xe8, 0x2c, 0x67, 0x03, 0x64, 0xc9, 0x93, 0xba, 0x29, 0x95, 0x76, + 0xf0, 0xde, 0x4e, 0xc3, 0xac, 0xf7, 0x74, 0xd8, 0x47, 0x1f, 0x86, 0x47, 0xef, 0xfe, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x9f, 0xcb, 0x8f, 0x4b, 0x3c, 0x01, 0x00, 0x00, } func (this *SubmoduleVersion) Equal(that interface{}) bool {