chore: fix some comments for struct field (#21027)

Signed-off-by: sjtucoder <sjtucoder@icloud.com>
This commit is contained in:
sjtucoder 2024-07-23 17:36:49 +09:00 committed by GitHub
parent 67b5a5d268
commit fa612ef9d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ const (
type QueryClient interface {
// Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
// BalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
// BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
BalanceByQueryString(ctx context.Context, in *QueryBalanceByQueryStringRequest, opts ...grpc.CallOption) (*QueryBalanceByQueryStringResponse, error)
// Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
Owner(ctx context.Context, in *QueryOwnerRequest, opts ...grpc.CallOption) (*QueryOwnerResponse, error)
@ -186,7 +186,7 @@ func (c *queryClient) Classes(ctx context.Context, in *QueryClassesRequest, opts
type QueryServer interface {
// Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
// BalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
// BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
BalanceByQueryString(context.Context, *QueryBalanceByQueryStringRequest) (*QueryBalanceByQueryStringResponse, error)
// Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error)

View File

@ -29831,7 +29831,7 @@ paths:
/cosmos/nft/v1beta1/balance:
get:
summary: >-
BalancebyQueryString queries the number of NFTs of a given class owned
BalanceByQueryString queries the number of NFTs of a given class owned
by the owner, same as balanceOf in ERC721
operationId: BalanceByQueryString
responses:

View File

@ -15,7 +15,7 @@ service Query {
option (google.api.http).get = "/cosmos/nft/v1beta1/balance/{owner}/{class_id}";
}
// BalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
// BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
rpc BalanceByQueryString(QueryBalanceByQueryStringRequest) returns (QueryBalanceByQueryStringResponse) {
option (google.api.http).get = "/cosmos/nft/v1beta1/balance";
option (cosmos_proto.method_added_in) = "nft v0.1.1";

View File

@ -1333,7 +1333,7 @@ const _ = grpc.SupportPackageIsVersion4
type QueryClient interface {
// Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
// BalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
// BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
BalanceByQueryString(ctx context.Context, in *QueryBalanceByQueryStringRequest, opts ...grpc.CallOption) (*QueryBalanceByQueryStringResponse, error)
// Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
Owner(ctx context.Context, in *QueryOwnerRequest, opts ...grpc.CallOption) (*QueryOwnerResponse, error)
@ -1478,7 +1478,7 @@ func (c *queryClient) Classes(ctx context.Context, in *QueryClassesRequest, opts
type QueryServer interface {
// Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
// BalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
// BalanceByQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
BalanceByQueryString(context.Context, *QueryBalanceByQueryStringRequest) (*QueryBalanceByQueryStringResponse, error)
// Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
Owner(context.Context, *QueryOwnerRequest) (*QueryOwnerResponse, error)