@uniswap/client-data-api 0.0.84 → 0.0.86

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.
@@ -242,7 +242,23 @@ export declare enum OnChainTransactionLabel {
242
242
  /**
243
243
  * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED = 31;
244
244
  */
245
- AUCTION_CLAIM_TOKENS_BATCHED = 31
245
+ AUCTION_CLAIM_TOKENS_BATCHED = 31,
246
+ /**
247
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_DEPOSIT = 32;
248
+ */
249
+ VAULT_DEPOSIT = 32,
250
+ /**
251
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_WITHDRAW = 33;
252
+ */
253
+ VAULT_WITHDRAW = 33,
254
+ /**
255
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_IN = 34;
256
+ */
257
+ VAULT_TRANSFER_IN = 34,
258
+ /**
259
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_OUT = 35;
260
+ */
261
+ VAULT_TRANSFER_OUT = 35
246
262
  }
247
263
  /**
248
264
  * @generated from enum data.v1.TransactionTypeFilter
@@ -325,7 +341,25 @@ export declare enum TransactionTypeFilter {
325
341
  *
326
342
  * @generated from enum value: TRANSACTION_TYPE_FILTER_WITHDRAW = 12;
327
343
  */
328
- WITHDRAW = 12
344
+ WITHDRAW = 12,
345
+ /**
346
+ * Earn vault deposits
347
+ *
348
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_DEPOSIT = 13;
349
+ */
350
+ VAULT_DEPOSIT = 13,
351
+ /**
352
+ * Earn vault withdrawals
353
+ *
354
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_WITHDRAW = 14;
355
+ */
356
+ VAULT_WITHDRAW = 14,
357
+ /**
358
+ * Earn vault share transfers (includes IN and OUT)
359
+ *
360
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_TRANSFER = 15;
361
+ */
362
+ VAULT_TRANSFER = 15
329
363
  }
330
364
  /**
331
365
  * @generated from enum data.v1.OnChainTransactionStatus
@@ -738,6 +772,10 @@ export declare class PoolRef extends Message<PoolRef> {
738
772
  * @generated from field: string pool_id = 2;
739
773
  */
740
774
  poolId: string;
775
+ /**
776
+ * @generated from field: optional string position_id = 3;
777
+ */
778
+ positionId?: string;
741
779
  constructor(data?: PartialMessage<PoolRef>);
742
780
  static readonly runtime: typeof proto3;
743
781
  static readonly typeName = "data.v1.PoolRef";
@@ -288,6 +288,22 @@ export var OnChainTransactionLabel;
288
288
  * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED = 31;
289
289
  */
290
290
  OnChainTransactionLabel[OnChainTransactionLabel["AUCTION_CLAIM_TOKENS_BATCHED"] = 31] = "AUCTION_CLAIM_TOKENS_BATCHED";
291
+ /**
292
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_DEPOSIT = 32;
293
+ */
294
+ OnChainTransactionLabel[OnChainTransactionLabel["VAULT_DEPOSIT"] = 32] = "VAULT_DEPOSIT";
295
+ /**
296
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_WITHDRAW = 33;
297
+ */
298
+ OnChainTransactionLabel[OnChainTransactionLabel["VAULT_WITHDRAW"] = 33] = "VAULT_WITHDRAW";
299
+ /**
300
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_IN = 34;
301
+ */
302
+ OnChainTransactionLabel[OnChainTransactionLabel["VAULT_TRANSFER_IN"] = 34] = "VAULT_TRANSFER_IN";
303
+ /**
304
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_OUT = 35;
305
+ */
306
+ OnChainTransactionLabel[OnChainTransactionLabel["VAULT_TRANSFER_OUT"] = 35] = "VAULT_TRANSFER_OUT";
291
307
  })(OnChainTransactionLabel || (OnChainTransactionLabel = {}));
292
308
  // Retrieve enum metadata with: proto3.getEnumType(OnChainTransactionLabel)
293
309
  proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabel", [
@@ -323,6 +339,10 @@ proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabe
323
339
  { no: 29, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_BID" },
324
340
  { no: 30, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_PARTIALLY_FILLED_BID" },
325
341
  { no: 31, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED" },
342
+ { no: 32, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_DEPOSIT" },
343
+ { no: 33, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_WITHDRAW" },
344
+ { no: 34, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_IN" },
345
+ { no: 35, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_OUT" },
326
346
  ]);
327
347
  /**
328
348
  * @generated from enum data.v1.TransactionTypeFilter
@@ -407,6 +427,24 @@ export var TransactionTypeFilter;
407
427
  * @generated from enum value: TRANSACTION_TYPE_FILTER_WITHDRAW = 12;
408
428
  */
409
429
  TransactionTypeFilter[TransactionTypeFilter["WITHDRAW"] = 12] = "WITHDRAW";
430
+ /**
431
+ * Earn vault deposits
432
+ *
433
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_DEPOSIT = 13;
434
+ */
435
+ TransactionTypeFilter[TransactionTypeFilter["VAULT_DEPOSIT"] = 13] = "VAULT_DEPOSIT";
436
+ /**
437
+ * Earn vault withdrawals
438
+ *
439
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_WITHDRAW = 14;
440
+ */
441
+ TransactionTypeFilter[TransactionTypeFilter["VAULT_WITHDRAW"] = 14] = "VAULT_WITHDRAW";
442
+ /**
443
+ * Earn vault share transfers (includes IN and OUT)
444
+ *
445
+ * @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_TRANSFER = 15;
446
+ */
447
+ TransactionTypeFilter[TransactionTypeFilter["VAULT_TRANSFER"] = 15] = "VAULT_TRANSFER";
410
448
  })(TransactionTypeFilter || (TransactionTypeFilter = {}));
411
449
  // Retrieve enum metadata with: proto3.getEnumType(TransactionTypeFilter)
412
450
  proto3.util.setEnumType(TransactionTypeFilter, "data.v1.TransactionTypeFilter", [
@@ -423,6 +461,9 @@ proto3.util.setEnumType(TransactionTypeFilter, "data.v1.TransactionTypeFilter",
423
461
  { no: 10, name: "TRANSACTION_TYPE_FILTER_CREATE_POOL" },
424
462
  { no: 11, name: "TRANSACTION_TYPE_FILTER_LIMIT_ORDER" },
425
463
  { no: 12, name: "TRANSACTION_TYPE_FILTER_WITHDRAW" },
464
+ { no: 13, name: "TRANSACTION_TYPE_FILTER_VAULT_DEPOSIT" },
465
+ { no: 14, name: "TRANSACTION_TYPE_FILTER_VAULT_WITHDRAW" },
466
+ { no: 15, name: "TRANSACTION_TYPE_FILTER_VAULT_TRANSFER" },
426
467
  ]);
427
468
  /**
428
469
  * @generated from enum data.v1.OnChainTransactionStatus
@@ -1010,6 +1051,7 @@ PoolRef.typeName = "data.v1.PoolRef";
1010
1051
  PoolRef.fields = proto3.util.newFieldList(() => [
1011
1052
  { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1012
1053
  { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1054
+ { no: 3, name: "position_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1013
1055
  ]);
1014
1056
  /**
1015
1057
  * @generated from message data.v1.Portfolio
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.84",
3
+ "version": "0.0.86",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,31 +0,0 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
- import { Message, proto3 } from "@bufbuild/protobuf";
3
- /**
4
- * @generated from message data.v1.ReorgedBlock
5
- */
6
- export declare class ReorgedBlock extends Message<ReorgedBlock> {
7
- /**
8
- * @generated from field: uint64 chain_id = 1;
9
- */
10
- chainId: bigint;
11
- /**
12
- * @generated from field: uint64 block_num = 2;
13
- */
14
- blockNum: bigint;
15
- /**
16
- * @generated from field: string block_hash = 3;
17
- */
18
- blockHash: string;
19
- /**
20
- * @generated from field: uint64 created_at = 4;
21
- */
22
- createdAt: bigint;
23
- constructor(data?: PartialMessage<ReorgedBlock>);
24
- static readonly runtime: typeof proto3;
25
- static readonly typeName = "data.v1.ReorgedBlock";
26
- static readonly fields: FieldList;
27
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReorgedBlock;
28
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReorgedBlock;
29
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReorgedBlock;
30
- static equals(a: ReorgedBlock | PlainMessage<ReorgedBlock> | undefined, b: ReorgedBlock | PlainMessage<ReorgedBlock> | undefined): boolean;
31
- }
@@ -1,50 +0,0 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
- // @generated from file data/v1/reorged_block.proto (package data.v1, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
- /**
7
- * @generated from message data.v1.ReorgedBlock
8
- */
9
- export class ReorgedBlock extends Message {
10
- constructor(data) {
11
- super();
12
- /**
13
- * @generated from field: uint64 chain_id = 1;
14
- */
15
- this.chainId = protoInt64.zero;
16
- /**
17
- * @generated from field: uint64 block_num = 2;
18
- */
19
- this.blockNum = protoInt64.zero;
20
- /**
21
- * @generated from field: string block_hash = 3;
22
- */
23
- this.blockHash = "";
24
- /**
25
- * @generated from field: uint64 created_at = 4;
26
- */
27
- this.createdAt = protoInt64.zero;
28
- proto3.util.initPartial(data, this);
29
- }
30
- static fromBinary(bytes, options) {
31
- return new ReorgedBlock().fromBinary(bytes, options);
32
- }
33
- static fromJson(jsonValue, options) {
34
- return new ReorgedBlock().fromJson(jsonValue, options);
35
- }
36
- static fromJsonString(jsonString, options) {
37
- return new ReorgedBlock().fromJsonString(jsonString, options);
38
- }
39
- static equals(a, b) {
40
- return proto3.util.equals(ReorgedBlock, a, b);
41
- }
42
- }
43
- ReorgedBlock.runtime = proto3;
44
- ReorgedBlock.typeName = "data.v1.ReorgedBlock";
45
- ReorgedBlock.fields = proto3.util.newFieldList(() => [
46
- { no: 1, name: "chain_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
47
- { no: 2, name: "block_num", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
48
- { no: 3, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
- { no: 4, name: "created_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
50
- ]);