@uniswap/client-data-api 0.0.22 → 0.0.24
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 +14 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v1/api_connect.d.ts +10 -1
- package/dist/data/v1/api_connect.js +10 -1
- package/dist/data/v1/api_pb.d.ts +104 -0
- package/dist/data/v1/api_pb.js +156 -1
- package/dist/data/v1/auction_pb.d.ts +4 -0
- package/dist/data/v1/auction_pb.js +5 -0
- 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, 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
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, 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
|
*/
|
|
@@ -78,6 +78,19 @@ export declare const listPortfolios: {
|
|
|
78
78
|
readonly typeName: "data.v1.DataApiService";
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* @generated from rpc data.v1.DataApiService.GetPortfolioChart
|
|
83
|
+
*/
|
|
84
|
+
export declare const getPortfolioChart: {
|
|
85
|
+
readonly localName: "getPortfolioChart";
|
|
86
|
+
readonly name: "GetPortfolioChart";
|
|
87
|
+
readonly kind: MethodKind.Unary;
|
|
88
|
+
readonly I: typeof GetPortfolioChartRequest;
|
|
89
|
+
readonly O: typeof GetPortfolioChartResponse;
|
|
90
|
+
readonly service: {
|
|
91
|
+
readonly typeName: "data.v1.DataApiService";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
81
94
|
/**
|
|
82
95
|
* @generated from rpc data.v1.DataApiService.GetTransaction
|
|
83
96
|
*/
|
|
@@ -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, 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
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, 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
|
*/
|
|
@@ -82,6 +82,19 @@ export const listPortfolios = {
|
|
|
82
82
|
typeName: "data.v1.DataApiService"
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* @generated from rpc data.v1.DataApiService.GetPortfolioChart
|
|
87
|
+
*/
|
|
88
|
+
export const getPortfolioChart = {
|
|
89
|
+
localName: "getPortfolioChart",
|
|
90
|
+
name: "GetPortfolioChart",
|
|
91
|
+
kind: MethodKind.Unary,
|
|
92
|
+
I: GetPortfolioChartRequest,
|
|
93
|
+
O: GetPortfolioChartResponse,
|
|
94
|
+
service: {
|
|
95
|
+
typeName: "data.v1.DataApiService"
|
|
96
|
+
}
|
|
97
|
+
};
|
|
85
98
|
/**
|
|
86
99
|
* @generated from rpc data.v1.DataApiService.GetTransaction
|
|
87
100
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
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";
|
|
1
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, 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
|
|
@@ -60,6 +60,15 @@ export declare const DataApiService: {
|
|
|
60
60
|
readonly O: typeof ListPortfoliosResponse;
|
|
61
61
|
readonly kind: MethodKind.Unary;
|
|
62
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* @generated from rpc data.v1.DataApiService.GetPortfolioChart
|
|
65
|
+
*/
|
|
66
|
+
readonly getPortfolioChart: {
|
|
67
|
+
readonly name: "GetPortfolioChart";
|
|
68
|
+
readonly I: typeof GetPortfolioChartRequest;
|
|
69
|
+
readonly O: typeof GetPortfolioChartResponse;
|
|
70
|
+
readonly kind: MethodKind.Unary;
|
|
71
|
+
};
|
|
63
72
|
/**
|
|
64
73
|
* @generated from rpc data.v1.DataApiService.GetTransaction
|
|
65
74
|
*/
|
|
@@ -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, 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";
|
|
5
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, 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
|
|
@@ -64,6 +64,15 @@ export const DataApiService = {
|
|
|
64
64
|
O: ListPortfoliosResponse,
|
|
65
65
|
kind: MethodKind.Unary,
|
|
66
66
|
},
|
|
67
|
+
/**
|
|
68
|
+
* @generated from rpc data.v1.DataApiService.GetPortfolioChart
|
|
69
|
+
*/
|
|
70
|
+
getPortfolioChart: {
|
|
71
|
+
name: "GetPortfolioChart",
|
|
72
|
+
I: GetPortfolioChartRequest,
|
|
73
|
+
O: GetPortfolioChartResponse,
|
|
74
|
+
kind: MethodKind.Unary,
|
|
75
|
+
},
|
|
67
76
|
/**
|
|
68
77
|
* @generated from rpc data.v1.DataApiService.GetTransaction
|
|
69
78
|
*/
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -98,6 +98,39 @@ export declare enum TopTokensOrderBy {
|
|
|
98
98
|
*/
|
|
99
99
|
PRICE_CHANGE_1D = 8
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum data.v1.ChartPeriod
|
|
103
|
+
*/
|
|
104
|
+
export declare enum ChartPeriod {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum value: CHART_PERIOD_UNSPECIFIED = 0;
|
|
107
|
+
*/
|
|
108
|
+
UNSPECIFIED = 0,
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: CHART_PERIOD_HOUR = 1;
|
|
111
|
+
*/
|
|
112
|
+
HOUR = 1,
|
|
113
|
+
/**
|
|
114
|
+
* @generated from enum value: CHART_PERIOD_DAY = 2;
|
|
115
|
+
*/
|
|
116
|
+
DAY = 2,
|
|
117
|
+
/**
|
|
118
|
+
* @generated from enum value: CHART_PERIOD_WEEK = 3;
|
|
119
|
+
*/
|
|
120
|
+
WEEK = 3,
|
|
121
|
+
/**
|
|
122
|
+
* @generated from enum value: CHART_PERIOD_MONTH = 4;
|
|
123
|
+
*/
|
|
124
|
+
MONTH = 4,
|
|
125
|
+
/**
|
|
126
|
+
* @generated from enum value: CHART_PERIOD_YEAR = 5;
|
|
127
|
+
*/
|
|
128
|
+
YEAR = 5,
|
|
129
|
+
/**
|
|
130
|
+
* @generated from enum value: CHART_PERIOD_MAX = 6;
|
|
131
|
+
*/
|
|
132
|
+
MAX = 6
|
|
133
|
+
}
|
|
101
134
|
/**
|
|
102
135
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
103
136
|
*/
|
|
@@ -1202,3 +1235,74 @@ export declare class GetProtocolStatsResponse extends Message<GetProtocolStatsRe
|
|
|
1202
1235
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolStatsResponse;
|
|
1203
1236
|
static equals(a: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined, b: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined): boolean;
|
|
1204
1237
|
}
|
|
1238
|
+
/**
|
|
1239
|
+
* @generated from message data.v1.GetPortfolioChartRequest
|
|
1240
|
+
*/
|
|
1241
|
+
export declare class GetPortfolioChartRequest extends Message<GetPortfolioChartRequest> {
|
|
1242
|
+
/**
|
|
1243
|
+
* @generated from field: data.v1.WalletAccount wallet_account = 1;
|
|
1244
|
+
*/
|
|
1245
|
+
walletAccount?: WalletAccount;
|
|
1246
|
+
/**
|
|
1247
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
1248
|
+
*/
|
|
1249
|
+
chainIds: number[];
|
|
1250
|
+
/**
|
|
1251
|
+
* @generated from field: data.v1.ChartPeriod chart_period = 3;
|
|
1252
|
+
*/
|
|
1253
|
+
chartPeriod: ChartPeriod;
|
|
1254
|
+
constructor(data?: PartialMessage<GetPortfolioChartRequest>);
|
|
1255
|
+
static readonly runtime: typeof proto3;
|
|
1256
|
+
static readonly typeName = "data.v1.GetPortfolioChartRequest";
|
|
1257
|
+
static readonly fields: FieldList;
|
|
1258
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPortfolioChartRequest;
|
|
1259
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPortfolioChartRequest;
|
|
1260
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortfolioChartRequest;
|
|
1261
|
+
static equals(a: GetPortfolioChartRequest | PlainMessage<GetPortfolioChartRequest> | undefined, b: GetPortfolioChartRequest | PlainMessage<GetPortfolioChartRequest> | undefined): boolean;
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* @generated from message data.v1.ChartPoint
|
|
1265
|
+
*/
|
|
1266
|
+
export declare class ChartPoint extends Message<ChartPoint> {
|
|
1267
|
+
/**
|
|
1268
|
+
* @generated from field: int64 timestamp = 1;
|
|
1269
|
+
*/
|
|
1270
|
+
timestamp: bigint;
|
|
1271
|
+
/**
|
|
1272
|
+
* @generated from field: double value = 2;
|
|
1273
|
+
*/
|
|
1274
|
+
value: number;
|
|
1275
|
+
constructor(data?: PartialMessage<ChartPoint>);
|
|
1276
|
+
static readonly runtime: typeof proto3;
|
|
1277
|
+
static readonly typeName = "data.v1.ChartPoint";
|
|
1278
|
+
static readonly fields: FieldList;
|
|
1279
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChartPoint;
|
|
1280
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChartPoint;
|
|
1281
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChartPoint;
|
|
1282
|
+
static equals(a: ChartPoint | PlainMessage<ChartPoint> | undefined, b: ChartPoint | PlainMessage<ChartPoint> | undefined): boolean;
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* @generated from message data.v1.GetPortfolioChartResponse
|
|
1286
|
+
*/
|
|
1287
|
+
export declare class GetPortfolioChartResponse extends Message<GetPortfolioChartResponse> {
|
|
1288
|
+
/**
|
|
1289
|
+
* @generated from field: repeated data.v1.ChartPoint points = 1;
|
|
1290
|
+
*/
|
|
1291
|
+
points: ChartPoint[];
|
|
1292
|
+
/**
|
|
1293
|
+
* @generated from field: int64 begin_at = 2;
|
|
1294
|
+
*/
|
|
1295
|
+
beginAt: bigint;
|
|
1296
|
+
/**
|
|
1297
|
+
* @generated from field: int64 end_at = 3;
|
|
1298
|
+
*/
|
|
1299
|
+
endAt: bigint;
|
|
1300
|
+
constructor(data?: PartialMessage<GetPortfolioChartResponse>);
|
|
1301
|
+
static readonly runtime: typeof proto3;
|
|
1302
|
+
static readonly typeName = "data.v1.GetPortfolioChartResponse";
|
|
1303
|
+
static readonly fields: FieldList;
|
|
1304
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPortfolioChartResponse;
|
|
1305
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPortfolioChartResponse;
|
|
1306
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortfolioChartResponse;
|
|
1307
|
+
static equals(a: GetPortfolioChartResponse | PlainMessage<GetPortfolioChartResponse> | undefined, b: GetPortfolioChartResponse | PlainMessage<GetPortfolioChartResponse> | undefined): boolean;
|
|
1308
|
+
}
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -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 { Message, proto3 } from "@bufbuild/protobuf";
|
|
5
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
6
|
import { Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
7
7
|
import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
|
|
8
8
|
/**
|
|
@@ -136,6 +136,50 @@ proto3.util.setEnumType(TopTokensOrderBy, "data.v1.TopTokensOrderBy", [
|
|
|
136
136
|
{ no: 7, name: "TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1H" },
|
|
137
137
|
{ no: 8, name: "TOP_TOKENS_ORDER_BY_PRICE_CHANGE_1D" },
|
|
138
138
|
]);
|
|
139
|
+
/**
|
|
140
|
+
* @generated from enum data.v1.ChartPeriod
|
|
141
|
+
*/
|
|
142
|
+
export var ChartPeriod;
|
|
143
|
+
(function (ChartPeriod) {
|
|
144
|
+
/**
|
|
145
|
+
* @generated from enum value: CHART_PERIOD_UNSPECIFIED = 0;
|
|
146
|
+
*/
|
|
147
|
+
ChartPeriod[ChartPeriod["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum value: CHART_PERIOD_HOUR = 1;
|
|
150
|
+
*/
|
|
151
|
+
ChartPeriod[ChartPeriod["HOUR"] = 1] = "HOUR";
|
|
152
|
+
/**
|
|
153
|
+
* @generated from enum value: CHART_PERIOD_DAY = 2;
|
|
154
|
+
*/
|
|
155
|
+
ChartPeriod[ChartPeriod["DAY"] = 2] = "DAY";
|
|
156
|
+
/**
|
|
157
|
+
* @generated from enum value: CHART_PERIOD_WEEK = 3;
|
|
158
|
+
*/
|
|
159
|
+
ChartPeriod[ChartPeriod["WEEK"] = 3] = "WEEK";
|
|
160
|
+
/**
|
|
161
|
+
* @generated from enum value: CHART_PERIOD_MONTH = 4;
|
|
162
|
+
*/
|
|
163
|
+
ChartPeriod[ChartPeriod["MONTH"] = 4] = "MONTH";
|
|
164
|
+
/**
|
|
165
|
+
* @generated from enum value: CHART_PERIOD_YEAR = 5;
|
|
166
|
+
*/
|
|
167
|
+
ChartPeriod[ChartPeriod["YEAR"] = 5] = "YEAR";
|
|
168
|
+
/**
|
|
169
|
+
* @generated from enum value: CHART_PERIOD_MAX = 6;
|
|
170
|
+
*/
|
|
171
|
+
ChartPeriod[ChartPeriod["MAX"] = 6] = "MAX";
|
|
172
|
+
})(ChartPeriod || (ChartPeriod = {}));
|
|
173
|
+
// Retrieve enum metadata with: proto3.getEnumType(ChartPeriod)
|
|
174
|
+
proto3.util.setEnumType(ChartPeriod, "data.v1.ChartPeriod", [
|
|
175
|
+
{ no: 0, name: "CHART_PERIOD_UNSPECIFIED" },
|
|
176
|
+
{ no: 1, name: "CHART_PERIOD_HOUR" },
|
|
177
|
+
{ no: 2, name: "CHART_PERIOD_DAY" },
|
|
178
|
+
{ no: 3, name: "CHART_PERIOD_WEEK" },
|
|
179
|
+
{ no: 4, name: "CHART_PERIOD_MONTH" },
|
|
180
|
+
{ no: 5, name: "CHART_PERIOD_YEAR" },
|
|
181
|
+
{ no: 6, name: "CHART_PERIOD_MAX" },
|
|
182
|
+
]);
|
|
139
183
|
/**
|
|
140
184
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
141
185
|
*/
|
|
@@ -1689,3 +1733,114 @@ GetProtocolStatsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1689
1733
|
{ no: 17, name: "v4_tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1690
1734
|
{ no: 18, name: "total_pools_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1691
1735
|
]);
|
|
1736
|
+
/**
|
|
1737
|
+
* @generated from message data.v1.GetPortfolioChartRequest
|
|
1738
|
+
*/
|
|
1739
|
+
export class GetPortfolioChartRequest extends Message {
|
|
1740
|
+
constructor(data) {
|
|
1741
|
+
super();
|
|
1742
|
+
/**
|
|
1743
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
1744
|
+
*/
|
|
1745
|
+
this.chainIds = [];
|
|
1746
|
+
/**
|
|
1747
|
+
* @generated from field: data.v1.ChartPeriod chart_period = 3;
|
|
1748
|
+
*/
|
|
1749
|
+
this.chartPeriod = ChartPeriod.UNSPECIFIED;
|
|
1750
|
+
proto3.util.initPartial(data, this);
|
|
1751
|
+
}
|
|
1752
|
+
static fromBinary(bytes, options) {
|
|
1753
|
+
return new GetPortfolioChartRequest().fromBinary(bytes, options);
|
|
1754
|
+
}
|
|
1755
|
+
static fromJson(jsonValue, options) {
|
|
1756
|
+
return new GetPortfolioChartRequest().fromJson(jsonValue, options);
|
|
1757
|
+
}
|
|
1758
|
+
static fromJsonString(jsonString, options) {
|
|
1759
|
+
return new GetPortfolioChartRequest().fromJsonString(jsonString, options);
|
|
1760
|
+
}
|
|
1761
|
+
static equals(a, b) {
|
|
1762
|
+
return proto3.util.equals(GetPortfolioChartRequest, a, b);
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
GetPortfolioChartRequest.runtime = proto3;
|
|
1766
|
+
GetPortfolioChartRequest.typeName = "data.v1.GetPortfolioChartRequest";
|
|
1767
|
+
GetPortfolioChartRequest.fields = proto3.util.newFieldList(() => [
|
|
1768
|
+
{ no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
|
|
1769
|
+
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
1770
|
+
{ no: 3, name: "chart_period", kind: "enum", T: proto3.getEnumType(ChartPeriod) },
|
|
1771
|
+
]);
|
|
1772
|
+
/**
|
|
1773
|
+
* @generated from message data.v1.ChartPoint
|
|
1774
|
+
*/
|
|
1775
|
+
export class ChartPoint extends Message {
|
|
1776
|
+
constructor(data) {
|
|
1777
|
+
super();
|
|
1778
|
+
/**
|
|
1779
|
+
* @generated from field: int64 timestamp = 1;
|
|
1780
|
+
*/
|
|
1781
|
+
this.timestamp = protoInt64.zero;
|
|
1782
|
+
/**
|
|
1783
|
+
* @generated from field: double value = 2;
|
|
1784
|
+
*/
|
|
1785
|
+
this.value = 0;
|
|
1786
|
+
proto3.util.initPartial(data, this);
|
|
1787
|
+
}
|
|
1788
|
+
static fromBinary(bytes, options) {
|
|
1789
|
+
return new ChartPoint().fromBinary(bytes, options);
|
|
1790
|
+
}
|
|
1791
|
+
static fromJson(jsonValue, options) {
|
|
1792
|
+
return new ChartPoint().fromJson(jsonValue, options);
|
|
1793
|
+
}
|
|
1794
|
+
static fromJsonString(jsonString, options) {
|
|
1795
|
+
return new ChartPoint().fromJsonString(jsonString, options);
|
|
1796
|
+
}
|
|
1797
|
+
static equals(a, b) {
|
|
1798
|
+
return proto3.util.equals(ChartPoint, a, b);
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
ChartPoint.runtime = proto3;
|
|
1802
|
+
ChartPoint.typeName = "data.v1.ChartPoint";
|
|
1803
|
+
ChartPoint.fields = proto3.util.newFieldList(() => [
|
|
1804
|
+
{ no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1805
|
+
{ no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1806
|
+
]);
|
|
1807
|
+
/**
|
|
1808
|
+
* @generated from message data.v1.GetPortfolioChartResponse
|
|
1809
|
+
*/
|
|
1810
|
+
export class GetPortfolioChartResponse extends Message {
|
|
1811
|
+
constructor(data) {
|
|
1812
|
+
super();
|
|
1813
|
+
/**
|
|
1814
|
+
* @generated from field: repeated data.v1.ChartPoint points = 1;
|
|
1815
|
+
*/
|
|
1816
|
+
this.points = [];
|
|
1817
|
+
/**
|
|
1818
|
+
* @generated from field: int64 begin_at = 2;
|
|
1819
|
+
*/
|
|
1820
|
+
this.beginAt = protoInt64.zero;
|
|
1821
|
+
/**
|
|
1822
|
+
* @generated from field: int64 end_at = 3;
|
|
1823
|
+
*/
|
|
1824
|
+
this.endAt = protoInt64.zero;
|
|
1825
|
+
proto3.util.initPartial(data, this);
|
|
1826
|
+
}
|
|
1827
|
+
static fromBinary(bytes, options) {
|
|
1828
|
+
return new GetPortfolioChartResponse().fromBinary(bytes, options);
|
|
1829
|
+
}
|
|
1830
|
+
static fromJson(jsonValue, options) {
|
|
1831
|
+
return new GetPortfolioChartResponse().fromJson(jsonValue, options);
|
|
1832
|
+
}
|
|
1833
|
+
static fromJsonString(jsonString, options) {
|
|
1834
|
+
return new GetPortfolioChartResponse().fromJsonString(jsonString, options);
|
|
1835
|
+
}
|
|
1836
|
+
static equals(a, b) {
|
|
1837
|
+
return proto3.util.equals(GetPortfolioChartResponse, a, b);
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
GetPortfolioChartResponse.runtime = proto3;
|
|
1841
|
+
GetPortfolioChartResponse.typeName = "data.v1.GetPortfolioChartResponse";
|
|
1842
|
+
GetPortfolioChartResponse.fields = proto3.util.newFieldList(() => [
|
|
1843
|
+
{ no: 1, name: "points", kind: "message", T: ChartPoint, repeated: true },
|
|
1844
|
+
{ no: 2, name: "begin_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1845
|
+
{ no: 3, name: "end_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1846
|
+
]);
|
|
@@ -267,6 +267,10 @@ export declare class Auction extends Message<Auction> {
|
|
|
267
267
|
* @generated from field: string updated_at = 12;
|
|
268
268
|
*/
|
|
269
269
|
updatedAt: string;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string clearing_price = 13;
|
|
272
|
+
*/
|
|
273
|
+
clearingPrice: string;
|
|
270
274
|
constructor(data?: PartialMessage<Auction>);
|
|
271
275
|
static readonly runtime: typeof proto3;
|
|
272
276
|
static readonly typeName = "data.v1.Auction";
|
|
@@ -375,6 +375,10 @@ export class Auction extends Message {
|
|
|
375
375
|
* @generated from field: string updated_at = 12;
|
|
376
376
|
*/
|
|
377
377
|
this.updatedAt = "";
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: string clearing_price = 13;
|
|
380
|
+
*/
|
|
381
|
+
this.clearingPrice = "";
|
|
378
382
|
proto3.util.initPartial(data, this);
|
|
379
383
|
}
|
|
380
384
|
static fromBinary(bytes, options) {
|
|
@@ -405,6 +409,7 @@ Auction.fields = proto3.util.newFieldList(() => [
|
|
|
405
409
|
{ no: 10, name: "creation_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
406
410
|
{ no: 11, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
407
411
|
{ no: 12, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
412
|
+
{ no: 13, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
408
413
|
]);
|
|
409
414
|
/**
|
|
410
415
|
* Response containing auctions.
|