diff --git a/docs/api.md b/docs/api.md index c48574f57..2a9aa0884 100644 --- a/docs/api.md +++ b/docs/api.md @@ -101,14 +101,14 @@ - [QueryBurntNFTsInClassResponse](#coreum.asset.nft.v1.QueryBurntNFTsInClassResponse) - [QueryClassRequest](#coreum.asset.nft.v1.QueryClassRequest) - [QueryClassResponse](#coreum.asset.nft.v1.QueryClassResponse) + - [QueryClassWhitelistedAccountsRequest](#coreum.asset.nft.v1.QueryClassWhitelistedAccountsRequest) + - [QueryClassWhitelistedAccountsResponse](#coreum.asset.nft.v1.QueryClassWhitelistedAccountsResponse) - [QueryClassesRequest](#coreum.asset.nft.v1.QueryClassesRequest) - [QueryClassesResponse](#coreum.asset.nft.v1.QueryClassesResponse) - [QueryFrozenRequest](#coreum.asset.nft.v1.QueryFrozenRequest) - [QueryFrozenResponse](#coreum.asset.nft.v1.QueryFrozenResponse) - [QueryParamsRequest](#coreum.asset.nft.v1.QueryParamsRequest) - [QueryParamsResponse](#coreum.asset.nft.v1.QueryParamsResponse) - - [QueryWhitelistedAccountsForClassRequest](#coreum.asset.nft.v1.QueryWhitelistedAccountsForClassRequest) - - [QueryWhitelistedAccountsForClassResponse](#coreum.asset.nft.v1.QueryWhitelistedAccountsForClassResponse) - [QueryWhitelistedAccountsForNFTRequest](#coreum.asset.nft.v1.QueryWhitelistedAccountsForNFTRequest) - [QueryWhitelistedAccountsForNFTResponse](#coreum.asset.nft.v1.QueryWhitelistedAccountsForNFTResponse) - [QueryWhitelistedRequest](#coreum.asset.nft.v1.QueryWhitelistedRequest) @@ -1667,6 +1667,38 @@ QueryClassResponse is response type for the Query/Class RPC method. + + +### QueryClassWhitelistedAccountsRequest + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | +| `class_id` | [string](#string) | | | + + + + + + + + +### QueryClassWhitelistedAccountsResponse + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | +| `accounts` | [string](#string) | repeated | | + + + + + + ### QueryClassesRequest @@ -1755,38 +1787,6 @@ QueryParamsResponse defines the response type for querying x/asset/nft parameter - - -### QueryWhitelistedAccountsForClassRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | -| `class_id` | [string](#string) | | | - - - - - - - - -### QueryWhitelistedAccountsForClassResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | -| `accounts` | [string](#string) | repeated | | - - - - - - ### QueryWhitelistedAccountsForNFTRequest @@ -1871,7 +1871,7 @@ Query defines the gRPC querier service. | `Frozen` | [QueryFrozenRequest](#coreum.asset.nft.v1.QueryFrozenRequest) | [QueryFrozenResponse](#coreum.asset.nft.v1.QueryFrozenResponse) | Frozen queries to check if an NFT is frozen or not. | GET|/coreum/asset/nft/v1/classes/{class_id}/nfts/{id}/frozen| | `Whitelisted` | [QueryWhitelistedRequest](#coreum.asset.nft.v1.QueryWhitelistedRequest) | [QueryWhitelistedResponse](#coreum.asset.nft.v1.QueryWhitelistedResponse) | Whitelisted queries to check if an account is whitelited to hold an NFT or not. | GET|/coreum/asset/nft/v1/classes/{class_id}/nfts/{id}/whitelisted/{account}| | `WhitelistedAccountsForNFT` | [QueryWhitelistedAccountsForNFTRequest](#coreum.asset.nft.v1.QueryWhitelistedAccountsForNFTRequest) | [QueryWhitelistedAccountsForNFTResponse](#coreum.asset.nft.v1.QueryWhitelistedAccountsForNFTResponse) | WhitelistedAccountsForNFT returns the list of accounts which are whitelisted to hold this NFT. | GET|/coreum/asset/nft/v1/classes/{class_id}/nfts/{id}/whitelisted| -| `WhitelistedAccountsForClass` | [QueryWhitelistedAccountsForClassRequest](#coreum.asset.nft.v1.QueryWhitelistedAccountsForClassRequest) | [QueryWhitelistedAccountsForClassResponse](#coreum.asset.nft.v1.QueryWhitelistedAccountsForClassResponse) | WhitelistedAccountsForClass returns the list of accounts which are whitelisted to hold NFTs in this class. | GET|/coreum/asset/nft/v1/classes/{class_id}/whitelisted| +| `ClassWhitelistedAccounts` | [QueryClassWhitelistedAccountsRequest](#coreum.asset.nft.v1.QueryClassWhitelistedAccountsRequest) | [QueryClassWhitelistedAccountsResponse](#coreum.asset.nft.v1.QueryClassWhitelistedAccountsResponse) | ClassWhitelistedAccounts returns the list of accounts which are whitelisted to hold NFTs in this class. | GET|/coreum/asset/nft/v1/classes/{class_id}/whitelisted| | `BurntNFT` | [QueryBurntNFTRequest](#coreum.asset.nft.v1.QueryBurntNFTRequest) | [QueryBurntNFTResponse](#coreum.asset.nft.v1.QueryBurntNFTResponse) | BurntNFTsInClass checks if an nft if is in burnt NFTs list. | GET|/coreum/asset/nft/v1/classes/{class_id}/burnt/{nft_id}| | `BurntNFTsInClass` | [QueryBurntNFTsInClassRequest](#coreum.asset.nft.v1.QueryBurntNFTsInClassRequest) | [QueryBurntNFTsInClassResponse](#coreum.asset.nft.v1.QueryBurntNFTsInClassResponse) | BurntNFTsInClass returns the list of burnt nfts in a class. | GET|/coreum/asset/nft/v1/classes/{class_id}/burnt| diff --git a/docs/static/openapi.json b/docs/static/openapi.json index 67a77817d..325065c25 100644 --- a/docs/static/openapi.json +++ b/docs/static/openapi.json @@ -754,7 +754,7 @@ }, "/coreum/asset/nft/v1/classes/{class_id}/whitelisted": { "get": { - "operationId": "GithubComCoreumFoundationCoreumV3XAssetNftTypesWhitelistedAccountsForClass", + "operationId": "GithubComCoreumFoundationCoreumV3XAssetNftTypesClassWhitelistedAccounts", "parameters": [ { "name": "class_id", @@ -805,7 +805,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/coreum.asset.nft.v1.QueryWhitelistedAccountsForClassResponse" + "$ref": "#/definitions/coreum.asset.nft.v1.QueryClassWhitelistedAccountsResponse" } }, "default": { @@ -815,7 +815,7 @@ } } }, - "summary": "WhitelistedAccountsForClass returns the list of accounts which are whitelisted to hold NFTs in this class.", + "summary": "ClassWhitelistedAccounts returns the list of accounts which are whitelisted to hold NFTs in this class.", "tags": [ "Query" ] @@ -7221,6 +7221,21 @@ }, "description": "QueryClassResponse is response type for the Query/Class RPC method." }, + "coreum.asset.nft.v1.QueryClassWhitelistedAccountsResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse", + "description": "pagination defines the pagination in the response." + }, + "accounts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "coreum.asset.nft.v1.QueryClassesResponse": { "type": "object", "properties": { @@ -7255,21 +7270,6 @@ }, "description": "QueryParamsResponse defines the response type for querying x/asset/nft parameters." }, - "coreum.asset.nft.v1.QueryWhitelistedAccountsForClassResponse": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/definitions/cosmos.base.query.v1beta1.PageResponse", - "description": "pagination defines the pagination in the response." - }, - "accounts": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, "coreum.asset.nft.v1.QueryWhitelistedAccountsForNFTResponse": { "type": "object", "properties": { diff --git a/proto/coreum/asset/nft/v1/query.proto b/proto/coreum/asset/nft/v1/query.proto index a1158eb90..7f3162d73 100644 --- a/proto/coreum/asset/nft/v1/query.proto +++ b/proto/coreum/asset/nft/v1/query.proto @@ -42,8 +42,8 @@ service Query { option (google.api.http).get = "/coreum/asset/nft/v1/classes/{class_id}/nfts/{id}/whitelisted"; } - // WhitelistedAccountsForClass returns the list of accounts which are whitelisted to hold NFTs in this class. - rpc WhitelistedAccountsForClass (QueryWhitelistedAccountsForClassRequest) returns (QueryWhitelistedAccountsForClassResponse) { + // ClassWhitelistedAccounts returns the list of accounts which are whitelisted to hold NFTs in this class. + rpc ClassWhitelistedAccounts (QueryClassWhitelistedAccountsRequest) returns (QueryClassWhitelistedAccountsResponse) { option (google.api.http).get = "/coreum/asset/nft/v1/classes/{class_id}/whitelisted"; } @@ -122,13 +122,13 @@ message QueryWhitelistedAccountsForNFTResponse { repeated string accounts = 2; } -message QueryWhitelistedAccountsForClassRequest { +message QueryClassWhitelistedAccountsRequest { // pagination defines an optional pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 1; string class_id = 2; } -message QueryWhitelistedAccountsForClassResponse { +message QueryClassWhitelistedAccountsResponse { // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 1; repeated string accounts = 2; diff --git a/x/asset/nft/client/cli/query.go b/x/asset/nft/client/cli/query.go index 62921321a..f75c16f3e 100644 --- a/x/asset/nft/client/cli/query.go +++ b/x/asset/nft/client/cli/query.go @@ -256,7 +256,7 @@ func CmdQueryClassWhitelistedAccounts() *cobra.Command { cmd := &cobra.Command{ Use: "class-whitelisted-accounts [class-id]", Args: cobra.ExactArgs(1), - Short: "Query for the list whitelisted accounts for a class of non-fungible tokens", + Short: "Query for whitelisted accounts for a class of non-fungible tokens", Long: strings.TrimSpace( fmt.Sprintf(`Query for whitelisted accounts for a class of non-fungible tokens. @@ -277,7 +277,7 @@ $ %s query %s class-whitelisted-accounts [class-id] return err } - res, err := queryClient.WhitelistedAccountsForClass(cmd.Context(), &types.QueryWhitelistedAccountsForClassRequest{ + res, err := queryClient.ClassWhitelistedAccounts(cmd.Context(), &types.QueryClassWhitelistedAccountsRequest{ Pagination: pageReq, ClassId: classID, }) diff --git a/x/asset/nft/keeper/grpc_query.go b/x/asset/nft/keeper/grpc_query.go index 1275d252d..95ca378ce 100644 --- a/x/asset/nft/keeper/grpc_query.go +++ b/x/asset/nft/keeper/grpc_query.go @@ -108,10 +108,10 @@ func (qs QueryService) WhitelistedAccountsForNFT(ctx context.Context, req *types }, err } -// WhitelistedAccountsForClass returns the list of accounts which are whitelited to hold this NFTs in this class. -func (qs QueryService) WhitelistedAccountsForClass(ctx context.Context, req *types.QueryWhitelistedAccountsForClassRequest) (*types.QueryWhitelistedAccountsForClassResponse, error) { +// ClassWhitelistedAccounts returns the list of accounts which are whitelited to hold this NFTs in this class. +func (qs QueryService) ClassWhitelistedAccounts(ctx context.Context, req *types.QueryClassWhitelistedAccountsRequest) (*types.QueryClassWhitelistedAccountsResponse, error) { accounts, pageRes, err := qs.keeper.GetWhitelistedAccountsForClass(sdk.UnwrapSDKContext(ctx), req.ClassId, req.Pagination) - return &types.QueryWhitelistedAccountsForClassResponse{ + return &types.QueryClassWhitelistedAccountsResponse{ Pagination: pageRes, Accounts: accounts, }, err diff --git a/x/asset/nft/types/query.pb.go b/x/asset/nft/types/query.pb.go index 9ea9e8b94..f545c5c20 100644 --- a/x/asset/nft/types/query.pb.go +++ b/x/asset/nft/types/query.pb.go @@ -626,26 +626,24 @@ func (m *QueryWhitelistedAccountsForNFTResponse) GetAccounts() []string { return nil } -type QueryWhitelistedAccountsForClassRequest struct { +type QueryClassWhitelistedAccountsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` } -func (m *QueryWhitelistedAccountsForClassRequest) Reset() { - *m = QueryWhitelistedAccountsForClassRequest{} -} -func (m *QueryWhitelistedAccountsForClassRequest) String() string { return proto.CompactTextString(m) } -func (*QueryWhitelistedAccountsForClassRequest) ProtoMessage() {} -func (*QueryWhitelistedAccountsForClassRequest) Descriptor() ([]byte, []int) { +func (m *QueryClassWhitelistedAccountsRequest) Reset() { *m = QueryClassWhitelistedAccountsRequest{} } +func (m *QueryClassWhitelistedAccountsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryClassWhitelistedAccountsRequest) ProtoMessage() {} +func (*QueryClassWhitelistedAccountsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_97b36b7d05006cb3, []int{12} } -func (m *QueryWhitelistedAccountsForClassRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryClassWhitelistedAccountsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryWhitelistedAccountsForClassRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryClassWhitelistedAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryWhitelistedAccountsForClassRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryClassWhitelistedAccountsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -655,52 +653,50 @@ func (m *QueryWhitelistedAccountsForClassRequest) XXX_Marshal(b []byte, determin return b[:n], nil } } -func (m *QueryWhitelistedAccountsForClassRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWhitelistedAccountsForClassRequest.Merge(m, src) +func (m *QueryClassWhitelistedAccountsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryClassWhitelistedAccountsRequest.Merge(m, src) } -func (m *QueryWhitelistedAccountsForClassRequest) XXX_Size() int { +func (m *QueryClassWhitelistedAccountsRequest) XXX_Size() int { return m.Size() } -func (m *QueryWhitelistedAccountsForClassRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryWhitelistedAccountsForClassRequest.DiscardUnknown(m) +func (m *QueryClassWhitelistedAccountsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryClassWhitelistedAccountsRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryWhitelistedAccountsForClassRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryClassWhitelistedAccountsRequest proto.InternalMessageInfo -func (m *QueryWhitelistedAccountsForClassRequest) GetPagination() *query.PageRequest { +func (m *QueryClassWhitelistedAccountsRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -func (m *QueryWhitelistedAccountsForClassRequest) GetClassId() string { +func (m *QueryClassWhitelistedAccountsRequest) GetClassId() string { if m != nil { return m.ClassId } return "" } -type QueryWhitelistedAccountsForClassResponse struct { +type QueryClassWhitelistedAccountsResponse struct { // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Accounts []string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` } -func (m *QueryWhitelistedAccountsForClassResponse) Reset() { - *m = QueryWhitelistedAccountsForClassResponse{} -} -func (m *QueryWhitelistedAccountsForClassResponse) String() string { return proto.CompactTextString(m) } -func (*QueryWhitelistedAccountsForClassResponse) ProtoMessage() {} -func (*QueryWhitelistedAccountsForClassResponse) Descriptor() ([]byte, []int) { +func (m *QueryClassWhitelistedAccountsResponse) Reset() { *m = QueryClassWhitelistedAccountsResponse{} } +func (m *QueryClassWhitelistedAccountsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryClassWhitelistedAccountsResponse) ProtoMessage() {} +func (*QueryClassWhitelistedAccountsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_97b36b7d05006cb3, []int{13} } -func (m *QueryWhitelistedAccountsForClassResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryClassWhitelistedAccountsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryWhitelistedAccountsForClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryClassWhitelistedAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryWhitelistedAccountsForClassResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryClassWhitelistedAccountsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -710,26 +706,26 @@ func (m *QueryWhitelistedAccountsForClassResponse) XXX_Marshal(b []byte, determi return b[:n], nil } } -func (m *QueryWhitelistedAccountsForClassResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWhitelistedAccountsForClassResponse.Merge(m, src) +func (m *QueryClassWhitelistedAccountsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryClassWhitelistedAccountsResponse.Merge(m, src) } -func (m *QueryWhitelistedAccountsForClassResponse) XXX_Size() int { +func (m *QueryClassWhitelistedAccountsResponse) XXX_Size() int { return m.Size() } -func (m *QueryWhitelistedAccountsForClassResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryWhitelistedAccountsForClassResponse.DiscardUnknown(m) +func (m *QueryClassWhitelistedAccountsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryClassWhitelistedAccountsResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryWhitelistedAccountsForClassResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryClassWhitelistedAccountsResponse proto.InternalMessageInfo -func (m *QueryWhitelistedAccountsForClassResponse) GetPagination() *query.PageResponse { +func (m *QueryClassWhitelistedAccountsResponse) GetPagination() *query.PageResponse { if m != nil { return m.Pagination } return nil } -func (m *QueryWhitelistedAccountsForClassResponse) GetAccounts() []string { +func (m *QueryClassWhitelistedAccountsResponse) GetAccounts() []string { if m != nil { return m.Accounts } @@ -949,8 +945,8 @@ func init() { proto.RegisterType((*QueryWhitelistedResponse)(nil), "coreum.asset.nft.v1.QueryWhitelistedResponse") proto.RegisterType((*QueryWhitelistedAccountsForNFTRequest)(nil), "coreum.asset.nft.v1.QueryWhitelistedAccountsForNFTRequest") proto.RegisterType((*QueryWhitelistedAccountsForNFTResponse)(nil), "coreum.asset.nft.v1.QueryWhitelistedAccountsForNFTResponse") - proto.RegisterType((*QueryWhitelistedAccountsForClassRequest)(nil), "coreum.asset.nft.v1.QueryWhitelistedAccountsForClassRequest") - proto.RegisterType((*QueryWhitelistedAccountsForClassResponse)(nil), "coreum.asset.nft.v1.QueryWhitelistedAccountsForClassResponse") + proto.RegisterType((*QueryClassWhitelistedAccountsRequest)(nil), "coreum.asset.nft.v1.QueryClassWhitelistedAccountsRequest") + proto.RegisterType((*QueryClassWhitelistedAccountsResponse)(nil), "coreum.asset.nft.v1.QueryClassWhitelistedAccountsResponse") proto.RegisterType((*QueryBurntNFTRequest)(nil), "coreum.asset.nft.v1.QueryBurntNFTRequest") proto.RegisterType((*QueryBurntNFTResponse)(nil), "coreum.asset.nft.v1.QueryBurntNFTResponse") proto.RegisterType((*QueryBurntNFTsInClassRequest)(nil), "coreum.asset.nft.v1.QueryBurntNFTsInClassRequest") @@ -960,68 +956,68 @@ func init() { func init() { proto.RegisterFile("coreum/asset/nft/v1/query.proto", fileDescriptor_97b36b7d05006cb3) } var fileDescriptor_97b36b7d05006cb3 = []byte{ - // 962 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0x38, 0xd8, 0x49, 0x5f, 0x10, 0x82, 0xd7, 0xb4, 0x75, 0x37, 0x89, 0x1b, 0x36, 0x90, - 0xa4, 0x15, 0xd9, 0x51, 0x12, 0xb5, 0x94, 0xb4, 0xa5, 0x90, 0x0a, 0x97, 0x48, 0x08, 0x52, 0x0b, - 0x09, 0x89, 0x03, 0x68, 0x6d, 0x8f, 0xdd, 0x95, 0x92, 0x1d, 0xd7, 0x33, 0x1b, 0x28, 0x51, 0x24, - 0x0a, 0x3d, 0x82, 0x40, 0xe2, 0x06, 0xe2, 0xc0, 0x7f, 0xc0, 0x9d, 0x7f, 0xa0, 0xc7, 0x4a, 0x1c, - 0x40, 0x42, 0x42, 0x28, 0xe1, 0x0f, 0x41, 0x9e, 0x79, 0x4e, 0x76, 0x9d, 0xf5, 0xaf, 0x12, 0xe5, - 0xe6, 0x9d, 0x79, 0xef, 0x7d, 0xdf, 0xf7, 0x66, 0xe6, 0x7d, 0x32, 0x5c, 0xaa, 0xc8, 0xa6, 0x88, - 0xb6, 0xb9, 0xaf, 0x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 0x20, 0xa1, 0x44, 0xf0, 0x4d, 0x43, 0xf0, - 0x3a, 0x5e, 0x1b, 0x94, 0xa0, 0xb1, 0x14, 0xbe, 0x6b, 0x27, 0xec, 0x1e, 0xfe, 0xca, 0xe0, 0xc5, - 0xce, 0x91, 0x8e, 0xcb, 0xfd, 0x09, 0x74, 0x58, 0x90, 0xb3, 0x32, 0x4c, 0x0a, 0x71, 0xbf, 0x6a, - 0xb8, 0x73, 0x5c, 0x1a, 0x8a, 0xfb, 0xfa, 0xbd, 0x27, 0xfb, 0x05, 0xf6, 0x74, 0xbf, 0xc0, 0xfe, - 0xd9, 0x2f, 0xb0, 0xef, 0x0f, 0x0a, 0x23, 0x4f, 0x0f, 0x0a, 0x23, 0x7f, 0x1e, 0x14, 0x46, 0x3e, - 0x7e, 0xbd, 0x1e, 0xe8, 0xfb, 0x51, 0xd9, 0xab, 0xc8, 0x6d, 0x7e, 0xc7, 0x94, 0x2c, 0xca, 0x28, - 0xac, 0x1a, 0x5b, 0x69, 0x63, 0xec, 0xac, 0xf2, 0xcf, 0x63, 0x40, 0xfa, 0x61, 0x43, 0xa8, 0x72, - 0xce, 0xfc, 0x5b, 0x5a, 0xfd, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x9f, 0x36, 0x75, 0x06, 0x0e, - 0x00, 0x00, + // 969 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0x38, 0xd8, 0x49, 0x5f, 0x24, 0x04, 0xaf, 0x69, 0xeb, 0x6e, 0x13, 0x37, 0x6c, 0x4a, + 0x92, 0x56, 0x64, 0x47, 0x49, 0xd4, 0xd2, 0xa6, 0x40, 0x21, 0x15, 0x2e, 0x91, 0x10, 0xa4, 0x16, + 0x12, 0x12, 0x07, 0xd0, 0xda, 0x5e, 0xbb, 0x2b, 0x25, 0x3b, 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0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1048,8 +1044,8 @@ type QueryClient interface { Whitelisted(ctx context.Context, in *QueryWhitelistedRequest, opts ...grpc.CallOption) (*QueryWhitelistedResponse, error) // WhitelistedAccountsForNFT returns the list of accounts which are whitelisted to hold this NFT. WhitelistedAccountsForNFT(ctx context.Context, in *QueryWhitelistedAccountsForNFTRequest, opts ...grpc.CallOption) (*QueryWhitelistedAccountsForNFTResponse, error) - // WhitelistedAccountsForClass returns the list of accounts which are whitelisted to hold NFTs in this class. - WhitelistedAccountsForClass(ctx context.Context, in *QueryWhitelistedAccountsForClassRequest, opts ...grpc.CallOption) (*QueryWhitelistedAccountsForClassResponse, error) + // ClassWhitelistedAccounts returns the list of accounts which are whitelisted to hold NFTs in this class. + ClassWhitelistedAccounts(ctx context.Context, in *QueryClassWhitelistedAccountsRequest, opts ...grpc.CallOption) (*QueryClassWhitelistedAccountsResponse, error) // BurntNFTsInClass checks if an nft if is in burnt NFTs list. BurntNFT(ctx context.Context, in *QueryBurntNFTRequest, opts ...grpc.CallOption) (*QueryBurntNFTResponse, error) // BurntNFTsInClass returns the list of burnt nfts in a class. @@ -1118,9 +1114,9 @@ func (c *queryClient) WhitelistedAccountsForNFT(ctx context.Context, in *QueryWh return out, nil } -func (c *queryClient) WhitelistedAccountsForClass(ctx context.Context, in *QueryWhitelistedAccountsForClassRequest, opts ...grpc.CallOption) (*QueryWhitelistedAccountsForClassResponse, error) { - out := new(QueryWhitelistedAccountsForClassResponse) - err := c.cc.Invoke(ctx, "/coreum.asset.nft.v1.Query/WhitelistedAccountsForClass", in, out, opts...) +func (c *queryClient) ClassWhitelistedAccounts(ctx context.Context, in *QueryClassWhitelistedAccountsRequest, opts ...grpc.CallOption) (*QueryClassWhitelistedAccountsResponse, error) { + out := new(QueryClassWhitelistedAccountsResponse) + err := c.cc.Invoke(ctx, "/coreum.asset.nft.v1.Query/ClassWhitelistedAccounts", in, out, opts...) if err != nil { return nil, err } @@ -1159,8 +1155,8 @@ type QueryServer interface { Whitelisted(context.Context, *QueryWhitelistedRequest) (*QueryWhitelistedResponse, error) // WhitelistedAccountsForNFT returns the list of accounts which are whitelisted to hold this NFT. WhitelistedAccountsForNFT(context.Context, *QueryWhitelistedAccountsForNFTRequest) (*QueryWhitelistedAccountsForNFTResponse, error) - // WhitelistedAccountsForClass returns the list of accounts which are whitelisted to hold NFTs in this class. - WhitelistedAccountsForClass(context.Context, *QueryWhitelistedAccountsForClassRequest) (*QueryWhitelistedAccountsForClassResponse, error) + // ClassWhitelistedAccounts returns the list of accounts which are whitelisted to hold NFTs in this class. + ClassWhitelistedAccounts(context.Context, *QueryClassWhitelistedAccountsRequest) (*QueryClassWhitelistedAccountsResponse, error) // BurntNFTsInClass checks if an nft if is in burnt NFTs list. BurntNFT(context.Context, *QueryBurntNFTRequest) (*QueryBurntNFTResponse, error) // BurntNFTsInClass returns the list of burnt nfts in a class. @@ -1189,8 +1185,8 @@ func (*UnimplementedQueryServer) Whitelisted(ctx context.Context, req *QueryWhit func (*UnimplementedQueryServer) WhitelistedAccountsForNFT(ctx context.Context, req *QueryWhitelistedAccountsForNFTRequest) (*QueryWhitelistedAccountsForNFTResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WhitelistedAccountsForNFT not implemented") } -func (*UnimplementedQueryServer) WhitelistedAccountsForClass(ctx context.Context, req *QueryWhitelistedAccountsForClassRequest) (*QueryWhitelistedAccountsForClassResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method WhitelistedAccountsForClass not implemented") +func (*UnimplementedQueryServer) ClassWhitelistedAccounts(ctx context.Context, req *QueryClassWhitelistedAccountsRequest) (*QueryClassWhitelistedAccountsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ClassWhitelistedAccounts not implemented") } func (*UnimplementedQueryServer) BurntNFT(ctx context.Context, req *QueryBurntNFTRequest) (*QueryBurntNFTResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BurntNFT not implemented") @@ -1311,20 +1307,20 @@ func _Query_WhitelistedAccountsForNFT_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } -func _Query_WhitelistedAccountsForClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryWhitelistedAccountsForClassRequest) +func _Query_ClassWhitelistedAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryClassWhitelistedAccountsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).WhitelistedAccountsForClass(ctx, in) + return srv.(QueryServer).ClassWhitelistedAccounts(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/coreum.asset.nft.v1.Query/WhitelistedAccountsForClass", + FullMethod: "/coreum.asset.nft.v1.Query/ClassWhitelistedAccounts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).WhitelistedAccountsForClass(ctx, req.(*QueryWhitelistedAccountsForClassRequest)) + return srv.(QueryServer).ClassWhitelistedAccounts(ctx, req.(*QueryClassWhitelistedAccountsRequest)) } return interceptor(ctx, in, info, handler) } @@ -1394,8 +1390,8 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Handler: _Query_WhitelistedAccountsForNFT_Handler, }, { - MethodName: "WhitelistedAccountsForClass", - Handler: _Query_WhitelistedAccountsForClass_Handler, + MethodName: "ClassWhitelistedAccounts", + Handler: _Query_ClassWhitelistedAccounts_Handler, }, { MethodName: "BurntNFT", @@ -1860,7 +1856,7 @@ func (m *QueryWhitelistedAccountsForNFTResponse) MarshalToSizedBuffer(dAtA []byt return len(dAtA) - i, nil } -func (m *QueryWhitelistedAccountsForClassRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryClassWhitelistedAccountsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1870,12 +1866,12 @@ func (m *QueryWhitelistedAccountsForClassRequest) Marshal() (dAtA []byte, err er return dAtA[:n], nil } -func (m *QueryWhitelistedAccountsForClassRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryClassWhitelistedAccountsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryWhitelistedAccountsForClassRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryClassWhitelistedAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1902,7 +1898,7 @@ func (m *QueryWhitelistedAccountsForClassRequest) MarshalToSizedBuffer(dAtA []by return len(dAtA) - i, nil } -func (m *QueryWhitelistedAccountsForClassResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryClassWhitelistedAccountsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1912,12 +1908,12 @@ func (m *QueryWhitelistedAccountsForClassResponse) Marshal() (dAtA []byte, err e return dAtA[:n], nil } -func (m *QueryWhitelistedAccountsForClassResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryClassWhitelistedAccountsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryWhitelistedAccountsForClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryClassWhitelistedAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2295,7 +2291,7 @@ func (m *QueryWhitelistedAccountsForNFTResponse) Size() (n int) { return n } -func (m *QueryWhitelistedAccountsForClassRequest) Size() (n int) { +func (m *QueryClassWhitelistedAccountsRequest) Size() (n int) { if m == nil { return 0 } @@ -2312,7 +2308,7 @@ func (m *QueryWhitelistedAccountsForClassRequest) Size() (n int) { return n } -func (m *QueryWhitelistedAccountsForClassResponse) Size() (n int) { +func (m *QueryClassWhitelistedAccountsResponse) Size() (n int) { if m == nil { return 0 } @@ -3606,7 +3602,7 @@ func (m *QueryWhitelistedAccountsForNFTResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryWhitelistedAccountsForClassRequest) Unmarshal(dAtA []byte) error { +func (m *QueryClassWhitelistedAccountsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3629,10 +3625,10 @@ func (m *QueryWhitelistedAccountsForClassRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryWhitelistedAccountsForClassRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryClassWhitelistedAccountsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryWhitelistedAccountsForClassRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryClassWhitelistedAccountsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3724,7 +3720,7 @@ func (m *QueryWhitelistedAccountsForClassRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryWhitelistedAccountsForClassResponse) Unmarshal(dAtA []byte) error { +func (m *QueryClassWhitelistedAccountsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3747,10 +3743,10 @@ func (m *QueryWhitelistedAccountsForClassResponse) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryWhitelistedAccountsForClassResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryClassWhitelistedAccountsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryWhitelistedAccountsForClassResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryClassWhitelistedAccountsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/asset/nft/types/query.pb.gw.go b/x/asset/nft/types/query.pb.gw.go index 0f580d36c..b8afe2408 100644 --- a/x/asset/nft/types/query.pb.gw.go +++ b/x/asset/nft/types/query.pb.gw.go @@ -410,11 +410,11 @@ func local_request_Query_WhitelistedAccountsForNFT_0(ctx context.Context, marsha } var ( - filter_Query_WhitelistedAccountsForClass_0 = &utilities.DoubleArray{Encoding: map[string]int{"class_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} + filter_Query_ClassWhitelistedAccounts_0 = &utilities.DoubleArray{Encoding: map[string]int{"class_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} ) -func request_Query_WhitelistedAccountsForClass_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryWhitelistedAccountsForClassRequest +func request_Query_ClassWhitelistedAccounts_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryClassWhitelistedAccountsRequest var metadata runtime.ServerMetadata var ( @@ -438,17 +438,17 @@ func request_Query_WhitelistedAccountsForClass_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_WhitelistedAccountsForClass_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ClassWhitelistedAccounts_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := client.WhitelistedAccountsForClass(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.ClassWhitelistedAccounts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_WhitelistedAccountsForClass_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryWhitelistedAccountsForClassRequest +func local_request_Query_ClassWhitelistedAccounts_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryClassWhitelistedAccountsRequest var metadata runtime.ServerMetadata var ( @@ -472,11 +472,11 @@ func local_request_Query_WhitelistedAccountsForClass_0(ctx context.Context, mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_WhitelistedAccountsForClass_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ClassWhitelistedAccounts_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := server.WhitelistedAccountsForClass(ctx, &protoReq) + msg, err := server.ClassWhitelistedAccounts(ctx, &protoReq) return msg, metadata, err } @@ -773,7 +773,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_WhitelistedAccountsForClass_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ClassWhitelistedAccounts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -784,7 +784,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_WhitelistedAccountsForClass_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_ClassWhitelistedAccounts_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -792,7 +792,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_WhitelistedAccountsForClass_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ClassWhitelistedAccounts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -1003,7 +1003,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_WhitelistedAccountsForClass_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ClassWhitelistedAccounts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -1012,14 +1012,14 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_WhitelistedAccountsForClass_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_ClassWhitelistedAccounts_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_WhitelistedAccountsForClass_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ClassWhitelistedAccounts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -1079,7 +1079,7 @@ var ( pattern_Query_WhitelistedAccountsForNFT_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7, 2, 8}, []string{"coreum", "asset", "nft", "v1", "classes", "class_id", "nfts", "id", "whitelisted"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_WhitelistedAccountsForClass_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"coreum", "asset", "nft", "v1", "classes", "class_id", "whitelisted"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ClassWhitelistedAccounts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"coreum", "asset", "nft", "v1", "classes", "class_id", "whitelisted"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_BurntNFT_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"coreum", "asset", "nft", "v1", "classes", "class_id", "burnt", "nft_id"}, "", runtime.AssumeColonVerbOpt(true))) @@ -1099,7 +1099,7 @@ var ( forward_Query_WhitelistedAccountsForNFT_0 = runtime.ForwardResponseMessage - forward_Query_WhitelistedAccountsForClass_0 = runtime.ForwardResponseMessage + forward_Query_ClassWhitelistedAccounts_0 = runtime.ForwardResponseMessage forward_Query_BurntNFT_0 = runtime.ForwardResponseMessage