@uniswap/client-liquidity 1.4.16 → 1.4.19

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.
@@ -479,6 +479,34 @@ export declare class CreateAuctionRequest extends Message<CreateAuctionRequest>
479
479
  * @generated from field: optional bool simulate_transaction = 7;
480
480
  */
481
481
  simulateTransaction?: boolean;
482
+ /**
483
+ * Explicit creator-fee toggle for the post-graduation LP position. During
484
+ * rollout an absent field is treated as false — identical to today's
485
+ * behavior, so a client that predates the field keeps launching exactly as
486
+ * it does now (a silent flip could only occur if absent meant true). The
487
+ * field is intended to become required once apps/web and the crowd-launch
488
+ * client send it explicitly; it is declared optional so presence stays
489
+ * detectable on the wire for that flip.
490
+ *
491
+ * Unlike CreateDirectLaunch there is NO beneficiary parameter: attribution is
492
+ * the beneficiary vault's graffiti claim. The wallet that sends createToken is
493
+ * written into the token's graffiti, and post-graduation that wallet claims
494
+ * against the vault — the first claim mints the transferable beneficiary NFT.
495
+ *
496
+ * When true, the migrated LP position is routed to the chain's fees-ON
497
+ * FeeSplitter instead of a liquidity lock or pool-owner custody. Because the
498
+ * graffiti claim is the only attribution path, fees ON requires a new-token
499
+ * launch (an existing token carries no launcher graffiti, so the creator
500
+ * share could never be claimed), a native-ETH raise currency, and no
501
+ * liquidity_lock (the FeeSplitter replaces the lock; setting both is
502
+ * rejected). This is distinct from LiquidityLockConfig.fees_forwarder, which
503
+ * deploys a per-launch forwarder with a fixed fee_recipient and no vault
504
+ * attribution. When false, behavior is unchanged: the position goes to the
505
+ * pool owner or the configured liquidity_lock recipient.
506
+ *
507
+ * @generated from field: optional bool creator_fees_enabled = 8;
508
+ */
509
+ creatorFeesEnabled?: boolean;
482
510
  constructor(data?: PartialMessage<CreateAuctionRequest>);
483
511
  static readonly runtime: typeof proto3;
484
512
  static readonly typeName = "uniswap.liquidity.v1.CreateAuctionRequest";
@@ -1029,7 +1057,10 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
1029
1057
  chainId: ChainId;
1030
1058
  /**
1031
1059
  * Creator / transaction sender. The CREATE2 token prediction derives from this
1032
- * (via the factory graffiti).
1060
+ * (via the factory graffiti), and the predicted address is baked into the
1061
+ * returned distributeToken calldata — the returned transaction MUST be signed
1062
+ * and sent by wallet_address; sent from any other wallet it is a guaranteed
1063
+ * on-chain revert.
1033
1064
  *
1034
1065
  * @generated from field: string wallet_address = 2;
1035
1066
  */
@@ -1052,9 +1083,12 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
1052
1083
  */
1053
1084
  metadata?: TokenMetadata;
1054
1085
  /**
1055
- * LP-fee (creator fee) beneficiary. Unset = the creator-fee toggle is OFF: the
1056
- * server substitutes the protocol autocompound recipient, so all fees stay
1057
- * protocol-owned (the DISABLED_CREATOR_FEE_BENEFICIARY policy lives server-side).
1086
+ * LP-fee (creator fee) beneficiary. Required when creator_fees_enabled is
1087
+ * true; must be unset when it is false (either mismatch is rejected with
1088
+ * INVALID_ARGUMENT). When creator fees are disabled the launch is deployed
1089
+ * through the fees-off strategy: 100% of the pool's LP fees autocompound to
1090
+ * the protocol and NOTHING ever accrues to the creator — the choice is
1091
+ * permanent for the token (there is no post-launch beneficiary registration).
1058
1092
  *
1059
1093
  * @generated from field: optional string fee_beneficiary = 6;
1060
1094
  */
@@ -1067,6 +1101,17 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
1067
1101
  * @generated from field: optional bool simulate_transaction = 7;
1068
1102
  */
1069
1103
  simulateTransaction?: boolean;
1104
+ /**
1105
+ * Explicit creator-fee toggle. REQUIRED — requests without it are rejected
1106
+ * with INVALID_ARGUMENT, so a stale or field-skewed client can never silently
1107
+ * flip a creator's fee choice: fees ON must arrive as
1108
+ * (creator_fees_enabled=true, fee_beneficiary set) and fees OFF as
1109
+ * (creator_fees_enabled=false, fee_beneficiary unset). Declared optional only
1110
+ * so presence is detectable on the wire.
1111
+ *
1112
+ * @generated from field: optional bool creator_fees_enabled = 8;
1113
+ */
1114
+ creatorFeesEnabled?: boolean;
1070
1115
  constructor(data?: PartialMessage<CreateDirectLaunchRequest>);
1071
1116
  static readonly runtime: typeof proto3;
1072
1117
  static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
@@ -676,6 +676,7 @@ CreateAuctionRequest.fields = proto3.util.newFieldList(() => [
676
676
  { no: 5, name: "pool", kind: "message", T: PoolConfig },
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
+ { no: 8, name: "creator_fees_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
679
680
  ]);
680
681
  /**
681
682
  * @generated from message uniswap.liquidity.v1.TokenInfo
@@ -1363,7 +1364,10 @@ export class CreateDirectLaunchRequest extends Message {
1363
1364
  this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
1364
1365
  /**
1365
1366
  * Creator / transaction sender. The CREATE2 token prediction derives from this
1366
- * (via the factory graffiti).
1367
+ * (via the factory graffiti), and the predicted address is baked into the
1368
+ * returned distributeToken calldata — the returned transaction MUST be signed
1369
+ * and sent by wallet_address; sent from any other wallet it is a guaranteed
1370
+ * on-chain revert.
1367
1371
  *
1368
1372
  * @generated from field: string wallet_address = 2;
1369
1373
  */
@@ -1401,6 +1405,7 @@ CreateDirectLaunchRequest.fields = proto3.util.newFieldList(() => [
1401
1405
  { no: 5, name: "metadata", kind: "message", T: TokenMetadata },
1402
1406
  { no: 6, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1403
1407
  { no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1408
+ { no: 8, name: "creator_fees_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1404
1409
  ]);
1405
1410
  /**
1406
1411
  * @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "1.4.16",
3
+ "version": "1.4.19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },