@uniswap/client-data-api 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +92 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +92 -1
- package/dist/data/v1/api_connect.d.ts +64 -1
- package/dist/data/v1/api_connect.js +64 -1
- package/dist/data/v1/api_pb.d.ts +386 -0
- package/dist/data/v1/api_pb.js +520 -0
- package/dist/data/v1/poolTypes_pb.d.ts +457 -0
- package/dist/data/v1/poolTypes_pb.js +593 -0
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +15 -0
- package/dist/data/v1/workerService-WorkerService_connectquery.js +19 -0
- package/dist/data/v1/workerService_connect.d.ts +19 -0
- package/dist/data/v1/workerService_connect.js +23 -0
- package/dist/data/v1/workerService_pb.d.ts +74 -0
- package/dist/data/v1/workerService_pb.js +121 -0
- package/package.json +1 -1
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from enum pools.v1.ProtocolVersion
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ProtocolVersion {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from enum value: PROTOCOL_VERSION_UNSPECIFIED = 0;
|
|
9
|
+
*/
|
|
10
|
+
UNSPECIFIED = 0,
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum value: PROTOCOL_VERSION_V2 = 1;
|
|
13
|
+
*/
|
|
14
|
+
V2 = 1,
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: PROTOCOL_VERSION_V3 = 2;
|
|
17
|
+
*/
|
|
18
|
+
V3 = 2,
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: PROTOCOL_VERSION_V4 = 3;
|
|
21
|
+
*/
|
|
22
|
+
V4 = 3
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum pools.v1.PositionStatus
|
|
26
|
+
*/
|
|
27
|
+
export declare enum PositionStatus {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: POSITION_STATUS_UNSPECIFIED = 0;
|
|
30
|
+
*/
|
|
31
|
+
UNSPECIFIED = 0,
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: POSITION_STATUS_IN_RANGE = 1;
|
|
34
|
+
*/
|
|
35
|
+
IN_RANGE = 1,
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: POSITION_STATUS_OUT_OF_RANGE = 2;
|
|
38
|
+
*/
|
|
39
|
+
OUT_OF_RANGE = 2,
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: POSITION_STATUS_CLOSED = 3;
|
|
42
|
+
*/
|
|
43
|
+
CLOSED = 3
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message pools.v1.Token
|
|
47
|
+
*/
|
|
48
|
+
export declare class Token extends Message<Token> {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: uint32 chain_id = 1;
|
|
51
|
+
*/
|
|
52
|
+
chainId: number;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: string address = 2;
|
|
55
|
+
*/
|
|
56
|
+
address: string;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: string symbol = 3;
|
|
59
|
+
*/
|
|
60
|
+
symbol: string;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: uint32 decimals = 4;
|
|
63
|
+
*/
|
|
64
|
+
decimals: number;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string name = 5;
|
|
67
|
+
*/
|
|
68
|
+
name: string;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: optional string logo = 6;
|
|
71
|
+
*/
|
|
72
|
+
logo?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: bool is_native = 7;
|
|
75
|
+
*/
|
|
76
|
+
isNative: boolean;
|
|
77
|
+
constructor(data?: PartialMessage<Token>);
|
|
78
|
+
static readonly runtime: typeof proto3;
|
|
79
|
+
static readonly typeName = "pools.v1.Token";
|
|
80
|
+
static readonly fields: FieldList;
|
|
81
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Token;
|
|
82
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Token;
|
|
83
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
|
|
84
|
+
static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @generated from message pools.v1.PoolPosition
|
|
88
|
+
*/
|
|
89
|
+
export declare class PoolPosition extends Message<PoolPosition> {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string token_id = 1;
|
|
92
|
+
*/
|
|
93
|
+
tokenId: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string tick_lower = 2;
|
|
96
|
+
*/
|
|
97
|
+
tickLower: string;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string tick_upper = 3;
|
|
100
|
+
*/
|
|
101
|
+
tickUpper: string;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: string liquidity = 4;
|
|
104
|
+
*/
|
|
105
|
+
liquidity: string;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: pools.v1.Token token0 = 5;
|
|
108
|
+
*/
|
|
109
|
+
token0?: Token;
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: pools.v1.Token token1 = 6;
|
|
112
|
+
*/
|
|
113
|
+
token1?: Token;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string fee_tier = 7;
|
|
116
|
+
*/
|
|
117
|
+
feeTier: string;
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string current_tick = 8;
|
|
120
|
+
*/
|
|
121
|
+
currentTick: string;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string current_price = 9;
|
|
124
|
+
*/
|
|
125
|
+
currentPrice: string;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: string tick_spacing = 10;
|
|
128
|
+
*/
|
|
129
|
+
tickSpacing: string;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string token0_uncollected_fees = 11;
|
|
132
|
+
*/
|
|
133
|
+
token0UncollectedFees: string;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: string token1_uncollected_fees = 12;
|
|
136
|
+
*/
|
|
137
|
+
token1UncollectedFees: string;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string amount0 = 13;
|
|
140
|
+
*/
|
|
141
|
+
amount0: string;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string amount1 = 14;
|
|
144
|
+
*/
|
|
145
|
+
amount1: string;
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: string pool_id = 15;
|
|
148
|
+
*/
|
|
149
|
+
poolId: string;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: bool is_dynamic_fee = 16;
|
|
152
|
+
*/
|
|
153
|
+
isDynamicFee: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string total_liquidity_usd = 17;
|
|
156
|
+
*/
|
|
157
|
+
totalLiquidityUsd: string;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string current_liquidity = 18;
|
|
160
|
+
*/
|
|
161
|
+
currentLiquidity: string;
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: float apr = 19;
|
|
164
|
+
*/
|
|
165
|
+
apr: number;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: string owner = 20;
|
|
168
|
+
*/
|
|
169
|
+
owner: string;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: float boosted_apr = 21;
|
|
172
|
+
*/
|
|
173
|
+
boostedApr: number;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: float total_apr = 22;
|
|
176
|
+
*/
|
|
177
|
+
totalApr: number;
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string unclaimed_rewards_amount_uni = 23;
|
|
180
|
+
*/
|
|
181
|
+
unclaimedRewardsAmountUni: string;
|
|
182
|
+
constructor(data?: PartialMessage<PoolPosition>);
|
|
183
|
+
static readonly runtime: typeof proto3;
|
|
184
|
+
static readonly typeName = "pools.v1.PoolPosition";
|
|
185
|
+
static readonly fields: FieldList;
|
|
186
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolPosition;
|
|
187
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolPosition;
|
|
188
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolPosition;
|
|
189
|
+
static equals(a: PoolPosition | PlainMessage<PoolPosition> | undefined, b: PoolPosition | PlainMessage<PoolPosition> | undefined): boolean;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @generated from message pools.v1.PairPosition
|
|
193
|
+
*/
|
|
194
|
+
export declare class PairPosition extends Message<PairPosition> {
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: pools.v1.Token token0 = 1;
|
|
197
|
+
*/
|
|
198
|
+
token0?: Token;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: pools.v1.Token token1 = 2;
|
|
201
|
+
*/
|
|
202
|
+
token1?: Token;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: pools.v1.Token liquidity_token = 3;
|
|
205
|
+
*/
|
|
206
|
+
liquidityToken?: Token;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: string reserve0 = 4;
|
|
209
|
+
*/
|
|
210
|
+
reserve0: string;
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string reserve1 = 5;
|
|
213
|
+
*/
|
|
214
|
+
reserve1: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string liquidity = 6;
|
|
217
|
+
*/
|
|
218
|
+
liquidity: string;
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string liquidity0 = 7;
|
|
221
|
+
*/
|
|
222
|
+
liquidity0: string;
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string liquidity1 = 8;
|
|
225
|
+
*/
|
|
226
|
+
liquidity1: string;
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: string total_supply = 9;
|
|
229
|
+
*/
|
|
230
|
+
totalSupply: string;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: float apr = 10;
|
|
233
|
+
*/
|
|
234
|
+
apr: number;
|
|
235
|
+
constructor(data?: PartialMessage<PairPosition>);
|
|
236
|
+
static readonly runtime: typeof proto3;
|
|
237
|
+
static readonly typeName = "pools.v1.PairPosition";
|
|
238
|
+
static readonly fields: FieldList;
|
|
239
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PairPosition;
|
|
240
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PairPosition;
|
|
241
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PairPosition;
|
|
242
|
+
static equals(a: PairPosition | PlainMessage<PairPosition> | undefined, b: PairPosition | PlainMessage<PairPosition> | undefined): boolean;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* @generated from message pools.v1.Position
|
|
246
|
+
*/
|
|
247
|
+
export declare class Position extends Message<Position> {
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: uint32 chain_id = 1;
|
|
250
|
+
*/
|
|
251
|
+
chainId: number;
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 2;
|
|
254
|
+
*/
|
|
255
|
+
protocolVersion: ProtocolVersion;
|
|
256
|
+
/**
|
|
257
|
+
* @generated from oneof pools.v1.Position.position
|
|
258
|
+
*/
|
|
259
|
+
position: {
|
|
260
|
+
/**
|
|
261
|
+
* @generated from field: pools.v1.PairPosition v2_pair = 3;
|
|
262
|
+
*/
|
|
263
|
+
value: PairPosition;
|
|
264
|
+
case: "v2Pair";
|
|
265
|
+
} | {
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: pools.v1.PoolPosition v3_position = 4;
|
|
268
|
+
*/
|
|
269
|
+
value: PoolPosition;
|
|
270
|
+
case: "v3Position";
|
|
271
|
+
} | {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: pools.v1.V4Position v4_position = 5;
|
|
274
|
+
*/
|
|
275
|
+
value: V4Position;
|
|
276
|
+
case: "v4Position";
|
|
277
|
+
} | {
|
|
278
|
+
case: undefined;
|
|
279
|
+
value?: undefined;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: pools.v1.PositionStatus status = 6;
|
|
283
|
+
*/
|
|
284
|
+
status: PositionStatus;
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: uint32 timestamp = 7;
|
|
287
|
+
*/
|
|
288
|
+
timestamp: number;
|
|
289
|
+
/**
|
|
290
|
+
* @generated from field: bool is_hidden = 8;
|
|
291
|
+
*/
|
|
292
|
+
isHidden: boolean;
|
|
293
|
+
constructor(data?: PartialMessage<Position>);
|
|
294
|
+
static readonly runtime: typeof proto3;
|
|
295
|
+
static readonly typeName = "pools.v1.Position";
|
|
296
|
+
static readonly fields: FieldList;
|
|
297
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Position;
|
|
298
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Position;
|
|
299
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Position;
|
|
300
|
+
static equals(a: Position | PlainMessage<Position> | undefined, b: Position | PlainMessage<Position> | undefined): boolean;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @generated from message pools.v1.Hook
|
|
304
|
+
*/
|
|
305
|
+
export declare class Hook extends Message<Hook> {
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: string address = 1;
|
|
308
|
+
*/
|
|
309
|
+
address: string;
|
|
310
|
+
constructor(data?: PartialMessage<Hook>);
|
|
311
|
+
static readonly runtime: typeof proto3;
|
|
312
|
+
static readonly typeName = "pools.v1.Hook";
|
|
313
|
+
static readonly fields: FieldList;
|
|
314
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Hook;
|
|
315
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Hook;
|
|
316
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Hook;
|
|
317
|
+
static equals(a: Hook | PlainMessage<Hook> | undefined, b: Hook | PlainMessage<Hook> | undefined): boolean;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @generated from message pools.v1.V4Position
|
|
321
|
+
*/
|
|
322
|
+
export declare class V4Position extends Message<V4Position> {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: pools.v1.PoolPosition pool_position = 1;
|
|
325
|
+
*/
|
|
326
|
+
poolPosition?: PoolPosition;
|
|
327
|
+
/**
|
|
328
|
+
* @generated from field: repeated pools.v1.Hook hooks = 2;
|
|
329
|
+
*/
|
|
330
|
+
hooks: Hook[];
|
|
331
|
+
constructor(data?: PartialMessage<V4Position>);
|
|
332
|
+
static readonly runtime: typeof proto3;
|
|
333
|
+
static readonly typeName = "pools.v1.V4Position";
|
|
334
|
+
static readonly fields: FieldList;
|
|
335
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4Position;
|
|
336
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4Position;
|
|
337
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4Position;
|
|
338
|
+
static equals(a: V4Position | PlainMessage<V4Position> | undefined, b: V4Position | PlainMessage<V4Position> | undefined): boolean;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* @generated from message pools.v1.Pool
|
|
342
|
+
*/
|
|
343
|
+
export declare class Pool extends Message<Pool> {
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: string pool_id = 1;
|
|
346
|
+
*/
|
|
347
|
+
poolId: string;
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: string token0 = 2;
|
|
350
|
+
*/
|
|
351
|
+
token0: string;
|
|
352
|
+
/**
|
|
353
|
+
* @generated from field: string token1 = 3;
|
|
354
|
+
*/
|
|
355
|
+
token1: string;
|
|
356
|
+
/**
|
|
357
|
+
* @generated from field: int32 tick = 4;
|
|
358
|
+
*/
|
|
359
|
+
tick: number;
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: string liquidity = 5;
|
|
362
|
+
*/
|
|
363
|
+
liquidity: string;
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: string sqrt_price_x96 = 6;
|
|
366
|
+
*/
|
|
367
|
+
sqrtPriceX96: string;
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: uint32 fee = 7;
|
|
370
|
+
*/
|
|
371
|
+
fee: number;
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: int32 tick_spacing = 8;
|
|
374
|
+
*/
|
|
375
|
+
tickSpacing: number;
|
|
376
|
+
/**
|
|
377
|
+
* @generated from field: optional pools.v1.Hook hooks = 9;
|
|
378
|
+
*/
|
|
379
|
+
hooks?: Hook;
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 10;
|
|
382
|
+
*/
|
|
383
|
+
protocolVersion: ProtocolVersion;
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: uint32 chain_id = 11;
|
|
386
|
+
*/
|
|
387
|
+
chainId: number;
|
|
388
|
+
/**
|
|
389
|
+
* @generated from field: bool is_dynamic_fee = 12;
|
|
390
|
+
*/
|
|
391
|
+
isDynamicFee: boolean;
|
|
392
|
+
/**
|
|
393
|
+
* @generated from field: string total_liquidity_usd = 13;
|
|
394
|
+
*/
|
|
395
|
+
totalLiquidityUsd: string;
|
|
396
|
+
/**
|
|
397
|
+
* @generated from field: float apr = 14;
|
|
398
|
+
*/
|
|
399
|
+
apr: number;
|
|
400
|
+
/**
|
|
401
|
+
* @generated from field: float boosted_apr = 15;
|
|
402
|
+
*/
|
|
403
|
+
boostedApr: number;
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: float total_apr = 16;
|
|
406
|
+
*/
|
|
407
|
+
totalApr: number;
|
|
408
|
+
constructor(data?: PartialMessage<Pool>);
|
|
409
|
+
static readonly runtime: typeof proto3;
|
|
410
|
+
static readonly typeName = "pools.v1.Pool";
|
|
411
|
+
static readonly fields: FieldList;
|
|
412
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pool;
|
|
413
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pool;
|
|
414
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pool;
|
|
415
|
+
static equals(a: Pool | PlainMessage<Pool> | undefined, b: Pool | PlainMessage<Pool> | undefined): boolean;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message pools.v1.Pair
|
|
419
|
+
*/
|
|
420
|
+
export declare class Pair extends Message<Pair> {
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: string pair_address = 1;
|
|
423
|
+
*/
|
|
424
|
+
pairAddress: string;
|
|
425
|
+
/**
|
|
426
|
+
* @generated from field: string token0 = 2;
|
|
427
|
+
*/
|
|
428
|
+
token0: string;
|
|
429
|
+
/**
|
|
430
|
+
* @generated from field: string token1 = 3;
|
|
431
|
+
*/
|
|
432
|
+
token1: string;
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: string reserve0 = 4;
|
|
435
|
+
*/
|
|
436
|
+
reserve0: string;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: string reserve1 = 5;
|
|
439
|
+
*/
|
|
440
|
+
reserve1: string;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: string total_supply = 6;
|
|
443
|
+
*/
|
|
444
|
+
totalSupply: string;
|
|
445
|
+
/**
|
|
446
|
+
* @generated from field: float apr = 7;
|
|
447
|
+
*/
|
|
448
|
+
apr: number;
|
|
449
|
+
constructor(data?: PartialMessage<Pair>);
|
|
450
|
+
static readonly runtime: typeof proto3;
|
|
451
|
+
static readonly typeName = "pools.v1.Pair";
|
|
452
|
+
static readonly fields: FieldList;
|
|
453
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pair;
|
|
454
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pair;
|
|
455
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pair;
|
|
456
|
+
static equals(a: Pair | PlainMessage<Pair> | undefined, b: Pair | PlainMessage<Pair> | undefined): boolean;
|
|
457
|
+
}
|