@defisaver/positions-sdk 2.1.22-dev-savings-2 → 2.1.22-dev-xpl-2

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.
Files changed (143) hide show
  1. package/.mocharc.json +4 -4
  2. package/.nvmrc +1 -1
  3. package/README.md +64 -64
  4. package/cjs/config/contracts.d.ts +0 -149
  5. package/cjs/config/contracts.js +1 -15
  6. package/cjs/contracts.d.ts +0 -1344
  7. package/cjs/contracts.js +1 -20
  8. package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
  9. package/cjs/index.d.ts +1 -2
  10. package/cjs/index.js +1 -3
  11. package/cjs/markets/aave/marketAssets.js +1 -1
  12. package/cjs/types/index.d.ts +0 -1
  13. package/cjs/types/index.js +0 -1
  14. package/esm/config/contracts.d.ts +0 -149
  15. package/esm/config/contracts.js +0 -14
  16. package/esm/contracts.d.ts +0 -1344
  17. package/esm/contracts.js +0 -17
  18. package/esm/helpers/morphoBlueHelpers/index.js +66 -66
  19. package/esm/index.d.ts +1 -2
  20. package/esm/index.js +1 -2
  21. package/esm/markets/aave/marketAssets.js +1 -1
  22. package/esm/types/index.d.ts +0 -1
  23. package/esm/types/index.js +0 -1
  24. package/package.json +47 -48
  25. package/src/aaveV2/index.ts +240 -240
  26. package/src/aaveV3/index.ts +614 -614
  27. package/src/aaveV3/merit.ts +97 -97
  28. package/src/aaveV3/merkl.ts +74 -74
  29. package/src/claiming/aaveV3.ts +154 -154
  30. package/src/claiming/compV3.ts +22 -22
  31. package/src/claiming/index.ts +12 -12
  32. package/src/claiming/king.ts +66 -66
  33. package/src/claiming/morphoBlue.ts +118 -118
  34. package/src/claiming/spark.ts +225 -225
  35. package/src/compoundV2/index.ts +244 -244
  36. package/src/compoundV3/index.ts +274 -274
  37. package/src/config/contracts.ts +1259 -1273
  38. package/src/constants/index.ts +10 -10
  39. package/src/contracts.ts +121 -141
  40. package/src/curveUsd/index.ts +254 -254
  41. package/src/eulerV2/index.ts +324 -324
  42. package/src/exchange/index.ts +25 -25
  43. package/src/fluid/index.ts +1774 -1774
  44. package/src/helpers/aaveHelpers/index.ts +187 -187
  45. package/src/helpers/compoundHelpers/index.ts +283 -283
  46. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  47. package/src/helpers/eulerHelpers/index.ts +222 -222
  48. package/src/helpers/fluidHelpers/index.ts +326 -326
  49. package/src/helpers/index.ts +10 -10
  50. package/src/helpers/liquityV2Helpers/index.ts +82 -82
  51. package/src/helpers/llamaLendHelpers/index.ts +53 -53
  52. package/src/helpers/makerHelpers/index.ts +52 -52
  53. package/src/helpers/morphoBlueHelpers/index.ts +396 -396
  54. package/src/helpers/sparkHelpers/index.ts +158 -158
  55. package/src/index.ts +47 -49
  56. package/src/liquity/index.ts +159 -159
  57. package/src/liquityV2/index.ts +703 -703
  58. package/src/llamaLend/index.ts +305 -305
  59. package/src/maker/index.ts +223 -223
  60. package/src/markets/aave/index.ts +116 -116
  61. package/src/markets/aave/marketAssets.ts +54 -54
  62. package/src/markets/compound/index.ts +238 -238
  63. package/src/markets/compound/marketsAssets.ts +97 -97
  64. package/src/markets/curveUsd/index.ts +69 -69
  65. package/src/markets/euler/index.ts +26 -26
  66. package/src/markets/fluid/index.ts +2900 -2900
  67. package/src/markets/index.ts +25 -25
  68. package/src/markets/liquityV2/index.ts +102 -102
  69. package/src/markets/llamaLend/contractAddresses.ts +141 -141
  70. package/src/markets/llamaLend/index.ts +235 -235
  71. package/src/markets/morphoBlue/index.ts +971 -971
  72. package/src/markets/spark/index.ts +29 -29
  73. package/src/markets/spark/marketAssets.ts +12 -12
  74. package/src/moneymarket/moneymarketCommonService.ts +84 -84
  75. package/src/morphoBlue/index.ts +274 -274
  76. package/src/portfolio/index.ts +572 -572
  77. package/src/services/priceService.ts +278 -278
  78. package/src/services/utils.ts +115 -115
  79. package/src/services/viem.ts +34 -34
  80. package/src/setup.ts +8 -8
  81. package/src/spark/index.ts +456 -456
  82. package/src/staking/eligibility.ts +53 -53
  83. package/src/staking/index.ts +1 -1
  84. package/src/staking/staking.ts +183 -183
  85. package/src/types/aave.ts +189 -189
  86. package/src/types/claiming.ts +109 -109
  87. package/src/types/common.ts +107 -107
  88. package/src/types/compound.ts +136 -136
  89. package/src/types/curveUsd.ts +123 -123
  90. package/src/types/euler.ts +175 -175
  91. package/src/types/fluid.ts +483 -483
  92. package/src/types/index.ts +14 -15
  93. package/src/types/liquity.ts +30 -30
  94. package/src/types/liquityV2.ts +126 -126
  95. package/src/types/llamaLend.ts +159 -159
  96. package/src/types/maker.ts +63 -63
  97. package/src/types/merit.ts +1 -1
  98. package/src/types/merkl.ts +70 -70
  99. package/src/types/morphoBlue.ts +200 -200
  100. package/src/types/portfolio.ts +60 -60
  101. package/src/types/spark.ts +133 -133
  102. package/src/umbrella/index.ts +69 -69
  103. package/src/umbrella/umbrellaUtils.ts +29 -29
  104. package/cjs/savings/index.d.ts +0 -6
  105. package/cjs/savings/index.js +0 -71
  106. package/cjs/savings/morphoVaults/index.d.ts +0 -7
  107. package/cjs/savings/morphoVaults/index.js +0 -116
  108. package/cjs/savings/morphoVaults/options.d.ts +0 -16
  109. package/cjs/savings/morphoVaults/options.js +0 -99
  110. package/cjs/savings/yearnVaults/index.d.ts +0 -7
  111. package/cjs/savings/yearnVaults/index.js +0 -95
  112. package/cjs/savings/yearnVaults/options.d.ts +0 -6
  113. package/cjs/savings/yearnVaults/options.js +0 -26
  114. package/cjs/types/savings/index.d.ts +0 -18
  115. package/cjs/types/savings/index.js +0 -18
  116. package/cjs/types/savings/morphoVaults.d.ts +0 -22
  117. package/cjs/types/savings/morphoVaults.js +0 -19
  118. package/cjs/types/savings/yearnVaults.d.ts +0 -11
  119. package/cjs/types/savings/yearnVaults.js +0 -9
  120. package/esm/savings/index.d.ts +0 -6
  121. package/esm/savings/index.js +0 -33
  122. package/esm/savings/morphoVaults/index.d.ts +0 -7
  123. package/esm/savings/morphoVaults/index.js +0 -75
  124. package/esm/savings/morphoVaults/options.d.ts +0 -16
  125. package/esm/savings/morphoVaults/options.js +0 -95
  126. package/esm/savings/yearnVaults/index.d.ts +0 -7
  127. package/esm/savings/yearnVaults/index.js +0 -54
  128. package/esm/savings/yearnVaults/options.d.ts +0 -6
  129. package/esm/savings/yearnVaults/options.js +0 -22
  130. package/esm/types/savings/index.d.ts +0 -18
  131. package/esm/types/savings/index.js +0 -2
  132. package/esm/types/savings/morphoVaults.d.ts +0 -22
  133. package/esm/types/savings/morphoVaults.js +0 -16
  134. package/esm/types/savings/yearnVaults.d.ts +0 -11
  135. package/esm/types/savings/yearnVaults.js +0 -6
  136. package/src/savings/index.ts +0 -38
  137. package/src/savings/morphoVaults/index.ts +0 -79
  138. package/src/savings/morphoVaults/options.ts +0 -110
  139. package/src/savings/yearnVaults/index.ts +0 -56
  140. package/src/savings/yearnVaults/options.ts +0 -27
  141. package/src/types/savings/index.ts +0 -21
  142. package/src/types/savings/morphoVaults.ts +0 -24
  143. package/src/types/savings/yearnVaults.ts +0 -13
@@ -248,1315 +248,6 @@ export declare const createViemContractFromConfigFunc: <TKey extends ConfigKey>(
248
248
  address: `0x${string}`;
249
249
  abi: (typeof configRaw)[TKey]["abi"];
250
250
  } extends infer T ? { [K in keyof T]: T[K]; } : never;
251
- export declare const getMorphoVaultContractViem: (client: Client, address: HexString) => {
252
- read: {
253
- totalSupply: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
254
- readonly inputs: readonly [];
255
- readonly name: "acceptTimelock";
256
- readonly outputs: readonly [];
257
- readonly stateMutability: "nonpayable";
258
- readonly type: "function";
259
- }, {
260
- readonly inputs: readonly [{
261
- readonly internalType: "address";
262
- readonly name: "account";
263
- readonly type: "address";
264
- }];
265
- readonly name: "balanceOf";
266
- readonly outputs: readonly [{
267
- readonly internalType: "uint256";
268
- readonly name: "";
269
- readonly type: "uint256";
270
- }];
271
- readonly stateMutability: "view";
272
- readonly type: "function";
273
- }, {
274
- readonly inputs: readonly [{
275
- readonly internalType: "uint256";
276
- readonly name: "shares";
277
- readonly type: "uint256";
278
- }];
279
- readonly name: "convertToAssets";
280
- readonly outputs: readonly [{
281
- readonly internalType: "uint256";
282
- readonly name: "";
283
- readonly type: "uint256";
284
- }];
285
- readonly stateMutability: "view";
286
- readonly type: "function";
287
- }, {
288
- readonly inputs: readonly [];
289
- readonly name: "decimals";
290
- readonly outputs: readonly [{
291
- readonly internalType: "uint8";
292
- readonly name: "";
293
- readonly type: "uint8";
294
- }];
295
- readonly stateMutability: "view";
296
- readonly type: "function";
297
- }, {
298
- readonly inputs: readonly [];
299
- readonly name: "DECIMALS_OFFSET";
300
- readonly outputs: readonly [{
301
- readonly internalType: "uint8";
302
- readonly name: "";
303
- readonly type: "uint8";
304
- }];
305
- readonly stateMutability: "view";
306
- readonly type: "function";
307
- }, {
308
- readonly inputs: readonly [{
309
- readonly internalType: "uint256";
310
- readonly name: "shares";
311
- readonly type: "uint256";
312
- }];
313
- readonly name: "previewRedeem";
314
- readonly outputs: readonly [{
315
- readonly internalType: "uint256";
316
- readonly name: "";
317
- readonly type: "uint256";
318
- }];
319
- readonly stateMutability: "view";
320
- readonly type: "function";
321
- }, {
322
- readonly inputs: readonly [];
323
- readonly name: "totalAssets";
324
- readonly outputs: readonly [{
325
- readonly internalType: "uint256";
326
- readonly name: "";
327
- readonly type: "uint256";
328
- }];
329
- readonly stateMutability: "view";
330
- readonly type: "function";
331
- }, {
332
- readonly inputs: readonly [];
333
- readonly name: "totalSupply";
334
- readonly outputs: readonly [{
335
- readonly internalType: "uint256";
336
- readonly name: "";
337
- readonly type: "uint256";
338
- }];
339
- readonly stateMutability: "view";
340
- readonly type: "function";
341
- }], "totalSupply", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
342
- decimals: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
343
- readonly inputs: readonly [];
344
- readonly name: "acceptTimelock";
345
- readonly outputs: readonly [];
346
- readonly stateMutability: "nonpayable";
347
- readonly type: "function";
348
- }, {
349
- readonly inputs: readonly [{
350
- readonly internalType: "address";
351
- readonly name: "account";
352
- readonly type: "address";
353
- }];
354
- readonly name: "balanceOf";
355
- readonly outputs: readonly [{
356
- readonly internalType: "uint256";
357
- readonly name: "";
358
- readonly type: "uint256";
359
- }];
360
- readonly stateMutability: "view";
361
- readonly type: "function";
362
- }, {
363
- readonly inputs: readonly [{
364
- readonly internalType: "uint256";
365
- readonly name: "shares";
366
- readonly type: "uint256";
367
- }];
368
- readonly name: "convertToAssets";
369
- readonly outputs: readonly [{
370
- readonly internalType: "uint256";
371
- readonly name: "";
372
- readonly type: "uint256";
373
- }];
374
- readonly stateMutability: "view";
375
- readonly type: "function";
376
- }, {
377
- readonly inputs: readonly [];
378
- readonly name: "decimals";
379
- readonly outputs: readonly [{
380
- readonly internalType: "uint8";
381
- readonly name: "";
382
- readonly type: "uint8";
383
- }];
384
- readonly stateMutability: "view";
385
- readonly type: "function";
386
- }, {
387
- readonly inputs: readonly [];
388
- readonly name: "DECIMALS_OFFSET";
389
- readonly outputs: readonly [{
390
- readonly internalType: "uint8";
391
- readonly name: "";
392
- readonly type: "uint8";
393
- }];
394
- readonly stateMutability: "view";
395
- readonly type: "function";
396
- }, {
397
- readonly inputs: readonly [{
398
- readonly internalType: "uint256";
399
- readonly name: "shares";
400
- readonly type: "uint256";
401
- }];
402
- readonly name: "previewRedeem";
403
- readonly outputs: readonly [{
404
- readonly internalType: "uint256";
405
- readonly name: "";
406
- readonly type: "uint256";
407
- }];
408
- readonly stateMutability: "view";
409
- readonly type: "function";
410
- }, {
411
- readonly inputs: readonly [];
412
- readonly name: "totalAssets";
413
- readonly outputs: readonly [{
414
- readonly internalType: "uint256";
415
- readonly name: "";
416
- readonly type: "uint256";
417
- }];
418
- readonly stateMutability: "view";
419
- readonly type: "function";
420
- }, {
421
- readonly inputs: readonly [];
422
- readonly name: "totalSupply";
423
- readonly outputs: readonly [{
424
- readonly internalType: "uint256";
425
- readonly name: "";
426
- readonly type: "uint256";
427
- }];
428
- readonly stateMutability: "view";
429
- readonly type: "function";
430
- }], "decimals", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<number>;
431
- balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
432
- readonly inputs: readonly [];
433
- readonly name: "acceptTimelock";
434
- readonly outputs: readonly [];
435
- readonly stateMutability: "nonpayable";
436
- readonly type: "function";
437
- }, {
438
- readonly inputs: readonly [{
439
- readonly internalType: "address";
440
- readonly name: "account";
441
- readonly type: "address";
442
- }];
443
- readonly name: "balanceOf";
444
- readonly outputs: readonly [{
445
- readonly internalType: "uint256";
446
- readonly name: "";
447
- readonly type: "uint256";
448
- }];
449
- readonly stateMutability: "view";
450
- readonly type: "function";
451
- }, {
452
- readonly inputs: readonly [{
453
- readonly internalType: "uint256";
454
- readonly name: "shares";
455
- readonly type: "uint256";
456
- }];
457
- readonly name: "convertToAssets";
458
- readonly outputs: readonly [{
459
- readonly internalType: "uint256";
460
- readonly name: "";
461
- readonly type: "uint256";
462
- }];
463
- readonly stateMutability: "view";
464
- readonly type: "function";
465
- }, {
466
- readonly inputs: readonly [];
467
- readonly name: "decimals";
468
- readonly outputs: readonly [{
469
- readonly internalType: "uint8";
470
- readonly name: "";
471
- readonly type: "uint8";
472
- }];
473
- readonly stateMutability: "view";
474
- readonly type: "function";
475
- }, {
476
- readonly inputs: readonly [];
477
- readonly name: "DECIMALS_OFFSET";
478
- readonly outputs: readonly [{
479
- readonly internalType: "uint8";
480
- readonly name: "";
481
- readonly type: "uint8";
482
- }];
483
- readonly stateMutability: "view";
484
- readonly type: "function";
485
- }, {
486
- readonly inputs: readonly [{
487
- readonly internalType: "uint256";
488
- readonly name: "shares";
489
- readonly type: "uint256";
490
- }];
491
- readonly name: "previewRedeem";
492
- readonly outputs: readonly [{
493
- readonly internalType: "uint256";
494
- readonly name: "";
495
- readonly type: "uint256";
496
- }];
497
- readonly stateMutability: "view";
498
- readonly type: "function";
499
- }, {
500
- readonly inputs: readonly [];
501
- readonly name: "totalAssets";
502
- readonly outputs: readonly [{
503
- readonly internalType: "uint256";
504
- readonly name: "";
505
- readonly type: "uint256";
506
- }];
507
- readonly stateMutability: "view";
508
- readonly type: "function";
509
- }, {
510
- readonly inputs: readonly [];
511
- readonly name: "totalSupply";
512
- readonly outputs: readonly [{
513
- readonly internalType: "uint256";
514
- readonly name: "";
515
- readonly type: "uint256";
516
- }];
517
- readonly stateMutability: "view";
518
- readonly type: "function";
519
- }], "balanceOf", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
520
- totalAssets: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
521
- readonly inputs: readonly [];
522
- readonly name: "acceptTimelock";
523
- readonly outputs: readonly [];
524
- readonly stateMutability: "nonpayable";
525
- readonly type: "function";
526
- }, {
527
- readonly inputs: readonly [{
528
- readonly internalType: "address";
529
- readonly name: "account";
530
- readonly type: "address";
531
- }];
532
- readonly name: "balanceOf";
533
- readonly outputs: readonly [{
534
- readonly internalType: "uint256";
535
- readonly name: "";
536
- readonly type: "uint256";
537
- }];
538
- readonly stateMutability: "view";
539
- readonly type: "function";
540
- }, {
541
- readonly inputs: readonly [{
542
- readonly internalType: "uint256";
543
- readonly name: "shares";
544
- readonly type: "uint256";
545
- }];
546
- readonly name: "convertToAssets";
547
- readonly outputs: readonly [{
548
- readonly internalType: "uint256";
549
- readonly name: "";
550
- readonly type: "uint256";
551
- }];
552
- readonly stateMutability: "view";
553
- readonly type: "function";
554
- }, {
555
- readonly inputs: readonly [];
556
- readonly name: "decimals";
557
- readonly outputs: readonly [{
558
- readonly internalType: "uint8";
559
- readonly name: "";
560
- readonly type: "uint8";
561
- }];
562
- readonly stateMutability: "view";
563
- readonly type: "function";
564
- }, {
565
- readonly inputs: readonly [];
566
- readonly name: "DECIMALS_OFFSET";
567
- readonly outputs: readonly [{
568
- readonly internalType: "uint8";
569
- readonly name: "";
570
- readonly type: "uint8";
571
- }];
572
- readonly stateMutability: "view";
573
- readonly type: "function";
574
- }, {
575
- readonly inputs: readonly [{
576
- readonly internalType: "uint256";
577
- readonly name: "shares";
578
- readonly type: "uint256";
579
- }];
580
- readonly name: "previewRedeem";
581
- readonly outputs: readonly [{
582
- readonly internalType: "uint256";
583
- readonly name: "";
584
- readonly type: "uint256";
585
- }];
586
- readonly stateMutability: "view";
587
- readonly type: "function";
588
- }, {
589
- readonly inputs: readonly [];
590
- readonly name: "totalAssets";
591
- readonly outputs: readonly [{
592
- readonly internalType: "uint256";
593
- readonly name: "";
594
- readonly type: "uint256";
595
- }];
596
- readonly stateMutability: "view";
597
- readonly type: "function";
598
- }, {
599
- readonly inputs: readonly [];
600
- readonly name: "totalSupply";
601
- readonly outputs: readonly [{
602
- readonly internalType: "uint256";
603
- readonly name: "";
604
- readonly type: "uint256";
605
- }];
606
- readonly stateMutability: "view";
607
- readonly type: "function";
608
- }], "totalAssets", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
609
- convertToAssets: (args: readonly [bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
610
- readonly inputs: readonly [];
611
- readonly name: "acceptTimelock";
612
- readonly outputs: readonly [];
613
- readonly stateMutability: "nonpayable";
614
- readonly type: "function";
615
- }, {
616
- readonly inputs: readonly [{
617
- readonly internalType: "address";
618
- readonly name: "account";
619
- readonly type: "address";
620
- }];
621
- readonly name: "balanceOf";
622
- readonly outputs: readonly [{
623
- readonly internalType: "uint256";
624
- readonly name: "";
625
- readonly type: "uint256";
626
- }];
627
- readonly stateMutability: "view";
628
- readonly type: "function";
629
- }, {
630
- readonly inputs: readonly [{
631
- readonly internalType: "uint256";
632
- readonly name: "shares";
633
- readonly type: "uint256";
634
- }];
635
- readonly name: "convertToAssets";
636
- readonly outputs: readonly [{
637
- readonly internalType: "uint256";
638
- readonly name: "";
639
- readonly type: "uint256";
640
- }];
641
- readonly stateMutability: "view";
642
- readonly type: "function";
643
- }, {
644
- readonly inputs: readonly [];
645
- readonly name: "decimals";
646
- readonly outputs: readonly [{
647
- readonly internalType: "uint8";
648
- readonly name: "";
649
- readonly type: "uint8";
650
- }];
651
- readonly stateMutability: "view";
652
- readonly type: "function";
653
- }, {
654
- readonly inputs: readonly [];
655
- readonly name: "DECIMALS_OFFSET";
656
- readonly outputs: readonly [{
657
- readonly internalType: "uint8";
658
- readonly name: "";
659
- readonly type: "uint8";
660
- }];
661
- readonly stateMutability: "view";
662
- readonly type: "function";
663
- }, {
664
- readonly inputs: readonly [{
665
- readonly internalType: "uint256";
666
- readonly name: "shares";
667
- readonly type: "uint256";
668
- }];
669
- readonly name: "previewRedeem";
670
- readonly outputs: readonly [{
671
- readonly internalType: "uint256";
672
- readonly name: "";
673
- readonly type: "uint256";
674
- }];
675
- readonly stateMutability: "view";
676
- readonly type: "function";
677
- }, {
678
- readonly inputs: readonly [];
679
- readonly name: "totalAssets";
680
- readonly outputs: readonly [{
681
- readonly internalType: "uint256";
682
- readonly name: "";
683
- readonly type: "uint256";
684
- }];
685
- readonly stateMutability: "view";
686
- readonly type: "function";
687
- }, {
688
- readonly inputs: readonly [];
689
- readonly name: "totalSupply";
690
- readonly outputs: readonly [{
691
- readonly internalType: "uint256";
692
- readonly name: "";
693
- readonly type: "uint256";
694
- }];
695
- readonly stateMutability: "view";
696
- readonly type: "function";
697
- }], "convertToAssets", readonly [bigint]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
698
- previewRedeem: (args: readonly [bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
699
- readonly inputs: readonly [];
700
- readonly name: "acceptTimelock";
701
- readonly outputs: readonly [];
702
- readonly stateMutability: "nonpayable";
703
- readonly type: "function";
704
- }, {
705
- readonly inputs: readonly [{
706
- readonly internalType: "address";
707
- readonly name: "account";
708
- readonly type: "address";
709
- }];
710
- readonly name: "balanceOf";
711
- readonly outputs: readonly [{
712
- readonly internalType: "uint256";
713
- readonly name: "";
714
- readonly type: "uint256";
715
- }];
716
- readonly stateMutability: "view";
717
- readonly type: "function";
718
- }, {
719
- readonly inputs: readonly [{
720
- readonly internalType: "uint256";
721
- readonly name: "shares";
722
- readonly type: "uint256";
723
- }];
724
- readonly name: "convertToAssets";
725
- readonly outputs: readonly [{
726
- readonly internalType: "uint256";
727
- readonly name: "";
728
- readonly type: "uint256";
729
- }];
730
- readonly stateMutability: "view";
731
- readonly type: "function";
732
- }, {
733
- readonly inputs: readonly [];
734
- readonly name: "decimals";
735
- readonly outputs: readonly [{
736
- readonly internalType: "uint8";
737
- readonly name: "";
738
- readonly type: "uint8";
739
- }];
740
- readonly stateMutability: "view";
741
- readonly type: "function";
742
- }, {
743
- readonly inputs: readonly [];
744
- readonly name: "DECIMALS_OFFSET";
745
- readonly outputs: readonly [{
746
- readonly internalType: "uint8";
747
- readonly name: "";
748
- readonly type: "uint8";
749
- }];
750
- readonly stateMutability: "view";
751
- readonly type: "function";
752
- }, {
753
- readonly inputs: readonly [{
754
- readonly internalType: "uint256";
755
- readonly name: "shares";
756
- readonly type: "uint256";
757
- }];
758
- readonly name: "previewRedeem";
759
- readonly outputs: readonly [{
760
- readonly internalType: "uint256";
761
- readonly name: "";
762
- readonly type: "uint256";
763
- }];
764
- readonly stateMutability: "view";
765
- readonly type: "function";
766
- }, {
767
- readonly inputs: readonly [];
768
- readonly name: "totalAssets";
769
- readonly outputs: readonly [{
770
- readonly internalType: "uint256";
771
- readonly name: "";
772
- readonly type: "uint256";
773
- }];
774
- readonly stateMutability: "view";
775
- readonly type: "function";
776
- }, {
777
- readonly inputs: readonly [];
778
- readonly name: "totalSupply";
779
- readonly outputs: readonly [{
780
- readonly internalType: "uint256";
781
- readonly name: "";
782
- readonly type: "uint256";
783
- }];
784
- readonly stateMutability: "view";
785
- readonly type: "function";
786
- }], "previewRedeem", readonly [bigint]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
787
- DECIMALS_OFFSET: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
788
- readonly inputs: readonly [];
789
- readonly name: "acceptTimelock";
790
- readonly outputs: readonly [];
791
- readonly stateMutability: "nonpayable";
792
- readonly type: "function";
793
- }, {
794
- readonly inputs: readonly [{
795
- readonly internalType: "address";
796
- readonly name: "account";
797
- readonly type: "address";
798
- }];
799
- readonly name: "balanceOf";
800
- readonly outputs: readonly [{
801
- readonly internalType: "uint256";
802
- readonly name: "";
803
- readonly type: "uint256";
804
- }];
805
- readonly stateMutability: "view";
806
- readonly type: "function";
807
- }, {
808
- readonly inputs: readonly [{
809
- readonly internalType: "uint256";
810
- readonly name: "shares";
811
- readonly type: "uint256";
812
- }];
813
- readonly name: "convertToAssets";
814
- readonly outputs: readonly [{
815
- readonly internalType: "uint256";
816
- readonly name: "";
817
- readonly type: "uint256";
818
- }];
819
- readonly stateMutability: "view";
820
- readonly type: "function";
821
- }, {
822
- readonly inputs: readonly [];
823
- readonly name: "decimals";
824
- readonly outputs: readonly [{
825
- readonly internalType: "uint8";
826
- readonly name: "";
827
- readonly type: "uint8";
828
- }];
829
- readonly stateMutability: "view";
830
- readonly type: "function";
831
- }, {
832
- readonly inputs: readonly [];
833
- readonly name: "DECIMALS_OFFSET";
834
- readonly outputs: readonly [{
835
- readonly internalType: "uint8";
836
- readonly name: "";
837
- readonly type: "uint8";
838
- }];
839
- readonly stateMutability: "view";
840
- readonly type: "function";
841
- }, {
842
- readonly inputs: readonly [{
843
- readonly internalType: "uint256";
844
- readonly name: "shares";
845
- readonly type: "uint256";
846
- }];
847
- readonly name: "previewRedeem";
848
- readonly outputs: readonly [{
849
- readonly internalType: "uint256";
850
- readonly name: "";
851
- readonly type: "uint256";
852
- }];
853
- readonly stateMutability: "view";
854
- readonly type: "function";
855
- }, {
856
- readonly inputs: readonly [];
857
- readonly name: "totalAssets";
858
- readonly outputs: readonly [{
859
- readonly internalType: "uint256";
860
- readonly name: "";
861
- readonly type: "uint256";
862
- }];
863
- readonly stateMutability: "view";
864
- readonly type: "function";
865
- }, {
866
- readonly inputs: readonly [];
867
- readonly name: "totalSupply";
868
- readonly outputs: readonly [{
869
- readonly internalType: "uint256";
870
- readonly name: "";
871
- readonly type: "uint256";
872
- }];
873
- readonly stateMutability: "view";
874
- readonly type: "function";
875
- }], "DECIMALS_OFFSET", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<number>;
876
- };
877
- estimateGas: {
878
- acceptTimelock: (options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
879
- readonly inputs: readonly [];
880
- readonly name: "acceptTimelock";
881
- readonly outputs: readonly [];
882
- readonly stateMutability: "nonpayable";
883
- readonly type: "function";
884
- }, {
885
- readonly inputs: readonly [{
886
- readonly internalType: "address";
887
- readonly name: "account";
888
- readonly type: "address";
889
- }];
890
- readonly name: "balanceOf";
891
- readonly outputs: readonly [{
892
- readonly internalType: "uint256";
893
- readonly name: "";
894
- readonly type: "uint256";
895
- }];
896
- readonly stateMutability: "view";
897
- readonly type: "function";
898
- }, {
899
- readonly inputs: readonly [{
900
- readonly internalType: "uint256";
901
- readonly name: "shares";
902
- readonly type: "uint256";
903
- }];
904
- readonly name: "convertToAssets";
905
- readonly outputs: readonly [{
906
- readonly internalType: "uint256";
907
- readonly name: "";
908
- readonly type: "uint256";
909
- }];
910
- readonly stateMutability: "view";
911
- readonly type: "function";
912
- }, {
913
- readonly inputs: readonly [];
914
- readonly name: "decimals";
915
- readonly outputs: readonly [{
916
- readonly internalType: "uint8";
917
- readonly name: "";
918
- readonly type: "uint8";
919
- }];
920
- readonly stateMutability: "view";
921
- readonly type: "function";
922
- }, {
923
- readonly inputs: readonly [];
924
- readonly name: "DECIMALS_OFFSET";
925
- readonly outputs: readonly [{
926
- readonly internalType: "uint8";
927
- readonly name: "";
928
- readonly type: "uint8";
929
- }];
930
- readonly stateMutability: "view";
931
- readonly type: "function";
932
- }, {
933
- readonly inputs: readonly [{
934
- readonly internalType: "uint256";
935
- readonly name: "shares";
936
- readonly type: "uint256";
937
- }];
938
- readonly name: "previewRedeem";
939
- readonly outputs: readonly [{
940
- readonly internalType: "uint256";
941
- readonly name: "";
942
- readonly type: "uint256";
943
- }];
944
- readonly stateMutability: "view";
945
- readonly type: "function";
946
- }, {
947
- readonly inputs: readonly [];
948
- readonly name: "totalAssets";
949
- readonly outputs: readonly [{
950
- readonly internalType: "uint256";
951
- readonly name: "";
952
- readonly type: "uint256";
953
- }];
954
- readonly stateMutability: "view";
955
- readonly type: "function";
956
- }, {
957
- readonly inputs: readonly [];
958
- readonly name: "totalSupply";
959
- readonly outputs: readonly [{
960
- readonly internalType: "uint256";
961
- readonly name: "";
962
- readonly type: "uint256";
963
- }];
964
- readonly stateMutability: "view";
965
- readonly type: "function";
966
- }], "acceptTimelock", readonly [], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
967
- } & {
968
- acceptTimelock: (options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
969
- readonly inputs: readonly [];
970
- readonly name: "acceptTimelock";
971
- readonly outputs: readonly [];
972
- readonly stateMutability: "nonpayable";
973
- readonly type: "function";
974
- }, {
975
- readonly inputs: readonly [{
976
- readonly internalType: "address";
977
- readonly name: "account";
978
- readonly type: "address";
979
- }];
980
- readonly name: "balanceOf";
981
- readonly outputs: readonly [{
982
- readonly internalType: "uint256";
983
- readonly name: "";
984
- readonly type: "uint256";
985
- }];
986
- readonly stateMutability: "view";
987
- readonly type: "function";
988
- }, {
989
- readonly inputs: readonly [{
990
- readonly internalType: "uint256";
991
- readonly name: "shares";
992
- readonly type: "uint256";
993
- }];
994
- readonly name: "convertToAssets";
995
- readonly outputs: readonly [{
996
- readonly internalType: "uint256";
997
- readonly name: "";
998
- readonly type: "uint256";
999
- }];
1000
- readonly stateMutability: "view";
1001
- readonly type: "function";
1002
- }, {
1003
- readonly inputs: readonly [];
1004
- readonly name: "decimals";
1005
- readonly outputs: readonly [{
1006
- readonly internalType: "uint8";
1007
- readonly name: "";
1008
- readonly type: "uint8";
1009
- }];
1010
- readonly stateMutability: "view";
1011
- readonly type: "function";
1012
- }, {
1013
- readonly inputs: readonly [];
1014
- readonly name: "DECIMALS_OFFSET";
1015
- readonly outputs: readonly [{
1016
- readonly internalType: "uint8";
1017
- readonly name: "";
1018
- readonly type: "uint8";
1019
- }];
1020
- readonly stateMutability: "view";
1021
- readonly type: "function";
1022
- }, {
1023
- readonly inputs: readonly [{
1024
- readonly internalType: "uint256";
1025
- readonly name: "shares";
1026
- readonly type: "uint256";
1027
- }];
1028
- readonly name: "previewRedeem";
1029
- readonly outputs: readonly [{
1030
- readonly internalType: "uint256";
1031
- readonly name: "";
1032
- readonly type: "uint256";
1033
- }];
1034
- readonly stateMutability: "view";
1035
- readonly type: "function";
1036
- }, {
1037
- readonly inputs: readonly [];
1038
- readonly name: "totalAssets";
1039
- readonly outputs: readonly [{
1040
- readonly internalType: "uint256";
1041
- readonly name: "";
1042
- readonly type: "uint256";
1043
- }];
1044
- readonly stateMutability: "view";
1045
- readonly type: "function";
1046
- }, {
1047
- readonly inputs: readonly [];
1048
- readonly name: "totalSupply";
1049
- readonly outputs: readonly [{
1050
- readonly internalType: "uint256";
1051
- readonly name: "";
1052
- readonly type: "uint256";
1053
- }];
1054
- readonly stateMutability: "view";
1055
- readonly type: "function";
1056
- }], "acceptTimelock", readonly [], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
1057
- };
1058
- simulate: {
1059
- acceptTimelock: <chainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem").Account | import("viem").Address | undefined = undefined>(options?: Omit<import("viem").SimulateContractParameters<readonly [{
1060
- readonly inputs: readonly [];
1061
- readonly name: "acceptTimelock";
1062
- readonly outputs: readonly [];
1063
- readonly stateMutability: "nonpayable";
1064
- readonly type: "function";
1065
- }, {
1066
- readonly inputs: readonly [{
1067
- readonly internalType: "address";
1068
- readonly name: "account";
1069
- readonly type: "address";
1070
- }];
1071
- readonly name: "balanceOf";
1072
- readonly outputs: readonly [{
1073
- readonly internalType: "uint256";
1074
- readonly name: "";
1075
- readonly type: "uint256";
1076
- }];
1077
- readonly stateMutability: "view";
1078
- readonly type: "function";
1079
- }, {
1080
- readonly inputs: readonly [{
1081
- readonly internalType: "uint256";
1082
- readonly name: "shares";
1083
- readonly type: "uint256";
1084
- }];
1085
- readonly name: "convertToAssets";
1086
- readonly outputs: readonly [{
1087
- readonly internalType: "uint256";
1088
- readonly name: "";
1089
- readonly type: "uint256";
1090
- }];
1091
- readonly stateMutability: "view";
1092
- readonly type: "function";
1093
- }, {
1094
- readonly inputs: readonly [];
1095
- readonly name: "decimals";
1096
- readonly outputs: readonly [{
1097
- readonly internalType: "uint8";
1098
- readonly name: "";
1099
- readonly type: "uint8";
1100
- }];
1101
- readonly stateMutability: "view";
1102
- readonly type: "function";
1103
- }, {
1104
- readonly inputs: readonly [];
1105
- readonly name: "DECIMALS_OFFSET";
1106
- readonly outputs: readonly [{
1107
- readonly internalType: "uint8";
1108
- readonly name: "";
1109
- readonly type: "uint8";
1110
- }];
1111
- readonly stateMutability: "view";
1112
- readonly type: "function";
1113
- }, {
1114
- readonly inputs: readonly [{
1115
- readonly internalType: "uint256";
1116
- readonly name: "shares";
1117
- readonly type: "uint256";
1118
- }];
1119
- readonly name: "previewRedeem";
1120
- readonly outputs: readonly [{
1121
- readonly internalType: "uint256";
1122
- readonly name: "";
1123
- readonly type: "uint256";
1124
- }];
1125
- readonly stateMutability: "view";
1126
- readonly type: "function";
1127
- }, {
1128
- readonly inputs: readonly [];
1129
- readonly name: "totalAssets";
1130
- readonly outputs: readonly [{
1131
- readonly internalType: "uint256";
1132
- readonly name: "";
1133
- readonly type: "uint256";
1134
- }];
1135
- readonly stateMutability: "view";
1136
- readonly type: "function";
1137
- }, {
1138
- readonly inputs: readonly [];
1139
- readonly name: "totalSupply";
1140
- readonly outputs: readonly [{
1141
- readonly internalType: "uint256";
1142
- readonly name: "";
1143
- readonly type: "uint256";
1144
- }];
1145
- readonly stateMutability: "view";
1146
- readonly type: "function";
1147
- }], "acceptTimelock", readonly [], import("viem").Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
1148
- readonly inputs: readonly [];
1149
- readonly name: "acceptTimelock";
1150
- readonly outputs: readonly [];
1151
- readonly stateMutability: "nonpayable";
1152
- readonly type: "function";
1153
- }, {
1154
- readonly inputs: readonly [{
1155
- readonly internalType: "address";
1156
- readonly name: "account";
1157
- readonly type: "address";
1158
- }];
1159
- readonly name: "balanceOf";
1160
- readonly outputs: readonly [{
1161
- readonly internalType: "uint256";
1162
- readonly name: "";
1163
- readonly type: "uint256";
1164
- }];
1165
- readonly stateMutability: "view";
1166
- readonly type: "function";
1167
- }, {
1168
- readonly inputs: readonly [{
1169
- readonly internalType: "uint256";
1170
- readonly name: "shares";
1171
- readonly type: "uint256";
1172
- }];
1173
- readonly name: "convertToAssets";
1174
- readonly outputs: readonly [{
1175
- readonly internalType: "uint256";
1176
- readonly name: "";
1177
- readonly type: "uint256";
1178
- }];
1179
- readonly stateMutability: "view";
1180
- readonly type: "function";
1181
- }, {
1182
- readonly inputs: readonly [];
1183
- readonly name: "decimals";
1184
- readonly outputs: readonly [{
1185
- readonly internalType: "uint8";
1186
- readonly name: "";
1187
- readonly type: "uint8";
1188
- }];
1189
- readonly stateMutability: "view";
1190
- readonly type: "function";
1191
- }, {
1192
- readonly inputs: readonly [];
1193
- readonly name: "DECIMALS_OFFSET";
1194
- readonly outputs: readonly [{
1195
- readonly internalType: "uint8";
1196
- readonly name: "";
1197
- readonly type: "uint8";
1198
- }];
1199
- readonly stateMutability: "view";
1200
- readonly type: "function";
1201
- }, {
1202
- readonly inputs: readonly [{
1203
- readonly internalType: "uint256";
1204
- readonly name: "shares";
1205
- readonly type: "uint256";
1206
- }];
1207
- readonly name: "previewRedeem";
1208
- readonly outputs: readonly [{
1209
- readonly internalType: "uint256";
1210
- readonly name: "";
1211
- readonly type: "uint256";
1212
- }];
1213
- readonly stateMutability: "view";
1214
- readonly type: "function";
1215
- }, {
1216
- readonly inputs: readonly [];
1217
- readonly name: "totalAssets";
1218
- readonly outputs: readonly [{
1219
- readonly internalType: "uint256";
1220
- readonly name: "";
1221
- readonly type: "uint256";
1222
- }];
1223
- readonly stateMutability: "view";
1224
- readonly type: "function";
1225
- }, {
1226
- readonly inputs: readonly [];
1227
- readonly name: "totalSupply";
1228
- readonly outputs: readonly [{
1229
- readonly internalType: "uint256";
1230
- readonly name: "";
1231
- readonly type: "uint256";
1232
- }];
1233
- readonly stateMutability: "view";
1234
- readonly type: "function";
1235
- }], "acceptTimelock", readonly [], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride, accountOverride>>;
1236
- };
1237
- write: {
1238
- acceptTimelock: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
1239
- readonly inputs: readonly [];
1240
- readonly name: "acceptTimelock";
1241
- readonly outputs: readonly [];
1242
- readonly stateMutability: "nonpayable";
1243
- readonly type: "function";
1244
- }, {
1245
- readonly inputs: readonly [{
1246
- readonly internalType: "address";
1247
- readonly name: "account";
1248
- readonly type: "address";
1249
- }];
1250
- readonly name: "balanceOf";
1251
- readonly outputs: readonly [{
1252
- readonly internalType: "uint256";
1253
- readonly name: "";
1254
- readonly type: "uint256";
1255
- }];
1256
- readonly stateMutability: "view";
1257
- readonly type: "function";
1258
- }, {
1259
- readonly inputs: readonly [{
1260
- readonly internalType: "uint256";
1261
- readonly name: "shares";
1262
- readonly type: "uint256";
1263
- }];
1264
- readonly name: "convertToAssets";
1265
- readonly outputs: readonly [{
1266
- readonly internalType: "uint256";
1267
- readonly name: "";
1268
- readonly type: "uint256";
1269
- }];
1270
- readonly stateMutability: "view";
1271
- readonly type: "function";
1272
- }, {
1273
- readonly inputs: readonly [];
1274
- readonly name: "decimals";
1275
- readonly outputs: readonly [{
1276
- readonly internalType: "uint8";
1277
- readonly name: "";
1278
- readonly type: "uint8";
1279
- }];
1280
- readonly stateMutability: "view";
1281
- readonly type: "function";
1282
- }, {
1283
- readonly inputs: readonly [];
1284
- readonly name: "DECIMALS_OFFSET";
1285
- readonly outputs: readonly [{
1286
- readonly internalType: "uint8";
1287
- readonly name: "";
1288
- readonly type: "uint8";
1289
- }];
1290
- readonly stateMutability: "view";
1291
- readonly type: "function";
1292
- }, {
1293
- readonly inputs: readonly [{
1294
- readonly internalType: "uint256";
1295
- readonly name: "shares";
1296
- readonly type: "uint256";
1297
- }];
1298
- readonly name: "previewRedeem";
1299
- readonly outputs: readonly [{
1300
- readonly internalType: "uint256";
1301
- readonly name: "";
1302
- readonly type: "uint256";
1303
- }];
1304
- readonly stateMutability: "view";
1305
- readonly type: "function";
1306
- }, {
1307
- readonly inputs: readonly [];
1308
- readonly name: "totalAssets";
1309
- readonly outputs: readonly [{
1310
- readonly internalType: "uint256";
1311
- readonly name: "";
1312
- readonly type: "uint256";
1313
- }];
1314
- readonly stateMutability: "view";
1315
- readonly type: "function";
1316
- }, {
1317
- readonly inputs: readonly [];
1318
- readonly name: "totalSupply";
1319
- readonly outputs: readonly [{
1320
- readonly internalType: "uint256";
1321
- readonly name: "";
1322
- readonly type: "uint256";
1323
- }];
1324
- readonly stateMutability: "view";
1325
- readonly type: "function";
1326
- }], "acceptTimelock", readonly [], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise<import("viem").WriteContractReturnType>;
1327
- };
1328
- address: `0x${string}`;
1329
- abi: readonly [{
1330
- readonly inputs: readonly [];
1331
- readonly name: "acceptTimelock";
1332
- readonly outputs: readonly [];
1333
- readonly stateMutability: "nonpayable";
1334
- readonly type: "function";
1335
- }, {
1336
- readonly inputs: readonly [{
1337
- readonly internalType: "address";
1338
- readonly name: "account";
1339
- readonly type: "address";
1340
- }];
1341
- readonly name: "balanceOf";
1342
- readonly outputs: readonly [{
1343
- readonly internalType: "uint256";
1344
- readonly name: "";
1345
- readonly type: "uint256";
1346
- }];
1347
- readonly stateMutability: "view";
1348
- readonly type: "function";
1349
- }, {
1350
- readonly inputs: readonly [{
1351
- readonly internalType: "uint256";
1352
- readonly name: "shares";
1353
- readonly type: "uint256";
1354
- }];
1355
- readonly name: "convertToAssets";
1356
- readonly outputs: readonly [{
1357
- readonly internalType: "uint256";
1358
- readonly name: "";
1359
- readonly type: "uint256";
1360
- }];
1361
- readonly stateMutability: "view";
1362
- readonly type: "function";
1363
- }, {
1364
- readonly inputs: readonly [];
1365
- readonly name: "decimals";
1366
- readonly outputs: readonly [{
1367
- readonly internalType: "uint8";
1368
- readonly name: "";
1369
- readonly type: "uint8";
1370
- }];
1371
- readonly stateMutability: "view";
1372
- readonly type: "function";
1373
- }, {
1374
- readonly inputs: readonly [];
1375
- readonly name: "DECIMALS_OFFSET";
1376
- readonly outputs: readonly [{
1377
- readonly internalType: "uint8";
1378
- readonly name: "";
1379
- readonly type: "uint8";
1380
- }];
1381
- readonly stateMutability: "view";
1382
- readonly type: "function";
1383
- }, {
1384
- readonly inputs: readonly [{
1385
- readonly internalType: "uint256";
1386
- readonly name: "shares";
1387
- readonly type: "uint256";
1388
- }];
1389
- readonly name: "previewRedeem";
1390
- readonly outputs: readonly [{
1391
- readonly internalType: "uint256";
1392
- readonly name: "";
1393
- readonly type: "uint256";
1394
- }];
1395
- readonly stateMutability: "view";
1396
- readonly type: "function";
1397
- }, {
1398
- readonly inputs: readonly [];
1399
- readonly name: "totalAssets";
1400
- readonly outputs: readonly [{
1401
- readonly internalType: "uint256";
1402
- readonly name: "";
1403
- readonly type: "uint256";
1404
- }];
1405
- readonly stateMutability: "view";
1406
- readonly type: "function";
1407
- }, {
1408
- readonly inputs: readonly [];
1409
- readonly name: "totalSupply";
1410
- readonly outputs: readonly [{
1411
- readonly internalType: "uint256";
1412
- readonly name: "";
1413
- readonly type: "uint256";
1414
- }];
1415
- readonly stateMutability: "view";
1416
- readonly type: "function";
1417
- }];
1418
- };
1419
- export declare const getYearnVaultContractViem: (client: Client, address: HexString) => {
1420
- read: {
1421
- totalSupply: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
1422
- readonly stateMutability: "view";
1423
- readonly type: "function";
1424
- readonly name: "balanceOf";
1425
- readonly inputs: readonly [{
1426
- readonly name: "arg0";
1427
- readonly type: "address";
1428
- }];
1429
- readonly outputs: readonly [{
1430
- readonly name: "";
1431
- readonly type: "uint256";
1432
- }];
1433
- readonly gas: 3923;
1434
- }, {
1435
- readonly stateMutability: "view";
1436
- readonly type: "function";
1437
- readonly name: "totalAssets";
1438
- readonly inputs: readonly [];
1439
- readonly outputs: readonly [{
1440
- readonly name: "";
1441
- readonly type: "uint256";
1442
- }];
1443
- readonly gas: 8698;
1444
- }, {
1445
- readonly stateMutability: "view";
1446
- readonly type: "function";
1447
- readonly name: "totalSupply";
1448
- readonly inputs: readonly [];
1449
- readonly outputs: readonly [{
1450
- readonly name: "";
1451
- readonly type: "uint256";
1452
- }];
1453
- readonly gas: 3768;
1454
- }], "totalSupply", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
1455
- balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
1456
- readonly stateMutability: "view";
1457
- readonly type: "function";
1458
- readonly name: "balanceOf";
1459
- readonly inputs: readonly [{
1460
- readonly name: "arg0";
1461
- readonly type: "address";
1462
- }];
1463
- readonly outputs: readonly [{
1464
- readonly name: "";
1465
- readonly type: "uint256";
1466
- }];
1467
- readonly gas: 3923;
1468
- }, {
1469
- readonly stateMutability: "view";
1470
- readonly type: "function";
1471
- readonly name: "totalAssets";
1472
- readonly inputs: readonly [];
1473
- readonly outputs: readonly [{
1474
- readonly name: "";
1475
- readonly type: "uint256";
1476
- }];
1477
- readonly gas: 8698;
1478
- }, {
1479
- readonly stateMutability: "view";
1480
- readonly type: "function";
1481
- readonly name: "totalSupply";
1482
- readonly inputs: readonly [];
1483
- readonly outputs: readonly [{
1484
- readonly name: "";
1485
- readonly type: "uint256";
1486
- }];
1487
- readonly gas: 3768;
1488
- }], "balanceOf", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
1489
- totalAssets: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
1490
- readonly stateMutability: "view";
1491
- readonly type: "function";
1492
- readonly name: "balanceOf";
1493
- readonly inputs: readonly [{
1494
- readonly name: "arg0";
1495
- readonly type: "address";
1496
- }];
1497
- readonly outputs: readonly [{
1498
- readonly name: "";
1499
- readonly type: "uint256";
1500
- }];
1501
- readonly gas: 3923;
1502
- }, {
1503
- readonly stateMutability: "view";
1504
- readonly type: "function";
1505
- readonly name: "totalAssets";
1506
- readonly inputs: readonly [];
1507
- readonly outputs: readonly [{
1508
- readonly name: "";
1509
- readonly type: "uint256";
1510
- }];
1511
- readonly gas: 8698;
1512
- }, {
1513
- readonly stateMutability: "view";
1514
- readonly type: "function";
1515
- readonly name: "totalSupply";
1516
- readonly inputs: readonly [];
1517
- readonly outputs: readonly [{
1518
- readonly name: "";
1519
- readonly type: "uint256";
1520
- }];
1521
- readonly gas: 3768;
1522
- }], "totalAssets", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
1523
- };
1524
- address: `0x${string}`;
1525
- abi: readonly [{
1526
- readonly stateMutability: "view";
1527
- readonly type: "function";
1528
- readonly name: "balanceOf";
1529
- readonly inputs: readonly [{
1530
- readonly name: "arg0";
1531
- readonly type: "address";
1532
- }];
1533
- readonly outputs: readonly [{
1534
- readonly name: "";
1535
- readonly type: "uint256";
1536
- }];
1537
- readonly gas: 3923;
1538
- }, {
1539
- readonly stateMutability: "view";
1540
- readonly type: "function";
1541
- readonly name: "totalAssets";
1542
- readonly inputs: readonly [];
1543
- readonly outputs: readonly [{
1544
- readonly name: "";
1545
- readonly type: "uint256";
1546
- }];
1547
- readonly gas: 8698;
1548
- }, {
1549
- readonly stateMutability: "view";
1550
- readonly type: "function";
1551
- readonly name: "totalSupply";
1552
- readonly inputs: readonly [];
1553
- readonly outputs: readonly [{
1554
- readonly name: "";
1555
- readonly type: "uint256";
1556
- }];
1557
- readonly gas: 3768;
1558
- }];
1559
- };
1560
251
  export declare const MorphoBlueViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => {
1561
252
  read: {
1562
253
  getApyAfterValuesEstimation: (args: readonly [{
@@ -496594,38 +495285,3 @@ export declare const StkAAVEViem: (client: Client, network: NetworkNumber, block
496594
495285
  readonly type: "function";
496595
495286
  }];
496596
495287
  };
496597
- export declare const YearnViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => {
496598
- read: {
496599
- getPoolLiquidity: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
496600
- readonly inputs: readonly [{
496601
- readonly internalType: "address";
496602
- readonly name: "_vault";
496603
- readonly type: "address";
496604
- }];
496605
- readonly name: "getPoolLiquidity";
496606
- readonly outputs: readonly [{
496607
- readonly internalType: "uint256";
496608
- readonly name: "";
496609
- readonly type: "uint256";
496610
- }];
496611
- readonly stateMutability: "view";
496612
- readonly type: "function";
496613
- }], "getPoolLiquidity", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
496614
- };
496615
- address: `0x${string}`;
496616
- abi: readonly [{
496617
- readonly inputs: readonly [{
496618
- readonly internalType: "address";
496619
- readonly name: "_vault";
496620
- readonly type: "address";
496621
- }];
496622
- readonly name: "getPoolLiquidity";
496623
- readonly outputs: readonly [{
496624
- readonly internalType: "uint256";
496625
- readonly name: "";
496626
- readonly type: "uint256";
496627
- }];
496628
- readonly stateMutability: "view";
496629
- readonly type: "function";
496630
- }];
496631
- };