@4mica/sdk 1.2.17 → 1.3.1

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 (74) hide show
  1. package/README.md +59 -25
  2. package/dist/index.cjs +5513 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +2730 -0
  5. package/dist/{src/abi/core4mica.d.ts → index.d.ts} +1032 -1
  6. package/dist/index.js +5439 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/models-B15ouNYG.d.cts +386 -0
  9. package/dist/models-B15ouNYG.d.ts +386 -0
  10. package/dist/server.cjs +172 -0
  11. package/dist/server.cjs.map +1 -0
  12. package/dist/server.d.cts +119 -0
  13. package/dist/server.d.ts +119 -0
  14. package/dist/server.js +165 -0
  15. package/dist/server.js.map +1 -0
  16. package/package.json +52 -43
  17. package/dist/package.json +0 -80
  18. package/dist/src/abi/core4mica.js +0 -2200
  19. package/dist/src/abi/erc20.d.ts +0 -151
  20. package/dist/src/abi/erc20.js +0 -201
  21. package/dist/src/auth.d.ts +0 -62
  22. package/dist/src/auth.js +0 -218
  23. package/dist/src/bls.d.ts +0 -6
  24. package/dist/src/bls.js +0 -247
  25. package/dist/src/chain.d.ts +0 -2
  26. package/dist/src/chain.js +0 -26
  27. package/dist/src/client/index.d.ts +0 -71
  28. package/dist/src/client/index.js +0 -120
  29. package/dist/src/client/recipient.d.ts +0 -129
  30. package/dist/src/client/recipient.js +0 -257
  31. package/dist/src/client/shared.d.ts +0 -11
  32. package/dist/src/client/shared.js +0 -17
  33. package/dist/src/client/user.d.ts +0 -109
  34. package/dist/src/client/user.js +0 -151
  35. package/dist/src/config.d.ts +0 -103
  36. package/dist/src/config.js +0 -197
  37. package/dist/src/constants.d.ts +0 -4
  38. package/dist/src/constants.js +0 -7
  39. package/dist/src/contract.d.ts +0 -55
  40. package/dist/src/contract.js +0 -312
  41. package/dist/src/debug.d.ts +0 -2
  42. package/dist/src/debug.js +0 -5
  43. package/dist/src/errors.d.ts +0 -58
  44. package/dist/src/errors.js +0 -81
  45. package/dist/src/guarantee.d.ts +0 -25
  46. package/dist/src/guarantee.js +0 -272
  47. package/dist/src/http.d.ts +0 -11
  48. package/dist/src/http.js +0 -57
  49. package/dist/src/index.d.ts +0 -17
  50. package/dist/src/index.js +0 -33
  51. package/dist/src/models.d.ts +0 -261
  52. package/dist/src/models.js +0 -360
  53. package/dist/src/networks.d.ts +0 -40
  54. package/dist/src/networks.js +0 -57
  55. package/dist/src/payment.d.ts +0 -82
  56. package/dist/src/payment.js +0 -67
  57. package/dist/src/rpc.d.ts +0 -38
  58. package/dist/src/rpc.js +0 -161
  59. package/dist/src/serde.d.ts +0 -5
  60. package/dist/src/serde.js +0 -33
  61. package/dist/src/signing.d.ts +0 -170
  62. package/dist/src/signing.js +0 -311
  63. package/dist/src/utils.d.ts +0 -11
  64. package/dist/src/utils.js +0 -90
  65. package/dist/src/validation.d.ts +0 -32
  66. package/dist/src/validation.js +0 -84
  67. package/dist/src/wallet/cdp.d.ts +0 -13
  68. package/dist/src/wallet/cdp.js +0 -78
  69. package/dist/src/wallet/index.d.ts +0 -2
  70. package/dist/src/wallet/index.js +0 -5
  71. package/dist/src/x402/index.d.ts +0 -90
  72. package/dist/src/x402/index.js +0 -243
  73. package/dist/src/x402/models.d.ts +0 -75
  74. package/dist/src/x402/models.js +0 -2
@@ -1,2200 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.core4micaAbi = void 0;
4
- exports.core4micaAbi = [
5
- {
6
- type: 'constructor',
7
- inputs: [
8
- {
9
- name: 'manager',
10
- type: 'address',
11
- internalType: 'address',
12
- },
13
- {
14
- name: 'verificationKey',
15
- type: 'tuple',
16
- internalType: 'struct BLS.G1Point',
17
- components: [
18
- {
19
- name: 'x_a',
20
- type: 'bytes32',
21
- internalType: 'bytes32',
22
- },
23
- {
24
- name: 'x_b',
25
- type: 'bytes32',
26
- internalType: 'bytes32',
27
- },
28
- {
29
- name: 'y_a',
30
- type: 'bytes32',
31
- internalType: 'bytes32',
32
- },
33
- {
34
- name: 'y_b',
35
- type: 'bytes32',
36
- internalType: 'bytes32',
37
- },
38
- ],
39
- },
40
- {
41
- name: 'stablecoins_',
42
- type: 'address[]',
43
- internalType: 'address[]',
44
- },
45
- ],
46
- stateMutability: 'nonpayable',
47
- },
48
- {
49
- type: 'fallback',
50
- stateMutability: 'payable',
51
- },
52
- {
53
- type: 'receive',
54
- stateMutability: 'payable',
55
- },
56
- {
57
- type: 'function',
58
- name: 'GUARANTEE_VERIFICATION_KEY',
59
- inputs: [],
60
- outputs: [
61
- {
62
- name: 'x_a',
63
- type: 'bytes32',
64
- internalType: 'bytes32',
65
- },
66
- {
67
- name: 'x_b',
68
- type: 'bytes32',
69
- internalType: 'bytes32',
70
- },
71
- {
72
- name: 'y_a',
73
- type: 'bytes32',
74
- internalType: 'bytes32',
75
- },
76
- {
77
- name: 'y_b',
78
- type: 'bytes32',
79
- internalType: 'bytes32',
80
- },
81
- ],
82
- stateMutability: 'view',
83
- },
84
- {
85
- type: 'function',
86
- name: 'INITIAL_GUARANTEE_VERSION',
87
- inputs: [],
88
- outputs: [
89
- {
90
- name: '',
91
- type: 'uint64',
92
- internalType: 'uint64',
93
- },
94
- ],
95
- stateMutability: 'view',
96
- },
97
- {
98
- type: 'function',
99
- name: 'MAX_YIELD_FEE_BPS',
100
- inputs: [],
101
- outputs: [
102
- {
103
- name: '',
104
- type: 'uint256',
105
- internalType: 'uint256',
106
- },
107
- ],
108
- stateMutability: 'view',
109
- },
110
- {
111
- type: 'function',
112
- name: 'RECONCILIATION_DUST_TOLERANCE_SCALED',
113
- inputs: [],
114
- outputs: [
115
- {
116
- name: '',
117
- type: 'uint256',
118
- internalType: 'uint256',
119
- },
120
- ],
121
- stateMutability: 'view',
122
- },
123
- {
124
- type: 'function',
125
- name: 'aaveAddressesProvider',
126
- inputs: [],
127
- outputs: [
128
- {
129
- name: '',
130
- type: 'address',
131
- internalType: 'contract IPoolAddressesProvider',
132
- },
133
- ],
134
- stateMutability: 'view',
135
- },
136
- {
137
- type: 'function',
138
- name: 'authority',
139
- inputs: [],
140
- outputs: [
141
- {
142
- name: '',
143
- type: 'address',
144
- internalType: 'address',
145
- },
146
- ],
147
- stateMutability: 'view',
148
- },
149
- {
150
- type: 'function',
151
- name: 'cancelWithdrawal',
152
- inputs: [],
153
- outputs: [],
154
- stateMutability: 'nonpayable',
155
- },
156
- {
157
- type: 'function',
158
- name: 'cancelWithdrawal',
159
- inputs: [
160
- {
161
- name: 'asset',
162
- type: 'address',
163
- internalType: 'address',
164
- },
165
- ],
166
- outputs: [],
167
- stateMutability: 'nonpayable',
168
- },
169
- {
170
- type: 'function',
171
- name: 'claimProtocolYield',
172
- inputs: [
173
- {
174
- name: 'asset',
175
- type: 'address',
176
- internalType: 'address',
177
- },
178
- {
179
- name: 'to',
180
- type: 'address',
181
- internalType: 'address',
182
- },
183
- {
184
- name: 'amount',
185
- type: 'uint256',
186
- internalType: 'uint256',
187
- },
188
- ],
189
- outputs: [],
190
- stateMutability: 'nonpayable',
191
- },
192
- {
193
- type: 'function',
194
- name: 'claimSurplusATokens',
195
- inputs: [
196
- {
197
- name: 'asset',
198
- type: 'address',
199
- internalType: 'address',
200
- },
201
- {
202
- name: 'to',
203
- type: 'address',
204
- internalType: 'address',
205
- },
206
- {
207
- name: 'scaledAmount',
208
- type: 'uint256',
209
- internalType: 'uint256',
210
- },
211
- ],
212
- outputs: [],
213
- stateMutability: 'nonpayable',
214
- },
215
- {
216
- type: 'function',
217
- name: 'collateral',
218
- inputs: [
219
- {
220
- name: 'userAddr',
221
- type: 'address',
222
- internalType: 'address',
223
- },
224
- ],
225
- outputs: [
226
- {
227
- name: '',
228
- type: 'uint256',
229
- internalType: 'uint256',
230
- },
231
- ],
232
- stateMutability: 'view',
233
- },
234
- {
235
- type: 'function',
236
- name: 'collateral',
237
- inputs: [
238
- {
239
- name: 'userAddr',
240
- type: 'address',
241
- internalType: 'address',
242
- },
243
- {
244
- name: 'asset',
245
- type: 'address',
246
- internalType: 'address',
247
- },
248
- ],
249
- outputs: [
250
- {
251
- name: '',
252
- type: 'uint256',
253
- internalType: 'uint256',
254
- },
255
- ],
256
- stateMutability: 'view',
257
- },
258
- {
259
- type: 'function',
260
- name: 'configureAave',
261
- inputs: [
262
- {
263
- name: 'poolAddressesProvider',
264
- type: 'address',
265
- internalType: 'address',
266
- },
267
- {
268
- name: 'aTokens',
269
- type: 'address[]',
270
- internalType: 'address[]',
271
- },
272
- ],
273
- outputs: [],
274
- stateMutability: 'nonpayable',
275
- },
276
- {
277
- type: 'function',
278
- name: 'configureGuaranteeVersion',
279
- inputs: [
280
- {
281
- name: 'version',
282
- type: 'uint64',
283
- internalType: 'uint64',
284
- },
285
- {
286
- name: 'verificationKey',
287
- type: 'tuple',
288
- internalType: 'struct BLS.G1Point',
289
- components: [
290
- {
291
- name: 'x_a',
292
- type: 'bytes32',
293
- internalType: 'bytes32',
294
- },
295
- {
296
- name: 'x_b',
297
- type: 'bytes32',
298
- internalType: 'bytes32',
299
- },
300
- {
301
- name: 'y_a',
302
- type: 'bytes32',
303
- internalType: 'bytes32',
304
- },
305
- {
306
- name: 'y_b',
307
- type: 'bytes32',
308
- internalType: 'bytes32',
309
- },
310
- ],
311
- },
312
- {
313
- name: 'domainSeparator',
314
- type: 'bytes32',
315
- internalType: 'bytes32',
316
- },
317
- {
318
- name: 'decoder',
319
- type: 'address',
320
- internalType: 'address',
321
- },
322
- {
323
- name: 'enabled',
324
- type: 'bool',
325
- internalType: 'bool',
326
- },
327
- ],
328
- outputs: [],
329
- stateMutability: 'nonpayable',
330
- },
331
- {
332
- type: 'function',
333
- name: 'contractScaledATokenBalance',
334
- inputs: [
335
- {
336
- name: 'asset',
337
- type: 'address',
338
- internalType: 'address',
339
- },
340
- ],
341
- outputs: [
342
- {
343
- name: '',
344
- type: 'uint256',
345
- internalType: 'uint256',
346
- },
347
- ],
348
- stateMutability: 'view',
349
- },
350
- {
351
- type: 'function',
352
- name: 'deposit',
353
- inputs: [],
354
- outputs: [],
355
- stateMutability: 'payable',
356
- },
357
- {
358
- type: 'function',
359
- name: 'depositStablecoin',
360
- inputs: [
361
- {
362
- name: 'asset',
363
- type: 'address',
364
- internalType: 'address',
365
- },
366
- {
367
- name: 'amount',
368
- type: 'uint256',
369
- internalType: 'uint256',
370
- },
371
- ],
372
- outputs: [],
373
- stateMutability: 'nonpayable',
374
- },
375
- {
376
- type: 'function',
377
- name: 'finalizeWithdrawal',
378
- inputs: [
379
- {
380
- name: 'asset',
381
- type: 'address',
382
- internalType: 'address',
383
- },
384
- ],
385
- outputs: [],
386
- stateMutability: 'nonpayable',
387
- },
388
- {
389
- type: 'function',
390
- name: 'finalizeWithdrawal',
391
- inputs: [],
392
- outputs: [],
393
- stateMutability: 'nonpayable',
394
- },
395
- {
396
- type: 'function',
397
- name: 'getERC20Tokens',
398
- inputs: [],
399
- outputs: [
400
- {
401
- name: '',
402
- type: 'address[]',
403
- internalType: 'address[]',
404
- },
405
- ],
406
- stateMutability: 'view',
407
- },
408
- {
409
- type: 'function',
410
- name: 'getGuaranteeVersionConfig',
411
- inputs: [
412
- {
413
- name: 'version',
414
- type: 'uint64',
415
- internalType: 'uint64',
416
- },
417
- ],
418
- outputs: [
419
- {
420
- name: 'verificationKey',
421
- type: 'tuple',
422
- internalType: 'struct BLS.G1Point',
423
- components: [
424
- {
425
- name: 'x_a',
426
- type: 'bytes32',
427
- internalType: 'bytes32',
428
- },
429
- {
430
- name: 'x_b',
431
- type: 'bytes32',
432
- internalType: 'bytes32',
433
- },
434
- {
435
- name: 'y_a',
436
- type: 'bytes32',
437
- internalType: 'bytes32',
438
- },
439
- {
440
- name: 'y_b',
441
- type: 'bytes32',
442
- internalType: 'bytes32',
443
- },
444
- ],
445
- },
446
- {
447
- name: 'domainSeparator',
448
- type: 'bytes32',
449
- internalType: 'bytes32',
450
- },
451
- {
452
- name: 'decoder',
453
- type: 'address',
454
- internalType: 'address',
455
- },
456
- {
457
- name: 'enabled',
458
- type: 'bool',
459
- internalType: 'bool',
460
- },
461
- ],
462
- stateMutability: 'view',
463
- },
464
- {
465
- type: 'function',
466
- name: 'getPaymentStatus',
467
- inputs: [
468
- {
469
- name: 'tabId',
470
- type: 'uint256',
471
- internalType: 'uint256',
472
- },
473
- ],
474
- outputs: [
475
- {
476
- name: 'paid',
477
- type: 'uint256',
478
- internalType: 'uint256',
479
- },
480
- {
481
- name: 'remunerated',
482
- type: 'bool',
483
- internalType: 'bool',
484
- },
485
- {
486
- name: 'asset',
487
- type: 'address',
488
- internalType: 'address',
489
- },
490
- ],
491
- stateMutability: 'view',
492
- },
493
- {
494
- type: 'function',
495
- name: 'getUser',
496
- inputs: [
497
- {
498
- name: 'userAddr',
499
- type: 'address',
500
- internalType: 'address',
501
- },
502
- ],
503
- outputs: [
504
- {
505
- name: 'assetCollateral',
506
- type: 'uint256',
507
- internalType: 'uint256',
508
- },
509
- {
510
- name: 'withdrawalRequestTimestamp',
511
- type: 'uint256',
512
- internalType: 'uint256',
513
- },
514
- {
515
- name: 'withdrawalRequestAmount',
516
- type: 'uint256',
517
- internalType: 'uint256',
518
- },
519
- ],
520
- stateMutability: 'view',
521
- },
522
- {
523
- type: 'function',
524
- name: 'getUser',
525
- inputs: [
526
- {
527
- name: 'userAddr',
528
- type: 'address',
529
- internalType: 'address',
530
- },
531
- {
532
- name: 'asset',
533
- type: 'address',
534
- internalType: 'address',
535
- },
536
- ],
537
- outputs: [
538
- {
539
- name: 'assetCollateral',
540
- type: 'uint256',
541
- internalType: 'uint256',
542
- },
543
- {
544
- name: 'withdrawalRequestTimestamp',
545
- type: 'uint256',
546
- internalType: 'uint256',
547
- },
548
- {
549
- name: 'withdrawalRequestAmount',
550
- type: 'uint256',
551
- internalType: 'uint256',
552
- },
553
- ],
554
- stateMutability: 'view',
555
- },
556
- {
557
- type: 'function',
558
- name: 'getUserAllAssets',
559
- inputs: [
560
- {
561
- name: 'userAddr',
562
- type: 'address',
563
- internalType: 'address',
564
- },
565
- ],
566
- outputs: [
567
- {
568
- name: '',
569
- type: 'tuple[]',
570
- internalType: 'struct Core4Mica.UserAssetInfo[]',
571
- components: [
572
- {
573
- name: 'asset',
574
- type: 'address',
575
- internalType: 'address',
576
- },
577
- {
578
- name: 'collateral',
579
- type: 'uint256',
580
- internalType: 'uint256',
581
- },
582
- {
583
- name: 'withdrawalRequestTimestamp',
584
- type: 'uint256',
585
- internalType: 'uint256',
586
- },
587
- {
588
- name: 'withdrawalRequestAmount',
589
- type: 'uint256',
590
- internalType: 'uint256',
591
- },
592
- ],
593
- },
594
- ],
595
- stateMutability: 'view',
596
- },
597
- {
598
- type: 'function',
599
- name: 'grossYield',
600
- inputs: [
601
- {
602
- name: 'user',
603
- type: 'address',
604
- internalType: 'address',
605
- },
606
- {
607
- name: 'asset',
608
- type: 'address',
609
- internalType: 'address',
610
- },
611
- ],
612
- outputs: [
613
- {
614
- name: '',
615
- type: 'uint256',
616
- internalType: 'uint256',
617
- },
618
- ],
619
- stateMutability: 'view',
620
- },
621
- {
622
- type: 'function',
623
- name: 'guaranteeCapacity',
624
- inputs: [
625
- {
626
- name: 'user',
627
- type: 'address',
628
- internalType: 'address',
629
- },
630
- {
631
- name: 'asset',
632
- type: 'address',
633
- internalType: 'address',
634
- },
635
- ],
636
- outputs: [
637
- {
638
- name: '',
639
- type: 'uint256',
640
- internalType: 'uint256',
641
- },
642
- ],
643
- stateMutability: 'view',
644
- },
645
- {
646
- type: 'function',
647
- name: 'guaranteeDomainSeparator',
648
- inputs: [],
649
- outputs: [
650
- {
651
- name: '',
652
- type: 'bytes32',
653
- internalType: 'bytes32',
654
- },
655
- ],
656
- stateMutability: 'view',
657
- },
658
- {
659
- type: 'function',
660
- name: 'isConsumingScheduledOp',
661
- inputs: [],
662
- outputs: [
663
- {
664
- name: '',
665
- type: 'bytes4',
666
- internalType: 'bytes4',
667
- },
668
- ],
669
- stateMutability: 'view',
670
- },
671
- {
672
- type: 'function',
673
- name: 'pause',
674
- inputs: [],
675
- outputs: [],
676
- stateMutability: 'nonpayable',
677
- },
678
- {
679
- type: 'function',
680
- name: 'paused',
681
- inputs: [],
682
- outputs: [
683
- {
684
- name: '',
685
- type: 'bool',
686
- internalType: 'bool',
687
- },
688
- ],
689
- stateMutability: 'view',
690
- },
691
- {
692
- type: 'function',
693
- name: 'payTabInERC20Token',
694
- inputs: [
695
- {
696
- name: 'tabId',
697
- type: 'uint256',
698
- internalType: 'uint256',
699
- },
700
- {
701
- name: 'asset',
702
- type: 'address',
703
- internalType: 'address',
704
- },
705
- {
706
- name: 'amount',
707
- type: 'uint256',
708
- internalType: 'uint256',
709
- },
710
- {
711
- name: 'recipient',
712
- type: 'address',
713
- internalType: 'address',
714
- },
715
- ],
716
- outputs: [],
717
- stateMutability: 'nonpayable',
718
- },
719
- {
720
- type: 'function',
721
- name: 'payments',
722
- inputs: [
723
- {
724
- name: '',
725
- type: 'uint256',
726
- internalType: 'uint256',
727
- },
728
- ],
729
- outputs: [
730
- {
731
- name: 'paid',
732
- type: 'uint256',
733
- internalType: 'uint256',
734
- },
735
- {
736
- name: 'remunerated',
737
- type: 'bool',
738
- internalType: 'bool',
739
- },
740
- {
741
- name: 'asset',
742
- type: 'address',
743
- internalType: 'address',
744
- },
745
- ],
746
- stateMutability: 'view',
747
- },
748
- {
749
- type: 'function',
750
- name: 'principalBalance',
751
- inputs: [
752
- {
753
- name: 'user',
754
- type: 'address',
755
- internalType: 'address',
756
- },
757
- {
758
- name: 'asset',
759
- type: 'address',
760
- internalType: 'address',
761
- },
762
- ],
763
- outputs: [
764
- {
765
- name: '',
766
- type: 'uint256',
767
- internalType: 'uint256',
768
- },
769
- ],
770
- stateMutability: 'view',
771
- },
772
- {
773
- type: 'function',
774
- name: 'protocolScaledBalance',
775
- inputs: [
776
- {
777
- name: 'asset',
778
- type: 'address',
779
- internalType: 'address',
780
- },
781
- ],
782
- outputs: [
783
- {
784
- name: '',
785
- type: 'uint256',
786
- internalType: 'uint256',
787
- },
788
- ],
789
- stateMutability: 'view',
790
- },
791
- {
792
- type: 'function',
793
- name: 'protocolYieldShare',
794
- inputs: [
795
- {
796
- name: 'user',
797
- type: 'address',
798
- internalType: 'address',
799
- },
800
- {
801
- name: 'asset',
802
- type: 'address',
803
- internalType: 'address',
804
- },
805
- ],
806
- outputs: [
807
- {
808
- name: '',
809
- type: 'uint256',
810
- internalType: 'uint256',
811
- },
812
- ],
813
- stateMutability: 'view',
814
- },
815
- {
816
- type: 'function',
817
- name: 'reconciliationDustToleranceScaled',
818
- inputs: [],
819
- outputs: [
820
- {
821
- name: '',
822
- type: 'uint256',
823
- internalType: 'uint256',
824
- },
825
- ],
826
- stateMutability: 'pure',
827
- },
828
- {
829
- type: 'function',
830
- name: 'recordPayment',
831
- inputs: [
832
- {
833
- name: 'tabId',
834
- type: 'uint256',
835
- internalType: 'uint256',
836
- },
837
- {
838
- name: 'asset',
839
- type: 'address',
840
- internalType: 'address',
841
- },
842
- {
843
- name: 'amount',
844
- type: 'uint256',
845
- internalType: 'uint256',
846
- },
847
- ],
848
- outputs: [],
849
- stateMutability: 'nonpayable',
850
- },
851
- {
852
- type: 'function',
853
- name: 'remunerate',
854
- inputs: [
855
- {
856
- name: 'guaranteeData',
857
- type: 'bytes',
858
- internalType: 'bytes',
859
- },
860
- {
861
- name: 'signature',
862
- type: 'tuple',
863
- internalType: 'struct BLS.G2Point',
864
- components: [
865
- {
866
- name: 'x_c0_a',
867
- type: 'bytes32',
868
- internalType: 'bytes32',
869
- },
870
- {
871
- name: 'x_c0_b',
872
- type: 'bytes32',
873
- internalType: 'bytes32',
874
- },
875
- {
876
- name: 'x_c1_a',
877
- type: 'bytes32',
878
- internalType: 'bytes32',
879
- },
880
- {
881
- name: 'x_c1_b',
882
- type: 'bytes32',
883
- internalType: 'bytes32',
884
- },
885
- {
886
- name: 'y_c0_a',
887
- type: 'bytes32',
888
- internalType: 'bytes32',
889
- },
890
- {
891
- name: 'y_c0_b',
892
- type: 'bytes32',
893
- internalType: 'bytes32',
894
- },
895
- {
896
- name: 'y_c1_a',
897
- type: 'bytes32',
898
- internalType: 'bytes32',
899
- },
900
- {
901
- name: 'y_c1_b',
902
- type: 'bytes32',
903
- internalType: 'bytes32',
904
- },
905
- ],
906
- },
907
- ],
908
- outputs: [],
909
- stateMutability: 'nonpayable',
910
- },
911
- {
912
- type: 'function',
913
- name: 'remunerationGracePeriod',
914
- inputs: [],
915
- outputs: [
916
- {
917
- name: '',
918
- type: 'uint256',
919
- internalType: 'uint256',
920
- },
921
- ],
922
- stateMutability: 'view',
923
- },
924
- {
925
- type: 'function',
926
- name: 'requestWithdrawal',
927
- inputs: [
928
- {
929
- name: 'amount',
930
- type: 'uint256',
931
- internalType: 'uint256',
932
- },
933
- ],
934
- outputs: [],
935
- stateMutability: 'nonpayable',
936
- },
937
- {
938
- type: 'function',
939
- name: 'requestWithdrawal',
940
- inputs: [
941
- {
942
- name: 'asset',
943
- type: 'address',
944
- internalType: 'address',
945
- },
946
- {
947
- name: 'amount',
948
- type: 'uint256',
949
- internalType: 'uint256',
950
- },
951
- ],
952
- outputs: [],
953
- stateMutability: 'nonpayable',
954
- },
955
- {
956
- type: 'function',
957
- name: 'setAuthority',
958
- inputs: [
959
- {
960
- name: 'newAuthority',
961
- type: 'address',
962
- internalType: 'address',
963
- },
964
- ],
965
- outputs: [],
966
- stateMutability: 'nonpayable',
967
- },
968
- {
969
- type: 'function',
970
- name: 'setGuaranteeVerificationKey',
971
- inputs: [
972
- {
973
- name: 'verificationKey',
974
- type: 'tuple',
975
- internalType: 'struct BLS.G1Point',
976
- components: [
977
- {
978
- name: 'x_a',
979
- type: 'bytes32',
980
- internalType: 'bytes32',
981
- },
982
- {
983
- name: 'x_b',
984
- type: 'bytes32',
985
- internalType: 'bytes32',
986
- },
987
- {
988
- name: 'y_a',
989
- type: 'bytes32',
990
- internalType: 'bytes32',
991
- },
992
- {
993
- name: 'y_b',
994
- type: 'bytes32',
995
- internalType: 'bytes32',
996
- },
997
- ],
998
- },
999
- ],
1000
- outputs: [],
1001
- stateMutability: 'nonpayable',
1002
- },
1003
- {
1004
- type: 'function',
1005
- name: 'setRemunerationGracePeriod',
1006
- inputs: [
1007
- {
1008
- name: '_gracePeriod',
1009
- type: 'uint256',
1010
- internalType: 'uint256',
1011
- },
1012
- ],
1013
- outputs: [],
1014
- stateMutability: 'nonpayable',
1015
- },
1016
- {
1017
- type: 'function',
1018
- name: 'setSynchronizationDelay',
1019
- inputs: [
1020
- {
1021
- name: '_synchronizationDelay',
1022
- type: 'uint256',
1023
- internalType: 'uint256',
1024
- },
1025
- ],
1026
- outputs: [],
1027
- stateMutability: 'nonpayable',
1028
- },
1029
- {
1030
- type: 'function',
1031
- name: 'setTabExpirationTime',
1032
- inputs: [
1033
- {
1034
- name: '_expirationTime',
1035
- type: 'uint256',
1036
- internalType: 'uint256',
1037
- },
1038
- ],
1039
- outputs: [],
1040
- stateMutability: 'nonpayable',
1041
- },
1042
- {
1043
- type: 'function',
1044
- name: 'setTimingParameters',
1045
- inputs: [
1046
- {
1047
- name: '_remunerationGracePeriod',
1048
- type: 'uint256',
1049
- internalType: 'uint256',
1050
- },
1051
- {
1052
- name: '_tabExpirationTime',
1053
- type: 'uint256',
1054
- internalType: 'uint256',
1055
- },
1056
- {
1057
- name: '_synchronizationDelay',
1058
- type: 'uint256',
1059
- internalType: 'uint256',
1060
- },
1061
- {
1062
- name: '_withdrawalGracePeriod',
1063
- type: 'uint256',
1064
- internalType: 'uint256',
1065
- },
1066
- ],
1067
- outputs: [],
1068
- stateMutability: 'nonpayable',
1069
- },
1070
- {
1071
- type: 'function',
1072
- name: 'setWithdrawalGracePeriod',
1073
- inputs: [
1074
- {
1075
- name: '_gracePeriod',
1076
- type: 'uint256',
1077
- internalType: 'uint256',
1078
- },
1079
- ],
1080
- outputs: [],
1081
- stateMutability: 'nonpayable',
1082
- },
1083
- {
1084
- type: 'function',
1085
- name: 'setYieldFeeBps',
1086
- inputs: [
1087
- {
1088
- name: 'feeBps',
1089
- type: 'uint256',
1090
- internalType: 'uint256',
1091
- },
1092
- ],
1093
- outputs: [],
1094
- stateMutability: 'nonpayable',
1095
- },
1096
- {
1097
- type: 'function',
1098
- name: 'stablecoinAToken',
1099
- inputs: [
1100
- {
1101
- name: 'asset',
1102
- type: 'address',
1103
- internalType: 'address',
1104
- },
1105
- ],
1106
- outputs: [
1107
- {
1108
- name: '',
1109
- type: 'address',
1110
- internalType: 'address',
1111
- },
1112
- ],
1113
- stateMutability: 'view',
1114
- },
1115
- {
1116
- type: 'function',
1117
- name: 'surplusScaledBalance',
1118
- inputs: [
1119
- {
1120
- name: 'asset',
1121
- type: 'address',
1122
- internalType: 'address',
1123
- },
1124
- ],
1125
- outputs: [
1126
- {
1127
- name: '',
1128
- type: 'uint256',
1129
- internalType: 'uint256',
1130
- },
1131
- ],
1132
- stateMutability: 'view',
1133
- },
1134
- {
1135
- type: 'function',
1136
- name: 'synchronizationDelay',
1137
- inputs: [],
1138
- outputs: [
1139
- {
1140
- name: '',
1141
- type: 'uint256',
1142
- internalType: 'uint256',
1143
- },
1144
- ],
1145
- stateMutability: 'view',
1146
- },
1147
- {
1148
- type: 'function',
1149
- name: 'tabExpirationTime',
1150
- inputs: [],
1151
- outputs: [
1152
- {
1153
- name: '',
1154
- type: 'uint256',
1155
- internalType: 'uint256',
1156
- },
1157
- ],
1158
- stateMutability: 'view',
1159
- },
1160
- {
1161
- type: 'function',
1162
- name: 'totalUserScaledBalance',
1163
- inputs: [
1164
- {
1165
- name: 'asset',
1166
- type: 'address',
1167
- internalType: 'address',
1168
- },
1169
- ],
1170
- outputs: [
1171
- {
1172
- name: '',
1173
- type: 'uint256',
1174
- internalType: 'uint256',
1175
- },
1176
- ],
1177
- stateMutability: 'view',
1178
- },
1179
- {
1180
- type: 'function',
1181
- name: 'unpause',
1182
- inputs: [],
1183
- outputs: [],
1184
- stateMutability: 'nonpayable',
1185
- },
1186
- {
1187
- type: 'function',
1188
- name: 'userNetYield',
1189
- inputs: [
1190
- {
1191
- name: 'user',
1192
- type: 'address',
1193
- internalType: 'address',
1194
- },
1195
- {
1196
- name: 'asset',
1197
- type: 'address',
1198
- internalType: 'address',
1199
- },
1200
- ],
1201
- outputs: [
1202
- {
1203
- name: '',
1204
- type: 'uint256',
1205
- internalType: 'uint256',
1206
- },
1207
- ],
1208
- stateMutability: 'view',
1209
- },
1210
- {
1211
- type: 'function',
1212
- name: 'verifyAndDecodeGuarantee',
1213
- inputs: [
1214
- {
1215
- name: 'guarantee',
1216
- type: 'bytes',
1217
- internalType: 'bytes',
1218
- },
1219
- {
1220
- name: 'signature',
1221
- type: 'tuple',
1222
- internalType: 'struct BLS.G2Point',
1223
- components: [
1224
- {
1225
- name: 'x_c0_a',
1226
- type: 'bytes32',
1227
- internalType: 'bytes32',
1228
- },
1229
- {
1230
- name: 'x_c0_b',
1231
- type: 'bytes32',
1232
- internalType: 'bytes32',
1233
- },
1234
- {
1235
- name: 'x_c1_a',
1236
- type: 'bytes32',
1237
- internalType: 'bytes32',
1238
- },
1239
- {
1240
- name: 'x_c1_b',
1241
- type: 'bytes32',
1242
- internalType: 'bytes32',
1243
- },
1244
- {
1245
- name: 'y_c0_a',
1246
- type: 'bytes32',
1247
- internalType: 'bytes32',
1248
- },
1249
- {
1250
- name: 'y_c0_b',
1251
- type: 'bytes32',
1252
- internalType: 'bytes32',
1253
- },
1254
- {
1255
- name: 'y_c1_a',
1256
- type: 'bytes32',
1257
- internalType: 'bytes32',
1258
- },
1259
- {
1260
- name: 'y_c1_b',
1261
- type: 'bytes32',
1262
- internalType: 'bytes32',
1263
- },
1264
- ],
1265
- },
1266
- ],
1267
- outputs: [
1268
- {
1269
- name: '',
1270
- type: 'tuple',
1271
- internalType: 'struct Guarantee',
1272
- components: [
1273
- {
1274
- name: 'domain',
1275
- type: 'bytes32',
1276
- internalType: 'bytes32',
1277
- },
1278
- {
1279
- name: 'tabId',
1280
- type: 'uint256',
1281
- internalType: 'uint256',
1282
- },
1283
- {
1284
- name: 'reqId',
1285
- type: 'uint256',
1286
- internalType: 'uint256',
1287
- },
1288
- {
1289
- name: 'client',
1290
- type: 'address',
1291
- internalType: 'address',
1292
- },
1293
- {
1294
- name: 'recipient',
1295
- type: 'address',
1296
- internalType: 'address',
1297
- },
1298
- {
1299
- name: 'amount',
1300
- type: 'uint256',
1301
- internalType: 'uint256',
1302
- },
1303
- {
1304
- name: 'totalAmount',
1305
- type: 'uint256',
1306
- internalType: 'uint256',
1307
- },
1308
- {
1309
- name: 'asset',
1310
- type: 'address',
1311
- internalType: 'address',
1312
- },
1313
- {
1314
- name: 'timestamp',
1315
- type: 'uint64',
1316
- internalType: 'uint64',
1317
- },
1318
- {
1319
- name: 'version',
1320
- type: 'uint64',
1321
- internalType: 'uint64',
1322
- },
1323
- ],
1324
- },
1325
- ],
1326
- stateMutability: 'view',
1327
- },
1328
- {
1329
- type: 'function',
1330
- name: 'withdrawableBalance',
1331
- inputs: [
1332
- {
1333
- name: 'user',
1334
- type: 'address',
1335
- internalType: 'address',
1336
- },
1337
- {
1338
- name: 'asset',
1339
- type: 'address',
1340
- internalType: 'address',
1341
- },
1342
- ],
1343
- outputs: [
1344
- {
1345
- name: '',
1346
- type: 'uint256',
1347
- internalType: 'uint256',
1348
- },
1349
- ],
1350
- stateMutability: 'view',
1351
- },
1352
- {
1353
- type: 'function',
1354
- name: 'withdrawalGracePeriod',
1355
- inputs: [],
1356
- outputs: [
1357
- {
1358
- name: '',
1359
- type: 'uint256',
1360
- internalType: 'uint256',
1361
- },
1362
- ],
1363
- stateMutability: 'view',
1364
- },
1365
- {
1366
- type: 'function',
1367
- name: 'withdrawalRequests',
1368
- inputs: [
1369
- {
1370
- name: '',
1371
- type: 'address',
1372
- internalType: 'address',
1373
- },
1374
- {
1375
- name: '',
1376
- type: 'address',
1377
- internalType: 'address',
1378
- },
1379
- ],
1380
- outputs: [
1381
- {
1382
- name: 'timestamp',
1383
- type: 'uint256',
1384
- internalType: 'uint256',
1385
- },
1386
- {
1387
- name: 'amount',
1388
- type: 'uint256',
1389
- internalType: 'uint256',
1390
- },
1391
- ],
1392
- stateMutability: 'view',
1393
- },
1394
- {
1395
- type: 'function',
1396
- name: 'yieldFeeBps',
1397
- inputs: [],
1398
- outputs: [
1399
- {
1400
- name: '',
1401
- type: 'uint256',
1402
- internalType: 'uint256',
1403
- },
1404
- ],
1405
- stateMutability: 'view',
1406
- },
1407
- {
1408
- type: 'event',
1409
- name: 'AaveConfigured',
1410
- inputs: [
1411
- {
1412
- name: 'provider',
1413
- type: 'address',
1414
- indexed: true,
1415
- internalType: 'address',
1416
- },
1417
- {
1418
- name: 'pool',
1419
- type: 'address',
1420
- indexed: true,
1421
- internalType: 'address',
1422
- },
1423
- ],
1424
- anonymous: false,
1425
- },
1426
- {
1427
- type: 'event',
1428
- name: 'AuthorityUpdated',
1429
- inputs: [
1430
- {
1431
- name: 'authority',
1432
- type: 'address',
1433
- indexed: false,
1434
- internalType: 'address',
1435
- },
1436
- ],
1437
- anonymous: false,
1438
- },
1439
- {
1440
- type: 'event',
1441
- name: 'CollateralDeposited',
1442
- inputs: [
1443
- {
1444
- name: 'user',
1445
- type: 'address',
1446
- indexed: true,
1447
- internalType: 'address',
1448
- },
1449
- {
1450
- name: 'asset',
1451
- type: 'address',
1452
- indexed: true,
1453
- internalType: 'address',
1454
- },
1455
- {
1456
- name: 'amount',
1457
- type: 'uint256',
1458
- indexed: false,
1459
- internalType: 'uint256',
1460
- },
1461
- ],
1462
- anonymous: false,
1463
- },
1464
- {
1465
- type: 'event',
1466
- name: 'CollateralWithdrawn',
1467
- inputs: [
1468
- {
1469
- name: 'user',
1470
- type: 'address',
1471
- indexed: true,
1472
- internalType: 'address',
1473
- },
1474
- {
1475
- name: 'asset',
1476
- type: 'address',
1477
- indexed: true,
1478
- internalType: 'address',
1479
- },
1480
- {
1481
- name: 'amount',
1482
- type: 'uint256',
1483
- indexed: false,
1484
- internalType: 'uint256',
1485
- },
1486
- ],
1487
- anonymous: false,
1488
- },
1489
- {
1490
- type: 'event',
1491
- name: 'GuaranteeVersionUpdated',
1492
- inputs: [
1493
- {
1494
- name: 'version',
1495
- type: 'uint64',
1496
- indexed: true,
1497
- internalType: 'uint64',
1498
- },
1499
- {
1500
- name: 'verificationKey',
1501
- type: 'tuple',
1502
- indexed: false,
1503
- internalType: 'struct BLS.G1Point',
1504
- components: [
1505
- {
1506
- name: 'x_a',
1507
- type: 'bytes32',
1508
- internalType: 'bytes32',
1509
- },
1510
- {
1511
- name: 'x_b',
1512
- type: 'bytes32',
1513
- internalType: 'bytes32',
1514
- },
1515
- {
1516
- name: 'y_a',
1517
- type: 'bytes32',
1518
- internalType: 'bytes32',
1519
- },
1520
- {
1521
- name: 'y_b',
1522
- type: 'bytes32',
1523
- internalType: 'bytes32',
1524
- },
1525
- ],
1526
- },
1527
- {
1528
- name: 'domainSeparator',
1529
- type: 'bytes32',
1530
- indexed: false,
1531
- internalType: 'bytes32',
1532
- },
1533
- {
1534
- name: 'decoder',
1535
- type: 'address',
1536
- indexed: false,
1537
- internalType: 'address',
1538
- },
1539
- {
1540
- name: 'enabled',
1541
- type: 'bool',
1542
- indexed: false,
1543
- internalType: 'bool',
1544
- },
1545
- ],
1546
- anonymous: false,
1547
- },
1548
- {
1549
- type: 'event',
1550
- name: 'Paused',
1551
- inputs: [
1552
- {
1553
- name: 'account',
1554
- type: 'address',
1555
- indexed: false,
1556
- internalType: 'address',
1557
- },
1558
- ],
1559
- anonymous: false,
1560
- },
1561
- {
1562
- type: 'event',
1563
- name: 'PaymentRecorded',
1564
- inputs: [
1565
- {
1566
- name: 'tabId',
1567
- type: 'uint256',
1568
- indexed: true,
1569
- internalType: 'uint256',
1570
- },
1571
- {
1572
- name: 'asset',
1573
- type: 'address',
1574
- indexed: true,
1575
- internalType: 'address',
1576
- },
1577
- {
1578
- name: 'amount',
1579
- type: 'uint256',
1580
- indexed: false,
1581
- internalType: 'uint256',
1582
- },
1583
- ],
1584
- anonymous: false,
1585
- },
1586
- {
1587
- type: 'event',
1588
- name: 'ProtocolYieldClaimed',
1589
- inputs: [
1590
- {
1591
- name: 'asset',
1592
- type: 'address',
1593
- indexed: true,
1594
- internalType: 'address',
1595
- },
1596
- {
1597
- name: 'to',
1598
- type: 'address',
1599
- indexed: true,
1600
- internalType: 'address',
1601
- },
1602
- {
1603
- name: 'amount',
1604
- type: 'uint256',
1605
- indexed: false,
1606
- internalType: 'uint256',
1607
- },
1608
- ],
1609
- anonymous: false,
1610
- },
1611
- {
1612
- type: 'event',
1613
- name: 'RecipientRemunerated',
1614
- inputs: [
1615
- {
1616
- name: 'tabId',
1617
- type: 'uint256',
1618
- indexed: true,
1619
- internalType: 'uint256',
1620
- },
1621
- {
1622
- name: 'asset',
1623
- type: 'address',
1624
- indexed: true,
1625
- internalType: 'address',
1626
- },
1627
- {
1628
- name: 'amount',
1629
- type: 'uint256',
1630
- indexed: false,
1631
- internalType: 'uint256',
1632
- },
1633
- ],
1634
- anonymous: false,
1635
- },
1636
- {
1637
- type: 'event',
1638
- name: 'RemunerationGracePeriodUpdated',
1639
- inputs: [
1640
- {
1641
- name: 'newGracePeriod',
1642
- type: 'uint256',
1643
- indexed: false,
1644
- internalType: 'uint256',
1645
- },
1646
- ],
1647
- anonymous: false,
1648
- },
1649
- {
1650
- type: 'event',
1651
- name: 'StablecoinAssetUpdated',
1652
- inputs: [
1653
- {
1654
- name: 'asset',
1655
- type: 'address',
1656
- indexed: true,
1657
- internalType: 'address',
1658
- },
1659
- {
1660
- name: 'enabled',
1661
- type: 'bool',
1662
- indexed: false,
1663
- internalType: 'bool',
1664
- },
1665
- ],
1666
- anonymous: false,
1667
- },
1668
- {
1669
- type: 'event',
1670
- name: 'SurplusATokensClaimed',
1671
- inputs: [
1672
- {
1673
- name: 'asset',
1674
- type: 'address',
1675
- indexed: true,
1676
- internalType: 'address',
1677
- },
1678
- {
1679
- name: 'to',
1680
- type: 'address',
1681
- indexed: true,
1682
- internalType: 'address',
1683
- },
1684
- {
1685
- name: 'scaledAmount',
1686
- type: 'uint256',
1687
- indexed: false,
1688
- internalType: 'uint256',
1689
- },
1690
- {
1691
- name: 'nominalAmount',
1692
- type: 'uint256',
1693
- indexed: false,
1694
- internalType: 'uint256',
1695
- },
1696
- ],
1697
- anonymous: false,
1698
- },
1699
- {
1700
- type: 'event',
1701
- name: 'SynchronizationDelayUpdated',
1702
- inputs: [
1703
- {
1704
- name: 'newExpirationTime',
1705
- type: 'uint256',
1706
- indexed: false,
1707
- internalType: 'uint256',
1708
- },
1709
- ],
1710
- anonymous: false,
1711
- },
1712
- {
1713
- type: 'event',
1714
- name: 'TabExpirationTimeUpdated',
1715
- inputs: [
1716
- {
1717
- name: 'newExpirationTime',
1718
- type: 'uint256',
1719
- indexed: false,
1720
- internalType: 'uint256',
1721
- },
1722
- ],
1723
- anonymous: false,
1724
- },
1725
- {
1726
- type: 'event',
1727
- name: 'TabPaid',
1728
- inputs: [
1729
- {
1730
- name: 'tabId',
1731
- type: 'uint256',
1732
- indexed: true,
1733
- internalType: 'uint256',
1734
- },
1735
- {
1736
- name: 'asset',
1737
- type: 'address',
1738
- indexed: true,
1739
- internalType: 'address',
1740
- },
1741
- {
1742
- name: 'user',
1743
- type: 'address',
1744
- indexed: true,
1745
- internalType: 'address',
1746
- },
1747
- {
1748
- name: 'recipient',
1749
- type: 'address',
1750
- indexed: false,
1751
- internalType: 'address',
1752
- },
1753
- {
1754
- name: 'amount',
1755
- type: 'uint256',
1756
- indexed: false,
1757
- internalType: 'uint256',
1758
- },
1759
- ],
1760
- anonymous: false,
1761
- },
1762
- {
1763
- type: 'event',
1764
- name: 'Unpaused',
1765
- inputs: [
1766
- {
1767
- name: 'account',
1768
- type: 'address',
1769
- indexed: false,
1770
- internalType: 'address',
1771
- },
1772
- ],
1773
- anonymous: false,
1774
- },
1775
- {
1776
- type: 'event',
1777
- name: 'VerificationKeyUpdated',
1778
- inputs: [
1779
- {
1780
- name: 'newVerificationKey',
1781
- type: 'tuple',
1782
- indexed: false,
1783
- internalType: 'struct BLS.G1Point',
1784
- components: [
1785
- {
1786
- name: 'x_a',
1787
- type: 'bytes32',
1788
- internalType: 'bytes32',
1789
- },
1790
- {
1791
- name: 'x_b',
1792
- type: 'bytes32',
1793
- internalType: 'bytes32',
1794
- },
1795
- {
1796
- name: 'y_a',
1797
- type: 'bytes32',
1798
- internalType: 'bytes32',
1799
- },
1800
- {
1801
- name: 'y_b',
1802
- type: 'bytes32',
1803
- internalType: 'bytes32',
1804
- },
1805
- ],
1806
- },
1807
- ],
1808
- anonymous: false,
1809
- },
1810
- {
1811
- type: 'event',
1812
- name: 'WithdrawalCanceled',
1813
- inputs: [
1814
- {
1815
- name: 'user',
1816
- type: 'address',
1817
- indexed: true,
1818
- internalType: 'address',
1819
- },
1820
- {
1821
- name: 'asset',
1822
- type: 'address',
1823
- indexed: true,
1824
- internalType: 'address',
1825
- },
1826
- ],
1827
- anonymous: false,
1828
- },
1829
- {
1830
- type: 'event',
1831
- name: 'WithdrawalGracePeriodUpdated',
1832
- inputs: [
1833
- {
1834
- name: 'newGracePeriod',
1835
- type: 'uint256',
1836
- indexed: false,
1837
- internalType: 'uint256',
1838
- },
1839
- ],
1840
- anonymous: false,
1841
- },
1842
- {
1843
- type: 'event',
1844
- name: 'WithdrawalRequested',
1845
- inputs: [
1846
- {
1847
- name: 'user',
1848
- type: 'address',
1849
- indexed: true,
1850
- internalType: 'address',
1851
- },
1852
- {
1853
- name: 'asset',
1854
- type: 'address',
1855
- indexed: true,
1856
- internalType: 'address',
1857
- },
1858
- {
1859
- name: 'when',
1860
- type: 'uint256',
1861
- indexed: false,
1862
- internalType: 'uint256',
1863
- },
1864
- {
1865
- name: 'amount',
1866
- type: 'uint256',
1867
- indexed: false,
1868
- internalType: 'uint256',
1869
- },
1870
- ],
1871
- anonymous: false,
1872
- },
1873
- {
1874
- type: 'event',
1875
- name: 'YieldFeeBpsUpdated',
1876
- inputs: [
1877
- {
1878
- name: 'oldFeeBps',
1879
- type: 'uint256',
1880
- indexed: false,
1881
- internalType: 'uint256',
1882
- },
1883
- {
1884
- name: 'newFeeBps',
1885
- type: 'uint256',
1886
- indexed: false,
1887
- internalType: 'uint256',
1888
- },
1889
- ],
1890
- anonymous: false,
1891
- },
1892
- {
1893
- type: 'error',
1894
- name: 'AaveNotConfigured',
1895
- inputs: [],
1896
- },
1897
- {
1898
- type: 'error',
1899
- name: 'AaveProviderReconfigurationBlocked',
1900
- inputs: [],
1901
- },
1902
- {
1903
- type: 'error',
1904
- name: 'AccessManagedInvalidAuthority',
1905
- inputs: [
1906
- {
1907
- name: 'authority',
1908
- type: 'address',
1909
- internalType: 'address',
1910
- },
1911
- ],
1912
- },
1913
- {
1914
- type: 'error',
1915
- name: 'AccessManagedRequiredDelay',
1916
- inputs: [
1917
- {
1918
- name: 'caller',
1919
- type: 'address',
1920
- internalType: 'address',
1921
- },
1922
- {
1923
- name: 'delay',
1924
- type: 'uint32',
1925
- internalType: 'uint32',
1926
- },
1927
- ],
1928
- },
1929
- {
1930
- type: 'error',
1931
- name: 'AccessManagedUnauthorized',
1932
- inputs: [
1933
- {
1934
- name: 'caller',
1935
- type: 'address',
1936
- internalType: 'address',
1937
- },
1938
- ],
1939
- },
1940
- {
1941
- type: 'error',
1942
- name: 'AmountZero',
1943
- inputs: [],
1944
- },
1945
- {
1946
- type: 'error',
1947
- name: 'DirectTransferNotAllowed',
1948
- inputs: [],
1949
- },
1950
- {
1951
- type: 'error',
1952
- name: 'DoubleSpendingDetected',
1953
- inputs: [],
1954
- },
1955
- {
1956
- type: 'error',
1957
- name: 'EnforcedPause',
1958
- inputs: [],
1959
- },
1960
- {
1961
- type: 'error',
1962
- name: 'ExpectedPause',
1963
- inputs: [],
1964
- },
1965
- {
1966
- type: 'error',
1967
- name: 'FeeTooHigh',
1968
- inputs: [],
1969
- },
1970
- {
1971
- type: 'error',
1972
- name: 'GracePeriodNotElapsed',
1973
- inputs: [],
1974
- },
1975
- {
1976
- type: 'error',
1977
- name: 'IllegalValue',
1978
- inputs: [],
1979
- },
1980
- {
1981
- type: 'error',
1982
- name: 'InsufficientAvailable',
1983
- inputs: [],
1984
- },
1985
- {
1986
- type: 'error',
1987
- name: 'InvalidAToken',
1988
- inputs: [
1989
- {
1990
- name: 'asset',
1991
- type: 'address',
1992
- internalType: 'address',
1993
- },
1994
- {
1995
- name: 'aToken',
1996
- type: 'address',
1997
- internalType: 'address',
1998
- },
1999
- ],
2000
- },
2001
- {
2002
- type: 'error',
2003
- name: 'InvalidAsset',
2004
- inputs: [
2005
- {
2006
- name: 'asset',
2007
- type: 'address',
2008
- internalType: 'address',
2009
- },
2010
- ],
2011
- },
2012
- {
2013
- type: 'error',
2014
- name: 'InvalidGuaranteeDomain',
2015
- inputs: [],
2016
- },
2017
- {
2018
- type: 'error',
2019
- name: 'InvalidRecipient',
2020
- inputs: [],
2021
- },
2022
- {
2023
- type: 'error',
2024
- name: 'InvalidSignature',
2025
- inputs: [],
2026
- },
2027
- {
2028
- type: 'error',
2029
- name: 'MissingGuaranteeDecoder',
2030
- inputs: [
2031
- {
2032
- name: 'version',
2033
- type: 'uint64',
2034
- internalType: 'uint64',
2035
- },
2036
- ],
2037
- },
2038
- {
2039
- type: 'error',
2040
- name: 'NoWithdrawalRequested',
2041
- inputs: [],
2042
- },
2043
- {
2044
- type: 'error',
2045
- name: 'ReconciliationLoss',
2046
- inputs: [
2047
- {
2048
- name: 'asset',
2049
- type: 'address',
2050
- internalType: 'address',
2051
- },
2052
- {
2053
- name: 'tracked',
2054
- type: 'uint256',
2055
- internalType: 'uint256',
2056
- },
2057
- {
2058
- name: 'observed',
2059
- type: 'uint256',
2060
- internalType: 'uint256',
2061
- },
2062
- ],
2063
- },
2064
- {
2065
- type: 'error',
2066
- name: 'ReentrancyGuardReentrantCall',
2067
- inputs: [],
2068
- },
2069
- {
2070
- type: 'error',
2071
- name: 'SafeERC20FailedOperation',
2072
- inputs: [
2073
- {
2074
- name: 'token',
2075
- type: 'address',
2076
- internalType: 'address',
2077
- },
2078
- ],
2079
- },
2080
- {
2081
- type: 'error',
2082
- name: 'StablecoinWithdrawShortfall',
2083
- inputs: [
2084
- {
2085
- name: 'asset',
2086
- type: 'address',
2087
- internalType: 'address',
2088
- },
2089
- {
2090
- name: 'requested',
2091
- type: 'uint256',
2092
- internalType: 'uint256',
2093
- },
2094
- {
2095
- name: 'actual',
2096
- type: 'uint256',
2097
- internalType: 'uint256',
2098
- },
2099
- ],
2100
- },
2101
- {
2102
- type: 'error',
2103
- name: 'SurplusClaimExceedsAvailable',
2104
- inputs: [],
2105
- },
2106
- {
2107
- type: 'error',
2108
- name: 'TabAlreadyPaid',
2109
- inputs: [],
2110
- },
2111
- {
2112
- type: 'error',
2113
- name: 'TabExpired',
2114
- inputs: [],
2115
- },
2116
- {
2117
- type: 'error',
2118
- name: 'TabNotYetOverdue',
2119
- inputs: [],
2120
- },
2121
- {
2122
- type: 'error',
2123
- name: 'TabPreviouslyRemunerated',
2124
- inputs: [],
2125
- },
2126
- {
2127
- type: 'error',
2128
- name: 'TransferFailed',
2129
- inputs: [],
2130
- },
2131
- {
2132
- type: 'error',
2133
- name: 'TreasuryClaimExceedsAvailable',
2134
- inputs: [],
2135
- },
2136
- {
2137
- type: 'error',
2138
- name: 'UnsupportedAsset',
2139
- inputs: [
2140
- {
2141
- name: 'asset',
2142
- type: 'address',
2143
- internalType: 'address',
2144
- },
2145
- ],
2146
- },
2147
- {
2148
- type: 'error',
2149
- name: 'UnsupportedGuaranteeVersion',
2150
- inputs: [
2151
- {
2152
- name: 'version',
2153
- type: 'uint64',
2154
- internalType: 'uint64',
2155
- },
2156
- ],
2157
- },
2158
- {
2159
- type: 'error',
2160
- name: 'UnsupportedTreasuryAsset',
2161
- inputs: [
2162
- {
2163
- name: 'asset',
2164
- type: 'address',
2165
- internalType: 'address',
2166
- },
2167
- ],
2168
- },
2169
- {
2170
- type: 'error',
2171
- name: 'UserScaledBalanceUnderflow',
2172
- inputs: [
2173
- {
2174
- name: 'asset',
2175
- type: 'address',
2176
- internalType: 'address',
2177
- },
2178
- {
2179
- name: 'user',
2180
- type: 'address',
2181
- internalType: 'address',
2182
- },
2183
- {
2184
- name: 'deduction',
2185
- type: 'uint256',
2186
- internalType: 'uint256',
2187
- },
2188
- {
2189
- name: 'balance',
2190
- type: 'uint256',
2191
- internalType: 'uint256',
2192
- },
2193
- ],
2194
- },
2195
- {
2196
- type: 'error',
2197
- name: 'ZeroAddress',
2198
- inputs: [],
2199
- },
2200
- ];