timelock-sdk 0.0.162 → 0.0.163
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/abis.cjs +1059 -308
- package/dist/abis.cjs.map +1 -1
- package/dist/abis.d.cts +2967 -766
- package/dist/abis.d.ts +2967 -766
- package/dist/abis.js +1051 -303
- package/dist/abis.js.map +1 -1
- package/dist/{client-BVPR3obW.d.cts → client-CoeY1yLm.d.cts} +944 -945
- package/dist/{client-BFhMekeP.d.ts → client-DqVrd4kQ.d.ts} +263 -264
- package/dist/client.cjs +42 -891
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +7 -856
- package/dist/client.js.map +1 -1
- package/dist/factory-DitVXzjQ.cjs +1715 -0
- package/dist/factory-DitVXzjQ.cjs.map +1 -0
- package/dist/factory-y-iVl_er.js +1697 -0
- package/dist/factory-y-iVl_er.js.map +1 -0
- package/dist/{optionUtils-R9Y-jxoz.cjs → optionUtils-Cuuw6jXD.cjs} +6 -1048
- package/dist/optionUtils-Cuuw6jXD.cjs.map +1 -0
- package/dist/optionUtils-OyY8qOu0.js +381 -0
- package/dist/optionUtils-OyY8qOu0.js.map +1 -0
- package/dist/{uniswapMathLens-oe-gukfo.d.ts → optionsMarket-2HZ-p_dl.d.ts} +2 -625
- package/dist/{uniswapMathLens-B6gp2UGI.d.cts → optionsMarket-c4hgszY_.d.cts} +2 -625
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +3 -3
- package/dist/package.d.ts +3 -3
- package/dist/package.js +2 -2
- package/dist/{optionsMarket-CWigPja1.js → statelessStateView-CBkcP7CK.js} +1599 -1322
- package/dist/statelessStateView-CBkcP7CK.js.map +1 -0
- package/dist/{optionsMarket-CtlBxuj0.cjs → statelessStateView-XdTJQxsY.cjs} +1600 -1323
- package/dist/statelessStateView-XdTJQxsY.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/optionUtils-R9Y-jxoz.cjs.map +0 -1
- package/dist/optionUtils-fCYueZl2.js +0 -1417
- package/dist/optionUtils-fCYueZl2.js.map +0 -1
- package/dist/optionsMarket-CWigPja1.js.map +0 -1
- package/dist/optionsMarket-CtlBxuj0.cjs.map +0 -1
- package/dist/singleOwnerVault-BJyEs_D_.js +0 -847
- package/dist/singleOwnerVault-BJyEs_D_.js.map +0 -1
- package/dist/singleOwnerVault-GCpQV7pN.cjs +0 -853
- package/dist/singleOwnerVault-GCpQV7pN.cjs.map +0 -1
package/dist/abis.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-c4hgszY_.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/abis/erc20.d.ts
|
|
4
4
|
declare const erc20Abi: readonly [{
|
|
@@ -181,113 +181,237 @@ declare const erc20Abi: readonly [{
|
|
|
181
181
|
readonly stateMutability: "nonpayable";
|
|
182
182
|
}];
|
|
183
183
|
//#endregion
|
|
184
|
-
//#region src/abis/
|
|
185
|
-
declare const
|
|
186
|
-
readonly type: "
|
|
184
|
+
//#region src/abis/factory.d.ts
|
|
185
|
+
declare const factoryAbi: readonly [{
|
|
186
|
+
readonly type: "function";
|
|
187
|
+
readonly name: "deployFeeStrategy";
|
|
187
188
|
readonly inputs: readonly [{
|
|
188
|
-
readonly name: "
|
|
189
|
-
readonly type: "
|
|
190
|
-
readonly internalType: "
|
|
189
|
+
readonly name: "_openingFeeRate";
|
|
190
|
+
readonly type: "uint32";
|
|
191
|
+
readonly internalType: "uint32";
|
|
191
192
|
}, {
|
|
192
|
-
readonly name: "
|
|
193
|
-
readonly type: "
|
|
194
|
-
readonly internalType: "
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
readonly name: "hooks";
|
|
213
|
-
readonly type: "address";
|
|
214
|
-
readonly internalType: "contract IHooks";
|
|
215
|
-
}];
|
|
193
|
+
readonly name: "_baseFeeRate";
|
|
194
|
+
readonly type: "uint32";
|
|
195
|
+
readonly internalType: "uint32";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "_minOpeningFee";
|
|
198
|
+
readonly type: "uint128";
|
|
199
|
+
readonly internalType: "uint128";
|
|
200
|
+
}, {
|
|
201
|
+
readonly name: "_minBaseFee";
|
|
202
|
+
readonly type: "uint128";
|
|
203
|
+
readonly internalType: "uint128";
|
|
204
|
+
}, {
|
|
205
|
+
readonly name: "_feeRecipient";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
208
|
+
}];
|
|
209
|
+
readonly outputs: readonly [{
|
|
210
|
+
readonly name: "";
|
|
211
|
+
readonly type: "address";
|
|
212
|
+
readonly internalType: "contract FeeStrategy";
|
|
216
213
|
}];
|
|
217
214
|
readonly stateMutability: "nonpayable";
|
|
218
215
|
}, {
|
|
219
216
|
readonly type: "function";
|
|
220
|
-
readonly name: "
|
|
221
|
-
readonly inputs: readonly [
|
|
217
|
+
readonly name: "deployOptionPricing";
|
|
218
|
+
readonly inputs: readonly [{
|
|
219
|
+
readonly name: "_logicContract";
|
|
220
|
+
readonly type: "address";
|
|
221
|
+
readonly internalType: "contract StatelessOptionPricing";
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: "_iv";
|
|
224
|
+
readonly type: "uint32";
|
|
225
|
+
readonly internalType: "uint32";
|
|
226
|
+
}, {
|
|
227
|
+
readonly name: "_riskFreeRate";
|
|
228
|
+
readonly type: "uint32";
|
|
229
|
+
readonly internalType: "uint32";
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "_minPremiumDailyRate";
|
|
232
|
+
readonly type: "uint32";
|
|
233
|
+
readonly internalType: "uint32";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "_minPremiumAmount";
|
|
236
|
+
readonly type: "uint256";
|
|
237
|
+
readonly internalType: "uint256";
|
|
238
|
+
}];
|
|
222
239
|
readonly outputs: readonly [{
|
|
223
240
|
readonly name: "";
|
|
224
|
-
readonly type: "
|
|
225
|
-
readonly internalType: "
|
|
241
|
+
readonly type: "address";
|
|
242
|
+
readonly internalType: "contract OptionPricing";
|
|
226
243
|
}];
|
|
227
|
-
readonly stateMutability: "
|
|
244
|
+
readonly stateMutability: "nonpayable";
|
|
228
245
|
}, {
|
|
229
246
|
readonly type: "function";
|
|
230
|
-
readonly name: "
|
|
231
|
-
readonly inputs: readonly [
|
|
247
|
+
readonly name: "deployStaticPerpsPricing";
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly name: "_dailyFundingRate";
|
|
250
|
+
readonly type: "uint32";
|
|
251
|
+
readonly internalType: "uint32";
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "_minFundingAmount";
|
|
254
|
+
readonly type: "uint128";
|
|
255
|
+
readonly internalType: "uint128";
|
|
256
|
+
}];
|
|
232
257
|
readonly outputs: readonly [{
|
|
233
258
|
readonly name: "";
|
|
234
|
-
readonly type: "
|
|
235
|
-
readonly internalType: "
|
|
259
|
+
readonly type: "address";
|
|
260
|
+
readonly internalType: "contract StaticPerpsPricing";
|
|
236
261
|
}];
|
|
237
|
-
readonly stateMutability: "
|
|
262
|
+
readonly stateMutability: "nonpayable";
|
|
238
263
|
}, {
|
|
239
264
|
readonly type: "function";
|
|
240
|
-
readonly name: "
|
|
241
|
-
readonly inputs: readonly [
|
|
265
|
+
readonly name: "feeStrategies";
|
|
266
|
+
readonly inputs: readonly [{
|
|
267
|
+
readonly name: "";
|
|
268
|
+
readonly type: "bytes32";
|
|
269
|
+
readonly internalType: "bytes32";
|
|
270
|
+
}];
|
|
242
271
|
readonly outputs: readonly [{
|
|
243
272
|
readonly name: "";
|
|
244
|
-
readonly type: "
|
|
245
|
-
readonly internalType: "
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
readonly internalType: "contract FeeStrategy";
|
|
246
275
|
}];
|
|
247
276
|
readonly stateMutability: "view";
|
|
248
277
|
}, {
|
|
249
278
|
readonly type: "function";
|
|
250
|
-
readonly name: "
|
|
251
|
-
readonly inputs: readonly [
|
|
279
|
+
readonly name: "optionPricings";
|
|
280
|
+
readonly inputs: readonly [{
|
|
281
|
+
readonly name: "";
|
|
282
|
+
readonly type: "bytes32";
|
|
283
|
+
readonly internalType: "bytes32";
|
|
284
|
+
}];
|
|
252
285
|
readonly outputs: readonly [{
|
|
253
286
|
readonly name: "";
|
|
254
|
-
readonly type: "
|
|
255
|
-
readonly internalType: "
|
|
287
|
+
readonly type: "address";
|
|
288
|
+
readonly internalType: "contract OptionPricing";
|
|
256
289
|
}];
|
|
257
290
|
readonly stateMutability: "view";
|
|
258
291
|
}, {
|
|
259
292
|
readonly type: "function";
|
|
260
|
-
readonly name: "
|
|
293
|
+
readonly name: "staticPerpsPricings";
|
|
261
294
|
readonly inputs: readonly [{
|
|
262
295
|
readonly name: "";
|
|
263
|
-
readonly type: "
|
|
264
|
-
readonly internalType: "
|
|
296
|
+
readonly type: "bytes32";
|
|
297
|
+
readonly internalType: "bytes32";
|
|
265
298
|
}];
|
|
266
299
|
readonly outputs: readonly [{
|
|
267
|
-
readonly name: "
|
|
268
|
-
readonly type: "
|
|
269
|
-
readonly internalType: "
|
|
300
|
+
readonly name: "";
|
|
301
|
+
readonly type: "address";
|
|
302
|
+
readonly internalType: "contract StaticPerpsPricing";
|
|
303
|
+
}];
|
|
304
|
+
readonly stateMutability: "view";
|
|
305
|
+
}, {
|
|
306
|
+
readonly type: "event";
|
|
307
|
+
readonly name: "DeployFeeStrategy";
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly name: "feeStrategy";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
readonly indexed: true;
|
|
312
|
+
readonly internalType: "contract FeeStrategy";
|
|
270
313
|
}, {
|
|
271
|
-
readonly name: "
|
|
272
|
-
readonly type: "
|
|
273
|
-
readonly
|
|
314
|
+
readonly name: "openingFeeRate";
|
|
315
|
+
readonly type: "uint32";
|
|
316
|
+
readonly indexed: false;
|
|
317
|
+
readonly internalType: "uint32";
|
|
274
318
|
}, {
|
|
275
|
-
readonly name: "
|
|
276
|
-
readonly type: "
|
|
277
|
-
readonly
|
|
319
|
+
readonly name: "baseFeeRate";
|
|
320
|
+
readonly type: "uint32";
|
|
321
|
+
readonly indexed: false;
|
|
322
|
+
readonly internalType: "uint32";
|
|
278
323
|
}, {
|
|
279
|
-
readonly name: "
|
|
324
|
+
readonly name: "minOpeningFee";
|
|
280
325
|
readonly type: "uint128";
|
|
326
|
+
readonly indexed: false;
|
|
281
327
|
readonly internalType: "uint128";
|
|
282
328
|
}, {
|
|
283
|
-
readonly name: "
|
|
329
|
+
readonly name: "minBaseFee";
|
|
330
|
+
readonly type: "uint128";
|
|
331
|
+
readonly indexed: false;
|
|
332
|
+
readonly internalType: "uint128";
|
|
333
|
+
}, {
|
|
334
|
+
readonly name: "feeRecipient";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
readonly indexed: false;
|
|
337
|
+
readonly internalType: "address";
|
|
338
|
+
}];
|
|
339
|
+
readonly anonymous: false;
|
|
340
|
+
}, {
|
|
341
|
+
readonly type: "event";
|
|
342
|
+
readonly name: "DeployOptionPricing";
|
|
343
|
+
readonly inputs: readonly [{
|
|
344
|
+
readonly name: "pricing";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
readonly indexed: true;
|
|
347
|
+
readonly internalType: "contract OptionPricing";
|
|
348
|
+
}, {
|
|
349
|
+
readonly name: "statelessPricing";
|
|
350
|
+
readonly type: "address";
|
|
351
|
+
readonly indexed: false;
|
|
352
|
+
readonly internalType: "contract StatelessOptionPricing";
|
|
353
|
+
}, {
|
|
354
|
+
readonly name: "iv";
|
|
355
|
+
readonly type: "uint32";
|
|
356
|
+
readonly indexed: false;
|
|
357
|
+
readonly internalType: "uint32";
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "riskFreeRate";
|
|
360
|
+
readonly type: "uint32";
|
|
361
|
+
readonly indexed: false;
|
|
362
|
+
readonly internalType: "uint32";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "minPremiumDailyRate";
|
|
365
|
+
readonly type: "uint32";
|
|
366
|
+
readonly indexed: false;
|
|
367
|
+
readonly internalType: "uint32";
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "minPremiumAmount";
|
|
370
|
+
readonly type: "uint256";
|
|
371
|
+
readonly indexed: false;
|
|
372
|
+
readonly internalType: "uint256";
|
|
373
|
+
}];
|
|
374
|
+
readonly anonymous: false;
|
|
375
|
+
}, {
|
|
376
|
+
readonly type: "event";
|
|
377
|
+
readonly name: "DeployStaticPerpsPricing";
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly name: "pricing";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
readonly indexed: true;
|
|
382
|
+
readonly internalType: "contract StaticPerpsPricing";
|
|
383
|
+
}, {
|
|
384
|
+
readonly name: "dailyFundingRate";
|
|
385
|
+
readonly type: "uint32";
|
|
386
|
+
readonly indexed: false;
|
|
387
|
+
readonly internalType: "uint32";
|
|
388
|
+
}, {
|
|
389
|
+
readonly name: "minFundingAmount";
|
|
284
390
|
readonly type: "uint128";
|
|
391
|
+
readonly indexed: false;
|
|
285
392
|
readonly internalType: "uint128";
|
|
286
393
|
}];
|
|
394
|
+
readonly anonymous: false;
|
|
395
|
+
}];
|
|
396
|
+
//#endregion
|
|
397
|
+
//#region src/abis/guardian.d.ts
|
|
398
|
+
declare const guardianAbi: readonly [{
|
|
399
|
+
readonly type: "constructor";
|
|
400
|
+
readonly inputs: readonly [];
|
|
401
|
+
readonly stateMutability: "nonpayable";
|
|
402
|
+
}, {
|
|
403
|
+
readonly type: "function";
|
|
404
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
405
|
+
readonly inputs: readonly [];
|
|
406
|
+
readonly outputs: readonly [{
|
|
407
|
+
readonly name: "";
|
|
408
|
+
readonly type: "bytes32";
|
|
409
|
+
readonly internalType: "bytes32";
|
|
410
|
+
}];
|
|
287
411
|
readonly stateMutability: "view";
|
|
288
412
|
}, {
|
|
289
413
|
readonly type: "function";
|
|
290
|
-
readonly name: "
|
|
414
|
+
readonly name: "MIN_WITHDRAW_INTERVAL";
|
|
291
415
|
readonly inputs: readonly [];
|
|
292
416
|
readonly outputs: readonly [{
|
|
293
417
|
readonly name: "";
|
|
@@ -297,39 +421,33 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
297
421
|
readonly stateMutability: "view";
|
|
298
422
|
}, {
|
|
299
423
|
readonly type: "function";
|
|
300
|
-
readonly name: "
|
|
424
|
+
readonly name: "PAUSER_ROLE";
|
|
425
|
+
readonly inputs: readonly [];
|
|
426
|
+
readonly outputs: readonly [{
|
|
427
|
+
readonly name: "";
|
|
428
|
+
readonly type: "bytes32";
|
|
429
|
+
readonly internalType: "bytes32";
|
|
430
|
+
}];
|
|
431
|
+
readonly stateMutability: "view";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "function";
|
|
434
|
+
readonly name: "allowBurn";
|
|
301
435
|
readonly inputs: readonly [{
|
|
302
|
-
readonly name: "
|
|
303
|
-
readonly type: "
|
|
304
|
-
readonly internalType: "
|
|
305
|
-
}, {
|
|
306
|
-
readonly name: "tickUpper";
|
|
307
|
-
readonly type: "int24";
|
|
308
|
-
readonly internalType: "int24";
|
|
309
|
-
}, {
|
|
310
|
-
readonly name: "liquidity";
|
|
311
|
-
readonly type: "uint128";
|
|
312
|
-
readonly internalType: "uint128";
|
|
313
|
-
}, {
|
|
314
|
-
readonly name: "refTick";
|
|
315
|
-
readonly type: "int24";
|
|
316
|
-
readonly internalType: "int24";
|
|
436
|
+
readonly name: "vault";
|
|
437
|
+
readonly type: "address";
|
|
438
|
+
readonly internalType: "address";
|
|
317
439
|
}];
|
|
318
440
|
readonly outputs: readonly [{
|
|
319
|
-
readonly name: "
|
|
320
|
-
readonly type: "
|
|
321
|
-
readonly internalType: "
|
|
322
|
-
}, {
|
|
323
|
-
readonly name: "delta1";
|
|
324
|
-
readonly type: "int256";
|
|
325
|
-
readonly internalType: "int256";
|
|
441
|
+
readonly name: "";
|
|
442
|
+
readonly type: "bool";
|
|
443
|
+
readonly internalType: "bool";
|
|
326
444
|
}];
|
|
327
|
-
readonly stateMutability: "
|
|
445
|
+
readonly stateMutability: "view";
|
|
328
446
|
}, {
|
|
329
447
|
readonly type: "function";
|
|
330
|
-
readonly name: "
|
|
448
|
+
readonly name: "allowEmergencyMarketWithdraw";
|
|
331
449
|
readonly inputs: readonly [{
|
|
332
|
-
readonly name: "";
|
|
450
|
+
readonly name: "market";
|
|
333
451
|
readonly type: "address";
|
|
334
452
|
readonly internalType: "address";
|
|
335
453
|
}];
|
|
@@ -341,287 +459,237 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
341
459
|
readonly stateMutability: "view";
|
|
342
460
|
}, {
|
|
343
461
|
readonly type: "function";
|
|
344
|
-
readonly name: "
|
|
462
|
+
readonly name: "allowEmergencyVaultWithdraw";
|
|
345
463
|
readonly inputs: readonly [{
|
|
346
|
-
readonly name: "
|
|
347
|
-
readonly type: "
|
|
348
|
-
readonly internalType: "
|
|
349
|
-
}, {
|
|
350
|
-
readonly name: "tickUpper";
|
|
351
|
-
readonly type: "int24";
|
|
352
|
-
readonly internalType: "int24";
|
|
353
|
-
}, {
|
|
354
|
-
readonly name: "liquidity";
|
|
355
|
-
readonly type: "uint128";
|
|
356
|
-
readonly internalType: "uint128";
|
|
357
|
-
}, {
|
|
358
|
-
readonly name: "refTick";
|
|
359
|
-
readonly type: "int24";
|
|
360
|
-
readonly internalType: "int24";
|
|
464
|
+
readonly name: "vault";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
readonly internalType: "address";
|
|
361
467
|
}];
|
|
362
468
|
readonly outputs: readonly [{
|
|
363
|
-
readonly name: "
|
|
364
|
-
readonly type: "
|
|
365
|
-
readonly internalType: "
|
|
366
|
-
}, {
|
|
367
|
-
readonly name: "amount1";
|
|
368
|
-
readonly type: "int256";
|
|
369
|
-
readonly internalType: "int256";
|
|
370
|
-
}, {
|
|
371
|
-
readonly name: "fees0";
|
|
372
|
-
readonly type: "uint256";
|
|
373
|
-
readonly internalType: "uint256";
|
|
374
|
-
}, {
|
|
375
|
-
readonly name: "fees1";
|
|
376
|
-
readonly type: "uint256";
|
|
377
|
-
readonly internalType: "uint256";
|
|
469
|
+
readonly name: "";
|
|
470
|
+
readonly type: "bool";
|
|
471
|
+
readonly internalType: "bool";
|
|
378
472
|
}];
|
|
379
|
-
readonly stateMutability: "
|
|
473
|
+
readonly stateMutability: "view";
|
|
380
474
|
}, {
|
|
381
475
|
readonly type: "function";
|
|
382
|
-
readonly name: "
|
|
476
|
+
readonly name: "allowMint";
|
|
383
477
|
readonly inputs: readonly [{
|
|
384
|
-
readonly name: "
|
|
385
|
-
readonly type: "
|
|
386
|
-
readonly internalType: "
|
|
387
|
-
}, {
|
|
388
|
-
readonly name: "refTick";
|
|
389
|
-
readonly type: "int24";
|
|
390
|
-
readonly internalType: "int24";
|
|
478
|
+
readonly name: "vault";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
readonly internalType: "address";
|
|
391
481
|
}];
|
|
392
482
|
readonly outputs: readonly [{
|
|
393
483
|
readonly name: "";
|
|
394
|
-
readonly type: "
|
|
395
|
-
readonly internalType: "
|
|
396
|
-
readonly components: readonly [{
|
|
397
|
-
readonly name: "tickLower";
|
|
398
|
-
readonly type: "int24";
|
|
399
|
-
readonly internalType: "int24";
|
|
400
|
-
}, {
|
|
401
|
-
readonly name: "tickUpper";
|
|
402
|
-
readonly type: "int24";
|
|
403
|
-
readonly internalType: "int24";
|
|
404
|
-
}, {
|
|
405
|
-
readonly name: "prevTickLower";
|
|
406
|
-
readonly type: "int24";
|
|
407
|
-
readonly internalType: "int24";
|
|
408
|
-
}, {
|
|
409
|
-
readonly name: "totalLiquidity";
|
|
410
|
-
readonly type: "uint128";
|
|
411
|
-
readonly internalType: "uint128";
|
|
412
|
-
}, {
|
|
413
|
-
readonly name: "borrowedLiquidity";
|
|
414
|
-
readonly type: "uint128";
|
|
415
|
-
readonly internalType: "uint128";
|
|
416
|
-
}];
|
|
484
|
+
readonly type: "bool";
|
|
485
|
+
readonly internalType: "bool";
|
|
417
486
|
}];
|
|
418
487
|
readonly stateMutability: "view";
|
|
419
488
|
}, {
|
|
420
489
|
readonly type: "function";
|
|
421
|
-
readonly name: "
|
|
422
|
-
readonly inputs: readonly [
|
|
490
|
+
readonly name: "allowTrade";
|
|
491
|
+
readonly inputs: readonly [{
|
|
492
|
+
readonly name: "market";
|
|
493
|
+
readonly type: "address";
|
|
494
|
+
readonly internalType: "address";
|
|
495
|
+
}, {
|
|
496
|
+
readonly name: "owner";
|
|
497
|
+
readonly type: "address";
|
|
498
|
+
readonly internalType: "address";
|
|
499
|
+
}, {
|
|
500
|
+
readonly name: "sender";
|
|
501
|
+
readonly type: "address";
|
|
502
|
+
readonly internalType: "address";
|
|
503
|
+
}];
|
|
423
504
|
readonly outputs: readonly [{
|
|
424
505
|
readonly name: "";
|
|
425
|
-
readonly type: "
|
|
426
|
-
readonly internalType: "
|
|
506
|
+
readonly type: "bool";
|
|
507
|
+
readonly internalType: "bool";
|
|
427
508
|
}];
|
|
428
509
|
readonly stateMutability: "view";
|
|
429
510
|
}, {
|
|
430
511
|
readonly type: "function";
|
|
431
|
-
readonly name: "
|
|
432
|
-
readonly inputs: readonly [
|
|
512
|
+
readonly name: "getRoleAdmin";
|
|
513
|
+
readonly inputs: readonly [{
|
|
514
|
+
readonly name: "role";
|
|
515
|
+
readonly type: "bytes32";
|
|
516
|
+
readonly internalType: "bytes32";
|
|
517
|
+
}];
|
|
433
518
|
readonly outputs: readonly [{
|
|
434
519
|
readonly name: "";
|
|
435
|
-
readonly type: "
|
|
436
|
-
readonly internalType: "
|
|
520
|
+
readonly type: "bytes32";
|
|
521
|
+
readonly internalType: "bytes32";
|
|
437
522
|
}];
|
|
438
523
|
readonly stateMutability: "view";
|
|
439
524
|
}, {
|
|
440
525
|
readonly type: "function";
|
|
441
|
-
readonly name: "
|
|
442
|
-
readonly inputs: readonly [
|
|
443
|
-
readonly name: "tickLower";
|
|
444
|
-
readonly type: "int24";
|
|
445
|
-
readonly internalType: "int24";
|
|
446
|
-
}, {
|
|
447
|
-
readonly name: "tickUpper";
|
|
448
|
-
readonly type: "int24";
|
|
449
|
-
readonly internalType: "int24";
|
|
450
|
-
}, {
|
|
451
|
-
readonly name: "liquidity";
|
|
452
|
-
readonly type: "uint128";
|
|
453
|
-
readonly internalType: "uint128";
|
|
454
|
-
}, {
|
|
455
|
-
readonly name: "refTick";
|
|
456
|
-
readonly type: "int24";
|
|
457
|
-
readonly internalType: "int24";
|
|
458
|
-
}];
|
|
526
|
+
readonly name: "globalBurnPaused";
|
|
527
|
+
readonly inputs: readonly [];
|
|
459
528
|
readonly outputs: readonly [{
|
|
460
|
-
readonly name: "
|
|
461
|
-
readonly type: "
|
|
462
|
-
readonly internalType: "
|
|
463
|
-
}, {
|
|
464
|
-
readonly name: "amount1";
|
|
465
|
-
readonly type: "int256";
|
|
466
|
-
readonly internalType: "int256";
|
|
467
|
-
}, {
|
|
468
|
-
readonly name: "fees0";
|
|
469
|
-
readonly type: "uint256";
|
|
470
|
-
readonly internalType: "uint256";
|
|
529
|
+
readonly name: "paused";
|
|
530
|
+
readonly type: "bool";
|
|
531
|
+
readonly internalType: "bool";
|
|
471
532
|
}, {
|
|
472
|
-
readonly name: "
|
|
473
|
-
readonly type: "
|
|
474
|
-
readonly internalType: "
|
|
533
|
+
readonly name: "updatedAt";
|
|
534
|
+
readonly type: "uint64";
|
|
535
|
+
readonly internalType: "uint64";
|
|
475
536
|
}];
|
|
476
|
-
readonly stateMutability: "
|
|
537
|
+
readonly stateMutability: "view";
|
|
477
538
|
}, {
|
|
478
539
|
readonly type: "function";
|
|
479
|
-
readonly name: "
|
|
480
|
-
readonly inputs: readonly [
|
|
481
|
-
readonly name: "data";
|
|
482
|
-
readonly type: "bytes[]";
|
|
483
|
-
readonly internalType: "bytes[]";
|
|
484
|
-
}];
|
|
540
|
+
readonly name: "globalMintPaused";
|
|
541
|
+
readonly inputs: readonly [];
|
|
485
542
|
readonly outputs: readonly [{
|
|
486
|
-
readonly name: "
|
|
487
|
-
readonly type: "
|
|
488
|
-
readonly internalType: "
|
|
543
|
+
readonly name: "paused";
|
|
544
|
+
readonly type: "bool";
|
|
545
|
+
readonly internalType: "bool";
|
|
546
|
+
}, {
|
|
547
|
+
readonly name: "updatedAt";
|
|
548
|
+
readonly type: "uint64";
|
|
549
|
+
readonly internalType: "uint64";
|
|
489
550
|
}];
|
|
490
|
-
readonly stateMutability: "
|
|
551
|
+
readonly stateMutability: "view";
|
|
491
552
|
}, {
|
|
492
553
|
readonly type: "function";
|
|
493
|
-
readonly name: "
|
|
554
|
+
readonly name: "globalTradingPaused";
|
|
494
555
|
readonly inputs: readonly [];
|
|
495
556
|
readonly outputs: readonly [{
|
|
496
|
-
readonly name: "";
|
|
557
|
+
readonly name: "paused";
|
|
558
|
+
readonly type: "bool";
|
|
559
|
+
readonly internalType: "bool";
|
|
560
|
+
}, {
|
|
561
|
+
readonly name: "updatedAt";
|
|
562
|
+
readonly type: "uint64";
|
|
563
|
+
readonly internalType: "uint64";
|
|
564
|
+
}];
|
|
565
|
+
readonly stateMutability: "view";
|
|
566
|
+
}, {
|
|
567
|
+
readonly type: "function";
|
|
568
|
+
readonly name: "grantRole";
|
|
569
|
+
readonly inputs: readonly [{
|
|
570
|
+
readonly name: "role";
|
|
571
|
+
readonly type: "bytes32";
|
|
572
|
+
readonly internalType: "bytes32";
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "account";
|
|
497
575
|
readonly type: "address";
|
|
498
576
|
readonly internalType: "address";
|
|
499
577
|
}];
|
|
500
|
-
readonly
|
|
578
|
+
readonly outputs: readonly [];
|
|
579
|
+
readonly stateMutability: "nonpayable";
|
|
501
580
|
}, {
|
|
502
581
|
readonly type: "function";
|
|
503
|
-
readonly name: "
|
|
504
|
-
readonly inputs: readonly [
|
|
582
|
+
readonly name: "hasRole";
|
|
583
|
+
readonly inputs: readonly [{
|
|
584
|
+
readonly name: "role";
|
|
585
|
+
readonly type: "bytes32";
|
|
586
|
+
readonly internalType: "bytes32";
|
|
587
|
+
}, {
|
|
588
|
+
readonly name: "account";
|
|
589
|
+
readonly type: "address";
|
|
590
|
+
readonly internalType: "address";
|
|
591
|
+
}];
|
|
505
592
|
readonly outputs: readonly [{
|
|
506
593
|
readonly name: "";
|
|
507
|
-
readonly type: "
|
|
508
|
-
readonly internalType: "
|
|
509
|
-
readonly components: readonly [{
|
|
510
|
-
readonly name: "currency0";
|
|
511
|
-
readonly type: "address";
|
|
512
|
-
readonly internalType: "Currency";
|
|
513
|
-
}, {
|
|
514
|
-
readonly name: "currency1";
|
|
515
|
-
readonly type: "address";
|
|
516
|
-
readonly internalType: "Currency";
|
|
517
|
-
}, {
|
|
518
|
-
readonly name: "fee";
|
|
519
|
-
readonly type: "uint24";
|
|
520
|
-
readonly internalType: "uint24";
|
|
521
|
-
}, {
|
|
522
|
-
readonly name: "tickSpacing";
|
|
523
|
-
readonly type: "int24";
|
|
524
|
-
readonly internalType: "int24";
|
|
525
|
-
}, {
|
|
526
|
-
readonly name: "hooks";
|
|
527
|
-
readonly type: "address";
|
|
528
|
-
readonly internalType: "contract IHooks";
|
|
529
|
-
}];
|
|
594
|
+
readonly type: "bool";
|
|
595
|
+
readonly internalType: "bool";
|
|
530
596
|
}];
|
|
531
597
|
readonly stateMutability: "view";
|
|
532
598
|
}, {
|
|
533
599
|
readonly type: "function";
|
|
534
|
-
readonly name: "
|
|
535
|
-
readonly inputs: readonly [
|
|
536
|
-
readonly outputs: readonly [{
|
|
600
|
+
readonly name: "marketTradingPaused";
|
|
601
|
+
readonly inputs: readonly [{
|
|
537
602
|
readonly name: "";
|
|
538
603
|
readonly type: "address";
|
|
539
|
-
readonly internalType: "
|
|
604
|
+
readonly internalType: "address";
|
|
605
|
+
}];
|
|
606
|
+
readonly outputs: readonly [{
|
|
607
|
+
readonly name: "paused";
|
|
608
|
+
readonly type: "bool";
|
|
609
|
+
readonly internalType: "bool";
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "updatedAt";
|
|
612
|
+
readonly type: "uint64";
|
|
613
|
+
readonly internalType: "uint64";
|
|
540
614
|
}];
|
|
541
615
|
readonly stateMutability: "view";
|
|
542
616
|
}, {
|
|
543
617
|
readonly type: "function";
|
|
544
|
-
readonly name: "
|
|
545
|
-
readonly inputs: readonly [];
|
|
546
|
-
readonly outputs: readonly [];
|
|
547
|
-
readonly stateMutability: "nonpayable";
|
|
548
|
-
}, {
|
|
549
|
-
readonly type: "function";
|
|
550
|
-
readonly name: "repay";
|
|
618
|
+
readonly name: "operatorsPaused";
|
|
551
619
|
readonly inputs: readonly [{
|
|
552
|
-
readonly name: "
|
|
553
|
-
readonly type: "
|
|
554
|
-
readonly internalType: "
|
|
555
|
-
}, {
|
|
556
|
-
readonly name: "tickUpper";
|
|
557
|
-
readonly type: "int24";
|
|
558
|
-
readonly internalType: "int24";
|
|
559
|
-
}, {
|
|
560
|
-
readonly name: "liquidity";
|
|
561
|
-
readonly type: "uint128";
|
|
562
|
-
readonly internalType: "uint128";
|
|
563
|
-
}, {
|
|
564
|
-
readonly name: "refTick";
|
|
565
|
-
readonly type: "int24";
|
|
566
|
-
readonly internalType: "int24";
|
|
620
|
+
readonly name: "";
|
|
621
|
+
readonly type: "address";
|
|
622
|
+
readonly internalType: "address";
|
|
567
623
|
}];
|
|
568
624
|
readonly outputs: readonly [{
|
|
569
|
-
readonly name: "
|
|
570
|
-
readonly type: "
|
|
571
|
-
readonly internalType: "
|
|
625
|
+
readonly name: "paused";
|
|
626
|
+
readonly type: "bool";
|
|
627
|
+
readonly internalType: "bool";
|
|
572
628
|
}, {
|
|
573
|
-
readonly name: "
|
|
574
|
-
readonly type: "
|
|
575
|
-
readonly internalType: "
|
|
629
|
+
readonly name: "updatedAt";
|
|
630
|
+
readonly type: "uint64";
|
|
631
|
+
readonly internalType: "uint64";
|
|
576
632
|
}];
|
|
577
|
-
readonly stateMutability: "
|
|
633
|
+
readonly stateMutability: "view";
|
|
578
634
|
}, {
|
|
579
635
|
readonly type: "function";
|
|
580
|
-
readonly name: "
|
|
581
|
-
readonly inputs: readonly [
|
|
582
|
-
|
|
583
|
-
readonly
|
|
584
|
-
readonly
|
|
585
|
-
readonly internalType: "int256";
|
|
636
|
+
readonly name: "pauseGlobal";
|
|
637
|
+
readonly inputs: readonly [{
|
|
638
|
+
readonly name: "mintPaused";
|
|
639
|
+
readonly type: "bool";
|
|
640
|
+
readonly internalType: "bool";
|
|
586
641
|
}, {
|
|
587
|
-
readonly name: "
|
|
588
|
-
readonly type: "
|
|
589
|
-
readonly internalType: "
|
|
642
|
+
readonly name: "burnPaused";
|
|
643
|
+
readonly type: "bool";
|
|
644
|
+
readonly internalType: "bool";
|
|
645
|
+
}, {
|
|
646
|
+
readonly name: "TradingPaused";
|
|
647
|
+
readonly type: "bool";
|
|
648
|
+
readonly internalType: "bool";
|
|
590
649
|
}];
|
|
650
|
+
readonly outputs: readonly [];
|
|
591
651
|
readonly stateMutability: "nonpayable";
|
|
592
652
|
}, {
|
|
593
653
|
readonly type: "function";
|
|
594
|
-
readonly name: "
|
|
654
|
+
readonly name: "pauseMarket";
|
|
595
655
|
readonly inputs: readonly [{
|
|
596
|
-
readonly name: "
|
|
656
|
+
readonly name: "market";
|
|
597
657
|
readonly type: "address";
|
|
598
658
|
readonly internalType: "address";
|
|
659
|
+
}, {
|
|
660
|
+
readonly name: "TradingPaused";
|
|
661
|
+
readonly type: "bool";
|
|
662
|
+
readonly internalType: "bool";
|
|
599
663
|
}];
|
|
600
664
|
readonly outputs: readonly [];
|
|
601
665
|
readonly stateMutability: "nonpayable";
|
|
602
666
|
}, {
|
|
603
667
|
readonly type: "function";
|
|
604
|
-
readonly name: "
|
|
668
|
+
readonly name: "pauseOperator";
|
|
605
669
|
readonly inputs: readonly [{
|
|
606
|
-
readonly name: "
|
|
607
|
-
readonly type: "
|
|
608
|
-
readonly internalType: "
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
readonly
|
|
612
|
-
readonly
|
|
613
|
-
readonly internalType: "bytes";
|
|
670
|
+
readonly name: "operator";
|
|
671
|
+
readonly type: "address";
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "paused";
|
|
675
|
+
readonly type: "bool";
|
|
676
|
+
readonly internalType: "bool";
|
|
614
677
|
}];
|
|
678
|
+
readonly outputs: readonly [];
|
|
615
679
|
readonly stateMutability: "nonpayable";
|
|
616
680
|
}, {
|
|
617
681
|
readonly type: "function";
|
|
618
|
-
readonly name: "
|
|
682
|
+
readonly name: "pauseVault";
|
|
619
683
|
readonly inputs: readonly [{
|
|
620
|
-
readonly name: "
|
|
684
|
+
readonly name: "vault";
|
|
621
685
|
readonly type: "address";
|
|
622
686
|
readonly internalType: "address";
|
|
623
687
|
}, {
|
|
624
|
-
readonly name: "
|
|
688
|
+
readonly name: "mintPaused";
|
|
689
|
+
readonly type: "bool";
|
|
690
|
+
readonly internalType: "bool";
|
|
691
|
+
}, {
|
|
692
|
+
readonly name: "burnPaused";
|
|
625
693
|
readonly type: "bool";
|
|
626
694
|
readonly internalType: "bool";
|
|
627
695
|
}];
|
|
@@ -629,49 +697,112 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
629
697
|
readonly stateMutability: "nonpayable";
|
|
630
698
|
}, {
|
|
631
699
|
readonly type: "function";
|
|
632
|
-
readonly name: "
|
|
700
|
+
readonly name: "renounceRole";
|
|
633
701
|
readonly inputs: readonly [{
|
|
634
|
-
readonly name: "
|
|
635
|
-
readonly type: "
|
|
636
|
-
readonly internalType: "
|
|
702
|
+
readonly name: "role";
|
|
703
|
+
readonly type: "bytes32";
|
|
704
|
+
readonly internalType: "bytes32";
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "callerConfirmation";
|
|
707
|
+
readonly type: "address";
|
|
708
|
+
readonly internalType: "address";
|
|
637
709
|
}];
|
|
638
710
|
readonly outputs: readonly [];
|
|
639
711
|
readonly stateMutability: "nonpayable";
|
|
640
712
|
}, {
|
|
641
|
-
readonly type: "
|
|
642
|
-
readonly name: "
|
|
713
|
+
readonly type: "function";
|
|
714
|
+
readonly name: "revokeRole";
|
|
643
715
|
readonly inputs: readonly [{
|
|
644
|
-
readonly name: "
|
|
716
|
+
readonly name: "role";
|
|
717
|
+
readonly type: "bytes32";
|
|
718
|
+
readonly internalType: "bytes32";
|
|
719
|
+
}, {
|
|
720
|
+
readonly name: "account";
|
|
721
|
+
readonly type: "address";
|
|
722
|
+
readonly internalType: "address";
|
|
723
|
+
}];
|
|
724
|
+
readonly outputs: readonly [];
|
|
725
|
+
readonly stateMutability: "nonpayable";
|
|
726
|
+
}, {
|
|
727
|
+
readonly type: "function";
|
|
728
|
+
readonly name: "supportsInterface";
|
|
729
|
+
readonly inputs: readonly [{
|
|
730
|
+
readonly name: "interfaceId";
|
|
731
|
+
readonly type: "bytes4";
|
|
732
|
+
readonly internalType: "bytes4";
|
|
733
|
+
}];
|
|
734
|
+
readonly outputs: readonly [{
|
|
735
|
+
readonly name: "";
|
|
736
|
+
readonly type: "bool";
|
|
737
|
+
readonly internalType: "bool";
|
|
738
|
+
}];
|
|
739
|
+
readonly stateMutability: "view";
|
|
740
|
+
}, {
|
|
741
|
+
readonly type: "function";
|
|
742
|
+
readonly name: "vaultBurnPaused";
|
|
743
|
+
readonly inputs: readonly [{
|
|
744
|
+
readonly name: "";
|
|
645
745
|
readonly type: "address";
|
|
646
|
-
readonly indexed: false;
|
|
647
746
|
readonly internalType: "address";
|
|
747
|
+
}];
|
|
748
|
+
readonly outputs: readonly [{
|
|
749
|
+
readonly name: "paused";
|
|
750
|
+
readonly type: "bool";
|
|
751
|
+
readonly internalType: "bool";
|
|
648
752
|
}, {
|
|
649
|
-
readonly name: "
|
|
650
|
-
readonly type: "
|
|
753
|
+
readonly name: "updatedAt";
|
|
754
|
+
readonly type: "uint64";
|
|
755
|
+
readonly internalType: "uint64";
|
|
756
|
+
}];
|
|
757
|
+
readonly stateMutability: "view";
|
|
758
|
+
}, {
|
|
759
|
+
readonly type: "function";
|
|
760
|
+
readonly name: "vaultMintPaused";
|
|
761
|
+
readonly inputs: readonly [{
|
|
762
|
+
readonly name: "";
|
|
763
|
+
readonly type: "address";
|
|
764
|
+
readonly internalType: "address";
|
|
765
|
+
}];
|
|
766
|
+
readonly outputs: readonly [{
|
|
767
|
+
readonly name: "paused";
|
|
768
|
+
readonly type: "bool";
|
|
769
|
+
readonly internalType: "bool";
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "updatedAt";
|
|
772
|
+
readonly type: "uint64";
|
|
773
|
+
readonly internalType: "uint64";
|
|
774
|
+
}];
|
|
775
|
+
readonly stateMutability: "view";
|
|
776
|
+
}, {
|
|
777
|
+
readonly type: "event";
|
|
778
|
+
readonly name: "PauseGlobal";
|
|
779
|
+
readonly inputs: readonly [{
|
|
780
|
+
readonly name: "mintPaused";
|
|
781
|
+
readonly type: "bool";
|
|
651
782
|
readonly indexed: false;
|
|
652
|
-
readonly internalType: "
|
|
783
|
+
readonly internalType: "bool";
|
|
653
784
|
}, {
|
|
654
|
-
readonly name: "
|
|
655
|
-
readonly type: "
|
|
785
|
+
readonly name: "burnPaused";
|
|
786
|
+
readonly type: "bool";
|
|
656
787
|
readonly indexed: false;
|
|
657
|
-
readonly internalType: "
|
|
788
|
+
readonly internalType: "bool";
|
|
658
789
|
}, {
|
|
659
|
-
readonly name: "
|
|
660
|
-
readonly type: "
|
|
790
|
+
readonly name: "TradingPaused";
|
|
791
|
+
readonly type: "bool";
|
|
661
792
|
readonly indexed: false;
|
|
662
|
-
readonly internalType: "
|
|
793
|
+
readonly internalType: "bool";
|
|
663
794
|
}];
|
|
664
795
|
readonly anonymous: false;
|
|
665
796
|
}, {
|
|
666
797
|
readonly type: "event";
|
|
667
|
-
readonly name: "
|
|
798
|
+
readonly name: "PauseMarket";
|
|
668
799
|
readonly inputs: readonly [{
|
|
669
|
-
readonly name: "
|
|
800
|
+
readonly name: "market";
|
|
670
801
|
readonly type: "address";
|
|
671
802
|
readonly indexed: true;
|
|
672
803
|
readonly internalType: "address";
|
|
673
804
|
}, {
|
|
674
|
-
readonly name: "
|
|
805
|
+
readonly name: "paused";
|
|
675
806
|
readonly type: "bool";
|
|
676
807
|
readonly indexed: false;
|
|
677
808
|
readonly internalType: "bool";
|
|
@@ -679,64 +810,74 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
679
810
|
readonly anonymous: false;
|
|
680
811
|
}, {
|
|
681
812
|
readonly type: "event";
|
|
682
|
-
readonly name: "
|
|
813
|
+
readonly name: "PauseOperator";
|
|
683
814
|
readonly inputs: readonly [{
|
|
684
|
-
readonly name: "
|
|
815
|
+
readonly name: "operator";
|
|
685
816
|
readonly type: "address";
|
|
686
|
-
readonly indexed:
|
|
817
|
+
readonly indexed: true;
|
|
687
818
|
readonly internalType: "address";
|
|
688
819
|
}, {
|
|
689
|
-
readonly name: "
|
|
690
|
-
readonly type: "
|
|
691
|
-
readonly indexed: false;
|
|
692
|
-
readonly internalType: "int24";
|
|
693
|
-
}, {
|
|
694
|
-
readonly name: "tickUpper";
|
|
695
|
-
readonly type: "int24";
|
|
696
|
-
readonly indexed: false;
|
|
697
|
-
readonly internalType: "int24";
|
|
698
|
-
}, {
|
|
699
|
-
readonly name: "liquidity";
|
|
700
|
-
readonly type: "uint128";
|
|
820
|
+
readonly name: "paused";
|
|
821
|
+
readonly type: "bool";
|
|
701
822
|
readonly indexed: false;
|
|
702
|
-
readonly internalType: "
|
|
823
|
+
readonly internalType: "bool";
|
|
703
824
|
}];
|
|
704
825
|
readonly anonymous: false;
|
|
705
826
|
}, {
|
|
706
827
|
readonly type: "event";
|
|
707
|
-
readonly name: "
|
|
828
|
+
readonly name: "PauseVault";
|
|
708
829
|
readonly inputs: readonly [{
|
|
709
|
-
readonly name: "
|
|
830
|
+
readonly name: "vault";
|
|
710
831
|
readonly type: "address";
|
|
711
|
-
readonly indexed:
|
|
832
|
+
readonly indexed: true;
|
|
712
833
|
readonly internalType: "address";
|
|
713
834
|
}, {
|
|
714
|
-
readonly name: "
|
|
715
|
-
readonly type: "
|
|
835
|
+
readonly name: "mintPaused";
|
|
836
|
+
readonly type: "bool";
|
|
716
837
|
readonly indexed: false;
|
|
717
|
-
readonly internalType: "
|
|
838
|
+
readonly internalType: "bool";
|
|
718
839
|
}, {
|
|
719
|
-
readonly name: "
|
|
720
|
-
readonly type: "
|
|
840
|
+
readonly name: "burnPaused";
|
|
841
|
+
readonly type: "bool";
|
|
721
842
|
readonly indexed: false;
|
|
722
|
-
readonly internalType: "
|
|
843
|
+
readonly internalType: "bool";
|
|
844
|
+
}];
|
|
845
|
+
readonly anonymous: false;
|
|
846
|
+
}, {
|
|
847
|
+
readonly type: "event";
|
|
848
|
+
readonly name: "RoleAdminChanged";
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly name: "role";
|
|
851
|
+
readonly type: "bytes32";
|
|
852
|
+
readonly indexed: true;
|
|
853
|
+
readonly internalType: "bytes32";
|
|
723
854
|
}, {
|
|
724
|
-
readonly name: "
|
|
725
|
-
readonly type: "
|
|
726
|
-
readonly indexed:
|
|
727
|
-
readonly internalType: "
|
|
855
|
+
readonly name: "previousAdminRole";
|
|
856
|
+
readonly type: "bytes32";
|
|
857
|
+
readonly indexed: true;
|
|
858
|
+
readonly internalType: "bytes32";
|
|
859
|
+
}, {
|
|
860
|
+
readonly name: "newAdminRole";
|
|
861
|
+
readonly type: "bytes32";
|
|
862
|
+
readonly indexed: true;
|
|
863
|
+
readonly internalType: "bytes32";
|
|
728
864
|
}];
|
|
729
865
|
readonly anonymous: false;
|
|
730
866
|
}, {
|
|
731
867
|
readonly type: "event";
|
|
732
|
-
readonly name: "
|
|
868
|
+
readonly name: "RoleGranted";
|
|
733
869
|
readonly inputs: readonly [{
|
|
734
|
-
readonly name: "
|
|
870
|
+
readonly name: "role";
|
|
871
|
+
readonly type: "bytes32";
|
|
872
|
+
readonly indexed: true;
|
|
873
|
+
readonly internalType: "bytes32";
|
|
874
|
+
}, {
|
|
875
|
+
readonly name: "account";
|
|
735
876
|
readonly type: "address";
|
|
736
877
|
readonly indexed: true;
|
|
737
878
|
readonly internalType: "address";
|
|
738
879
|
}, {
|
|
739
|
-
readonly name: "
|
|
880
|
+
readonly name: "sender";
|
|
740
881
|
readonly type: "address";
|
|
741
882
|
readonly indexed: true;
|
|
742
883
|
readonly internalType: "address";
|
|
@@ -744,293 +885,187 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
744
885
|
readonly anonymous: false;
|
|
745
886
|
}, {
|
|
746
887
|
readonly type: "event";
|
|
747
|
-
readonly name: "
|
|
888
|
+
readonly name: "RoleRevoked";
|
|
748
889
|
readonly inputs: readonly [{
|
|
749
|
-
readonly name: "
|
|
890
|
+
readonly name: "role";
|
|
891
|
+
readonly type: "bytes32";
|
|
892
|
+
readonly indexed: true;
|
|
893
|
+
readonly internalType: "bytes32";
|
|
894
|
+
}, {
|
|
895
|
+
readonly name: "account";
|
|
750
896
|
readonly type: "address";
|
|
751
|
-
readonly indexed:
|
|
897
|
+
readonly indexed: true;
|
|
752
898
|
readonly internalType: "address";
|
|
753
899
|
}, {
|
|
754
|
-
readonly name: "
|
|
755
|
-
readonly type: "
|
|
756
|
-
readonly indexed:
|
|
757
|
-
readonly internalType: "
|
|
758
|
-
}, {
|
|
759
|
-
readonly name: "tickUpper";
|
|
760
|
-
readonly type: "int24";
|
|
761
|
-
readonly indexed: false;
|
|
762
|
-
readonly internalType: "int24";
|
|
763
|
-
}, {
|
|
764
|
-
readonly name: "liquidity";
|
|
765
|
-
readonly type: "uint128";
|
|
766
|
-
readonly indexed: false;
|
|
767
|
-
readonly internalType: "uint128";
|
|
900
|
+
readonly name: "sender";
|
|
901
|
+
readonly type: "address";
|
|
902
|
+
readonly indexed: true;
|
|
903
|
+
readonly internalType: "address";
|
|
768
904
|
}];
|
|
769
905
|
readonly anonymous: false;
|
|
770
906
|
}, {
|
|
771
|
-
readonly type: "
|
|
772
|
-
readonly name: "
|
|
907
|
+
readonly type: "error";
|
|
908
|
+
readonly name: "AccessControlBadConfirmation";
|
|
909
|
+
readonly inputs: readonly [];
|
|
910
|
+
}, {
|
|
911
|
+
readonly type: "error";
|
|
912
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
773
913
|
readonly inputs: readonly [{
|
|
774
|
-
readonly name: "
|
|
914
|
+
readonly name: "account";
|
|
775
915
|
readonly type: "address";
|
|
776
|
-
readonly indexed: true;
|
|
777
916
|
readonly internalType: "address";
|
|
778
917
|
}, {
|
|
779
|
-
readonly name: "
|
|
918
|
+
readonly name: "neededRole";
|
|
919
|
+
readonly type: "bytes32";
|
|
920
|
+
readonly internalType: "bytes32";
|
|
921
|
+
}];
|
|
922
|
+
}];
|
|
923
|
+
//#endregion
|
|
924
|
+
//#region src/abis/poolManager.d.ts
|
|
925
|
+
declare const poolManagerAbi: readonly [{
|
|
926
|
+
readonly type: "function";
|
|
927
|
+
readonly name: "allowance";
|
|
928
|
+
readonly inputs: readonly [{
|
|
929
|
+
readonly name: "owner";
|
|
930
|
+
readonly type: "address";
|
|
931
|
+
readonly internalType: "address";
|
|
932
|
+
}, {
|
|
933
|
+
readonly name: "spender";
|
|
780
934
|
readonly type: "address";
|
|
781
|
-
readonly indexed: true;
|
|
782
935
|
readonly internalType: "address";
|
|
783
936
|
}, {
|
|
937
|
+
readonly name: "id";
|
|
938
|
+
readonly type: "uint256";
|
|
939
|
+
readonly internalType: "uint256";
|
|
940
|
+
}];
|
|
941
|
+
readonly outputs: readonly [{
|
|
784
942
|
readonly name: "amount";
|
|
785
943
|
readonly type: "uint256";
|
|
786
|
-
readonly indexed: false;
|
|
787
944
|
readonly internalType: "uint256";
|
|
788
945
|
}];
|
|
789
|
-
readonly
|
|
946
|
+
readonly stateMutability: "view";
|
|
790
947
|
}, {
|
|
791
|
-
readonly type: "
|
|
792
|
-
readonly name: "
|
|
948
|
+
readonly type: "function";
|
|
949
|
+
readonly name: "approve";
|
|
793
950
|
readonly inputs: readonly [{
|
|
794
|
-
readonly name: "
|
|
951
|
+
readonly name: "spender";
|
|
795
952
|
readonly type: "address";
|
|
796
953
|
readonly internalType: "address";
|
|
954
|
+
}, {
|
|
955
|
+
readonly name: "id";
|
|
956
|
+
readonly type: "uint256";
|
|
957
|
+
readonly internalType: "uint256";
|
|
958
|
+
}, {
|
|
959
|
+
readonly name: "amount";
|
|
960
|
+
readonly type: "uint256";
|
|
961
|
+
readonly internalType: "uint256";
|
|
962
|
+
}];
|
|
963
|
+
readonly outputs: readonly [{
|
|
964
|
+
readonly name: "";
|
|
965
|
+
readonly type: "bool";
|
|
966
|
+
readonly internalType: "bool";
|
|
797
967
|
}];
|
|
968
|
+
readonly stateMutability: "nonpayable";
|
|
798
969
|
}, {
|
|
799
|
-
readonly type: "
|
|
800
|
-
readonly name: "
|
|
970
|
+
readonly type: "function";
|
|
971
|
+
readonly name: "balanceOf";
|
|
801
972
|
readonly inputs: readonly [{
|
|
802
|
-
readonly name: "
|
|
973
|
+
readonly name: "owner";
|
|
803
974
|
readonly type: "address";
|
|
804
975
|
readonly internalType: "address";
|
|
976
|
+
}, {
|
|
977
|
+
readonly name: "id";
|
|
978
|
+
readonly type: "uint256";
|
|
979
|
+
readonly internalType: "uint256";
|
|
805
980
|
}];
|
|
981
|
+
readonly outputs: readonly [{
|
|
982
|
+
readonly name: "amount";
|
|
983
|
+
readonly type: "uint256";
|
|
984
|
+
readonly internalType: "uint256";
|
|
985
|
+
}];
|
|
986
|
+
readonly stateMutability: "view";
|
|
806
987
|
}, {
|
|
807
|
-
readonly type: "
|
|
808
|
-
readonly name: "
|
|
809
|
-
readonly inputs: readonly [];
|
|
810
|
-
}, {
|
|
811
|
-
readonly type: "error";
|
|
812
|
-
readonly name: "InsufficientLiquidity";
|
|
988
|
+
readonly type: "function";
|
|
989
|
+
readonly name: "burn";
|
|
813
990
|
readonly inputs: readonly [{
|
|
814
|
-
readonly name: "
|
|
815
|
-
readonly type: "int24";
|
|
816
|
-
readonly internalType: "int24";
|
|
817
|
-
}, {
|
|
818
|
-
readonly name: "required";
|
|
819
|
-
readonly type: "uint128";
|
|
820
|
-
readonly internalType: "uint128";
|
|
821
|
-
}];
|
|
822
|
-
}, {
|
|
823
|
-
readonly type: "error";
|
|
824
|
-
readonly name: "InvalidActionType";
|
|
825
|
-
readonly inputs: readonly [{
|
|
826
|
-
readonly name: "actionType";
|
|
827
|
-
readonly type: "uint8";
|
|
828
|
-
readonly internalType: "uint8";
|
|
829
|
-
}];
|
|
830
|
-
}, {
|
|
831
|
-
readonly type: "error";
|
|
832
|
-
readonly name: "InvalidRefTick";
|
|
833
|
-
readonly inputs: readonly [{
|
|
834
|
-
readonly name: "tickLower";
|
|
835
|
-
readonly type: "int24";
|
|
836
|
-
readonly internalType: "int24";
|
|
837
|
-
}];
|
|
838
|
-
}, {
|
|
839
|
-
readonly type: "error";
|
|
840
|
-
readonly name: "InvalidTickRange";
|
|
841
|
-
readonly inputs: readonly [{
|
|
842
|
-
readonly name: "tickLower";
|
|
843
|
-
readonly type: "int24";
|
|
844
|
-
readonly internalType: "int24";
|
|
845
|
-
}, {
|
|
846
|
-
readonly name: "tickUpper";
|
|
847
|
-
readonly type: "int24";
|
|
848
|
-
readonly internalType: "int24";
|
|
849
|
-
}];
|
|
850
|
-
}, {
|
|
851
|
-
readonly type: "error";
|
|
852
|
-
readonly name: "OwnableInvalidOwner";
|
|
853
|
-
readonly inputs: readonly [{
|
|
854
|
-
readonly name: "owner";
|
|
855
|
-
readonly type: "address";
|
|
856
|
-
readonly internalType: "address";
|
|
857
|
-
}];
|
|
858
|
-
}, {
|
|
859
|
-
readonly type: "error";
|
|
860
|
-
readonly name: "OwnableUnauthorizedAccount";
|
|
861
|
-
readonly inputs: readonly [{
|
|
862
|
-
readonly name: "account";
|
|
863
|
-
readonly type: "address";
|
|
864
|
-
readonly internalType: "address";
|
|
865
|
-
}];
|
|
866
|
-
}, {
|
|
867
|
-
readonly type: "error";
|
|
868
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
869
|
-
readonly inputs: readonly [];
|
|
870
|
-
}, {
|
|
871
|
-
readonly type: "error";
|
|
872
|
-
readonly name: "SafeERC20FailedOperation";
|
|
873
|
-
readonly inputs: readonly [{
|
|
874
|
-
readonly name: "token";
|
|
991
|
+
readonly name: "from";
|
|
875
992
|
readonly type: "address";
|
|
876
993
|
readonly internalType: "address";
|
|
877
|
-
}];
|
|
878
|
-
}, {
|
|
879
|
-
readonly type: "error";
|
|
880
|
-
readonly name: "TooMuchRepay";
|
|
881
|
-
readonly inputs: readonly [{
|
|
882
|
-
readonly name: "blockTickLower";
|
|
883
|
-
readonly type: "int24";
|
|
884
|
-
readonly internalType: "int24";
|
|
885
|
-
}, {
|
|
886
|
-
readonly name: "attempted";
|
|
887
|
-
readonly type: "uint128";
|
|
888
|
-
readonly internalType: "uint128";
|
|
889
|
-
}, {
|
|
890
|
-
readonly name: "maximum";
|
|
891
|
-
readonly type: "uint128";
|
|
892
|
-
readonly internalType: "uint128";
|
|
893
|
-
}];
|
|
894
|
-
}, {
|
|
895
|
-
readonly type: "error";
|
|
896
|
-
readonly name: "UnauthorizedCaller";
|
|
897
|
-
readonly inputs: readonly [];
|
|
898
|
-
}];
|
|
899
|
-
//#endregion
|
|
900
|
-
//#region src/abis/uniswapV3Pool.d.ts
|
|
901
|
-
declare const uniswapV3PoolAbi: readonly [{
|
|
902
|
-
readonly type: "function";
|
|
903
|
-
readonly name: "burn";
|
|
904
|
-
readonly inputs: readonly [{
|
|
905
|
-
readonly name: "tickLower";
|
|
906
|
-
readonly type: "int24";
|
|
907
|
-
readonly internalType: "int24";
|
|
908
|
-
}, {
|
|
909
|
-
readonly name: "tickUpper";
|
|
910
|
-
readonly type: "int24";
|
|
911
|
-
readonly internalType: "int24";
|
|
912
994
|
}, {
|
|
913
|
-
readonly name: "
|
|
914
|
-
readonly type: "uint128";
|
|
915
|
-
readonly internalType: "uint128";
|
|
916
|
-
}];
|
|
917
|
-
readonly outputs: readonly [{
|
|
918
|
-
readonly name: "amount0";
|
|
995
|
+
readonly name: "id";
|
|
919
996
|
readonly type: "uint256";
|
|
920
997
|
readonly internalType: "uint256";
|
|
921
998
|
}, {
|
|
922
|
-
readonly name: "
|
|
999
|
+
readonly name: "amount";
|
|
923
1000
|
readonly type: "uint256";
|
|
924
1001
|
readonly internalType: "uint256";
|
|
925
1002
|
}];
|
|
1003
|
+
readonly outputs: readonly [];
|
|
926
1004
|
readonly stateMutability: "nonpayable";
|
|
927
1005
|
}, {
|
|
928
1006
|
readonly type: "function";
|
|
929
|
-
readonly name: "
|
|
1007
|
+
readonly name: "clear";
|
|
930
1008
|
readonly inputs: readonly [{
|
|
931
|
-
readonly name: "
|
|
1009
|
+
readonly name: "currency";
|
|
932
1010
|
readonly type: "address";
|
|
933
|
-
readonly internalType: "
|
|
934
|
-
}, {
|
|
935
|
-
readonly name: "tickLower";
|
|
936
|
-
readonly type: "int24";
|
|
937
|
-
readonly internalType: "int24";
|
|
938
|
-
}, {
|
|
939
|
-
readonly name: "tickUpper";
|
|
940
|
-
readonly type: "int24";
|
|
941
|
-
readonly internalType: "int24";
|
|
942
|
-
}, {
|
|
943
|
-
readonly name: "amount0Requested";
|
|
944
|
-
readonly type: "uint128";
|
|
945
|
-
readonly internalType: "uint128";
|
|
946
|
-
}, {
|
|
947
|
-
readonly name: "amount1Requested";
|
|
948
|
-
readonly type: "uint128";
|
|
949
|
-
readonly internalType: "uint128";
|
|
950
|
-
}];
|
|
951
|
-
readonly outputs: readonly [{
|
|
952
|
-
readonly name: "amount0";
|
|
953
|
-
readonly type: "uint128";
|
|
954
|
-
readonly internalType: "uint128";
|
|
1011
|
+
readonly internalType: "Currency";
|
|
955
1012
|
}, {
|
|
956
|
-
readonly name: "
|
|
957
|
-
readonly type: "
|
|
958
|
-
readonly internalType: "
|
|
1013
|
+
readonly name: "amount";
|
|
1014
|
+
readonly type: "uint256";
|
|
1015
|
+
readonly internalType: "uint256";
|
|
959
1016
|
}];
|
|
1017
|
+
readonly outputs: readonly [];
|
|
960
1018
|
readonly stateMutability: "nonpayable";
|
|
961
1019
|
}, {
|
|
962
1020
|
readonly type: "function";
|
|
963
|
-
readonly name: "
|
|
1021
|
+
readonly name: "collectProtocolFees";
|
|
964
1022
|
readonly inputs: readonly [{
|
|
965
1023
|
readonly name: "recipient";
|
|
966
1024
|
readonly type: "address";
|
|
967
1025
|
readonly internalType: "address";
|
|
968
1026
|
}, {
|
|
969
|
-
readonly name: "
|
|
970
|
-
readonly type: "uint128";
|
|
971
|
-
readonly internalType: "uint128";
|
|
972
|
-
}, {
|
|
973
|
-
readonly name: "amount1Requested";
|
|
974
|
-
readonly type: "uint128";
|
|
975
|
-
readonly internalType: "uint128";
|
|
976
|
-
}];
|
|
977
|
-
readonly outputs: readonly [{
|
|
978
|
-
readonly name: "amount0";
|
|
979
|
-
readonly type: "uint128";
|
|
980
|
-
readonly internalType: "uint128";
|
|
981
|
-
}, {
|
|
982
|
-
readonly name: "amount1";
|
|
983
|
-
readonly type: "uint128";
|
|
984
|
-
readonly internalType: "uint128";
|
|
985
|
-
}];
|
|
986
|
-
readonly stateMutability: "nonpayable";
|
|
987
|
-
}, {
|
|
988
|
-
readonly type: "function";
|
|
989
|
-
readonly name: "factory";
|
|
990
|
-
readonly inputs: readonly [];
|
|
991
|
-
readonly outputs: readonly [{
|
|
992
|
-
readonly name: "";
|
|
1027
|
+
readonly name: "currency";
|
|
993
1028
|
readonly type: "address";
|
|
994
|
-
readonly internalType: "
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
}, {
|
|
998
|
-
readonly type: "function";
|
|
999
|
-
readonly name: "fee";
|
|
1000
|
-
readonly inputs: readonly [];
|
|
1001
|
-
readonly outputs: readonly [{
|
|
1002
|
-
readonly name: "";
|
|
1003
|
-
readonly type: "uint24";
|
|
1004
|
-
readonly internalType: "uint24";
|
|
1005
|
-
}];
|
|
1006
|
-
readonly stateMutability: "view";
|
|
1007
|
-
}, {
|
|
1008
|
-
readonly type: "function";
|
|
1009
|
-
readonly name: "feeGrowthGlobal0X128";
|
|
1010
|
-
readonly inputs: readonly [];
|
|
1011
|
-
readonly outputs: readonly [{
|
|
1012
|
-
readonly name: "";
|
|
1029
|
+
readonly internalType: "Currency";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly name: "amount";
|
|
1013
1032
|
readonly type: "uint256";
|
|
1014
1033
|
readonly internalType: "uint256";
|
|
1015
1034
|
}];
|
|
1016
|
-
readonly stateMutability: "view";
|
|
1017
|
-
}, {
|
|
1018
|
-
readonly type: "function";
|
|
1019
|
-
readonly name: "feeGrowthGlobal1X128";
|
|
1020
|
-
readonly inputs: readonly [];
|
|
1021
1035
|
readonly outputs: readonly [{
|
|
1022
|
-
readonly name: "";
|
|
1036
|
+
readonly name: "amountCollected";
|
|
1023
1037
|
readonly type: "uint256";
|
|
1024
1038
|
readonly internalType: "uint256";
|
|
1025
1039
|
}];
|
|
1026
|
-
readonly stateMutability: "
|
|
1040
|
+
readonly stateMutability: "nonpayable";
|
|
1027
1041
|
}, {
|
|
1028
1042
|
readonly type: "function";
|
|
1029
|
-
readonly name: "
|
|
1043
|
+
readonly name: "donate";
|
|
1030
1044
|
readonly inputs: readonly [{
|
|
1031
|
-
readonly name: "
|
|
1032
|
-
readonly type: "
|
|
1033
|
-
readonly internalType: "
|
|
1045
|
+
readonly name: "key";
|
|
1046
|
+
readonly type: "tuple";
|
|
1047
|
+
readonly internalType: "struct PoolKey";
|
|
1048
|
+
readonly components: readonly [{
|
|
1049
|
+
readonly name: "currency0";
|
|
1050
|
+
readonly type: "address";
|
|
1051
|
+
readonly internalType: "Currency";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly name: "currency1";
|
|
1054
|
+
readonly type: "address";
|
|
1055
|
+
readonly internalType: "Currency";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly name: "fee";
|
|
1058
|
+
readonly type: "uint24";
|
|
1059
|
+
readonly internalType: "uint24";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "tickSpacing";
|
|
1062
|
+
readonly type: "int24";
|
|
1063
|
+
readonly internalType: "int24";
|
|
1064
|
+
}, {
|
|
1065
|
+
readonly name: "hooks";
|
|
1066
|
+
readonly type: "address";
|
|
1067
|
+
readonly internalType: "contract IHooks";
|
|
1068
|
+
}];
|
|
1034
1069
|
}, {
|
|
1035
1070
|
readonly name: "amount0";
|
|
1036
1071
|
readonly type: "uint256";
|
|
@@ -1040,135 +1075,2071 @@ declare const uniswapV3PoolAbi: readonly [{
|
|
|
1040
1075
|
readonly type: "uint256";
|
|
1041
1076
|
readonly internalType: "uint256";
|
|
1042
1077
|
}, {
|
|
1043
|
-
readonly name: "
|
|
1078
|
+
readonly name: "hookData";
|
|
1044
1079
|
readonly type: "bytes";
|
|
1045
1080
|
readonly internalType: "bytes";
|
|
1046
1081
|
}];
|
|
1047
|
-
readonly outputs: readonly [
|
|
1082
|
+
readonly outputs: readonly [{
|
|
1083
|
+
readonly name: "";
|
|
1084
|
+
readonly type: "int256";
|
|
1085
|
+
readonly internalType: "BalanceDelta";
|
|
1086
|
+
}];
|
|
1048
1087
|
readonly stateMutability: "nonpayable";
|
|
1049
1088
|
}, {
|
|
1050
1089
|
readonly type: "function";
|
|
1051
|
-
readonly name: "
|
|
1090
|
+
readonly name: "extsload";
|
|
1052
1091
|
readonly inputs: readonly [{
|
|
1053
|
-
readonly name: "
|
|
1054
|
-
readonly type: "
|
|
1055
|
-
readonly internalType: "
|
|
1092
|
+
readonly name: "slot";
|
|
1093
|
+
readonly type: "bytes32";
|
|
1094
|
+
readonly internalType: "bytes32";
|
|
1056
1095
|
}];
|
|
1057
|
-
readonly outputs: readonly [
|
|
1058
|
-
|
|
1096
|
+
readonly outputs: readonly [{
|
|
1097
|
+
readonly name: "value";
|
|
1098
|
+
readonly type: "bytes32";
|
|
1099
|
+
readonly internalType: "bytes32";
|
|
1100
|
+
}];
|
|
1101
|
+
readonly stateMutability: "view";
|
|
1059
1102
|
}, {
|
|
1060
1103
|
readonly type: "function";
|
|
1061
|
-
readonly name: "
|
|
1104
|
+
readonly name: "extsload";
|
|
1062
1105
|
readonly inputs: readonly [{
|
|
1063
|
-
readonly name: "
|
|
1064
|
-
readonly type: "
|
|
1065
|
-
readonly internalType: "
|
|
1106
|
+
readonly name: "startSlot";
|
|
1107
|
+
readonly type: "bytes32";
|
|
1108
|
+
readonly internalType: "bytes32";
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly name: "nSlots";
|
|
1111
|
+
readonly type: "uint256";
|
|
1112
|
+
readonly internalType: "uint256";
|
|
1066
1113
|
}];
|
|
1067
|
-
readonly outputs: readonly [
|
|
1068
|
-
|
|
1114
|
+
readonly outputs: readonly [{
|
|
1115
|
+
readonly name: "values";
|
|
1116
|
+
readonly type: "bytes32[]";
|
|
1117
|
+
readonly internalType: "bytes32[]";
|
|
1118
|
+
}];
|
|
1119
|
+
readonly stateMutability: "view";
|
|
1069
1120
|
}, {
|
|
1070
1121
|
readonly type: "function";
|
|
1071
|
-
readonly name: "
|
|
1072
|
-
readonly inputs: readonly [
|
|
1122
|
+
readonly name: "extsload";
|
|
1123
|
+
readonly inputs: readonly [{
|
|
1124
|
+
readonly name: "slots";
|
|
1125
|
+
readonly type: "bytes32[]";
|
|
1126
|
+
readonly internalType: "bytes32[]";
|
|
1127
|
+
}];
|
|
1073
1128
|
readonly outputs: readonly [{
|
|
1074
|
-
readonly name: "";
|
|
1075
|
-
readonly type: "
|
|
1076
|
-
readonly internalType: "
|
|
1129
|
+
readonly name: "values";
|
|
1130
|
+
readonly type: "bytes32[]";
|
|
1131
|
+
readonly internalType: "bytes32[]";
|
|
1077
1132
|
}];
|
|
1078
1133
|
readonly stateMutability: "view";
|
|
1079
1134
|
}, {
|
|
1080
1135
|
readonly type: "function";
|
|
1081
|
-
readonly name: "
|
|
1082
|
-
readonly inputs: readonly [
|
|
1136
|
+
readonly name: "exttload";
|
|
1137
|
+
readonly inputs: readonly [{
|
|
1138
|
+
readonly name: "slots";
|
|
1139
|
+
readonly type: "bytes32[]";
|
|
1140
|
+
readonly internalType: "bytes32[]";
|
|
1141
|
+
}];
|
|
1083
1142
|
readonly outputs: readonly [{
|
|
1084
|
-
readonly name: "";
|
|
1085
|
-
readonly type: "
|
|
1086
|
-
readonly internalType: "
|
|
1143
|
+
readonly name: "values";
|
|
1144
|
+
readonly type: "bytes32[]";
|
|
1145
|
+
readonly internalType: "bytes32[]";
|
|
1087
1146
|
}];
|
|
1088
1147
|
readonly stateMutability: "view";
|
|
1089
1148
|
}, {
|
|
1090
1149
|
readonly type: "function";
|
|
1091
|
-
readonly name: "
|
|
1150
|
+
readonly name: "exttload";
|
|
1092
1151
|
readonly inputs: readonly [{
|
|
1093
|
-
readonly name: "
|
|
1094
|
-
readonly type: "
|
|
1095
|
-
readonly internalType: "
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
readonly
|
|
1099
|
-
readonly
|
|
1100
|
-
|
|
1152
|
+
readonly name: "slot";
|
|
1153
|
+
readonly type: "bytes32";
|
|
1154
|
+
readonly internalType: "bytes32";
|
|
1155
|
+
}];
|
|
1156
|
+
readonly outputs: readonly [{
|
|
1157
|
+
readonly name: "value";
|
|
1158
|
+
readonly type: "bytes32";
|
|
1159
|
+
readonly internalType: "bytes32";
|
|
1160
|
+
}];
|
|
1161
|
+
readonly stateMutability: "view";
|
|
1162
|
+
}, {
|
|
1163
|
+
readonly type: "function";
|
|
1164
|
+
readonly name: "initialize";
|
|
1165
|
+
readonly inputs: readonly [{
|
|
1166
|
+
readonly name: "key";
|
|
1167
|
+
readonly type: "tuple";
|
|
1168
|
+
readonly internalType: "struct PoolKey";
|
|
1169
|
+
readonly components: readonly [{
|
|
1170
|
+
readonly name: "currency0";
|
|
1171
|
+
readonly type: "address";
|
|
1172
|
+
readonly internalType: "Currency";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly name: "currency1";
|
|
1175
|
+
readonly type: "address";
|
|
1176
|
+
readonly internalType: "Currency";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly name: "fee";
|
|
1179
|
+
readonly type: "uint24";
|
|
1180
|
+
readonly internalType: "uint24";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly name: "tickSpacing";
|
|
1183
|
+
readonly type: "int24";
|
|
1184
|
+
readonly internalType: "int24";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly name: "hooks";
|
|
1187
|
+
readonly type: "address";
|
|
1188
|
+
readonly internalType: "contract IHooks";
|
|
1189
|
+
}];
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly name: "sqrtPriceX96";
|
|
1192
|
+
readonly type: "uint160";
|
|
1193
|
+
readonly internalType: "uint160";
|
|
1194
|
+
}];
|
|
1195
|
+
readonly outputs: readonly [{
|
|
1196
|
+
readonly name: "tick";
|
|
1197
|
+
readonly type: "int24";
|
|
1198
|
+
readonly internalType: "int24";
|
|
1199
|
+
}];
|
|
1200
|
+
readonly stateMutability: "nonpayable";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly type: "function";
|
|
1203
|
+
readonly name: "isOperator";
|
|
1204
|
+
readonly inputs: readonly [{
|
|
1205
|
+
readonly name: "owner";
|
|
1206
|
+
readonly type: "address";
|
|
1207
|
+
readonly internalType: "address";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly name: "spender";
|
|
1210
|
+
readonly type: "address";
|
|
1211
|
+
readonly internalType: "address";
|
|
1212
|
+
}];
|
|
1213
|
+
readonly outputs: readonly [{
|
|
1214
|
+
readonly name: "approved";
|
|
1215
|
+
readonly type: "bool";
|
|
1216
|
+
readonly internalType: "bool";
|
|
1217
|
+
}];
|
|
1218
|
+
readonly stateMutability: "view";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly type: "function";
|
|
1221
|
+
readonly name: "mint";
|
|
1222
|
+
readonly inputs: readonly [{
|
|
1223
|
+
readonly name: "to";
|
|
1224
|
+
readonly type: "address";
|
|
1225
|
+
readonly internalType: "address";
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly name: "id";
|
|
1228
|
+
readonly type: "uint256";
|
|
1229
|
+
readonly internalType: "uint256";
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly name: "amount";
|
|
1232
|
+
readonly type: "uint256";
|
|
1233
|
+
readonly internalType: "uint256";
|
|
1234
|
+
}];
|
|
1235
|
+
readonly outputs: readonly [];
|
|
1236
|
+
readonly stateMutability: "nonpayable";
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly type: "function";
|
|
1239
|
+
readonly name: "modifyLiquidity";
|
|
1240
|
+
readonly inputs: readonly [{
|
|
1241
|
+
readonly name: "key";
|
|
1242
|
+
readonly type: "tuple";
|
|
1243
|
+
readonly internalType: "struct PoolKey";
|
|
1244
|
+
readonly components: readonly [{
|
|
1245
|
+
readonly name: "currency0";
|
|
1246
|
+
readonly type: "address";
|
|
1247
|
+
readonly internalType: "Currency";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly name: "currency1";
|
|
1250
|
+
readonly type: "address";
|
|
1251
|
+
readonly internalType: "Currency";
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly name: "fee";
|
|
1254
|
+
readonly type: "uint24";
|
|
1255
|
+
readonly internalType: "uint24";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly name: "tickSpacing";
|
|
1258
|
+
readonly type: "int24";
|
|
1259
|
+
readonly internalType: "int24";
|
|
1260
|
+
}, {
|
|
1261
|
+
readonly name: "hooks";
|
|
1262
|
+
readonly type: "address";
|
|
1263
|
+
readonly internalType: "contract IHooks";
|
|
1264
|
+
}];
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly name: "params";
|
|
1267
|
+
readonly type: "tuple";
|
|
1268
|
+
readonly internalType: "struct IPoolManager.ModifyLiquidityParams";
|
|
1269
|
+
readonly components: readonly [{
|
|
1270
|
+
readonly name: "tickLower";
|
|
1271
|
+
readonly type: "int24";
|
|
1272
|
+
readonly internalType: "int24";
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly name: "tickUpper";
|
|
1275
|
+
readonly type: "int24";
|
|
1276
|
+
readonly internalType: "int24";
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly name: "liquidityDelta";
|
|
1279
|
+
readonly type: "int256";
|
|
1280
|
+
readonly internalType: "int256";
|
|
1281
|
+
}, {
|
|
1282
|
+
readonly name: "salt";
|
|
1283
|
+
readonly type: "bytes32";
|
|
1284
|
+
readonly internalType: "bytes32";
|
|
1285
|
+
}];
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly name: "hookData";
|
|
1288
|
+
readonly type: "bytes";
|
|
1289
|
+
readonly internalType: "bytes";
|
|
1290
|
+
}];
|
|
1291
|
+
readonly outputs: readonly [{
|
|
1292
|
+
readonly name: "callerDelta";
|
|
1293
|
+
readonly type: "int256";
|
|
1294
|
+
readonly internalType: "BalanceDelta";
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly name: "feesAccrued";
|
|
1297
|
+
readonly type: "int256";
|
|
1298
|
+
readonly internalType: "BalanceDelta";
|
|
1299
|
+
}];
|
|
1300
|
+
readonly stateMutability: "nonpayable";
|
|
1301
|
+
}, {
|
|
1302
|
+
readonly type: "function";
|
|
1303
|
+
readonly name: "protocolFeeController";
|
|
1304
|
+
readonly inputs: readonly [];
|
|
1305
|
+
readonly outputs: readonly [{
|
|
1306
|
+
readonly name: "";
|
|
1307
|
+
readonly type: "address";
|
|
1308
|
+
readonly internalType: "address";
|
|
1309
|
+
}];
|
|
1310
|
+
readonly stateMutability: "view";
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly type: "function";
|
|
1313
|
+
readonly name: "protocolFeesAccrued";
|
|
1314
|
+
readonly inputs: readonly [{
|
|
1315
|
+
readonly name: "currency";
|
|
1316
|
+
readonly type: "address";
|
|
1317
|
+
readonly internalType: "Currency";
|
|
1318
|
+
}];
|
|
1319
|
+
readonly outputs: readonly [{
|
|
1320
|
+
readonly name: "amount";
|
|
1321
|
+
readonly type: "uint256";
|
|
1322
|
+
readonly internalType: "uint256";
|
|
1323
|
+
}];
|
|
1324
|
+
readonly stateMutability: "view";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly type: "function";
|
|
1327
|
+
readonly name: "setOperator";
|
|
1328
|
+
readonly inputs: readonly [{
|
|
1329
|
+
readonly name: "operator";
|
|
1330
|
+
readonly type: "address";
|
|
1331
|
+
readonly internalType: "address";
|
|
1332
|
+
}, {
|
|
1333
|
+
readonly name: "approved";
|
|
1334
|
+
readonly type: "bool";
|
|
1335
|
+
readonly internalType: "bool";
|
|
1336
|
+
}];
|
|
1337
|
+
readonly outputs: readonly [{
|
|
1338
|
+
readonly name: "";
|
|
1339
|
+
readonly type: "bool";
|
|
1340
|
+
readonly internalType: "bool";
|
|
1341
|
+
}];
|
|
1342
|
+
readonly stateMutability: "nonpayable";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly type: "function";
|
|
1345
|
+
readonly name: "setProtocolFee";
|
|
1346
|
+
readonly inputs: readonly [{
|
|
1347
|
+
readonly name: "key";
|
|
1348
|
+
readonly type: "tuple";
|
|
1349
|
+
readonly internalType: "struct PoolKey";
|
|
1350
|
+
readonly components: readonly [{
|
|
1351
|
+
readonly name: "currency0";
|
|
1352
|
+
readonly type: "address";
|
|
1353
|
+
readonly internalType: "Currency";
|
|
1354
|
+
}, {
|
|
1355
|
+
readonly name: "currency1";
|
|
1356
|
+
readonly type: "address";
|
|
1357
|
+
readonly internalType: "Currency";
|
|
1358
|
+
}, {
|
|
1359
|
+
readonly name: "fee";
|
|
1360
|
+
readonly type: "uint24";
|
|
1361
|
+
readonly internalType: "uint24";
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly name: "tickSpacing";
|
|
1364
|
+
readonly type: "int24";
|
|
1365
|
+
readonly internalType: "int24";
|
|
1366
|
+
}, {
|
|
1367
|
+
readonly name: "hooks";
|
|
1368
|
+
readonly type: "address";
|
|
1369
|
+
readonly internalType: "contract IHooks";
|
|
1370
|
+
}];
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly name: "newProtocolFee";
|
|
1373
|
+
readonly type: "uint24";
|
|
1374
|
+
readonly internalType: "uint24";
|
|
1375
|
+
}];
|
|
1376
|
+
readonly outputs: readonly [];
|
|
1377
|
+
readonly stateMutability: "nonpayable";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly type: "function";
|
|
1380
|
+
readonly name: "setProtocolFeeController";
|
|
1381
|
+
readonly inputs: readonly [{
|
|
1382
|
+
readonly name: "controller";
|
|
1383
|
+
readonly type: "address";
|
|
1384
|
+
readonly internalType: "address";
|
|
1385
|
+
}];
|
|
1386
|
+
readonly outputs: readonly [];
|
|
1387
|
+
readonly stateMutability: "nonpayable";
|
|
1388
|
+
}, {
|
|
1389
|
+
readonly type: "function";
|
|
1390
|
+
readonly name: "settle";
|
|
1391
|
+
readonly inputs: readonly [];
|
|
1392
|
+
readonly outputs: readonly [{
|
|
1393
|
+
readonly name: "paid";
|
|
1394
|
+
readonly type: "uint256";
|
|
1395
|
+
readonly internalType: "uint256";
|
|
1396
|
+
}];
|
|
1397
|
+
readonly stateMutability: "payable";
|
|
1398
|
+
}, {
|
|
1399
|
+
readonly type: "function";
|
|
1400
|
+
readonly name: "settleFor";
|
|
1401
|
+
readonly inputs: readonly [{
|
|
1402
|
+
readonly name: "recipient";
|
|
1403
|
+
readonly type: "address";
|
|
1404
|
+
readonly internalType: "address";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly outputs: readonly [{
|
|
1407
|
+
readonly name: "paid";
|
|
1408
|
+
readonly type: "uint256";
|
|
1409
|
+
readonly internalType: "uint256";
|
|
1410
|
+
}];
|
|
1411
|
+
readonly stateMutability: "payable";
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly type: "function";
|
|
1414
|
+
readonly name: "swap";
|
|
1415
|
+
readonly inputs: readonly [{
|
|
1416
|
+
readonly name: "key";
|
|
1417
|
+
readonly type: "tuple";
|
|
1418
|
+
readonly internalType: "struct PoolKey";
|
|
1419
|
+
readonly components: readonly [{
|
|
1420
|
+
readonly name: "currency0";
|
|
1421
|
+
readonly type: "address";
|
|
1422
|
+
readonly internalType: "Currency";
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly name: "currency1";
|
|
1425
|
+
readonly type: "address";
|
|
1426
|
+
readonly internalType: "Currency";
|
|
1427
|
+
}, {
|
|
1428
|
+
readonly name: "fee";
|
|
1429
|
+
readonly type: "uint24";
|
|
1430
|
+
readonly internalType: "uint24";
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly name: "tickSpacing";
|
|
1433
|
+
readonly type: "int24";
|
|
1434
|
+
readonly internalType: "int24";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly name: "hooks";
|
|
1437
|
+
readonly type: "address";
|
|
1438
|
+
readonly internalType: "contract IHooks";
|
|
1439
|
+
}];
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly name: "params";
|
|
1442
|
+
readonly type: "tuple";
|
|
1443
|
+
readonly internalType: "struct IPoolManager.SwapParams";
|
|
1444
|
+
readonly components: readonly [{
|
|
1445
|
+
readonly name: "zeroForOne";
|
|
1446
|
+
readonly type: "bool";
|
|
1447
|
+
readonly internalType: "bool";
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly name: "amountSpecified";
|
|
1450
|
+
readonly type: "int256";
|
|
1451
|
+
readonly internalType: "int256";
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly name: "sqrtPriceLimitX96";
|
|
1454
|
+
readonly type: "uint160";
|
|
1455
|
+
readonly internalType: "uint160";
|
|
1456
|
+
}];
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly name: "hookData";
|
|
1459
|
+
readonly type: "bytes";
|
|
1460
|
+
readonly internalType: "bytes";
|
|
1461
|
+
}];
|
|
1462
|
+
readonly outputs: readonly [{
|
|
1463
|
+
readonly name: "swapDelta";
|
|
1464
|
+
readonly type: "int256";
|
|
1465
|
+
readonly internalType: "BalanceDelta";
|
|
1466
|
+
}];
|
|
1467
|
+
readonly stateMutability: "nonpayable";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly type: "function";
|
|
1470
|
+
readonly name: "sync";
|
|
1471
|
+
readonly inputs: readonly [{
|
|
1472
|
+
readonly name: "currency";
|
|
1473
|
+
readonly type: "address";
|
|
1474
|
+
readonly internalType: "Currency";
|
|
1475
|
+
}];
|
|
1476
|
+
readonly outputs: readonly [];
|
|
1477
|
+
readonly stateMutability: "nonpayable";
|
|
1478
|
+
}, {
|
|
1479
|
+
readonly type: "function";
|
|
1480
|
+
readonly name: "take";
|
|
1481
|
+
readonly inputs: readonly [{
|
|
1482
|
+
readonly name: "currency";
|
|
1483
|
+
readonly type: "address";
|
|
1484
|
+
readonly internalType: "Currency";
|
|
1485
|
+
}, {
|
|
1486
|
+
readonly name: "to";
|
|
1487
|
+
readonly type: "address";
|
|
1488
|
+
readonly internalType: "address";
|
|
1489
|
+
}, {
|
|
1490
|
+
readonly name: "amount";
|
|
1491
|
+
readonly type: "uint256";
|
|
1492
|
+
readonly internalType: "uint256";
|
|
1493
|
+
}];
|
|
1494
|
+
readonly outputs: readonly [];
|
|
1495
|
+
readonly stateMutability: "nonpayable";
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly type: "function";
|
|
1498
|
+
readonly name: "transfer";
|
|
1499
|
+
readonly inputs: readonly [{
|
|
1500
|
+
readonly name: "receiver";
|
|
1501
|
+
readonly type: "address";
|
|
1502
|
+
readonly internalType: "address";
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly name: "id";
|
|
1505
|
+
readonly type: "uint256";
|
|
1506
|
+
readonly internalType: "uint256";
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly name: "amount";
|
|
1509
|
+
readonly type: "uint256";
|
|
1510
|
+
readonly internalType: "uint256";
|
|
1511
|
+
}];
|
|
1512
|
+
readonly outputs: readonly [{
|
|
1513
|
+
readonly name: "";
|
|
1514
|
+
readonly type: "bool";
|
|
1515
|
+
readonly internalType: "bool";
|
|
1516
|
+
}];
|
|
1517
|
+
readonly stateMutability: "nonpayable";
|
|
1518
|
+
}, {
|
|
1519
|
+
readonly type: "function";
|
|
1520
|
+
readonly name: "transferFrom";
|
|
1521
|
+
readonly inputs: readonly [{
|
|
1522
|
+
readonly name: "sender";
|
|
1523
|
+
readonly type: "address";
|
|
1524
|
+
readonly internalType: "address";
|
|
1525
|
+
}, {
|
|
1526
|
+
readonly name: "receiver";
|
|
1527
|
+
readonly type: "address";
|
|
1528
|
+
readonly internalType: "address";
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly name: "id";
|
|
1531
|
+
readonly type: "uint256";
|
|
1532
|
+
readonly internalType: "uint256";
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly name: "amount";
|
|
1535
|
+
readonly type: "uint256";
|
|
1536
|
+
readonly internalType: "uint256";
|
|
1537
|
+
}];
|
|
1538
|
+
readonly outputs: readonly [{
|
|
1539
|
+
readonly name: "";
|
|
1540
|
+
readonly type: "bool";
|
|
1541
|
+
readonly internalType: "bool";
|
|
1542
|
+
}];
|
|
1543
|
+
readonly stateMutability: "nonpayable";
|
|
1544
|
+
}, {
|
|
1545
|
+
readonly type: "function";
|
|
1546
|
+
readonly name: "unlock";
|
|
1547
|
+
readonly inputs: readonly [{
|
|
1548
|
+
readonly name: "data";
|
|
1549
|
+
readonly type: "bytes";
|
|
1550
|
+
readonly internalType: "bytes";
|
|
1551
|
+
}];
|
|
1552
|
+
readonly outputs: readonly [{
|
|
1553
|
+
readonly name: "";
|
|
1554
|
+
readonly type: "bytes";
|
|
1555
|
+
readonly internalType: "bytes";
|
|
1556
|
+
}];
|
|
1557
|
+
readonly stateMutability: "nonpayable";
|
|
1558
|
+
}, {
|
|
1559
|
+
readonly type: "function";
|
|
1560
|
+
readonly name: "updateDynamicLPFee";
|
|
1561
|
+
readonly inputs: readonly [{
|
|
1562
|
+
readonly name: "key";
|
|
1563
|
+
readonly type: "tuple";
|
|
1564
|
+
readonly internalType: "struct PoolKey";
|
|
1565
|
+
readonly components: readonly [{
|
|
1566
|
+
readonly name: "currency0";
|
|
1567
|
+
readonly type: "address";
|
|
1568
|
+
readonly internalType: "Currency";
|
|
1569
|
+
}, {
|
|
1570
|
+
readonly name: "currency1";
|
|
1571
|
+
readonly type: "address";
|
|
1572
|
+
readonly internalType: "Currency";
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly name: "fee";
|
|
1575
|
+
readonly type: "uint24";
|
|
1576
|
+
readonly internalType: "uint24";
|
|
1577
|
+
}, {
|
|
1578
|
+
readonly name: "tickSpacing";
|
|
1579
|
+
readonly type: "int24";
|
|
1580
|
+
readonly internalType: "int24";
|
|
1581
|
+
}, {
|
|
1582
|
+
readonly name: "hooks";
|
|
1583
|
+
readonly type: "address";
|
|
1584
|
+
readonly internalType: "contract IHooks";
|
|
1585
|
+
}];
|
|
1586
|
+
}, {
|
|
1587
|
+
readonly name: "newDynamicLPFee";
|
|
1588
|
+
readonly type: "uint24";
|
|
1589
|
+
readonly internalType: "uint24";
|
|
1590
|
+
}];
|
|
1591
|
+
readonly outputs: readonly [];
|
|
1592
|
+
readonly stateMutability: "nonpayable";
|
|
1593
|
+
}, {
|
|
1594
|
+
readonly type: "event";
|
|
1595
|
+
readonly name: "Approval";
|
|
1596
|
+
readonly inputs: readonly [{
|
|
1597
|
+
readonly name: "owner";
|
|
1598
|
+
readonly type: "address";
|
|
1599
|
+
readonly indexed: true;
|
|
1600
|
+
readonly internalType: "address";
|
|
1601
|
+
}, {
|
|
1602
|
+
readonly name: "spender";
|
|
1603
|
+
readonly type: "address";
|
|
1604
|
+
readonly indexed: true;
|
|
1605
|
+
readonly internalType: "address";
|
|
1606
|
+
}, {
|
|
1607
|
+
readonly name: "id";
|
|
1608
|
+
readonly type: "uint256";
|
|
1609
|
+
readonly indexed: true;
|
|
1610
|
+
readonly internalType: "uint256";
|
|
1611
|
+
}, {
|
|
1612
|
+
readonly name: "amount";
|
|
1613
|
+
readonly type: "uint256";
|
|
1614
|
+
readonly indexed: false;
|
|
1615
|
+
readonly internalType: "uint256";
|
|
1616
|
+
}];
|
|
1617
|
+
readonly anonymous: false;
|
|
1618
|
+
}, {
|
|
1619
|
+
readonly type: "event";
|
|
1620
|
+
readonly name: "Donate";
|
|
1621
|
+
readonly inputs: readonly [{
|
|
1622
|
+
readonly name: "id";
|
|
1623
|
+
readonly type: "bytes32";
|
|
1624
|
+
readonly indexed: true;
|
|
1625
|
+
readonly internalType: "PoolId";
|
|
1626
|
+
}, {
|
|
1627
|
+
readonly name: "sender";
|
|
1628
|
+
readonly type: "address";
|
|
1629
|
+
readonly indexed: true;
|
|
1630
|
+
readonly internalType: "address";
|
|
1631
|
+
}, {
|
|
1632
|
+
readonly name: "amount0";
|
|
1633
|
+
readonly type: "uint256";
|
|
1634
|
+
readonly indexed: false;
|
|
1635
|
+
readonly internalType: "uint256";
|
|
1636
|
+
}, {
|
|
1637
|
+
readonly name: "amount1";
|
|
1638
|
+
readonly type: "uint256";
|
|
1639
|
+
readonly indexed: false;
|
|
1640
|
+
readonly internalType: "uint256";
|
|
1641
|
+
}];
|
|
1642
|
+
readonly anonymous: false;
|
|
1643
|
+
}, {
|
|
1644
|
+
readonly type: "event";
|
|
1645
|
+
readonly name: "Initialize";
|
|
1646
|
+
readonly inputs: readonly [{
|
|
1647
|
+
readonly name: "id";
|
|
1648
|
+
readonly type: "bytes32";
|
|
1649
|
+
readonly indexed: true;
|
|
1650
|
+
readonly internalType: "PoolId";
|
|
1651
|
+
}, {
|
|
1652
|
+
readonly name: "currency0";
|
|
1653
|
+
readonly type: "address";
|
|
1654
|
+
readonly indexed: true;
|
|
1655
|
+
readonly internalType: "Currency";
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly name: "currency1";
|
|
1658
|
+
readonly type: "address";
|
|
1659
|
+
readonly indexed: true;
|
|
1660
|
+
readonly internalType: "Currency";
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly name: "fee";
|
|
1663
|
+
readonly type: "uint24";
|
|
1664
|
+
readonly indexed: false;
|
|
1665
|
+
readonly internalType: "uint24";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly name: "tickSpacing";
|
|
1668
|
+
readonly type: "int24";
|
|
1669
|
+
readonly indexed: false;
|
|
1670
|
+
readonly internalType: "int24";
|
|
1671
|
+
}, {
|
|
1672
|
+
readonly name: "hooks";
|
|
1673
|
+
readonly type: "address";
|
|
1674
|
+
readonly indexed: false;
|
|
1675
|
+
readonly internalType: "contract IHooks";
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly name: "sqrtPriceX96";
|
|
1678
|
+
readonly type: "uint160";
|
|
1679
|
+
readonly indexed: false;
|
|
1680
|
+
readonly internalType: "uint160";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly name: "tick";
|
|
1683
|
+
readonly type: "int24";
|
|
1684
|
+
readonly indexed: false;
|
|
1685
|
+
readonly internalType: "int24";
|
|
1686
|
+
}];
|
|
1687
|
+
readonly anonymous: false;
|
|
1688
|
+
}, {
|
|
1689
|
+
readonly type: "event";
|
|
1690
|
+
readonly name: "ModifyLiquidity";
|
|
1691
|
+
readonly inputs: readonly [{
|
|
1692
|
+
readonly name: "id";
|
|
1693
|
+
readonly type: "bytes32";
|
|
1694
|
+
readonly indexed: true;
|
|
1695
|
+
readonly internalType: "PoolId";
|
|
1696
|
+
}, {
|
|
1697
|
+
readonly name: "sender";
|
|
1698
|
+
readonly type: "address";
|
|
1699
|
+
readonly indexed: true;
|
|
1700
|
+
readonly internalType: "address";
|
|
1701
|
+
}, {
|
|
1702
|
+
readonly name: "tickLower";
|
|
1703
|
+
readonly type: "int24";
|
|
1704
|
+
readonly indexed: false;
|
|
1705
|
+
readonly internalType: "int24";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly name: "tickUpper";
|
|
1708
|
+
readonly type: "int24";
|
|
1709
|
+
readonly indexed: false;
|
|
1710
|
+
readonly internalType: "int24";
|
|
1711
|
+
}, {
|
|
1712
|
+
readonly name: "liquidityDelta";
|
|
1713
|
+
readonly type: "int256";
|
|
1714
|
+
readonly indexed: false;
|
|
1715
|
+
readonly internalType: "int256";
|
|
1716
|
+
}, {
|
|
1717
|
+
readonly name: "salt";
|
|
1718
|
+
readonly type: "bytes32";
|
|
1719
|
+
readonly indexed: false;
|
|
1720
|
+
readonly internalType: "bytes32";
|
|
1721
|
+
}];
|
|
1722
|
+
readonly anonymous: false;
|
|
1723
|
+
}, {
|
|
1724
|
+
readonly type: "event";
|
|
1725
|
+
readonly name: "OperatorSet";
|
|
1726
|
+
readonly inputs: readonly [{
|
|
1727
|
+
readonly name: "owner";
|
|
1728
|
+
readonly type: "address";
|
|
1729
|
+
readonly indexed: true;
|
|
1730
|
+
readonly internalType: "address";
|
|
1731
|
+
}, {
|
|
1732
|
+
readonly name: "operator";
|
|
1733
|
+
readonly type: "address";
|
|
1734
|
+
readonly indexed: true;
|
|
1735
|
+
readonly internalType: "address";
|
|
1736
|
+
}, {
|
|
1737
|
+
readonly name: "approved";
|
|
1738
|
+
readonly type: "bool";
|
|
1739
|
+
readonly indexed: false;
|
|
1740
|
+
readonly internalType: "bool";
|
|
1741
|
+
}];
|
|
1742
|
+
readonly anonymous: false;
|
|
1743
|
+
}, {
|
|
1744
|
+
readonly type: "event";
|
|
1745
|
+
readonly name: "ProtocolFeeControllerUpdated";
|
|
1746
|
+
readonly inputs: readonly [{
|
|
1747
|
+
readonly name: "protocolFeeController";
|
|
1748
|
+
readonly type: "address";
|
|
1749
|
+
readonly indexed: true;
|
|
1750
|
+
readonly internalType: "address";
|
|
1751
|
+
}];
|
|
1752
|
+
readonly anonymous: false;
|
|
1753
|
+
}, {
|
|
1754
|
+
readonly type: "event";
|
|
1755
|
+
readonly name: "ProtocolFeeUpdated";
|
|
1756
|
+
readonly inputs: readonly [{
|
|
1757
|
+
readonly name: "id";
|
|
1758
|
+
readonly type: "bytes32";
|
|
1759
|
+
readonly indexed: true;
|
|
1760
|
+
readonly internalType: "PoolId";
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly name: "protocolFee";
|
|
1763
|
+
readonly type: "uint24";
|
|
1764
|
+
readonly indexed: false;
|
|
1765
|
+
readonly internalType: "uint24";
|
|
1766
|
+
}];
|
|
1767
|
+
readonly anonymous: false;
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly type: "event";
|
|
1770
|
+
readonly name: "Swap";
|
|
1771
|
+
readonly inputs: readonly [{
|
|
1772
|
+
readonly name: "id";
|
|
1773
|
+
readonly type: "bytes32";
|
|
1774
|
+
readonly indexed: true;
|
|
1775
|
+
readonly internalType: "PoolId";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly name: "sender";
|
|
1778
|
+
readonly type: "address";
|
|
1779
|
+
readonly indexed: true;
|
|
1780
|
+
readonly internalType: "address";
|
|
1781
|
+
}, {
|
|
1782
|
+
readonly name: "amount0";
|
|
1783
|
+
readonly type: "int128";
|
|
1784
|
+
readonly indexed: false;
|
|
1785
|
+
readonly internalType: "int128";
|
|
1786
|
+
}, {
|
|
1787
|
+
readonly name: "amount1";
|
|
1788
|
+
readonly type: "int128";
|
|
1789
|
+
readonly indexed: false;
|
|
1790
|
+
readonly internalType: "int128";
|
|
1791
|
+
}, {
|
|
1792
|
+
readonly name: "sqrtPriceX96";
|
|
1793
|
+
readonly type: "uint160";
|
|
1794
|
+
readonly indexed: false;
|
|
1795
|
+
readonly internalType: "uint160";
|
|
1796
|
+
}, {
|
|
1797
|
+
readonly name: "liquidity";
|
|
1798
|
+
readonly type: "uint128";
|
|
1799
|
+
readonly indexed: false;
|
|
1800
|
+
readonly internalType: "uint128";
|
|
1801
|
+
}, {
|
|
1802
|
+
readonly name: "tick";
|
|
1803
|
+
readonly type: "int24";
|
|
1804
|
+
readonly indexed: false;
|
|
1805
|
+
readonly internalType: "int24";
|
|
1806
|
+
}, {
|
|
1807
|
+
readonly name: "fee";
|
|
1808
|
+
readonly type: "uint24";
|
|
1809
|
+
readonly indexed: false;
|
|
1810
|
+
readonly internalType: "uint24";
|
|
1811
|
+
}];
|
|
1812
|
+
readonly anonymous: false;
|
|
1813
|
+
}, {
|
|
1814
|
+
readonly type: "event";
|
|
1815
|
+
readonly name: "Transfer";
|
|
1816
|
+
readonly inputs: readonly [{
|
|
1817
|
+
readonly name: "caller";
|
|
1818
|
+
readonly type: "address";
|
|
1819
|
+
readonly indexed: false;
|
|
1820
|
+
readonly internalType: "address";
|
|
1821
|
+
}, {
|
|
1822
|
+
readonly name: "from";
|
|
1823
|
+
readonly type: "address";
|
|
1824
|
+
readonly indexed: true;
|
|
1825
|
+
readonly internalType: "address";
|
|
1826
|
+
}, {
|
|
1827
|
+
readonly name: "to";
|
|
1828
|
+
readonly type: "address";
|
|
1829
|
+
readonly indexed: true;
|
|
1830
|
+
readonly internalType: "address";
|
|
1831
|
+
}, {
|
|
1832
|
+
readonly name: "id";
|
|
1833
|
+
readonly type: "uint256";
|
|
1834
|
+
readonly indexed: true;
|
|
1835
|
+
readonly internalType: "uint256";
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly name: "amount";
|
|
1838
|
+
readonly type: "uint256";
|
|
1839
|
+
readonly indexed: false;
|
|
1840
|
+
readonly internalType: "uint256";
|
|
1841
|
+
}];
|
|
1842
|
+
readonly anonymous: false;
|
|
1843
|
+
}, {
|
|
1844
|
+
readonly type: "error";
|
|
1845
|
+
readonly name: "AlreadyUnlocked";
|
|
1846
|
+
readonly inputs: readonly [];
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly type: "error";
|
|
1849
|
+
readonly name: "CurrenciesOutOfOrderOrEqual";
|
|
1850
|
+
readonly inputs: readonly [{
|
|
1851
|
+
readonly name: "currency0";
|
|
1852
|
+
readonly type: "address";
|
|
1853
|
+
readonly internalType: "address";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly name: "currency1";
|
|
1856
|
+
readonly type: "address";
|
|
1857
|
+
readonly internalType: "address";
|
|
1858
|
+
}];
|
|
1859
|
+
}, {
|
|
1860
|
+
readonly type: "error";
|
|
1861
|
+
readonly name: "CurrencyNotSettled";
|
|
1862
|
+
readonly inputs: readonly [];
|
|
1863
|
+
}, {
|
|
1864
|
+
readonly type: "error";
|
|
1865
|
+
readonly name: "InvalidCaller";
|
|
1866
|
+
readonly inputs: readonly [];
|
|
1867
|
+
}, {
|
|
1868
|
+
readonly type: "error";
|
|
1869
|
+
readonly name: "ManagerLocked";
|
|
1870
|
+
readonly inputs: readonly [];
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly type: "error";
|
|
1873
|
+
readonly name: "MustClearExactPositiveDelta";
|
|
1874
|
+
readonly inputs: readonly [];
|
|
1875
|
+
}, {
|
|
1876
|
+
readonly type: "error";
|
|
1877
|
+
readonly name: "NonzeroNativeValue";
|
|
1878
|
+
readonly inputs: readonly [];
|
|
1879
|
+
}, {
|
|
1880
|
+
readonly type: "error";
|
|
1881
|
+
readonly name: "PoolNotInitialized";
|
|
1882
|
+
readonly inputs: readonly [];
|
|
1883
|
+
}, {
|
|
1884
|
+
readonly type: "error";
|
|
1885
|
+
readonly name: "ProtocolFeeCurrencySynced";
|
|
1886
|
+
readonly inputs: readonly [];
|
|
1887
|
+
}, {
|
|
1888
|
+
readonly type: "error";
|
|
1889
|
+
readonly name: "ProtocolFeeTooLarge";
|
|
1890
|
+
readonly inputs: readonly [{
|
|
1891
|
+
readonly name: "fee";
|
|
1892
|
+
readonly type: "uint24";
|
|
1893
|
+
readonly internalType: "uint24";
|
|
1894
|
+
}];
|
|
1895
|
+
}, {
|
|
1896
|
+
readonly type: "error";
|
|
1897
|
+
readonly name: "SwapAmountCannotBeZero";
|
|
1898
|
+
readonly inputs: readonly [];
|
|
1899
|
+
}, {
|
|
1900
|
+
readonly type: "error";
|
|
1901
|
+
readonly name: "TickSpacingTooLarge";
|
|
1902
|
+
readonly inputs: readonly [{
|
|
1903
|
+
readonly name: "tickSpacing";
|
|
1904
|
+
readonly type: "int24";
|
|
1905
|
+
readonly internalType: "int24";
|
|
1906
|
+
}];
|
|
1907
|
+
}, {
|
|
1908
|
+
readonly type: "error";
|
|
1909
|
+
readonly name: "TickSpacingTooSmall";
|
|
1910
|
+
readonly inputs: readonly [{
|
|
1911
|
+
readonly name: "tickSpacing";
|
|
1912
|
+
readonly type: "int24";
|
|
1913
|
+
readonly internalType: "int24";
|
|
1914
|
+
}];
|
|
1915
|
+
}, {
|
|
1916
|
+
readonly type: "error";
|
|
1917
|
+
readonly name: "UnauthorizedDynamicLPFeeUpdate";
|
|
1918
|
+
readonly inputs: readonly [];
|
|
1919
|
+
}];
|
|
1920
|
+
//#endregion
|
|
1921
|
+
//#region src/abis/singleOwnerVault.d.ts
|
|
1922
|
+
declare const singleOwnerVaultAbi: readonly [{
|
|
1923
|
+
readonly type: "constructor";
|
|
1924
|
+
readonly inputs: readonly [{
|
|
1925
|
+
readonly name: "_poolManager";
|
|
1926
|
+
readonly type: "address";
|
|
1927
|
+
readonly internalType: "contract IPoolManager";
|
|
1928
|
+
}, {
|
|
1929
|
+
readonly name: "_poolKey";
|
|
1930
|
+
readonly type: "tuple";
|
|
1931
|
+
readonly internalType: "struct PoolKey";
|
|
1932
|
+
readonly components: readonly [{
|
|
1933
|
+
readonly name: "currency0";
|
|
1934
|
+
readonly type: "address";
|
|
1935
|
+
readonly internalType: "Currency";
|
|
1936
|
+
}, {
|
|
1937
|
+
readonly name: "currency1";
|
|
1938
|
+
readonly type: "address";
|
|
1939
|
+
readonly internalType: "Currency";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly name: "fee";
|
|
1942
|
+
readonly type: "uint24";
|
|
1943
|
+
readonly internalType: "uint24";
|
|
1944
|
+
}, {
|
|
1945
|
+
readonly name: "tickSpacing";
|
|
1946
|
+
readonly type: "int24";
|
|
1947
|
+
readonly internalType: "int24";
|
|
1948
|
+
}, {
|
|
1949
|
+
readonly name: "hooks";
|
|
1950
|
+
readonly type: "address";
|
|
1951
|
+
readonly internalType: "contract IHooks";
|
|
1952
|
+
}];
|
|
1953
|
+
}];
|
|
1954
|
+
readonly stateMutability: "nonpayable";
|
|
1955
|
+
}, {
|
|
1956
|
+
readonly type: "function";
|
|
1957
|
+
readonly name: "BORROW";
|
|
1958
|
+
readonly inputs: readonly [];
|
|
1959
|
+
readonly outputs: readonly [{
|
|
1960
|
+
readonly name: "";
|
|
1961
|
+
readonly type: "uint8";
|
|
1962
|
+
readonly internalType: "uint8";
|
|
1963
|
+
}];
|
|
1964
|
+
readonly stateMutability: "view";
|
|
1965
|
+
}, {
|
|
1966
|
+
readonly type: "function";
|
|
1967
|
+
readonly name: "BURN";
|
|
1968
|
+
readonly inputs: readonly [];
|
|
1969
|
+
readonly outputs: readonly [{
|
|
1970
|
+
readonly name: "";
|
|
1971
|
+
readonly type: "uint8";
|
|
1972
|
+
readonly internalType: "uint8";
|
|
1973
|
+
}];
|
|
1974
|
+
readonly stateMutability: "view";
|
|
1975
|
+
}, {
|
|
1976
|
+
readonly type: "function";
|
|
1977
|
+
readonly name: "MINT";
|
|
1978
|
+
readonly inputs: readonly [];
|
|
1979
|
+
readonly outputs: readonly [{
|
|
1980
|
+
readonly name: "";
|
|
1981
|
+
readonly type: "uint8";
|
|
1982
|
+
readonly internalType: "uint8";
|
|
1983
|
+
}];
|
|
1984
|
+
readonly stateMutability: "view";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly type: "function";
|
|
1987
|
+
readonly name: "REPAY";
|
|
1988
|
+
readonly inputs: readonly [];
|
|
1989
|
+
readonly outputs: readonly [{
|
|
1990
|
+
readonly name: "";
|
|
1991
|
+
readonly type: "uint8";
|
|
1992
|
+
readonly internalType: "uint8";
|
|
1993
|
+
}];
|
|
1994
|
+
readonly stateMutability: "view";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly type: "function";
|
|
1997
|
+
readonly name: "blocks";
|
|
1998
|
+
readonly inputs: readonly [{
|
|
1999
|
+
readonly name: "";
|
|
2000
|
+
readonly type: "int24";
|
|
2001
|
+
readonly internalType: "int24";
|
|
2002
|
+
}];
|
|
2003
|
+
readonly outputs: readonly [{
|
|
2004
|
+
readonly name: "tickLower";
|
|
2005
|
+
readonly type: "int24";
|
|
2006
|
+
readonly internalType: "int24";
|
|
2007
|
+
}, {
|
|
2008
|
+
readonly name: "tickUpper";
|
|
2009
|
+
readonly type: "int24";
|
|
2010
|
+
readonly internalType: "int24";
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly name: "prevTickLower";
|
|
2013
|
+
readonly type: "int24";
|
|
2014
|
+
readonly internalType: "int24";
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly name: "totalLiquidity";
|
|
2017
|
+
readonly type: "uint128";
|
|
2018
|
+
readonly internalType: "uint128";
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly name: "borrowedLiquidity";
|
|
2021
|
+
readonly type: "uint128";
|
|
2022
|
+
readonly internalType: "uint128";
|
|
2023
|
+
}];
|
|
2024
|
+
readonly stateMutability: "view";
|
|
2025
|
+
}, {
|
|
2026
|
+
readonly type: "function";
|
|
2027
|
+
readonly name: "blocksCount";
|
|
2028
|
+
readonly inputs: readonly [];
|
|
2029
|
+
readonly outputs: readonly [{
|
|
2030
|
+
readonly name: "";
|
|
2031
|
+
readonly type: "uint256";
|
|
2032
|
+
readonly internalType: "uint256";
|
|
2033
|
+
}];
|
|
2034
|
+
readonly stateMutability: "view";
|
|
2035
|
+
}, {
|
|
2036
|
+
readonly type: "function";
|
|
2037
|
+
readonly name: "borrow";
|
|
2038
|
+
readonly inputs: readonly [{
|
|
2039
|
+
readonly name: "tickLower";
|
|
2040
|
+
readonly type: "int24";
|
|
2041
|
+
readonly internalType: "int24";
|
|
2042
|
+
}, {
|
|
2043
|
+
readonly name: "tickUpper";
|
|
2044
|
+
readonly type: "int24";
|
|
2045
|
+
readonly internalType: "int24";
|
|
2046
|
+
}, {
|
|
2047
|
+
readonly name: "liquidity";
|
|
2048
|
+
readonly type: "uint128";
|
|
2049
|
+
readonly internalType: "uint128";
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly name: "refTick";
|
|
2052
|
+
readonly type: "int24";
|
|
2053
|
+
readonly internalType: "int24";
|
|
2054
|
+
}];
|
|
2055
|
+
readonly outputs: readonly [{
|
|
2056
|
+
readonly name: "delta0";
|
|
2057
|
+
readonly type: "int256";
|
|
2058
|
+
readonly internalType: "int256";
|
|
2059
|
+
}, {
|
|
2060
|
+
readonly name: "delta1";
|
|
2061
|
+
readonly type: "int256";
|
|
2062
|
+
readonly internalType: "int256";
|
|
2063
|
+
}];
|
|
2064
|
+
readonly stateMutability: "nonpayable";
|
|
2065
|
+
}, {
|
|
2066
|
+
readonly type: "function";
|
|
2067
|
+
readonly name: "borrowerWhitelist";
|
|
2068
|
+
readonly inputs: readonly [{
|
|
2069
|
+
readonly name: "";
|
|
2070
|
+
readonly type: "address";
|
|
2071
|
+
readonly internalType: "address";
|
|
2072
|
+
}];
|
|
2073
|
+
readonly outputs: readonly [{
|
|
2074
|
+
readonly name: "";
|
|
2075
|
+
readonly type: "bool";
|
|
2076
|
+
readonly internalType: "bool";
|
|
2077
|
+
}];
|
|
2078
|
+
readonly stateMutability: "view";
|
|
2079
|
+
}, {
|
|
2080
|
+
readonly type: "function";
|
|
2081
|
+
readonly name: "burn";
|
|
2082
|
+
readonly inputs: readonly [{
|
|
2083
|
+
readonly name: "tickLower";
|
|
2084
|
+
readonly type: "int24";
|
|
2085
|
+
readonly internalType: "int24";
|
|
2086
|
+
}, {
|
|
2087
|
+
readonly name: "tickUpper";
|
|
2088
|
+
readonly type: "int24";
|
|
2089
|
+
readonly internalType: "int24";
|
|
2090
|
+
}, {
|
|
2091
|
+
readonly name: "liquidity";
|
|
2092
|
+
readonly type: "uint128";
|
|
2093
|
+
readonly internalType: "uint128";
|
|
2094
|
+
}, {
|
|
2095
|
+
readonly name: "refTick";
|
|
2096
|
+
readonly type: "int24";
|
|
2097
|
+
readonly internalType: "int24";
|
|
2098
|
+
}];
|
|
2099
|
+
readonly outputs: readonly [{
|
|
2100
|
+
readonly name: "amount0";
|
|
2101
|
+
readonly type: "int256";
|
|
2102
|
+
readonly internalType: "int256";
|
|
2103
|
+
}, {
|
|
2104
|
+
readonly name: "amount1";
|
|
2105
|
+
readonly type: "int256";
|
|
2106
|
+
readonly internalType: "int256";
|
|
2107
|
+
}, {
|
|
2108
|
+
readonly name: "fees0";
|
|
2109
|
+
readonly type: "uint256";
|
|
2110
|
+
readonly internalType: "uint256";
|
|
2111
|
+
}, {
|
|
2112
|
+
readonly name: "fees1";
|
|
2113
|
+
readonly type: "uint256";
|
|
2114
|
+
readonly internalType: "uint256";
|
|
2115
|
+
}];
|
|
2116
|
+
readonly stateMutability: "nonpayable";
|
|
2117
|
+
}, {
|
|
2118
|
+
readonly type: "function";
|
|
2119
|
+
readonly name: "getBlock";
|
|
2120
|
+
readonly inputs: readonly [{
|
|
2121
|
+
readonly name: "tickLower";
|
|
2122
|
+
readonly type: "int24";
|
|
2123
|
+
readonly internalType: "int24";
|
|
2124
|
+
}, {
|
|
2125
|
+
readonly name: "refTick";
|
|
2126
|
+
readonly type: "int24";
|
|
2127
|
+
readonly internalType: "int24";
|
|
2128
|
+
}];
|
|
2129
|
+
readonly outputs: readonly [{
|
|
2130
|
+
readonly name: "";
|
|
2131
|
+
readonly type: "tuple";
|
|
2132
|
+
readonly internalType: "struct TimelockVaultCore.LiquidityBlock";
|
|
2133
|
+
readonly components: readonly [{
|
|
2134
|
+
readonly name: "tickLower";
|
|
2135
|
+
readonly type: "int24";
|
|
2136
|
+
readonly internalType: "int24";
|
|
2137
|
+
}, {
|
|
2138
|
+
readonly name: "tickUpper";
|
|
2139
|
+
readonly type: "int24";
|
|
2140
|
+
readonly internalType: "int24";
|
|
2141
|
+
}, {
|
|
2142
|
+
readonly name: "prevTickLower";
|
|
2143
|
+
readonly type: "int24";
|
|
2144
|
+
readonly internalType: "int24";
|
|
2145
|
+
}, {
|
|
2146
|
+
readonly name: "totalLiquidity";
|
|
2147
|
+
readonly type: "uint128";
|
|
2148
|
+
readonly internalType: "uint128";
|
|
2149
|
+
}, {
|
|
2150
|
+
readonly name: "borrowedLiquidity";
|
|
2151
|
+
readonly type: "uint128";
|
|
2152
|
+
readonly internalType: "uint128";
|
|
2153
|
+
}];
|
|
2154
|
+
}];
|
|
2155
|
+
readonly stateMutability: "view";
|
|
2156
|
+
}, {
|
|
2157
|
+
readonly type: "function";
|
|
2158
|
+
readonly name: "highestTick";
|
|
2159
|
+
readonly inputs: readonly [];
|
|
2160
|
+
readonly outputs: readonly [{
|
|
2161
|
+
readonly name: "";
|
|
2162
|
+
readonly type: "int24";
|
|
2163
|
+
readonly internalType: "int24";
|
|
2164
|
+
}];
|
|
2165
|
+
readonly stateMutability: "view";
|
|
2166
|
+
}, {
|
|
2167
|
+
readonly type: "function";
|
|
2168
|
+
readonly name: "lowestTick";
|
|
2169
|
+
readonly inputs: readonly [];
|
|
2170
|
+
readonly outputs: readonly [{
|
|
2171
|
+
readonly name: "";
|
|
2172
|
+
readonly type: "int24";
|
|
2173
|
+
readonly internalType: "int24";
|
|
2174
|
+
}];
|
|
2175
|
+
readonly stateMutability: "view";
|
|
2176
|
+
}, {
|
|
2177
|
+
readonly type: "function";
|
|
2178
|
+
readonly name: "mint";
|
|
2179
|
+
readonly inputs: readonly [{
|
|
2180
|
+
readonly name: "tickLower";
|
|
2181
|
+
readonly type: "int24";
|
|
2182
|
+
readonly internalType: "int24";
|
|
2183
|
+
}, {
|
|
2184
|
+
readonly name: "tickUpper";
|
|
2185
|
+
readonly type: "int24";
|
|
2186
|
+
readonly internalType: "int24";
|
|
2187
|
+
}, {
|
|
2188
|
+
readonly name: "liquidity";
|
|
2189
|
+
readonly type: "uint128";
|
|
2190
|
+
readonly internalType: "uint128";
|
|
2191
|
+
}, {
|
|
2192
|
+
readonly name: "refTick";
|
|
2193
|
+
readonly type: "int24";
|
|
2194
|
+
readonly internalType: "int24";
|
|
2195
|
+
}];
|
|
2196
|
+
readonly outputs: readonly [{
|
|
2197
|
+
readonly name: "amount0";
|
|
2198
|
+
readonly type: "int256";
|
|
2199
|
+
readonly internalType: "int256";
|
|
2200
|
+
}, {
|
|
2201
|
+
readonly name: "amount1";
|
|
2202
|
+
readonly type: "int256";
|
|
2203
|
+
readonly internalType: "int256";
|
|
2204
|
+
}, {
|
|
2205
|
+
readonly name: "fees0";
|
|
2206
|
+
readonly type: "uint256";
|
|
2207
|
+
readonly internalType: "uint256";
|
|
2208
|
+
}, {
|
|
2209
|
+
readonly name: "fees1";
|
|
2210
|
+
readonly type: "uint256";
|
|
2211
|
+
readonly internalType: "uint256";
|
|
2212
|
+
}];
|
|
2213
|
+
readonly stateMutability: "nonpayable";
|
|
2214
|
+
}, {
|
|
2215
|
+
readonly type: "function";
|
|
2216
|
+
readonly name: "multicall";
|
|
2217
|
+
readonly inputs: readonly [{
|
|
2218
|
+
readonly name: "data";
|
|
2219
|
+
readonly type: "bytes[]";
|
|
2220
|
+
readonly internalType: "bytes[]";
|
|
2221
|
+
}];
|
|
2222
|
+
readonly outputs: readonly [{
|
|
2223
|
+
readonly name: "results";
|
|
2224
|
+
readonly type: "bytes[]";
|
|
2225
|
+
readonly internalType: "bytes[]";
|
|
2226
|
+
}];
|
|
2227
|
+
readonly stateMutability: "nonpayable";
|
|
2228
|
+
}, {
|
|
2229
|
+
readonly type: "function";
|
|
2230
|
+
readonly name: "owner";
|
|
2231
|
+
readonly inputs: readonly [];
|
|
2232
|
+
readonly outputs: readonly [{
|
|
2233
|
+
readonly name: "";
|
|
2234
|
+
readonly type: "address";
|
|
2235
|
+
readonly internalType: "address";
|
|
2236
|
+
}];
|
|
2237
|
+
readonly stateMutability: "view";
|
|
2238
|
+
}, {
|
|
2239
|
+
readonly type: "function";
|
|
2240
|
+
readonly name: "poolKey";
|
|
2241
|
+
readonly inputs: readonly [];
|
|
2242
|
+
readonly outputs: readonly [{
|
|
2243
|
+
readonly name: "";
|
|
2244
|
+
readonly type: "tuple";
|
|
2245
|
+
readonly internalType: "struct PoolKey";
|
|
2246
|
+
readonly components: readonly [{
|
|
2247
|
+
readonly name: "currency0";
|
|
2248
|
+
readonly type: "address";
|
|
2249
|
+
readonly internalType: "Currency";
|
|
2250
|
+
}, {
|
|
2251
|
+
readonly name: "currency1";
|
|
2252
|
+
readonly type: "address";
|
|
2253
|
+
readonly internalType: "Currency";
|
|
2254
|
+
}, {
|
|
2255
|
+
readonly name: "fee";
|
|
2256
|
+
readonly type: "uint24";
|
|
2257
|
+
readonly internalType: "uint24";
|
|
2258
|
+
}, {
|
|
2259
|
+
readonly name: "tickSpacing";
|
|
2260
|
+
readonly type: "int24";
|
|
2261
|
+
readonly internalType: "int24";
|
|
2262
|
+
}, {
|
|
2263
|
+
readonly name: "hooks";
|
|
2264
|
+
readonly type: "address";
|
|
2265
|
+
readonly internalType: "contract IHooks";
|
|
2266
|
+
}];
|
|
2267
|
+
}];
|
|
2268
|
+
readonly stateMutability: "view";
|
|
2269
|
+
}, {
|
|
2270
|
+
readonly type: "function";
|
|
2271
|
+
readonly name: "poolManager";
|
|
2272
|
+
readonly inputs: readonly [];
|
|
2273
|
+
readonly outputs: readonly [{
|
|
2274
|
+
readonly name: "";
|
|
2275
|
+
readonly type: "address";
|
|
2276
|
+
readonly internalType: "contract IPoolManager";
|
|
2277
|
+
}];
|
|
2278
|
+
readonly stateMutability: "view";
|
|
2279
|
+
}, {
|
|
2280
|
+
readonly type: "function";
|
|
2281
|
+
readonly name: "renounceOwnership";
|
|
2282
|
+
readonly inputs: readonly [];
|
|
2283
|
+
readonly outputs: readonly [];
|
|
2284
|
+
readonly stateMutability: "nonpayable";
|
|
2285
|
+
}, {
|
|
2286
|
+
readonly type: "function";
|
|
2287
|
+
readonly name: "repay";
|
|
2288
|
+
readonly inputs: readonly [{
|
|
2289
|
+
readonly name: "tickLower";
|
|
2290
|
+
readonly type: "int24";
|
|
2291
|
+
readonly internalType: "int24";
|
|
2292
|
+
}, {
|
|
2293
|
+
readonly name: "tickUpper";
|
|
2294
|
+
readonly type: "int24";
|
|
2295
|
+
readonly internalType: "int24";
|
|
2296
|
+
}, {
|
|
2297
|
+
readonly name: "liquidity";
|
|
2298
|
+
readonly type: "uint128";
|
|
2299
|
+
readonly internalType: "uint128";
|
|
2300
|
+
}, {
|
|
2301
|
+
readonly name: "refTick";
|
|
2302
|
+
readonly type: "int24";
|
|
2303
|
+
readonly internalType: "int24";
|
|
2304
|
+
}];
|
|
2305
|
+
readonly outputs: readonly [{
|
|
2306
|
+
readonly name: "delta0";
|
|
2307
|
+
readonly type: "int256";
|
|
2308
|
+
readonly internalType: "int256";
|
|
2309
|
+
}, {
|
|
2310
|
+
readonly name: "delta1";
|
|
2311
|
+
readonly type: "int256";
|
|
2312
|
+
readonly internalType: "int256";
|
|
2313
|
+
}];
|
|
2314
|
+
readonly stateMutability: "nonpayable";
|
|
2315
|
+
}, {
|
|
2316
|
+
readonly type: "function";
|
|
2317
|
+
readonly name: "settleAndTake";
|
|
2318
|
+
readonly inputs: readonly [];
|
|
2319
|
+
readonly outputs: readonly [{
|
|
2320
|
+
readonly name: "delta0";
|
|
2321
|
+
readonly type: "int256";
|
|
2322
|
+
readonly internalType: "int256";
|
|
2323
|
+
}, {
|
|
2324
|
+
readonly name: "delta1";
|
|
2325
|
+
readonly type: "int256";
|
|
2326
|
+
readonly internalType: "int256";
|
|
2327
|
+
}];
|
|
2328
|
+
readonly stateMutability: "nonpayable";
|
|
2329
|
+
}, {
|
|
2330
|
+
readonly type: "function";
|
|
2331
|
+
readonly name: "transferOwnership";
|
|
2332
|
+
readonly inputs: readonly [{
|
|
2333
|
+
readonly name: "newOwner";
|
|
2334
|
+
readonly type: "address";
|
|
2335
|
+
readonly internalType: "address";
|
|
2336
|
+
}];
|
|
2337
|
+
readonly outputs: readonly [];
|
|
2338
|
+
readonly stateMutability: "nonpayable";
|
|
2339
|
+
}, {
|
|
2340
|
+
readonly type: "function";
|
|
2341
|
+
readonly name: "unlockCallback";
|
|
2342
|
+
readonly inputs: readonly [{
|
|
2343
|
+
readonly name: "rawData";
|
|
2344
|
+
readonly type: "bytes";
|
|
2345
|
+
readonly internalType: "bytes";
|
|
2346
|
+
}];
|
|
2347
|
+
readonly outputs: readonly [{
|
|
2348
|
+
readonly name: "";
|
|
2349
|
+
readonly type: "bytes";
|
|
2350
|
+
readonly internalType: "bytes";
|
|
2351
|
+
}];
|
|
2352
|
+
readonly stateMutability: "nonpayable";
|
|
2353
|
+
}, {
|
|
2354
|
+
readonly type: "function";
|
|
2355
|
+
readonly name: "whitelistBorrower";
|
|
2356
|
+
readonly inputs: readonly [{
|
|
2357
|
+
readonly name: "borrower";
|
|
2358
|
+
readonly type: "address";
|
|
2359
|
+
readonly internalType: "address";
|
|
2360
|
+
}, {
|
|
2361
|
+
readonly name: "status";
|
|
2362
|
+
readonly type: "bool";
|
|
2363
|
+
readonly internalType: "bool";
|
|
2364
|
+
}];
|
|
2365
|
+
readonly outputs: readonly [];
|
|
2366
|
+
readonly stateMutability: "nonpayable";
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly type: "function";
|
|
2369
|
+
readonly name: "withdrawTokens";
|
|
2370
|
+
readonly inputs: readonly [{
|
|
2371
|
+
readonly name: "tokens";
|
|
2372
|
+
readonly type: "address[]";
|
|
2373
|
+
readonly internalType: "contract IERC20[]";
|
|
2374
|
+
}];
|
|
2375
|
+
readonly outputs: readonly [];
|
|
2376
|
+
readonly stateMutability: "nonpayable";
|
|
2377
|
+
}, {
|
|
2378
|
+
readonly type: "event";
|
|
2379
|
+
readonly name: "Borrow";
|
|
2380
|
+
readonly inputs: readonly [{
|
|
2381
|
+
readonly name: "user";
|
|
2382
|
+
readonly type: "address";
|
|
2383
|
+
readonly indexed: false;
|
|
2384
|
+
readonly internalType: "address";
|
|
2385
|
+
}, {
|
|
2386
|
+
readonly name: "tickLower";
|
|
2387
|
+
readonly type: "int24";
|
|
2388
|
+
readonly indexed: false;
|
|
2389
|
+
readonly internalType: "int24";
|
|
2390
|
+
}, {
|
|
2391
|
+
readonly name: "tickUpper";
|
|
2392
|
+
readonly type: "int24";
|
|
2393
|
+
readonly indexed: false;
|
|
2394
|
+
readonly internalType: "int24";
|
|
2395
|
+
}, {
|
|
2396
|
+
readonly name: "liquidity";
|
|
2397
|
+
readonly type: "uint128";
|
|
2398
|
+
readonly indexed: false;
|
|
2399
|
+
readonly internalType: "uint128";
|
|
2400
|
+
}];
|
|
2401
|
+
readonly anonymous: false;
|
|
2402
|
+
}, {
|
|
2403
|
+
readonly type: "event";
|
|
2404
|
+
readonly name: "BorrowerWhitelisted";
|
|
2405
|
+
readonly inputs: readonly [{
|
|
2406
|
+
readonly name: "borrower";
|
|
2407
|
+
readonly type: "address";
|
|
2408
|
+
readonly indexed: true;
|
|
2409
|
+
readonly internalType: "address";
|
|
2410
|
+
}, {
|
|
2411
|
+
readonly name: "status";
|
|
2412
|
+
readonly type: "bool";
|
|
2413
|
+
readonly indexed: false;
|
|
2414
|
+
readonly internalType: "bool";
|
|
2415
|
+
}];
|
|
2416
|
+
readonly anonymous: false;
|
|
2417
|
+
}, {
|
|
2418
|
+
readonly type: "event";
|
|
2419
|
+
readonly name: "Burn";
|
|
2420
|
+
readonly inputs: readonly [{
|
|
2421
|
+
readonly name: "user";
|
|
2422
|
+
readonly type: "address";
|
|
2423
|
+
readonly indexed: false;
|
|
2424
|
+
readonly internalType: "address";
|
|
2425
|
+
}, {
|
|
2426
|
+
readonly name: "tickLower";
|
|
2427
|
+
readonly type: "int24";
|
|
2428
|
+
readonly indexed: false;
|
|
2429
|
+
readonly internalType: "int24";
|
|
2430
|
+
}, {
|
|
2431
|
+
readonly name: "tickUpper";
|
|
2432
|
+
readonly type: "int24";
|
|
2433
|
+
readonly indexed: false;
|
|
2434
|
+
readonly internalType: "int24";
|
|
2435
|
+
}, {
|
|
2436
|
+
readonly name: "liquidity";
|
|
2437
|
+
readonly type: "uint128";
|
|
2438
|
+
readonly indexed: false;
|
|
2439
|
+
readonly internalType: "uint128";
|
|
2440
|
+
}];
|
|
2441
|
+
readonly anonymous: false;
|
|
2442
|
+
}, {
|
|
2443
|
+
readonly type: "event";
|
|
2444
|
+
readonly name: "Mint";
|
|
2445
|
+
readonly inputs: readonly [{
|
|
2446
|
+
readonly name: "user";
|
|
2447
|
+
readonly type: "address";
|
|
2448
|
+
readonly indexed: false;
|
|
2449
|
+
readonly internalType: "address";
|
|
2450
|
+
}, {
|
|
2451
|
+
readonly name: "tickLower";
|
|
2452
|
+
readonly type: "int24";
|
|
2453
|
+
readonly indexed: false;
|
|
2454
|
+
readonly internalType: "int24";
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly name: "tickUpper";
|
|
2457
|
+
readonly type: "int24";
|
|
2458
|
+
readonly indexed: false;
|
|
2459
|
+
readonly internalType: "int24";
|
|
2460
|
+
}, {
|
|
2461
|
+
readonly name: "liquidity";
|
|
2462
|
+
readonly type: "uint128";
|
|
2463
|
+
readonly indexed: false;
|
|
2464
|
+
readonly internalType: "uint128";
|
|
2465
|
+
}];
|
|
2466
|
+
readonly anonymous: false;
|
|
2467
|
+
}, {
|
|
2468
|
+
readonly type: "event";
|
|
2469
|
+
readonly name: "OwnershipTransferred";
|
|
2470
|
+
readonly inputs: readonly [{
|
|
2471
|
+
readonly name: "previousOwner";
|
|
2472
|
+
readonly type: "address";
|
|
2473
|
+
readonly indexed: true;
|
|
2474
|
+
readonly internalType: "address";
|
|
2475
|
+
}, {
|
|
2476
|
+
readonly name: "newOwner";
|
|
2477
|
+
readonly type: "address";
|
|
2478
|
+
readonly indexed: true;
|
|
2479
|
+
readonly internalType: "address";
|
|
2480
|
+
}];
|
|
2481
|
+
readonly anonymous: false;
|
|
2482
|
+
}, {
|
|
2483
|
+
readonly type: "event";
|
|
2484
|
+
readonly name: "Repay";
|
|
2485
|
+
readonly inputs: readonly [{
|
|
2486
|
+
readonly name: "user";
|
|
2487
|
+
readonly type: "address";
|
|
2488
|
+
readonly indexed: false;
|
|
2489
|
+
readonly internalType: "address";
|
|
2490
|
+
}, {
|
|
2491
|
+
readonly name: "tickLower";
|
|
2492
|
+
readonly type: "int24";
|
|
2493
|
+
readonly indexed: false;
|
|
2494
|
+
readonly internalType: "int24";
|
|
2495
|
+
}, {
|
|
2496
|
+
readonly name: "tickUpper";
|
|
2497
|
+
readonly type: "int24";
|
|
2498
|
+
readonly indexed: false;
|
|
2499
|
+
readonly internalType: "int24";
|
|
2500
|
+
}, {
|
|
2501
|
+
readonly name: "liquidity";
|
|
2502
|
+
readonly type: "uint128";
|
|
2503
|
+
readonly indexed: false;
|
|
2504
|
+
readonly internalType: "uint128";
|
|
2505
|
+
}];
|
|
2506
|
+
readonly anonymous: false;
|
|
2507
|
+
}, {
|
|
2508
|
+
readonly type: "event";
|
|
2509
|
+
readonly name: "TokenWithdrawn";
|
|
2510
|
+
readonly inputs: readonly [{
|
|
2511
|
+
readonly name: "token";
|
|
2512
|
+
readonly type: "address";
|
|
2513
|
+
readonly indexed: true;
|
|
2514
|
+
readonly internalType: "address";
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly name: "to";
|
|
2517
|
+
readonly type: "address";
|
|
2518
|
+
readonly indexed: true;
|
|
2519
|
+
readonly internalType: "address";
|
|
2520
|
+
}, {
|
|
2521
|
+
readonly name: "amount";
|
|
2522
|
+
readonly type: "uint256";
|
|
2523
|
+
readonly indexed: false;
|
|
2524
|
+
readonly internalType: "uint256";
|
|
2525
|
+
}];
|
|
2526
|
+
readonly anonymous: false;
|
|
2527
|
+
}, {
|
|
2528
|
+
readonly type: "error";
|
|
2529
|
+
readonly name: "AddressEmptyCode";
|
|
2530
|
+
readonly inputs: readonly [{
|
|
2531
|
+
readonly name: "target";
|
|
2532
|
+
readonly type: "address";
|
|
2533
|
+
readonly internalType: "address";
|
|
2534
|
+
}];
|
|
2535
|
+
}, {
|
|
2536
|
+
readonly type: "error";
|
|
2537
|
+
readonly name: "BorrowerNotWhitelisted";
|
|
2538
|
+
readonly inputs: readonly [{
|
|
2539
|
+
readonly name: "borrower";
|
|
2540
|
+
readonly type: "address";
|
|
2541
|
+
readonly internalType: "address";
|
|
2542
|
+
}];
|
|
2543
|
+
}, {
|
|
2544
|
+
readonly type: "error";
|
|
2545
|
+
readonly name: "FailedCall";
|
|
2546
|
+
readonly inputs: readonly [];
|
|
2547
|
+
}, {
|
|
2548
|
+
readonly type: "error";
|
|
2549
|
+
readonly name: "InsufficientLiquidity";
|
|
2550
|
+
readonly inputs: readonly [{
|
|
2551
|
+
readonly name: "blockTickLower";
|
|
2552
|
+
readonly type: "int24";
|
|
2553
|
+
readonly internalType: "int24";
|
|
2554
|
+
}, {
|
|
2555
|
+
readonly name: "required";
|
|
2556
|
+
readonly type: "uint128";
|
|
2557
|
+
readonly internalType: "uint128";
|
|
2558
|
+
}];
|
|
2559
|
+
}, {
|
|
2560
|
+
readonly type: "error";
|
|
2561
|
+
readonly name: "InvalidActionType";
|
|
2562
|
+
readonly inputs: readonly [{
|
|
2563
|
+
readonly name: "actionType";
|
|
2564
|
+
readonly type: "uint8";
|
|
2565
|
+
readonly internalType: "uint8";
|
|
2566
|
+
}];
|
|
2567
|
+
}, {
|
|
2568
|
+
readonly type: "error";
|
|
2569
|
+
readonly name: "InvalidRefTick";
|
|
2570
|
+
readonly inputs: readonly [{
|
|
2571
|
+
readonly name: "tickLower";
|
|
2572
|
+
readonly type: "int24";
|
|
2573
|
+
readonly internalType: "int24";
|
|
2574
|
+
}];
|
|
2575
|
+
}, {
|
|
2576
|
+
readonly type: "error";
|
|
2577
|
+
readonly name: "InvalidTickRange";
|
|
2578
|
+
readonly inputs: readonly [{
|
|
2579
|
+
readonly name: "tickLower";
|
|
2580
|
+
readonly type: "int24";
|
|
2581
|
+
readonly internalType: "int24";
|
|
2582
|
+
}, {
|
|
2583
|
+
readonly name: "tickUpper";
|
|
2584
|
+
readonly type: "int24";
|
|
2585
|
+
readonly internalType: "int24";
|
|
2586
|
+
}];
|
|
2587
|
+
}, {
|
|
2588
|
+
readonly type: "error";
|
|
2589
|
+
readonly name: "OwnableInvalidOwner";
|
|
2590
|
+
readonly inputs: readonly [{
|
|
2591
|
+
readonly name: "owner";
|
|
2592
|
+
readonly type: "address";
|
|
2593
|
+
readonly internalType: "address";
|
|
2594
|
+
}];
|
|
2595
|
+
}, {
|
|
2596
|
+
readonly type: "error";
|
|
2597
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
2598
|
+
readonly inputs: readonly [{
|
|
2599
|
+
readonly name: "account";
|
|
2600
|
+
readonly type: "address";
|
|
2601
|
+
readonly internalType: "address";
|
|
2602
|
+
}];
|
|
2603
|
+
}, {
|
|
2604
|
+
readonly type: "error";
|
|
2605
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2606
|
+
readonly inputs: readonly [];
|
|
2607
|
+
}, {
|
|
2608
|
+
readonly type: "error";
|
|
2609
|
+
readonly name: "SafeERC20FailedOperation";
|
|
2610
|
+
readonly inputs: readonly [{
|
|
2611
|
+
readonly name: "token";
|
|
2612
|
+
readonly type: "address";
|
|
2613
|
+
readonly internalType: "address";
|
|
2614
|
+
}];
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly type: "error";
|
|
2617
|
+
readonly name: "TooMuchRepay";
|
|
2618
|
+
readonly inputs: readonly [{
|
|
2619
|
+
readonly name: "blockTickLower";
|
|
2620
|
+
readonly type: "int24";
|
|
2621
|
+
readonly internalType: "int24";
|
|
2622
|
+
}, {
|
|
2623
|
+
readonly name: "attempted";
|
|
2624
|
+
readonly type: "uint128";
|
|
2625
|
+
readonly internalType: "uint128";
|
|
2626
|
+
}, {
|
|
2627
|
+
readonly name: "maximum";
|
|
2628
|
+
readonly type: "uint128";
|
|
2629
|
+
readonly internalType: "uint128";
|
|
2630
|
+
}];
|
|
2631
|
+
}, {
|
|
2632
|
+
readonly type: "error";
|
|
2633
|
+
readonly name: "UnauthorizedCaller";
|
|
2634
|
+
readonly inputs: readonly [];
|
|
2635
|
+
}];
|
|
2636
|
+
//#endregion
|
|
2637
|
+
//#region src/abis/feeStrategy.d.ts
|
|
2638
|
+
declare const feeStrategyAbi: readonly [{
|
|
2639
|
+
readonly type: "constructor";
|
|
2640
|
+
readonly inputs: readonly [{
|
|
2641
|
+
readonly name: "_openingFeeRate";
|
|
2642
|
+
readonly type: "uint32";
|
|
2643
|
+
readonly internalType: "uint32";
|
|
2644
|
+
}, {
|
|
2645
|
+
readonly name: "_baseFeeRate";
|
|
2646
|
+
readonly type: "uint32";
|
|
2647
|
+
readonly internalType: "uint32";
|
|
2648
|
+
}, {
|
|
2649
|
+
readonly name: "_minOpeningFee";
|
|
2650
|
+
readonly type: "uint128";
|
|
2651
|
+
readonly internalType: "uint128";
|
|
2652
|
+
}, {
|
|
2653
|
+
readonly name: "_minBaseFee";
|
|
2654
|
+
readonly type: "uint128";
|
|
2655
|
+
readonly internalType: "uint128";
|
|
2656
|
+
}, {
|
|
2657
|
+
readonly name: "_feeRecipient";
|
|
2658
|
+
readonly type: "address";
|
|
2659
|
+
readonly internalType: "address";
|
|
2660
|
+
}];
|
|
2661
|
+
readonly stateMutability: "nonpayable";
|
|
2662
|
+
}, {
|
|
2663
|
+
readonly type: "function";
|
|
2664
|
+
readonly name: "PRECISION";
|
|
2665
|
+
readonly inputs: readonly [];
|
|
2666
|
+
readonly outputs: readonly [{
|
|
2667
|
+
readonly name: "";
|
|
2668
|
+
readonly type: "uint256";
|
|
2669
|
+
readonly internalType: "uint256";
|
|
2670
|
+
}];
|
|
2671
|
+
readonly stateMutability: "view";
|
|
2672
|
+
}, {
|
|
2673
|
+
readonly type: "function";
|
|
2674
|
+
readonly name: "baseFeeRate";
|
|
2675
|
+
readonly inputs: readonly [];
|
|
2676
|
+
readonly outputs: readonly [{
|
|
2677
|
+
readonly name: "";
|
|
2678
|
+
readonly type: "uint32";
|
|
2679
|
+
readonly internalType: "uint32";
|
|
2680
|
+
}];
|
|
2681
|
+
readonly stateMutability: "view";
|
|
2682
|
+
}, {
|
|
2683
|
+
readonly type: "function";
|
|
2684
|
+
readonly name: "feeRecipient";
|
|
2685
|
+
readonly inputs: readonly [];
|
|
2686
|
+
readonly outputs: readonly [{
|
|
2687
|
+
readonly name: "";
|
|
2688
|
+
readonly type: "address";
|
|
2689
|
+
readonly internalType: "address";
|
|
2690
|
+
}];
|
|
2691
|
+
readonly stateMutability: "view";
|
|
2692
|
+
}, {
|
|
2693
|
+
readonly type: "function";
|
|
2694
|
+
readonly name: "getProtocolFee";
|
|
2695
|
+
readonly inputs: readonly [{
|
|
2696
|
+
readonly name: "";
|
|
2697
|
+
readonly type: "address";
|
|
2698
|
+
readonly internalType: "address";
|
|
2699
|
+
}, {
|
|
2700
|
+
readonly name: "";
|
|
2701
|
+
readonly type: "uint8";
|
|
2702
|
+
readonly internalType: "uint8";
|
|
2703
|
+
}, {
|
|
2704
|
+
readonly name: "optionAmount";
|
|
2705
|
+
readonly type: "uint256";
|
|
2706
|
+
readonly internalType: "uint256";
|
|
2707
|
+
}, {
|
|
2708
|
+
readonly name: "currentPrice";
|
|
2709
|
+
readonly type: "uint256";
|
|
2710
|
+
readonly internalType: "uint256";
|
|
2711
|
+
}, {
|
|
2712
|
+
readonly name: "";
|
|
2713
|
+
readonly type: "uint256";
|
|
2714
|
+
readonly internalType: "uint256";
|
|
2715
|
+
}, {
|
|
2716
|
+
readonly name: "";
|
|
2717
|
+
readonly type: "uint32";
|
|
2718
|
+
readonly internalType: "uint32";
|
|
2719
|
+
}, {
|
|
2720
|
+
readonly name: "remainingDuration";
|
|
2721
|
+
readonly type: "uint32";
|
|
2722
|
+
readonly internalType: "uint32";
|
|
2723
|
+
}, {
|
|
2724
|
+
readonly name: "premium";
|
|
2725
|
+
readonly type: "uint256";
|
|
2726
|
+
readonly internalType: "uint256";
|
|
2727
|
+
}];
|
|
2728
|
+
readonly outputs: readonly [{
|
|
2729
|
+
readonly name: "feeAmount";
|
|
2730
|
+
readonly type: "uint256";
|
|
2731
|
+
readonly internalType: "uint256";
|
|
2732
|
+
}, {
|
|
2733
|
+
readonly name: "recipient";
|
|
2734
|
+
readonly type: "address";
|
|
2735
|
+
readonly internalType: "address";
|
|
2736
|
+
}];
|
|
2737
|
+
readonly stateMutability: "view";
|
|
2738
|
+
}, {
|
|
2739
|
+
readonly type: "function";
|
|
2740
|
+
readonly name: "minBaseFee";
|
|
2741
|
+
readonly inputs: readonly [];
|
|
2742
|
+
readonly outputs: readonly [{
|
|
2743
|
+
readonly name: "";
|
|
2744
|
+
readonly type: "uint128";
|
|
2745
|
+
readonly internalType: "uint128";
|
|
2746
|
+
}];
|
|
2747
|
+
readonly stateMutability: "view";
|
|
2748
|
+
}, {
|
|
2749
|
+
readonly type: "function";
|
|
2750
|
+
readonly name: "minOpeningFee";
|
|
2751
|
+
readonly inputs: readonly [];
|
|
2752
|
+
readonly outputs: readonly [{
|
|
2753
|
+
readonly name: "";
|
|
2754
|
+
readonly type: "uint128";
|
|
2755
|
+
readonly internalType: "uint128";
|
|
2756
|
+
}];
|
|
2757
|
+
readonly stateMutability: "view";
|
|
2758
|
+
}, {
|
|
2759
|
+
readonly type: "function";
|
|
2760
|
+
readonly name: "openingFeeRate";
|
|
2761
|
+
readonly inputs: readonly [];
|
|
2762
|
+
readonly outputs: readonly [{
|
|
2763
|
+
readonly name: "";
|
|
2764
|
+
readonly type: "uint32";
|
|
2765
|
+
readonly internalType: "uint32";
|
|
2766
|
+
}];
|
|
2767
|
+
readonly stateMutability: "view";
|
|
2768
|
+
}];
|
|
2769
|
+
//#endregion
|
|
2770
|
+
//#region src/abis/statelessStateView.d.ts
|
|
2771
|
+
declare const statelessStateViewAbi: readonly [{
|
|
2772
|
+
readonly type: "function";
|
|
2773
|
+
readonly name: "getFeeGrowthGlobals";
|
|
2774
|
+
readonly inputs: readonly [{
|
|
2775
|
+
readonly name: "poolManager";
|
|
2776
|
+
readonly type: "address";
|
|
2777
|
+
readonly internalType: "contract IPoolManager";
|
|
2778
|
+
}, {
|
|
2779
|
+
readonly name: "key";
|
|
2780
|
+
readonly type: "tuple";
|
|
2781
|
+
readonly internalType: "struct PoolKey";
|
|
2782
|
+
readonly components: readonly [{
|
|
2783
|
+
readonly name: "currency0";
|
|
2784
|
+
readonly type: "address";
|
|
2785
|
+
readonly internalType: "Currency";
|
|
2786
|
+
}, {
|
|
2787
|
+
readonly name: "currency1";
|
|
2788
|
+
readonly type: "address";
|
|
2789
|
+
readonly internalType: "Currency";
|
|
2790
|
+
}, {
|
|
2791
|
+
readonly name: "fee";
|
|
2792
|
+
readonly type: "uint24";
|
|
2793
|
+
readonly internalType: "uint24";
|
|
2794
|
+
}, {
|
|
2795
|
+
readonly name: "tickSpacing";
|
|
2796
|
+
readonly type: "int24";
|
|
2797
|
+
readonly internalType: "int24";
|
|
2798
|
+
}, {
|
|
2799
|
+
readonly name: "hooks";
|
|
2800
|
+
readonly type: "address";
|
|
2801
|
+
readonly internalType: "contract IHooks";
|
|
2802
|
+
}];
|
|
2803
|
+
}];
|
|
2804
|
+
readonly outputs: readonly [{
|
|
2805
|
+
readonly name: "feeGrowthGlobal0";
|
|
2806
|
+
readonly type: "uint256";
|
|
2807
|
+
readonly internalType: "uint256";
|
|
2808
|
+
}, {
|
|
2809
|
+
readonly name: "feeGrowthGlobal1";
|
|
2810
|
+
readonly type: "uint256";
|
|
2811
|
+
readonly internalType: "uint256";
|
|
2812
|
+
}];
|
|
2813
|
+
readonly stateMutability: "view";
|
|
2814
|
+
}, {
|
|
2815
|
+
readonly type: "function";
|
|
2816
|
+
readonly name: "getFeeGrowthGlobals";
|
|
2817
|
+
readonly inputs: readonly [{
|
|
2818
|
+
readonly name: "poolManager";
|
|
2819
|
+
readonly type: "address";
|
|
2820
|
+
readonly internalType: "contract IPoolManager";
|
|
2821
|
+
}, {
|
|
2822
|
+
readonly name: "poolId";
|
|
2823
|
+
readonly type: "bytes32";
|
|
2824
|
+
readonly internalType: "PoolId";
|
|
2825
|
+
}];
|
|
2826
|
+
readonly outputs: readonly [{
|
|
2827
|
+
readonly name: "feeGrowthGlobal0";
|
|
2828
|
+
readonly type: "uint256";
|
|
2829
|
+
readonly internalType: "uint256";
|
|
2830
|
+
}, {
|
|
2831
|
+
readonly name: "feeGrowthGlobal1";
|
|
2832
|
+
readonly type: "uint256";
|
|
2833
|
+
readonly internalType: "uint256";
|
|
2834
|
+
}];
|
|
2835
|
+
readonly stateMutability: "view";
|
|
2836
|
+
}, {
|
|
2837
|
+
readonly type: "function";
|
|
2838
|
+
readonly name: "getFeeGrowthInside";
|
|
2839
|
+
readonly inputs: readonly [{
|
|
2840
|
+
readonly name: "poolManager";
|
|
2841
|
+
readonly type: "address";
|
|
2842
|
+
readonly internalType: "contract IPoolManager";
|
|
2843
|
+
}, {
|
|
2844
|
+
readonly name: "poolId";
|
|
2845
|
+
readonly type: "bytes32";
|
|
2846
|
+
readonly internalType: "PoolId";
|
|
2847
|
+
}, {
|
|
2848
|
+
readonly name: "tickLower";
|
|
2849
|
+
readonly type: "int24";
|
|
2850
|
+
readonly internalType: "int24";
|
|
2851
|
+
}, {
|
|
1101
2852
|
readonly name: "tickUpper";
|
|
1102
2853
|
readonly type: "int24";
|
|
1103
2854
|
readonly internalType: "int24";
|
|
2855
|
+
}];
|
|
2856
|
+
readonly outputs: readonly [{
|
|
2857
|
+
readonly name: "feeGrowthInside0X128";
|
|
2858
|
+
readonly type: "uint256";
|
|
2859
|
+
readonly internalType: "uint256";
|
|
1104
2860
|
}, {
|
|
1105
|
-
readonly name: "
|
|
2861
|
+
readonly name: "feeGrowthInside1X128";
|
|
2862
|
+
readonly type: "uint256";
|
|
2863
|
+
readonly internalType: "uint256";
|
|
2864
|
+
}];
|
|
2865
|
+
readonly stateMutability: "view";
|
|
2866
|
+
}, {
|
|
2867
|
+
readonly type: "function";
|
|
2868
|
+
readonly name: "getFeeGrowthInside";
|
|
2869
|
+
readonly inputs: readonly [{
|
|
2870
|
+
readonly name: "poolManager";
|
|
2871
|
+
readonly type: "address";
|
|
2872
|
+
readonly internalType: "contract IPoolManager";
|
|
2873
|
+
}, {
|
|
2874
|
+
readonly name: "key";
|
|
2875
|
+
readonly type: "tuple";
|
|
2876
|
+
readonly internalType: "struct PoolKey";
|
|
2877
|
+
readonly components: readonly [{
|
|
2878
|
+
readonly name: "currency0";
|
|
2879
|
+
readonly type: "address";
|
|
2880
|
+
readonly internalType: "Currency";
|
|
2881
|
+
}, {
|
|
2882
|
+
readonly name: "currency1";
|
|
2883
|
+
readonly type: "address";
|
|
2884
|
+
readonly internalType: "Currency";
|
|
2885
|
+
}, {
|
|
2886
|
+
readonly name: "fee";
|
|
2887
|
+
readonly type: "uint24";
|
|
2888
|
+
readonly internalType: "uint24";
|
|
2889
|
+
}, {
|
|
2890
|
+
readonly name: "tickSpacing";
|
|
2891
|
+
readonly type: "int24";
|
|
2892
|
+
readonly internalType: "int24";
|
|
2893
|
+
}, {
|
|
2894
|
+
readonly name: "hooks";
|
|
2895
|
+
readonly type: "address";
|
|
2896
|
+
readonly internalType: "contract IHooks";
|
|
2897
|
+
}];
|
|
2898
|
+
}, {
|
|
2899
|
+
readonly name: "tickLower";
|
|
2900
|
+
readonly type: "int24";
|
|
2901
|
+
readonly internalType: "int24";
|
|
2902
|
+
}, {
|
|
2903
|
+
readonly name: "tickUpper";
|
|
2904
|
+
readonly type: "int24";
|
|
2905
|
+
readonly internalType: "int24";
|
|
2906
|
+
}];
|
|
2907
|
+
readonly outputs: readonly [{
|
|
2908
|
+
readonly name: "feeGrowthInside0X128";
|
|
2909
|
+
readonly type: "uint256";
|
|
2910
|
+
readonly internalType: "uint256";
|
|
2911
|
+
}, {
|
|
2912
|
+
readonly name: "feeGrowthInside1X128";
|
|
2913
|
+
readonly type: "uint256";
|
|
2914
|
+
readonly internalType: "uint256";
|
|
2915
|
+
}];
|
|
2916
|
+
readonly stateMutability: "view";
|
|
2917
|
+
}, {
|
|
2918
|
+
readonly type: "function";
|
|
2919
|
+
readonly name: "getLiquidity";
|
|
2920
|
+
readonly inputs: readonly [{
|
|
2921
|
+
readonly name: "poolManager";
|
|
2922
|
+
readonly type: "address";
|
|
2923
|
+
readonly internalType: "contract IPoolManager";
|
|
2924
|
+
}, {
|
|
2925
|
+
readonly name: "poolId";
|
|
2926
|
+
readonly type: "bytes32";
|
|
2927
|
+
readonly internalType: "PoolId";
|
|
2928
|
+
}];
|
|
2929
|
+
readonly outputs: readonly [{
|
|
2930
|
+
readonly name: "liquidity";
|
|
1106
2931
|
readonly type: "uint128";
|
|
1107
2932
|
readonly internalType: "uint128";
|
|
2933
|
+
}];
|
|
2934
|
+
readonly stateMutability: "view";
|
|
2935
|
+
}, {
|
|
2936
|
+
readonly type: "function";
|
|
2937
|
+
readonly name: "getLiquidity";
|
|
2938
|
+
readonly inputs: readonly [{
|
|
2939
|
+
readonly name: "poolManager";
|
|
2940
|
+
readonly type: "address";
|
|
2941
|
+
readonly internalType: "contract IPoolManager";
|
|
1108
2942
|
}, {
|
|
1109
|
-
readonly name: "
|
|
1110
|
-
readonly type: "
|
|
1111
|
-
readonly internalType: "
|
|
2943
|
+
readonly name: "key";
|
|
2944
|
+
readonly type: "tuple";
|
|
2945
|
+
readonly internalType: "struct PoolKey";
|
|
2946
|
+
readonly components: readonly [{
|
|
2947
|
+
readonly name: "currency0";
|
|
2948
|
+
readonly type: "address";
|
|
2949
|
+
readonly internalType: "Currency";
|
|
2950
|
+
}, {
|
|
2951
|
+
readonly name: "currency1";
|
|
2952
|
+
readonly type: "address";
|
|
2953
|
+
readonly internalType: "Currency";
|
|
2954
|
+
}, {
|
|
2955
|
+
readonly name: "fee";
|
|
2956
|
+
readonly type: "uint24";
|
|
2957
|
+
readonly internalType: "uint24";
|
|
2958
|
+
}, {
|
|
2959
|
+
readonly name: "tickSpacing";
|
|
2960
|
+
readonly type: "int24";
|
|
2961
|
+
readonly internalType: "int24";
|
|
2962
|
+
}, {
|
|
2963
|
+
readonly name: "hooks";
|
|
2964
|
+
readonly type: "address";
|
|
2965
|
+
readonly internalType: "contract IHooks";
|
|
2966
|
+
}];
|
|
1112
2967
|
}];
|
|
1113
2968
|
readonly outputs: readonly [{
|
|
1114
|
-
readonly name: "
|
|
2969
|
+
readonly name: "liquidity";
|
|
2970
|
+
readonly type: "uint128";
|
|
2971
|
+
readonly internalType: "uint128";
|
|
2972
|
+
}];
|
|
2973
|
+
readonly stateMutability: "view";
|
|
2974
|
+
}, {
|
|
2975
|
+
readonly type: "function";
|
|
2976
|
+
readonly name: "getPositionInfo";
|
|
2977
|
+
readonly inputs: readonly [{
|
|
2978
|
+
readonly name: "poolManager";
|
|
2979
|
+
readonly type: "address";
|
|
2980
|
+
readonly internalType: "contract IPoolManager";
|
|
2981
|
+
}, {
|
|
2982
|
+
readonly name: "key";
|
|
2983
|
+
readonly type: "tuple";
|
|
2984
|
+
readonly internalType: "struct PoolKey";
|
|
2985
|
+
readonly components: readonly [{
|
|
2986
|
+
readonly name: "currency0";
|
|
2987
|
+
readonly type: "address";
|
|
2988
|
+
readonly internalType: "Currency";
|
|
2989
|
+
}, {
|
|
2990
|
+
readonly name: "currency1";
|
|
2991
|
+
readonly type: "address";
|
|
2992
|
+
readonly internalType: "Currency";
|
|
2993
|
+
}, {
|
|
2994
|
+
readonly name: "fee";
|
|
2995
|
+
readonly type: "uint24";
|
|
2996
|
+
readonly internalType: "uint24";
|
|
2997
|
+
}, {
|
|
2998
|
+
readonly name: "tickSpacing";
|
|
2999
|
+
readonly type: "int24";
|
|
3000
|
+
readonly internalType: "int24";
|
|
3001
|
+
}, {
|
|
3002
|
+
readonly name: "hooks";
|
|
3003
|
+
readonly type: "address";
|
|
3004
|
+
readonly internalType: "contract IHooks";
|
|
3005
|
+
}];
|
|
3006
|
+
}, {
|
|
3007
|
+
readonly name: "positionId";
|
|
3008
|
+
readonly type: "bytes32";
|
|
3009
|
+
readonly internalType: "bytes32";
|
|
3010
|
+
}];
|
|
3011
|
+
readonly outputs: readonly [{
|
|
3012
|
+
readonly name: "liquidity";
|
|
3013
|
+
readonly type: "uint128";
|
|
3014
|
+
readonly internalType: "uint128";
|
|
3015
|
+
}, {
|
|
3016
|
+
readonly name: "feeGrowthInside0LastX128";
|
|
1115
3017
|
readonly type: "uint256";
|
|
1116
3018
|
readonly internalType: "uint256";
|
|
1117
3019
|
}, {
|
|
1118
|
-
readonly name: "
|
|
3020
|
+
readonly name: "feeGrowthInside1LastX128";
|
|
1119
3021
|
readonly type: "uint256";
|
|
1120
3022
|
readonly internalType: "uint256";
|
|
1121
3023
|
}];
|
|
1122
|
-
readonly stateMutability: "
|
|
3024
|
+
readonly stateMutability: "view";
|
|
1123
3025
|
}, {
|
|
1124
3026
|
readonly type: "function";
|
|
1125
|
-
readonly name: "
|
|
3027
|
+
readonly name: "getPositionInfo";
|
|
1126
3028
|
readonly inputs: readonly [{
|
|
1127
|
-
readonly name: "
|
|
1128
|
-
readonly type: "
|
|
1129
|
-
readonly internalType: "
|
|
3029
|
+
readonly name: "poolManager";
|
|
3030
|
+
readonly type: "address";
|
|
3031
|
+
readonly internalType: "contract IPoolManager";
|
|
3032
|
+
}, {
|
|
3033
|
+
readonly name: "poolId";
|
|
3034
|
+
readonly type: "bytes32";
|
|
3035
|
+
readonly internalType: "PoolId";
|
|
3036
|
+
}, {
|
|
3037
|
+
readonly name: "positionId";
|
|
3038
|
+
readonly type: "bytes32";
|
|
3039
|
+
readonly internalType: "bytes32";
|
|
1130
3040
|
}];
|
|
1131
3041
|
readonly outputs: readonly [{
|
|
1132
|
-
readonly name: "
|
|
1133
|
-
readonly type: "
|
|
1134
|
-
readonly internalType: "
|
|
1135
|
-
}, {
|
|
1136
|
-
readonly name: "tickCumulative";
|
|
1137
|
-
readonly type: "int56";
|
|
1138
|
-
readonly internalType: "int56";
|
|
3042
|
+
readonly name: "liquidity";
|
|
3043
|
+
readonly type: "uint128";
|
|
3044
|
+
readonly internalType: "uint128";
|
|
1139
3045
|
}, {
|
|
1140
|
-
readonly name: "
|
|
1141
|
-
readonly type: "
|
|
1142
|
-
readonly internalType: "
|
|
3046
|
+
readonly name: "feeGrowthInside0LastX128";
|
|
3047
|
+
readonly type: "uint256";
|
|
3048
|
+
readonly internalType: "uint256";
|
|
1143
3049
|
}, {
|
|
1144
|
-
readonly name: "
|
|
1145
|
-
readonly type: "
|
|
1146
|
-
readonly internalType: "
|
|
3050
|
+
readonly name: "feeGrowthInside1LastX128";
|
|
3051
|
+
readonly type: "uint256";
|
|
3052
|
+
readonly internalType: "uint256";
|
|
1147
3053
|
}];
|
|
1148
3054
|
readonly stateMutability: "view";
|
|
1149
3055
|
}, {
|
|
1150
3056
|
readonly type: "function";
|
|
1151
|
-
readonly name: "
|
|
3057
|
+
readonly name: "getPositionInfo";
|
|
1152
3058
|
readonly inputs: readonly [{
|
|
1153
|
-
readonly name: "
|
|
1154
|
-
readonly type: "
|
|
1155
|
-
readonly internalType: "
|
|
3059
|
+
readonly name: "poolManager";
|
|
3060
|
+
readonly type: "address";
|
|
3061
|
+
readonly internalType: "contract IPoolManager";
|
|
3062
|
+
}, {
|
|
3063
|
+
readonly name: "poolId";
|
|
3064
|
+
readonly type: "bytes32";
|
|
3065
|
+
readonly internalType: "PoolId";
|
|
3066
|
+
}, {
|
|
3067
|
+
readonly name: "owner";
|
|
3068
|
+
readonly type: "address";
|
|
3069
|
+
readonly internalType: "address";
|
|
3070
|
+
}, {
|
|
3071
|
+
readonly name: "tickLower";
|
|
3072
|
+
readonly type: "int24";
|
|
3073
|
+
readonly internalType: "int24";
|
|
3074
|
+
}, {
|
|
3075
|
+
readonly name: "tickUpper";
|
|
3076
|
+
readonly type: "int24";
|
|
3077
|
+
readonly internalType: "int24";
|
|
3078
|
+
}, {
|
|
3079
|
+
readonly name: "salt";
|
|
3080
|
+
readonly type: "bytes32";
|
|
3081
|
+
readonly internalType: "bytes32";
|
|
1156
3082
|
}];
|
|
1157
3083
|
readonly outputs: readonly [{
|
|
1158
|
-
readonly name: "
|
|
1159
|
-
readonly type: "
|
|
1160
|
-
readonly internalType: "
|
|
3084
|
+
readonly name: "liquidity";
|
|
3085
|
+
readonly type: "uint128";
|
|
3086
|
+
readonly internalType: "uint128";
|
|
3087
|
+
}, {
|
|
3088
|
+
readonly name: "feeGrowthInside0LastX128";
|
|
3089
|
+
readonly type: "uint256";
|
|
3090
|
+
readonly internalType: "uint256";
|
|
1161
3091
|
}, {
|
|
1162
|
-
readonly name: "
|
|
1163
|
-
readonly type: "
|
|
1164
|
-
readonly internalType: "
|
|
3092
|
+
readonly name: "feeGrowthInside1LastX128";
|
|
3093
|
+
readonly type: "uint256";
|
|
3094
|
+
readonly internalType: "uint256";
|
|
1165
3095
|
}];
|
|
1166
3096
|
readonly stateMutability: "view";
|
|
1167
3097
|
}, {
|
|
1168
3098
|
readonly type: "function";
|
|
1169
|
-
readonly name: "
|
|
3099
|
+
readonly name: "getPositionInfo";
|
|
1170
3100
|
readonly inputs: readonly [{
|
|
3101
|
+
readonly name: "poolManager";
|
|
3102
|
+
readonly type: "address";
|
|
3103
|
+
readonly internalType: "contract IPoolManager";
|
|
3104
|
+
}, {
|
|
1171
3105
|
readonly name: "key";
|
|
3106
|
+
readonly type: "tuple";
|
|
3107
|
+
readonly internalType: "struct PoolKey";
|
|
3108
|
+
readonly components: readonly [{
|
|
3109
|
+
readonly name: "currency0";
|
|
3110
|
+
readonly type: "address";
|
|
3111
|
+
readonly internalType: "Currency";
|
|
3112
|
+
}, {
|
|
3113
|
+
readonly name: "currency1";
|
|
3114
|
+
readonly type: "address";
|
|
3115
|
+
readonly internalType: "Currency";
|
|
3116
|
+
}, {
|
|
3117
|
+
readonly name: "fee";
|
|
3118
|
+
readonly type: "uint24";
|
|
3119
|
+
readonly internalType: "uint24";
|
|
3120
|
+
}, {
|
|
3121
|
+
readonly name: "tickSpacing";
|
|
3122
|
+
readonly type: "int24";
|
|
3123
|
+
readonly internalType: "int24";
|
|
3124
|
+
}, {
|
|
3125
|
+
readonly name: "hooks";
|
|
3126
|
+
readonly type: "address";
|
|
3127
|
+
readonly internalType: "contract IHooks";
|
|
3128
|
+
}];
|
|
3129
|
+
}, {
|
|
3130
|
+
readonly name: "owner";
|
|
3131
|
+
readonly type: "address";
|
|
3132
|
+
readonly internalType: "address";
|
|
3133
|
+
}, {
|
|
3134
|
+
readonly name: "tickLower";
|
|
3135
|
+
readonly type: "int24";
|
|
3136
|
+
readonly internalType: "int24";
|
|
3137
|
+
}, {
|
|
3138
|
+
readonly name: "tickUpper";
|
|
3139
|
+
readonly type: "int24";
|
|
3140
|
+
readonly internalType: "int24";
|
|
3141
|
+
}, {
|
|
3142
|
+
readonly name: "salt";
|
|
1172
3143
|
readonly type: "bytes32";
|
|
1173
3144
|
readonly internalType: "bytes32";
|
|
1174
3145
|
}];
|
|
@@ -1184,166 +3155,359 @@ declare const uniswapV3PoolAbi: readonly [{
|
|
|
1184
3155
|
readonly name: "feeGrowthInside1LastX128";
|
|
1185
3156
|
readonly type: "uint256";
|
|
1186
3157
|
readonly internalType: "uint256";
|
|
3158
|
+
}];
|
|
3159
|
+
readonly stateMutability: "view";
|
|
3160
|
+
}, {
|
|
3161
|
+
readonly type: "function";
|
|
3162
|
+
readonly name: "getPositionLiquidity";
|
|
3163
|
+
readonly inputs: readonly [{
|
|
3164
|
+
readonly name: "poolManager";
|
|
3165
|
+
readonly type: "address";
|
|
3166
|
+
readonly internalType: "contract IPoolManager";
|
|
1187
3167
|
}, {
|
|
1188
|
-
readonly name: "
|
|
3168
|
+
readonly name: "poolId";
|
|
3169
|
+
readonly type: "bytes32";
|
|
3170
|
+
readonly internalType: "PoolId";
|
|
3171
|
+
}, {
|
|
3172
|
+
readonly name: "positionId";
|
|
3173
|
+
readonly type: "bytes32";
|
|
3174
|
+
readonly internalType: "bytes32";
|
|
3175
|
+
}];
|
|
3176
|
+
readonly outputs: readonly [{
|
|
3177
|
+
readonly name: "liquidity";
|
|
1189
3178
|
readonly type: "uint128";
|
|
1190
3179
|
readonly internalType: "uint128";
|
|
3180
|
+
}];
|
|
3181
|
+
readonly stateMutability: "view";
|
|
3182
|
+
}, {
|
|
3183
|
+
readonly type: "function";
|
|
3184
|
+
readonly name: "getPositionLiquidity";
|
|
3185
|
+
readonly inputs: readonly [{
|
|
3186
|
+
readonly name: "poolManager";
|
|
3187
|
+
readonly type: "address";
|
|
3188
|
+
readonly internalType: "contract IPoolManager";
|
|
3189
|
+
}, {
|
|
3190
|
+
readonly name: "key";
|
|
3191
|
+
readonly type: "tuple";
|
|
3192
|
+
readonly internalType: "struct PoolKey";
|
|
3193
|
+
readonly components: readonly [{
|
|
3194
|
+
readonly name: "currency0";
|
|
3195
|
+
readonly type: "address";
|
|
3196
|
+
readonly internalType: "Currency";
|
|
3197
|
+
}, {
|
|
3198
|
+
readonly name: "currency1";
|
|
3199
|
+
readonly type: "address";
|
|
3200
|
+
readonly internalType: "Currency";
|
|
3201
|
+
}, {
|
|
3202
|
+
readonly name: "fee";
|
|
3203
|
+
readonly type: "uint24";
|
|
3204
|
+
readonly internalType: "uint24";
|
|
3205
|
+
}, {
|
|
3206
|
+
readonly name: "tickSpacing";
|
|
3207
|
+
readonly type: "int24";
|
|
3208
|
+
readonly internalType: "int24";
|
|
3209
|
+
}, {
|
|
3210
|
+
readonly name: "hooks";
|
|
3211
|
+
readonly type: "address";
|
|
3212
|
+
readonly internalType: "contract IHooks";
|
|
3213
|
+
}];
|
|
1191
3214
|
}, {
|
|
1192
|
-
readonly name: "
|
|
3215
|
+
readonly name: "positionId";
|
|
3216
|
+
readonly type: "bytes32";
|
|
3217
|
+
readonly internalType: "bytes32";
|
|
3218
|
+
}];
|
|
3219
|
+
readonly outputs: readonly [{
|
|
3220
|
+
readonly name: "liquidity";
|
|
1193
3221
|
readonly type: "uint128";
|
|
1194
3222
|
readonly internalType: "uint128";
|
|
1195
3223
|
}];
|
|
1196
3224
|
readonly stateMutability: "view";
|
|
1197
3225
|
}, {
|
|
1198
3226
|
readonly type: "function";
|
|
1199
|
-
readonly name: "
|
|
1200
|
-
readonly inputs: readonly [
|
|
1201
|
-
|
|
1202
|
-
readonly
|
|
1203
|
-
readonly
|
|
1204
|
-
|
|
3227
|
+
readonly name: "getSlot0";
|
|
3228
|
+
readonly inputs: readonly [{
|
|
3229
|
+
readonly name: "poolManager";
|
|
3230
|
+
readonly type: "address";
|
|
3231
|
+
readonly internalType: "contract IPoolManager";
|
|
3232
|
+
}, {
|
|
3233
|
+
readonly name: "key";
|
|
3234
|
+
readonly type: "tuple";
|
|
3235
|
+
readonly internalType: "struct PoolKey";
|
|
3236
|
+
readonly components: readonly [{
|
|
3237
|
+
readonly name: "currency0";
|
|
3238
|
+
readonly type: "address";
|
|
3239
|
+
readonly internalType: "Currency";
|
|
3240
|
+
}, {
|
|
3241
|
+
readonly name: "currency1";
|
|
3242
|
+
readonly type: "address";
|
|
3243
|
+
readonly internalType: "Currency";
|
|
3244
|
+
}, {
|
|
3245
|
+
readonly name: "fee";
|
|
3246
|
+
readonly type: "uint24";
|
|
3247
|
+
readonly internalType: "uint24";
|
|
3248
|
+
}, {
|
|
3249
|
+
readonly name: "tickSpacing";
|
|
3250
|
+
readonly type: "int24";
|
|
3251
|
+
readonly internalType: "int24";
|
|
3252
|
+
}, {
|
|
3253
|
+
readonly name: "hooks";
|
|
3254
|
+
readonly type: "address";
|
|
3255
|
+
readonly internalType: "contract IHooks";
|
|
3256
|
+
}];
|
|
3257
|
+
}];
|
|
3258
|
+
readonly outputs: readonly [{
|
|
3259
|
+
readonly name: "sqrtPriceX96";
|
|
3260
|
+
readonly type: "uint160";
|
|
3261
|
+
readonly internalType: "uint160";
|
|
3262
|
+
}, {
|
|
3263
|
+
readonly name: "tick";
|
|
3264
|
+
readonly type: "int24";
|
|
3265
|
+
readonly internalType: "int24";
|
|
3266
|
+
}, {
|
|
3267
|
+
readonly name: "protocolFee";
|
|
3268
|
+
readonly type: "uint24";
|
|
3269
|
+
readonly internalType: "uint24";
|
|
3270
|
+
}, {
|
|
3271
|
+
readonly name: "lpFee";
|
|
3272
|
+
readonly type: "uint24";
|
|
3273
|
+
readonly internalType: "uint24";
|
|
3274
|
+
}];
|
|
3275
|
+
readonly stateMutability: "view";
|
|
3276
|
+
}, {
|
|
3277
|
+
readonly type: "function";
|
|
3278
|
+
readonly name: "getSlot0";
|
|
3279
|
+
readonly inputs: readonly [{
|
|
3280
|
+
readonly name: "poolManager";
|
|
3281
|
+
readonly type: "address";
|
|
3282
|
+
readonly internalType: "contract IPoolManager";
|
|
3283
|
+
}, {
|
|
3284
|
+
readonly name: "poolId";
|
|
3285
|
+
readonly type: "bytes32";
|
|
3286
|
+
readonly internalType: "PoolId";
|
|
3287
|
+
}];
|
|
3288
|
+
readonly outputs: readonly [{
|
|
3289
|
+
readonly name: "sqrtPriceX96";
|
|
3290
|
+
readonly type: "uint160";
|
|
3291
|
+
readonly internalType: "uint160";
|
|
3292
|
+
}, {
|
|
3293
|
+
readonly name: "tick";
|
|
3294
|
+
readonly type: "int24";
|
|
3295
|
+
readonly internalType: "int24";
|
|
3296
|
+
}, {
|
|
3297
|
+
readonly name: "protocolFee";
|
|
3298
|
+
readonly type: "uint24";
|
|
3299
|
+
readonly internalType: "uint24";
|
|
3300
|
+
}, {
|
|
3301
|
+
readonly name: "lpFee";
|
|
3302
|
+
readonly type: "uint24";
|
|
3303
|
+
readonly internalType: "uint24";
|
|
3304
|
+
}];
|
|
3305
|
+
readonly stateMutability: "view";
|
|
3306
|
+
}, {
|
|
3307
|
+
readonly type: "function";
|
|
3308
|
+
readonly name: "getTickBitmap";
|
|
3309
|
+
readonly inputs: readonly [{
|
|
3310
|
+
readonly name: "poolManager";
|
|
3311
|
+
readonly type: "address";
|
|
3312
|
+
readonly internalType: "contract IPoolManager";
|
|
3313
|
+
}, {
|
|
3314
|
+
readonly name: "key";
|
|
3315
|
+
readonly type: "tuple";
|
|
3316
|
+
readonly internalType: "struct PoolKey";
|
|
3317
|
+
readonly components: readonly [{
|
|
3318
|
+
readonly name: "currency0";
|
|
3319
|
+
readonly type: "address";
|
|
3320
|
+
readonly internalType: "Currency";
|
|
3321
|
+
}, {
|
|
3322
|
+
readonly name: "currency1";
|
|
3323
|
+
readonly type: "address";
|
|
3324
|
+
readonly internalType: "Currency";
|
|
3325
|
+
}, {
|
|
3326
|
+
readonly name: "fee";
|
|
3327
|
+
readonly type: "uint24";
|
|
3328
|
+
readonly internalType: "uint24";
|
|
3329
|
+
}, {
|
|
3330
|
+
readonly name: "tickSpacing";
|
|
3331
|
+
readonly type: "int24";
|
|
3332
|
+
readonly internalType: "int24";
|
|
3333
|
+
}, {
|
|
3334
|
+
readonly name: "hooks";
|
|
3335
|
+
readonly type: "address";
|
|
3336
|
+
readonly internalType: "contract IHooks";
|
|
3337
|
+
}];
|
|
3338
|
+
}, {
|
|
3339
|
+
readonly name: "tick";
|
|
3340
|
+
readonly type: "int16";
|
|
3341
|
+
readonly internalType: "int16";
|
|
3342
|
+
}];
|
|
3343
|
+
readonly outputs: readonly [{
|
|
3344
|
+
readonly name: "tickBitmap";
|
|
3345
|
+
readonly type: "uint256";
|
|
3346
|
+
readonly internalType: "uint256";
|
|
3347
|
+
}];
|
|
3348
|
+
readonly stateMutability: "view";
|
|
3349
|
+
}, {
|
|
3350
|
+
readonly type: "function";
|
|
3351
|
+
readonly name: "getTickBitmap";
|
|
3352
|
+
readonly inputs: readonly [{
|
|
3353
|
+
readonly name: "poolManager";
|
|
3354
|
+
readonly type: "address";
|
|
3355
|
+
readonly internalType: "contract IPoolManager";
|
|
1205
3356
|
}, {
|
|
1206
|
-
readonly name: "
|
|
1207
|
-
readonly type: "
|
|
1208
|
-
readonly internalType: "
|
|
3357
|
+
readonly name: "poolId";
|
|
3358
|
+
readonly type: "bytes32";
|
|
3359
|
+
readonly internalType: "PoolId";
|
|
3360
|
+
}, {
|
|
3361
|
+
readonly name: "tick";
|
|
3362
|
+
readonly type: "int16";
|
|
3363
|
+
readonly internalType: "int16";
|
|
3364
|
+
}];
|
|
3365
|
+
readonly outputs: readonly [{
|
|
3366
|
+
readonly name: "tickBitmap";
|
|
3367
|
+
readonly type: "uint256";
|
|
3368
|
+
readonly internalType: "uint256";
|
|
1209
3369
|
}];
|
|
1210
3370
|
readonly stateMutability: "view";
|
|
1211
3371
|
}, {
|
|
1212
3372
|
readonly type: "function";
|
|
1213
|
-
readonly name: "
|
|
3373
|
+
readonly name: "getTickFeeGrowthOutside";
|
|
1214
3374
|
readonly inputs: readonly [{
|
|
1215
|
-
readonly name: "
|
|
1216
|
-
readonly type: "
|
|
1217
|
-
readonly internalType: "
|
|
3375
|
+
readonly name: "poolManager";
|
|
3376
|
+
readonly type: "address";
|
|
3377
|
+
readonly internalType: "contract IPoolManager";
|
|
1218
3378
|
}, {
|
|
1219
|
-
readonly name: "
|
|
1220
|
-
readonly type: "
|
|
1221
|
-
readonly internalType: "
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
3379
|
+
readonly name: "key";
|
|
3380
|
+
readonly type: "tuple";
|
|
3381
|
+
readonly internalType: "struct PoolKey";
|
|
3382
|
+
readonly components: readonly [{
|
|
3383
|
+
readonly name: "currency0";
|
|
3384
|
+
readonly type: "address";
|
|
3385
|
+
readonly internalType: "Currency";
|
|
3386
|
+
}, {
|
|
3387
|
+
readonly name: "currency1";
|
|
3388
|
+
readonly type: "address";
|
|
3389
|
+
readonly internalType: "Currency";
|
|
3390
|
+
}, {
|
|
3391
|
+
readonly name: "fee";
|
|
3392
|
+
readonly type: "uint24";
|
|
3393
|
+
readonly internalType: "uint24";
|
|
3394
|
+
}, {
|
|
3395
|
+
readonly name: "tickSpacing";
|
|
3396
|
+
readonly type: "int24";
|
|
3397
|
+
readonly internalType: "int24";
|
|
3398
|
+
}, {
|
|
3399
|
+
readonly name: "hooks";
|
|
3400
|
+
readonly type: "address";
|
|
3401
|
+
readonly internalType: "contract IHooks";
|
|
3402
|
+
}];
|
|
1233
3403
|
}, {
|
|
1234
3404
|
readonly name: "tick";
|
|
1235
3405
|
readonly type: "int24";
|
|
1236
3406
|
readonly internalType: "int24";
|
|
3407
|
+
}];
|
|
3408
|
+
readonly outputs: readonly [{
|
|
3409
|
+
readonly name: "feeGrowthOutside0X128";
|
|
3410
|
+
readonly type: "uint256";
|
|
3411
|
+
readonly internalType: "uint256";
|
|
1237
3412
|
}, {
|
|
1238
|
-
readonly name: "
|
|
1239
|
-
readonly type: "
|
|
1240
|
-
readonly internalType: "
|
|
1241
|
-
}, {
|
|
1242
|
-
readonly name: "observationCardinality";
|
|
1243
|
-
readonly type: "uint16";
|
|
1244
|
-
readonly internalType: "uint16";
|
|
1245
|
-
}, {
|
|
1246
|
-
readonly name: "observationCardinalityNext";
|
|
1247
|
-
readonly type: "uint16";
|
|
1248
|
-
readonly internalType: "uint16";
|
|
1249
|
-
}, {
|
|
1250
|
-
readonly name: "feeProtocol";
|
|
1251
|
-
readonly type: "uint8";
|
|
1252
|
-
readonly internalType: "uint8";
|
|
1253
|
-
}, {
|
|
1254
|
-
readonly name: "unlocked";
|
|
1255
|
-
readonly type: "bool";
|
|
1256
|
-
readonly internalType: "bool";
|
|
3413
|
+
readonly name: "feeGrowthOutside1X128";
|
|
3414
|
+
readonly type: "uint256";
|
|
3415
|
+
readonly internalType: "uint256";
|
|
1257
3416
|
}];
|
|
1258
3417
|
readonly stateMutability: "view";
|
|
1259
3418
|
}, {
|
|
1260
3419
|
readonly type: "function";
|
|
1261
|
-
readonly name: "
|
|
3420
|
+
readonly name: "getTickFeeGrowthOutside";
|
|
1262
3421
|
readonly inputs: readonly [{
|
|
1263
|
-
readonly name: "
|
|
1264
|
-
readonly type: "
|
|
1265
|
-
readonly internalType: "
|
|
3422
|
+
readonly name: "poolManager";
|
|
3423
|
+
readonly type: "address";
|
|
3424
|
+
readonly internalType: "contract IPoolManager";
|
|
1266
3425
|
}, {
|
|
1267
|
-
readonly name: "
|
|
3426
|
+
readonly name: "poolId";
|
|
3427
|
+
readonly type: "bytes32";
|
|
3428
|
+
readonly internalType: "PoolId";
|
|
3429
|
+
}, {
|
|
3430
|
+
readonly name: "tick";
|
|
1268
3431
|
readonly type: "int24";
|
|
1269
3432
|
readonly internalType: "int24";
|
|
1270
3433
|
}];
|
|
1271
3434
|
readonly outputs: readonly [{
|
|
1272
|
-
readonly name: "
|
|
1273
|
-
readonly type: "
|
|
1274
|
-
readonly internalType: "
|
|
1275
|
-
}, {
|
|
1276
|
-
readonly name: "secondsPerLiquidityInsideX128";
|
|
1277
|
-
readonly type: "uint160";
|
|
1278
|
-
readonly internalType: "uint160";
|
|
3435
|
+
readonly name: "feeGrowthOutside0X128";
|
|
3436
|
+
readonly type: "uint256";
|
|
3437
|
+
readonly internalType: "uint256";
|
|
1279
3438
|
}, {
|
|
1280
|
-
readonly name: "
|
|
1281
|
-
readonly type: "
|
|
1282
|
-
readonly internalType: "
|
|
3439
|
+
readonly name: "feeGrowthOutside1X128";
|
|
3440
|
+
readonly type: "uint256";
|
|
3441
|
+
readonly internalType: "uint256";
|
|
1283
3442
|
}];
|
|
1284
3443
|
readonly stateMutability: "view";
|
|
1285
3444
|
}, {
|
|
1286
3445
|
readonly type: "function";
|
|
1287
|
-
readonly name: "
|
|
3446
|
+
readonly name: "getTickInfo";
|
|
1288
3447
|
readonly inputs: readonly [{
|
|
1289
|
-
readonly name: "
|
|
3448
|
+
readonly name: "poolManager";
|
|
1290
3449
|
readonly type: "address";
|
|
1291
|
-
readonly internalType: "
|
|
1292
|
-
}, {
|
|
1293
|
-
readonly name: "zeroForOne";
|
|
1294
|
-
readonly type: "bool";
|
|
1295
|
-
readonly internalType: "bool";
|
|
1296
|
-
}, {
|
|
1297
|
-
readonly name: "amountSpecified";
|
|
1298
|
-
readonly type: "int256";
|
|
1299
|
-
readonly internalType: "int256";
|
|
3450
|
+
readonly internalType: "contract IPoolManager";
|
|
1300
3451
|
}, {
|
|
1301
|
-
readonly name: "
|
|
1302
|
-
readonly type: "
|
|
1303
|
-
readonly internalType: "
|
|
3452
|
+
readonly name: "poolId";
|
|
3453
|
+
readonly type: "bytes32";
|
|
3454
|
+
readonly internalType: "PoolId";
|
|
1304
3455
|
}, {
|
|
1305
|
-
readonly name: "
|
|
1306
|
-
readonly type: "
|
|
1307
|
-
readonly internalType: "
|
|
3456
|
+
readonly name: "tick";
|
|
3457
|
+
readonly type: "int24";
|
|
3458
|
+
readonly internalType: "int24";
|
|
1308
3459
|
}];
|
|
1309
3460
|
readonly outputs: readonly [{
|
|
1310
|
-
readonly name: "
|
|
1311
|
-
readonly type: "
|
|
1312
|
-
readonly internalType: "
|
|
3461
|
+
readonly name: "liquidityGross";
|
|
3462
|
+
readonly type: "uint128";
|
|
3463
|
+
readonly internalType: "uint128";
|
|
1313
3464
|
}, {
|
|
1314
|
-
readonly name: "
|
|
1315
|
-
readonly type: "
|
|
1316
|
-
readonly internalType: "
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
readonly name: "wordPosition";
|
|
1324
|
-
readonly type: "int16";
|
|
1325
|
-
readonly internalType: "int16";
|
|
1326
|
-
}];
|
|
1327
|
-
readonly outputs: readonly [{
|
|
1328
|
-
readonly name: "";
|
|
3465
|
+
readonly name: "liquidityNet";
|
|
3466
|
+
readonly type: "int128";
|
|
3467
|
+
readonly internalType: "int128";
|
|
3468
|
+
}, {
|
|
3469
|
+
readonly name: "feeGrowthOutside0X128";
|
|
3470
|
+
readonly type: "uint256";
|
|
3471
|
+
readonly internalType: "uint256";
|
|
3472
|
+
}, {
|
|
3473
|
+
readonly name: "feeGrowthOutside1X128";
|
|
1329
3474
|
readonly type: "uint256";
|
|
1330
3475
|
readonly internalType: "uint256";
|
|
1331
3476
|
}];
|
|
1332
3477
|
readonly stateMutability: "view";
|
|
1333
3478
|
}, {
|
|
1334
3479
|
readonly type: "function";
|
|
1335
|
-
readonly name: "
|
|
1336
|
-
readonly inputs: readonly [];
|
|
1337
|
-
readonly outputs: readonly [{
|
|
1338
|
-
readonly name: "";
|
|
1339
|
-
readonly type: "int24";
|
|
1340
|
-
readonly internalType: "int24";
|
|
1341
|
-
}];
|
|
1342
|
-
readonly stateMutability: "view";
|
|
1343
|
-
}, {
|
|
1344
|
-
readonly type: "function";
|
|
1345
|
-
readonly name: "ticks";
|
|
3480
|
+
readonly name: "getTickInfo";
|
|
1346
3481
|
readonly inputs: readonly [{
|
|
3482
|
+
readonly name: "poolManager";
|
|
3483
|
+
readonly type: "address";
|
|
3484
|
+
readonly internalType: "contract IPoolManager";
|
|
3485
|
+
}, {
|
|
3486
|
+
readonly name: "key";
|
|
3487
|
+
readonly type: "tuple";
|
|
3488
|
+
readonly internalType: "struct PoolKey";
|
|
3489
|
+
readonly components: readonly [{
|
|
3490
|
+
readonly name: "currency0";
|
|
3491
|
+
readonly type: "address";
|
|
3492
|
+
readonly internalType: "Currency";
|
|
3493
|
+
}, {
|
|
3494
|
+
readonly name: "currency1";
|
|
3495
|
+
readonly type: "address";
|
|
3496
|
+
readonly internalType: "Currency";
|
|
3497
|
+
}, {
|
|
3498
|
+
readonly name: "fee";
|
|
3499
|
+
readonly type: "uint24";
|
|
3500
|
+
readonly internalType: "uint24";
|
|
3501
|
+
}, {
|
|
3502
|
+
readonly name: "tickSpacing";
|
|
3503
|
+
readonly type: "int24";
|
|
3504
|
+
readonly internalType: "int24";
|
|
3505
|
+
}, {
|
|
3506
|
+
readonly name: "hooks";
|
|
3507
|
+
readonly type: "address";
|
|
3508
|
+
readonly internalType: "contract IHooks";
|
|
3509
|
+
}];
|
|
3510
|
+
}, {
|
|
1347
3511
|
readonly name: "tick";
|
|
1348
3512
|
readonly type: "int24";
|
|
1349
3513
|
readonly internalType: "int24";
|
|
@@ -1364,45 +3528,82 @@ declare const uniswapV3PoolAbi: readonly [{
|
|
|
1364
3528
|
readonly name: "feeGrowthOutside1X128";
|
|
1365
3529
|
readonly type: "uint256";
|
|
1366
3530
|
readonly internalType: "uint256";
|
|
1367
|
-
}, {
|
|
1368
|
-
readonly name: "tickCumulativeOutside";
|
|
1369
|
-
readonly type: "int56";
|
|
1370
|
-
readonly internalType: "int56";
|
|
1371
|
-
}, {
|
|
1372
|
-
readonly name: "secondsPerLiquidityOutsideX128";
|
|
1373
|
-
readonly type: "uint160";
|
|
1374
|
-
readonly internalType: "uint160";
|
|
1375
|
-
}, {
|
|
1376
|
-
readonly name: "secondsOutside";
|
|
1377
|
-
readonly type: "uint32";
|
|
1378
|
-
readonly internalType: "uint32";
|
|
1379
|
-
}, {
|
|
1380
|
-
readonly name: "initialized";
|
|
1381
|
-
readonly type: "bool";
|
|
1382
|
-
readonly internalType: "bool";
|
|
1383
3531
|
}];
|
|
1384
3532
|
readonly stateMutability: "view";
|
|
1385
3533
|
}, {
|
|
1386
3534
|
readonly type: "function";
|
|
1387
|
-
readonly name: "
|
|
1388
|
-
readonly inputs: readonly [
|
|
1389
|
-
|
|
1390
|
-
readonly name: "";
|
|
3535
|
+
readonly name: "getTickLiquidity";
|
|
3536
|
+
readonly inputs: readonly [{
|
|
3537
|
+
readonly name: "poolManager";
|
|
1391
3538
|
readonly type: "address";
|
|
1392
|
-
readonly internalType: "
|
|
3539
|
+
readonly internalType: "contract IPoolManager";
|
|
3540
|
+
}, {
|
|
3541
|
+
readonly name: "key";
|
|
3542
|
+
readonly type: "tuple";
|
|
3543
|
+
readonly internalType: "struct PoolKey";
|
|
3544
|
+
readonly components: readonly [{
|
|
3545
|
+
readonly name: "currency0";
|
|
3546
|
+
readonly type: "address";
|
|
3547
|
+
readonly internalType: "Currency";
|
|
3548
|
+
}, {
|
|
3549
|
+
readonly name: "currency1";
|
|
3550
|
+
readonly type: "address";
|
|
3551
|
+
readonly internalType: "Currency";
|
|
3552
|
+
}, {
|
|
3553
|
+
readonly name: "fee";
|
|
3554
|
+
readonly type: "uint24";
|
|
3555
|
+
readonly internalType: "uint24";
|
|
3556
|
+
}, {
|
|
3557
|
+
readonly name: "tickSpacing";
|
|
3558
|
+
readonly type: "int24";
|
|
3559
|
+
readonly internalType: "int24";
|
|
3560
|
+
}, {
|
|
3561
|
+
readonly name: "hooks";
|
|
3562
|
+
readonly type: "address";
|
|
3563
|
+
readonly internalType: "contract IHooks";
|
|
3564
|
+
}];
|
|
3565
|
+
}, {
|
|
3566
|
+
readonly name: "tick";
|
|
3567
|
+
readonly type: "int24";
|
|
3568
|
+
readonly internalType: "int24";
|
|
3569
|
+
}];
|
|
3570
|
+
readonly outputs: readonly [{
|
|
3571
|
+
readonly name: "liquidityGross";
|
|
3572
|
+
readonly type: "uint128";
|
|
3573
|
+
readonly internalType: "uint128";
|
|
3574
|
+
}, {
|
|
3575
|
+
readonly name: "liquidityNet";
|
|
3576
|
+
readonly type: "int128";
|
|
3577
|
+
readonly internalType: "int128";
|
|
1393
3578
|
}];
|
|
1394
3579
|
readonly stateMutability: "view";
|
|
1395
3580
|
}, {
|
|
1396
3581
|
readonly type: "function";
|
|
1397
|
-
readonly name: "
|
|
1398
|
-
readonly inputs: readonly [
|
|
1399
|
-
|
|
1400
|
-
readonly name: "";
|
|
3582
|
+
readonly name: "getTickLiquidity";
|
|
3583
|
+
readonly inputs: readonly [{
|
|
3584
|
+
readonly name: "poolManager";
|
|
1401
3585
|
readonly type: "address";
|
|
1402
|
-
readonly internalType: "
|
|
3586
|
+
readonly internalType: "contract IPoolManager";
|
|
3587
|
+
}, {
|
|
3588
|
+
readonly name: "poolId";
|
|
3589
|
+
readonly type: "bytes32";
|
|
3590
|
+
readonly internalType: "PoolId";
|
|
3591
|
+
}, {
|
|
3592
|
+
readonly name: "tick";
|
|
3593
|
+
readonly type: "int24";
|
|
3594
|
+
readonly internalType: "int24";
|
|
3595
|
+
}];
|
|
3596
|
+
readonly outputs: readonly [{
|
|
3597
|
+
readonly name: "liquidityGross";
|
|
3598
|
+
readonly type: "uint128";
|
|
3599
|
+
readonly internalType: "uint128";
|
|
3600
|
+
}, {
|
|
3601
|
+
readonly name: "liquidityNet";
|
|
3602
|
+
readonly type: "int128";
|
|
3603
|
+
readonly internalType: "int128";
|
|
1403
3604
|
}];
|
|
1404
3605
|
readonly stateMutability: "view";
|
|
1405
3606
|
}];
|
|
1406
3607
|
//#endregion
|
|
1407
|
-
export { erc20Abi, lensAbi, optionsMarketAbi,
|
|
3608
|
+
export { erc20Abi, factoryAbi, feeStrategyAbi, guardianAbi, lensAbi, optionsMarketAbi, poolManagerAbi, singleOwnerVaultAbi, statelessStateViewAbi };
|
|
1408
3609
|
//# sourceMappingURL=abis.d.cts.map
|