@uniswap/client-data-api 0.0.102 → 0.0.103

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
2
+ import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v2.DataApiService.GetToken
5
5
  */
@@ -78,6 +78,19 @@ export declare const getTokenMarketsMultiChain: {
78
78
  readonly typeName: "data.v2.DataApiService";
79
79
  };
80
80
  };
81
+ /**
82
+ * @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
83
+ */
84
+ export declare const getTokenHistoryOHLC: {
85
+ readonly localName: "getTokenHistoryOHLC";
86
+ readonly name: "GetTokenHistoryOHLC";
87
+ readonly kind: MethodKind.Unary;
88
+ readonly I: typeof GetTokenHistoryOHLCRequest;
89
+ readonly O: typeof GetTokenHistoryOHLCResponse;
90
+ readonly service: {
91
+ readonly typeName: "data.v2.DataApiService";
92
+ };
93
+ };
81
94
  /**
82
95
  * @generated from rpc data.v2.DataApiService.ListEarnVaults
83
96
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
6
+ import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v2.DataApiService.GetToken
9
9
  */
@@ -82,6 +82,19 @@ export const getTokenMarketsMultiChain = {
82
82
  typeName: "data.v2.DataApiService"
83
83
  }
84
84
  };
85
+ /**
86
+ * @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
87
+ */
88
+ export const getTokenHistoryOHLC = {
89
+ localName: "getTokenHistoryOHLC",
90
+ name: "GetTokenHistoryOHLC",
91
+ kind: MethodKind.Unary,
92
+ I: GetTokenHistoryOHLCRequest,
93
+ O: GetTokenHistoryOHLCResponse,
94
+ service: {
95
+ typeName: "data.v2.DataApiService"
96
+ }
97
+ };
85
98
  /**
86
99
  * @generated from rpc data.v2.DataApiService.ListEarnVaults
87
100
  */
@@ -1,4 +1,4 @@
1
- import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
1
+ import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v2.DataApiService
@@ -60,6 +60,15 @@ export declare const DataApiService: {
60
60
  readonly O: typeof GetTokenMarketsMultiChainResponse;
61
61
  readonly kind: MethodKind.Unary;
62
62
  };
63
+ /**
64
+ * @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
65
+ */
66
+ readonly getTokenHistoryOHLC: {
67
+ readonly name: "GetTokenHistoryOHLC";
68
+ readonly I: typeof GetTokenHistoryOHLCRequest;
69
+ readonly O: typeof GetTokenHistoryOHLCResponse;
70
+ readonly kind: MethodKind.Unary;
71
+ };
63
72
  /**
64
73
  * @generated from rpc data.v2.DataApiService.ListEarnVaults
65
74
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v2/api.proto (package data.v2, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
5
+ import { GetEarnPositionRequest, GetEarnPositionResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListTokensRequest, ListTokensResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v2.DataApiService
@@ -64,6 +64,15 @@ export const DataApiService = {
64
64
  O: GetTokenMarketsMultiChainResponse,
65
65
  kind: MethodKind.Unary,
66
66
  },
67
+ /**
68
+ * @generated from rpc data.v2.DataApiService.GetTokenHistoryOHLC
69
+ */
70
+ getTokenHistoryOHLC: {
71
+ name: "GetTokenHistoryOHLC",
72
+ I: GetTokenHistoryOHLCRequest,
73
+ O: GetTokenHistoryOHLCResponse,
74
+ kind: MethodKind.Unary,
75
+ },
67
76
  /**
68
77
  * @generated from rpc data.v2.DataApiService.ListEarnVaults
69
78
  */
@@ -104,6 +104,145 @@ export declare class GetTokenMarketsMultiChainResponse extends Message<GetTokenM
104
104
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenMarketsMultiChainResponse;
105
105
  static equals(a: GetTokenMarketsMultiChainResponse | PlainMessage<GetTokenMarketsMultiChainResponse> | undefined, b: GetTokenMarketsMultiChainResponse | PlainMessage<GetTokenMarketsMultiChainResponse> | undefined): boolean;
106
106
  }
107
+ /**
108
+ * OHLC candle history powering a token's price chart — for a single chain, or
109
+ * the canonical cross-chain view of a bridged asset.
110
+ *
111
+ * @generated from message data.v2.GetTokenHistoryOHLCRequest
112
+ */
113
+ export declare class GetTokenHistoryOHLCRequest extends Message<GetTokenHistoryOHLCRequest> {
114
+ /**
115
+ * @generated from oneof data.v2.GetTokenHistoryOHLCRequest.target
116
+ */
117
+ target: {
118
+ /**
119
+ * exactly this chain's candles
120
+ *
121
+ * @generated from field: data.v2.TokenIdentifier single_chain = 1;
122
+ */
123
+ value: TokenIdentifier;
124
+ case: "singleChain";
125
+ } | {
126
+ /**
127
+ * canonical chain's candles (mainnet -> else lowest chainId)
128
+ *
129
+ * @generated from field: data.v2.MultichainTarget multichain = 2;
130
+ */
131
+ value: MultichainTarget;
132
+ case: "multichain";
133
+ } | {
134
+ case: undefined;
135
+ value?: undefined;
136
+ };
137
+ /**
138
+ * Chart time range. UNSPECIFIED defaults to DAY; candle width is derived
139
+ * server-side from the duration.
140
+ *
141
+ * @generated from field: data.v2.HistoryDuration duration = 3;
142
+ */
143
+ duration: HistoryDuration;
144
+ constructor(data?: PartialMessage<GetTokenHistoryOHLCRequest>);
145
+ static readonly runtime: typeof proto3;
146
+ static readonly typeName = "data.v2.GetTokenHistoryOHLCRequest";
147
+ static readonly fields: FieldList;
148
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenHistoryOHLCRequest;
149
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCRequest;
150
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCRequest;
151
+ static equals(a: GetTokenHistoryOHLCRequest | PlainMessage<GetTokenHistoryOHLCRequest> | undefined, b: GetTokenHistoryOHLCRequest | PlainMessage<GetTokenHistoryOHLCRequest> | undefined): boolean;
152
+ }
153
+ /**
154
+ * A logical cross-chain asset, by a member token or its multichain id.
155
+ * Reusable across the v2 chart endpoints.
156
+ *
157
+ * @generated from message data.v2.MultichainTarget
158
+ */
159
+ export declare class MultichainTarget extends Message<MultichainTarget> {
160
+ /**
161
+ * @generated from oneof data.v2.MultichainTarget.identifier
162
+ */
163
+ identifier: {
164
+ /**
165
+ * @generated from field: data.v2.TokenIdentifier token = 1;
166
+ */
167
+ value: TokenIdentifier;
168
+ case: "token";
169
+ } | {
170
+ /**
171
+ * @generated from field: string multichain_id = 2;
172
+ */
173
+ value: string;
174
+ case: "multichainId";
175
+ } | {
176
+ case: undefined;
177
+ value?: undefined;
178
+ };
179
+ constructor(data?: PartialMessage<MultichainTarget>);
180
+ static readonly runtime: typeof proto3;
181
+ static readonly typeName = "data.v2.MultichainTarget";
182
+ static readonly fields: FieldList;
183
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultichainTarget;
184
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultichainTarget;
185
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultichainTarget;
186
+ static equals(a: MultichainTarget | PlainMessage<MultichainTarget> | undefined, b: MultichainTarget | PlainMessage<MultichainTarget> | undefined): boolean;
187
+ }
188
+ /**
189
+ * @generated from message data.v2.GetTokenHistoryOHLCResponse
190
+ */
191
+ export declare class GetTokenHistoryOHLCResponse extends Message<GetTokenHistoryOHLCResponse> {
192
+ /**
193
+ * Candles in ascending time order. Buckets before the token's first known
194
+ * price are omitted; later gaps are forward-filled (a flat candle at the
195
+ * previous close).
196
+ *
197
+ * @generated from field: repeated data.v2.OhlcCandle candles = 1;
198
+ */
199
+ candles: OhlcCandle[];
200
+ constructor(data?: PartialMessage<GetTokenHistoryOHLCResponse>);
201
+ static readonly runtime: typeof proto3;
202
+ static readonly typeName = "data.v2.GetTokenHistoryOHLCResponse";
203
+ static readonly fields: FieldList;
204
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTokenHistoryOHLCResponse;
205
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCResponse;
206
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenHistoryOHLCResponse;
207
+ static equals(a: GetTokenHistoryOHLCResponse | PlainMessage<GetTokenHistoryOHLCResponse> | undefined, b: GetTokenHistoryOHLCResponse | PlainMessage<GetTokenHistoryOHLCResponse> | undefined): boolean;
208
+ }
209
+ /**
210
+ * One USD-denominated OHLC candle, labeled by its bucket-start time.
211
+ *
212
+ * @generated from message data.v2.OhlcCandle
213
+ */
214
+ export declare class OhlcCandle extends Message<OhlcCandle> {
215
+ /**
216
+ * unix seconds, bucket start (inclusive)
217
+ *
218
+ * @generated from field: int64 timestamp = 1;
219
+ */
220
+ timestamp: bigint;
221
+ /**
222
+ * @generated from field: double open_usd = 2;
223
+ */
224
+ openUsd: number;
225
+ /**
226
+ * @generated from field: double high_usd = 3;
227
+ */
228
+ highUsd: number;
229
+ /**
230
+ * @generated from field: double low_usd = 4;
231
+ */
232
+ lowUsd: number;
233
+ /**
234
+ * @generated from field: double close_usd = 5;
235
+ */
236
+ closeUsd: number;
237
+ constructor(data?: PartialMessage<OhlcCandle>);
238
+ static readonly runtime: typeof proto3;
239
+ static readonly typeName = "data.v2.OhlcCandle";
240
+ static readonly fields: FieldList;
241
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OhlcCandle;
242
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OhlcCandle;
243
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OhlcCandle;
244
+ static equals(a: OhlcCandle | PlainMessage<OhlcCandle> | undefined, b: OhlcCandle | PlainMessage<OhlcCandle> | undefined): boolean;
245
+ }
107
246
  /**
108
247
  * @generated from message data.v2.GetTokenRequest
109
248
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v2/api.proto (package data.v2, 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 { HistoryDuration, MultichainToken, MultichainTokenMarket, RankedMultichainToken, Token, TokenListFilter, TokenMarket, TokensSort } from "./types_pb.js";
7
7
  import { EarnPosition, EarnVault } from "./earn_pb.js";
8
8
  import { PageRequest, PageResponse } from "./common_pb.js";
@@ -147,6 +147,170 @@ GetTokenMarketsMultiChainResponse.typeName = "data.v2.GetTokenMarketsMultiChainR
147
147
  GetTokenMarketsMultiChainResponse.fields = proto3.util.newFieldList(() => [
148
148
  { no: 1, name: "markets", kind: "message", T: MultichainTokenMarket, repeated: true },
149
149
  ]);
150
+ /**
151
+ * OHLC candle history powering a token's price chart — for a single chain, or
152
+ * the canonical cross-chain view of a bridged asset.
153
+ *
154
+ * @generated from message data.v2.GetTokenHistoryOHLCRequest
155
+ */
156
+ export class GetTokenHistoryOHLCRequest extends Message {
157
+ constructor(data) {
158
+ super();
159
+ /**
160
+ * @generated from oneof data.v2.GetTokenHistoryOHLCRequest.target
161
+ */
162
+ this.target = { case: undefined };
163
+ /**
164
+ * Chart time range. UNSPECIFIED defaults to DAY; candle width is derived
165
+ * server-side from the duration.
166
+ *
167
+ * @generated from field: data.v2.HistoryDuration duration = 3;
168
+ */
169
+ this.duration = HistoryDuration.UNSPECIFIED;
170
+ proto3.util.initPartial(data, this);
171
+ }
172
+ static fromBinary(bytes, options) {
173
+ return new GetTokenHistoryOHLCRequest().fromBinary(bytes, options);
174
+ }
175
+ static fromJson(jsonValue, options) {
176
+ return new GetTokenHistoryOHLCRequest().fromJson(jsonValue, options);
177
+ }
178
+ static fromJsonString(jsonString, options) {
179
+ return new GetTokenHistoryOHLCRequest().fromJsonString(jsonString, options);
180
+ }
181
+ static equals(a, b) {
182
+ return proto3.util.equals(GetTokenHistoryOHLCRequest, a, b);
183
+ }
184
+ }
185
+ GetTokenHistoryOHLCRequest.runtime = proto3;
186
+ GetTokenHistoryOHLCRequest.typeName = "data.v2.GetTokenHistoryOHLCRequest";
187
+ GetTokenHistoryOHLCRequest.fields = proto3.util.newFieldList(() => [
188
+ { no: 1, name: "single_chain", kind: "message", T: TokenIdentifier, oneof: "target" },
189
+ { no: 2, name: "multichain", kind: "message", T: MultichainTarget, oneof: "target" },
190
+ { no: 3, name: "duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
191
+ ]);
192
+ /**
193
+ * A logical cross-chain asset, by a member token or its multichain id.
194
+ * Reusable across the v2 chart endpoints.
195
+ *
196
+ * @generated from message data.v2.MultichainTarget
197
+ */
198
+ export class MultichainTarget extends Message {
199
+ constructor(data) {
200
+ super();
201
+ /**
202
+ * @generated from oneof data.v2.MultichainTarget.identifier
203
+ */
204
+ this.identifier = { case: undefined };
205
+ proto3.util.initPartial(data, this);
206
+ }
207
+ static fromBinary(bytes, options) {
208
+ return new MultichainTarget().fromBinary(bytes, options);
209
+ }
210
+ static fromJson(jsonValue, options) {
211
+ return new MultichainTarget().fromJson(jsonValue, options);
212
+ }
213
+ static fromJsonString(jsonString, options) {
214
+ return new MultichainTarget().fromJsonString(jsonString, options);
215
+ }
216
+ static equals(a, b) {
217
+ return proto3.util.equals(MultichainTarget, a, b);
218
+ }
219
+ }
220
+ MultichainTarget.runtime = proto3;
221
+ MultichainTarget.typeName = "data.v2.MultichainTarget";
222
+ MultichainTarget.fields = proto3.util.newFieldList(() => [
223
+ { no: 1, name: "token", kind: "message", T: TokenIdentifier, oneof: "identifier" },
224
+ { no: 2, name: "multichain_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identifier" },
225
+ ]);
226
+ /**
227
+ * @generated from message data.v2.GetTokenHistoryOHLCResponse
228
+ */
229
+ export class GetTokenHistoryOHLCResponse extends Message {
230
+ constructor(data) {
231
+ super();
232
+ /**
233
+ * Candles in ascending time order. Buckets before the token's first known
234
+ * price are omitted; later gaps are forward-filled (a flat candle at the
235
+ * previous close).
236
+ *
237
+ * @generated from field: repeated data.v2.OhlcCandle candles = 1;
238
+ */
239
+ this.candles = [];
240
+ proto3.util.initPartial(data, this);
241
+ }
242
+ static fromBinary(bytes, options) {
243
+ return new GetTokenHistoryOHLCResponse().fromBinary(bytes, options);
244
+ }
245
+ static fromJson(jsonValue, options) {
246
+ return new GetTokenHistoryOHLCResponse().fromJson(jsonValue, options);
247
+ }
248
+ static fromJsonString(jsonString, options) {
249
+ return new GetTokenHistoryOHLCResponse().fromJsonString(jsonString, options);
250
+ }
251
+ static equals(a, b) {
252
+ return proto3.util.equals(GetTokenHistoryOHLCResponse, a, b);
253
+ }
254
+ }
255
+ GetTokenHistoryOHLCResponse.runtime = proto3;
256
+ GetTokenHistoryOHLCResponse.typeName = "data.v2.GetTokenHistoryOHLCResponse";
257
+ GetTokenHistoryOHLCResponse.fields = proto3.util.newFieldList(() => [
258
+ { no: 1, name: "candles", kind: "message", T: OhlcCandle, repeated: true },
259
+ ]);
260
+ /**
261
+ * One USD-denominated OHLC candle, labeled by its bucket-start time.
262
+ *
263
+ * @generated from message data.v2.OhlcCandle
264
+ */
265
+ export class OhlcCandle extends Message {
266
+ constructor(data) {
267
+ super();
268
+ /**
269
+ * unix seconds, bucket start (inclusive)
270
+ *
271
+ * @generated from field: int64 timestamp = 1;
272
+ */
273
+ this.timestamp = protoInt64.zero;
274
+ /**
275
+ * @generated from field: double open_usd = 2;
276
+ */
277
+ this.openUsd = 0;
278
+ /**
279
+ * @generated from field: double high_usd = 3;
280
+ */
281
+ this.highUsd = 0;
282
+ /**
283
+ * @generated from field: double low_usd = 4;
284
+ */
285
+ this.lowUsd = 0;
286
+ /**
287
+ * @generated from field: double close_usd = 5;
288
+ */
289
+ this.closeUsd = 0;
290
+ proto3.util.initPartial(data, this);
291
+ }
292
+ static fromBinary(bytes, options) {
293
+ return new OhlcCandle().fromBinary(bytes, options);
294
+ }
295
+ static fromJson(jsonValue, options) {
296
+ return new OhlcCandle().fromJson(jsonValue, options);
297
+ }
298
+ static fromJsonString(jsonString, options) {
299
+ return new OhlcCandle().fromJsonString(jsonString, options);
300
+ }
301
+ static equals(a, b) {
302
+ return proto3.util.equals(OhlcCandle, a, b);
303
+ }
304
+ }
305
+ OhlcCandle.runtime = proto3;
306
+ OhlcCandle.typeName = "data.v2.OhlcCandle";
307
+ OhlcCandle.fields = proto3.util.newFieldList(() => [
308
+ { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
309
+ { no: 2, name: "open_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
310
+ { no: 3, name: "high_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
311
+ { no: 4, name: "low_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
312
+ { no: 5, name: "close_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
313
+ ]);
150
314
  /**
151
315
  * @generated from message data.v2.GetTokenRequest
152
316
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.102",
3
+ "version": "0.0.103",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },