@uniswap/client-liquidity 0.0.1 → 0.0.3
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/api-LiquidityService_connectquery.d.ts +21 -7
- package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.js +21 -7
- package/dist/uniswap/liquidity/v1/api_connect.d.ts +16 -6
- package/dist/uniswap/liquidity/v1/api_connect.js +16 -6
- package/dist/uniswap/liquidity/v1/api_pb.d.ts +143 -112
- package/dist/uniswap/liquidity/v1/api_pb.js +106 -114
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.d.ts +16 -0
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +20 -0
- package/dist/uniswap/liquidity/v1/auction_connect.d.ts +20 -0
- package/dist/uniswap/liquidity/v1/auction_connect.js +24 -0
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +125 -0
- package/dist/uniswap/liquidity/v1/auction_pb.js +165 -0
- package/dist/uniswap/liquidity/v1/types_pb.d.ts +290 -0
- package/dist/uniswap/liquidity/v1/types_pb.js +396 -0
- package/package.json +1 -1
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/liquidity/v1/auction.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
import { ChainId, TransactionRequest } from "./types_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* REQUESTS & RESPONSES
|
|
9
|
+
*
|
|
10
|
+
* @generated from message uniswap.liquidity.v1.SubmitBidRequest
|
|
11
|
+
*/
|
|
12
|
+
export class SubmitBidRequest extends Message {
|
|
13
|
+
constructor(data) {
|
|
14
|
+
super();
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string maxPrice = 1;
|
|
17
|
+
*/
|
|
18
|
+
this.maxPrice = "";
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string amount = 3;
|
|
21
|
+
*/
|
|
22
|
+
this.amount = "";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string walletAddress = 4;
|
|
25
|
+
*/
|
|
26
|
+
this.walletAddress = "";
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string auctionContractAddress = 5;
|
|
29
|
+
*/
|
|
30
|
+
this.auctionContractAddress = "";
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 7;
|
|
33
|
+
*/
|
|
34
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
35
|
+
proto3.util.initPartial(data, this);
|
|
36
|
+
}
|
|
37
|
+
static fromBinary(bytes, options) {
|
|
38
|
+
return new SubmitBidRequest().fromBinary(bytes, options);
|
|
39
|
+
}
|
|
40
|
+
static fromJson(jsonValue, options) {
|
|
41
|
+
return new SubmitBidRequest().fromJson(jsonValue, options);
|
|
42
|
+
}
|
|
43
|
+
static fromJsonString(jsonString, options) {
|
|
44
|
+
return new SubmitBidRequest().fromJsonString(jsonString, options);
|
|
45
|
+
}
|
|
46
|
+
static equals(a, b) {
|
|
47
|
+
return proto3.util.equals(SubmitBidRequest, a, b);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
SubmitBidRequest.runtime = proto3;
|
|
51
|
+
SubmitBidRequest.typeName = "uniswap.liquidity.v1.SubmitBidRequest";
|
|
52
|
+
SubmitBidRequest.fields = proto3.util.newFieldList(() => [
|
|
53
|
+
{ no: 1, name: "maxPrice", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
54
|
+
{ no: 2, name: "exactIn", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
55
|
+
{ no: 3, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
|
+
{ no: 4, name: "walletAddress", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
57
|
+
{ no: 5, name: "auctionContractAddress", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
+
{ no: 6, name: "hookData", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
59
|
+
{ no: 7, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
60
|
+
{ no: 8, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
61
|
+
]);
|
|
62
|
+
/**
|
|
63
|
+
* @generated from message uniswap.liquidity.v1.SubmitBidResponse
|
|
64
|
+
*/
|
|
65
|
+
export class SubmitBidResponse extends Message {
|
|
66
|
+
constructor(data) {
|
|
67
|
+
super();
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string request_id = 1;
|
|
70
|
+
*/
|
|
71
|
+
this.requestId = "";
|
|
72
|
+
proto3.util.initPartial(data, this);
|
|
73
|
+
}
|
|
74
|
+
static fromBinary(bytes, options) {
|
|
75
|
+
return new SubmitBidResponse().fromBinary(bytes, options);
|
|
76
|
+
}
|
|
77
|
+
static fromJson(jsonValue, options) {
|
|
78
|
+
return new SubmitBidResponse().fromJson(jsonValue, options);
|
|
79
|
+
}
|
|
80
|
+
static fromJsonString(jsonString, options) {
|
|
81
|
+
return new SubmitBidResponse().fromJsonString(jsonString, options);
|
|
82
|
+
}
|
|
83
|
+
static equals(a, b) {
|
|
84
|
+
return proto3.util.equals(SubmitBidResponse, a, b);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
SubmitBidResponse.runtime = proto3;
|
|
88
|
+
SubmitBidResponse.typeName = "uniswap.liquidity.v1.SubmitBidResponse";
|
|
89
|
+
SubmitBidResponse.fields = proto3.util.newFieldList(() => [
|
|
90
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
+
{ no: 2, name: "bid", kind: "message", T: TransactionRequest },
|
|
92
|
+
{ no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
93
|
+
]);
|
|
94
|
+
/**
|
|
95
|
+
* @generated from message uniswap.liquidity.v1.ExitBidPositionRequest
|
|
96
|
+
*/
|
|
97
|
+
export class ExitBidPositionRequest extends Message {
|
|
98
|
+
constructor(data) {
|
|
99
|
+
super();
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string bidId = 1;
|
|
102
|
+
*/
|
|
103
|
+
this.bidId = "";
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: string auctionContractAddress = 2;
|
|
106
|
+
*/
|
|
107
|
+
this.auctionContractAddress = "";
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
110
|
+
*/
|
|
111
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
112
|
+
proto3.util.initPartial(data, this);
|
|
113
|
+
}
|
|
114
|
+
static fromBinary(bytes, options) {
|
|
115
|
+
return new ExitBidPositionRequest().fromBinary(bytes, options);
|
|
116
|
+
}
|
|
117
|
+
static fromJson(jsonValue, options) {
|
|
118
|
+
return new ExitBidPositionRequest().fromJson(jsonValue, options);
|
|
119
|
+
}
|
|
120
|
+
static fromJsonString(jsonString, options) {
|
|
121
|
+
return new ExitBidPositionRequest().fromJsonString(jsonString, options);
|
|
122
|
+
}
|
|
123
|
+
static equals(a, b) {
|
|
124
|
+
return proto3.util.equals(ExitBidPositionRequest, a, b);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
ExitBidPositionRequest.runtime = proto3;
|
|
128
|
+
ExitBidPositionRequest.typeName = "uniswap.liquidity.v1.ExitBidPositionRequest";
|
|
129
|
+
ExitBidPositionRequest.fields = proto3.util.newFieldList(() => [
|
|
130
|
+
{ no: 1, name: "bidId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
131
|
+
{ no: 2, name: "auctionContractAddress", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
|
+
{ no: 3, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
133
|
+
]);
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message uniswap.liquidity.v1.ExitBidPositionResponse
|
|
136
|
+
*/
|
|
137
|
+
export class ExitBidPositionResponse extends Message {
|
|
138
|
+
constructor(data) {
|
|
139
|
+
super();
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string request_id = 1;
|
|
142
|
+
*/
|
|
143
|
+
this.requestId = "";
|
|
144
|
+
proto3.util.initPartial(data, this);
|
|
145
|
+
}
|
|
146
|
+
static fromBinary(bytes, options) {
|
|
147
|
+
return new ExitBidPositionResponse().fromBinary(bytes, options);
|
|
148
|
+
}
|
|
149
|
+
static fromJson(jsonValue, options) {
|
|
150
|
+
return new ExitBidPositionResponse().fromJson(jsonValue, options);
|
|
151
|
+
}
|
|
152
|
+
static fromJsonString(jsonString, options) {
|
|
153
|
+
return new ExitBidPositionResponse().fromJsonString(jsonString, options);
|
|
154
|
+
}
|
|
155
|
+
static equals(a, b) {
|
|
156
|
+
return proto3.util.equals(ExitBidPositionResponse, a, b);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
ExitBidPositionResponse.runtime = proto3;
|
|
160
|
+
ExitBidPositionResponse.typeName = "uniswap.liquidity.v1.ExitBidPositionResponse";
|
|
161
|
+
ExitBidPositionResponse.fields = proto3.util.newFieldList(() => [
|
|
162
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
|
+
{ no: 2, name: "exitBid", kind: "message", T: TransactionRequest },
|
|
164
|
+
{ no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
165
|
+
]);
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* ENUMS
|
|
5
|
+
*
|
|
6
|
+
* @generated from enum uniswap.liquidity.v1.ChainId
|
|
7
|
+
*/
|
|
8
|
+
export declare enum ChainId {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from enum value: CHAIN_ID_UNSPECIFIED = 0;
|
|
11
|
+
*/
|
|
12
|
+
CHAIN_ID_UNSPECIFIED = 0,
|
|
13
|
+
/**
|
|
14
|
+
* @generated from enum value: MAINNET = 1;
|
|
15
|
+
*/
|
|
16
|
+
MAINNET = 1,
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum value: OPTIMISM = 10;
|
|
19
|
+
*/
|
|
20
|
+
OPTIMISM = 10,
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: POLYGON = 137;
|
|
23
|
+
*/
|
|
24
|
+
POLYGON = 137,
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: ARBITRUM = 42161;
|
|
27
|
+
*/
|
|
28
|
+
ARBITRUM = 42161,
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: BNB = 56;
|
|
31
|
+
*/
|
|
32
|
+
BNB = 56,
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: BASE = 8453;
|
|
35
|
+
*/
|
|
36
|
+
BASE = 8453,
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum value: BLAST = 81457;
|
|
39
|
+
*/
|
|
40
|
+
BLAST = 81457,
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: AVAX = 43114;
|
|
43
|
+
*/
|
|
44
|
+
AVAX = 43114,
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: CELO = 42220;
|
|
47
|
+
*/
|
|
48
|
+
CELO = 42220,
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum value: ZORA = 7777777;
|
|
51
|
+
*/
|
|
52
|
+
ZORA = 7777777,
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: ZKSYNC = 324;
|
|
55
|
+
*/
|
|
56
|
+
ZKSYNC = 324,
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum value: SEPOLIA = 11155111;
|
|
59
|
+
*/
|
|
60
|
+
SEPOLIA = 11155111,
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: UNICHAIN_SEPOLIA = 1301;
|
|
63
|
+
*/
|
|
64
|
+
UNICHAIN_SEPOLIA = 1301,
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: WORLDCHAIN = 480;
|
|
67
|
+
*/
|
|
68
|
+
WORLDCHAIN = 480,
|
|
69
|
+
/**
|
|
70
|
+
* @generated from enum value: MONAD_TESTNET = 10143;
|
|
71
|
+
*/
|
|
72
|
+
MONAD_TESTNET = 10143,
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum value: BASE_SEPOLIA = 84532;
|
|
75
|
+
*/
|
|
76
|
+
BASE_SEPOLIA = 84532,
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: UNICHAIN = 130;
|
|
79
|
+
*/
|
|
80
|
+
UNICHAIN = 130,
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: SONEIUM = 1868;
|
|
83
|
+
*/
|
|
84
|
+
SONEIUM = 1868,
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum value: MONAD = 143;
|
|
87
|
+
*/
|
|
88
|
+
MONAD = 143
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* SUPPORTING OBJECTS
|
|
92
|
+
*
|
|
93
|
+
* @generated from message uniswap.liquidity.v1.TransactionRequest
|
|
94
|
+
*/
|
|
95
|
+
export declare class TransactionRequest extends Message<TransactionRequest> {
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string to = 1;
|
|
98
|
+
*/
|
|
99
|
+
to: string;
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string from = 2;
|
|
102
|
+
*/
|
|
103
|
+
from: string;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: string data = 3;
|
|
106
|
+
*/
|
|
107
|
+
data: string;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: string value = 4;
|
|
110
|
+
*/
|
|
111
|
+
value: string;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: uint32 chain_id = 5;
|
|
114
|
+
*/
|
|
115
|
+
chainId: number;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: optional string gas_limit = 6;
|
|
118
|
+
*/
|
|
119
|
+
gasLimit?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: optional string max_fee_per_gas = 7;
|
|
122
|
+
*/
|
|
123
|
+
maxFeePerGas?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: optional string max_priority_fee_per_gas = 8;
|
|
126
|
+
*/
|
|
127
|
+
maxPriorityFeePerGas?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: optional string gas_price = 9;
|
|
130
|
+
*/
|
|
131
|
+
gasPrice?: string;
|
|
132
|
+
constructor(data?: PartialMessage<TransactionRequest>);
|
|
133
|
+
static readonly runtime: typeof proto3;
|
|
134
|
+
static readonly typeName = "uniswap.liquidity.v1.TransactionRequest";
|
|
135
|
+
static readonly fields: FieldList;
|
|
136
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransactionRequest;
|
|
137
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransactionRequest;
|
|
138
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransactionRequest;
|
|
139
|
+
static equals(a: TransactionRequest | PlainMessage<TransactionRequest> | undefined, b: TransactionRequest | PlainMessage<TransactionRequest> | undefined): boolean;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @generated from message uniswap.liquidity.v1.V4Position
|
|
143
|
+
*/
|
|
144
|
+
export declare class V4Position extends Message<V4Position> {
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: uniswap.liquidity.v1.V4Pool pool = 1;
|
|
147
|
+
*/
|
|
148
|
+
pool?: V4Pool;
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: sint32 tick_lower = 2;
|
|
151
|
+
*/
|
|
152
|
+
tickLower: number;
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: sint32 tick_upper = 3;
|
|
155
|
+
*/
|
|
156
|
+
tickUpper: number;
|
|
157
|
+
constructor(data?: PartialMessage<V4Position>);
|
|
158
|
+
static readonly runtime: typeof proto3;
|
|
159
|
+
static readonly typeName = "uniswap.liquidity.v1.V4Position";
|
|
160
|
+
static readonly fields: FieldList;
|
|
161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4Position;
|
|
162
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4Position;
|
|
163
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4Position;
|
|
164
|
+
static equals(a: V4Position | PlainMessage<V4Position> | undefined, b: V4Position | PlainMessage<V4Position> | undefined): boolean;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message uniswap.liquidity.v1.V3Position
|
|
168
|
+
*/
|
|
169
|
+
export declare class V3Position extends Message<V3Position> {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: uniswap.liquidity.v1.V3Pool pool = 1;
|
|
172
|
+
*/
|
|
173
|
+
pool?: V3Pool;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: sint32 tick_lower = 2;
|
|
176
|
+
*/
|
|
177
|
+
tickLower: number;
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: sint32 tick_upper = 3;
|
|
180
|
+
*/
|
|
181
|
+
tickUpper: number;
|
|
182
|
+
constructor(data?: PartialMessage<V3Position>);
|
|
183
|
+
static readonly runtime: typeof proto3;
|
|
184
|
+
static readonly typeName = "uniswap.liquidity.v1.V3Position";
|
|
185
|
+
static readonly fields: FieldList;
|
|
186
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3Position;
|
|
187
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3Position;
|
|
188
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3Position;
|
|
189
|
+
static equals(a: V3Position | PlainMessage<V3Position> | undefined, b: V3Position | PlainMessage<V3Position> | undefined): boolean;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @generated from message uniswap.liquidity.v1.V2Position
|
|
193
|
+
*/
|
|
194
|
+
export declare class V2Position extends Message<V2Position> {
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: uniswap.liquidity.v1.V2Pool pool = 1;
|
|
197
|
+
*/
|
|
198
|
+
pool?: V2Pool;
|
|
199
|
+
constructor(data?: PartialMessage<V2Position>);
|
|
200
|
+
static readonly runtime: typeof proto3;
|
|
201
|
+
static readonly typeName = "uniswap.liquidity.v1.V2Position";
|
|
202
|
+
static readonly fields: FieldList;
|
|
203
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2Position;
|
|
204
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2Position;
|
|
205
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2Position;
|
|
206
|
+
static equals(a: V2Position | PlainMessage<V2Position> | undefined, b: V2Position | PlainMessage<V2Position> | undefined): boolean;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @generated from message uniswap.liquidity.v1.V2Pool
|
|
210
|
+
*/
|
|
211
|
+
export declare class V2Pool extends Message<V2Pool> {
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: string token0 = 1;
|
|
214
|
+
*/
|
|
215
|
+
token0: string;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: string token1 = 2;
|
|
218
|
+
*/
|
|
219
|
+
token1: string;
|
|
220
|
+
constructor(data?: PartialMessage<V2Pool>);
|
|
221
|
+
static readonly runtime: typeof proto3;
|
|
222
|
+
static readonly typeName = "uniswap.liquidity.v1.V2Pool";
|
|
223
|
+
static readonly fields: FieldList;
|
|
224
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2Pool;
|
|
225
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2Pool;
|
|
226
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2Pool;
|
|
227
|
+
static equals(a: V2Pool | PlainMessage<V2Pool> | undefined, b: V2Pool | PlainMessage<V2Pool> | undefined): boolean;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message uniswap.liquidity.v1.V3Pool
|
|
231
|
+
*/
|
|
232
|
+
export declare class V3Pool extends Message<V3Pool> {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: string token0 = 1;
|
|
235
|
+
*/
|
|
236
|
+
token0: string;
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: string token1 = 2;
|
|
239
|
+
*/
|
|
240
|
+
token1: string;
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: int32 fee = 3;
|
|
243
|
+
*/
|
|
244
|
+
fee: number;
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: int32 tick_spacing = 4;
|
|
247
|
+
*/
|
|
248
|
+
tickSpacing: number;
|
|
249
|
+
constructor(data?: PartialMessage<V3Pool>);
|
|
250
|
+
static readonly runtime: typeof proto3;
|
|
251
|
+
static readonly typeName = "uniswap.liquidity.v1.V3Pool";
|
|
252
|
+
static readonly fields: FieldList;
|
|
253
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3Pool;
|
|
254
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3Pool;
|
|
255
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3Pool;
|
|
256
|
+
static equals(a: V3Pool | PlainMessage<V3Pool> | undefined, b: V3Pool | PlainMessage<V3Pool> | undefined): boolean;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* @generated from message uniswap.liquidity.v1.V4Pool
|
|
260
|
+
*/
|
|
261
|
+
export declare class V4Pool extends Message<V4Pool> {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string token0 = 1;
|
|
264
|
+
*/
|
|
265
|
+
token0: string;
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string token1 = 2;
|
|
268
|
+
*/
|
|
269
|
+
token1: string;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: int32 fee = 3;
|
|
272
|
+
*/
|
|
273
|
+
fee: number;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: int32 tick_spacing = 4;
|
|
276
|
+
*/
|
|
277
|
+
tickSpacing: number;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: optional string hooks = 5;
|
|
280
|
+
*/
|
|
281
|
+
hooks?: string;
|
|
282
|
+
constructor(data?: PartialMessage<V4Pool>);
|
|
283
|
+
static readonly runtime: typeof proto3;
|
|
284
|
+
static readonly typeName = "uniswap.liquidity.v1.V4Pool";
|
|
285
|
+
static readonly fields: FieldList;
|
|
286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4Pool;
|
|
287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4Pool;
|
|
288
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4Pool;
|
|
289
|
+
static equals(a: V4Pool | PlainMessage<V4Pool> | undefined, b: V4Pool | PlainMessage<V4Pool> | undefined): boolean;
|
|
290
|
+
}
|