chore: fix some comments for struct field (#21027)
Signed-off-by: sjtucoder <sjtucoder@icloud.com>
This commit is contained in:
parent
67b5a5d268
commit
fa612ef9d7
@ -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)
|
||||
|
||||
2
client/docs/swagger-ui/swagger.yaml
vendored
2
client/docs/swagger-ui/swagger.yaml
vendored
@ -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:
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user