@uniswap/client-liquidity 1.4.18 → 1.4.20
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.
|
@@ -1057,7 +1057,10 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
|
|
|
1057
1057
|
chainId: ChainId;
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Creator / transaction sender. The CREATE2 token prediction derives from this
|
|
1060
|
-
* (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.
|
|
1061
1064
|
*
|
|
1062
1065
|
* @generated from field: string wallet_address = 2;
|
|
1063
1066
|
*/
|
|
@@ -1080,9 +1083,12 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
|
|
|
1080
1083
|
*/
|
|
1081
1084
|
metadata?: TokenMetadata;
|
|
1082
1085
|
/**
|
|
1083
|
-
* LP-fee (creator fee) beneficiary.
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
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).
|
|
1086
1092
|
*
|
|
1087
1093
|
* @generated from field: optional string fee_beneficiary = 6;
|
|
1088
1094
|
*/
|
|
@@ -1095,6 +1101,17 @@ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunc
|
|
|
1095
1101
|
* @generated from field: optional bool simulate_transaction = 7;
|
|
1096
1102
|
*/
|
|
1097
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;
|
|
1098
1115
|
constructor(data?: PartialMessage<CreateDirectLaunchRequest>);
|
|
1099
1116
|
static readonly runtime: typeof proto3;
|
|
1100
1117
|
static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
|
|
@@ -1364,7 +1364,10 @@ export class CreateDirectLaunchRequest extends Message {
|
|
|
1364
1364
|
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
1365
1365
|
/**
|
|
1366
1366
|
* Creator / transaction sender. The CREATE2 token prediction derives from this
|
|
1367
|
-
* (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.
|
|
1368
1371
|
*
|
|
1369
1372
|
* @generated from field: string wallet_address = 2;
|
|
1370
1373
|
*/
|
|
@@ -1402,6 +1405,7 @@ CreateDirectLaunchRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1402
1405
|
{ no: 5, name: "metadata", kind: "message", T: TokenMetadata },
|
|
1403
1406
|
{ no: 6, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1404
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 },
|
|
1405
1409
|
]);
|
|
1406
1410
|
/**
|
|
1407
1411
|
* @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
|