@uniswap/client-liquidity 1.4.21 → 1.4.22
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.
|
@@ -1150,6 +1150,22 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
|
|
|
1150
1150
|
* @generated from field: optional bool creator_fees_enabled = 8;
|
|
1151
1151
|
*/
|
|
1152
1152
|
creatorFeesEnabled?: boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* Optional launch-time creator buy, in basis points of the fixed total
|
|
1155
|
+
* supply (1–10000), bought atomically in the same launch multicall via the
|
|
1156
|
+
* launcher's UniversalRouterStrategy. Instant (direct) launches only — this
|
|
1157
|
+
* field exists only on CreateDirectLaunchRequest, so auctions can never
|
|
1158
|
+
* carry it. The launch pool's opening state is fully determined before the
|
|
1159
|
+
* transaction exists and the buy is the pool's first-ever swap inside the
|
|
1160
|
+
* same transaction, so the server computes the exact native cost, encodes
|
|
1161
|
+
* the exact-in route (slippage bounds live inside the route), and the
|
|
1162
|
+
* returned transaction carries value == that exact cost — the wallet MUST
|
|
1163
|
+
* send it unchanged. Rejected with INVALID_ARGUMENT where the launch-time
|
|
1164
|
+
* buy is not enabled/supported on the requested chain.
|
|
1165
|
+
*
|
|
1166
|
+
* @generated from field: optional uint32 prelaunch_buy_supply_bps = 9;
|
|
1167
|
+
*/
|
|
1168
|
+
prelaunchBuySupplyBps?: number;
|
|
1153
1169
|
constructor(data?: PartialMessage<CreateDirectLaunchRequest>);
|
|
1154
1170
|
static readonly runtime: typeof proto3;
|
|
1155
1171
|
static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
|
|
@@ -1168,8 +1184,11 @@ export declare class CreateDirectLaunchResponse extends Message<CreateDirectLaun
|
|
|
1168
1184
|
*/
|
|
1169
1185
|
requestId: string;
|
|
1170
1186
|
/**
|
|
1171
|
-
* Ordered;
|
|
1172
|
-
* distributeToken
|
|
1187
|
+
* Ordered; always a single LiquidityLauncher.multicall — createToken +
|
|
1188
|
+
* distributeToken, plus a distributeWithNative buy leg when
|
|
1189
|
+
* prelaunch_buy_supply_bps was set. Value is 0 without a buy leg and exactly
|
|
1190
|
+
* the computed buy cost with one (the launcher strands any excess, so the
|
|
1191
|
+
* wallet must not alter it).
|
|
1173
1192
|
*
|
|
1174
1193
|
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
1175
1194
|
*/
|
|
@@ -1445,6 +1445,7 @@ CreateDirectLaunchRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1445
1445
|
{ no: 6, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1446
1446
|
{ no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1447
1447
|
{ no: 8, name: "creator_fees_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1448
|
+
{ no: 9, name: "prelaunch_buy_supply_bps", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1448
1449
|
]);
|
|
1449
1450
|
/**
|
|
1450
1451
|
* @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
|
|
@@ -1457,8 +1458,11 @@ export class CreateDirectLaunchResponse extends Message {
|
|
|
1457
1458
|
*/
|
|
1458
1459
|
this.requestId = "";
|
|
1459
1460
|
/**
|
|
1460
|
-
* Ordered;
|
|
1461
|
-
* distributeToken
|
|
1461
|
+
* Ordered; always a single LiquidityLauncher.multicall — createToken +
|
|
1462
|
+
* distributeToken, plus a distributeWithNative buy leg when
|
|
1463
|
+
* prelaunch_buy_supply_bps was set. Value is 0 without a buy leg and exactly
|
|
1464
|
+
* the computed buy cost with one (the launcher strands any excess, so the
|
|
1465
|
+
* wallet must not alter it).
|
|
1462
1466
|
*
|
|
1463
1467
|
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
1464
1468
|
*/
|