mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
added initial q generation
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
75cb64de68
commit
2a7e82bcbe
226
docs/static/openapi.yml
vendored
226
docs/static/openapi.yml
vendored
@ -47499,6 +47499,162 @@ paths:
|
||||
descending order.
|
||||
|
||||
|
||||
Since: cosmos-sdk 0.43
|
||||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
/planetmint/planetmint-go/dao/distributions:
|
||||
get:
|
||||
summary: Queries a list of Distributions items.
|
||||
operationId: PlanetmintgoDaoDistributions
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
distributions:
|
||||
type: object
|
||||
properties:
|
||||
daoAddr:
|
||||
type: string
|
||||
daoAmount:
|
||||
type: string
|
||||
daoTxID:
|
||||
type: string
|
||||
investorAddr:
|
||||
type: string
|
||||
investorAmount:
|
||||
type: string
|
||||
investorTxID:
|
||||
type: string
|
||||
popAddr:
|
||||
type: string
|
||||
popAmount:
|
||||
type: string
|
||||
popTxID:
|
||||
type: string
|
||||
firstPop:
|
||||
type: string
|
||||
format: int64
|
||||
lastPop:
|
||||
type: string
|
||||
format: int64
|
||||
proposer:
|
||||
type: string
|
||||
earlyInvAddr:
|
||||
type: string
|
||||
earlyInvAmount:
|
||||
type: string
|
||||
earlyInvTxID:
|
||||
type: string
|
||||
strategicAddr:
|
||||
type: string
|
||||
strategicAmount:
|
||||
type: string
|
||||
strategicTxID:
|
||||
type: string
|
||||
pagination:
|
||||
type: object
|
||||
properties:
|
||||
next_key:
|
||||
type: string
|
||||
format: byte
|
||||
description: |-
|
||||
next_key is the key to be passed to PageRequest.key to
|
||||
query the next page most efficiently. It will be empty if
|
||||
there are no more results.
|
||||
total:
|
||||
type: string
|
||||
format: uint64
|
||||
title: >-
|
||||
total is total number of results available if
|
||||
PageRequest.count_total
|
||||
|
||||
was set, its value is undefined otherwise
|
||||
description: >-
|
||||
PageResponse is to be embedded in gRPC response messages where
|
||||
the
|
||||
|
||||
corresponding request message has used PageRequest.
|
||||
|
||||
message SomeResponse {
|
||||
repeated Bar results = 1;
|
||||
PageResponse page = 2;
|
||||
}
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
format: int32
|
||||
message:
|
||||
type: string
|
||||
details:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
'@type':
|
||||
type: string
|
||||
additionalProperties: {}
|
||||
parameters:
|
||||
- name: pagination.key
|
||||
description: |-
|
||||
key is a value returned in PageResponse.next_key to begin
|
||||
querying the next page most efficiently. Only one of offset or key
|
||||
should be set.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: byte
|
||||
- name: pagination.offset
|
||||
description: >-
|
||||
offset is a numeric offset that can be used when key is unavailable.
|
||||
|
||||
It is less efficient than using key. Only one of offset or key
|
||||
should
|
||||
|
||||
be set.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: uint64
|
||||
- name: pagination.limit
|
||||
description: >-
|
||||
limit is the total number of results to be returned in the result
|
||||
page.
|
||||
|
||||
If left empty it will default to a value to be set by each app.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: uint64
|
||||
- name: pagination.count_total
|
||||
description: >-
|
||||
count_total is set to true to indicate that the result set should
|
||||
include
|
||||
|
||||
a count of the total number of items available for pagination in
|
||||
UIs.
|
||||
|
||||
count_total is only respected when offset is used. It is ignored
|
||||
when key
|
||||
|
||||
is set.
|
||||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
- name: pagination.reverse
|
||||
description: >-
|
||||
reverse is set to true if results are to be returned in the
|
||||
descending order.
|
||||
|
||||
|
||||
Since: cosmos-sdk 0.43
|
||||
in: query
|
||||
required: false
|
||||
@ -76890,6 +77046,76 @@ definitions:
|
||||
repeated Bar results = 1;
|
||||
PageResponse page = 2;
|
||||
}
|
||||
planetmintgo.dao.QueryDistributionsResponse:
|
||||
type: object
|
||||
properties:
|
||||
distributions:
|
||||
type: object
|
||||
properties:
|
||||
daoAddr:
|
||||
type: string
|
||||
daoAmount:
|
||||
type: string
|
||||
daoTxID:
|
||||
type: string
|
||||
investorAddr:
|
||||
type: string
|
||||
investorAmount:
|
||||
type: string
|
||||
investorTxID:
|
||||
type: string
|
||||
popAddr:
|
||||
type: string
|
||||
popAmount:
|
||||
type: string
|
||||
popTxID:
|
||||
type: string
|
||||
firstPop:
|
||||
type: string
|
||||
format: int64
|
||||
lastPop:
|
||||
type: string
|
||||
format: int64
|
||||
proposer:
|
||||
type: string
|
||||
earlyInvAddr:
|
||||
type: string
|
||||
earlyInvAmount:
|
||||
type: string
|
||||
earlyInvTxID:
|
||||
type: string
|
||||
strategicAddr:
|
||||
type: string
|
||||
strategicAmount:
|
||||
type: string
|
||||
strategicTxID:
|
||||
type: string
|
||||
pagination:
|
||||
type: object
|
||||
properties:
|
||||
next_key:
|
||||
type: string
|
||||
format: byte
|
||||
description: |-
|
||||
next_key is the key to be passed to PageRequest.key to
|
||||
query the next page most efficiently. It will be empty if
|
||||
there are no more results.
|
||||
total:
|
||||
type: string
|
||||
format: uint64
|
||||
title: >-
|
||||
total is total number of results available if
|
||||
PageRequest.count_total
|
||||
|
||||
was set, its value is undefined otherwise
|
||||
description: |-
|
||||
PageResponse is to be embedded in gRPC response messages where the
|
||||
corresponding request message has used PageRequest.
|
||||
|
||||
message SomeResponse {
|
||||
repeated Bar results = 1;
|
||||
PageResponse page = 2;
|
||||
}
|
||||
planetmintgo.dao.QueryGetChallengeResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
@ -82,6 +82,12 @@ service Query {
|
||||
option (google.api.http).get = "/planetmint/dao/redeem_claim_by_liquid_tx_hash/{liquidTxHash}";
|
||||
|
||||
}
|
||||
|
||||
// Queries a list of Distributions items.
|
||||
rpc Distributions (QueryDistributionsRequest) returns (QueryDistributionsResponse) {
|
||||
option (google.api.http).get = "/planetmint/planetmint-go/dao/distributions";
|
||||
|
||||
}
|
||||
}
|
||||
// QueryParamsRequest is request type for the Query/Params RPC method.
|
||||
message QueryParamsRequest {}
|
||||
@ -177,3 +183,12 @@ message QueryRedeemClaimByLiquidTxHashResponse {
|
||||
RedeemClaim redeemClaim = 1;
|
||||
}
|
||||
|
||||
message QueryDistributionsRequest {
|
||||
cosmos.base.query.v1beta1.PageRequest pagination = 1;
|
||||
}
|
||||
|
||||
message QueryDistributionsResponse {
|
||||
DistributionOrder distributions = 1;
|
||||
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,8 @@ func GetQueryCmd(_ string) *cobra.Command {
|
||||
GetCmdShowRedeemClaim(),
|
||||
)
|
||||
|
||||
cmd.AddCommand(CmdDistributions())
|
||||
|
||||
// this line is used by starport scaffolding # 1
|
||||
|
||||
return cmd
|
||||
|
48
x/dao/client/cli/query_distributions.go
Normal file
48
x/dao/client/cli/query_distributions.go
Normal file
@ -0,0 +1,48 @@
|
||||
package cli
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
||||
"github.com/planetmint/planetmint-go/x/dao/types"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var _ = strconv.Itoa(0)
|
||||
|
||||
func CmdDistributions() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "distributions",
|
||||
Short: "Query distributions",
|
||||
Args: cobra.ExactArgs(0),
|
||||
RunE: func(cmd *cobra.Command, args []string) (err error) {
|
||||
|
||||
clientCtx, err := client.GetClientQueryContext(cmd)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
queryClient := types.NewQueryClient(clientCtx)
|
||||
|
||||
params := &types.QueryDistributionsRequest{}
|
||||
|
||||
pageReq, err := client.ReadPageRequest(cmd.Flags())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
params.Pagination = pageReq
|
||||
|
||||
res, err := queryClient.Distributions(cmd.Context(), params)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return clientCtx.PrintProto(res)
|
||||
},
|
||||
}
|
||||
|
||||
flags.AddQueryFlagsToCmd(cmd)
|
||||
|
||||
return cmd
|
||||
}
|
23
x/dao/keeper/query_distributions.go
Normal file
23
x/dao/keeper/query_distributions.go
Normal file
@ -0,0 +1,23 @@
|
||||
package keeper
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/planetmint/planetmint-go/x/dao/types"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
)
|
||||
|
||||
func (k Keeper) Distributions(goCtx context.Context, req *types.QueryDistributionsRequest) (*types.QueryDistributionsResponse, error) {
|
||||
if req == nil {
|
||||
return nil, status.Error(codes.InvalidArgument, "invalid request")
|
||||
}
|
||||
|
||||
ctx := sdk.UnwrapSDKContext(goCtx)
|
||||
|
||||
// TODO: Process the query
|
||||
_ = ctx
|
||||
|
||||
return &types.QueryDistributionsResponse{}, nil
|
||||
}
|
@ -1028,6 +1028,102 @@ func (m *QueryRedeemClaimByLiquidTxHashResponse) GetRedeemClaim() *RedeemClaim {
|
||||
return nil
|
||||
}
|
||||
|
||||
type QueryDistributionsRequest struct {
|
||||
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsRequest) Reset() { *m = QueryDistributionsRequest{} }
|
||||
func (m *QueryDistributionsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryDistributionsRequest) ProtoMessage() {}
|
||||
func (*QueryDistributionsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_07bad0eeb5b27724, []int{22}
|
||||
}
|
||||
func (m *QueryDistributionsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *QueryDistributionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_QueryDistributionsRequest.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 *QueryDistributionsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryDistributionsRequest.Merge(m, src)
|
||||
}
|
||||
func (m *QueryDistributionsRequest) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *QueryDistributionsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryDistributionsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryDistributionsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryDistributionsRequest) GetPagination() *query.PageRequest {
|
||||
if m != nil {
|
||||
return m.Pagination
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type QueryDistributionsResponse struct {
|
||||
Distributions *DistributionOrder `protobuf:"bytes,1,opt,name=distributions,proto3" json:"distributions,omitempty"`
|
||||
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsResponse) Reset() { *m = QueryDistributionsResponse{} }
|
||||
func (m *QueryDistributionsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryDistributionsResponse) ProtoMessage() {}
|
||||
func (*QueryDistributionsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_07bad0eeb5b27724, []int{23}
|
||||
}
|
||||
func (m *QueryDistributionsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *QueryDistributionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_QueryDistributionsResponse.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 *QueryDistributionsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryDistributionsResponse.Merge(m, src)
|
||||
}
|
||||
func (m *QueryDistributionsResponse) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *QueryDistributionsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryDistributionsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryDistributionsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryDistributionsResponse) GetDistributions() *DistributionOrder {
|
||||
if m != nil {
|
||||
return m.Distributions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsResponse) GetPagination() *query.PageResponse {
|
||||
if m != nil {
|
||||
return m.Pagination
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*QueryParamsRequest)(nil), "planetmintgo.dao.QueryParamsRequest")
|
||||
proto.RegisterType((*QueryParamsResponse)(nil), "planetmintgo.dao.QueryParamsResponse")
|
||||
@ -1051,87 +1147,93 @@ func init() {
|
||||
proto.RegisterType((*QueryAllRedeemClaimResponse)(nil), "planetmintgo.dao.QueryAllRedeemClaimResponse")
|
||||
proto.RegisterType((*QueryRedeemClaimByLiquidTxHashRequest)(nil), "planetmintgo.dao.QueryRedeemClaimByLiquidTxHashRequest")
|
||||
proto.RegisterType((*QueryRedeemClaimByLiquidTxHashResponse)(nil), "planetmintgo.dao.QueryRedeemClaimByLiquidTxHashResponse")
|
||||
proto.RegisterType((*QueryDistributionsRequest)(nil), "planetmintgo.dao.QueryDistributionsRequest")
|
||||
proto.RegisterType((*QueryDistributionsResponse)(nil), "planetmintgo.dao.QueryDistributionsResponse")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("planetmintgo/dao/query.proto", fileDescriptor_07bad0eeb5b27724) }
|
||||
|
||||
var fileDescriptor_07bad0eeb5b27724 = []byte{
|
||||
// 1198 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x97, 0x4f, 0x6f, 0x1b, 0x45,
|
||||
0x14, 0xc0, 0xb3, 0x69, 0x08, 0xca, 0x4b, 0x5a, 0x60, 0x68, 0x43, 0xba, 0x71, 0x4c, 0x3a, 0x49,
|
||||
0xda, 0xc4, 0x21, 0x5e, 0x92, 0x02, 0x01, 0x89, 0xa8, 0x4a, 0x4a, 0x9b, 0x56, 0x50, 0x28, 0x16,
|
||||
0xe2, 0xd0, 0x8b, 0x19, 0x7b, 0x87, 0xf5, 0x8a, 0xf5, 0xae, 0xb3, 0xbb, 0x46, 0xb1, 0x2c, 0x5f,
|
||||
0x90, 0x38, 0x70, 0x43, 0xea, 0x15, 0x89, 0x03, 0x17, 0x84, 0x04, 0xe2, 0xc2, 0x89, 0x2f, 0xd0,
|
||||
0x63, 0x25, 0x84, 0xc4, 0x09, 0xa1, 0x04, 0x89, 0x0f, 0xc0, 0x17, 0x40, 0x3b, 0xfb, 0xd6, 0x3b,
|
||||
0xeb, 0xf5, 0xae, 0x1d, 0x94, 0x4b, 0xb4, 0x9e, 0x79, 0x7f, 0x7e, 0xef, 0xcd, 0xcc, 0x7b, 0x2f,
|
||||
0x50, 0x68, 0x59, 0xcc, 0xe6, 0x7e, 0xd3, 0xb4, 0x7d, 0xc3, 0xd1, 0x74, 0xe6, 0x68, 0x47, 0x6d,
|
||||
0xee, 0x76, 0xca, 0x2d, 0xd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xc9, 0x1b, 0x30, 0x1d, 0xe6, 0x6b, 0x41, 0x59, 0x56, 0xd6, 0x67, 0x77, 0x16, 0xca, 0x83,
|
||||
0x27, 0x58, 0x0e, 0x35, 0x0e, 0xa6, 0x9e, 0xfc, 0xf9, 0xf2, 0x44, 0x05, 0xa5, 0xe9, 0x2e, 0x5c,
|
||||
0x13, 0xe6, 0x0e, 0xb9, 0xff, 0xc0, 0xb4, 0x7d, 0xf4, 0xe2, 0x1d, 0x74, 0xee, 0x31, 0xaf, 0x81,
|
||||
0xbf, 0x08, 0x81, 0xa9, 0x06, 0xf3, 0x1a, 0xc2, 0xf4, 0x4c, 0x45, 0x7c, 0x53, 0x0e, 0x34, 0x4f,
|
||||
0x11, 0xb1, 0x6e, 0xc1, 0x6c, 0x33, 0xde, 0x45, 0xb6, 0xa5, 0x34, 0x9b, 0x64, 0xa2, 0x22, 0x6b,
|
||||
0xd0, 0x3d, 0xe4, 0x4b, 0xfa, 0xd8, 0xd7, 0x75, 0x97, 0x7b, 0x51, 0x4e, 0xc8, 0x02, 0x3c, 0xcb,
|
||||
0xc2, 0x15, 0x44, 0x8c, 0x7e, 0xd2, 0x06, 0x52, 0x66, 0xa8, 0x23, 0xe5, 0x01, 0xcc, 0x49, 0x3e,
|
||||
0xa3, 0x14, 0x16, 0x73, 0x31, 0xbd, 0x4a, 0x42, 0x87, 0xee, 0xc1, 0xd5, 0x28, 0x1f, 0x95, 0xfe,
|
||||
0x75, 0x8a, 0x00, 0x97, 0x61, 0xb6, 0x66, 0x39, 0xf5, 0xcf, 0xee, 0x71, 0xd3, 0x68, 0x84, 0x69,
|
||||
0xb8, 0x50, 0x91, 0x97, 0xe8, 0x23, 0x50, 0x87, 0xa9, 0x23, 0xe0, 0xdb, 0x00, 0xf1, 0x1d, 0x45,
|
||||
0xbc, 0x42, 0x1a, 0x4f, 0xd2, 0x94, 0xe4, 0x29, 0x83, 0x97, 0x84, 0xed, 0x78, 0xbb, 0x9f, 0xb9,
|
||||
0x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1c, 0xe4, 0x4d, 0x18, 0xea, 0x6b,
|
||||
0x67, 0x53, 0x42, 0xc8, 0x6d, 0x01, 0xb9, 0x49, 0x36, 0x06, 0x21, 0x13, 0x63, 0x9f, 0x16, 0xcc,
|
||||
0x2b, 0x5a, 0x37, 0xf8, 0xdb, 0x23, 0xbf, 0x2a, 0x70, 0x65, 0xe8, 0x30, 0x90, 0xc9, 0x9d, 0x37,
|
||||
0x79, 0x64, 0x72, 0xe7, 0xce, 0x1b, 0x74, 0x57, 0x70, 0x6f, 0x13, 0x2d, 0x9f, 0x1b, 0x87, 0x18,
|
||||
0xad, 0x8b, 0x1f, 0x3d, 0xf2, 0x8d, 0x02, 0x17, 0x13, 0x13, 0x02, 0xd9, 0xcc, 0x4e, 0x5c, 0x6a,
|
||||
0x0c, 0x51, 0x5f, 0x19, 0x4f, 0x18, 0x29, 0x5f, 0x15, 0x94, 0x25, 0xb2, 0x3e, 0x48, 0x19, 0x37,
|
||||
0x64, 0xad, 0x2b, 0xcd, 0x30, 0x3d, 0xf2, 0x95, 0x02, 0xb3, 0xd2, 0x00, 0x40, 0x36, 0x32, 0xfc,
|
||||
0xa5, 0x07, 0x11, 0xb5, 0x34, 0x8e, 0x28, 0x82, 0xad, 0x08, 0xb0, 0x25, 0xb2, 0x98, 0x0d, 0xe6,
|
||||
0x91, 0xc7, 0x0a, 0xcc, 0xc9, 0x8d, 0x9a, 0x94, 0xb2, 0x83, 0x1f, 0x9c, 0x00, 0xd4, 0xcd, 0xb1,
|
||||
0x64, 0x11, 0xa7, 0x24, 0x70, 0x56, 0x09, 0x1d, 0xc4, 0xe9, 0x37, 0x47, 0xad, 0xdb, 0xc0, 0x0c,
|
||||
0x7d, 0xa9, 0x00, 0xc4, 0x3d, 0x98, 0xac, 0x67, 0xf8, 0x49, 0x4d, 0x02, 0xea, 0xc6, 0x18, 0x92,
|
||||
0xc8, 0x43, 0x05, 0x4f, 0x81, 0xa8, 0x99, 0x3c, 0x1e, 0xf9, 0x56, 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0xbd, 0xda, 0xb4, 0xf8, 0x1f, 0xfb, 0xe6,
|
||||
0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x28, 0x3e, 0x68, 0x3b, 0x07, 0x11, 0x00, 0x00,
|
||||
// 1255 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x98, 0xcf, 0x6f, 0xdc, 0x44,
|
||||
0x14, 0xc7, 0xe3, 0xb4, 0x04, 0xe5, 0x25, 0x69, 0x61, 0x68, 0x43, 0xea, 0x6c, 0x96, 0x74, 0x92,
|
||||
0xb4, 0xc9, 0x86, 0xac, 0x49, 0x02, 0x04, 0x24, 0xa2, 0x2a, 0x29, 0x6d, 0x5a, 0x41, 0xa1, 0xac,
|
||||
0x10, 0x87, 0x5e, 0x16, 0xef, 0x7a, 0xf0, 0x5a, 0x78, 0xed, 0x8d, 0xed, 0x45, 0x59, 0xad, 0xf6,
|
||||
0x82, 0xc4, 0x81, 0x1b, 0x52, 0xc5, 0x0d, 0x89, 0x03, 0x17, 0x84, 0x04, 0xea, 0x85, 0x13, 0xff,
|
||||
0x40, 0x8f, 0x95, 0x10, 0x12, 0x27, 0x84, 0x12, 0x24, 0xfe, 0x0d, 0xe4, 0xf1, 0xf3, 0x7a, 0xbc,
|
||||
0xfe, 0xb1, 0x1b, 0xb4, 0x97, 0xc8, 0x1e, 0xbf, 0xf7, 0xe6, 0xf3, 0xde, 0xcc, 0xbc, 0xf9, 0x66,
|
||||
0xa1, 0xd0, 0x32, 0x55, 0x8b, 0x79, 0x4d, 0xc3, 0xf2, 0x74, 0x5b, 0xd1, 0x54, 0x5b, 0x39, 0x6e,
|
||||
0x33, 0xa7, 0x53, 0x6e, 0x39, 0xb6, 0x67, 0x93, 0x17, 0xc4, 0xaf, 0x65, 0x4d, 0xb5, 0xe5, 0x2b,
|
||||
0xba, 0xad, 0xdb, 0xfc, 0xa3, 0xe2, 0x3f,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b9, 0xa0,
|
||||
0x56, 0xc9, 0xaf, 0x12, 0x5c, 0x4d, 0x95, 0x44, 0x64, 0x37, 0x63, 0x82, 0x3c, 0xe5, 0x25, 0xbf,
|
||||
0x7e, 0x3e, 0x27, 0x84, 0xdc, 0xe6, 0x90, 0x9b, 0x64, 0x63, 0x10, 0x32, 0x26, 0x87, 0x15, 0x5f,
|
||||
0xc7, 0x29, 0x5d, 0xff, 0x6f, 0x8f, 0xfc, 0x26, 0xc1, 0xd5, 0x54, 0x91, 0x94, 0xc9, 0x9d, 0xa7,
|
||||
0xc8, 0x32, 0xb9, 0x73, 0x75, 0x18, 0xdd, 0xe3, 0xdc, 0xdb, 0x44, 0xc9, 0xe7, 0x46, 0x71, 0xa7,
|
||||
0x74, 0xf1, 0xa1, 0x47, 0xbe, 0x93, 0x60, 0x2e, 0xa6, 0x9c, 0xc8, 0x66, 0x76, 0xe1, 0x12, 0xf2,
|
||||
0x4c, 0x7e, 0x75, 0x34, 0x63, 0xa4, 0x7c, 0x8d, 0x53, 0x96, 0xc8, 0xfa, 0x20, 0x65, 0x24, 0x54,
|
||||
0x94, 0xae, 0xa0, 0xed, 0x7a, 0xe4, 0x6b, 0x09, 0x66, 0x04, 0x61, 0x44, 0x36, 0x32, 0xe6, 0x4b,
|
||||
0x0a, 0x34, 0xb9, 0x34, 0x8a, 0x29, 0x82, 0xad, 0x70, 0xb0, 0x25, 0xb2, 0x98, 0x0d, 0xe6, 0x92,
|
||||
0xc7, 0x12, 0xcc, 0x8a, 0x02, 0x86, 0x94, 0xb2, 0x93, 0x1f, 0x54, 0x46, 0xf2, 0xe6, 0x48, 0xb6,
|
||||
0x88, 0x53, 0xe2, 0x38, 0xab, 0x84, 0x0e, 0xe2, 0xf4, 0x45, 0x83, 0xd2, 0x6d, 0x60, 0x85, 0xbe,
|
||||
0x92, 0x00, 0x22, 0x6d, 0x42, 0xd6, 0x33, 0xe6, 0x49, 0x28, 0x24, 0x79, 0x63, 0x04, 0x4b, 0xe4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0x16, 0xa5,
|
||||
0xbf, 0x4f, 0x8b, 0xd2, 0x37, 0x67, 0xc5, 0x89, 0x67, 0x67, 0xc5, 0x89, 0x3f, 0xcf, 0x8a, 0x13,
|
||||
0x8f, 0x14, 0xdd, 0xf0, 0x1a, 0xed, 0x5a, 0xb9, 0x6e, 0x37, 0xb3, 0x03, 0x9e, 0xf0, 0x90, 0x5e,
|
||||
0xa7, 0xc5, 0xdc, 0xda, 0x14, 0xff, 0x75, 0x64, 0xf7, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3,
|
||||
0x4c, 0xcf, 0xed, 0xc1, 0x12, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@ -1167,6 +1269,8 @@ type QueryClient interface {
|
||||
RedeemClaimAll(ctx context.Context, in *QueryAllRedeemClaimRequest, opts ...grpc.CallOption) (*QueryAllRedeemClaimResponse, error)
|
||||
// Queries a list of RedeemClaimByLiquidTxHash items.
|
||||
RedeemClaimByLiquidTxHash(ctx context.Context, in *QueryRedeemClaimByLiquidTxHashRequest, opts ...grpc.CallOption) (*QueryRedeemClaimByLiquidTxHashResponse, error)
|
||||
// Queries a list of Distributions items.
|
||||
Distributions(ctx context.Context, in *QueryDistributionsRequest, opts ...grpc.CallOption) (*QueryDistributionsResponse, error)
|
||||
}
|
||||
|
||||
type queryClient struct {
|
||||
@ -1276,6 +1380,15 @@ func (c *queryClient) RedeemClaimByLiquidTxHash(ctx context.Context, in *QueryRe
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *queryClient) Distributions(ctx context.Context, in *QueryDistributionsRequest, opts ...grpc.CallOption) (*QueryDistributionsResponse, error) {
|
||||
out := new(QueryDistributionsResponse)
|
||||
err := c.cc.Invoke(ctx, "/planetmintgo.dao.Query/Distributions", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// QueryServer is the server API for Query service.
|
||||
type QueryServer interface {
|
||||
// Parameters queries the parameters of the module.
|
||||
@ -1299,6 +1412,8 @@ type QueryServer interface {
|
||||
RedeemClaimAll(context.Context, *QueryAllRedeemClaimRequest) (*QueryAllRedeemClaimResponse, error)
|
||||
// Queries a list of RedeemClaimByLiquidTxHash items.
|
||||
RedeemClaimByLiquidTxHash(context.Context, *QueryRedeemClaimByLiquidTxHashRequest) (*QueryRedeemClaimByLiquidTxHashResponse, error)
|
||||
// Queries a list of Distributions items.
|
||||
Distributions(context.Context, *QueryDistributionsRequest) (*QueryDistributionsResponse, error)
|
||||
}
|
||||
|
||||
// UnimplementedQueryServer can be embedded to have forward compatible implementations.
|
||||
@ -1338,6 +1453,9 @@ func (*UnimplementedQueryServer) RedeemClaimAll(ctx context.Context, req *QueryA
|
||||
func (*UnimplementedQueryServer) RedeemClaimByLiquidTxHash(ctx context.Context, req *QueryRedeemClaimByLiquidTxHashRequest) (*QueryRedeemClaimByLiquidTxHashResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method RedeemClaimByLiquidTxHash not implemented")
|
||||
}
|
||||
func (*UnimplementedQueryServer) Distributions(ctx context.Context, req *QueryDistributionsRequest) (*QueryDistributionsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Distributions not implemented")
|
||||
}
|
||||
|
||||
func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
|
||||
s.RegisterService(&_Query_serviceDesc, srv)
|
||||
@ -1541,6 +1659,24 @@ func _Query_RedeemClaimByLiquidTxHash_Handler(srv interface{}, ctx context.Conte
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Query_Distributions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(QueryDistributionsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(QueryServer).Distributions(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/planetmintgo.dao.Query/Distributions",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(QueryServer).Distributions(ctx, req.(*QueryDistributionsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var Query_serviceDesc = _Query_serviceDesc
|
||||
var _Query_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "planetmintgo.dao.Query",
|
||||
@ -1590,6 +1726,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{
|
||||
MethodName: "RedeemClaimByLiquidTxHash",
|
||||
Handler: _Query_RedeemClaimByLiquidTxHash_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Distributions",
|
||||
Handler: _Query_Distributions_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "planetmintgo/dao/query.proto",
|
||||
@ -2355,6 +2495,88 @@ func (m *QueryRedeemClaimByLiquidTxHashResponse) MarshalToSizedBuffer(dAtA []byt
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsRequest) 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 *QueryDistributionsRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsRequest) 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] = 0xa
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsResponse) 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 *QueryDistributionsResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsResponse) 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 m.Distributions != nil {
|
||||
{
|
||||
size, err := m.Distributions.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 encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
|
||||
offset -= sovQuery(v)
|
||||
base := offset
|
||||
@ -2662,6 +2884,36 @@ func (m *QueryRedeemClaimByLiquidTxHashResponse) Size() (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsRequest) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
var l int
|
||||
_ = l
|
||||
if m.Pagination != nil {
|
||||
l = m.Pagination.Size()
|
||||
n += 1 + l + sovQuery(uint64(l))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *QueryDistributionsResponse) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
var l int
|
||||
_ = l
|
||||
if m.Distributions != nil {
|
||||
l = m.Distributions.Size()
|
||||
n += 1 + l + sovQuery(uint64(l))
|
||||
}
|
||||
if m.Pagination != nil {
|
||||
l = m.Pagination.Size()
|
||||
n += 1 + l + sovQuery(uint64(l))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func sovQuery(x uint64) (n int) {
|
||||
return (math_bits.Len64(x|1) + 6) / 7
|
||||
}
|
||||
@ -4572,6 +4824,214 @@ func (m *QueryRedeemClaimByLiquidTxHashResponse) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *QueryDistributionsRequest) 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: QueryDistributionsRequest: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: QueryDistributionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
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 *QueryDistributionsResponse) 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: QueryDistributionsResponse: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: QueryDistributionsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Distributions", 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.Distributions == nil {
|
||||
m.Distributions = &DistributionOrder{}
|
||||
}
|
||||
if err := m.Distributions.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 skipQuery(dAtA []byte) (n int, err error) {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
|
@ -559,6 +559,42 @@ func local_request_Query_RedeemClaimByLiquidTxHash_0(ctx context.Context, marsha
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
filter_Query_Distributions_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
|
||||
)
|
||||
|
||||
func request_Query_Distributions_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryDistributionsRequest
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Distributions_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := client.Distributions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||
return msg, metadata, err
|
||||
|
||||
}
|
||||
|
||||
func local_request_Query_Distributions_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryDistributionsRequest
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Distributions_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := server.Distributions(ctx, &protoReq)
|
||||
return msg, metadata, err
|
||||
|
||||
}
|
||||
|
||||
// RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
|
||||
// UnaryRPC :call QueryServer directly.
|
||||
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
|
||||
@ -818,6 +854,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("GET", pattern_Query_Distributions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Distributions_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 {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
|
||||
forward_Query_Distributions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||
|
||||
})
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -1079,6 +1138,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("GET", pattern_Query_Distributions_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)
|
||||
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
resp, md, err := request_Query_Distributions_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_Distributions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||
|
||||
})
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -1104,6 +1183,8 @@ var (
|
||||
pattern_Query_RedeemClaimAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "dao", "redeem_claim"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
|
||||
pattern_Query_RedeemClaimByLiquidTxHash_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "redeem_claim_by_liquid_tx_hash", "liquidTxHash"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
|
||||
pattern_Query_Distributions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"planetmint", "planetmint-go", "dao", "distributions"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
)
|
||||
|
||||
var (
|
||||
@ -1128,4 +1209,6 @@ var (
|
||||
forward_Query_RedeemClaimAll_0 = runtime.ForwardResponseMessage
|
||||
|
||||
forward_Query_RedeemClaimByLiquidTxHash_0 = runtime.ForwardResponseMessage
|
||||
|
||||
forward_Query_Distributions_0 = runtime.ForwardResponseMessage
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user