@uniswap/client-data-api 0.0.21 → 0.0.23
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-AuctionService_connectquery.d.ts +7 -7
- package/dist/data/v1/auction-AuctionService_connectquery.js +7 -7
- package/dist/data/v1/auction_connect.d.ts +6 -6
- package/dist/data/v1/auction_connect.js +6 -6
- package/dist/data/v1/auction_pb.d.ts +16 -16
- package/dist/data/v1/auction_pb.js +18 -18
- package/dist/data/v1/types_pb.d.ts +25 -0
- package/dist/data/v1/types_pb.js +32 -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
|
+
]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import {
|
|
2
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
5
5
|
*/
|
|
@@ -27,14 +27,14 @@ export declare const getBids: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* @generated from rpc data.v1.AuctionService.
|
|
30
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
33
|
-
readonly localName: "
|
|
34
|
-
readonly name: "
|
|
32
|
+
export declare const getAuction: {
|
|
33
|
+
readonly localName: "getAuction";
|
|
34
|
+
readonly name: "GetAuction";
|
|
35
35
|
readonly kind: MethodKind.Unary;
|
|
36
|
-
readonly I: typeof
|
|
37
|
-
readonly O: typeof
|
|
36
|
+
readonly I: typeof GetAuctionRequest;
|
|
37
|
+
readonly O: typeof GetAuctionResponse;
|
|
38
38
|
readonly service: {
|
|
39
39
|
readonly typeName: "data.v1.AuctionService";
|
|
40
40
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import {
|
|
6
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
9
9
|
*/
|
|
@@ -31,14 +31,14 @@ export const getBids = {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* @generated from rpc data.v1.AuctionService.
|
|
34
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
35
35
|
*/
|
|
36
|
-
export const
|
|
37
|
-
localName: "
|
|
38
|
-
name: "
|
|
36
|
+
export const getAuction = {
|
|
37
|
+
localName: "getAuction",
|
|
38
|
+
name: "GetAuction",
|
|
39
39
|
kind: MethodKind.Unary,
|
|
40
|
-
I:
|
|
41
|
-
O:
|
|
40
|
+
I: GetAuctionRequest,
|
|
41
|
+
O: GetAuctionResponse,
|
|
42
42
|
service: {
|
|
43
43
|
typeName: "data.v1.AuctionService"
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.AuctionService
|
|
@@ -25,12 +25,12 @@ export declare const AuctionService: {
|
|
|
25
25
|
readonly kind: MethodKind.Unary;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
|
-
* @generated from rpc data.v1.AuctionService.
|
|
28
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
29
29
|
*/
|
|
30
|
-
readonly
|
|
31
|
-
readonly name: "
|
|
32
|
-
readonly I: typeof
|
|
33
|
-
readonly O: typeof
|
|
30
|
+
readonly getAuction: {
|
|
31
|
+
readonly name: "GetAuction";
|
|
32
|
+
readonly I: typeof GetAuctionRequest;
|
|
33
|
+
readonly O: typeof GetAuctionResponse;
|
|
34
34
|
readonly kind: MethodKind.Unary;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import {
|
|
5
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.AuctionService
|
|
@@ -29,12 +29,12 @@ export const AuctionService = {
|
|
|
29
29
|
kind: MethodKind.Unary,
|
|
30
30
|
},
|
|
31
31
|
/**
|
|
32
|
-
* @generated from rpc data.v1.AuctionService.
|
|
32
|
+
* @generated from rpc data.v1.AuctionService.GetAuction
|
|
33
33
|
*/
|
|
34
|
-
|
|
35
|
-
name: "
|
|
36
|
-
I:
|
|
37
|
-
O:
|
|
34
|
+
getAuction: {
|
|
35
|
+
name: "GetAuction",
|
|
36
|
+
I: GetAuctionRequest,
|
|
37
|
+
O: GetAuctionResponse,
|
|
38
38
|
kind: MethodKind.Unary,
|
|
39
39
|
},
|
|
40
40
|
}
|
|
@@ -193,9 +193,9 @@ export declare class GetBidsResponse extends Message<GetBidsResponse> {
|
|
|
193
193
|
/**
|
|
194
194
|
* Request to fetch auctions.
|
|
195
195
|
*
|
|
196
|
-
* @generated from message data.v1.
|
|
196
|
+
* @generated from message data.v1.GetAuctionRequest
|
|
197
197
|
*/
|
|
198
|
-
export declare class
|
|
198
|
+
export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
|
|
199
199
|
/**
|
|
200
200
|
* @generated from field: int32 chain_id = 1;
|
|
201
201
|
*/
|
|
@@ -204,14 +204,14 @@ export declare class GetAuctionsRequest extends Message<GetAuctionsRequest> {
|
|
|
204
204
|
* @generated from field: string address = 2;
|
|
205
205
|
*/
|
|
206
206
|
address: string;
|
|
207
|
-
constructor(data?: PartialMessage<
|
|
207
|
+
constructor(data?: PartialMessage<GetAuctionRequest>);
|
|
208
208
|
static readonly runtime: typeof proto3;
|
|
209
|
-
static readonly typeName = "data.v1.
|
|
209
|
+
static readonly typeName = "data.v1.GetAuctionRequest";
|
|
210
210
|
static readonly fields: FieldList;
|
|
211
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
212
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
213
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
214
|
-
static equals(a:
|
|
211
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionRequest;
|
|
212
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionRequest;
|
|
213
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionRequest;
|
|
214
|
+
static equals(a: GetAuctionRequest | PlainMessage<GetAuctionRequest> | undefined, b: GetAuctionRequest | PlainMessage<GetAuctionRequest> | undefined): boolean;
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
217
|
* A single auction resource.
|
|
@@ -279,19 +279,19 @@ export declare class Auction extends Message<Auction> {
|
|
|
279
279
|
/**
|
|
280
280
|
* Response containing auctions.
|
|
281
281
|
*
|
|
282
|
-
* @generated from message data.v1.
|
|
282
|
+
* @generated from message data.v1.GetAuctionResponse
|
|
283
283
|
*/
|
|
284
|
-
export declare class
|
|
284
|
+
export declare class GetAuctionResponse extends Message<GetAuctionResponse> {
|
|
285
285
|
/**
|
|
286
286
|
* @generated from field: repeated data.v1.Auction auctions = 1;
|
|
287
287
|
*/
|
|
288
288
|
auctions: Auction[];
|
|
289
|
-
constructor(data?: PartialMessage<
|
|
289
|
+
constructor(data?: PartialMessage<GetAuctionResponse>);
|
|
290
290
|
static readonly runtime: typeof proto3;
|
|
291
|
-
static readonly typeName = "data.v1.
|
|
291
|
+
static readonly typeName = "data.v1.GetAuctionResponse";
|
|
292
292
|
static readonly fields: FieldList;
|
|
293
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
294
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
295
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
296
|
-
static equals(a:
|
|
293
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionResponse;
|
|
294
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionResponse;
|
|
295
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionResponse;
|
|
296
|
+
static equals(a: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined, b: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined): boolean;
|
|
297
297
|
}
|
|
@@ -285,9 +285,9 @@ GetBidsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
285
285
|
/**
|
|
286
286
|
* Request to fetch auctions.
|
|
287
287
|
*
|
|
288
|
-
* @generated from message data.v1.
|
|
288
|
+
* @generated from message data.v1.GetAuctionRequest
|
|
289
289
|
*/
|
|
290
|
-
export class
|
|
290
|
+
export class GetAuctionRequest extends Message {
|
|
291
291
|
constructor(data) {
|
|
292
292
|
super();
|
|
293
293
|
/**
|
|
@@ -301,21 +301,21 @@ export class GetAuctionsRequest extends Message {
|
|
|
301
301
|
proto3.util.initPartial(data, this);
|
|
302
302
|
}
|
|
303
303
|
static fromBinary(bytes, options) {
|
|
304
|
-
return new
|
|
304
|
+
return new GetAuctionRequest().fromBinary(bytes, options);
|
|
305
305
|
}
|
|
306
306
|
static fromJson(jsonValue, options) {
|
|
307
|
-
return new
|
|
307
|
+
return new GetAuctionRequest().fromJson(jsonValue, options);
|
|
308
308
|
}
|
|
309
309
|
static fromJsonString(jsonString, options) {
|
|
310
|
-
return new
|
|
310
|
+
return new GetAuctionRequest().fromJsonString(jsonString, options);
|
|
311
311
|
}
|
|
312
312
|
static equals(a, b) {
|
|
313
|
-
return proto3.util.equals(
|
|
313
|
+
return proto3.util.equals(GetAuctionRequest, a, b);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
GetAuctionRequest.runtime = proto3;
|
|
317
|
+
GetAuctionRequest.typeName = "data.v1.GetAuctionRequest";
|
|
318
|
+
GetAuctionRequest.fields = proto3.util.newFieldList(() => [
|
|
319
319
|
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
320
320
|
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
321
321
|
]);
|
|
@@ -409,9 +409,9 @@ Auction.fields = proto3.util.newFieldList(() => [
|
|
|
409
409
|
/**
|
|
410
410
|
* Response containing auctions.
|
|
411
411
|
*
|
|
412
|
-
* @generated from message data.v1.
|
|
412
|
+
* @generated from message data.v1.GetAuctionResponse
|
|
413
413
|
*/
|
|
414
|
-
export class
|
|
414
|
+
export class GetAuctionResponse extends Message {
|
|
415
415
|
constructor(data) {
|
|
416
416
|
super();
|
|
417
417
|
/**
|
|
@@ -421,20 +421,20 @@ export class GetAuctionsResponse extends Message {
|
|
|
421
421
|
proto3.util.initPartial(data, this);
|
|
422
422
|
}
|
|
423
423
|
static fromBinary(bytes, options) {
|
|
424
|
-
return new
|
|
424
|
+
return new GetAuctionResponse().fromBinary(bytes, options);
|
|
425
425
|
}
|
|
426
426
|
static fromJson(jsonValue, options) {
|
|
427
|
-
return new
|
|
427
|
+
return new GetAuctionResponse().fromJson(jsonValue, options);
|
|
428
428
|
}
|
|
429
429
|
static fromJsonString(jsonString, options) {
|
|
430
|
-
return new
|
|
430
|
+
return new GetAuctionResponse().fromJsonString(jsonString, options);
|
|
431
431
|
}
|
|
432
432
|
static equals(a, b) {
|
|
433
|
-
return proto3.util.equals(
|
|
433
|
+
return proto3.util.equals(GetAuctionResponse, a, b);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
436
|
+
GetAuctionResponse.runtime = proto3;
|
|
437
|
+
GetAuctionResponse.typeName = "data.v1.GetAuctionResponse";
|
|
438
|
+
GetAuctionResponse.fields = proto3.util.newFieldList(() => [
|
|
439
439
|
{ no: 1, name: "auctions", kind: "message", T: Auction, repeated: true },
|
|
440
440
|
]);
|
|
@@ -857,6 +857,10 @@ export declare class OnChainTransaction extends Message<OnChainTransaction> {
|
|
|
857
857
|
* @generated from field: data.v1.TransactionFee fee = 12;
|
|
858
858
|
*/
|
|
859
859
|
fee?: TransactionFee;
|
|
860
|
+
/**
|
|
861
|
+
* @generated from field: optional data.v1.Paymaster paymaster = 13;
|
|
862
|
+
*/
|
|
863
|
+
paymaster?: Paymaster;
|
|
860
864
|
constructor(data?: PartialMessage<OnChainTransaction>);
|
|
861
865
|
static readonly runtime: typeof proto3;
|
|
862
866
|
static readonly typeName = "data.v1.OnChainTransaction";
|
|
@@ -1335,3 +1339,24 @@ export declare class TokenStats extends Message<TokenStats> {
|
|
|
1335
1339
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenStats;
|
|
1336
1340
|
static equals(a: TokenStats | PlainMessage<TokenStats> | undefined, b: TokenStats | PlainMessage<TokenStats> | undefined): boolean;
|
|
1337
1341
|
}
|
|
1342
|
+
/**
|
|
1343
|
+
* @generated from message data.v1.Paymaster
|
|
1344
|
+
*/
|
|
1345
|
+
export declare class Paymaster extends Message<Paymaster> {
|
|
1346
|
+
/**
|
|
1347
|
+
* @generated from field: string address = 1;
|
|
1348
|
+
*/
|
|
1349
|
+
address: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* @generated from field: optional string name = 2;
|
|
1352
|
+
*/
|
|
1353
|
+
name?: string;
|
|
1354
|
+
constructor(data?: PartialMessage<Paymaster>);
|
|
1355
|
+
static readonly runtime: typeof proto3;
|
|
1356
|
+
static readonly typeName = "data.v1.Paymaster";
|
|
1357
|
+
static readonly fields: FieldList;
|
|
1358
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Paymaster;
|
|
1359
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Paymaster;
|
|
1360
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Paymaster;
|
|
1361
|
+
static equals(a: Paymaster | PlainMessage<Paymaster> | undefined, b: Paymaster | PlainMessage<Paymaster> | undefined): boolean;
|
|
1362
|
+
}
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -1175,6 +1175,7 @@ OnChainTransaction.fields = proto3.util.newFieldList(() => [
|
|
|
1175
1175
|
{ no: 10, name: "status", kind: "enum", T: proto3.getEnumType(OnChainTransactionStatus) },
|
|
1176
1176
|
{ no: 11, name: "protocol", kind: "message", T: ProtocolMetadata, opt: true },
|
|
1177
1177
|
{ no: 12, name: "fee", kind: "message", T: TransactionFee },
|
|
1178
|
+
{ no: 13, name: "paymaster", kind: "message", T: Paymaster, opt: true },
|
|
1178
1179
|
]);
|
|
1179
1180
|
/**
|
|
1180
1181
|
* @generated from message data.v1.Transfer
|
|
@@ -1703,3 +1704,34 @@ TokenStats.fields = proto3.util.newFieldList(() => [
|
|
|
1703
1704
|
{ no: 9, name: "price_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
1704
1705
|
{ no: 10, name: "price_history_1d", kind: "message", T: TimestampedValue, repeated: true },
|
|
1705
1706
|
]);
|
|
1707
|
+
/**
|
|
1708
|
+
* @generated from message data.v1.Paymaster
|
|
1709
|
+
*/
|
|
1710
|
+
export class Paymaster extends Message {
|
|
1711
|
+
constructor(data) {
|
|
1712
|
+
super();
|
|
1713
|
+
/**
|
|
1714
|
+
* @generated from field: string address = 1;
|
|
1715
|
+
*/
|
|
1716
|
+
this.address = "";
|
|
1717
|
+
proto3.util.initPartial(data, this);
|
|
1718
|
+
}
|
|
1719
|
+
static fromBinary(bytes, options) {
|
|
1720
|
+
return new Paymaster().fromBinary(bytes, options);
|
|
1721
|
+
}
|
|
1722
|
+
static fromJson(jsonValue, options) {
|
|
1723
|
+
return new Paymaster().fromJson(jsonValue, options);
|
|
1724
|
+
}
|
|
1725
|
+
static fromJsonString(jsonString, options) {
|
|
1726
|
+
return new Paymaster().fromJsonString(jsonString, options);
|
|
1727
|
+
}
|
|
1728
|
+
static equals(a, b) {
|
|
1729
|
+
return proto3.util.equals(Paymaster, a, b);
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
Paymaster.runtime = proto3;
|
|
1733
|
+
Paymaster.typeName = "data.v1.Paymaster";
|
|
1734
|
+
Paymaster.fields = proto3.util.newFieldList(() => [
|
|
1735
|
+
{ no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1736
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1737
|
+
]);
|