morpho-contracts-helper 0.0.6 → 0.0.8

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 (38) hide show
  1. package/contracts/external/morpho/interfaces/IERC2612.sol +10 -0
  2. package/contracts/external/morpho/interfaces/IVaultV2.sol +109 -0
  3. package/contracts/external/morpho/interfaces/IVaultV2Factory.sol +15 -0
  4. package/dist/typechain-types/contracts/external/morpho/interfaces/IERC2612.d.ts +62 -0
  5. package/dist/typechain-types/contracts/external/morpho/interfaces/IERC2612.d.ts.map +1 -0
  6. package/dist/typechain-types/contracts/external/morpho/interfaces/IERC2612.js +3 -0
  7. package/dist/typechain-types/contracts/external/morpho/interfaces/IERC2612.js.map +1 -0
  8. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2.d.ts +610 -0
  9. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2.d.ts.map +1 -0
  10. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2.js +3 -0
  11. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2.js.map +1 -0
  12. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2Factory.d.ts +87 -0
  13. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2Factory.d.ts.map +1 -0
  14. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2Factory.js +3 -0
  15. package/dist/typechain-types/contracts/external/morpho/interfaces/IVaultV2Factory.js.map +1 -0
  16. package/dist/typechain-types/contracts/external/morpho/interfaces/index.d.ts +3 -0
  17. package/dist/typechain-types/contracts/external/morpho/interfaces/index.d.ts.map +1 -1
  18. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC2612__factory.d.ts +66 -0
  19. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC2612__factory.d.ts.map +1 -0
  20. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC2612__factory.js +96 -0
  21. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC2612__factory.js.map +1 -0
  22. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2Factory__factory.d.ts +91 -0
  23. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2Factory__factory.d.ts.map +1 -0
  24. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2Factory__factory.js +129 -0
  25. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2Factory__factory.js.map +1 -0
  26. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2__factory.d.ts +936 -0
  27. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2__factory.d.ts.map +1 -0
  28. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2__factory.js +1236 -0
  29. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IVaultV2__factory.js.map +1 -0
  30. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.d.ts +3 -0
  31. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.d.ts.map +1 -1
  32. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.js +7 -1
  33. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.js.map +1 -1
  34. package/dist/typechain-types/index.d.ts +6 -0
  35. package/dist/typechain-types/index.d.ts.map +1 -1
  36. package/dist/typechain-types/index.js +7 -1
  37. package/dist/typechain-types/index.js.map +1 -1
  38. package/package.json +1 -1
@@ -0,0 +1,1236 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ // @ts-nocheck
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.IVaultV2__factory = void 0;
8
+ const ethers_1 = require("ethers");
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "DOMAIN_SEPARATOR",
13
+ outputs: [
14
+ {
15
+ internalType: "bytes32",
16
+ name: "",
17
+ type: "bytes32",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "_totalAssets",
26
+ outputs: [
27
+ {
28
+ internalType: "uint128",
29
+ name: "",
30
+ type: "uint128",
31
+ },
32
+ ],
33
+ stateMutability: "view",
34
+ type: "function",
35
+ },
36
+ {
37
+ inputs: [
38
+ {
39
+ internalType: "bytes4",
40
+ name: "selector",
41
+ type: "bytes4",
42
+ },
43
+ ],
44
+ name: "abdicate",
45
+ outputs: [],
46
+ stateMutability: "nonpayable",
47
+ type: "function",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "bytes4",
53
+ name: "selector",
54
+ type: "bytes4",
55
+ },
56
+ ],
57
+ name: "abdicated",
58
+ outputs: [
59
+ {
60
+ internalType: "bool",
61
+ name: "",
62
+ type: "bool",
63
+ },
64
+ ],
65
+ stateMutability: "view",
66
+ type: "function",
67
+ },
68
+ {
69
+ inputs: [
70
+ {
71
+ internalType: "bytes32",
72
+ name: "id",
73
+ type: "bytes32",
74
+ },
75
+ ],
76
+ name: "absoluteCap",
77
+ outputs: [
78
+ {
79
+ internalType: "uint256",
80
+ name: "",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ stateMutability: "view",
85
+ type: "function",
86
+ },
87
+ {
88
+ inputs: [],
89
+ name: "accrueInterest",
90
+ outputs: [],
91
+ stateMutability: "nonpayable",
92
+ type: "function",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "accrueInterestView",
97
+ outputs: [
98
+ {
99
+ internalType: "uint256",
100
+ name: "newTotalAssets",
101
+ type: "uint256",
102
+ },
103
+ {
104
+ internalType: "uint256",
105
+ name: "performanceFeeShares",
106
+ type: "uint256",
107
+ },
108
+ {
109
+ internalType: "uint256",
110
+ name: "managementFeeShares",
111
+ type: "uint256",
112
+ },
113
+ ],
114
+ stateMutability: "view",
115
+ type: "function",
116
+ },
117
+ {
118
+ inputs: [],
119
+ name: "adapterRegistry",
120
+ outputs: [
121
+ {
122
+ internalType: "address",
123
+ name: "",
124
+ type: "address",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "uint256",
134
+ name: "index",
135
+ type: "uint256",
136
+ },
137
+ ],
138
+ name: "adapters",
139
+ outputs: [
140
+ {
141
+ internalType: "address",
142
+ name: "",
143
+ type: "address",
144
+ },
145
+ ],
146
+ stateMutability: "view",
147
+ type: "function",
148
+ },
149
+ {
150
+ inputs: [],
151
+ name: "adaptersLength",
152
+ outputs: [
153
+ {
154
+ internalType: "uint256",
155
+ name: "",
156
+ type: "uint256",
157
+ },
158
+ ],
159
+ stateMutability: "view",
160
+ type: "function",
161
+ },
162
+ {
163
+ inputs: [
164
+ {
165
+ internalType: "address",
166
+ name: "account",
167
+ type: "address",
168
+ },
169
+ ],
170
+ name: "addAdapter",
171
+ outputs: [],
172
+ stateMutability: "nonpayable",
173
+ type: "function",
174
+ },
175
+ {
176
+ inputs: [
177
+ {
178
+ internalType: "address",
179
+ name: "adapter",
180
+ type: "address",
181
+ },
182
+ {
183
+ internalType: "bytes",
184
+ name: "data",
185
+ type: "bytes",
186
+ },
187
+ {
188
+ internalType: "uint256",
189
+ name: "assets",
190
+ type: "uint256",
191
+ },
192
+ ],
193
+ name: "allocate",
194
+ outputs: [],
195
+ stateMutability: "nonpayable",
196
+ type: "function",
197
+ },
198
+ {
199
+ inputs: [
200
+ {
201
+ internalType: "bytes32",
202
+ name: "id",
203
+ type: "bytes32",
204
+ },
205
+ ],
206
+ name: "allocation",
207
+ outputs: [
208
+ {
209
+ internalType: "uint256",
210
+ name: "",
211
+ type: "uint256",
212
+ },
213
+ ],
214
+ stateMutability: "view",
215
+ type: "function",
216
+ },
217
+ {
218
+ inputs: [],
219
+ name: "asset",
220
+ outputs: [
221
+ {
222
+ internalType: "address",
223
+ name: "",
224
+ type: "address",
225
+ },
226
+ ],
227
+ stateMutability: "view",
228
+ type: "function",
229
+ },
230
+ {
231
+ inputs: [
232
+ {
233
+ internalType: "address",
234
+ name: "account",
235
+ type: "address",
236
+ },
237
+ ],
238
+ name: "canReceiveAssets",
239
+ outputs: [
240
+ {
241
+ internalType: "bool",
242
+ name: "",
243
+ type: "bool",
244
+ },
245
+ ],
246
+ stateMutability: "view",
247
+ type: "function",
248
+ },
249
+ {
250
+ inputs: [
251
+ {
252
+ internalType: "address",
253
+ name: "account",
254
+ type: "address",
255
+ },
256
+ ],
257
+ name: "canReceiveShares",
258
+ outputs: [
259
+ {
260
+ internalType: "bool",
261
+ name: "",
262
+ type: "bool",
263
+ },
264
+ ],
265
+ stateMutability: "view",
266
+ type: "function",
267
+ },
268
+ {
269
+ inputs: [
270
+ {
271
+ internalType: "address",
272
+ name: "account",
273
+ type: "address",
274
+ },
275
+ ],
276
+ name: "canSendAssets",
277
+ outputs: [
278
+ {
279
+ internalType: "bool",
280
+ name: "",
281
+ type: "bool",
282
+ },
283
+ ],
284
+ stateMutability: "view",
285
+ type: "function",
286
+ },
287
+ {
288
+ inputs: [
289
+ {
290
+ internalType: "address",
291
+ name: "account",
292
+ type: "address",
293
+ },
294
+ ],
295
+ name: "canSendShares",
296
+ outputs: [
297
+ {
298
+ internalType: "bool",
299
+ name: "",
300
+ type: "bool",
301
+ },
302
+ ],
303
+ stateMutability: "view",
304
+ type: "function",
305
+ },
306
+ {
307
+ inputs: [
308
+ {
309
+ internalType: "uint256",
310
+ name: "",
311
+ type: "uint256",
312
+ },
313
+ ],
314
+ name: "convertToAssets",
315
+ outputs: [
316
+ {
317
+ internalType: "uint256",
318
+ name: "",
319
+ type: "uint256",
320
+ },
321
+ ],
322
+ stateMutability: "view",
323
+ type: "function",
324
+ },
325
+ {
326
+ inputs: [],
327
+ name: "curator",
328
+ outputs: [
329
+ {
330
+ internalType: "address",
331
+ name: "",
332
+ type: "address",
333
+ },
334
+ ],
335
+ stateMutability: "view",
336
+ type: "function",
337
+ },
338
+ {
339
+ inputs: [
340
+ {
341
+ internalType: "address",
342
+ name: "adapter",
343
+ type: "address",
344
+ },
345
+ {
346
+ internalType: "bytes",
347
+ name: "data",
348
+ type: "bytes",
349
+ },
350
+ {
351
+ internalType: "uint256",
352
+ name: "assets",
353
+ type: "uint256",
354
+ },
355
+ ],
356
+ name: "deallocate",
357
+ outputs: [],
358
+ stateMutability: "nonpayable",
359
+ type: "function",
360
+ },
361
+ {
362
+ inputs: [
363
+ {
364
+ internalType: "bytes",
365
+ name: "idData",
366
+ type: "bytes",
367
+ },
368
+ {
369
+ internalType: "uint256",
370
+ name: "newAbsoluteCap",
371
+ type: "uint256",
372
+ },
373
+ ],
374
+ name: "decreaseAbsoluteCap",
375
+ outputs: [],
376
+ stateMutability: "nonpayable",
377
+ type: "function",
378
+ },
379
+ {
380
+ inputs: [
381
+ {
382
+ internalType: "bytes",
383
+ name: "idData",
384
+ type: "bytes",
385
+ },
386
+ {
387
+ internalType: "uint256",
388
+ name: "newRelativeCap",
389
+ type: "uint256",
390
+ },
391
+ ],
392
+ name: "decreaseRelativeCap",
393
+ outputs: [],
394
+ stateMutability: "nonpayable",
395
+ type: "function",
396
+ },
397
+ {
398
+ inputs: [
399
+ {
400
+ internalType: "bytes4",
401
+ name: "selector",
402
+ type: "bytes4",
403
+ },
404
+ {
405
+ internalType: "uint256",
406
+ name: "newDuration",
407
+ type: "uint256",
408
+ },
409
+ ],
410
+ name: "decreaseTimelock",
411
+ outputs: [],
412
+ stateMutability: "nonpayable",
413
+ type: "function",
414
+ },
415
+ {
416
+ inputs: [
417
+ {
418
+ internalType: "bytes",
419
+ name: "data",
420
+ type: "bytes",
421
+ },
422
+ ],
423
+ name: "executableAt",
424
+ outputs: [
425
+ {
426
+ internalType: "uint256",
427
+ name: "",
428
+ type: "uint256",
429
+ },
430
+ ],
431
+ stateMutability: "view",
432
+ type: "function",
433
+ },
434
+ {
435
+ inputs: [],
436
+ name: "firstTotalAssets",
437
+ outputs: [
438
+ {
439
+ internalType: "uint256",
440
+ name: "",
441
+ type: "uint256",
442
+ },
443
+ ],
444
+ stateMutability: "view",
445
+ type: "function",
446
+ },
447
+ {
448
+ inputs: [
449
+ {
450
+ internalType: "address",
451
+ name: "adapter",
452
+ type: "address",
453
+ },
454
+ {
455
+ internalType: "bytes",
456
+ name: "data",
457
+ type: "bytes",
458
+ },
459
+ {
460
+ internalType: "uint256",
461
+ name: "assets",
462
+ type: "uint256",
463
+ },
464
+ {
465
+ internalType: "address",
466
+ name: "onBehalf",
467
+ type: "address",
468
+ },
469
+ ],
470
+ name: "forceDeallocate",
471
+ outputs: [
472
+ {
473
+ internalType: "uint256",
474
+ name: "penaltyShares",
475
+ type: "uint256",
476
+ },
477
+ ],
478
+ stateMutability: "nonpayable",
479
+ type: "function",
480
+ },
481
+ {
482
+ inputs: [
483
+ {
484
+ internalType: "address",
485
+ name: "adapter",
486
+ type: "address",
487
+ },
488
+ ],
489
+ name: "forceDeallocatePenalty",
490
+ outputs: [
491
+ {
492
+ internalType: "uint256",
493
+ name: "",
494
+ type: "uint256",
495
+ },
496
+ ],
497
+ stateMutability: "view",
498
+ type: "function",
499
+ },
500
+ {
501
+ inputs: [
502
+ {
503
+ internalType: "bytes",
504
+ name: "idData",
505
+ type: "bytes",
506
+ },
507
+ {
508
+ internalType: "uint256",
509
+ name: "newAbsoluteCap",
510
+ type: "uint256",
511
+ },
512
+ ],
513
+ name: "increaseAbsoluteCap",
514
+ outputs: [],
515
+ stateMutability: "nonpayable",
516
+ type: "function",
517
+ },
518
+ {
519
+ inputs: [
520
+ {
521
+ internalType: "bytes",
522
+ name: "idData",
523
+ type: "bytes",
524
+ },
525
+ {
526
+ internalType: "uint256",
527
+ name: "newRelativeCap",
528
+ type: "uint256",
529
+ },
530
+ ],
531
+ name: "increaseRelativeCap",
532
+ outputs: [],
533
+ stateMutability: "nonpayable",
534
+ type: "function",
535
+ },
536
+ {
537
+ inputs: [
538
+ {
539
+ internalType: "bytes4",
540
+ name: "selector",
541
+ type: "bytes4",
542
+ },
543
+ {
544
+ internalType: "uint256",
545
+ name: "newDuration",
546
+ type: "uint256",
547
+ },
548
+ ],
549
+ name: "increaseTimelock",
550
+ outputs: [],
551
+ stateMutability: "nonpayable",
552
+ type: "function",
553
+ },
554
+ {
555
+ inputs: [
556
+ {
557
+ internalType: "address",
558
+ name: "account",
559
+ type: "address",
560
+ },
561
+ ],
562
+ name: "isAdapter",
563
+ outputs: [
564
+ {
565
+ internalType: "bool",
566
+ name: "",
567
+ type: "bool",
568
+ },
569
+ ],
570
+ stateMutability: "view",
571
+ type: "function",
572
+ },
573
+ {
574
+ inputs: [
575
+ {
576
+ internalType: "address",
577
+ name: "account",
578
+ type: "address",
579
+ },
580
+ ],
581
+ name: "isAllocator",
582
+ outputs: [
583
+ {
584
+ internalType: "bool",
585
+ name: "",
586
+ type: "bool",
587
+ },
588
+ ],
589
+ stateMutability: "view",
590
+ type: "function",
591
+ },
592
+ {
593
+ inputs: [
594
+ {
595
+ internalType: "address",
596
+ name: "account",
597
+ type: "address",
598
+ },
599
+ ],
600
+ name: "isSentinel",
601
+ outputs: [
602
+ {
603
+ internalType: "bool",
604
+ name: "",
605
+ type: "bool",
606
+ },
607
+ ],
608
+ stateMutability: "view",
609
+ type: "function",
610
+ },
611
+ {
612
+ inputs: [],
613
+ name: "lastUpdate",
614
+ outputs: [
615
+ {
616
+ internalType: "uint64",
617
+ name: "",
618
+ type: "uint64",
619
+ },
620
+ ],
621
+ stateMutability: "view",
622
+ type: "function",
623
+ },
624
+ {
625
+ inputs: [],
626
+ name: "liquidityAdapter",
627
+ outputs: [
628
+ {
629
+ internalType: "address",
630
+ name: "",
631
+ type: "address",
632
+ },
633
+ ],
634
+ stateMutability: "view",
635
+ type: "function",
636
+ },
637
+ {
638
+ inputs: [],
639
+ name: "liquidityData",
640
+ outputs: [
641
+ {
642
+ internalType: "bytes",
643
+ name: "",
644
+ type: "bytes",
645
+ },
646
+ ],
647
+ stateMutability: "view",
648
+ type: "function",
649
+ },
650
+ {
651
+ inputs: [],
652
+ name: "managementFee",
653
+ outputs: [
654
+ {
655
+ internalType: "uint96",
656
+ name: "",
657
+ type: "uint96",
658
+ },
659
+ ],
660
+ stateMutability: "view",
661
+ type: "function",
662
+ },
663
+ {
664
+ inputs: [],
665
+ name: "managementFeeRecipient",
666
+ outputs: [
667
+ {
668
+ internalType: "address",
669
+ name: "",
670
+ type: "address",
671
+ },
672
+ ],
673
+ stateMutability: "view",
674
+ type: "function",
675
+ },
676
+ {
677
+ inputs: [],
678
+ name: "maxRate",
679
+ outputs: [
680
+ {
681
+ internalType: "uint64",
682
+ name: "",
683
+ type: "uint64",
684
+ },
685
+ ],
686
+ stateMutability: "view",
687
+ type: "function",
688
+ },
689
+ {
690
+ inputs: [
691
+ {
692
+ internalType: "bytes[]",
693
+ name: "data",
694
+ type: "bytes[]",
695
+ },
696
+ ],
697
+ name: "multicall",
698
+ outputs: [],
699
+ stateMutability: "nonpayable",
700
+ type: "function",
701
+ },
702
+ {
703
+ inputs: [],
704
+ name: "name",
705
+ outputs: [
706
+ {
707
+ internalType: "string",
708
+ name: "",
709
+ type: "string",
710
+ },
711
+ ],
712
+ stateMutability: "view",
713
+ type: "function",
714
+ },
715
+ {
716
+ inputs: [
717
+ {
718
+ internalType: "address",
719
+ name: "owner",
720
+ type: "address",
721
+ },
722
+ ],
723
+ name: "nonces",
724
+ outputs: [
725
+ {
726
+ internalType: "uint256",
727
+ name: "",
728
+ type: "uint256",
729
+ },
730
+ ],
731
+ stateMutability: "view",
732
+ type: "function",
733
+ },
734
+ {
735
+ inputs: [],
736
+ name: "owner",
737
+ outputs: [
738
+ {
739
+ internalType: "address",
740
+ name: "",
741
+ type: "address",
742
+ },
743
+ ],
744
+ stateMutability: "view",
745
+ type: "function",
746
+ },
747
+ {
748
+ inputs: [],
749
+ name: "performanceFee",
750
+ outputs: [
751
+ {
752
+ internalType: "uint96",
753
+ name: "",
754
+ type: "uint96",
755
+ },
756
+ ],
757
+ stateMutability: "view",
758
+ type: "function",
759
+ },
760
+ {
761
+ inputs: [],
762
+ name: "performanceFeeRecipient",
763
+ outputs: [
764
+ {
765
+ internalType: "address",
766
+ name: "",
767
+ type: "address",
768
+ },
769
+ ],
770
+ stateMutability: "view",
771
+ type: "function",
772
+ },
773
+ {
774
+ inputs: [
775
+ {
776
+ internalType: "address",
777
+ name: "owner",
778
+ type: "address",
779
+ },
780
+ {
781
+ internalType: "address",
782
+ name: "spender",
783
+ type: "address",
784
+ },
785
+ {
786
+ internalType: "uint256",
787
+ name: "shares",
788
+ type: "uint256",
789
+ },
790
+ {
791
+ internalType: "uint256",
792
+ name: "deadline",
793
+ type: "uint256",
794
+ },
795
+ {
796
+ internalType: "uint8",
797
+ name: "v",
798
+ type: "uint8",
799
+ },
800
+ {
801
+ internalType: "bytes32",
802
+ name: "r",
803
+ type: "bytes32",
804
+ },
805
+ {
806
+ internalType: "bytes32",
807
+ name: "s",
808
+ type: "bytes32",
809
+ },
810
+ ],
811
+ name: "permit",
812
+ outputs: [],
813
+ stateMutability: "nonpayable",
814
+ type: "function",
815
+ },
816
+ {
817
+ inputs: [],
818
+ name: "receiveAssetsGate",
819
+ outputs: [
820
+ {
821
+ internalType: "address",
822
+ name: "",
823
+ type: "address",
824
+ },
825
+ ],
826
+ stateMutability: "view",
827
+ type: "function",
828
+ },
829
+ {
830
+ inputs: [],
831
+ name: "receiveSharesGate",
832
+ outputs: [
833
+ {
834
+ internalType: "address",
835
+ name: "",
836
+ type: "address",
837
+ },
838
+ ],
839
+ stateMutability: "view",
840
+ type: "function",
841
+ },
842
+ {
843
+ inputs: [
844
+ {
845
+ internalType: "bytes32",
846
+ name: "id",
847
+ type: "bytes32",
848
+ },
849
+ ],
850
+ name: "relativeCap",
851
+ outputs: [
852
+ {
853
+ internalType: "uint256",
854
+ name: "",
855
+ type: "uint256",
856
+ },
857
+ ],
858
+ stateMutability: "view",
859
+ type: "function",
860
+ },
861
+ {
862
+ inputs: [
863
+ {
864
+ internalType: "address",
865
+ name: "account",
866
+ type: "address",
867
+ },
868
+ ],
869
+ name: "removeAdapter",
870
+ outputs: [],
871
+ stateMutability: "nonpayable",
872
+ type: "function",
873
+ },
874
+ {
875
+ inputs: [
876
+ {
877
+ internalType: "bytes",
878
+ name: "data",
879
+ type: "bytes",
880
+ },
881
+ ],
882
+ name: "revoke",
883
+ outputs: [],
884
+ stateMutability: "nonpayable",
885
+ type: "function",
886
+ },
887
+ {
888
+ inputs: [],
889
+ name: "sendAssetsGate",
890
+ outputs: [
891
+ {
892
+ internalType: "address",
893
+ name: "",
894
+ type: "address",
895
+ },
896
+ ],
897
+ stateMutability: "view",
898
+ type: "function",
899
+ },
900
+ {
901
+ inputs: [],
902
+ name: "sendSharesGate",
903
+ outputs: [
904
+ {
905
+ internalType: "address",
906
+ name: "",
907
+ type: "address",
908
+ },
909
+ ],
910
+ stateMutability: "view",
911
+ type: "function",
912
+ },
913
+ {
914
+ inputs: [
915
+ {
916
+ internalType: "address",
917
+ name: "newAdapterRegistry",
918
+ type: "address",
919
+ },
920
+ ],
921
+ name: "setAdapterRegistry",
922
+ outputs: [],
923
+ stateMutability: "nonpayable",
924
+ type: "function",
925
+ },
926
+ {
927
+ inputs: [
928
+ {
929
+ internalType: "address",
930
+ name: "newCurator",
931
+ type: "address",
932
+ },
933
+ ],
934
+ name: "setCurator",
935
+ outputs: [],
936
+ stateMutability: "nonpayable",
937
+ type: "function",
938
+ },
939
+ {
940
+ inputs: [
941
+ {
942
+ internalType: "address",
943
+ name: "adapter",
944
+ type: "address",
945
+ },
946
+ {
947
+ internalType: "uint256",
948
+ name: "newForceDeallocatePenalty",
949
+ type: "uint256",
950
+ },
951
+ ],
952
+ name: "setForceDeallocatePenalty",
953
+ outputs: [],
954
+ stateMutability: "nonpayable",
955
+ type: "function",
956
+ },
957
+ {
958
+ inputs: [
959
+ {
960
+ internalType: "address",
961
+ name: "account",
962
+ type: "address",
963
+ },
964
+ {
965
+ internalType: "bool",
966
+ name: "newIsAllocator",
967
+ type: "bool",
968
+ },
969
+ ],
970
+ name: "setIsAllocator",
971
+ outputs: [],
972
+ stateMutability: "nonpayable",
973
+ type: "function",
974
+ },
975
+ {
976
+ inputs: [
977
+ {
978
+ internalType: "address",
979
+ name: "account",
980
+ type: "address",
981
+ },
982
+ {
983
+ internalType: "bool",
984
+ name: "isSentinel",
985
+ type: "bool",
986
+ },
987
+ ],
988
+ name: "setIsSentinel",
989
+ outputs: [],
990
+ stateMutability: "nonpayable",
991
+ type: "function",
992
+ },
993
+ {
994
+ inputs: [
995
+ {
996
+ internalType: "address",
997
+ name: "newLiquidityAdapter",
998
+ type: "address",
999
+ },
1000
+ {
1001
+ internalType: "bytes",
1002
+ name: "newLiquidityData",
1003
+ type: "bytes",
1004
+ },
1005
+ ],
1006
+ name: "setLiquidityAdapterAndData",
1007
+ outputs: [],
1008
+ stateMutability: "nonpayable",
1009
+ type: "function",
1010
+ },
1011
+ {
1012
+ inputs: [
1013
+ {
1014
+ internalType: "uint256",
1015
+ name: "newManagementFee",
1016
+ type: "uint256",
1017
+ },
1018
+ ],
1019
+ name: "setManagementFee",
1020
+ outputs: [],
1021
+ stateMutability: "nonpayable",
1022
+ type: "function",
1023
+ },
1024
+ {
1025
+ inputs: [
1026
+ {
1027
+ internalType: "address",
1028
+ name: "newManagementFeeRecipient",
1029
+ type: "address",
1030
+ },
1031
+ ],
1032
+ name: "setManagementFeeRecipient",
1033
+ outputs: [],
1034
+ stateMutability: "nonpayable",
1035
+ type: "function",
1036
+ },
1037
+ {
1038
+ inputs: [
1039
+ {
1040
+ internalType: "uint256",
1041
+ name: "newMaxRate",
1042
+ type: "uint256",
1043
+ },
1044
+ ],
1045
+ name: "setMaxRate",
1046
+ outputs: [],
1047
+ stateMutability: "nonpayable",
1048
+ type: "function",
1049
+ },
1050
+ {
1051
+ inputs: [
1052
+ {
1053
+ internalType: "string",
1054
+ name: "newName",
1055
+ type: "string",
1056
+ },
1057
+ ],
1058
+ name: "setName",
1059
+ outputs: [],
1060
+ stateMutability: "nonpayable",
1061
+ type: "function",
1062
+ },
1063
+ {
1064
+ inputs: [
1065
+ {
1066
+ internalType: "address",
1067
+ name: "newOwner",
1068
+ type: "address",
1069
+ },
1070
+ ],
1071
+ name: "setOwner",
1072
+ outputs: [],
1073
+ stateMutability: "nonpayable",
1074
+ type: "function",
1075
+ },
1076
+ {
1077
+ inputs: [
1078
+ {
1079
+ internalType: "uint256",
1080
+ name: "newPerformanceFee",
1081
+ type: "uint256",
1082
+ },
1083
+ ],
1084
+ name: "setPerformanceFee",
1085
+ outputs: [],
1086
+ stateMutability: "nonpayable",
1087
+ type: "function",
1088
+ },
1089
+ {
1090
+ inputs: [
1091
+ {
1092
+ internalType: "address",
1093
+ name: "newPerformanceFeeRecipient",
1094
+ type: "address",
1095
+ },
1096
+ ],
1097
+ name: "setPerformanceFeeRecipient",
1098
+ outputs: [],
1099
+ stateMutability: "nonpayable",
1100
+ type: "function",
1101
+ },
1102
+ {
1103
+ inputs: [
1104
+ {
1105
+ internalType: "address",
1106
+ name: "newReceiveAssetsGate",
1107
+ type: "address",
1108
+ },
1109
+ ],
1110
+ name: "setReceiveAssetsGate",
1111
+ outputs: [],
1112
+ stateMutability: "nonpayable",
1113
+ type: "function",
1114
+ },
1115
+ {
1116
+ inputs: [
1117
+ {
1118
+ internalType: "address",
1119
+ name: "newReceiveSharesGate",
1120
+ type: "address",
1121
+ },
1122
+ ],
1123
+ name: "setReceiveSharesGate",
1124
+ outputs: [],
1125
+ stateMutability: "nonpayable",
1126
+ type: "function",
1127
+ },
1128
+ {
1129
+ inputs: [
1130
+ {
1131
+ internalType: "address",
1132
+ name: "newSendAssetsGate",
1133
+ type: "address",
1134
+ },
1135
+ ],
1136
+ name: "setSendAssetsGate",
1137
+ outputs: [],
1138
+ stateMutability: "nonpayable",
1139
+ type: "function",
1140
+ },
1141
+ {
1142
+ inputs: [
1143
+ {
1144
+ internalType: "address",
1145
+ name: "newSendSharesGate",
1146
+ type: "address",
1147
+ },
1148
+ ],
1149
+ name: "setSendSharesGate",
1150
+ outputs: [],
1151
+ stateMutability: "nonpayable",
1152
+ type: "function",
1153
+ },
1154
+ {
1155
+ inputs: [
1156
+ {
1157
+ internalType: "string",
1158
+ name: "newSymbol",
1159
+ type: "string",
1160
+ },
1161
+ ],
1162
+ name: "setSymbol",
1163
+ outputs: [],
1164
+ stateMutability: "nonpayable",
1165
+ type: "function",
1166
+ },
1167
+ {
1168
+ inputs: [
1169
+ {
1170
+ internalType: "bytes",
1171
+ name: "data",
1172
+ type: "bytes",
1173
+ },
1174
+ ],
1175
+ name: "submit",
1176
+ outputs: [],
1177
+ stateMutability: "nonpayable",
1178
+ type: "function",
1179
+ },
1180
+ {
1181
+ inputs: [],
1182
+ name: "symbol",
1183
+ outputs: [
1184
+ {
1185
+ internalType: "string",
1186
+ name: "",
1187
+ type: "string",
1188
+ },
1189
+ ],
1190
+ stateMutability: "view",
1191
+ type: "function",
1192
+ },
1193
+ {
1194
+ inputs: [
1195
+ {
1196
+ internalType: "bytes4",
1197
+ name: "selector",
1198
+ type: "bytes4",
1199
+ },
1200
+ ],
1201
+ name: "timelock",
1202
+ outputs: [
1203
+ {
1204
+ internalType: "uint256",
1205
+ name: "",
1206
+ type: "uint256",
1207
+ },
1208
+ ],
1209
+ stateMutability: "view",
1210
+ type: "function",
1211
+ },
1212
+ {
1213
+ inputs: [],
1214
+ name: "virtualShares",
1215
+ outputs: [
1216
+ {
1217
+ internalType: "uint256",
1218
+ name: "",
1219
+ type: "uint256",
1220
+ },
1221
+ ],
1222
+ stateMutability: "view",
1223
+ type: "function",
1224
+ },
1225
+ ];
1226
+ class IVaultV2__factory {
1227
+ static abi = _abi;
1228
+ static createInterface() {
1229
+ return new ethers_1.Interface(_abi);
1230
+ }
1231
+ static connect(address, runner) {
1232
+ return new ethers_1.Contract(address, _abi, runner);
1233
+ }
1234
+ }
1235
+ exports.IVaultV2__factory = IVaultV2__factory;
1236
+ //# sourceMappingURL=IVaultV2__factory.js.map