@uniswap/client-data-api 0.0.119 → 0.0.121
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_pb.d.ts
CHANGED
|
@@ -957,6 +957,14 @@ export declare class GetPositionRequest extends Message<GetPositionRequest> {
|
|
|
957
957
|
* @generated from field: optional bool fallback_to_chain = 6;
|
|
958
958
|
*/
|
|
959
959
|
fallbackToChain?: boolean;
|
|
960
|
+
/**
|
|
961
|
+
* Selector for V4: if true, resolve tokenId against the PermissionedPositionManager
|
|
962
|
+
* instead of the canonical V4 PositionManager. Default false (canonical). A tokenId
|
|
963
|
+
* is only unique within one manager, so the caller must indicate which to query.
|
|
964
|
+
*
|
|
965
|
+
* @generated from field: optional bool permissioned = 7;
|
|
966
|
+
*/
|
|
967
|
+
permissioned?: boolean;
|
|
960
968
|
constructor(data?: PartialMessage<GetPositionRequest>);
|
|
961
969
|
static readonly runtime: typeof proto3;
|
|
962
970
|
static readonly typeName = "data.v1.GetPositionRequest";
|
|
@@ -1125,6 +1133,14 @@ export declare class ListPositionsRequest extends Message<ListPositionsRequest>
|
|
|
1125
1133
|
* @generated from field: optional bool include_hidden = 12;
|
|
1126
1134
|
*/
|
|
1127
1135
|
includeHidden?: boolean;
|
|
1136
|
+
/**
|
|
1137
|
+
* default false; when true, also returns V4 positions held via the
|
|
1138
|
+
* PermissionedPositionManager (discovered from Aurora). Off by default so
|
|
1139
|
+
* existing callers are unaffected until PA->sec-token translation lands.
|
|
1140
|
+
*
|
|
1141
|
+
* @generated from field: optional bool include_permissioned = 13;
|
|
1142
|
+
*/
|
|
1143
|
+
includePermissioned?: boolean;
|
|
1128
1144
|
constructor(data?: PartialMessage<ListPositionsRequest>);
|
|
1129
1145
|
static readonly runtime: typeof proto3;
|
|
1130
1146
|
static readonly typeName = "data.v1.ListPositionsRequest";
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -1372,6 +1372,7 @@ GetPositionRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1372
1372
|
{ no: 4, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1373
1373
|
{ no: 5, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1374
1374
|
{ no: 6, name: "fallback_to_chain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1375
|
+
{ no: 7, name: "permissioned", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1375
1376
|
]);
|
|
1376
1377
|
/**
|
|
1377
1378
|
* @generated from message data.v1.GetPositionResponse
|
|
@@ -1536,6 +1537,7 @@ ListPositionsRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1536
1537
|
{ no: 10, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1537
1538
|
{ no: 11, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1538
1539
|
{ no: 12, name: "include_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1540
|
+
{ no: 13, name: "include_permissioned", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1539
1541
|
]);
|
|
1540
1542
|
/**
|
|
1541
1543
|
* @generated from message data.v1.ListPositionsResponse
|
|
@@ -298,6 +298,14 @@ export declare class Position extends Message<Position> {
|
|
|
298
298
|
* @generated from field: optional double uncollected_fees_usd = 10;
|
|
299
299
|
*/
|
|
300
300
|
uncollectedFeesUsd?: number;
|
|
301
|
+
/**
|
|
302
|
+
* True if this is a permissioned-pool position (held via the
|
|
303
|
+
* PermissionedPositionManager). ListPositions always merges canonical + perm;
|
|
304
|
+
* this discriminates which is which. Default false.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: bool permissioned = 11;
|
|
307
|
+
*/
|
|
308
|
+
permissioned: boolean;
|
|
301
309
|
constructor(data?: PartialMessage<Position>);
|
|
302
310
|
static readonly runtime: typeof proto3;
|
|
303
311
|
static readonly typeName = "pools.v1.Position";
|
|
@@ -342,6 +342,14 @@ export class Position extends Message {
|
|
|
342
342
|
* @generated from field: bool is_hidden = 8;
|
|
343
343
|
*/
|
|
344
344
|
this.isHidden = false;
|
|
345
|
+
/**
|
|
346
|
+
* True if this is a permissioned-pool position (held via the
|
|
347
|
+
* PermissionedPositionManager). ListPositions always merges canonical + perm;
|
|
348
|
+
* this discriminates which is which. Default false.
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: bool permissioned = 11;
|
|
351
|
+
*/
|
|
352
|
+
this.permissioned = false;
|
|
345
353
|
proto3.util.initPartial(data, this);
|
|
346
354
|
}
|
|
347
355
|
static fromBinary(bytes, options) {
|
|
@@ -370,6 +378,7 @@ Position.fields = proto3.util.newFieldList(() => [
|
|
|
370
378
|
{ no: 8, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
371
379
|
{ no: 9, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
372
380
|
{ no: 10, name: "uncollected_fees_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
381
|
+
{ no: 11, name: "permissioned", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
373
382
|
]);
|
|
374
383
|
/**
|
|
375
384
|
* @generated from message pools.v1.Hook
|