@uniswap/client-data-api 0.0.17 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +27 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +27 -1
- package/dist/data/v1/api_connect.d.ts +19 -1
- package/dist/data/v1/api_connect.js +19 -1
- package/dist/data/v1/api_pb.d.ts +195 -0
- package/dist/data/v1/api_pb.js +258 -0
- package/dist/data/v1/auction-AuctionService_connectquery.d.ts +28 -0
- package/dist/data/v1/auction-AuctionService_connectquery.js +32 -0
- package/dist/data/v1/auction_connect.d.ts +28 -0
- package/dist/data/v1/auction_connect.js +32 -0
- package/dist/data/v1/auction_pb.d.ts +159 -0
- package/dist/data/v1/auction_pb.js +238 -0
- package/dist/data/v1/substreamEvents_pb.d.ts +2760 -0
- package/dist/data/v1/substreamEvents_pb.js +1371 -0
- package/dist/data/v1/types_pb.d.ts +94 -14
- package/dist/data/v1/types_pb.js +86 -32
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +7 -20
- package/dist/data/v1/workerService-WorkerService_connectquery.js +7 -20
- package/dist/data/v1/workerService_connect.d.ts +6 -15
- package/dist/data/v1/workerService_connect.js +6 -15
- package/dist/data/v1/workerService_pb.d.ts +16 -92
- package/dist/data/v1/workerService_pb.js +18 -140
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
2
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
5
|
*/
|
|
@@ -221,3 +221,29 @@ export declare const listTopPools: {
|
|
|
221
221
|
readonly typeName: "data.v1.DataApiService";
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
|
+
/**
|
|
225
|
+
* @generated from rpc data.v1.DataApiService.ListTopTokens
|
|
226
|
+
*/
|
|
227
|
+
export declare const listTopTokens: {
|
|
228
|
+
readonly localName: "listTopTokens";
|
|
229
|
+
readonly name: "ListTopTokens";
|
|
230
|
+
readonly kind: MethodKind.Unary;
|
|
231
|
+
readonly I: typeof ListTopTokensRequest;
|
|
232
|
+
readonly O: typeof ListTopTokensResponse;
|
|
233
|
+
readonly service: {
|
|
234
|
+
readonly typeName: "data.v1.DataApiService";
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
239
|
+
*/
|
|
240
|
+
export declare const getProtocolStats: {
|
|
241
|
+
readonly localName: "getProtocolStats";
|
|
242
|
+
readonly name: "GetProtocolStats";
|
|
243
|
+
readonly kind: MethodKind.Unary;
|
|
244
|
+
readonly I: typeof GetProtocolStatsRequest;
|
|
245
|
+
readonly O: typeof GetProtocolStatsResponse;
|
|
246
|
+
readonly service: {
|
|
247
|
+
readonly typeName: "data.v1.DataApiService";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
6
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
9
|
*/
|
|
@@ -225,3 +225,29 @@ export const listTopPools = {
|
|
|
225
225
|
typeName: "data.v1.DataApiService"
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
|
+
/**
|
|
229
|
+
* @generated from rpc data.v1.DataApiService.ListTopTokens
|
|
230
|
+
*/
|
|
231
|
+
export const listTopTokens = {
|
|
232
|
+
localName: "listTopTokens",
|
|
233
|
+
name: "ListTopTokens",
|
|
234
|
+
kind: MethodKind.Unary,
|
|
235
|
+
I: ListTopTokensRequest,
|
|
236
|
+
O: ListTopTokensResponse,
|
|
237
|
+
service: {
|
|
238
|
+
typeName: "data.v1.DataApiService"
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
243
|
+
*/
|
|
244
|
+
export const getProtocolStats = {
|
|
245
|
+
localName: "getProtocolStats",
|
|
246
|
+
name: "GetProtocolStats",
|
|
247
|
+
kind: MethodKind.Unary,
|
|
248
|
+
I: GetProtocolStatsRequest,
|
|
249
|
+
O: GetProtocolStatsResponse,
|
|
250
|
+
service: {
|
|
251
|
+
typeName: "data.v1.DataApiService"
|
|
252
|
+
}
|
|
253
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
1
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -159,5 +159,23 @@ export declare const DataApiService: {
|
|
|
159
159
|
readonly O: typeof ListTopPoolsResponse;
|
|
160
160
|
readonly kind: MethodKind.Unary;
|
|
161
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* @generated from rpc data.v1.DataApiService.ListTopTokens
|
|
164
|
+
*/
|
|
165
|
+
readonly listTopTokens: {
|
|
166
|
+
readonly name: "ListTopTokens";
|
|
167
|
+
readonly I: typeof ListTopTokensRequest;
|
|
168
|
+
readonly O: typeof ListTopTokensResponse;
|
|
169
|
+
readonly kind: MethodKind.Unary;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
173
|
+
*/
|
|
174
|
+
readonly getProtocolStats: {
|
|
175
|
+
readonly name: "GetProtocolStats";
|
|
176
|
+
readonly I: typeof GetProtocolStatsRequest;
|
|
177
|
+
readonly O: typeof GetProtocolStatsResponse;
|
|
178
|
+
readonly kind: MethodKind.Unary;
|
|
179
|
+
};
|
|
162
180
|
};
|
|
163
181
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/api.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
5
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -163,5 +163,23 @@ export const DataApiService = {
|
|
|
163
163
|
O: ListTopPoolsResponse,
|
|
164
164
|
kind: MethodKind.Unary,
|
|
165
165
|
},
|
|
166
|
+
/**
|
|
167
|
+
* @generated from rpc data.v1.DataApiService.ListTopTokens
|
|
168
|
+
*/
|
|
169
|
+
listTopTokens: {
|
|
170
|
+
name: "ListTopTokens",
|
|
171
|
+
I: ListTopTokensRequest,
|
|
172
|
+
O: ListTopTokensResponse,
|
|
173
|
+
kind: MethodKind.Unary,
|
|
174
|
+
},
|
|
175
|
+
/**
|
|
176
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
177
|
+
*/
|
|
178
|
+
getProtocolStats: {
|
|
179
|
+
name: "GetProtocolStats",
|
|
180
|
+
I: GetProtocolStatsRequest,
|
|
181
|
+
O: GetProtocolStatsResponse,
|
|
182
|
+
kind: MethodKind.Unary,
|
|
183
|
+
},
|
|
166
184
|
}
|
|
167
185
|
};
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -57,6 +57,47 @@ export declare enum TopPoolsOrderBy {
|
|
|
57
57
|
*/
|
|
58
58
|
REWARD_APR = 5
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* @generated from enum data.v1.TopTokensOrderBy
|
|
62
|
+
*/
|
|
63
|
+
export declare enum TopTokensOrderBy {
|
|
64
|
+
/**
|
|
65
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_UNSPECIFIED = 0;
|
|
66
|
+
*/
|
|
67
|
+
UNSPECIFIED = 0,
|
|
68
|
+
/**
|
|
69
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_FDV = 1;
|
|
70
|
+
*/
|
|
71
|
+
FDV = 1,
|
|
72
|
+
/**
|
|
73
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_1H = 2;
|
|
74
|
+
*/
|
|
75
|
+
VOLUME_1H = 2,
|
|
76
|
+
/**
|
|
77
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_1D = 3;
|
|
78
|
+
*/
|
|
79
|
+
VOLUME_1D = 3,
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_7D = 4;
|
|
82
|
+
*/
|
|
83
|
+
VOLUME_7D = 4,
|
|
84
|
+
/**
|
|
85
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_30D = 5;
|
|
86
|
+
*/
|
|
87
|
+
VOLUME_30D = 5,
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_1Y = 6;
|
|
90
|
+
*/
|
|
91
|
+
VOLUME_1Y = 6,
|
|
92
|
+
/**
|
|
93
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1H = 7;
|
|
94
|
+
*/
|
|
95
|
+
PRICE_CHANGE_1H = 7,
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1D = 8;
|
|
98
|
+
*/
|
|
99
|
+
PRICE_CHANGE_1D = 8
|
|
100
|
+
}
|
|
60
101
|
/**
|
|
61
102
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
62
103
|
*/
|
|
@@ -1007,3 +1048,157 @@ export declare class ListTopPoolsResponse extends Message<ListTopPoolsResponse>
|
|
|
1007
1048
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopPoolsResponse;
|
|
1008
1049
|
static equals(a: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined, b: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined): boolean;
|
|
1009
1050
|
}
|
|
1051
|
+
/**
|
|
1052
|
+
* @generated from message data.v1.ListTopTokensRequest
|
|
1053
|
+
*/
|
|
1054
|
+
export declare class ListTopTokensRequest extends Message<ListTopTokensRequest> {
|
|
1055
|
+
/**
|
|
1056
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
1057
|
+
*/
|
|
1058
|
+
chainIds: number[];
|
|
1059
|
+
/**
|
|
1060
|
+
* @generated from field: optional data.v1.TopTokensOrderBy order_by = 2;
|
|
1061
|
+
*/
|
|
1062
|
+
orderBy?: TopTokensOrderBy;
|
|
1063
|
+
/**
|
|
1064
|
+
* default false
|
|
1065
|
+
*
|
|
1066
|
+
* @generated from field: optional bool ascending = 3;
|
|
1067
|
+
*/
|
|
1068
|
+
ascending?: boolean;
|
|
1069
|
+
/**
|
|
1070
|
+
* @generated from field: optional uint32 page_size = 4;
|
|
1071
|
+
*/
|
|
1072
|
+
pageSize?: number;
|
|
1073
|
+
/**
|
|
1074
|
+
* @generated from field: optional string page_token = 5;
|
|
1075
|
+
*/
|
|
1076
|
+
pageToken?: string;
|
|
1077
|
+
constructor(data?: PartialMessage<ListTopTokensRequest>);
|
|
1078
|
+
static readonly runtime: typeof proto3;
|
|
1079
|
+
static readonly typeName = "data.v1.ListTopTokensRequest";
|
|
1080
|
+
static readonly fields: FieldList;
|
|
1081
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTopTokensRequest;
|
|
1082
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTopTokensRequest;
|
|
1083
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopTokensRequest;
|
|
1084
|
+
static equals(a: ListTopTokensRequest | PlainMessage<ListTopTokensRequest> | undefined, b: ListTopTokensRequest | PlainMessage<ListTopTokensRequest> | undefined): boolean;
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from message data.v1.ListTopTokensResponse
|
|
1088
|
+
*/
|
|
1089
|
+
export declare class ListTopTokensResponse extends Message<ListTopTokensResponse> {
|
|
1090
|
+
/**
|
|
1091
|
+
* @generated from field: repeated data.v1.Token tokens = 1;
|
|
1092
|
+
*/
|
|
1093
|
+
tokens: Token[];
|
|
1094
|
+
/**
|
|
1095
|
+
* @generated from field: optional string next_page_token = 2;
|
|
1096
|
+
*/
|
|
1097
|
+
nextPageToken?: string;
|
|
1098
|
+
constructor(data?: PartialMessage<ListTopTokensResponse>);
|
|
1099
|
+
static readonly runtime: typeof proto3;
|
|
1100
|
+
static readonly typeName = "data.v1.ListTopTokensResponse";
|
|
1101
|
+
static readonly fields: FieldList;
|
|
1102
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTopTokensResponse;
|
|
1103
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTopTokensResponse;
|
|
1104
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopTokensResponse;
|
|
1105
|
+
static equals(a: ListTopTokensResponse | PlainMessage<ListTopTokensResponse> | undefined, b: ListTopTokensResponse | PlainMessage<ListTopTokensResponse> | undefined): boolean;
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* @generated from message data.v1.GetProtocolStatsRequest
|
|
1109
|
+
*/
|
|
1110
|
+
export declare class GetProtocolStatsRequest extends Message<GetProtocolStatsRequest> {
|
|
1111
|
+
constructor(data?: PartialMessage<GetProtocolStatsRequest>);
|
|
1112
|
+
static readonly runtime: typeof proto3;
|
|
1113
|
+
static readonly typeName = "data.v1.GetProtocolStatsRequest";
|
|
1114
|
+
static readonly fields: FieldList;
|
|
1115
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolStatsRequest;
|
|
1116
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolStatsRequest;
|
|
1117
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolStatsRequest;
|
|
1118
|
+
static equals(a: GetProtocolStatsRequest | PlainMessage<GetProtocolStatsRequest> | undefined, b: GetProtocolStatsRequest | PlainMessage<GetProtocolStatsRequest> | undefined): boolean;
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* @generated from message data.v1.GetProtocolStatsResponse
|
|
1122
|
+
*/
|
|
1123
|
+
export declare class GetProtocolStatsResponse extends Message<GetProtocolStatsResponse> {
|
|
1124
|
+
/**
|
|
1125
|
+
* @generated from field: uint32 total_pools = 1;
|
|
1126
|
+
*/
|
|
1127
|
+
totalPools: number;
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: uint32 total_v2_pools = 2;
|
|
1130
|
+
*/
|
|
1131
|
+
totalV2Pools: number;
|
|
1132
|
+
/**
|
|
1133
|
+
* @generated from field: uint32 total_v3_pools = 3;
|
|
1134
|
+
*/
|
|
1135
|
+
totalV3Pools: number;
|
|
1136
|
+
/**
|
|
1137
|
+
* @generated from field: uint32 total_v4_pools = 4;
|
|
1138
|
+
*/
|
|
1139
|
+
totalV4Pools: number;
|
|
1140
|
+
/**
|
|
1141
|
+
* @generated from field: double tvl = 5;
|
|
1142
|
+
*/
|
|
1143
|
+
tvl: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* @generated from field: double v2_tvl = 6;
|
|
1146
|
+
*/
|
|
1147
|
+
v2Tvl: number;
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from field: double v3_tvl = 7;
|
|
1150
|
+
*/
|
|
1151
|
+
v3Tvl: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* @generated from field: double v4_tvl = 8;
|
|
1154
|
+
*/
|
|
1155
|
+
v4Tvl: number;
|
|
1156
|
+
/**
|
|
1157
|
+
* @generated from field: double volume_1d = 9;
|
|
1158
|
+
*/
|
|
1159
|
+
volume1d: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from field: double v2_volume_1d = 10;
|
|
1162
|
+
*/
|
|
1163
|
+
v2Volume1d: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from field: double v3_volume_1d = 11;
|
|
1166
|
+
*/
|
|
1167
|
+
v3Volume1d: number;
|
|
1168
|
+
/**
|
|
1169
|
+
* @generated from field: double v4_volume_1d = 12;
|
|
1170
|
+
*/
|
|
1171
|
+
v4Volume1d: number;
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from field: float volume_change_1d = 13;
|
|
1174
|
+
*/
|
|
1175
|
+
volumeChange1d: number;
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from field: float tvl_change_1d = 14;
|
|
1178
|
+
*/
|
|
1179
|
+
tvlChange1d: number;
|
|
1180
|
+
/**
|
|
1181
|
+
* @generated from field: float v2_tvl_change_1d = 15;
|
|
1182
|
+
*/
|
|
1183
|
+
v2TvlChange1d: number;
|
|
1184
|
+
/**
|
|
1185
|
+
* @generated from field: float v3_tvl_change_1d = 16;
|
|
1186
|
+
*/
|
|
1187
|
+
v3TvlChange1d: number;
|
|
1188
|
+
/**
|
|
1189
|
+
* @generated from field: float v4_tvl_change_1d = 17;
|
|
1190
|
+
*/
|
|
1191
|
+
v4TvlChange1d: number;
|
|
1192
|
+
/**
|
|
1193
|
+
* @generated from field: float total_pools_change_1d = 18;
|
|
1194
|
+
*/
|
|
1195
|
+
totalPoolsChange1d: number;
|
|
1196
|
+
constructor(data?: PartialMessage<GetProtocolStatsResponse>);
|
|
1197
|
+
static readonly runtime: typeof proto3;
|
|
1198
|
+
static readonly typeName = "data.v1.GetProtocolStatsResponse";
|
|
1199
|
+
static readonly fields: FieldList;
|
|
1200
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolStatsResponse;
|
|
1201
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolStatsResponse;
|
|
1202
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolStatsResponse;
|
|
1203
|
+
static equals(a: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined, b: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined): boolean;
|
|
1204
|
+
}
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -82,6 +82,60 @@ proto3.util.setEnumType(TopPoolsOrderBy, "data.v1.TopPoolsOrderBy", [
|
|
|
82
82
|
{ no: 4, name: "TOP_POOLS_ORDER_BY_APR" },
|
|
83
83
|
{ no: 5, name: "TOP_POOLS_ORDER_BY_REWARD_APR" },
|
|
84
84
|
]);
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum data.v1.TopTokensOrderBy
|
|
87
|
+
*/
|
|
88
|
+
export var TopTokensOrderBy;
|
|
89
|
+
(function (TopTokensOrderBy) {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_UNSPECIFIED = 0;
|
|
92
|
+
*/
|
|
93
|
+
TopTokensOrderBy[TopTokensOrderBy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
94
|
+
/**
|
|
95
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_FDV = 1;
|
|
96
|
+
*/
|
|
97
|
+
TopTokensOrderBy[TopTokensOrderBy["FDV"] = 1] = "FDV";
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_1H = 2;
|
|
100
|
+
*/
|
|
101
|
+
TopTokensOrderBy[TopTokensOrderBy["VOLUME_1H"] = 2] = "VOLUME_1H";
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_1D = 3;
|
|
104
|
+
*/
|
|
105
|
+
TopTokensOrderBy[TopTokensOrderBy["VOLUME_1D"] = 3] = "VOLUME_1D";
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_7D = 4;
|
|
108
|
+
*/
|
|
109
|
+
TopTokensOrderBy[TopTokensOrderBy["VOLUME_7D"] = 4] = "VOLUME_7D";
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_30D = 5;
|
|
112
|
+
*/
|
|
113
|
+
TopTokensOrderBy[TopTokensOrderBy["VOLUME_30D"] = 5] = "VOLUME_30D";
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_VOLUME_1Y = 6;
|
|
116
|
+
*/
|
|
117
|
+
TopTokensOrderBy[TopTokensOrderBy["VOLUME_1Y"] = 6] = "VOLUME_1Y";
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1H = 7;
|
|
120
|
+
*/
|
|
121
|
+
TopTokensOrderBy[TopTokensOrderBy["PRICE_CHANGE_1H"] = 7] = "PRICE_CHANGE_1H";
|
|
122
|
+
/**
|
|
123
|
+
* @generated from enum value: TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1D = 8;
|
|
124
|
+
*/
|
|
125
|
+
TopTokensOrderBy[TopTokensOrderBy["PRICE_CHANGE_1D"] = 8] = "PRICE_CHANGE_1D";
|
|
126
|
+
})(TopTokensOrderBy || (TopTokensOrderBy = {}));
|
|
127
|
+
// Retrieve enum metadata with: proto3.getEnumType(TopTokensOrderBy)
|
|
128
|
+
proto3.util.setEnumType(TopTokensOrderBy, "data.v1.TopTokensOrderBy", [
|
|
129
|
+
{ no: 0, name: "TOP_TOKENS_ORDER_BY_UNSPECIFIED" },
|
|
130
|
+
{ no: 1, name: "TOP_TOKENS_ORDER_BY_FDV" },
|
|
131
|
+
{ no: 2, name: "TOP_TOKENS_ORDER_BY_VOLUME_1H" },
|
|
132
|
+
{ no: 3, name: "TOP_TOKENS_ORDER_BY_VOLUME_1D" },
|
|
133
|
+
{ no: 4, name: "TOP_TOKENS_ORDER_BY_VOLUME_7D" },
|
|
134
|
+
{ no: 5, name: "TOP_TOKENS_ORDER_BY_VOLUME_30D" },
|
|
135
|
+
{ no: 6, name: "TOP_TOKENS_ORDER_BY_VOLUME_1Y" },
|
|
136
|
+
{ no: 7, name: "TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1H" },
|
|
137
|
+
{ no: 8, name: "TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1D" },
|
|
138
|
+
]);
|
|
85
139
|
/**
|
|
86
140
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
87
141
|
*/
|
|
@@ -1431,3 +1485,207 @@ ListTopPoolsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1431
1485
|
{ no: 1, name: "pools", kind: "message", T: Pool$1, repeated: true },
|
|
1432
1486
|
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1433
1487
|
]);
|
|
1488
|
+
/**
|
|
1489
|
+
* @generated from message data.v1.ListTopTokensRequest
|
|
1490
|
+
*/
|
|
1491
|
+
export class ListTopTokensRequest extends Message {
|
|
1492
|
+
constructor(data) {
|
|
1493
|
+
super();
|
|
1494
|
+
/**
|
|
1495
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
1496
|
+
*/
|
|
1497
|
+
this.chainIds = [];
|
|
1498
|
+
proto3.util.initPartial(data, this);
|
|
1499
|
+
}
|
|
1500
|
+
static fromBinary(bytes, options) {
|
|
1501
|
+
return new ListTopTokensRequest().fromBinary(bytes, options);
|
|
1502
|
+
}
|
|
1503
|
+
static fromJson(jsonValue, options) {
|
|
1504
|
+
return new ListTopTokensRequest().fromJson(jsonValue, options);
|
|
1505
|
+
}
|
|
1506
|
+
static fromJsonString(jsonString, options) {
|
|
1507
|
+
return new ListTopTokensRequest().fromJsonString(jsonString, options);
|
|
1508
|
+
}
|
|
1509
|
+
static equals(a, b) {
|
|
1510
|
+
return proto3.util.equals(ListTopTokensRequest, a, b);
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
ListTopTokensRequest.runtime = proto3;
|
|
1514
|
+
ListTopTokensRequest.typeName = "data.v1.ListTopTokensRequest";
|
|
1515
|
+
ListTopTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
1516
|
+
{ no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
1517
|
+
{ no: 2, name: "order_by", kind: "enum", T: proto3.getEnumType(TopTokensOrderBy), opt: true },
|
|
1518
|
+
{ no: 3, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1519
|
+
{ no: 4, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1520
|
+
{ no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1521
|
+
]);
|
|
1522
|
+
/**
|
|
1523
|
+
* @generated from message data.v1.ListTopTokensResponse
|
|
1524
|
+
*/
|
|
1525
|
+
export class ListTopTokensResponse extends Message {
|
|
1526
|
+
constructor(data) {
|
|
1527
|
+
super();
|
|
1528
|
+
/**
|
|
1529
|
+
* @generated from field: repeated data.v1.Token tokens = 1;
|
|
1530
|
+
*/
|
|
1531
|
+
this.tokens = [];
|
|
1532
|
+
proto3.util.initPartial(data, this);
|
|
1533
|
+
}
|
|
1534
|
+
static fromBinary(bytes, options) {
|
|
1535
|
+
return new ListTopTokensResponse().fromBinary(bytes, options);
|
|
1536
|
+
}
|
|
1537
|
+
static fromJson(jsonValue, options) {
|
|
1538
|
+
return new ListTopTokensResponse().fromJson(jsonValue, options);
|
|
1539
|
+
}
|
|
1540
|
+
static fromJsonString(jsonString, options) {
|
|
1541
|
+
return new ListTopTokensResponse().fromJsonString(jsonString, options);
|
|
1542
|
+
}
|
|
1543
|
+
static equals(a, b) {
|
|
1544
|
+
return proto3.util.equals(ListTopTokensResponse, a, b);
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
ListTopTokensResponse.runtime = proto3;
|
|
1548
|
+
ListTopTokensResponse.typeName = "data.v1.ListTopTokensResponse";
|
|
1549
|
+
ListTopTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
1550
|
+
{ no: 1, name: "tokens", kind: "message", T: Token, repeated: true },
|
|
1551
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1552
|
+
]);
|
|
1553
|
+
/**
|
|
1554
|
+
* @generated from message data.v1.GetProtocolStatsRequest
|
|
1555
|
+
*/
|
|
1556
|
+
export class GetProtocolStatsRequest extends Message {
|
|
1557
|
+
constructor(data) {
|
|
1558
|
+
super();
|
|
1559
|
+
proto3.util.initPartial(data, this);
|
|
1560
|
+
}
|
|
1561
|
+
static fromBinary(bytes, options) {
|
|
1562
|
+
return new GetProtocolStatsRequest().fromBinary(bytes, options);
|
|
1563
|
+
}
|
|
1564
|
+
static fromJson(jsonValue, options) {
|
|
1565
|
+
return new GetProtocolStatsRequest().fromJson(jsonValue, options);
|
|
1566
|
+
}
|
|
1567
|
+
static fromJsonString(jsonString, options) {
|
|
1568
|
+
return new GetProtocolStatsRequest().fromJsonString(jsonString, options);
|
|
1569
|
+
}
|
|
1570
|
+
static equals(a, b) {
|
|
1571
|
+
return proto3.util.equals(GetProtocolStatsRequest, a, b);
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
GetProtocolStatsRequest.runtime = proto3;
|
|
1575
|
+
GetProtocolStatsRequest.typeName = "data.v1.GetProtocolStatsRequest";
|
|
1576
|
+
GetProtocolStatsRequest.fields = proto3.util.newFieldList(() => []);
|
|
1577
|
+
/**
|
|
1578
|
+
* @generated from message data.v1.GetProtocolStatsResponse
|
|
1579
|
+
*/
|
|
1580
|
+
export class GetProtocolStatsResponse extends Message {
|
|
1581
|
+
constructor(data) {
|
|
1582
|
+
super();
|
|
1583
|
+
/**
|
|
1584
|
+
* @generated from field: uint32 total_pools = 1;
|
|
1585
|
+
*/
|
|
1586
|
+
this.totalPools = 0;
|
|
1587
|
+
/**
|
|
1588
|
+
* @generated from field: uint32 total_v2_pools = 2;
|
|
1589
|
+
*/
|
|
1590
|
+
this.totalV2Pools = 0;
|
|
1591
|
+
/**
|
|
1592
|
+
* @generated from field: uint32 total_v3_pools = 3;
|
|
1593
|
+
*/
|
|
1594
|
+
this.totalV3Pools = 0;
|
|
1595
|
+
/**
|
|
1596
|
+
* @generated from field: uint32 total_v4_pools = 4;
|
|
1597
|
+
*/
|
|
1598
|
+
this.totalV4Pools = 0;
|
|
1599
|
+
/**
|
|
1600
|
+
* @generated from field: double tvl = 5;
|
|
1601
|
+
*/
|
|
1602
|
+
this.tvl = 0;
|
|
1603
|
+
/**
|
|
1604
|
+
* @generated from field: double v2_tvl = 6;
|
|
1605
|
+
*/
|
|
1606
|
+
this.v2Tvl = 0;
|
|
1607
|
+
/**
|
|
1608
|
+
* @generated from field: double v3_tvl = 7;
|
|
1609
|
+
*/
|
|
1610
|
+
this.v3Tvl = 0;
|
|
1611
|
+
/**
|
|
1612
|
+
* @generated from field: double v4_tvl = 8;
|
|
1613
|
+
*/
|
|
1614
|
+
this.v4Tvl = 0;
|
|
1615
|
+
/**
|
|
1616
|
+
* @generated from field: double volume_1d = 9;
|
|
1617
|
+
*/
|
|
1618
|
+
this.volume1d = 0;
|
|
1619
|
+
/**
|
|
1620
|
+
* @generated from field: double v2_volume_1d = 10;
|
|
1621
|
+
*/
|
|
1622
|
+
this.v2Volume1d = 0;
|
|
1623
|
+
/**
|
|
1624
|
+
* @generated from field: double v3_volume_1d = 11;
|
|
1625
|
+
*/
|
|
1626
|
+
this.v3Volume1d = 0;
|
|
1627
|
+
/**
|
|
1628
|
+
* @generated from field: double v4_volume_1d = 12;
|
|
1629
|
+
*/
|
|
1630
|
+
this.v4Volume1d = 0;
|
|
1631
|
+
/**
|
|
1632
|
+
* @generated from field: float volume_change_1d = 13;
|
|
1633
|
+
*/
|
|
1634
|
+
this.volumeChange1d = 0;
|
|
1635
|
+
/**
|
|
1636
|
+
* @generated from field: float tvl_change_1d = 14;
|
|
1637
|
+
*/
|
|
1638
|
+
this.tvlChange1d = 0;
|
|
1639
|
+
/**
|
|
1640
|
+
* @generated from field: float v2_tvl_change_1d = 15;
|
|
1641
|
+
*/
|
|
1642
|
+
this.v2TvlChange1d = 0;
|
|
1643
|
+
/**
|
|
1644
|
+
* @generated from field: float v3_tvl_change_1d = 16;
|
|
1645
|
+
*/
|
|
1646
|
+
this.v3TvlChange1d = 0;
|
|
1647
|
+
/**
|
|
1648
|
+
* @generated from field: float v4_tvl_change_1d = 17;
|
|
1649
|
+
*/
|
|
1650
|
+
this.v4TvlChange1d = 0;
|
|
1651
|
+
/**
|
|
1652
|
+
* @generated from field: float total_pools_change_1d = 18;
|
|
1653
|
+
*/
|
|
1654
|
+
this.totalPoolsChange1d = 0;
|
|
1655
|
+
proto3.util.initPartial(data, this);
|
|
1656
|
+
}
|
|
1657
|
+
static fromBinary(bytes, options) {
|
|
1658
|
+
return new GetProtocolStatsResponse().fromBinary(bytes, options);
|
|
1659
|
+
}
|
|
1660
|
+
static fromJson(jsonValue, options) {
|
|
1661
|
+
return new GetProtocolStatsResponse().fromJson(jsonValue, options);
|
|
1662
|
+
}
|
|
1663
|
+
static fromJsonString(jsonString, options) {
|
|
1664
|
+
return new GetProtocolStatsResponse().fromJsonString(jsonString, options);
|
|
1665
|
+
}
|
|
1666
|
+
static equals(a, b) {
|
|
1667
|
+
return proto3.util.equals(GetProtocolStatsResponse, a, b);
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
GetProtocolStatsResponse.runtime = proto3;
|
|
1671
|
+
GetProtocolStatsResponse.typeName = "data.v1.GetProtocolStatsResponse";
|
|
1672
|
+
GetProtocolStatsResponse.fields = proto3.util.newFieldList(() => [
|
|
1673
|
+
{ no: 1, name: "total_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1674
|
+
{ no: 2, name: "total_v2_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1675
|
+
{ no: 3, name: "total_v3_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1676
|
+
{ no: 4, name: "total_v4_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1677
|
+
{ no: 5, name: "tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1678
|
+
{ no: 6, name: "v2_tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1679
|
+
{ no: 7, name: "v3_tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1680
|
+
{ no: 8, name: "v4_tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1681
|
+
{ no: 9, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1682
|
+
{ no: 10, name: "v2_volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1683
|
+
{ no: 11, name: "v3_volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1684
|
+
{ no: 12, name: "v4_volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1685
|
+
{ no: 13, name: "volume_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1686
|
+
{ no: 14, name: "tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1687
|
+
{ no: 15, name: "v2_tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1688
|
+
{ no: 16, name: "v3_tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1689
|
+
{ no: 17, name: "v4_tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1690
|
+
{ no: 18, name: "total_pools_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1691
|
+
]);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
5
|
+
*/
|
|
6
|
+
export declare const getBidsByWallet: {
|
|
7
|
+
readonly localName: "getBidsByWallet";
|
|
8
|
+
readonly name: "GetBidsByWallet";
|
|
9
|
+
readonly kind: MethodKind.Unary;
|
|
10
|
+
readonly I: typeof GetBidsByWalletRequest;
|
|
11
|
+
readonly O: typeof GetBidsByWalletResponse;
|
|
12
|
+
readonly service: {
|
|
13
|
+
readonly typeName: "data.v1.AuctionService";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @generated from rpc data.v1.AuctionService.GetBids
|
|
18
|
+
*/
|
|
19
|
+
export declare const getBids: {
|
|
20
|
+
readonly localName: "getBids";
|
|
21
|
+
readonly name: "GetBids";
|
|
22
|
+
readonly kind: MethodKind.Unary;
|
|
23
|
+
readonly I: typeof GetBidsRequest;
|
|
24
|
+
readonly O: typeof GetBidsResponse;
|
|
25
|
+
readonly service: {
|
|
26
|
+
readonly typeName: "data.v1.AuctionService";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
9
|
+
*/
|
|
10
|
+
export const getBidsByWallet = {
|
|
11
|
+
localName: "getBidsByWallet",
|
|
12
|
+
name: "GetBidsByWallet",
|
|
13
|
+
kind: MethodKind.Unary,
|
|
14
|
+
I: GetBidsByWalletRequest,
|
|
15
|
+
O: GetBidsByWalletResponse,
|
|
16
|
+
service: {
|
|
17
|
+
typeName: "data.v1.AuctionService"
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc data.v1.AuctionService.GetBids
|
|
22
|
+
*/
|
|
23
|
+
export const getBids = {
|
|
24
|
+
localName: "getBids",
|
|
25
|
+
name: "GetBids",
|
|
26
|
+
kind: MethodKind.Unary,
|
|
27
|
+
I: GetBidsRequest,
|
|
28
|
+
O: GetBidsResponse,
|
|
29
|
+
service: {
|
|
30
|
+
typeName: "data.v1.AuctionService"
|
|
31
|
+
}
|
|
32
|
+
};
|