@uniswap/client-data-api 0.0.85 → 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.
|
@@ -772,6 +772,10 @@ export declare class PoolRef extends Message<PoolRef> {
|
|
|
772
772
|
* @generated from field: string pool_id = 2;
|
|
773
773
|
*/
|
|
774
774
|
poolId: string;
|
|
775
|
+
/**
|
|
776
|
+
* @generated from field: optional string position_id = 3;
|
|
777
|
+
*/
|
|
778
|
+
positionId?: string;
|
|
775
779
|
constructor(data?: PartialMessage<PoolRef>);
|
|
776
780
|
static readonly runtime: typeof proto3;
|
|
777
781
|
static readonly typeName = "data.v1.PoolRef";
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -1051,6 +1051,7 @@ PoolRef.typeName = "data.v1.PoolRef";
|
|
|
1051
1051
|
PoolRef.fields = proto3.util.newFieldList(() => [
|
|
1052
1052
|
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1053
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 },
|
|
1054
1055
|
]);
|
|
1055
1056
|
/**
|
|
1056
1057
|
* @generated from message data.v1.Portfolio
|
package/package.json
CHANGED
|
@@ -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
|
-
]);
|