@uniswap/client-liquidity 1.4.21 → 1.4.23
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.
|
@@ -512,6 +512,21 @@ export declare class CreateAuctionRequest extends Message<CreateAuctionRequest>
|
|
|
512
512
|
* @generated from field: optional bool creator_fees_enabled = 8;
|
|
513
513
|
*/
|
|
514
514
|
creatorFeesEnabled?: boolean;
|
|
515
|
+
/**
|
|
516
|
+
* Opt-in: when true the migrator's `recipient` and the auction's
|
|
517
|
+
* `tokensRecipient` are set to the burn address instead of the pool owner, so
|
|
518
|
+
* a non-graduated auction does not return the token supply to the creator.
|
|
519
|
+
* Absent/false leaves that routing unchanged. `positionRecipient` and
|
|
520
|
+
* `fundsRecipient` are unaffected.
|
|
521
|
+
*
|
|
522
|
+
* Not failure-only: `recipient` is also paid on a SUCCESSFUL migration, where
|
|
523
|
+
* it receives the unconsumed part of reserved_supply_for_lp and any raised
|
|
524
|
+
* currency the LP position did not take. Opting in burns that value on
|
|
525
|
+
* graduation too, so only set it when the product terms cover both outcomes.
|
|
526
|
+
*
|
|
527
|
+
* @generated from field: optional bool burn_unsold_on_failure = 9;
|
|
528
|
+
*/
|
|
529
|
+
burnUnsoldOnFailure?: boolean;
|
|
515
530
|
constructor(data?: PartialMessage<CreateAuctionRequest>);
|
|
516
531
|
static readonly runtime: typeof proto3;
|
|
517
532
|
static readonly typeName = "uniswap.liquidity.v1.CreateAuctionRequest";
|
|
@@ -1150,6 +1165,22 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
|
|
|
1150
1165
|
* @generated from field: optional bool creator_fees_enabled = 8;
|
|
1151
1166
|
*/
|
|
1152
1167
|
creatorFeesEnabled?: boolean;
|
|
1168
|
+
/**
|
|
1169
|
+
* Optional launch-time creator buy, in basis points of the fixed total
|
|
1170
|
+
* supply (1–10000), bought atomically in the same launch multicall via the
|
|
1171
|
+
* launcher's UniversalRouterStrategy. Instant (direct) launches only — this
|
|
1172
|
+
* field exists only on CreateDirectLaunchRequest, so auctions can never
|
|
1173
|
+
* carry it. The launch pool's opening state is fully determined before the
|
|
1174
|
+
* transaction exists and the buy is the pool's first-ever swap inside the
|
|
1175
|
+
* same transaction, so the server computes the exact native cost, encodes
|
|
1176
|
+
* the exact-in route (slippage bounds live inside the route), and the
|
|
1177
|
+
* returned transaction carries value == that exact cost — the wallet MUST
|
|
1178
|
+
* send it unchanged. Rejected with INVALID_ARGUMENT where the launch-time
|
|
1179
|
+
* buy is not enabled/supported on the requested chain.
|
|
1180
|
+
*
|
|
1181
|
+
* @generated from field: optional uint32 prelaunch_buy_supply_bps = 9;
|
|
1182
|
+
*/
|
|
1183
|
+
prelaunchBuySupplyBps?: number;
|
|
1153
1184
|
constructor(data?: PartialMessage<CreateDirectLaunchRequest>);
|
|
1154
1185
|
static readonly runtime: typeof proto3;
|
|
1155
1186
|
static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
|
|
@@ -1168,8 +1199,11 @@ export declare class CreateDirectLaunchResponse extends Message<CreateDirectLaun
|
|
|
1168
1199
|
*/
|
|
1169
1200
|
requestId: string;
|
|
1170
1201
|
/**
|
|
1171
|
-
* Ordered;
|
|
1172
|
-
* distributeToken
|
|
1202
|
+
* Ordered; always a single LiquidityLauncher.multicall — createToken +
|
|
1203
|
+
* distributeToken, plus a distributeWithNative buy leg when
|
|
1204
|
+
* prelaunch_buy_supply_bps was set. Value is 0 without a buy leg and exactly
|
|
1205
|
+
* the computed buy cost with one (the launcher strands any excess, so the
|
|
1206
|
+
* wallet must not alter it).
|
|
1173
1207
|
*
|
|
1174
1208
|
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
1175
1209
|
*/
|
|
@@ -677,6 +677,7 @@ CreateAuctionRequest.fields = proto3.util.newFieldList(() => [
|
|
|
677
677
|
{ no: 6, name: "salt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
678
678
|
{ no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
679
679
|
{ no: 8, name: "creator_fees_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
680
|
+
{ no: 9, name: "burn_unsold_on_failure", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
680
681
|
]);
|
|
681
682
|
/**
|
|
682
683
|
* @generated from message uniswap.liquidity.v1.TokenInfo
|
|
@@ -1445,6 +1446,7 @@ CreateDirectLaunchRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1445
1446
|
{ no: 6, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1446
1447
|
{ no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1447
1448
|
{ no: 8, name: "creator_fees_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1449
|
+
{ no: 9, name: "prelaunch_buy_supply_bps", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1448
1450
|
]);
|
|
1449
1451
|
/**
|
|
1450
1452
|
* @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
|
|
@@ -1457,8 +1459,11 @@ export class CreateDirectLaunchResponse extends Message {
|
|
|
1457
1459
|
*/
|
|
1458
1460
|
this.requestId = "";
|
|
1459
1461
|
/**
|
|
1460
|
-
* Ordered;
|
|
1461
|
-
* distributeToken
|
|
1462
|
+
* Ordered; always a single LiquidityLauncher.multicall — createToken +
|
|
1463
|
+
* distributeToken, plus a distributeWithNative buy leg when
|
|
1464
|
+
* prelaunch_buy_supply_bps was set. Value is 0 without a buy leg and exactly
|
|
1465
|
+
* the computed buy cost with one (the launcher strands any excess, so the
|
|
1466
|
+
* wallet must not alter it).
|
|
1462
1467
|
*
|
|
1463
1468
|
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
1464
1469
|
*/
|