@uniswap/client-liquidity 1.0.4 → 1.0.6
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 +446 -0
- package/dist/uniswap/liquidity/v1/auction_pb.js +589 -1
- package/dist/uniswap/liquidity/v2/api_pb.d.ts +7 -0
- package/dist/uniswap/liquidity/v2/api_pb.js +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
2
|
+
import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, 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
|
*/
|
|
@@ -98,3 +98,17 @@ export declare const validateAuctionHook: {
|
|
|
98
98
|
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.CreateAuction
|
|
103
|
+
*/
|
|
104
|
+
export declare const createAuction: {
|
|
105
|
+
readonly localName: "createAuction";
|
|
106
|
+
readonly name: "CreateAuction";
|
|
107
|
+
readonly kind: MethodKind.Unary;
|
|
108
|
+
readonly I: typeof CreateAuctionRequest;
|
|
109
|
+
readonly O: typeof CreateAuctionResponse;
|
|
110
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
111
|
+
readonly service: {
|
|
112
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
6
|
+
import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, 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
|
*/
|
|
@@ -102,3 +102,17 @@ export const validateAuctionHook = {
|
|
|
102
102
|
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.CreateAuction
|
|
107
|
+
*/
|
|
108
|
+
export const createAuction = {
|
|
109
|
+
localName: "createAuction",
|
|
110
|
+
name: "CreateAuction",
|
|
111
|
+
kind: MethodKind.Unary,
|
|
112
|
+
I: CreateAuctionRequest,
|
|
113
|
+
O: CreateAuctionResponse,
|
|
114
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
115
|
+
service: {
|
|
116
|
+
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
117
|
+
}
|
|
118
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
1
|
+
import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, 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
|
|
@@ -76,5 +76,15 @@ export declare const AuctionService: {
|
|
|
76
76
|
readonly kind: MethodKind.Unary;
|
|
77
77
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
78
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.CreateAuction
|
|
81
|
+
*/
|
|
82
|
+
readonly createAuction: {
|
|
83
|
+
readonly name: "CreateAuction";
|
|
84
|
+
readonly I: typeof CreateAuctionRequest;
|
|
85
|
+
readonly O: typeof CreateAuctionResponse;
|
|
86
|
+
readonly kind: MethodKind.Unary;
|
|
87
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
88
|
+
};
|
|
79
89
|
};
|
|
80
90
|
};
|
|
@@ -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, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
5
|
+
import { ClaimTokensRequest, ClaimTokensResponse, CreateAuctionRequest, CreateAuctionResponse, 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
|
|
@@ -80,5 +80,15 @@ export const AuctionService = {
|
|
|
80
80
|
kind: MethodKind.Unary,
|
|
81
81
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
82
82
|
},
|
|
83
|
+
/**
|
|
84
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.CreateAuction
|
|
85
|
+
*/
|
|
86
|
+
createAuction: {
|
|
87
|
+
name: "CreateAuction",
|
|
88
|
+
I: CreateAuctionRequest,
|
|
89
|
+
O: CreateAuctionResponse,
|
|
90
|
+
kind: MethodKind.Unary,
|
|
91
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
92
|
+
},
|
|
83
93
|
}
|
|
84
94
|
};
|
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
import { AuctionValidation, BidToExit, ChainId, TransactionRequest, ValidationType } from "./types_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* @generated from enum uniswap.liquidity.v1.TokenStandard
|
|
6
|
+
*/
|
|
7
|
+
export declare enum TokenStandard {
|
|
8
|
+
/**
|
|
9
|
+
* @generated from enum value: TOKEN_STANDARD_UNSPECIFIED = 0;
|
|
10
|
+
*/
|
|
11
|
+
TOKEN_STANDARD_UNSPECIFIED = 0,
|
|
12
|
+
/**
|
|
13
|
+
* @generated from enum value: UERC20 = 1;
|
|
14
|
+
*/
|
|
15
|
+
UERC20 = 1,
|
|
16
|
+
/**
|
|
17
|
+
* @generated from enum value: USUPERC20 = 2;
|
|
18
|
+
*/
|
|
19
|
+
USUPERC20 = 2
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum uniswap.liquidity.v1.PriceRangeStrategy
|
|
23
|
+
*/
|
|
24
|
+
export declare enum PriceRangeStrategy {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: PRICE_RANGE_STRATEGY_UNSPECIFIED = 0;
|
|
27
|
+
*/
|
|
28
|
+
PRICE_RANGE_STRATEGY_UNSPECIFIED = 0,
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: CONCENTRATED_FULL_RANGE = 1;
|
|
31
|
+
*/
|
|
32
|
+
CONCENTRATED_FULL_RANGE = 1,
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: FULL_RANGE = 2;
|
|
35
|
+
*/
|
|
36
|
+
FULL_RANGE = 2,
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum value: CUSTOM_RANGE = 3;
|
|
39
|
+
*/
|
|
40
|
+
CUSTOM_RANGE = 3
|
|
41
|
+
}
|
|
4
42
|
/**
|
|
5
43
|
* REQUESTS & RESPONSES
|
|
6
44
|
*
|
|
@@ -422,3 +460,411 @@ export declare class HookValidationResult extends Message<HookValidationResult>
|
|
|
422
460
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HookValidationResult;
|
|
423
461
|
static equals(a: HookValidationResult | PlainMessage<HookValidationResult> | undefined, b: HookValidationResult | PlainMessage<HookValidationResult> | undefined): boolean;
|
|
424
462
|
}
|
|
463
|
+
/**
|
|
464
|
+
* @generated from message uniswap.liquidity.v1.CreateAuctionRequest
|
|
465
|
+
*/
|
|
466
|
+
export declare class CreateAuctionRequest extends Message<CreateAuctionRequest> {
|
|
467
|
+
/**
|
|
468
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
|
|
469
|
+
*/
|
|
470
|
+
chainId: ChainId;
|
|
471
|
+
/**
|
|
472
|
+
* Creator / transaction sender. Used for graffiti, recipients, and address derivation.
|
|
473
|
+
*
|
|
474
|
+
* @generated from field: string wallet_address = 2;
|
|
475
|
+
*/
|
|
476
|
+
walletAddress: string;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: uniswap.liquidity.v1.TokenInfo token_info = 3;
|
|
479
|
+
*/
|
|
480
|
+
tokenInfo?: TokenInfo;
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: uniswap.liquidity.v1.AuctionConfig auction = 4;
|
|
483
|
+
*/
|
|
484
|
+
auction?: AuctionConfig;
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: uniswap.liquidity.v1.PoolConfig pool = 5;
|
|
487
|
+
*/
|
|
488
|
+
pool?: PoolConfig;
|
|
489
|
+
/**
|
|
490
|
+
* bytes32 hex; domain-separates the deterministic token/auction addresses.
|
|
491
|
+
*
|
|
492
|
+
* @generated from field: string salt = 6;
|
|
493
|
+
*/
|
|
494
|
+
salt: string;
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: optional bool simulate_transaction = 7;
|
|
497
|
+
*/
|
|
498
|
+
simulateTransaction?: boolean;
|
|
499
|
+
constructor(data?: PartialMessage<CreateAuctionRequest>);
|
|
500
|
+
static readonly runtime: typeof proto3;
|
|
501
|
+
static readonly typeName = "uniswap.liquidity.v1.CreateAuctionRequest";
|
|
502
|
+
static readonly fields: FieldList;
|
|
503
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAuctionRequest;
|
|
504
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAuctionRequest;
|
|
505
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAuctionRequest;
|
|
506
|
+
static equals(a: CreateAuctionRequest | PlainMessage<CreateAuctionRequest> | undefined, b: CreateAuctionRequest | PlainMessage<CreateAuctionRequest> | undefined): boolean;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* @generated from message uniswap.liquidity.v1.TokenInfo
|
|
510
|
+
*/
|
|
511
|
+
export declare class TokenInfo extends Message<TokenInfo> {
|
|
512
|
+
/**
|
|
513
|
+
* @generated from oneof uniswap.liquidity.v1.TokenInfo.source
|
|
514
|
+
*/
|
|
515
|
+
source: {
|
|
516
|
+
/**
|
|
517
|
+
* @generated from field: uniswap.liquidity.v1.NewTokenConfig new_token = 1;
|
|
518
|
+
*/
|
|
519
|
+
value: NewTokenConfig;
|
|
520
|
+
case: "newToken";
|
|
521
|
+
} | {
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: uniswap.liquidity.v1.ExistingTokenConfig existing = 2;
|
|
524
|
+
*/
|
|
525
|
+
value: ExistingTokenConfig;
|
|
526
|
+
case: "existing";
|
|
527
|
+
} | {
|
|
528
|
+
case: undefined;
|
|
529
|
+
value?: undefined;
|
|
530
|
+
};
|
|
531
|
+
constructor(data?: PartialMessage<TokenInfo>);
|
|
532
|
+
static readonly runtime: typeof proto3;
|
|
533
|
+
static readonly typeName = "uniswap.liquidity.v1.TokenInfo";
|
|
534
|
+
static readonly fields: FieldList;
|
|
535
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenInfo;
|
|
536
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenInfo;
|
|
537
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenInfo;
|
|
538
|
+
static equals(a: TokenInfo | PlainMessage<TokenInfo> | undefined, b: TokenInfo | PlainMessage<TokenInfo> | undefined): boolean;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* @generated from message uniswap.liquidity.v1.NewTokenConfig
|
|
542
|
+
*/
|
|
543
|
+
export declare class NewTokenConfig extends Message<NewTokenConfig> {
|
|
544
|
+
/**
|
|
545
|
+
* @generated from field: uniswap.liquidity.v1.TokenStandard standard = 1;
|
|
546
|
+
*/
|
|
547
|
+
standard: TokenStandard;
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: string name = 2;
|
|
550
|
+
*/
|
|
551
|
+
name: string;
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: string symbol = 3;
|
|
554
|
+
*/
|
|
555
|
+
symbol: string;
|
|
556
|
+
/**
|
|
557
|
+
* Raw uint128 amount (18 decimals for new tokens).
|
|
558
|
+
*
|
|
559
|
+
* @generated from field: string total_supply = 4;
|
|
560
|
+
*/
|
|
561
|
+
totalSupply: string;
|
|
562
|
+
/**
|
|
563
|
+
* @generated from field: uniswap.liquidity.v1.TokenMetadata metadata = 5;
|
|
564
|
+
*/
|
|
565
|
+
metadata?: TokenMetadata;
|
|
566
|
+
constructor(data?: PartialMessage<NewTokenConfig>);
|
|
567
|
+
static readonly runtime: typeof proto3;
|
|
568
|
+
static readonly typeName = "uniswap.liquidity.v1.NewTokenConfig";
|
|
569
|
+
static readonly fields: FieldList;
|
|
570
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewTokenConfig;
|
|
571
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewTokenConfig;
|
|
572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewTokenConfig;
|
|
573
|
+
static equals(a: NewTokenConfig | PlainMessage<NewTokenConfig> | undefined, b: NewTokenConfig | PlainMessage<NewTokenConfig> | undefined): boolean;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Written on-chain into the token via the factory's tokenData. The backend only
|
|
577
|
+
* carries these values; image/website/x verification happen async post-launch.
|
|
578
|
+
*
|
|
579
|
+
* @generated from message uniswap.liquidity.v1.TokenMetadata
|
|
580
|
+
*/
|
|
581
|
+
export declare class TokenMetadata extends Message<TokenMetadata> {
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: string description = 1;
|
|
584
|
+
*/
|
|
585
|
+
description: string;
|
|
586
|
+
/**
|
|
587
|
+
* @generated from field: string website = 2;
|
|
588
|
+
*/
|
|
589
|
+
website: string;
|
|
590
|
+
/**
|
|
591
|
+
* @generated from field: string image = 3;
|
|
592
|
+
*/
|
|
593
|
+
image: string;
|
|
594
|
+
/**
|
|
595
|
+
* Tweet id proving X-handle ownership; uint256 carried as a decimal string ("0" when absent).
|
|
596
|
+
*
|
|
597
|
+
* @generated from field: string x_proof_tweet_id = 4;
|
|
598
|
+
*/
|
|
599
|
+
xProofTweetId: string;
|
|
600
|
+
constructor(data?: PartialMessage<TokenMetadata>);
|
|
601
|
+
static readonly runtime: typeof proto3;
|
|
602
|
+
static readonly typeName = "uniswap.liquidity.v1.TokenMetadata";
|
|
603
|
+
static readonly fields: FieldList;
|
|
604
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenMetadata;
|
|
605
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenMetadata;
|
|
606
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMetadata;
|
|
607
|
+
static equals(a: TokenMetadata | PlainMessage<TokenMetadata> | undefined, b: TokenMetadata | PlainMessage<TokenMetadata> | undefined): boolean;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* @generated from message uniswap.liquidity.v1.ExistingTokenConfig
|
|
611
|
+
*/
|
|
612
|
+
export declare class ExistingTokenConfig extends Message<ExistingTokenConfig> {
|
|
613
|
+
/**
|
|
614
|
+
* @generated from field: string token_address = 1;
|
|
615
|
+
*/
|
|
616
|
+
tokenAddress: string;
|
|
617
|
+
/**
|
|
618
|
+
* Raw uint128 amount committed to the launch.
|
|
619
|
+
*
|
|
620
|
+
* @generated from field: string total_supply = 2;
|
|
621
|
+
*/
|
|
622
|
+
totalSupply: string;
|
|
623
|
+
constructor(data?: PartialMessage<ExistingTokenConfig>);
|
|
624
|
+
static readonly runtime: typeof proto3;
|
|
625
|
+
static readonly typeName = "uniswap.liquidity.v1.ExistingTokenConfig";
|
|
626
|
+
static readonly fields: FieldList;
|
|
627
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExistingTokenConfig;
|
|
628
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExistingTokenConfig;
|
|
629
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExistingTokenConfig;
|
|
630
|
+
static equals(a: ExistingTokenConfig | PlainMessage<ExistingTokenConfig> | undefined, b: ExistingTokenConfig | PlainMessage<ExistingTokenConfig> | undefined): boolean;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* @generated from message uniswap.liquidity.v1.AuctionConfig
|
|
634
|
+
*/
|
|
635
|
+
export declare class AuctionConfig extends Message<AuctionConfig> {
|
|
636
|
+
/**
|
|
637
|
+
* Raise-currency token address (chain implied by chain_id). Native/ETH = the zero address.
|
|
638
|
+
*
|
|
639
|
+
* @generated from field: string currency_address = 1;
|
|
640
|
+
*/
|
|
641
|
+
currencyAddress: string;
|
|
642
|
+
/**
|
|
643
|
+
* Unix seconds; translated to start/end blocks (and claim/migration blocks).
|
|
644
|
+
*
|
|
645
|
+
* @generated from field: uint64 start_time_unix = 2;
|
|
646
|
+
*/
|
|
647
|
+
startTimeUnix: bigint;
|
|
648
|
+
/**
|
|
649
|
+
* @generated from field: uint64 end_time_unix = 3;
|
|
650
|
+
*/
|
|
651
|
+
endTimeUnix: bigint;
|
|
652
|
+
/**
|
|
653
|
+
* Canonical raise-currency-per-1-token decimal (the FE converts FDV/USD to this).
|
|
654
|
+
*
|
|
655
|
+
* @generated from field: string floor_price_raise_per_token = 4;
|
|
656
|
+
*/
|
|
657
|
+
floorPriceRaisePerToken: string;
|
|
658
|
+
/**
|
|
659
|
+
* Raw token amount sold in the auction.
|
|
660
|
+
*
|
|
661
|
+
* @generated from field: string auction_supply = 5;
|
|
662
|
+
*/
|
|
663
|
+
auctionSupply: string;
|
|
664
|
+
/**
|
|
665
|
+
* Optional KYC/bid validation hook.
|
|
666
|
+
*
|
|
667
|
+
* @generated from field: optional string validation_hook = 6;
|
|
668
|
+
*/
|
|
669
|
+
validationHook?: string;
|
|
670
|
+
constructor(data?: PartialMessage<AuctionConfig>);
|
|
671
|
+
static readonly runtime: typeof proto3;
|
|
672
|
+
static readonly typeName = "uniswap.liquidity.v1.AuctionConfig";
|
|
673
|
+
static readonly fields: FieldList;
|
|
674
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuctionConfig;
|
|
675
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuctionConfig;
|
|
676
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuctionConfig;
|
|
677
|
+
static equals(a: AuctionConfig | PlainMessage<AuctionConfig> | undefined, b: AuctionConfig | PlainMessage<AuctionConfig> | undefined): boolean;
|
|
678
|
+
}
|
|
679
|
+
/**
|
|
680
|
+
* @generated from message uniswap.liquidity.v1.PoolConfig
|
|
681
|
+
*/
|
|
682
|
+
export declare class PoolConfig extends Message<PoolConfig> {
|
|
683
|
+
/**
|
|
684
|
+
* LP fee in hundredths of a bip (e.g. 3000 = 0.30%). Ignored when dynamic_fee is set.
|
|
685
|
+
*
|
|
686
|
+
* @generated from field: uint32 fee = 1;
|
|
687
|
+
*/
|
|
688
|
+
fee: number;
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: bool dynamic_fee = 2;
|
|
691
|
+
*/
|
|
692
|
+
dynamicFee: boolean;
|
|
693
|
+
/**
|
|
694
|
+
* @generated from field: uniswap.liquidity.v1.PriceRangeStrategy price_range_strategy = 3;
|
|
695
|
+
*/
|
|
696
|
+
priceRangeStrategy: PriceRangeStrategy;
|
|
697
|
+
/**
|
|
698
|
+
* Only used when price_range_strategy = CUSTOM_RANGE.
|
|
699
|
+
*
|
|
700
|
+
* @generated from field: repeated uniswap.liquidity.v1.CustomPriceRange custom_ranges = 4;
|
|
701
|
+
*/
|
|
702
|
+
customRanges: CustomPriceRange[];
|
|
703
|
+
/**
|
|
704
|
+
* Raw token amount reserved for post-auction LP (reservedTokenAmountForLP).
|
|
705
|
+
*
|
|
706
|
+
* @generated from field: string reserved_supply_for_lp = 5;
|
|
707
|
+
*/
|
|
708
|
+
reservedSupplyForLp: string;
|
|
709
|
+
/**
|
|
710
|
+
* @generated from field: uniswap.liquidity.v1.PostAuctionLiquidityAllocation lp_allocation = 6;
|
|
711
|
+
*/
|
|
712
|
+
lpAllocation?: PostAuctionLiquidityAllocation;
|
|
713
|
+
/**
|
|
714
|
+
* Resolves recipient / positionRecipient / auction tokensRecipient. Falls back to wallet_address.
|
|
715
|
+
*
|
|
716
|
+
* @generated from field: string pool_owner = 7;
|
|
717
|
+
*/
|
|
718
|
+
poolOwner: string;
|
|
719
|
+
constructor(data?: PartialMessage<PoolConfig>);
|
|
720
|
+
static readonly runtime: typeof proto3;
|
|
721
|
+
static readonly typeName = "uniswap.liquidity.v1.PoolConfig";
|
|
722
|
+
static readonly fields: FieldList;
|
|
723
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolConfig;
|
|
724
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolConfig;
|
|
725
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolConfig;
|
|
726
|
+
static equals(a: PoolConfig | PlainMessage<PoolConfig> | undefined, b: PoolConfig | PlainMessage<PoolConfig> | undefined): boolean;
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* @generated from message uniswap.liquidity.v1.CustomPriceRange
|
|
730
|
+
*/
|
|
731
|
+
export declare class CustomPriceRange extends Message<CustomPriceRange> {
|
|
732
|
+
/**
|
|
733
|
+
* Decimal strings (e.g. "-50", "100"). String like every other numeric field here,
|
|
734
|
+
* to keep an exact wire value for the BL's tick-boundary conversion.
|
|
735
|
+
*
|
|
736
|
+
* @generated from field: string min_percent_from_clearing = 1;
|
|
737
|
+
*/
|
|
738
|
+
minPercentFromClearing: string;
|
|
739
|
+
/**
|
|
740
|
+
* @generated from field: string max_percent_from_clearing = 2;
|
|
741
|
+
*/
|
|
742
|
+
maxPercentFromClearing: string;
|
|
743
|
+
/**
|
|
744
|
+
* @generated from field: uint32 liquidity_percent = 3;
|
|
745
|
+
*/
|
|
746
|
+
liquidityPercent: number;
|
|
747
|
+
constructor(data?: PartialMessage<CustomPriceRange>);
|
|
748
|
+
static readonly runtime: typeof proto3;
|
|
749
|
+
static readonly typeName = "uniswap.liquidity.v1.CustomPriceRange";
|
|
750
|
+
static readonly fields: FieldList;
|
|
751
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomPriceRange;
|
|
752
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomPriceRange;
|
|
753
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomPriceRange;
|
|
754
|
+
static equals(a: CustomPriceRange | PlainMessage<CustomPriceRange> | undefined, b: CustomPriceRange | PlainMessage<CustomPriceRange> | undefined): boolean;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* @generated from message uniswap.liquidity.v1.PostAuctionLiquidityAllocation
|
|
758
|
+
*/
|
|
759
|
+
export declare class PostAuctionLiquidityAllocation extends Message<PostAuctionLiquidityAllocation> {
|
|
760
|
+
/**
|
|
761
|
+
* @generated from oneof uniswap.liquidity.v1.PostAuctionLiquidityAllocation.kind
|
|
762
|
+
*/
|
|
763
|
+
kind: {
|
|
764
|
+
/**
|
|
765
|
+
* @generated from field: uint32 single_percent = 1;
|
|
766
|
+
*/
|
|
767
|
+
value: number;
|
|
768
|
+
case: "singlePercent";
|
|
769
|
+
} | {
|
|
770
|
+
/**
|
|
771
|
+
* @generated from field: uniswap.liquidity.v1.TieredAllocation tiered = 2;
|
|
772
|
+
*/
|
|
773
|
+
value: TieredAllocation;
|
|
774
|
+
case: "tiered";
|
|
775
|
+
} | {
|
|
776
|
+
case: undefined;
|
|
777
|
+
value?: undefined;
|
|
778
|
+
};
|
|
779
|
+
constructor(data?: PartialMessage<PostAuctionLiquidityAllocation>);
|
|
780
|
+
static readonly runtime: typeof proto3;
|
|
781
|
+
static readonly typeName = "uniswap.liquidity.v1.PostAuctionLiquidityAllocation";
|
|
782
|
+
static readonly fields: FieldList;
|
|
783
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PostAuctionLiquidityAllocation;
|
|
784
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PostAuctionLiquidityAllocation;
|
|
785
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PostAuctionLiquidityAllocation;
|
|
786
|
+
static equals(a: PostAuctionLiquidityAllocation | PlainMessage<PostAuctionLiquidityAllocation> | undefined, b: PostAuctionLiquidityAllocation | PlainMessage<PostAuctionLiquidityAllocation> | undefined): boolean;
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* @generated from message uniswap.liquidity.v1.TieredAllocation
|
|
790
|
+
*/
|
|
791
|
+
export declare class TieredAllocation extends Message<TieredAllocation> {
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: repeated uniswap.liquidity.v1.AllocationTier tiers = 1;
|
|
794
|
+
*/
|
|
795
|
+
tiers: AllocationTier[];
|
|
796
|
+
constructor(data?: PartialMessage<TieredAllocation>);
|
|
797
|
+
static readonly runtime: typeof proto3;
|
|
798
|
+
static readonly typeName = "uniswap.liquidity.v1.TieredAllocation";
|
|
799
|
+
static readonly fields: FieldList;
|
|
800
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TieredAllocation;
|
|
801
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TieredAllocation;
|
|
802
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TieredAllocation;
|
|
803
|
+
static equals(a: TieredAllocation | PlainMessage<TieredAllocation> | undefined, b: TieredAllocation | PlainMessage<TieredAllocation> | undefined): boolean;
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* @generated from message uniswap.liquidity.v1.AllocationTier
|
|
807
|
+
*/
|
|
808
|
+
export declare class AllocationTier extends Message<AllocationTier> {
|
|
809
|
+
/**
|
|
810
|
+
* Cumulative raise milestone (raw currency amount) at which this tier's rate begins.
|
|
811
|
+
*
|
|
812
|
+
* @generated from field: string raise_milestone = 1;
|
|
813
|
+
*/
|
|
814
|
+
raiseMilestone: string;
|
|
815
|
+
/**
|
|
816
|
+
* @generated from field: uint32 percent = 2;
|
|
817
|
+
*/
|
|
818
|
+
percent: number;
|
|
819
|
+
constructor(data?: PartialMessage<AllocationTier>);
|
|
820
|
+
static readonly runtime: typeof proto3;
|
|
821
|
+
static readonly typeName = "uniswap.liquidity.v1.AllocationTier";
|
|
822
|
+
static readonly fields: FieldList;
|
|
823
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AllocationTier;
|
|
824
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AllocationTier;
|
|
825
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AllocationTier;
|
|
826
|
+
static equals(a: AllocationTier | PlainMessage<AllocationTier> | undefined, b: AllocationTier | PlainMessage<AllocationTier> | undefined): boolean;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* @generated from message uniswap.liquidity.v1.CreateAuctionResponse
|
|
830
|
+
*/
|
|
831
|
+
export declare class CreateAuctionResponse extends Message<CreateAuctionResponse> {
|
|
832
|
+
/**
|
|
833
|
+
* @generated from field: string request_id = 1;
|
|
834
|
+
*/
|
|
835
|
+
requestId: string;
|
|
836
|
+
/**
|
|
837
|
+
* Ordered. Usually a single LiquidityLauncher.multicall; >1 only when a prior
|
|
838
|
+
* ERC20 approve(Permit2) is required for the existing-token path.
|
|
839
|
+
*
|
|
840
|
+
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
841
|
+
*/
|
|
842
|
+
transactions: TransactionRequest[];
|
|
843
|
+
/**
|
|
844
|
+
* When true, a wallet supporting EIP-5792 / EIP-7702 batched execution MAY submit
|
|
845
|
+
* `transactions` as one atomic bundle; other wallets send them sequentially.
|
|
846
|
+
*
|
|
847
|
+
* @generated from field: bool atomically_bundleable = 3;
|
|
848
|
+
*/
|
|
849
|
+
atomicallyBundleable: boolean;
|
|
850
|
+
/**
|
|
851
|
+
* @generated from field: string predicted_token_address = 4;
|
|
852
|
+
*/
|
|
853
|
+
predictedTokenAddress: string;
|
|
854
|
+
/**
|
|
855
|
+
* @generated from field: string predicted_auction_address = 5;
|
|
856
|
+
*/
|
|
857
|
+
predictedAuctionAddress: string;
|
|
858
|
+
/**
|
|
859
|
+
* @generated from field: optional string gas_fee = 6;
|
|
860
|
+
*/
|
|
861
|
+
gasFee?: string;
|
|
862
|
+
constructor(data?: PartialMessage<CreateAuctionResponse>);
|
|
863
|
+
static readonly runtime: typeof proto3;
|
|
864
|
+
static readonly typeName = "uniswap.liquidity.v1.CreateAuctionResponse";
|
|
865
|
+
static readonly fields: FieldList;
|
|
866
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAuctionResponse;
|
|
867
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAuctionResponse;
|
|
868
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAuctionResponse;
|
|
869
|
+
static equals(a: CreateAuctionResponse | PlainMessage<CreateAuctionResponse> | undefined, b: CreateAuctionResponse | PlainMessage<CreateAuctionResponse> | undefined): boolean;
|
|
870
|
+
}
|
|
@@ -2,8 +2,61 @@
|
|
|
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 { Message, proto3 } from "@bufbuild/protobuf";
|
|
5
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
6
|
import { AuctionValidation, BidToExit, ChainId, TransactionRequest, ValidationType } from "./types_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from enum uniswap.liquidity.v1.TokenStandard
|
|
9
|
+
*/
|
|
10
|
+
export var TokenStandard;
|
|
11
|
+
(function (TokenStandard) {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from enum value: TOKEN_STANDARD_UNSPECIFIED = 0;
|
|
14
|
+
*/
|
|
15
|
+
TokenStandard[TokenStandard["TOKEN_STANDARD_UNSPECIFIED"] = 0] = "TOKEN_STANDARD_UNSPECIFIED";
|
|
16
|
+
/**
|
|
17
|
+
* @generated from enum value: UERC20 = 1;
|
|
18
|
+
*/
|
|
19
|
+
TokenStandard[TokenStandard["UERC20"] = 1] = "UERC20";
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum value: USUPERC20 = 2;
|
|
22
|
+
*/
|
|
23
|
+
TokenStandard[TokenStandard["USUPERC20"] = 2] = "USUPERC20";
|
|
24
|
+
})(TokenStandard || (TokenStandard = {}));
|
|
25
|
+
// Retrieve enum metadata with: proto3.getEnumType(TokenStandard)
|
|
26
|
+
proto3.util.setEnumType(TokenStandard, "uniswap.liquidity.v1.TokenStandard", [
|
|
27
|
+
{ no: 0, name: "TOKEN_STANDARD_UNSPECIFIED" },
|
|
28
|
+
{ no: 1, name: "UERC20" },
|
|
29
|
+
{ no: 2, name: "USUPERC20" },
|
|
30
|
+
]);
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum uniswap.liquidity.v1.PriceRangeStrategy
|
|
33
|
+
*/
|
|
34
|
+
export var PriceRangeStrategy;
|
|
35
|
+
(function (PriceRangeStrategy) {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: PRICE_RANGE_STRATEGY_UNSPECIFIED = 0;
|
|
38
|
+
*/
|
|
39
|
+
PriceRangeStrategy[PriceRangeStrategy["PRICE_RANGE_STRATEGY_UNSPECIFIED"] = 0] = "PRICE_RANGE_STRATEGY_UNSPECIFIED";
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: CONCENTRATED_FULL_RANGE = 1;
|
|
42
|
+
*/
|
|
43
|
+
PriceRangeStrategy[PriceRangeStrategy["CONCENTRATED_FULL_RANGE"] = 1] = "CONCENTRATED_FULL_RANGE";
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: FULL_RANGE = 2;
|
|
46
|
+
*/
|
|
47
|
+
PriceRangeStrategy[PriceRangeStrategy["FULL_RANGE"] = 2] = "FULL_RANGE";
|
|
48
|
+
/**
|
|
49
|
+
* @generated from enum value: CUSTOM_RANGE = 3;
|
|
50
|
+
*/
|
|
51
|
+
PriceRangeStrategy[PriceRangeStrategy["CUSTOM_RANGE"] = 3] = "CUSTOM_RANGE";
|
|
52
|
+
})(PriceRangeStrategy || (PriceRangeStrategy = {}));
|
|
53
|
+
// Retrieve enum metadata with: proto3.getEnumType(PriceRangeStrategy)
|
|
54
|
+
proto3.util.setEnumType(PriceRangeStrategy, "uniswap.liquidity.v1.PriceRangeStrategy", [
|
|
55
|
+
{ no: 0, name: "PRICE_RANGE_STRATEGY_UNSPECIFIED" },
|
|
56
|
+
{ no: 1, name: "CONCENTRATED_FULL_RANGE" },
|
|
57
|
+
{ no: 2, name: "FULL_RANGE" },
|
|
58
|
+
{ no: 3, name: "CUSTOM_RANGE" },
|
|
59
|
+
]);
|
|
7
60
|
/**
|
|
8
61
|
* REQUESTS & RESPONSES
|
|
9
62
|
*
|
|
@@ -600,3 +653,538 @@ HookValidationResult.fields = proto3.util.newFieldList(() => [
|
|
|
600
653
|
{ no: 4, name: "hook_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
601
654
|
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
602
655
|
]);
|
|
656
|
+
/**
|
|
657
|
+
* @generated from message uniswap.liquidity.v1.CreateAuctionRequest
|
|
658
|
+
*/
|
|
659
|
+
export class CreateAuctionRequest extends Message {
|
|
660
|
+
constructor(data) {
|
|
661
|
+
super();
|
|
662
|
+
/**
|
|
663
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
|
|
664
|
+
*/
|
|
665
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
666
|
+
/**
|
|
667
|
+
* Creator / transaction sender. Used for graffiti, recipients, and address derivation.
|
|
668
|
+
*
|
|
669
|
+
* @generated from field: string wallet_address = 2;
|
|
670
|
+
*/
|
|
671
|
+
this.walletAddress = "";
|
|
672
|
+
/**
|
|
673
|
+
* bytes32 hex; domain-separates the deterministic token/auction addresses.
|
|
674
|
+
*
|
|
675
|
+
* @generated from field: string salt = 6;
|
|
676
|
+
*/
|
|
677
|
+
this.salt = "";
|
|
678
|
+
proto3.util.initPartial(data, this);
|
|
679
|
+
}
|
|
680
|
+
static fromBinary(bytes, options) {
|
|
681
|
+
return new CreateAuctionRequest().fromBinary(bytes, options);
|
|
682
|
+
}
|
|
683
|
+
static fromJson(jsonValue, options) {
|
|
684
|
+
return new CreateAuctionRequest().fromJson(jsonValue, options);
|
|
685
|
+
}
|
|
686
|
+
static fromJsonString(jsonString, options) {
|
|
687
|
+
return new CreateAuctionRequest().fromJsonString(jsonString, options);
|
|
688
|
+
}
|
|
689
|
+
static equals(a, b) {
|
|
690
|
+
return proto3.util.equals(CreateAuctionRequest, a, b);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
CreateAuctionRequest.runtime = proto3;
|
|
694
|
+
CreateAuctionRequest.typeName = "uniswap.liquidity.v1.CreateAuctionRequest";
|
|
695
|
+
CreateAuctionRequest.fields = proto3.util.newFieldList(() => [
|
|
696
|
+
{ no: 1, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
697
|
+
{ no: 2, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
698
|
+
{ no: 3, name: "token_info", kind: "message", T: TokenInfo },
|
|
699
|
+
{ no: 4, name: "auction", kind: "message", T: AuctionConfig },
|
|
700
|
+
{ no: 5, name: "pool", kind: "message", T: PoolConfig },
|
|
701
|
+
{ no: 6, name: "salt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
702
|
+
{ no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
703
|
+
]);
|
|
704
|
+
/**
|
|
705
|
+
* @generated from message uniswap.liquidity.v1.TokenInfo
|
|
706
|
+
*/
|
|
707
|
+
export class TokenInfo extends Message {
|
|
708
|
+
constructor(data) {
|
|
709
|
+
super();
|
|
710
|
+
/**
|
|
711
|
+
* @generated from oneof uniswap.liquidity.v1.TokenInfo.source
|
|
712
|
+
*/
|
|
713
|
+
this.source = { case: undefined };
|
|
714
|
+
proto3.util.initPartial(data, this);
|
|
715
|
+
}
|
|
716
|
+
static fromBinary(bytes, options) {
|
|
717
|
+
return new TokenInfo().fromBinary(bytes, options);
|
|
718
|
+
}
|
|
719
|
+
static fromJson(jsonValue, options) {
|
|
720
|
+
return new TokenInfo().fromJson(jsonValue, options);
|
|
721
|
+
}
|
|
722
|
+
static fromJsonString(jsonString, options) {
|
|
723
|
+
return new TokenInfo().fromJsonString(jsonString, options);
|
|
724
|
+
}
|
|
725
|
+
static equals(a, b) {
|
|
726
|
+
return proto3.util.equals(TokenInfo, a, b);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
TokenInfo.runtime = proto3;
|
|
730
|
+
TokenInfo.typeName = "uniswap.liquidity.v1.TokenInfo";
|
|
731
|
+
TokenInfo.fields = proto3.util.newFieldList(() => [
|
|
732
|
+
{ no: 1, name: "new_token", kind: "message", T: NewTokenConfig, oneof: "source" },
|
|
733
|
+
{ no: 2, name: "existing", kind: "message", T: ExistingTokenConfig, oneof: "source" },
|
|
734
|
+
]);
|
|
735
|
+
/**
|
|
736
|
+
* @generated from message uniswap.liquidity.v1.NewTokenConfig
|
|
737
|
+
*/
|
|
738
|
+
export class NewTokenConfig extends Message {
|
|
739
|
+
constructor(data) {
|
|
740
|
+
super();
|
|
741
|
+
/**
|
|
742
|
+
* @generated from field: uniswap.liquidity.v1.TokenStandard standard = 1;
|
|
743
|
+
*/
|
|
744
|
+
this.standard = TokenStandard.TOKEN_STANDARD_UNSPECIFIED;
|
|
745
|
+
/**
|
|
746
|
+
* @generated from field: string name = 2;
|
|
747
|
+
*/
|
|
748
|
+
this.name = "";
|
|
749
|
+
/**
|
|
750
|
+
* @generated from field: string symbol = 3;
|
|
751
|
+
*/
|
|
752
|
+
this.symbol = "";
|
|
753
|
+
/**
|
|
754
|
+
* Raw uint128 amount (18 decimals for new tokens).
|
|
755
|
+
*
|
|
756
|
+
* @generated from field: string total_supply = 4;
|
|
757
|
+
*/
|
|
758
|
+
this.totalSupply = "";
|
|
759
|
+
proto3.util.initPartial(data, this);
|
|
760
|
+
}
|
|
761
|
+
static fromBinary(bytes, options) {
|
|
762
|
+
return new NewTokenConfig().fromBinary(bytes, options);
|
|
763
|
+
}
|
|
764
|
+
static fromJson(jsonValue, options) {
|
|
765
|
+
return new NewTokenConfig().fromJson(jsonValue, options);
|
|
766
|
+
}
|
|
767
|
+
static fromJsonString(jsonString, options) {
|
|
768
|
+
return new NewTokenConfig().fromJsonString(jsonString, options);
|
|
769
|
+
}
|
|
770
|
+
static equals(a, b) {
|
|
771
|
+
return proto3.util.equals(NewTokenConfig, a, b);
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
NewTokenConfig.runtime = proto3;
|
|
775
|
+
NewTokenConfig.typeName = "uniswap.liquidity.v1.NewTokenConfig";
|
|
776
|
+
NewTokenConfig.fields = proto3.util.newFieldList(() => [
|
|
777
|
+
{ no: 1, name: "standard", kind: "enum", T: proto3.getEnumType(TokenStandard) },
|
|
778
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
779
|
+
{ no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
780
|
+
{ no: 4, name: "total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
781
|
+
{ no: 5, name: "metadata", kind: "message", T: TokenMetadata },
|
|
782
|
+
]);
|
|
783
|
+
/**
|
|
784
|
+
* Written on-chain into the token via the factory's tokenData. The backend only
|
|
785
|
+
* carries these values; image/website/x verification happen async post-launch.
|
|
786
|
+
*
|
|
787
|
+
* @generated from message uniswap.liquidity.v1.TokenMetadata
|
|
788
|
+
*/
|
|
789
|
+
export class TokenMetadata extends Message {
|
|
790
|
+
constructor(data) {
|
|
791
|
+
super();
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: string description = 1;
|
|
794
|
+
*/
|
|
795
|
+
this.description = "";
|
|
796
|
+
/**
|
|
797
|
+
* @generated from field: string website = 2;
|
|
798
|
+
*/
|
|
799
|
+
this.website = "";
|
|
800
|
+
/**
|
|
801
|
+
* @generated from field: string image = 3;
|
|
802
|
+
*/
|
|
803
|
+
this.image = "";
|
|
804
|
+
/**
|
|
805
|
+
* Tweet id proving X-handle ownership; uint256 carried as a decimal string ("0" when absent).
|
|
806
|
+
*
|
|
807
|
+
* @generated from field: string x_proof_tweet_id = 4;
|
|
808
|
+
*/
|
|
809
|
+
this.xProofTweetId = "";
|
|
810
|
+
proto3.util.initPartial(data, this);
|
|
811
|
+
}
|
|
812
|
+
static fromBinary(bytes, options) {
|
|
813
|
+
return new TokenMetadata().fromBinary(bytes, options);
|
|
814
|
+
}
|
|
815
|
+
static fromJson(jsonValue, options) {
|
|
816
|
+
return new TokenMetadata().fromJson(jsonValue, options);
|
|
817
|
+
}
|
|
818
|
+
static fromJsonString(jsonString, options) {
|
|
819
|
+
return new TokenMetadata().fromJsonString(jsonString, options);
|
|
820
|
+
}
|
|
821
|
+
static equals(a, b) {
|
|
822
|
+
return proto3.util.equals(TokenMetadata, a, b);
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
TokenMetadata.runtime = proto3;
|
|
826
|
+
TokenMetadata.typeName = "uniswap.liquidity.v1.TokenMetadata";
|
|
827
|
+
TokenMetadata.fields = proto3.util.newFieldList(() => [
|
|
828
|
+
{ no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
829
|
+
{ no: 2, name: "website", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
830
|
+
{ no: 3, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
831
|
+
{ no: 4, name: "x_proof_tweet_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
832
|
+
]);
|
|
833
|
+
/**
|
|
834
|
+
* @generated from message uniswap.liquidity.v1.ExistingTokenConfig
|
|
835
|
+
*/
|
|
836
|
+
export class ExistingTokenConfig extends Message {
|
|
837
|
+
constructor(data) {
|
|
838
|
+
super();
|
|
839
|
+
/**
|
|
840
|
+
* @generated from field: string token_address = 1;
|
|
841
|
+
*/
|
|
842
|
+
this.tokenAddress = "";
|
|
843
|
+
/**
|
|
844
|
+
* Raw uint128 amount committed to the launch.
|
|
845
|
+
*
|
|
846
|
+
* @generated from field: string total_supply = 2;
|
|
847
|
+
*/
|
|
848
|
+
this.totalSupply = "";
|
|
849
|
+
proto3.util.initPartial(data, this);
|
|
850
|
+
}
|
|
851
|
+
static fromBinary(bytes, options) {
|
|
852
|
+
return new ExistingTokenConfig().fromBinary(bytes, options);
|
|
853
|
+
}
|
|
854
|
+
static fromJson(jsonValue, options) {
|
|
855
|
+
return new ExistingTokenConfig().fromJson(jsonValue, options);
|
|
856
|
+
}
|
|
857
|
+
static fromJsonString(jsonString, options) {
|
|
858
|
+
return new ExistingTokenConfig().fromJsonString(jsonString, options);
|
|
859
|
+
}
|
|
860
|
+
static equals(a, b) {
|
|
861
|
+
return proto3.util.equals(ExistingTokenConfig, a, b);
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
ExistingTokenConfig.runtime = proto3;
|
|
865
|
+
ExistingTokenConfig.typeName = "uniswap.liquidity.v1.ExistingTokenConfig";
|
|
866
|
+
ExistingTokenConfig.fields = proto3.util.newFieldList(() => [
|
|
867
|
+
{ no: 1, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
868
|
+
{ no: 2, name: "total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
869
|
+
]);
|
|
870
|
+
/**
|
|
871
|
+
* @generated from message uniswap.liquidity.v1.AuctionConfig
|
|
872
|
+
*/
|
|
873
|
+
export class AuctionConfig extends Message {
|
|
874
|
+
constructor(data) {
|
|
875
|
+
super();
|
|
876
|
+
/**
|
|
877
|
+
* Raise-currency token address (chain implied by chain_id). Native/ETH = the zero address.
|
|
878
|
+
*
|
|
879
|
+
* @generated from field: string currency_address = 1;
|
|
880
|
+
*/
|
|
881
|
+
this.currencyAddress = "";
|
|
882
|
+
/**
|
|
883
|
+
* Unix seconds; translated to start/end blocks (and claim/migration blocks).
|
|
884
|
+
*
|
|
885
|
+
* @generated from field: uint64 start_time_unix = 2;
|
|
886
|
+
*/
|
|
887
|
+
this.startTimeUnix = protoInt64.zero;
|
|
888
|
+
/**
|
|
889
|
+
* @generated from field: uint64 end_time_unix = 3;
|
|
890
|
+
*/
|
|
891
|
+
this.endTimeUnix = protoInt64.zero;
|
|
892
|
+
/**
|
|
893
|
+
* Canonical raise-currency-per-1-token decimal (the FE converts FDV/USD to this).
|
|
894
|
+
*
|
|
895
|
+
* @generated from field: string floor_price_raise_per_token = 4;
|
|
896
|
+
*/
|
|
897
|
+
this.floorPriceRaisePerToken = "";
|
|
898
|
+
/**
|
|
899
|
+
* Raw token amount sold in the auction.
|
|
900
|
+
*
|
|
901
|
+
* @generated from field: string auction_supply = 5;
|
|
902
|
+
*/
|
|
903
|
+
this.auctionSupply = "";
|
|
904
|
+
proto3.util.initPartial(data, this);
|
|
905
|
+
}
|
|
906
|
+
static fromBinary(bytes, options) {
|
|
907
|
+
return new AuctionConfig().fromBinary(bytes, options);
|
|
908
|
+
}
|
|
909
|
+
static fromJson(jsonValue, options) {
|
|
910
|
+
return new AuctionConfig().fromJson(jsonValue, options);
|
|
911
|
+
}
|
|
912
|
+
static fromJsonString(jsonString, options) {
|
|
913
|
+
return new AuctionConfig().fromJsonString(jsonString, options);
|
|
914
|
+
}
|
|
915
|
+
static equals(a, b) {
|
|
916
|
+
return proto3.util.equals(AuctionConfig, a, b);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
AuctionConfig.runtime = proto3;
|
|
920
|
+
AuctionConfig.typeName = "uniswap.liquidity.v1.AuctionConfig";
|
|
921
|
+
AuctionConfig.fields = proto3.util.newFieldList(() => [
|
|
922
|
+
{ no: 1, name: "currency_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
923
|
+
{ no: 2, name: "start_time_unix", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
924
|
+
{ no: 3, name: "end_time_unix", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
925
|
+
{ no: 4, name: "floor_price_raise_per_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
926
|
+
{ no: 5, name: "auction_supply", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
927
|
+
{ no: 6, name: "validation_hook", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
928
|
+
]);
|
|
929
|
+
/**
|
|
930
|
+
* @generated from message uniswap.liquidity.v1.PoolConfig
|
|
931
|
+
*/
|
|
932
|
+
export class PoolConfig extends Message {
|
|
933
|
+
constructor(data) {
|
|
934
|
+
super();
|
|
935
|
+
/**
|
|
936
|
+
* LP fee in hundredths of a bip (e.g. 3000 = 0.30%). Ignored when dynamic_fee is set.
|
|
937
|
+
*
|
|
938
|
+
* @generated from field: uint32 fee = 1;
|
|
939
|
+
*/
|
|
940
|
+
this.fee = 0;
|
|
941
|
+
/**
|
|
942
|
+
* @generated from field: bool dynamic_fee = 2;
|
|
943
|
+
*/
|
|
944
|
+
this.dynamicFee = false;
|
|
945
|
+
/**
|
|
946
|
+
* @generated from field: uniswap.liquidity.v1.PriceRangeStrategy price_range_strategy = 3;
|
|
947
|
+
*/
|
|
948
|
+
this.priceRangeStrategy = PriceRangeStrategy.PRICE_RANGE_STRATEGY_UNSPECIFIED;
|
|
949
|
+
/**
|
|
950
|
+
* Only used when price_range_strategy = CUSTOM_RANGE.
|
|
951
|
+
*
|
|
952
|
+
* @generated from field: repeated uniswap.liquidity.v1.CustomPriceRange custom_ranges = 4;
|
|
953
|
+
*/
|
|
954
|
+
this.customRanges = [];
|
|
955
|
+
/**
|
|
956
|
+
* Raw token amount reserved for post-auction LP (reservedTokenAmountForLP).
|
|
957
|
+
*
|
|
958
|
+
* @generated from field: string reserved_supply_for_lp = 5;
|
|
959
|
+
*/
|
|
960
|
+
this.reservedSupplyForLp = "";
|
|
961
|
+
/**
|
|
962
|
+
* Resolves recipient / positionRecipient / auction tokensRecipient. Falls back to wallet_address.
|
|
963
|
+
*
|
|
964
|
+
* @generated from field: string pool_owner = 7;
|
|
965
|
+
*/
|
|
966
|
+
this.poolOwner = "";
|
|
967
|
+
proto3.util.initPartial(data, this);
|
|
968
|
+
}
|
|
969
|
+
static fromBinary(bytes, options) {
|
|
970
|
+
return new PoolConfig().fromBinary(bytes, options);
|
|
971
|
+
}
|
|
972
|
+
static fromJson(jsonValue, options) {
|
|
973
|
+
return new PoolConfig().fromJson(jsonValue, options);
|
|
974
|
+
}
|
|
975
|
+
static fromJsonString(jsonString, options) {
|
|
976
|
+
return new PoolConfig().fromJsonString(jsonString, options);
|
|
977
|
+
}
|
|
978
|
+
static equals(a, b) {
|
|
979
|
+
return proto3.util.equals(PoolConfig, a, b);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
PoolConfig.runtime = proto3;
|
|
983
|
+
PoolConfig.typeName = "uniswap.liquidity.v1.PoolConfig";
|
|
984
|
+
PoolConfig.fields = proto3.util.newFieldList(() => [
|
|
985
|
+
{ no: 1, name: "fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
986
|
+
{ no: 2, name: "dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
987
|
+
{ no: 3, name: "price_range_strategy", kind: "enum", T: proto3.getEnumType(PriceRangeStrategy) },
|
|
988
|
+
{ no: 4, name: "custom_ranges", kind: "message", T: CustomPriceRange, repeated: true },
|
|
989
|
+
{ no: 5, name: "reserved_supply_for_lp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
990
|
+
{ no: 6, name: "lp_allocation", kind: "message", T: PostAuctionLiquidityAllocation },
|
|
991
|
+
{ no: 7, name: "pool_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
992
|
+
]);
|
|
993
|
+
/**
|
|
994
|
+
* @generated from message uniswap.liquidity.v1.CustomPriceRange
|
|
995
|
+
*/
|
|
996
|
+
export class CustomPriceRange extends Message {
|
|
997
|
+
constructor(data) {
|
|
998
|
+
super();
|
|
999
|
+
/**
|
|
1000
|
+
* Decimal strings (e.g. "-50", "100"). String like every other numeric field here,
|
|
1001
|
+
* to keep an exact wire value for the BL's tick-boundary conversion.
|
|
1002
|
+
*
|
|
1003
|
+
* @generated from field: string min_percent_from_clearing = 1;
|
|
1004
|
+
*/
|
|
1005
|
+
this.minPercentFromClearing = "";
|
|
1006
|
+
/**
|
|
1007
|
+
* @generated from field: string max_percent_from_clearing = 2;
|
|
1008
|
+
*/
|
|
1009
|
+
this.maxPercentFromClearing = "";
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from field: uint32 liquidity_percent = 3;
|
|
1012
|
+
*/
|
|
1013
|
+
this.liquidityPercent = 0;
|
|
1014
|
+
proto3.util.initPartial(data, this);
|
|
1015
|
+
}
|
|
1016
|
+
static fromBinary(bytes, options) {
|
|
1017
|
+
return new CustomPriceRange().fromBinary(bytes, options);
|
|
1018
|
+
}
|
|
1019
|
+
static fromJson(jsonValue, options) {
|
|
1020
|
+
return new CustomPriceRange().fromJson(jsonValue, options);
|
|
1021
|
+
}
|
|
1022
|
+
static fromJsonString(jsonString, options) {
|
|
1023
|
+
return new CustomPriceRange().fromJsonString(jsonString, options);
|
|
1024
|
+
}
|
|
1025
|
+
static equals(a, b) {
|
|
1026
|
+
return proto3.util.equals(CustomPriceRange, a, b);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
CustomPriceRange.runtime = proto3;
|
|
1030
|
+
CustomPriceRange.typeName = "uniswap.liquidity.v1.CustomPriceRange";
|
|
1031
|
+
CustomPriceRange.fields = proto3.util.newFieldList(() => [
|
|
1032
|
+
{ no: 1, name: "min_percent_from_clearing", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1033
|
+
{ no: 2, name: "max_percent_from_clearing", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1034
|
+
{ no: 3, name: "liquidity_percent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1035
|
+
]);
|
|
1036
|
+
/**
|
|
1037
|
+
* @generated from message uniswap.liquidity.v1.PostAuctionLiquidityAllocation
|
|
1038
|
+
*/
|
|
1039
|
+
export class PostAuctionLiquidityAllocation extends Message {
|
|
1040
|
+
constructor(data) {
|
|
1041
|
+
super();
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from oneof uniswap.liquidity.v1.PostAuctionLiquidityAllocation.kind
|
|
1044
|
+
*/
|
|
1045
|
+
this.kind = { case: undefined };
|
|
1046
|
+
proto3.util.initPartial(data, this);
|
|
1047
|
+
}
|
|
1048
|
+
static fromBinary(bytes, options) {
|
|
1049
|
+
return new PostAuctionLiquidityAllocation().fromBinary(bytes, options);
|
|
1050
|
+
}
|
|
1051
|
+
static fromJson(jsonValue, options) {
|
|
1052
|
+
return new PostAuctionLiquidityAllocation().fromJson(jsonValue, options);
|
|
1053
|
+
}
|
|
1054
|
+
static fromJsonString(jsonString, options) {
|
|
1055
|
+
return new PostAuctionLiquidityAllocation().fromJsonString(jsonString, options);
|
|
1056
|
+
}
|
|
1057
|
+
static equals(a, b) {
|
|
1058
|
+
return proto3.util.equals(PostAuctionLiquidityAllocation, a, b);
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
PostAuctionLiquidityAllocation.runtime = proto3;
|
|
1062
|
+
PostAuctionLiquidityAllocation.typeName = "uniswap.liquidity.v1.PostAuctionLiquidityAllocation";
|
|
1063
|
+
PostAuctionLiquidityAllocation.fields = proto3.util.newFieldList(() => [
|
|
1064
|
+
{ no: 1, name: "single_percent", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "kind" },
|
|
1065
|
+
{ no: 2, name: "tiered", kind: "message", T: TieredAllocation, oneof: "kind" },
|
|
1066
|
+
]);
|
|
1067
|
+
/**
|
|
1068
|
+
* @generated from message uniswap.liquidity.v1.TieredAllocation
|
|
1069
|
+
*/
|
|
1070
|
+
export class TieredAllocation extends Message {
|
|
1071
|
+
constructor(data) {
|
|
1072
|
+
super();
|
|
1073
|
+
/**
|
|
1074
|
+
* @generated from field: repeated uniswap.liquidity.v1.AllocationTier tiers = 1;
|
|
1075
|
+
*/
|
|
1076
|
+
this.tiers = [];
|
|
1077
|
+
proto3.util.initPartial(data, this);
|
|
1078
|
+
}
|
|
1079
|
+
static fromBinary(bytes, options) {
|
|
1080
|
+
return new TieredAllocation().fromBinary(bytes, options);
|
|
1081
|
+
}
|
|
1082
|
+
static fromJson(jsonValue, options) {
|
|
1083
|
+
return new TieredAllocation().fromJson(jsonValue, options);
|
|
1084
|
+
}
|
|
1085
|
+
static fromJsonString(jsonString, options) {
|
|
1086
|
+
return new TieredAllocation().fromJsonString(jsonString, options);
|
|
1087
|
+
}
|
|
1088
|
+
static equals(a, b) {
|
|
1089
|
+
return proto3.util.equals(TieredAllocation, a, b);
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
TieredAllocation.runtime = proto3;
|
|
1093
|
+
TieredAllocation.typeName = "uniswap.liquidity.v1.TieredAllocation";
|
|
1094
|
+
TieredAllocation.fields = proto3.util.newFieldList(() => [
|
|
1095
|
+
{ no: 1, name: "tiers", kind: "message", T: AllocationTier, repeated: true },
|
|
1096
|
+
]);
|
|
1097
|
+
/**
|
|
1098
|
+
* @generated from message uniswap.liquidity.v1.AllocationTier
|
|
1099
|
+
*/
|
|
1100
|
+
export class AllocationTier extends Message {
|
|
1101
|
+
constructor(data) {
|
|
1102
|
+
super();
|
|
1103
|
+
/**
|
|
1104
|
+
* Cumulative raise milestone (raw currency amount) at which this tier's rate begins.
|
|
1105
|
+
*
|
|
1106
|
+
* @generated from field: string raise_milestone = 1;
|
|
1107
|
+
*/
|
|
1108
|
+
this.raiseMilestone = "";
|
|
1109
|
+
/**
|
|
1110
|
+
* @generated from field: uint32 percent = 2;
|
|
1111
|
+
*/
|
|
1112
|
+
this.percent = 0;
|
|
1113
|
+
proto3.util.initPartial(data, this);
|
|
1114
|
+
}
|
|
1115
|
+
static fromBinary(bytes, options) {
|
|
1116
|
+
return new AllocationTier().fromBinary(bytes, options);
|
|
1117
|
+
}
|
|
1118
|
+
static fromJson(jsonValue, options) {
|
|
1119
|
+
return new AllocationTier().fromJson(jsonValue, options);
|
|
1120
|
+
}
|
|
1121
|
+
static fromJsonString(jsonString, options) {
|
|
1122
|
+
return new AllocationTier().fromJsonString(jsonString, options);
|
|
1123
|
+
}
|
|
1124
|
+
static equals(a, b) {
|
|
1125
|
+
return proto3.util.equals(AllocationTier, a, b);
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
AllocationTier.runtime = proto3;
|
|
1129
|
+
AllocationTier.typeName = "uniswap.liquidity.v1.AllocationTier";
|
|
1130
|
+
AllocationTier.fields = proto3.util.newFieldList(() => [
|
|
1131
|
+
{ no: 1, name: "raise_milestone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1132
|
+
{ no: 2, name: "percent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1133
|
+
]);
|
|
1134
|
+
/**
|
|
1135
|
+
* @generated from message uniswap.liquidity.v1.CreateAuctionResponse
|
|
1136
|
+
*/
|
|
1137
|
+
export class CreateAuctionResponse extends Message {
|
|
1138
|
+
constructor(data) {
|
|
1139
|
+
super();
|
|
1140
|
+
/**
|
|
1141
|
+
* @generated from field: string request_id = 1;
|
|
1142
|
+
*/
|
|
1143
|
+
this.requestId = "";
|
|
1144
|
+
/**
|
|
1145
|
+
* Ordered. Usually a single LiquidityLauncher.multicall; >1 only when a prior
|
|
1146
|
+
* ERC20 approve(Permit2) is required for the existing-token path.
|
|
1147
|
+
*
|
|
1148
|
+
* @generated from field: repeated uniswap.liquidity.v1.TransactionRequest transactions = 2;
|
|
1149
|
+
*/
|
|
1150
|
+
this.transactions = [];
|
|
1151
|
+
/**
|
|
1152
|
+
* When true, a wallet supporting EIP-5792 / EIP-7702 batched execution MAY submit
|
|
1153
|
+
* `transactions` as one atomic bundle; other wallets send them sequentially.
|
|
1154
|
+
*
|
|
1155
|
+
* @generated from field: bool atomically_bundleable = 3;
|
|
1156
|
+
*/
|
|
1157
|
+
this.atomicallyBundleable = false;
|
|
1158
|
+
/**
|
|
1159
|
+
* @generated from field: string predicted_token_address = 4;
|
|
1160
|
+
*/
|
|
1161
|
+
this.predictedTokenAddress = "";
|
|
1162
|
+
/**
|
|
1163
|
+
* @generated from field: string predicted_auction_address = 5;
|
|
1164
|
+
*/
|
|
1165
|
+
this.predictedAuctionAddress = "";
|
|
1166
|
+
proto3.util.initPartial(data, this);
|
|
1167
|
+
}
|
|
1168
|
+
static fromBinary(bytes, options) {
|
|
1169
|
+
return new CreateAuctionResponse().fromBinary(bytes, options);
|
|
1170
|
+
}
|
|
1171
|
+
static fromJson(jsonValue, options) {
|
|
1172
|
+
return new CreateAuctionResponse().fromJson(jsonValue, options);
|
|
1173
|
+
}
|
|
1174
|
+
static fromJsonString(jsonString, options) {
|
|
1175
|
+
return new CreateAuctionResponse().fromJsonString(jsonString, options);
|
|
1176
|
+
}
|
|
1177
|
+
static equals(a, b) {
|
|
1178
|
+
return proto3.util.equals(CreateAuctionResponse, a, b);
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
CreateAuctionResponse.runtime = proto3;
|
|
1182
|
+
CreateAuctionResponse.typeName = "uniswap.liquidity.v1.CreateAuctionResponse";
|
|
1183
|
+
CreateAuctionResponse.fields = proto3.util.newFieldList(() => [
|
|
1184
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1185
|
+
{ no: 2, name: "transactions", kind: "message", T: TransactionRequest, repeated: true },
|
|
1186
|
+
{ no: 3, name: "atomically_bundleable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1187
|
+
{ no: 4, name: "predicted_token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1188
|
+
{ no: 5, name: "predicted_auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1189
|
+
{ no: 6, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1190
|
+
]);
|
|
@@ -772,6 +772,13 @@ export declare class ListPoolsRequest extends Message<ListPoolsRequest> {
|
|
|
772
772
|
* @generated from field: optional uniswap.liquidity.v2.PoolListCursor cursor = 8;
|
|
773
773
|
*/
|
|
774
774
|
cursor?: PoolListCursor;
|
|
775
|
+
/**
|
|
776
|
+
* When true, exclude pools where either token is flagged as spam/unsafe
|
|
777
|
+
* (canonical safety verdict not BENIGN). Defaults to false.
|
|
778
|
+
*
|
|
779
|
+
* @generated from field: optional bool filter_spam = 9;
|
|
780
|
+
*/
|
|
781
|
+
filterSpam?: boolean;
|
|
775
782
|
constructor(data?: PartialMessage<ListPoolsRequest>);
|
|
776
783
|
static readonly runtime: typeof proto3;
|
|
777
784
|
static readonly typeName = "uniswap.liquidity.v2.ListPoolsRequest";
|
|
@@ -745,6 +745,7 @@ ListPoolsRequest.fields = proto3.util.newFieldList(() => [
|
|
|
745
745
|
{ no: 6, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
746
746
|
{ no: 7, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
747
747
|
{ no: 8, name: "cursor", kind: "message", T: PoolListCursor, opt: true },
|
|
748
|
+
{ no: 9, name: "filter_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
748
749
|
]);
|
|
749
750
|
/**
|
|
750
751
|
* @generated from message uniswap.liquidity.v2.ListPoolsResponse
|