@uniswap/client-data-api 0.0.170 → 0.0.173
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.
|
@@ -31,7 +31,18 @@ export declare enum LockMode {
|
|
|
31
31
|
*
|
|
32
32
|
* @generated from enum value: LOCK_MODE_BURN = 4;
|
|
33
33
|
*/
|
|
34
|
-
BURN = 4
|
|
34
|
+
BURN = 4,
|
|
35
|
+
/**
|
|
36
|
+
* The LP position was minted to an Instant Launch FeeSplitter (the CCA
|
|
37
|
+
* creator-fees custody, recognized against the SDK deployment registry).
|
|
38
|
+
* The splitter permanently custodies the position and autonomously
|
|
39
|
+
* distributes its fees; nothing ever unlocks (unlock_block is 0) and no
|
|
40
|
+
* operator can withdraw (lp_operator is empty). locked_forever is always
|
|
41
|
+
* true.
|
|
42
|
+
*
|
|
43
|
+
* @generated from enum value: LOCK_MODE_FEE_SPLITTER = 5;
|
|
44
|
+
*/
|
|
45
|
+
FEE_SPLITTER = 5
|
|
35
46
|
}
|
|
36
47
|
/**
|
|
37
48
|
* Request to fetch all bids by a wallet.
|
|
@@ -265,14 +276,16 @@ export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
|
|
|
265
276
|
}
|
|
266
277
|
/**
|
|
267
278
|
* Liquidity-lock metadata for auctions whose graduated LP position is held by a
|
|
268
|
-
* timelock recipient contract (or by the burn address for LOCK_MODE_BURN
|
|
269
|
-
*
|
|
279
|
+
* timelock recipient contract (or by the burn address for LOCK_MODE_BURN, or by
|
|
280
|
+
* an Instant Launch FeeSplitter for LOCK_MODE_FEE_SPLITTER). Set on Auction only
|
|
281
|
+
* when the position is locked.
|
|
270
282
|
*
|
|
271
283
|
* @generated from message data.v1.LiquidityLockInfo
|
|
272
284
|
*/
|
|
273
285
|
export declare class LiquidityLockInfo extends Message<LiquidityLockInfo> {
|
|
274
286
|
/**
|
|
275
|
-
* Lock recipient contract address (the burn address for LOCK_MODE_BURN
|
|
287
|
+
* Lock recipient contract address (the burn address for LOCK_MODE_BURN, the
|
|
288
|
+
* FeeSplitter for LOCK_MODE_FEE_SPLITTER).
|
|
276
289
|
*
|
|
277
290
|
* @generated from field: string lock_recipient = 1;
|
|
278
291
|
*/
|
|
@@ -283,16 +296,16 @@ export declare class LiquidityLockInfo extends Message<LiquidityLockInfo> {
|
|
|
283
296
|
lockMode: LockMode;
|
|
284
297
|
/**
|
|
285
298
|
* Unlock block number only — clients estimate the calendar date from it.
|
|
286
|
-
* 0 for LOCK_MODE_BURN (nothing ever unlocks):
|
|
287
|
-
* rendering an unlock date.
|
|
299
|
+
* 0 for LOCK_MODE_BURN and LOCK_MODE_FEE_SPLITTER (nothing ever unlocks):
|
|
300
|
+
* check locked_forever before rendering an unlock date.
|
|
288
301
|
*
|
|
289
302
|
* @generated from field: uint64 unlock_block = 3;
|
|
290
303
|
*/
|
|
291
304
|
unlockBlock: bigint;
|
|
292
305
|
/**
|
|
293
306
|
* Timelock operator: the address that can claim the position after unlock
|
|
294
|
-
* ("LP owner" display while locked). Empty for LOCK_MODE_BURN
|
|
295
|
-
* ever claim
|
|
307
|
+
* ("LP owner" display while locked). Empty for LOCK_MODE_BURN and
|
|
308
|
+
* LOCK_MODE_FEE_SPLITTER — no one can ever claim those positions.
|
|
296
309
|
*
|
|
297
310
|
* @generated from field: string lp_operator = 4;
|
|
298
311
|
*/
|
|
@@ -36,6 +36,17 @@ export var LockMode;
|
|
|
36
36
|
* @generated from enum value: LOCK_MODE_BURN = 4;
|
|
37
37
|
*/
|
|
38
38
|
LockMode[LockMode["BURN"] = 4] = "BURN";
|
|
39
|
+
/**
|
|
40
|
+
* The LP position was minted to an Instant Launch FeeSplitter (the CCA
|
|
41
|
+
* creator-fees custody, recognized against the SDK deployment registry).
|
|
42
|
+
* The splitter permanently custodies the position and autonomously
|
|
43
|
+
* distributes its fees; nothing ever unlocks (unlock_block is 0) and no
|
|
44
|
+
* operator can withdraw (lp_operator is empty). locked_forever is always
|
|
45
|
+
* true.
|
|
46
|
+
*
|
|
47
|
+
* @generated from enum value: LOCK_MODE_FEE_SPLITTER = 5;
|
|
48
|
+
*/
|
|
49
|
+
LockMode[LockMode["FEE_SPLITTER"] = 5] = "FEE_SPLITTER";
|
|
39
50
|
})(LockMode || (LockMode = {}));
|
|
40
51
|
// Retrieve enum metadata with: proto3.getEnumType(LockMode)
|
|
41
52
|
proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
|
|
@@ -44,6 +55,7 @@ proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
|
|
|
44
55
|
{ no: 2, name: "LOCK_MODE_FEES_FORWARDER" },
|
|
45
56
|
{ no: 3, name: "LOCK_MODE_BUYBACK_BURN" },
|
|
46
57
|
{ no: 4, name: "LOCK_MODE_BURN" },
|
|
58
|
+
{ no: 5, name: "LOCK_MODE_FEE_SPLITTER" },
|
|
47
59
|
]);
|
|
48
60
|
/**
|
|
49
61
|
* Request to fetch all bids by a wallet.
|
|
@@ -383,8 +395,9 @@ GetAuctionRequest.fields = proto3.util.newFieldList(() => [
|
|
|
383
395
|
]);
|
|
384
396
|
/**
|
|
385
397
|
* Liquidity-lock metadata for auctions whose graduated LP position is held by a
|
|
386
|
-
* timelock recipient contract (or by the burn address for LOCK_MODE_BURN
|
|
387
|
-
*
|
|
398
|
+
* timelock recipient contract (or by the burn address for LOCK_MODE_BURN, or by
|
|
399
|
+
* an Instant Launch FeeSplitter for LOCK_MODE_FEE_SPLITTER). Set on Auction only
|
|
400
|
+
* when the position is locked.
|
|
388
401
|
*
|
|
389
402
|
* @generated from message data.v1.LiquidityLockInfo
|
|
390
403
|
*/
|
|
@@ -392,7 +405,8 @@ export class LiquidityLockInfo extends Message {
|
|
|
392
405
|
constructor(data) {
|
|
393
406
|
super();
|
|
394
407
|
/**
|
|
395
|
-
* Lock recipient contract address (the burn address for LOCK_MODE_BURN
|
|
408
|
+
* Lock recipient contract address (the burn address for LOCK_MODE_BURN, the
|
|
409
|
+
* FeeSplitter for LOCK_MODE_FEE_SPLITTER).
|
|
396
410
|
*
|
|
397
411
|
* @generated from field: string lock_recipient = 1;
|
|
398
412
|
*/
|
|
@@ -403,16 +417,16 @@ export class LiquidityLockInfo extends Message {
|
|
|
403
417
|
this.lockMode = LockMode.UNSPECIFIED;
|
|
404
418
|
/**
|
|
405
419
|
* Unlock block number only — clients estimate the calendar date from it.
|
|
406
|
-
* 0 for LOCK_MODE_BURN (nothing ever unlocks):
|
|
407
|
-
* rendering an unlock date.
|
|
420
|
+
* 0 for LOCK_MODE_BURN and LOCK_MODE_FEE_SPLITTER (nothing ever unlocks):
|
|
421
|
+
* check locked_forever before rendering an unlock date.
|
|
408
422
|
*
|
|
409
423
|
* @generated from field: uint64 unlock_block = 3;
|
|
410
424
|
*/
|
|
411
425
|
this.unlockBlock = protoInt64.zero;
|
|
412
426
|
/**
|
|
413
427
|
* Timelock operator: the address that can claim the position after unlock
|
|
414
|
-
* ("LP owner" display while locked). Empty for LOCK_MODE_BURN
|
|
415
|
-
* ever claim
|
|
428
|
+
* ("LP owner" display while locked). Empty for LOCK_MODE_BURN and
|
|
429
|
+
* LOCK_MODE_FEE_SPLITTER — no one can ever claim those positions.
|
|
416
430
|
*
|
|
417
431
|
* @generated from field: string lp_operator = 4;
|
|
418
432
|
*/
|