|
|
|
@ -217,6 +217,104 @@ func (m *QueryAllBalancesResponse) GetPagination() *query.PageResponse {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// QuerySpendableBalancesRequest defines the gRPC request structure for querying
|
|
|
|
|
// an account's spendable balances.
|
|
|
|
|
type QuerySpendableBalancesRequest struct {
|
|
|
|
|
// address is the address to query spendable balances for.
|
|
|
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
|
|
|
// pagination defines an optional pagination for the request.
|
|
|
|
|
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) Reset() { *m = QuerySpendableBalancesRequest{} }
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QuerySpendableBalancesRequest) ProtoMessage() {}
|
|
|
|
|
func (*QuerySpendableBalancesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{4}
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QuerySpendableBalancesRequest.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QuerySpendableBalancesRequest.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QuerySpendableBalancesRequest.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QuerySpendableBalancesRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
// QuerySpendableBalancesResponse defines the gRPC response structure for querying
|
|
|
|
|
// an account's spendable balances.
|
|
|
|
|
type QuerySpendableBalancesResponse struct {
|
|
|
|
|
// balances is the spendable balances of all the coins.
|
|
|
|
|
Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"`
|
|
|
|
|
// pagination defines the pagination in the response.
|
|
|
|
|
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) Reset() { *m = QuerySpendableBalancesResponse{} }
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QuerySpendableBalancesResponse) ProtoMessage() {}
|
|
|
|
|
func (*QuerySpendableBalancesResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{5}
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QuerySpendableBalancesResponse.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QuerySpendableBalancesResponse.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QuerySpendableBalancesResponse.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QuerySpendableBalancesResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Balances
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) GetPagination() *query.PageResponse {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Pagination
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
|
|
|
|
|
// method.
|
|
|
|
|
type QueryTotalSupplyRequest struct {
|
|
|
|
@ -230,7 +328,7 @@ func (m *QueryTotalSupplyRequest) Reset() { *m = QueryTotalSupplyRequest
|
|
|
|
|
func (m *QueryTotalSupplyRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryTotalSupplyRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{4}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{6}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -274,7 +372,7 @@ func (m *QueryTotalSupplyResponse) Reset() { *m = QueryTotalSupplyRespon
|
|
|
|
|
func (m *QueryTotalSupplyResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryTotalSupplyResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{5}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{7}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -327,7 +425,7 @@ func (m *QuerySupplyOfRequest) Reset() { *m = QuerySupplyOfRequest{} }
|
|
|
|
|
func (m *QuerySupplyOfRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QuerySupplyOfRequest) ProtoMessage() {}
|
|
|
|
|
func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{6}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{8}
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -373,7 +471,7 @@ func (m *QuerySupplyOfResponse) Reset() { *m = QuerySupplyOfResponse{} }
|
|
|
|
|
func (m *QuerySupplyOfResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QuerySupplyOfResponse) ProtoMessage() {}
|
|
|
|
|
func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{7}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{9}
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -417,7 +515,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
|
|
|
|
|
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryParamsRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{8}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{10}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -455,7 +553,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
|
|
|
|
|
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryParamsResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{9}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{11}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -501,7 +599,7 @@ func (m *QueryDenomsMetadataRequest) Reset() { *m = QueryDenomsMetadataR
|
|
|
|
|
func (m *QueryDenomsMetadataRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryDenomsMetadataRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryDenomsMetadataRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{10}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{12}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryDenomsMetadataRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -550,7 +648,7 @@ func (m *QueryDenomsMetadataResponse) Reset() { *m = QueryDenomsMetadata
|
|
|
|
|
func (m *QueryDenomsMetadataResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryDenomsMetadataResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryDenomsMetadataResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{11}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{13}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryDenomsMetadataResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -603,7 +701,7 @@ func (m *QueryDenomMetadataRequest) Reset() { *m = QueryDenomMetadataReq
|
|
|
|
|
func (m *QueryDenomMetadataRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryDenomMetadataRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryDenomMetadataRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{12}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{14}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryDenomMetadataRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -650,7 +748,7 @@ func (m *QueryDenomMetadataResponse) Reset() { *m = QueryDenomMetadataRe
|
|
|
|
|
func (m *QueryDenomMetadataResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryDenomMetadataResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryDenomMetadataResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{13}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{15}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryDenomMetadataResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -700,7 +798,7 @@ func (m *QueryDenomOwnersRequest) Reset() { *m = QueryDenomOwnersRequest
|
|
|
|
|
func (m *QueryDenomOwnersRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryDenomOwnersRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryDenomOwnersRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{14}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{16}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryDenomOwnersRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -757,7 +855,7 @@ func (m *DenomOwner) Reset() { *m = DenomOwner{} }
|
|
|
|
|
func (m *DenomOwner) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*DenomOwner) ProtoMessage() {}
|
|
|
|
|
func (*DenomOwner) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{15}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{17}
|
|
|
|
|
}
|
|
|
|
|
func (m *DenomOwner) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -811,7 +909,7 @@ func (m *QueryDenomOwnersResponse) Reset() { *m = QueryDenomOwnersRespon
|
|
|
|
|
func (m *QueryDenomOwnersResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryDenomOwnersResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryDenomOwnersResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{16}
|
|
|
|
|
return fileDescriptor_9c6fc1939682df13, []int{18}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryDenomOwnersResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@ -859,6 +957,8 @@ func init() {
|
|
|
|
|
proto.RegisterType((*QueryBalanceResponse)(nil), "cosmos.bank.v1beta1.QueryBalanceResponse")
|
|
|
|
|
proto.RegisterType((*QueryAllBalancesRequest)(nil), "cosmos.bank.v1beta1.QueryAllBalancesRequest")
|
|
|
|
|
proto.RegisterType((*QueryAllBalancesResponse)(nil), "cosmos.bank.v1beta1.QueryAllBalancesResponse")
|
|
|
|
|
proto.RegisterType((*QuerySpendableBalancesRequest)(nil), "cosmos.bank.v1beta1.QuerySpendableBalancesRequest")
|
|
|
|
|
proto.RegisterType((*QuerySpendableBalancesResponse)(nil), "cosmos.bank.v1beta1.QuerySpendableBalancesResponse")
|
|
|
|
|
proto.RegisterType((*QueryTotalSupplyRequest)(nil), "cosmos.bank.v1beta1.QueryTotalSupplyRequest")
|
|
|
|
|
proto.RegisterType((*QueryTotalSupplyResponse)(nil), "cosmos.bank.v1beta1.QueryTotalSupplyResponse")
|
|
|
|
|
proto.RegisterType((*QuerySupplyOfRequest)(nil), "cosmos.bank.v1beta1.QuerySupplyOfRequest")
|
|
|
|
@ -877,67 +977,70 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("cosmos/bank/v1beta1/query.proto", fileDescriptor_9c6fc1939682df13) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_9c6fc1939682df13 = []byte{
|
|
|
|
|
// 948 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcf, 0x6f, 0xe3, 0x44,
|
|
|
|
|
0x14, 0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0xcf, 0x4a, 0x5c, 0x0e, 0xdd, 0x32, 0xe2, 0x92, 0xca, 0x88, 0x86,
|
|
|
|
|
0x6e, 0xf2, 0xee, 0x89, 0x5c, 0xb8, 0x4d, 0xbf, 0x24, 0xf0, 0x48, 0x72, 0x4a, 0xd2, 0x8b, 0x32,
|
|
|
|
|
0x4f, 0x8e, 0x6d, 0x6b, 0x27, 0xbb, 0x43, 0xa6, 0xf3, 0x9c, 0xc0, 0x4a, 0x3f, 0x27, 0x50, 0x88,
|
|
|
|
|
0x75, 0xe5, 0xb4, 0x9a, 0x9f, 0x9e, 0x59, 0x69, 0x35, 0x6f, 0x68, 0xf5, 0x76, 0x45, 0x42, 0x7b,
|
|
|
|
|
0x86, 0x6e, 0xce, 0x86, 0x86, 0x53, 0x40, 0x6b, 0x58, 0xbb, 0x7e, 0x7a, 0x56, 0x22, 0xf7, 0xce,
|
|
|
|
|
0x4a, 0xe4, 0xb7, 0xb3, 0x12, 0xf9, 0xf8, 0xbc, 0x94, 0xbb, 0x77, 0x5e, 0xca, 0xfd, 0x7c, 0x5e,
|
|
|
|
|
0xca, 0xbd, 0xb9, 0x99, 0xfa, 0xa2, 0x7c, 0x4f, 0xc5, 0x96, 0x0f, 0xcb, 0x66, 0x5e, 0xfe, 0x9b,
|
|
|
|
|
0xbb, 0xfb, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8d, 0xb5, 0x9c, 0x3a, 0xd9, 0x0f, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
@ -956,6 +1059,9 @@ type QueryClient interface {
|
|
|
|
|
Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
|
|
|
|
|
// AllBalances queries the balance of all coins for a single account.
|
|
|
|
|
AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error)
|
|
|
|
|
// SpendableBalances queries the spenable balance of all coins for a single
|
|
|
|
|
// account.
|
|
|
|
|
SpendableBalances(ctx context.Context, in *QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*QuerySpendableBalancesResponse, error)
|
|
|
|
|
// TotalSupply queries the total supply of all coins.
|
|
|
|
|
TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error)
|
|
|
|
|
// SupplyOf queries the supply of a single coin.
|
|
|
|
@ -998,6 +1104,15 @@ func (c *queryClient) AllBalances(ctx context.Context, in *QueryAllBalancesReque
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *queryClient) SpendableBalances(ctx context.Context, in *QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*QuerySpendableBalancesResponse, error) {
|
|
|
|
|
out := new(QuerySpendableBalancesResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/cosmos.bank.v1beta1.Query/SpendableBalances", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) {
|
|
|
|
|
out := new(QueryTotalSupplyResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/cosmos.bank.v1beta1.Query/TotalSupply", in, out, opts...)
|
|
|
|
@ -1058,6 +1173,9 @@ type QueryServer interface {
|
|
|
|
|
Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
|
|
|
|
|
// AllBalances queries the balance of all coins for a single account.
|
|
|
|
|
AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
|
|
|
|
|
// SpendableBalances queries the spenable balance of all coins for a single
|
|
|
|
|
// account.
|
|
|
|
|
SpendableBalances(context.Context, *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error)
|
|
|
|
|
// TotalSupply queries the total supply of all coins.
|
|
|
|
|
TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
|
|
|
|
|
// SupplyOf queries the supply of a single coin.
|
|
|
|
@ -1084,6 +1202,9 @@ func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceR
|
|
|
|
|
func (*UnimplementedQueryServer) AllBalances(ctx context.Context, req *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AllBalances not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedQueryServer) SpendableBalances(ctx context.Context, req *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SpendableBalances not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedQueryServer) TotalSupply(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method TotalSupply not implemented")
|
|
|
|
|
}
|
|
|
|
@ -1143,6 +1264,24 @@ func _Query_AllBalances_Handler(srv interface{}, ctx context.Context, dec func(i
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Query_SpendableBalances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(QuerySpendableBalancesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(QueryServer).SpendableBalances(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/cosmos.bank.v1beta1.Query/SpendableBalances",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(QueryServer).SpendableBalances(ctx, req.(*QuerySpendableBalancesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Query_TotalSupply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(QueryTotalSupplyRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
@ -1263,6 +1402,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "AllBalances",
|
|
|
|
|
Handler: _Query_AllBalances_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "SpendableBalances",
|
|
|
|
|
Handler: _Query_SpendableBalances_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "TotalSupply",
|
|
|
|
|
Handler: _Query_TotalSupply_Handler,
|
|
|
|
@ -1455,6 +1598,97 @@ func (m *QueryAllBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if m.Pagination != nil {
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintQuery(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
|
}
|
|
|
|
|
if len(m.Address) > 0 {
|
|
|
|
|
i -= len(m.Address)
|
|
|
|
|
copy(dAtA[i:], m.Address)
|
|
|
|
|
i = encodeVarintQuery(dAtA, i, uint64(len(m.Address)))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
|
}
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if m.Pagination != nil {
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintQuery(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
|
}
|
|
|
|
|
if len(m.Balances) > 0 {
|
|
|
|
|
for iNdEx := len(m.Balances) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Balances[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintQuery(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryTotalSupplyRequest) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
@ -2013,6 +2247,42 @@ func (m *QueryAllBalancesResponse) Size() (n int) {
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
l = len(m.Address)
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 1 + l + sovQuery(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
if m.Pagination != nil {
|
|
|
|
|
l = m.Pagination.Size()
|
|
|
|
|
n += 1 + l + sovQuery(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if len(m.Balances) > 0 {
|
|
|
|
|
for _, e := range m.Balances {
|
|
|
|
|
l = e.Size()
|
|
|
|
|
n += 1 + l + sovQuery(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if m.Pagination != nil {
|
|
|
|
|
l = m.Pagination.Size()
|
|
|
|
|
n += 1 + l + sovQuery(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryTotalSupplyRequest) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
@ -2640,6 +2910,244 @@ func (m *QueryAllBalancesResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: QuerySpendableBalancesRequest: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QuerySpendableBalancesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
|
|
|
|
|
}
|
|
|
|
|
var stringLen uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
|
if intStringLen < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
m.Address = string(dAtA[iNdEx:postIndex])
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
case 2:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
|
|
|
}
|
|
|
|
|
var msglen int
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if msglen < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if m.Pagination == nil {
|
|
|
|
|
m.Pagination = &query.PageRequest{}
|
|
|
|
|
}
|
|
|
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipQuery(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *QuerySpendableBalancesResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: QuerySpendableBalancesResponse: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QuerySpendableBalancesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Balances", wireType)
|
|
|
|
|
}
|
|
|
|
|
var msglen int
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if msglen < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
m.Balances = append(m.Balances, types.Coin{})
|
|
|
|
|
if err := m.Balances[len(m.Balances)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
case 2:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
|
|
|
}
|
|
|
|
|
var msglen int
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if msglen < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if m.Pagination == nil {
|
|
|
|
|
m.Pagination = &query.PageResponse{}
|
|
|
|
|
}
|
|
|
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipQuery(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryTotalSupplyRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|