@uniswap/client-liquidity 1.4.15 → 1.4.18
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.
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.d.ts +15 -1
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +15 -1
- package/dist/uniswap/liquidity/v1/auction_connect.d.ts +11 -1
- package/dist/uniswap/liquidity/v1/auction_connect.js +11 -1
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +136 -0
- package/dist/uniswap/liquidity/v1/auction_pb.js +104 -0
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -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";
|
|
@@ -655,6 +683,16 @@ export declare class AuctionConfig extends Message<AuctionConfig> {
|
|
|
655
683
|
* @generated from field: string returned_supply = 7;
|
|
656
684
|
*/
|
|
657
685
|
returnedSupply: string;
|
|
686
|
+
/**
|
|
687
|
+
* Optional graduation price as a canonical raise-currency-per-1-token decimal (same encoding
|
|
688
|
+
* as floor_price_raise_per_token). When set, the auction's graduation threshold becomes
|
|
689
|
+
* graduation price x sold supply instead of floor price x sold supply, decoupling the
|
|
690
|
+
* graduation target from the floor. Must be >= floor_price_raise_per_token. Empty/omitted
|
|
691
|
+
* keeps the default: graduate at the floor.
|
|
692
|
+
*
|
|
693
|
+
* @generated from field: optional string graduation_price_raise_per_token = 8;
|
|
694
|
+
*/
|
|
695
|
+
graduationPriceRaisePerToken?: string;
|
|
658
696
|
constructor(data?: PartialMessage<AuctionConfig>);
|
|
659
697
|
static readonly runtime: typeof proto3;
|
|
660
698
|
static readonly typeName = "uniswap.liquidity.v1.AuctionConfig";
|
|
@@ -1009,3 +1047,101 @@ export declare class CreateAuctionResponse extends Message<CreateAuctionResponse
|
|
|
1009
1047
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAuctionResponse;
|
|
1010
1048
|
static equals(a: CreateAuctionResponse | PlainMessage<CreateAuctionResponse> | undefined, b: CreateAuctionResponse | PlainMessage<CreateAuctionResponse> | undefined): boolean;
|
|
1011
1049
|
}
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from message uniswap.liquidity.v1.CreateDirectLaunchRequest
|
|
1052
|
+
*/
|
|
1053
|
+
export declare class CreateDirectLaunchRequest extends Message<CreateDirectLaunchRequest> {
|
|
1054
|
+
/**
|
|
1055
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
|
|
1056
|
+
*/
|
|
1057
|
+
chainId: ChainId;
|
|
1058
|
+
/**
|
|
1059
|
+
* Creator / transaction sender. The CREATE2 token prediction derives from this
|
|
1060
|
+
* (via the factory graffiti).
|
|
1061
|
+
*
|
|
1062
|
+
* @generated from field: string wallet_address = 2;
|
|
1063
|
+
*/
|
|
1064
|
+
walletAddress: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* @generated from field: string token_name = 3;
|
|
1067
|
+
*/
|
|
1068
|
+
tokenName: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* @generated from field: string token_symbol = 4;
|
|
1071
|
+
*/
|
|
1072
|
+
tokenSymbol: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* description / website / image (pre-uploaded URL, exactly as CreateAuction
|
|
1075
|
+
* receives it) / x_verification_token (optional; verified server-side and
|
|
1076
|
+
* embedded into the factory tokenData's extraData JSON envelope, exactly as
|
|
1077
|
+
* CreateAuction does).
|
|
1078
|
+
*
|
|
1079
|
+
* @generated from field: uniswap.liquidity.v1.TokenMetadata metadata = 5;
|
|
1080
|
+
*/
|
|
1081
|
+
metadata?: TokenMetadata;
|
|
1082
|
+
/**
|
|
1083
|
+
* LP-fee (creator fee) beneficiary. Unset = the creator-fee toggle is OFF: the
|
|
1084
|
+
* server substitutes the protocol autocompound recipient, so all fees stay
|
|
1085
|
+
* protocol-owned (the DISABLED_CREATOR_FEE_BENEFICIARY policy lives server-side).
|
|
1086
|
+
*
|
|
1087
|
+
* @generated from field: optional string fee_beneficiary = 6;
|
|
1088
|
+
*/
|
|
1089
|
+
feeBeneficiary?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* When true, also eth_estimateGas the built multicall: the response carries
|
|
1092
|
+
* gas_fee and the transaction's gas_limit / max_fee_per_gas /
|
|
1093
|
+
* max_priority_fee_per_gas fields are populated.
|
|
1094
|
+
*
|
|
1095
|
+
* @generated from field: optional bool simulate_transaction = 7;
|
|
1096
|
+
*/
|
|
1097
|
+
simulateTransaction?: boolean;
|
|
1098
|
+
constructor(data?: PartialMessage<CreateDirectLaunchRequest>);
|
|
1099
|
+
static readonly runtime: typeof proto3;
|
|
1100
|
+
static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
|
|
1101
|
+
static readonly fields: FieldList;
|
|
1102
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectLaunchRequest;
|
|
1103
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectLaunchRequest;
|
|
1104
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectLaunchRequest;
|
|
1105
|
+
static equals(a: CreateDirectLaunchRequest | PlainMessage<CreateDirectLaunchRequest> | undefined, b: CreateDirectLaunchRequest | PlainMessage<CreateDirectLaunchRequest> | undefined): boolean;
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
|
|
1109
|
+
*/
|
|
1110
|
+
export declare class CreateDirectLaunchResponse extends Message<CreateDirectLaunchResponse> {
|
|
1111
|
+
/**
|
|
1112
|
+
* @generated from field: string request_id = 1;
|
|
1113
|
+
*/
|
|
1114
|
+
requestId: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* Ordered; today always a single LiquidityLauncher.multicall(createToken,
|
|
1117
|
+
* distributeToken) with value 0.
|
|
1118
|
+
*
|
|
1119
|
+
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
1120
|
+
*/
|
|
1121
|
+
transactions: TransactionRequest[];
|
|
1122
|
+
/**
|
|
1123
|
+
* Same semantics as CreateAuctionResponse.atomically_bundleable.
|
|
1124
|
+
*
|
|
1125
|
+
* @generated from field: bool atomically_bundleable = 3;
|
|
1126
|
+
*/
|
|
1127
|
+
atomicallyBundleable: boolean;
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: string predicted_token_address = 4;
|
|
1130
|
+
*/
|
|
1131
|
+
predictedTokenAddress: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* Gas limit for the launch multicall (same semantics as
|
|
1134
|
+
* CreateAuctionResponse.gas_fee). Set only when simulate_transaction was true.
|
|
1135
|
+
*
|
|
1136
|
+
* @generated from field: optional string gas_fee = 5;
|
|
1137
|
+
*/
|
|
1138
|
+
gasFee?: string;
|
|
1139
|
+
constructor(data?: PartialMessage<CreateDirectLaunchResponse>);
|
|
1140
|
+
static readonly runtime: typeof proto3;
|
|
1141
|
+
static readonly typeName = "uniswap.liquidity.v1.CreateDirectLaunchResponse";
|
|
1142
|
+
static readonly fields: FieldList;
|
|
1143
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDirectLaunchResponse;
|
|
1144
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDirectLaunchResponse;
|
|
1145
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDirectLaunchResponse;
|
|
1146
|
+
static equals(a: CreateDirectLaunchResponse | PlainMessage<CreateDirectLaunchResponse> | undefined, b: CreateDirectLaunchResponse | PlainMessage<CreateDirectLaunchResponse> | undefined): boolean;
|
|
1147
|
+
}
|
|
@@ -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
|
|
@@ -905,6 +906,7 @@ AuctionConfig.fields = proto3.util.newFieldList(() => [
|
|
|
905
906
|
{ no: 5, name: "auction_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
906
907
|
{ no: 6, name: "validation_hook", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
907
908
|
{ no: 7, name: "returned_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
909
|
+
{ no: 8, name: "graduation_price_raise_per_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
908
910
|
]);
|
|
909
911
|
/**
|
|
910
912
|
* @generated from message uniswap.liquidity.v1.PoolConfig
|
|
@@ -1350,3 +1352,105 @@ CreateAuctionResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1350
1352
|
{ no: 5, name: "predicted_auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1351
1353
|
{ no: 6, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1352
1354
|
]);
|
|
1355
|
+
/**
|
|
1356
|
+
* @generated from message uniswap.liquidity.v1.CreateDirectLaunchRequest
|
|
1357
|
+
*/
|
|
1358
|
+
export class CreateDirectLaunchRequest extends Message {
|
|
1359
|
+
constructor(data) {
|
|
1360
|
+
super();
|
|
1361
|
+
/**
|
|
1362
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
|
|
1363
|
+
*/
|
|
1364
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
1365
|
+
/**
|
|
1366
|
+
* Creator / transaction sender. The CREATE2 token prediction derives from this
|
|
1367
|
+
* (via the factory graffiti).
|
|
1368
|
+
*
|
|
1369
|
+
* @generated from field: string wallet_address = 2;
|
|
1370
|
+
*/
|
|
1371
|
+
this.walletAddress = "";
|
|
1372
|
+
/**
|
|
1373
|
+
* @generated from field: string token_name = 3;
|
|
1374
|
+
*/
|
|
1375
|
+
this.tokenName = "";
|
|
1376
|
+
/**
|
|
1377
|
+
* @generated from field: string token_symbol = 4;
|
|
1378
|
+
*/
|
|
1379
|
+
this.tokenSymbol = "";
|
|
1380
|
+
proto3.util.initPartial(data, this);
|
|
1381
|
+
}
|
|
1382
|
+
static fromBinary(bytes, options) {
|
|
1383
|
+
return new CreateDirectLaunchRequest().fromBinary(bytes, options);
|
|
1384
|
+
}
|
|
1385
|
+
static fromJson(jsonValue, options) {
|
|
1386
|
+
return new CreateDirectLaunchRequest().fromJson(jsonValue, options);
|
|
1387
|
+
}
|
|
1388
|
+
static fromJsonString(jsonString, options) {
|
|
1389
|
+
return new CreateDirectLaunchRequest().fromJsonString(jsonString, options);
|
|
1390
|
+
}
|
|
1391
|
+
static equals(a, b) {
|
|
1392
|
+
return proto3.util.equals(CreateDirectLaunchRequest, a, b);
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
CreateDirectLaunchRequest.runtime = proto3;
|
|
1396
|
+
CreateDirectLaunchRequest.typeName = "uniswap.liquidity.v1.CreateDirectLaunchRequest";
|
|
1397
|
+
CreateDirectLaunchRequest.fields = proto3.util.newFieldList(() => [
|
|
1398
|
+
{ no: 1, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
1399
|
+
{ no: 2, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1400
|
+
{ no: 3, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1401
|
+
{ no: 4, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1402
|
+
{ no: 5, name: "metadata", kind: "message", T: TokenMetadata },
|
|
1403
|
+
{ no: 6, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1404
|
+
{ no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1405
|
+
]);
|
|
1406
|
+
/**
|
|
1407
|
+
* @generated from message uniswap.liquidity.v1.CreateDirectLaunchResponse
|
|
1408
|
+
*/
|
|
1409
|
+
export class CreateDirectLaunchResponse extends Message {
|
|
1410
|
+
constructor(data) {
|
|
1411
|
+
super();
|
|
1412
|
+
/**
|
|
1413
|
+
* @generated from field: string request_id = 1;
|
|
1414
|
+
*/
|
|
1415
|
+
this.requestId = "";
|
|
1416
|
+
/**
|
|
1417
|
+
* Ordered; today always a single LiquidityLauncher.multicall(createToken,
|
|
1418
|
+
* distributeToken) with value 0.
|
|
1419
|
+
*
|
|
1420
|
+
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
1421
|
+
*/
|
|
1422
|
+
this.transactions = [];
|
|
1423
|
+
/**
|
|
1424
|
+
* Same semantics as CreateAuctionResponse.atomically_bundleable.
|
|
1425
|
+
*
|
|
1426
|
+
* @generated from field: bool atomically_bundleable = 3;
|
|
1427
|
+
*/
|
|
1428
|
+
this.atomicallyBundleable = false;
|
|
1429
|
+
/**
|
|
1430
|
+
* @generated from field: string predicted_token_address = 4;
|
|
1431
|
+
*/
|
|
1432
|
+
this.predictedTokenAddress = "";
|
|
1433
|
+
proto3.util.initPartial(data, this);
|
|
1434
|
+
}
|
|
1435
|
+
static fromBinary(bytes, options) {
|
|
1436
|
+
return new CreateDirectLaunchResponse().fromBinary(bytes, options);
|
|
1437
|
+
}
|
|
1438
|
+
static fromJson(jsonValue, options) {
|
|
1439
|
+
return new CreateDirectLaunchResponse().fromJson(jsonValue, options);
|
|
1440
|
+
}
|
|
1441
|
+
static fromJsonString(jsonString, options) {
|
|
1442
|
+
return new CreateDirectLaunchResponse().fromJsonString(jsonString, options);
|
|
1443
|
+
}
|
|
1444
|
+
static equals(a, b) {
|
|
1445
|
+
return proto3.util.equals(CreateDirectLaunchResponse, a, b);
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
CreateDirectLaunchResponse.runtime = proto3;
|
|
1449
|
+
CreateDirectLaunchResponse.typeName = "uniswap.liquidity.v1.CreateDirectLaunchResponse";
|
|
1450
|
+
CreateDirectLaunchResponse.fields = proto3.util.newFieldList(() => [
|
|
1451
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1452
|
+
{ no: 2, name: "transactions", kind: "message", T: TransactionRequest, repeated: true },
|
|
1453
|
+
{ no: 3, name: "atomically_bundleable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1454
|
+
{ no: 4, name: "predicted_token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1455
|
+
{ no: 5, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1456
|
+
]);
|