@uniswap/client-liquidity 1.4.14 → 1.4.16

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
2
- import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
2
+ import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, CreateDirectLaunchRequest, CreateDirectLaunchResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
5
5
  */
@@ -112,3 +112,17 @@ export declare const createAuction: {
112
112
  readonly typeName: "uniswap.liquidity.v1.AuctionService";
113
113
  };
114
114
  };
115
+ /**
116
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.CreateDirectLaunch
117
+ */
118
+ export declare const createDirectLaunch: {
119
+ readonly localName: "createDirectLaunch";
120
+ readonly name: "CreateDirectLaunch";
121
+ readonly kind: MethodKind.Unary;
122
+ readonly I: typeof CreateDirectLaunchRequest;
123
+ readonly O: typeof CreateDirectLaunchResponse;
124
+ readonly idempotency: MethodIdempotency.NoSideEffects;
125
+ readonly service: {
126
+ readonly typeName: "uniswap.liquidity.v1.AuctionService";
127
+ };
128
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
6
- import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
6
+ import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, CreateDirectLaunchRequest, CreateDirectLaunchResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
9
9
  */
@@ -116,3 +116,17 @@ export const createAuction = {
116
116
  typeName: "uniswap.liquidity.v1.AuctionService"
117
117
  }
118
118
  };
119
+ /**
120
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.CreateDirectLaunch
121
+ */
122
+ export const createDirectLaunch = {
123
+ localName: "createDirectLaunch",
124
+ name: "CreateDirectLaunch",
125
+ kind: MethodKind.Unary,
126
+ I: CreateDirectLaunchRequest,
127
+ O: CreateDirectLaunchResponse,
128
+ idempotency: MethodIdempotency.NoSideEffects,
129
+ service: {
130
+ typeName: "uniswap.liquidity.v1.AuctionService"
131
+ }
132
+ };
@@ -1,4 +1,4 @@
1
- import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
1
+ import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, CreateDirectLaunchRequest, CreateDirectLaunchResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
2
2
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.liquidity.v1.AuctionService
@@ -86,5 +86,15 @@ export declare const AuctionService: {
86
86
  readonly kind: MethodKind.Unary;
87
87
  readonly idempotency: MethodIdempotency.NoSideEffects;
88
88
  };
89
+ /**
90
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.CreateDirectLaunch
91
+ */
92
+ readonly createDirectLaunch: {
93
+ readonly name: "CreateDirectLaunch";
94
+ readonly I: typeof CreateDirectLaunchRequest;
95
+ readonly O: typeof CreateDirectLaunchResponse;
96
+ readonly kind: MethodKind.Unary;
97
+ readonly idempotency: MethodIdempotency.NoSideEffects;
98
+ };
89
99
  };
90
100
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file uniswap/liquidity/v1/auction.proto (package uniswap.liquidity.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
5
+ import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, CreateDirectLaunchRequest, CreateDirectLaunchResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
6
6
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.liquidity.v1.AuctionService
@@ -90,5 +90,15 @@ export const AuctionService = {
90
90
  kind: MethodKind.Unary,
91
91
  idempotency: MethodIdempotency.NoSideEffects,
92
92
  },
93
+ /**
94
+ * @generated from rpc uniswap.liquidity.v1.AuctionService.CreateDirectLaunch
95
+ */
96
+ createDirectLaunch: {
97
+ name: "CreateDirectLaunch",
98
+ I: CreateDirectLaunchRequest,
99
+ O: CreateDirectLaunchResponse,
100
+ kind: MethodKind.Unary,
101
+ idempotency: MethodIdempotency.NoSideEffects,
102
+ },
93
103
  }
94
104
  };
@@ -655,6 +655,16 @@ export declare class AuctionConfig extends Message<AuctionConfig> {
655
655
  * @generated from field: string returned_supply = 7;
656
656
  */
657
657
  returnedSupply: string;
658
+ /**
659
+ * Optional graduation price as a canonical raise-currency-per-1-token decimal (same encoding
660
+ * as floor_price_raise_per_token). When set, the auction's graduation threshold becomes
661
+ * graduation price x sold supply instead of floor price x sold supply, decoupling the
662
+ * graduation target from the floor. Must be >= floor_price_raise_per_token. Empty/omitted
663
+ * keeps the default: graduate at the floor.
664
+ *
665
+ * @generated from field: optional string graduation_price_raise_per_token = 8;
666
+ */
667
+ graduationPriceRaisePerToken?: string;
658
668
  constructor(data?: PartialMessage<AuctionConfig>);
659
669
  static readonly runtime: typeof proto3;
660
670
  static readonly typeName = "uniswap.liquidity.v1.AuctionConfig";
@@ -1009,3 +1019,101 @@ export declare class CreateAuctionResponse extends Message<CreateAuctionResponse
1009
1019
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAuctionResponse;
1010
1020
  static equals(a: CreateAuctionResponse | PlainMessage<CreateAuctionResponse> | undefined, b: CreateAuctionResponse | PlainMessage<CreateAuctionResponse> | undefined): boolean;
1011
1021
  }
1022
+ /**
1023
+ * @generated from message uniswap.liquidity.v1.CreateDirectLaunchRequest
1024
+ */
1025
+ export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunchRequest> {
1026
+ /**
1027
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
1028
+ */
1029
+ chainId: ChainId;
1030
+ /**
1031
+ * Creator / transaction sender. The CREATE2 token prediction derives from this
1032
+ * (via the factory graffiti).
1033
+ *
1034
+ * @generated from field: string wallet_address = 2;
1035
+ */
1036
+ walletAddress: string;
1037
+ /**
1038
+ * @generated from field: string token_name = 3;
1039
+ */
1040
+ tokenName: string;
1041
+ /**
1042
+ * @generated from field: string token_symbol = 4;
1043
+ */
1044
+ tokenSymbol: string;
1045
+ /**
1046
+ * description / website / image (pre-uploaded URL, exactly as CreateAuction
1047
+ * receives it) / x_verification_token (optional; verified server-side and
1048
+ * embedded into the factory tokenData's extraData JSON envelope, exactly as
1049
+ * CreateAuction does).
1050
+ *
1051
+ * @generated from field: uniswap.liquidity.v1.TokenMetadata metadata = 5;
1052
+ */
1053
+ metadata?: TokenMetadata;
1054
+ /**
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).
1058
+ *
1059
+ * @generated from field: optional string fee_beneficiary = 6;
1060
+ */
1061
+ feeBeneficiary?: string;
1062
+ /**
1063
+ * When true, also eth_estimateGas the built multicall: the response carries
1064
+ * gas_fee and the transaction's gas_limit / max_fee_per_gas /
1065
+ * max_priority_fee_per_gas fields are populated.
1066
+ *
1067
+ * @generated from field: optional bool simulate_transaction = 7;
1068
+ */
1069
+ simulateTransaction?: boolean;
1070
+ constructor(data?: PartialMessage<CreateDirectLaunchRequest>);
1071
+ static readonly runtime: typeof proto3;
1072
+ static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
1073
+ static readonly fields: FieldList;
1074
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectLaunchRequest;
1075
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectLaunchRequest;
1076
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectLaunchRequest;
1077
+ static equals(a: CreateDirectLaunchRequest | PlainMessage<CreateDirectLaunchRequest> | undefined, b: CreateDirectLaunchRequest | PlainMessage<CreateDirectLaunchRequest> | undefined): boolean;
1078
+ }
1079
+ /**
1080
+ * @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
1081
+ */
1082
+ export declare class CreateDirectLaunchResponse extends Message<CreateDirectLaunchResponse> {
1083
+ /**
1084
+ * @generated from field: string request_id = 1;
1085
+ */
1086
+ requestId: string;
1087
+ /**
1088
+ * Ordered; today always a single LiquidityLauncher.multicall(createToken,
1089
+ * distributeToken) with value 0.
1090
+ *
1091
+ * @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
1092
+ */
1093
+ transactions: TransactionRequest[];
1094
+ /**
1095
+ * Same semantics as CreateAuctionResponse.atomically_bundleable.
1096
+ *
1097
+ * @generated from field: bool atomically_bundleable = 3;
1098
+ */
1099
+ atomicallyBundleable: boolean;
1100
+ /**
1101
+ * @generated from field: string predicted_token_address = 4;
1102
+ */
1103
+ predictedTokenAddress: string;
1104
+ /**
1105
+ * Gas limit for the launch multicall (same semantics as
1106
+ * CreateAuctionResponse.gas_fee). Set only when simulate_transaction was true.
1107
+ *
1108
+ * @generated from field: optional string gas_fee = 5;
1109
+ */
1110
+ gasFee?: string;
1111
+ constructor(data?: PartialMessage<CreateDirectLaunchResponse>);
1112
+ static readonly runtime: typeof proto3;
1113
+ static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchResponse";
1114
+ static readonly fields: FieldList;
1115
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectLaunchResponse;
1116
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectLaunchResponse;
1117
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectLaunchResponse;
1118
+ static equals(a: CreateDirectLaunchResponse | PlainMessage<CreateDirectLaunchResponse> | undefined, b: CreateDirectLaunchResponse | PlainMessage<CreateDirectLaunchResponse> | undefined): boolean;
1119
+ }
@@ -905,6 +905,7 @@ AuctionConfig.fields = proto3.util.newFieldList(() => [
905
905
  { no: 5, name: "auction_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
906
906
  { no: 6, name: "validation_hook", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
907
907
  { no: 7, name: "returned_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
908
+ { no: 8, name: "graduation_price_raise_per_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
908
909
  ]);
909
910
  /**
910
911
  * @generated from message uniswap.liquidity.v1.PoolConfig
@@ -1350,3 +1351,105 @@ CreateAuctionResponse.fields = proto3.util.newFieldList(() => [
1350
1351
  { no: 5, name: "predicted_auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1351
1352
  { no: 6, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1352
1353
  ]);
1354
+ /**
1355
+ * @generated from message uniswap.liquidity.v1.CreateDirectLaunchRequest
1356
+ */
1357
+ export class CreateDirectLaunchRequest extends Message {
1358
+ constructor(data) {
1359
+ super();
1360
+ /**
1361
+ * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
1362
+ */
1363
+ this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
1364
+ /**
1365
+ * Creator / transaction sender. The CREATE2 token prediction derives from this
1366
+ * (via the factory graffiti).
1367
+ *
1368
+ * @generated from field: string wallet_address = 2;
1369
+ */
1370
+ this.walletAddress = "";
1371
+ /**
1372
+ * @generated from field: string token_name = 3;
1373
+ */
1374
+ this.tokenName = "";
1375
+ /**
1376
+ * @generated from field: string token_symbol = 4;
1377
+ */
1378
+ this.tokenSymbol = "";
1379
+ proto3.util.initPartial(data, this);
1380
+ }
1381
+ static fromBinary(bytes, options) {
1382
+ return new CreateDirectLaunchRequest().fromBinary(bytes, options);
1383
+ }
1384
+ static fromJson(jsonValue, options) {
1385
+ return new CreateDirectLaunchRequest().fromJson(jsonValue, options);
1386
+ }
1387
+ static fromJsonString(jsonString, options) {
1388
+ return new CreateDirectLaunchRequest().fromJsonString(jsonString, options);
1389
+ }
1390
+ static equals(a, b) {
1391
+ return proto3.util.equals(CreateDirectLaunchRequest, a, b);
1392
+ }
1393
+ }
1394
+ CreateDirectLaunchRequest.runtime = proto3;
1395
+ CreateDirectLaunchRequest.typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
1396
+ CreateDirectLaunchRequest.fields = proto3.util.newFieldList(() => [
1397
+ { no: 1, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
1398
+ { no: 2, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1399
+ { no: 3, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1400
+ { no: 4, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1401
+ { no: 5, name: "metadata", kind: "message", T: TokenMetadata },
1402
+ { no: 6, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1403
+ { no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1404
+ ]);
1405
+ /**
1406
+ * @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
1407
+ */
1408
+ export class CreateDirectLaunchResponse extends Message {
1409
+ constructor(data) {
1410
+ super();
1411
+ /**
1412
+ * @generated from field: string request_id = 1;
1413
+ */
1414
+ this.requestId = "";
1415
+ /**
1416
+ * Ordered; today always a single LiquidityLauncher.multicall(createToken,
1417
+ * distributeToken) with value 0.
1418
+ *
1419
+ * @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
1420
+ */
1421
+ this.transactions = [];
1422
+ /**
1423
+ * Same semantics as CreateAuctionResponse.atomically_bundleable.
1424
+ *
1425
+ * @generated from field: bool atomically_bundleable = 3;
1426
+ */
1427
+ this.atomicallyBundleable = false;
1428
+ /**
1429
+ * @generated from field: string predicted_token_address = 4;
1430
+ */
1431
+ this.predictedTokenAddress = "";
1432
+ proto3.util.initPartial(data, this);
1433
+ }
1434
+ static fromBinary(bytes, options) {
1435
+ return new CreateDirectLaunchResponse().fromBinary(bytes, options);
1436
+ }
1437
+ static fromJson(jsonValue, options) {
1438
+ return new CreateDirectLaunchResponse().fromJson(jsonValue, options);
1439
+ }
1440
+ static fromJsonString(jsonString, options) {
1441
+ return new CreateDirectLaunchResponse().fromJsonString(jsonString, options);
1442
+ }
1443
+ static equals(a, b) {
1444
+ return proto3.util.equals(CreateDirectLaunchResponse, a, b);
1445
+ }
1446
+ }
1447
+ CreateDirectLaunchResponse.runtime = proto3;
1448
+ CreateDirectLaunchResponse.typeName = "uniswap.liquidity.v1.CreateDirectLaunchResponse";
1449
+ CreateDirectLaunchResponse.fields = proto3.util.newFieldList(() => [
1450
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1451
+ { no: 2, name: "transactions", kind: "message", T: TransactionRequest, repeated: true },
1452
+ { no: 3, name: "atomically_bundleable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1453
+ { no: 4, name: "predicted_token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1454
+ { no: 5, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1455
+ ]);
@@ -85,6 +85,12 @@ export declare class VerifyXCallbackResponse extends Message<VerifyXCallbackResp
85
85
  * @generated from field: string x_verification_token = 2;
86
86
  */
87
87
  xVerificationToken: string;
88
+ /**
89
+ * X profile image URL, normalized to the 400x400 variant. Absent when X omits it.
90
+ *
91
+ * @generated from field: optional string x_profile_image_url = 3;
92
+ */
93
+ xProfileImageUrl?: string;
88
94
  constructor(data?: PartialMessage<VerifyXCallbackResponse>);
89
95
  static readonly runtime: typeof proto3;
90
96
  static readonly typeName = "uniswap.liquidity.v1.VerifyXCallbackResponse";
@@ -151,4 +151,5 @@ VerifyXCallbackResponse.typeName = "uniswap.liquidity.v1.VerifyXCallbackResponse
151
151
  VerifyXCallbackResponse.fields = proto3.util.newFieldList(() => [
152
152
  { no: 1, name: "x_handle", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
153
  { no: 2, name: "x_verification_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
154
+ { no: 3, name: "x_profile_image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
154
155
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "1.4.14",
3
+ "version": "1.4.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },