@merkl/contracts 1.5.10 → 1.5.12

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.
@@ -0,0 +1,1834 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "address",
10
+ name: "_kycWhitelist",
11
+ type: "address",
12
+ },
13
+ ],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [],
19
+ name: "AccessControlBadConfirmation",
20
+ type: "error",
21
+ },
22
+ {
23
+ inputs: [
24
+ {
25
+ internalType: "address",
26
+ name: "account",
27
+ type: "address",
28
+ },
29
+ {
30
+ internalType: "bytes32",
31
+ name: "neededRole",
32
+ type: "bytes32",
33
+ },
34
+ ],
35
+ name: "AccessControlUnauthorizedAccount",
36
+ type: "error",
37
+ },
38
+ {
39
+ inputs: [
40
+ {
41
+ internalType: "address",
42
+ name: "target",
43
+ type: "address",
44
+ },
45
+ ],
46
+ name: "AddressEmptyCode",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "address",
53
+ name: "account",
54
+ type: "address",
55
+ },
56
+ ],
57
+ name: "AddressInsufficientBalance",
58
+ type: "error",
59
+ },
60
+ {
61
+ inputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "spender",
65
+ type: "address",
66
+ },
67
+ {
68
+ internalType: "uint256",
69
+ name: "allowance",
70
+ type: "uint256",
71
+ },
72
+ {
73
+ internalType: "uint256",
74
+ name: "needed",
75
+ type: "uint256",
76
+ },
77
+ ],
78
+ name: "ERC20InsufficientAllowance",
79
+ type: "error",
80
+ },
81
+ {
82
+ inputs: [
83
+ {
84
+ internalType: "address",
85
+ name: "sender",
86
+ type: "address",
87
+ },
88
+ {
89
+ internalType: "uint256",
90
+ name: "balance",
91
+ type: "uint256",
92
+ },
93
+ {
94
+ internalType: "uint256",
95
+ name: "needed",
96
+ type: "uint256",
97
+ },
98
+ ],
99
+ name: "ERC20InsufficientBalance",
100
+ type: "error",
101
+ },
102
+ {
103
+ inputs: [
104
+ {
105
+ internalType: "address",
106
+ name: "approver",
107
+ type: "address",
108
+ },
109
+ ],
110
+ name: "ERC20InvalidApprover",
111
+ type: "error",
112
+ },
113
+ {
114
+ inputs: [
115
+ {
116
+ internalType: "address",
117
+ name: "receiver",
118
+ type: "address",
119
+ },
120
+ ],
121
+ name: "ERC20InvalidReceiver",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [
126
+ {
127
+ internalType: "address",
128
+ name: "sender",
129
+ type: "address",
130
+ },
131
+ ],
132
+ name: "ERC20InvalidSender",
133
+ type: "error",
134
+ },
135
+ {
136
+ inputs: [
137
+ {
138
+ internalType: "address",
139
+ name: "spender",
140
+ type: "address",
141
+ },
142
+ ],
143
+ name: "ERC20InvalidSpender",
144
+ type: "error",
145
+ },
146
+ {
147
+ inputs: [],
148
+ name: "EnforcedPause",
149
+ type: "error",
150
+ },
151
+ {
152
+ inputs: [],
153
+ name: "ExpectedPause",
154
+ type: "error",
155
+ },
156
+ {
157
+ inputs: [],
158
+ name: "FailedInnerCall",
159
+ type: "error",
160
+ },
161
+ {
162
+ inputs: [],
163
+ name: "InsufficientBalance",
164
+ type: "error",
165
+ },
166
+ {
167
+ inputs: [],
168
+ name: "InsufficientManagerFunds",
169
+ type: "error",
170
+ },
171
+ {
172
+ inputs: [],
173
+ name: "InvalidInitialization",
174
+ type: "error",
175
+ },
176
+ {
177
+ inputs: [],
178
+ name: "InvalidLength",
179
+ type: "error",
180
+ },
181
+ {
182
+ inputs: [],
183
+ name: "InvalidLockFrequency",
184
+ type: "error",
185
+ },
186
+ {
187
+ inputs: [],
188
+ name: "InvalidLockTime",
189
+ type: "error",
190
+ },
191
+ {
192
+ inputs: [],
193
+ name: "InvalidRole",
194
+ type: "error",
195
+ },
196
+ {
197
+ inputs: [],
198
+ name: "InvalidRolesLength",
199
+ type: "error",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "InvalidWithdrawalDelay",
204
+ type: "error",
205
+ },
206
+ {
207
+ inputs: [],
208
+ name: "KYCFailed",
209
+ type: "error",
210
+ },
211
+ {
212
+ inputs: [],
213
+ name: "MathOverflowedMulDiv",
214
+ type: "error",
215
+ },
216
+ {
217
+ inputs: [],
218
+ name: "MinimumDepositsNotReached",
219
+ type: "error",
220
+ },
221
+ {
222
+ inputs: [],
223
+ name: "NoFeesToClaim",
224
+ type: "error",
225
+ },
226
+ {
227
+ inputs: [],
228
+ name: "NotInitializing",
229
+ type: "error",
230
+ },
231
+ {
232
+ inputs: [
233
+ {
234
+ internalType: "address",
235
+ name: "token",
236
+ type: "address",
237
+ },
238
+ ],
239
+ name: "SafeERC20FailedOperation",
240
+ type: "error",
241
+ },
242
+ {
243
+ inputs: [],
244
+ name: "TransferNotAllowed",
245
+ type: "error",
246
+ },
247
+ {
248
+ inputs: [],
249
+ name: "VaultAlreadyStarted",
250
+ type: "error",
251
+ },
252
+ {
253
+ inputs: [],
254
+ name: "VaultLocked",
255
+ type: "error",
256
+ },
257
+ {
258
+ inputs: [],
259
+ name: "VaultNotLocked",
260
+ type: "error",
261
+ },
262
+ {
263
+ inputs: [],
264
+ name: "VaultNotStarted",
265
+ type: "error",
266
+ },
267
+ {
268
+ inputs: [],
269
+ name: "WithdrawalAlreadyQueued",
270
+ type: "error",
271
+ },
272
+ {
273
+ inputs: [],
274
+ name: "WithdrawalNotReady",
275
+ type: "error",
276
+ },
277
+ {
278
+ inputs: [],
279
+ name: "ZeroAddress",
280
+ type: "error",
281
+ },
282
+ {
283
+ inputs: [],
284
+ name: "ZeroAmount",
285
+ type: "error",
286
+ },
287
+ {
288
+ anonymous: false,
289
+ inputs: [
290
+ {
291
+ indexed: true,
292
+ internalType: "address",
293
+ name: "owner",
294
+ type: "address",
295
+ },
296
+ {
297
+ indexed: true,
298
+ internalType: "address",
299
+ name: "spender",
300
+ type: "address",
301
+ },
302
+ {
303
+ indexed: false,
304
+ internalType: "uint256",
305
+ name: "value",
306
+ type: "uint256",
307
+ },
308
+ ],
309
+ name: "Approval",
310
+ type: "event",
311
+ },
312
+ {
313
+ anonymous: false,
314
+ inputs: [
315
+ {
316
+ indexed: true,
317
+ internalType: "address",
318
+ name: "user",
319
+ type: "address",
320
+ },
321
+ {
322
+ indexed: false,
323
+ internalType: "bytes32",
324
+ name: "withdrawalId",
325
+ type: "bytes32",
326
+ },
327
+ {
328
+ indexed: false,
329
+ internalType: "uint256",
330
+ name: "shares",
331
+ type: "uint256",
332
+ },
333
+ {
334
+ indexed: false,
335
+ internalType: "uint256",
336
+ name: "assets",
337
+ type: "uint256",
338
+ },
339
+ {
340
+ indexed: false,
341
+ internalType: "uint256",
342
+ name: "remainingAssets",
343
+ type: "uint256",
344
+ },
345
+ ],
346
+ name: "ClaimedWithdrawal",
347
+ type: "event",
348
+ },
349
+ {
350
+ anonymous: false,
351
+ inputs: [
352
+ {
353
+ indexed: false,
354
+ internalType: "uint64",
355
+ name: "version",
356
+ type: "uint64",
357
+ },
358
+ ],
359
+ name: "Initialized",
360
+ type: "event",
361
+ },
362
+ {
363
+ anonymous: false,
364
+ inputs: [
365
+ {
366
+ indexed: true,
367
+ internalType: "uint256",
368
+ name: "epoch",
369
+ type: "uint256",
370
+ },
371
+ {
372
+ indexed: false,
373
+ internalType: "uint256",
374
+ name: "nav",
375
+ type: "uint256",
376
+ },
377
+ {
378
+ indexed: false,
379
+ internalType: "uint256",
380
+ name: "clearedDeposits",
381
+ type: "uint256",
382
+ },
383
+ {
384
+ indexed: false,
385
+ internalType: "uint256",
386
+ name: "clearedWithdrawals",
387
+ type: "uint256",
388
+ },
389
+ {
390
+ indexed: false,
391
+ internalType: "uint256",
392
+ name: "managerPerformanceFee",
393
+ type: "uint256",
394
+ },
395
+ {
396
+ indexed: false,
397
+ internalType: "uint256",
398
+ name: "managerTvlFee",
399
+ type: "uint256",
400
+ },
401
+ {
402
+ indexed: false,
403
+ internalType: "uint256",
404
+ name: "brktTvlFee",
405
+ type: "uint256",
406
+ },
407
+ ],
408
+ name: "NavUpdated",
409
+ type: "event",
410
+ },
411
+ {
412
+ anonymous: false,
413
+ inputs: [
414
+ {
415
+ indexed: false,
416
+ internalType: "address",
417
+ name: "account",
418
+ type: "address",
419
+ },
420
+ ],
421
+ name: "Paused",
422
+ type: "event",
423
+ },
424
+ {
425
+ anonymous: false,
426
+ inputs: [
427
+ {
428
+ indexed: true,
429
+ internalType: "address",
430
+ name: "user",
431
+ type: "address",
432
+ },
433
+ {
434
+ indexed: false,
435
+ internalType: "uint256",
436
+ name: "assets",
437
+ type: "uint256",
438
+ },
439
+ {
440
+ indexed: false,
441
+ internalType: "uint16",
442
+ name: "epoch",
443
+ type: "uint16",
444
+ },
445
+ ],
446
+ name: "PendingDeposit",
447
+ type: "event",
448
+ },
449
+ {
450
+ anonymous: false,
451
+ inputs: [
452
+ {
453
+ indexed: true,
454
+ internalType: "bytes32",
455
+ name: "role",
456
+ type: "bytes32",
457
+ },
458
+ {
459
+ indexed: true,
460
+ internalType: "bytes32",
461
+ name: "previousAdminRole",
462
+ type: "bytes32",
463
+ },
464
+ {
465
+ indexed: true,
466
+ internalType: "bytes32",
467
+ name: "newAdminRole",
468
+ type: "bytes32",
469
+ },
470
+ ],
471
+ name: "RoleAdminChanged",
472
+ type: "event",
473
+ },
474
+ {
475
+ anonymous: false,
476
+ inputs: [
477
+ {
478
+ indexed: true,
479
+ internalType: "bytes32",
480
+ name: "role",
481
+ type: "bytes32",
482
+ },
483
+ {
484
+ indexed: true,
485
+ internalType: "address",
486
+ name: "account",
487
+ type: "address",
488
+ },
489
+ {
490
+ indexed: true,
491
+ internalType: "address",
492
+ name: "sender",
493
+ type: "address",
494
+ },
495
+ ],
496
+ name: "RoleGranted",
497
+ type: "event",
498
+ },
499
+ {
500
+ anonymous: false,
501
+ inputs: [
502
+ {
503
+ indexed: true,
504
+ internalType: "bytes32",
505
+ name: "role",
506
+ type: "bytes32",
507
+ },
508
+ {
509
+ indexed: true,
510
+ internalType: "address",
511
+ name: "account",
512
+ type: "address",
513
+ },
514
+ {
515
+ indexed: true,
516
+ internalType: "address",
517
+ name: "sender",
518
+ type: "address",
519
+ },
520
+ ],
521
+ name: "RoleRevoked",
522
+ type: "event",
523
+ },
524
+ {
525
+ anonymous: false,
526
+ inputs: [
527
+ {
528
+ indexed: true,
529
+ internalType: "address",
530
+ name: "user",
531
+ type: "address",
532
+ },
533
+ {
534
+ indexed: false,
535
+ internalType: "uint256",
536
+ name: "shares",
537
+ type: "uint256",
538
+ },
539
+ {
540
+ indexed: false,
541
+ internalType: "uint16",
542
+ name: "claimEpoch",
543
+ type: "uint16",
544
+ },
545
+ {
546
+ indexed: false,
547
+ internalType: "uint256",
548
+ name: "timestamp",
549
+ type: "uint256",
550
+ },
551
+ {
552
+ indexed: false,
553
+ internalType: "bytes32",
554
+ name: "salt",
555
+ type: "bytes32",
556
+ },
557
+ ],
558
+ name: "ScheduledWithdrawal",
559
+ type: "event",
560
+ },
561
+ {
562
+ anonymous: false,
563
+ inputs: [
564
+ {
565
+ indexed: true,
566
+ internalType: "address",
567
+ name: "from",
568
+ type: "address",
569
+ },
570
+ {
571
+ indexed: true,
572
+ internalType: "address",
573
+ name: "to",
574
+ type: "address",
575
+ },
576
+ {
577
+ indexed: false,
578
+ internalType: "uint256",
579
+ name: "value",
580
+ type: "uint256",
581
+ },
582
+ ],
583
+ name: "Transfer",
584
+ type: "event",
585
+ },
586
+ {
587
+ anonymous: false,
588
+ inputs: [
589
+ {
590
+ indexed: false,
591
+ internalType: "address",
592
+ name: "account",
593
+ type: "address",
594
+ },
595
+ ],
596
+ name: "Unpaused",
597
+ type: "event",
598
+ },
599
+ {
600
+ anonymous: false,
601
+ inputs: [
602
+ {
603
+ indexed: true,
604
+ internalType: "uint256",
605
+ name: "epoch",
606
+ type: "uint256",
607
+ },
608
+ {
609
+ indexed: false,
610
+ internalType: "uint256",
611
+ name: "newNav",
612
+ type: "uint256",
613
+ },
614
+ ],
615
+ name: "VanityNavUpdated",
616
+ type: "event",
617
+ },
618
+ {
619
+ anonymous: false,
620
+ inputs: [
621
+ {
622
+ indexed: false,
623
+ internalType: "uint256",
624
+ name: "totalDeposits",
625
+ type: "uint256",
626
+ },
627
+ ],
628
+ name: "VaultStarted",
629
+ type: "event",
630
+ },
631
+ {
632
+ inputs: [],
633
+ name: "ADMIN_LITE_ROLE",
634
+ outputs: [
635
+ {
636
+ internalType: "bytes32",
637
+ name: "",
638
+ type: "bytes32",
639
+ },
640
+ ],
641
+ stateMutability: "view",
642
+ type: "function",
643
+ },
644
+ {
645
+ inputs: [],
646
+ name: "BRACKET_FEE_CLAIMER_ROLE",
647
+ outputs: [
648
+ {
649
+ internalType: "bytes32",
650
+ name: "",
651
+ type: "bytes32",
652
+ },
653
+ ],
654
+ stateMutability: "view",
655
+ type: "function",
656
+ },
657
+ {
658
+ inputs: [],
659
+ name: "DEFAULT_ADMIN_ROLE",
660
+ outputs: [
661
+ {
662
+ internalType: "bytes32",
663
+ name: "",
664
+ type: "bytes32",
665
+ },
666
+ ],
667
+ stateMutability: "view",
668
+ type: "function",
669
+ },
670
+ {
671
+ inputs: [],
672
+ name: "KYC_WHITELIST",
673
+ outputs: [
674
+ {
675
+ internalType: "contract KYCWhitelist",
676
+ name: "",
677
+ type: "address",
678
+ },
679
+ ],
680
+ stateMutability: "view",
681
+ type: "function",
682
+ },
683
+ {
684
+ inputs: [],
685
+ name: "MANAGER_FEE_CLAIMER_ROLE",
686
+ outputs: [
687
+ {
688
+ internalType: "bytes32",
689
+ name: "",
690
+ type: "bytes32",
691
+ },
692
+ ],
693
+ stateMutability: "view",
694
+ type: "function",
695
+ },
696
+ {
697
+ inputs: [],
698
+ name: "NAV_UPDATER_ROLE",
699
+ outputs: [
700
+ {
701
+ internalType: "bytes32",
702
+ name: "",
703
+ type: "bytes32",
704
+ },
705
+ ],
706
+ stateMutability: "view",
707
+ type: "function",
708
+ },
709
+ {
710
+ inputs: [],
711
+ name: "accruedBrktTvlFees",
712
+ outputs: [
713
+ {
714
+ internalType: "uint256",
715
+ name: "",
716
+ type: "uint256",
717
+ },
718
+ ],
719
+ stateMutability: "view",
720
+ type: "function",
721
+ },
722
+ {
723
+ inputs: [],
724
+ name: "accruedManagerPerformanceFees",
725
+ outputs: [
726
+ {
727
+ internalType: "uint256",
728
+ name: "",
729
+ type: "uint256",
730
+ },
731
+ ],
732
+ stateMutability: "view",
733
+ type: "function",
734
+ },
735
+ {
736
+ inputs: [],
737
+ name: "accruedManagerTvlFees",
738
+ outputs: [
739
+ {
740
+ internalType: "uint256",
741
+ name: "",
742
+ type: "uint256",
743
+ },
744
+ ],
745
+ stateMutability: "view",
746
+ type: "function",
747
+ },
748
+ {
749
+ inputs: [
750
+ {
751
+ internalType: "address",
752
+ name: "account",
753
+ type: "address",
754
+ },
755
+ ],
756
+ name: "activeBalanceOf",
757
+ outputs: [
758
+ {
759
+ internalType: "uint256",
760
+ name: "",
761
+ type: "uint256",
762
+ },
763
+ ],
764
+ stateMutability: "view",
765
+ type: "function",
766
+ },
767
+ {
768
+ inputs: [],
769
+ name: "activeSupply",
770
+ outputs: [
771
+ {
772
+ internalType: "uint256",
773
+ name: "",
774
+ type: "uint256",
775
+ },
776
+ ],
777
+ stateMutability: "view",
778
+ type: "function",
779
+ },
780
+ {
781
+ inputs: [
782
+ {
783
+ internalType: "address",
784
+ name: "owner",
785
+ type: "address",
786
+ },
787
+ {
788
+ internalType: "address",
789
+ name: "spender",
790
+ type: "address",
791
+ },
792
+ ],
793
+ name: "allowance",
794
+ outputs: [
795
+ {
796
+ internalType: "uint256",
797
+ name: "",
798
+ type: "uint256",
799
+ },
800
+ ],
801
+ stateMutability: "view",
802
+ type: "function",
803
+ },
804
+ {
805
+ inputs: [
806
+ {
807
+ internalType: "address",
808
+ name: "spender",
809
+ type: "address",
810
+ },
811
+ {
812
+ internalType: "uint256",
813
+ name: "value",
814
+ type: "uint256",
815
+ },
816
+ ],
817
+ name: "approve",
818
+ outputs: [
819
+ {
820
+ internalType: "bool",
821
+ name: "",
822
+ type: "bool",
823
+ },
824
+ ],
825
+ stateMutability: "nonpayable",
826
+ type: "function",
827
+ },
828
+ {
829
+ inputs: [],
830
+ name: "assetsPerShare",
831
+ outputs: [
832
+ {
833
+ internalType: "uint256",
834
+ name: "",
835
+ type: "uint256",
836
+ },
837
+ ],
838
+ stateMutability: "view",
839
+ type: "function",
840
+ },
841
+ {
842
+ inputs: [
843
+ {
844
+ internalType: "address",
845
+ name: "account",
846
+ type: "address",
847
+ },
848
+ ],
849
+ name: "balanceOf",
850
+ outputs: [
851
+ {
852
+ internalType: "uint256",
853
+ name: "",
854
+ type: "uint256",
855
+ },
856
+ ],
857
+ stateMutability: "view",
858
+ type: "function",
859
+ },
860
+ {
861
+ inputs: [],
862
+ name: "claimBrktTvlFees",
863
+ outputs: [],
864
+ stateMutability: "nonpayable",
865
+ type: "function",
866
+ },
867
+ {
868
+ inputs: [],
869
+ name: "claimManagerFees",
870
+ outputs: [],
871
+ stateMutability: "nonpayable",
872
+ type: "function",
873
+ },
874
+ {
875
+ inputs: [
876
+ {
877
+ internalType: "uint256",
878
+ name: "shares",
879
+ type: "uint256",
880
+ },
881
+ {
882
+ internalType: "uint16",
883
+ name: "claimEpoch",
884
+ type: "uint16",
885
+ },
886
+ {
887
+ internalType: "uint256",
888
+ name: "timestamp",
889
+ type: "uint256",
890
+ },
891
+ {
892
+ internalType: "bytes32",
893
+ name: "salt",
894
+ type: "bytes32",
895
+ },
896
+ ],
897
+ name: "claimWithdrawal",
898
+ outputs: [],
899
+ stateMutability: "nonpayable",
900
+ type: "function",
901
+ },
902
+ {
903
+ inputs: [
904
+ {
905
+ internalType: "uint256",
906
+ name: "shares",
907
+ type: "uint256",
908
+ },
909
+ ],
910
+ name: "convertToAssets",
911
+ outputs: [
912
+ {
913
+ internalType: "uint256",
914
+ name: "",
915
+ type: "uint256",
916
+ },
917
+ ],
918
+ stateMutability: "view",
919
+ type: "function",
920
+ },
921
+ {
922
+ inputs: [
923
+ {
924
+ internalType: "uint256",
925
+ name: "shares",
926
+ type: "uint256",
927
+ },
928
+ {
929
+ internalType: "uint256",
930
+ name: "_assetsPerShare",
931
+ type: "uint256",
932
+ },
933
+ ],
934
+ name: "convertToAssets",
935
+ outputs: [
936
+ {
937
+ internalType: "uint256",
938
+ name: "",
939
+ type: "uint256",
940
+ },
941
+ ],
942
+ stateMutability: "view",
943
+ type: "function",
944
+ },
945
+ {
946
+ inputs: [
947
+ {
948
+ internalType: "uint256",
949
+ name: "assets",
950
+ type: "uint256",
951
+ },
952
+ ],
953
+ name: "convertToShares",
954
+ outputs: [
955
+ {
956
+ internalType: "uint256",
957
+ name: "",
958
+ type: "uint256",
959
+ },
960
+ ],
961
+ stateMutability: "view",
962
+ type: "function",
963
+ },
964
+ {
965
+ inputs: [
966
+ {
967
+ internalType: "uint256",
968
+ name: "assets",
969
+ type: "uint256",
970
+ },
971
+ {
972
+ internalType: "uint256",
973
+ name: "_assetsPerShare",
974
+ type: "uint256",
975
+ },
976
+ ],
977
+ name: "convertToShares",
978
+ outputs: [
979
+ {
980
+ internalType: "uint256",
981
+ name: "",
982
+ type: "uint256",
983
+ },
984
+ ],
985
+ stateMutability: "view",
986
+ type: "function",
987
+ },
988
+ {
989
+ inputs: [],
990
+ name: "decimals",
991
+ outputs: [
992
+ {
993
+ internalType: "uint8",
994
+ name: "",
995
+ type: "uint8",
996
+ },
997
+ ],
998
+ stateMutability: "view",
999
+ type: "function",
1000
+ },
1001
+ {
1002
+ inputs: [
1003
+ {
1004
+ internalType: "uint256",
1005
+ name: "assets",
1006
+ type: "uint256",
1007
+ },
1008
+ {
1009
+ internalType: "address",
1010
+ name: "destination",
1011
+ type: "address",
1012
+ },
1013
+ ],
1014
+ name: "deposit",
1015
+ outputs: [],
1016
+ stateMutability: "nonpayable",
1017
+ type: "function",
1018
+ },
1019
+ {
1020
+ inputs: [],
1021
+ name: "epoch",
1022
+ outputs: [
1023
+ {
1024
+ internalType: "uint16",
1025
+ name: "",
1026
+ type: "uint16",
1027
+ },
1028
+ ],
1029
+ stateMutability: "view",
1030
+ type: "function",
1031
+ },
1032
+ {
1033
+ inputs: [],
1034
+ name: "fixTotalNonMintedShares",
1035
+ outputs: [],
1036
+ stateMutability: "nonpayable",
1037
+ type: "function",
1038
+ },
1039
+ {
1040
+ inputs: [
1041
+ {
1042
+ internalType: "bytes32",
1043
+ name: "role",
1044
+ type: "bytes32",
1045
+ },
1046
+ ],
1047
+ name: "getRoleAdmin",
1048
+ outputs: [
1049
+ {
1050
+ internalType: "bytes32",
1051
+ name: "",
1052
+ type: "bytes32",
1053
+ },
1054
+ ],
1055
+ stateMutability: "view",
1056
+ type: "function",
1057
+ },
1058
+ {
1059
+ inputs: [
1060
+ {
1061
+ internalType: "address",
1062
+ name: "user",
1063
+ type: "address",
1064
+ },
1065
+ {
1066
+ internalType: "uint256",
1067
+ name: "amount",
1068
+ type: "uint256",
1069
+ },
1070
+ {
1071
+ internalType: "uint16",
1072
+ name: "claimEpoch",
1073
+ type: "uint16",
1074
+ },
1075
+ {
1076
+ internalType: "uint256",
1077
+ name: "timestamp",
1078
+ type: "uint256",
1079
+ },
1080
+ {
1081
+ internalType: "bytes32",
1082
+ name: "salt",
1083
+ type: "bytes32",
1084
+ },
1085
+ ],
1086
+ name: "getWithdrawalStatusAndHash",
1087
+ outputs: [
1088
+ {
1089
+ internalType: "enum IBracketVaultV2.WithdrawalStatus",
1090
+ name: "",
1091
+ type: "uint8",
1092
+ },
1093
+ {
1094
+ internalType: "bytes32",
1095
+ name: "",
1096
+ type: "bytes32",
1097
+ },
1098
+ ],
1099
+ stateMutability: "view",
1100
+ type: "function",
1101
+ },
1102
+ {
1103
+ inputs: [
1104
+ {
1105
+ internalType: "bytes32",
1106
+ name: "role",
1107
+ type: "bytes32",
1108
+ },
1109
+ {
1110
+ internalType: "address",
1111
+ name: "account",
1112
+ type: "address",
1113
+ },
1114
+ ],
1115
+ name: "grantRole",
1116
+ outputs: [],
1117
+ stateMutability: "nonpayable",
1118
+ type: "function",
1119
+ },
1120
+ {
1121
+ inputs: [
1122
+ {
1123
+ internalType: "bytes32",
1124
+ name: "role",
1125
+ type: "bytes32",
1126
+ },
1127
+ {
1128
+ internalType: "address",
1129
+ name: "account",
1130
+ type: "address",
1131
+ },
1132
+ ],
1133
+ name: "hasRole",
1134
+ outputs: [
1135
+ {
1136
+ internalType: "bool",
1137
+ name: "",
1138
+ type: "bool",
1139
+ },
1140
+ ],
1141
+ stateMutability: "view",
1142
+ type: "function",
1143
+ },
1144
+ {
1145
+ inputs: [
1146
+ {
1147
+ internalType: "address",
1148
+ name: "account",
1149
+ type: "address",
1150
+ },
1151
+ ],
1152
+ name: "inactiveBalanceOf",
1153
+ outputs: [
1154
+ {
1155
+ internalType: "uint256",
1156
+ name: "",
1157
+ type: "uint256",
1158
+ },
1159
+ ],
1160
+ stateMutability: "view",
1161
+ type: "function",
1162
+ },
1163
+ {
1164
+ inputs: [],
1165
+ name: "inactiveSupply",
1166
+ outputs: [
1167
+ {
1168
+ internalType: "uint256",
1169
+ name: "",
1170
+ type: "uint256",
1171
+ },
1172
+ ],
1173
+ stateMutability: "view",
1174
+ type: "function",
1175
+ },
1176
+ {
1177
+ inputs: [
1178
+ {
1179
+ internalType: "string",
1180
+ name: "name",
1181
+ type: "string",
1182
+ },
1183
+ {
1184
+ internalType: "string",
1185
+ name: "symbol",
1186
+ type: "string",
1187
+ },
1188
+ {
1189
+ internalType: "address",
1190
+ name: "_token",
1191
+ type: "address",
1192
+ },
1193
+ {
1194
+ internalType: "address",
1195
+ name: "_manager",
1196
+ type: "address",
1197
+ },
1198
+ {
1199
+ internalType: "address",
1200
+ name: "multisig",
1201
+ type: "address",
1202
+ },
1203
+ {
1204
+ internalType: "uint16",
1205
+ name: "_withdrawDelay",
1206
+ type: "uint16",
1207
+ },
1208
+ {
1209
+ internalType: "uint48",
1210
+ name: "_lockFrequency",
1211
+ type: "uint48",
1212
+ },
1213
+ {
1214
+ internalType: "address[]",
1215
+ name: "_accounts",
1216
+ type: "address[]",
1217
+ },
1218
+ {
1219
+ internalType: "bytes32[]",
1220
+ name: "_roles",
1221
+ type: "bytes32[]",
1222
+ },
1223
+ ],
1224
+ name: "initialize",
1225
+ outputs: [],
1226
+ stateMutability: "nonpayable",
1227
+ type: "function",
1228
+ },
1229
+ {
1230
+ inputs: [],
1231
+ name: "isVaultLocked",
1232
+ outputs: [
1233
+ {
1234
+ internalType: "bool",
1235
+ name: "",
1236
+ type: "bool",
1237
+ },
1238
+ ],
1239
+ stateMutability: "view",
1240
+ type: "function",
1241
+ },
1242
+ {
1243
+ inputs: [
1244
+ {
1245
+ internalType: "address",
1246
+ name: "",
1247
+ type: "address",
1248
+ },
1249
+ ],
1250
+ name: "lastDeposit",
1251
+ outputs: [
1252
+ {
1253
+ internalType: "uint16",
1254
+ name: "epoch",
1255
+ type: "uint16",
1256
+ },
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "assets",
1260
+ type: "uint256",
1261
+ },
1262
+ {
1263
+ internalType: "uint256",
1264
+ name: "queuedAssets",
1265
+ type: "uint256",
1266
+ },
1267
+ ],
1268
+ stateMutability: "view",
1269
+ type: "function",
1270
+ },
1271
+ {
1272
+ inputs: [],
1273
+ name: "lockFrequency",
1274
+ outputs: [
1275
+ {
1276
+ internalType: "uint48",
1277
+ name: "",
1278
+ type: "uint48",
1279
+ },
1280
+ ],
1281
+ stateMutability: "view",
1282
+ type: "function",
1283
+ },
1284
+ {
1285
+ inputs: [],
1286
+ name: "manager",
1287
+ outputs: [
1288
+ {
1289
+ internalType: "address",
1290
+ name: "",
1291
+ type: "address",
1292
+ },
1293
+ ],
1294
+ stateMutability: "view",
1295
+ type: "function",
1296
+ },
1297
+ {
1298
+ inputs: [
1299
+ {
1300
+ internalType: "address",
1301
+ name: "account",
1302
+ type: "address",
1303
+ },
1304
+ ],
1305
+ name: "mintedSharesOf",
1306
+ outputs: [
1307
+ {
1308
+ internalType: "uint256",
1309
+ name: "",
1310
+ type: "uint256",
1311
+ },
1312
+ ],
1313
+ stateMutability: "view",
1314
+ type: "function",
1315
+ },
1316
+ {
1317
+ inputs: [],
1318
+ name: "name",
1319
+ outputs: [
1320
+ {
1321
+ internalType: "string",
1322
+ name: "",
1323
+ type: "string",
1324
+ },
1325
+ ],
1326
+ stateMutability: "view",
1327
+ type: "function",
1328
+ },
1329
+ {
1330
+ inputs: [
1331
+ {
1332
+ internalType: "uint16",
1333
+ name: "",
1334
+ type: "uint16",
1335
+ },
1336
+ ],
1337
+ name: "navs",
1338
+ outputs: [
1339
+ {
1340
+ internalType: "uint256",
1341
+ name: "",
1342
+ type: "uint256",
1343
+ },
1344
+ ],
1345
+ stateMutability: "view",
1346
+ type: "function",
1347
+ },
1348
+ {
1349
+ inputs: [],
1350
+ name: "nextLock",
1351
+ outputs: [
1352
+ {
1353
+ internalType: "uint48",
1354
+ name: "",
1355
+ type: "uint48",
1356
+ },
1357
+ ],
1358
+ stateMutability: "view",
1359
+ type: "function",
1360
+ },
1361
+ {
1362
+ inputs: [],
1363
+ name: "paused",
1364
+ outputs: [
1365
+ {
1366
+ internalType: "bool",
1367
+ name: "",
1368
+ type: "bool",
1369
+ },
1370
+ ],
1371
+ stateMutability: "view",
1372
+ type: "function",
1373
+ },
1374
+ {
1375
+ inputs: [
1376
+ {
1377
+ internalType: "address",
1378
+ name: "account",
1379
+ type: "address",
1380
+ },
1381
+ ],
1382
+ name: "pendingMintShares",
1383
+ outputs: [
1384
+ {
1385
+ internalType: "uint256",
1386
+ name: "",
1387
+ type: "uint256",
1388
+ },
1389
+ ],
1390
+ stateMutability: "view",
1391
+ type: "function",
1392
+ },
1393
+ {
1394
+ inputs: [
1395
+ {
1396
+ internalType: "bytes32",
1397
+ name: "role",
1398
+ type: "bytes32",
1399
+ },
1400
+ {
1401
+ internalType: "address",
1402
+ name: "callerConfirmation",
1403
+ type: "address",
1404
+ },
1405
+ ],
1406
+ name: "renounceRole",
1407
+ outputs: [],
1408
+ stateMutability: "nonpayable",
1409
+ type: "function",
1410
+ },
1411
+ {
1412
+ inputs: [
1413
+ {
1414
+ internalType: "bytes32",
1415
+ name: "role",
1416
+ type: "bytes32",
1417
+ },
1418
+ {
1419
+ internalType: "address",
1420
+ name: "account",
1421
+ type: "address",
1422
+ },
1423
+ ],
1424
+ name: "revokeRole",
1425
+ outputs: [],
1426
+ stateMutability: "nonpayable",
1427
+ type: "function",
1428
+ },
1429
+ {
1430
+ inputs: [
1431
+ {
1432
+ internalType: "uint48",
1433
+ name: "_lockFrequency",
1434
+ type: "uint48",
1435
+ },
1436
+ ],
1437
+ name: "setLockFrequency",
1438
+ outputs: [],
1439
+ stateMutability: "nonpayable",
1440
+ type: "function",
1441
+ },
1442
+ {
1443
+ inputs: [
1444
+ {
1445
+ internalType: "address",
1446
+ name: "_manager",
1447
+ type: "address",
1448
+ },
1449
+ ],
1450
+ name: "setManager",
1451
+ outputs: [],
1452
+ stateMutability: "nonpayable",
1453
+ type: "function",
1454
+ },
1455
+ {
1456
+ inputs: [
1457
+ {
1458
+ internalType: "string",
1459
+ name: "name_",
1460
+ type: "string",
1461
+ },
1462
+ {
1463
+ internalType: "string",
1464
+ name: "symbol_",
1465
+ type: "string",
1466
+ },
1467
+ ],
1468
+ name: "setNameAndSymbol",
1469
+ outputs: [],
1470
+ stateMutability: "nonpayable",
1471
+ type: "function",
1472
+ },
1473
+ {
1474
+ inputs: [
1475
+ {
1476
+ internalType: "uint48",
1477
+ name: "_nextLock",
1478
+ type: "uint48",
1479
+ },
1480
+ ],
1481
+ name: "setNextLock",
1482
+ outputs: [],
1483
+ stateMutability: "nonpayable",
1484
+ type: "function",
1485
+ },
1486
+ {
1487
+ inputs: [
1488
+ {
1489
+ internalType: "uint16",
1490
+ name: "_withdrawDelay",
1491
+ type: "uint16",
1492
+ },
1493
+ ],
1494
+ name: "setWithdrawDelay",
1495
+ outputs: [],
1496
+ stateMutability: "nonpayable",
1497
+ type: "function",
1498
+ },
1499
+ {
1500
+ inputs: [
1501
+ {
1502
+ internalType: "address",
1503
+ name: "account",
1504
+ type: "address",
1505
+ },
1506
+ ],
1507
+ name: "sharesOf",
1508
+ outputs: [
1509
+ {
1510
+ internalType: "uint256",
1511
+ name: "",
1512
+ type: "uint256",
1513
+ },
1514
+ ],
1515
+ stateMutability: "view",
1516
+ type: "function",
1517
+ },
1518
+ {
1519
+ inputs: [
1520
+ {
1521
+ internalType: "uint256",
1522
+ name: "minimumDeposits",
1523
+ type: "uint256",
1524
+ },
1525
+ ],
1526
+ name: "startVault",
1527
+ outputs: [],
1528
+ stateMutability: "nonpayable",
1529
+ type: "function",
1530
+ },
1531
+ {
1532
+ inputs: [
1533
+ {
1534
+ internalType: "bytes4",
1535
+ name: "interfaceId",
1536
+ type: "bytes4",
1537
+ },
1538
+ ],
1539
+ name: "supportsInterface",
1540
+ outputs: [
1541
+ {
1542
+ internalType: "bool",
1543
+ name: "",
1544
+ type: "bool",
1545
+ },
1546
+ ],
1547
+ stateMutability: "view",
1548
+ type: "function",
1549
+ },
1550
+ {
1551
+ inputs: [],
1552
+ name: "switchPause",
1553
+ outputs: [],
1554
+ stateMutability: "nonpayable",
1555
+ type: "function",
1556
+ },
1557
+ {
1558
+ inputs: [],
1559
+ name: "symbol",
1560
+ outputs: [
1561
+ {
1562
+ internalType: "string",
1563
+ name: "",
1564
+ type: "string",
1565
+ },
1566
+ ],
1567
+ stateMutability: "view",
1568
+ type: "function",
1569
+ },
1570
+ {
1571
+ inputs: [],
1572
+ name: "token",
1573
+ outputs: [
1574
+ {
1575
+ internalType: "contract IERC20Metadata",
1576
+ name: "",
1577
+ type: "address",
1578
+ },
1579
+ ],
1580
+ stateMutability: "view",
1581
+ type: "function",
1582
+ },
1583
+ {
1584
+ inputs: [],
1585
+ name: "totalDeposits",
1586
+ outputs: [
1587
+ {
1588
+ internalType: "uint256",
1589
+ name: "",
1590
+ type: "uint256",
1591
+ },
1592
+ ],
1593
+ stateMutability: "view",
1594
+ type: "function",
1595
+ },
1596
+ {
1597
+ inputs: [],
1598
+ name: "totalMintedShares",
1599
+ outputs: [
1600
+ {
1601
+ internalType: "uint256",
1602
+ name: "",
1603
+ type: "uint256",
1604
+ },
1605
+ ],
1606
+ stateMutability: "view",
1607
+ type: "function",
1608
+ },
1609
+ {
1610
+ inputs: [],
1611
+ name: "totalNonMintedShares",
1612
+ outputs: [
1613
+ {
1614
+ internalType: "uint256",
1615
+ name: "",
1616
+ type: "uint256",
1617
+ },
1618
+ ],
1619
+ stateMutability: "view",
1620
+ type: "function",
1621
+ },
1622
+ {
1623
+ inputs: [],
1624
+ name: "totalQueuedDeposits",
1625
+ outputs: [
1626
+ {
1627
+ internalType: "uint256",
1628
+ name: "",
1629
+ type: "uint256",
1630
+ },
1631
+ ],
1632
+ stateMutability: "view",
1633
+ type: "function",
1634
+ },
1635
+ {
1636
+ inputs: [],
1637
+ name: "totalShares",
1638
+ outputs: [
1639
+ {
1640
+ internalType: "uint256",
1641
+ name: "",
1642
+ type: "uint256",
1643
+ },
1644
+ ],
1645
+ stateMutability: "view",
1646
+ type: "function",
1647
+ },
1648
+ {
1649
+ inputs: [],
1650
+ name: "totalSupply",
1651
+ outputs: [
1652
+ {
1653
+ internalType: "uint256",
1654
+ name: "",
1655
+ type: "uint256",
1656
+ },
1657
+ ],
1658
+ stateMutability: "view",
1659
+ type: "function",
1660
+ },
1661
+ {
1662
+ inputs: [
1663
+ {
1664
+ internalType: "uint16",
1665
+ name: "",
1666
+ type: "uint16",
1667
+ },
1668
+ ],
1669
+ name: "totalWithdrawals",
1670
+ outputs: [
1671
+ {
1672
+ internalType: "uint256",
1673
+ name: "",
1674
+ type: "uint256",
1675
+ },
1676
+ ],
1677
+ stateMutability: "view",
1678
+ type: "function",
1679
+ },
1680
+ {
1681
+ inputs: [
1682
+ {
1683
+ internalType: "address",
1684
+ name: "to",
1685
+ type: "address",
1686
+ },
1687
+ {
1688
+ internalType: "uint256",
1689
+ name: "value",
1690
+ type: "uint256",
1691
+ },
1692
+ ],
1693
+ name: "transfer",
1694
+ outputs: [
1695
+ {
1696
+ internalType: "bool",
1697
+ name: "",
1698
+ type: "bool",
1699
+ },
1700
+ ],
1701
+ stateMutability: "nonpayable",
1702
+ type: "function",
1703
+ },
1704
+ {
1705
+ inputs: [
1706
+ {
1707
+ internalType: "address",
1708
+ name: "from",
1709
+ type: "address",
1710
+ },
1711
+ {
1712
+ internalType: "address",
1713
+ name: "to",
1714
+ type: "address",
1715
+ },
1716
+ {
1717
+ internalType: "uint256",
1718
+ name: "value",
1719
+ type: "uint256",
1720
+ },
1721
+ ],
1722
+ name: "transferFrom",
1723
+ outputs: [
1724
+ {
1725
+ internalType: "bool",
1726
+ name: "",
1727
+ type: "bool",
1728
+ },
1729
+ ],
1730
+ stateMutability: "nonpayable",
1731
+ type: "function",
1732
+ },
1733
+ {
1734
+ inputs: [
1735
+ {
1736
+ internalType: "uint256",
1737
+ name: "newNav",
1738
+ type: "uint256",
1739
+ },
1740
+ {
1741
+ internalType: "uint256",
1742
+ name: "managerPerformanceFee",
1743
+ type: "uint256",
1744
+ },
1745
+ {
1746
+ internalType: "uint256",
1747
+ name: "managerTvlFee",
1748
+ type: "uint256",
1749
+ },
1750
+ {
1751
+ internalType: "uint256",
1752
+ name: "brktTvlFee",
1753
+ type: "uint256",
1754
+ },
1755
+ ],
1756
+ name: "updateNav",
1757
+ outputs: [],
1758
+ stateMutability: "nonpayable",
1759
+ type: "function",
1760
+ },
1761
+ {
1762
+ inputs: [],
1763
+ name: "vanityNav",
1764
+ outputs: [
1765
+ {
1766
+ internalType: "uint256",
1767
+ name: "",
1768
+ type: "uint256",
1769
+ },
1770
+ ],
1771
+ stateMutability: "view",
1772
+ type: "function",
1773
+ },
1774
+ {
1775
+ inputs: [
1776
+ {
1777
+ internalType: "uint256",
1778
+ name: "assets",
1779
+ type: "uint256",
1780
+ },
1781
+ {
1782
+ internalType: "bytes32",
1783
+ name: "salt",
1784
+ type: "bytes32",
1785
+ },
1786
+ ],
1787
+ name: "withdraw",
1788
+ outputs: [],
1789
+ stateMutability: "nonpayable",
1790
+ type: "function",
1791
+ },
1792
+ {
1793
+ inputs: [],
1794
+ name: "withdrawDelay",
1795
+ outputs: [
1796
+ {
1797
+ internalType: "uint16",
1798
+ name: "",
1799
+ type: "uint16",
1800
+ },
1801
+ ],
1802
+ stateMutability: "view",
1803
+ type: "function",
1804
+ },
1805
+ {
1806
+ inputs: [
1807
+ {
1808
+ internalType: "bytes32",
1809
+ name: "",
1810
+ type: "bytes32",
1811
+ },
1812
+ ],
1813
+ name: "withdrawals",
1814
+ outputs: [
1815
+ {
1816
+ internalType: "enum IBracketVaultV2.WithdrawalStatus",
1817
+ name: "",
1818
+ type: "uint8",
1819
+ },
1820
+ ],
1821
+ stateMutability: "view",
1822
+ type: "function",
1823
+ },
1824
+ ];
1825
+ export class BracketVault__factory {
1826
+ static abi = _abi;
1827
+ static createInterface() {
1828
+ return new utils.Interface(_abi);
1829
+ }
1830
+ static connect(address, signerOrProvider) {
1831
+ return new Contract(address, _abi, signerOrProvider);
1832
+ }
1833
+ }
1834
+ //# sourceMappingURL=BracketVault__factory.js.map