@strkfarm/sdk 1.0.54 → 1.0.56

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,1565 @@
1
+ [
2
+ {
3
+ "type": "impl",
4
+ "name": "UpgradeableImpl",
5
+ "interface_name": "openzeppelin_upgrades::interface::IUpgradeable"
6
+ },
7
+ {
8
+ "type": "interface",
9
+ "name": "openzeppelin_upgrades::interface::IUpgradeable",
10
+ "items": [
11
+ {
12
+ "type": "function",
13
+ "name": "upgrade",
14
+ "inputs": [
15
+ {
16
+ "name": "new_class_hash",
17
+ "type": "core::starknet::class_hash::ClassHash"
18
+ }
19
+ ],
20
+ "outputs": [],
21
+ "state_mutability": "external"
22
+ }
23
+ ]
24
+ },
25
+ {
26
+ "type": "impl",
27
+ "name": "VaultMetadataImpl",
28
+ "interface_name": "openzeppelin_token::erc20::interface::IERC20Metadata"
29
+ },
30
+ {
31
+ "type": "struct",
32
+ "name": "core::byte_array::ByteArray",
33
+ "members": [
34
+ {
35
+ "name": "data",
36
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
37
+ },
38
+ {
39
+ "name": "pending_word",
40
+ "type": "core::felt252"
41
+ },
42
+ {
43
+ "name": "pending_word_len",
44
+ "type": "core::integer::u32"
45
+ }
46
+ ]
47
+ },
48
+ {
49
+ "type": "interface",
50
+ "name": "openzeppelin_token::erc20::interface::IERC20Metadata",
51
+ "items": [
52
+ {
53
+ "type": "function",
54
+ "name": "name",
55
+ "inputs": [],
56
+ "outputs": [
57
+ {
58
+ "type": "core::byte_array::ByteArray"
59
+ }
60
+ ],
61
+ "state_mutability": "view"
62
+ },
63
+ {
64
+ "type": "function",
65
+ "name": "symbol",
66
+ "inputs": [],
67
+ "outputs": [
68
+ {
69
+ "type": "core::byte_array::ByteArray"
70
+ }
71
+ ],
72
+ "state_mutability": "view"
73
+ },
74
+ {
75
+ "type": "function",
76
+ "name": "decimals",
77
+ "inputs": [],
78
+ "outputs": [
79
+ {
80
+ "type": "core::integer::u8"
81
+ }
82
+ ],
83
+ "state_mutability": "view"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "type": "impl",
89
+ "name": "VaultImpl",
90
+ "interface_name": "vault::vault::interface::IVault"
91
+ },
92
+ {
93
+ "type": "struct",
94
+ "name": "core::integer::u256",
95
+ "members": [
96
+ {
97
+ "name": "low",
98
+ "type": "core::integer::u128"
99
+ },
100
+ {
101
+ "name": "high",
102
+ "type": "core::integer::u128"
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "type": "interface",
108
+ "name": "vault::vault::interface::IVault",
109
+ "items": [
110
+ {
111
+ "type": "function",
112
+ "name": "register_redeem_request",
113
+ "inputs": [
114
+ {
115
+ "name": "redeem_request",
116
+ "type": "core::starknet::contract_address::ContractAddress"
117
+ }
118
+ ],
119
+ "outputs": [],
120
+ "state_mutability": "external"
121
+ },
122
+ {
123
+ "type": "function",
124
+ "name": "register_vault_allocator",
125
+ "inputs": [
126
+ {
127
+ "name": "vault_allocator",
128
+ "type": "core::starknet::contract_address::ContractAddress"
129
+ }
130
+ ],
131
+ "outputs": [],
132
+ "state_mutability": "external"
133
+ },
134
+ {
135
+ "type": "function",
136
+ "name": "request_redeem",
137
+ "inputs": [
138
+ {
139
+ "name": "shares",
140
+ "type": "core::integer::u256"
141
+ },
142
+ {
143
+ "name": "receiver",
144
+ "type": "core::starknet::contract_address::ContractAddress"
145
+ },
146
+ {
147
+ "name": "owner",
148
+ "type": "core::starknet::contract_address::ContractAddress"
149
+ }
150
+ ],
151
+ "outputs": [
152
+ {
153
+ "type": "core::integer::u256"
154
+ }
155
+ ],
156
+ "state_mutability": "external"
157
+ },
158
+ {
159
+ "type": "function",
160
+ "name": "claim_redeem",
161
+ "inputs": [
162
+ {
163
+ "name": "id",
164
+ "type": "core::integer::u256"
165
+ }
166
+ ],
167
+ "outputs": [
168
+ {
169
+ "type": "core::integer::u256"
170
+ }
171
+ ],
172
+ "state_mutability": "external"
173
+ },
174
+ {
175
+ "type": "function",
176
+ "name": "set_fees_config",
177
+ "inputs": [
178
+ {
179
+ "name": "fees_recipient",
180
+ "type": "core::starknet::contract_address::ContractAddress"
181
+ },
182
+ {
183
+ "name": "redeem_fees",
184
+ "type": "core::integer::u256"
185
+ },
186
+ {
187
+ "name": "management_fees",
188
+ "type": "core::integer::u256"
189
+ },
190
+ {
191
+ "name": "performance_fees",
192
+ "type": "core::integer::u256"
193
+ }
194
+ ],
195
+ "outputs": [],
196
+ "state_mutability": "external"
197
+ },
198
+ {
199
+ "type": "function",
200
+ "name": "set_report_delay",
201
+ "inputs": [
202
+ {
203
+ "name": "report_delay",
204
+ "type": "core::integer::u64"
205
+ }
206
+ ],
207
+ "outputs": [],
208
+ "state_mutability": "external"
209
+ },
210
+ {
211
+ "type": "function",
212
+ "name": "set_max_delta",
213
+ "inputs": [
214
+ {
215
+ "name": "max_delta",
216
+ "type": "core::integer::u256"
217
+ }
218
+ ],
219
+ "outputs": [],
220
+ "state_mutability": "external"
221
+ },
222
+ {
223
+ "type": "function",
224
+ "name": "report",
225
+ "inputs": [
226
+ {
227
+ "name": "new_aum",
228
+ "type": "core::integer::u256"
229
+ }
230
+ ],
231
+ "outputs": [],
232
+ "state_mutability": "external"
233
+ },
234
+ {
235
+ "type": "function",
236
+ "name": "bring_liquidity",
237
+ "inputs": [
238
+ {
239
+ "name": "amount",
240
+ "type": "core::integer::u256"
241
+ }
242
+ ],
243
+ "outputs": [],
244
+ "state_mutability": "external"
245
+ },
246
+ {
247
+ "type": "function",
248
+ "name": "pause",
249
+ "inputs": [],
250
+ "outputs": [],
251
+ "state_mutability": "external"
252
+ },
253
+ {
254
+ "type": "function",
255
+ "name": "unpause",
256
+ "inputs": [],
257
+ "outputs": [],
258
+ "state_mutability": "external"
259
+ },
260
+ {
261
+ "type": "function",
262
+ "name": "epoch",
263
+ "inputs": [],
264
+ "outputs": [
265
+ {
266
+ "type": "core::integer::u256"
267
+ }
268
+ ],
269
+ "state_mutability": "view"
270
+ },
271
+ {
272
+ "type": "function",
273
+ "name": "handled_epoch_len",
274
+ "inputs": [],
275
+ "outputs": [
276
+ {
277
+ "type": "core::integer::u256"
278
+ }
279
+ ],
280
+ "state_mutability": "view"
281
+ },
282
+ {
283
+ "type": "function",
284
+ "name": "buffer",
285
+ "inputs": [],
286
+ "outputs": [
287
+ {
288
+ "type": "core::integer::u256"
289
+ }
290
+ ],
291
+ "state_mutability": "view"
292
+ },
293
+ {
294
+ "type": "function",
295
+ "name": "aum",
296
+ "inputs": [],
297
+ "outputs": [
298
+ {
299
+ "type": "core::integer::u256"
300
+ }
301
+ ],
302
+ "state_mutability": "view"
303
+ },
304
+ {
305
+ "type": "function",
306
+ "name": "redeem_assets",
307
+ "inputs": [
308
+ {
309
+ "name": "epoch",
310
+ "type": "core::integer::u256"
311
+ }
312
+ ],
313
+ "outputs": [
314
+ {
315
+ "type": "core::integer::u256"
316
+ }
317
+ ],
318
+ "state_mutability": "view"
319
+ },
320
+ {
321
+ "type": "function",
322
+ "name": "redeem_nominal",
323
+ "inputs": [
324
+ {
325
+ "name": "epoch",
326
+ "type": "core::integer::u256"
327
+ }
328
+ ],
329
+ "outputs": [
330
+ {
331
+ "type": "core::integer::u256"
332
+ }
333
+ ],
334
+ "state_mutability": "view"
335
+ },
336
+ {
337
+ "type": "function",
338
+ "name": "fees_recipient",
339
+ "inputs": [],
340
+ "outputs": [
341
+ {
342
+ "type": "core::starknet::contract_address::ContractAddress"
343
+ }
344
+ ],
345
+ "state_mutability": "view"
346
+ },
347
+ {
348
+ "type": "function",
349
+ "name": "redeem_fees",
350
+ "inputs": [],
351
+ "outputs": [
352
+ {
353
+ "type": "core::integer::u256"
354
+ }
355
+ ],
356
+ "state_mutability": "view"
357
+ },
358
+ {
359
+ "type": "function",
360
+ "name": "management_fees",
361
+ "inputs": [],
362
+ "outputs": [
363
+ {
364
+ "type": "core::integer::u256"
365
+ }
366
+ ],
367
+ "state_mutability": "view"
368
+ },
369
+ {
370
+ "type": "function",
371
+ "name": "performance_fees",
372
+ "inputs": [],
373
+ "outputs": [
374
+ {
375
+ "type": "core::integer::u256"
376
+ }
377
+ ],
378
+ "state_mutability": "view"
379
+ },
380
+ {
381
+ "type": "function",
382
+ "name": "redeem_request",
383
+ "inputs": [],
384
+ "outputs": [
385
+ {
386
+ "type": "core::starknet::contract_address::ContractAddress"
387
+ }
388
+ ],
389
+ "state_mutability": "view"
390
+ },
391
+ {
392
+ "type": "function",
393
+ "name": "report_delay",
394
+ "inputs": [],
395
+ "outputs": [
396
+ {
397
+ "type": "core::integer::u64"
398
+ }
399
+ ],
400
+ "state_mutability": "view"
401
+ },
402
+ {
403
+ "type": "function",
404
+ "name": "vault_allocator",
405
+ "inputs": [],
406
+ "outputs": [
407
+ {
408
+ "type": "core::starknet::contract_address::ContractAddress"
409
+ }
410
+ ],
411
+ "state_mutability": "view"
412
+ },
413
+ {
414
+ "type": "function",
415
+ "name": "last_report_timestamp",
416
+ "inputs": [],
417
+ "outputs": [
418
+ {
419
+ "type": "core::integer::u64"
420
+ }
421
+ ],
422
+ "state_mutability": "view"
423
+ },
424
+ {
425
+ "type": "function",
426
+ "name": "max_delta",
427
+ "inputs": [],
428
+ "outputs": [
429
+ {
430
+ "type": "core::integer::u256"
431
+ }
432
+ ],
433
+ "state_mutability": "view"
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "type": "impl",
439
+ "name": "ERC4626Impl",
440
+ "interface_name": "openzeppelin_token::erc20::extensions::erc4626::interface::IERC4626"
441
+ },
442
+ {
443
+ "type": "interface",
444
+ "name": "openzeppelin_token::erc20::extensions::erc4626::interface::IERC4626",
445
+ "items": [
446
+ {
447
+ "type": "function",
448
+ "name": "asset",
449
+ "inputs": [],
450
+ "outputs": [
451
+ {
452
+ "type": "core::starknet::contract_address::ContractAddress"
453
+ }
454
+ ],
455
+ "state_mutability": "view"
456
+ },
457
+ {
458
+ "type": "function",
459
+ "name": "total_assets",
460
+ "inputs": [],
461
+ "outputs": [
462
+ {
463
+ "type": "core::integer::u256"
464
+ }
465
+ ],
466
+ "state_mutability": "view"
467
+ },
468
+ {
469
+ "type": "function",
470
+ "name": "convert_to_shares",
471
+ "inputs": [
472
+ {
473
+ "name": "assets",
474
+ "type": "core::integer::u256"
475
+ }
476
+ ],
477
+ "outputs": [
478
+ {
479
+ "type": "core::integer::u256"
480
+ }
481
+ ],
482
+ "state_mutability": "view"
483
+ },
484
+ {
485
+ "type": "function",
486
+ "name": "convert_to_assets",
487
+ "inputs": [
488
+ {
489
+ "name": "shares",
490
+ "type": "core::integer::u256"
491
+ }
492
+ ],
493
+ "outputs": [
494
+ {
495
+ "type": "core::integer::u256"
496
+ }
497
+ ],
498
+ "state_mutability": "view"
499
+ },
500
+ {
501
+ "type": "function",
502
+ "name": "max_deposit",
503
+ "inputs": [
504
+ {
505
+ "name": "receiver",
506
+ "type": "core::starknet::contract_address::ContractAddress"
507
+ }
508
+ ],
509
+ "outputs": [
510
+ {
511
+ "type": "core::integer::u256"
512
+ }
513
+ ],
514
+ "state_mutability": "view"
515
+ },
516
+ {
517
+ "type": "function",
518
+ "name": "preview_deposit",
519
+ "inputs": [
520
+ {
521
+ "name": "assets",
522
+ "type": "core::integer::u256"
523
+ }
524
+ ],
525
+ "outputs": [
526
+ {
527
+ "type": "core::integer::u256"
528
+ }
529
+ ],
530
+ "state_mutability": "view"
531
+ },
532
+ {
533
+ "type": "function",
534
+ "name": "deposit",
535
+ "inputs": [
536
+ {
537
+ "name": "assets",
538
+ "type": "core::integer::u256"
539
+ },
540
+ {
541
+ "name": "receiver",
542
+ "type": "core::starknet::contract_address::ContractAddress"
543
+ }
544
+ ],
545
+ "outputs": [
546
+ {
547
+ "type": "core::integer::u256"
548
+ }
549
+ ],
550
+ "state_mutability": "external"
551
+ },
552
+ {
553
+ "type": "function",
554
+ "name": "max_mint",
555
+ "inputs": [
556
+ {
557
+ "name": "receiver",
558
+ "type": "core::starknet::contract_address::ContractAddress"
559
+ }
560
+ ],
561
+ "outputs": [
562
+ {
563
+ "type": "core::integer::u256"
564
+ }
565
+ ],
566
+ "state_mutability": "view"
567
+ },
568
+ {
569
+ "type": "function",
570
+ "name": "preview_mint",
571
+ "inputs": [
572
+ {
573
+ "name": "shares",
574
+ "type": "core::integer::u256"
575
+ }
576
+ ],
577
+ "outputs": [
578
+ {
579
+ "type": "core::integer::u256"
580
+ }
581
+ ],
582
+ "state_mutability": "view"
583
+ },
584
+ {
585
+ "type": "function",
586
+ "name": "mint",
587
+ "inputs": [
588
+ {
589
+ "name": "shares",
590
+ "type": "core::integer::u256"
591
+ },
592
+ {
593
+ "name": "receiver",
594
+ "type": "core::starknet::contract_address::ContractAddress"
595
+ }
596
+ ],
597
+ "outputs": [
598
+ {
599
+ "type": "core::integer::u256"
600
+ }
601
+ ],
602
+ "state_mutability": "external"
603
+ },
604
+ {
605
+ "type": "function",
606
+ "name": "max_withdraw",
607
+ "inputs": [
608
+ {
609
+ "name": "owner",
610
+ "type": "core::starknet::contract_address::ContractAddress"
611
+ }
612
+ ],
613
+ "outputs": [
614
+ {
615
+ "type": "core::integer::u256"
616
+ }
617
+ ],
618
+ "state_mutability": "view"
619
+ },
620
+ {
621
+ "type": "function",
622
+ "name": "preview_withdraw",
623
+ "inputs": [
624
+ {
625
+ "name": "assets",
626
+ "type": "core::integer::u256"
627
+ }
628
+ ],
629
+ "outputs": [
630
+ {
631
+ "type": "core::integer::u256"
632
+ }
633
+ ],
634
+ "state_mutability": "view"
635
+ },
636
+ {
637
+ "type": "function",
638
+ "name": "withdraw",
639
+ "inputs": [
640
+ {
641
+ "name": "assets",
642
+ "type": "core::integer::u256"
643
+ },
644
+ {
645
+ "name": "receiver",
646
+ "type": "core::starknet::contract_address::ContractAddress"
647
+ },
648
+ {
649
+ "name": "owner",
650
+ "type": "core::starknet::contract_address::ContractAddress"
651
+ }
652
+ ],
653
+ "outputs": [
654
+ {
655
+ "type": "core::integer::u256"
656
+ }
657
+ ],
658
+ "state_mutability": "external"
659
+ },
660
+ {
661
+ "type": "function",
662
+ "name": "max_redeem",
663
+ "inputs": [
664
+ {
665
+ "name": "owner",
666
+ "type": "core::starknet::contract_address::ContractAddress"
667
+ }
668
+ ],
669
+ "outputs": [
670
+ {
671
+ "type": "core::integer::u256"
672
+ }
673
+ ],
674
+ "state_mutability": "view"
675
+ },
676
+ {
677
+ "type": "function",
678
+ "name": "preview_redeem",
679
+ "inputs": [
680
+ {
681
+ "name": "shares",
682
+ "type": "core::integer::u256"
683
+ }
684
+ ],
685
+ "outputs": [
686
+ {
687
+ "type": "core::integer::u256"
688
+ }
689
+ ],
690
+ "state_mutability": "view"
691
+ },
692
+ {
693
+ "type": "function",
694
+ "name": "redeem",
695
+ "inputs": [
696
+ {
697
+ "name": "shares",
698
+ "type": "core::integer::u256"
699
+ },
700
+ {
701
+ "name": "receiver",
702
+ "type": "core::starknet::contract_address::ContractAddress"
703
+ },
704
+ {
705
+ "name": "owner",
706
+ "type": "core::starknet::contract_address::ContractAddress"
707
+ }
708
+ ],
709
+ "outputs": [
710
+ {
711
+ "type": "core::integer::u256"
712
+ }
713
+ ],
714
+ "state_mutability": "external"
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "type": "impl",
720
+ "name": "ERC20Impl",
721
+ "interface_name": "openzeppelin_token::erc20::interface::IERC20"
722
+ },
723
+ {
724
+ "type": "enum",
725
+ "name": "core::bool",
726
+ "variants": [
727
+ {
728
+ "name": "False",
729
+ "type": "()"
730
+ },
731
+ {
732
+ "name": "True",
733
+ "type": "()"
734
+ }
735
+ ]
736
+ },
737
+ {
738
+ "type": "interface",
739
+ "name": "openzeppelin_token::erc20::interface::IERC20",
740
+ "items": [
741
+ {
742
+ "type": "function",
743
+ "name": "total_supply",
744
+ "inputs": [],
745
+ "outputs": [
746
+ {
747
+ "type": "core::integer::u256"
748
+ }
749
+ ],
750
+ "state_mutability": "view"
751
+ },
752
+ {
753
+ "type": "function",
754
+ "name": "balance_of",
755
+ "inputs": [
756
+ {
757
+ "name": "account",
758
+ "type": "core::starknet::contract_address::ContractAddress"
759
+ }
760
+ ],
761
+ "outputs": [
762
+ {
763
+ "type": "core::integer::u256"
764
+ }
765
+ ],
766
+ "state_mutability": "view"
767
+ },
768
+ {
769
+ "type": "function",
770
+ "name": "allowance",
771
+ "inputs": [
772
+ {
773
+ "name": "owner",
774
+ "type": "core::starknet::contract_address::ContractAddress"
775
+ },
776
+ {
777
+ "name": "spender",
778
+ "type": "core::starknet::contract_address::ContractAddress"
779
+ }
780
+ ],
781
+ "outputs": [
782
+ {
783
+ "type": "core::integer::u256"
784
+ }
785
+ ],
786
+ "state_mutability": "view"
787
+ },
788
+ {
789
+ "type": "function",
790
+ "name": "transfer",
791
+ "inputs": [
792
+ {
793
+ "name": "recipient",
794
+ "type": "core::starknet::contract_address::ContractAddress"
795
+ },
796
+ {
797
+ "name": "amount",
798
+ "type": "core::integer::u256"
799
+ }
800
+ ],
801
+ "outputs": [
802
+ {
803
+ "type": "core::bool"
804
+ }
805
+ ],
806
+ "state_mutability": "external"
807
+ },
808
+ {
809
+ "type": "function",
810
+ "name": "transfer_from",
811
+ "inputs": [
812
+ {
813
+ "name": "sender",
814
+ "type": "core::starknet::contract_address::ContractAddress"
815
+ },
816
+ {
817
+ "name": "recipient",
818
+ "type": "core::starknet::contract_address::ContractAddress"
819
+ },
820
+ {
821
+ "name": "amount",
822
+ "type": "core::integer::u256"
823
+ }
824
+ ],
825
+ "outputs": [
826
+ {
827
+ "type": "core::bool"
828
+ }
829
+ ],
830
+ "state_mutability": "external"
831
+ },
832
+ {
833
+ "type": "function",
834
+ "name": "approve",
835
+ "inputs": [
836
+ {
837
+ "name": "spender",
838
+ "type": "core::starknet::contract_address::ContractAddress"
839
+ },
840
+ {
841
+ "name": "amount",
842
+ "type": "core::integer::u256"
843
+ }
844
+ ],
845
+ "outputs": [
846
+ {
847
+ "type": "core::bool"
848
+ }
849
+ ],
850
+ "state_mutability": "external"
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ "type": "impl",
856
+ "name": "ERC20CamelOnlyImpl",
857
+ "interface_name": "openzeppelin_token::erc20::interface::IERC20CamelOnly"
858
+ },
859
+ {
860
+ "type": "interface",
861
+ "name": "openzeppelin_token::erc20::interface::IERC20CamelOnly",
862
+ "items": [
863
+ {
864
+ "type": "function",
865
+ "name": "totalSupply",
866
+ "inputs": [],
867
+ "outputs": [
868
+ {
869
+ "type": "core::integer::u256"
870
+ }
871
+ ],
872
+ "state_mutability": "view"
873
+ },
874
+ {
875
+ "type": "function",
876
+ "name": "balanceOf",
877
+ "inputs": [
878
+ {
879
+ "name": "account",
880
+ "type": "core::starknet::contract_address::ContractAddress"
881
+ }
882
+ ],
883
+ "outputs": [
884
+ {
885
+ "type": "core::integer::u256"
886
+ }
887
+ ],
888
+ "state_mutability": "view"
889
+ },
890
+ {
891
+ "type": "function",
892
+ "name": "transferFrom",
893
+ "inputs": [
894
+ {
895
+ "name": "sender",
896
+ "type": "core::starknet::contract_address::ContractAddress"
897
+ },
898
+ {
899
+ "name": "recipient",
900
+ "type": "core::starknet::contract_address::ContractAddress"
901
+ },
902
+ {
903
+ "name": "amount",
904
+ "type": "core::integer::u256"
905
+ }
906
+ ],
907
+ "outputs": [
908
+ {
909
+ "type": "core::bool"
910
+ }
911
+ ],
912
+ "state_mutability": "external"
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "type": "impl",
918
+ "name": "AccessControlImpl",
919
+ "interface_name": "openzeppelin_access::accesscontrol::interface::IAccessControl"
920
+ },
921
+ {
922
+ "type": "interface",
923
+ "name": "openzeppelin_access::accesscontrol::interface::IAccessControl",
924
+ "items": [
925
+ {
926
+ "type": "function",
927
+ "name": "has_role",
928
+ "inputs": [
929
+ {
930
+ "name": "role",
931
+ "type": "core::felt252"
932
+ },
933
+ {
934
+ "name": "account",
935
+ "type": "core::starknet::contract_address::ContractAddress"
936
+ }
937
+ ],
938
+ "outputs": [
939
+ {
940
+ "type": "core::bool"
941
+ }
942
+ ],
943
+ "state_mutability": "view"
944
+ },
945
+ {
946
+ "type": "function",
947
+ "name": "get_role_admin",
948
+ "inputs": [
949
+ {
950
+ "name": "role",
951
+ "type": "core::felt252"
952
+ }
953
+ ],
954
+ "outputs": [
955
+ {
956
+ "type": "core::felt252"
957
+ }
958
+ ],
959
+ "state_mutability": "view"
960
+ },
961
+ {
962
+ "type": "function",
963
+ "name": "grant_role",
964
+ "inputs": [
965
+ {
966
+ "name": "role",
967
+ "type": "core::felt252"
968
+ },
969
+ {
970
+ "name": "account",
971
+ "type": "core::starknet::contract_address::ContractAddress"
972
+ }
973
+ ],
974
+ "outputs": [],
975
+ "state_mutability": "external"
976
+ },
977
+ {
978
+ "type": "function",
979
+ "name": "revoke_role",
980
+ "inputs": [
981
+ {
982
+ "name": "role",
983
+ "type": "core::felt252"
984
+ },
985
+ {
986
+ "name": "account",
987
+ "type": "core::starknet::contract_address::ContractAddress"
988
+ }
989
+ ],
990
+ "outputs": [],
991
+ "state_mutability": "external"
992
+ },
993
+ {
994
+ "type": "function",
995
+ "name": "renounce_role",
996
+ "inputs": [
997
+ {
998
+ "name": "role",
999
+ "type": "core::felt252"
1000
+ },
1001
+ {
1002
+ "name": "account",
1003
+ "type": "core::starknet::contract_address::ContractAddress"
1004
+ }
1005
+ ],
1006
+ "outputs": [],
1007
+ "state_mutability": "external"
1008
+ }
1009
+ ]
1010
+ },
1011
+ {
1012
+ "type": "impl",
1013
+ "name": "PausableImpl",
1014
+ "interface_name": "openzeppelin_security::interface::IPausable"
1015
+ },
1016
+ {
1017
+ "type": "interface",
1018
+ "name": "openzeppelin_security::interface::IPausable",
1019
+ "items": [
1020
+ {
1021
+ "type": "function",
1022
+ "name": "is_paused",
1023
+ "inputs": [],
1024
+ "outputs": [
1025
+ {
1026
+ "type": "core::bool"
1027
+ }
1028
+ ],
1029
+ "state_mutability": "view"
1030
+ }
1031
+ ]
1032
+ },
1033
+ {
1034
+ "type": "constructor",
1035
+ "name": "constructor",
1036
+ "inputs": [
1037
+ {
1038
+ "name": "name",
1039
+ "type": "core::byte_array::ByteArray"
1040
+ },
1041
+ {
1042
+ "name": "symbol",
1043
+ "type": "core::byte_array::ByteArray"
1044
+ },
1045
+ {
1046
+ "name": "underlying_asset",
1047
+ "type": "core::starknet::contract_address::ContractAddress"
1048
+ },
1049
+ {
1050
+ "name": "owner",
1051
+ "type": "core::starknet::contract_address::ContractAddress"
1052
+ },
1053
+ {
1054
+ "name": "fees_recipient",
1055
+ "type": "core::starknet::contract_address::ContractAddress"
1056
+ },
1057
+ {
1058
+ "name": "redeem_fees",
1059
+ "type": "core::integer::u256"
1060
+ },
1061
+ {
1062
+ "name": "management_fees",
1063
+ "type": "core::integer::u256"
1064
+ },
1065
+ {
1066
+ "name": "performance_fees",
1067
+ "type": "core::integer::u256"
1068
+ },
1069
+ {
1070
+ "name": "report_delay",
1071
+ "type": "core::integer::u64"
1072
+ },
1073
+ {
1074
+ "name": "max_delta",
1075
+ "type": "core::integer::u256"
1076
+ }
1077
+ ]
1078
+ },
1079
+ {
1080
+ "type": "event",
1081
+ "name": "openzeppelin_token::erc20::erc20::ERC20Component::Transfer",
1082
+ "kind": "struct",
1083
+ "members": [
1084
+ {
1085
+ "name": "from",
1086
+ "type": "core::starknet::contract_address::ContractAddress",
1087
+ "kind": "key"
1088
+ },
1089
+ {
1090
+ "name": "to",
1091
+ "type": "core::starknet::contract_address::ContractAddress",
1092
+ "kind": "key"
1093
+ },
1094
+ {
1095
+ "name": "value",
1096
+ "type": "core::integer::u256",
1097
+ "kind": "data"
1098
+ }
1099
+ ]
1100
+ },
1101
+ {
1102
+ "type": "event",
1103
+ "name": "openzeppelin_token::erc20::erc20::ERC20Component::Approval",
1104
+ "kind": "struct",
1105
+ "members": [
1106
+ {
1107
+ "name": "owner",
1108
+ "type": "core::starknet::contract_address::ContractAddress",
1109
+ "kind": "key"
1110
+ },
1111
+ {
1112
+ "name": "spender",
1113
+ "type": "core::starknet::contract_address::ContractAddress",
1114
+ "kind": "key"
1115
+ },
1116
+ {
1117
+ "name": "value",
1118
+ "type": "core::integer::u256",
1119
+ "kind": "data"
1120
+ }
1121
+ ]
1122
+ },
1123
+ {
1124
+ "type": "event",
1125
+ "name": "openzeppelin_token::erc20::erc20::ERC20Component::Event",
1126
+ "kind": "enum",
1127
+ "variants": [
1128
+ {
1129
+ "name": "Transfer",
1130
+ "type": "openzeppelin_token::erc20::erc20::ERC20Component::Transfer",
1131
+ "kind": "nested"
1132
+ },
1133
+ {
1134
+ "name": "Approval",
1135
+ "type": "openzeppelin_token::erc20::erc20::ERC20Component::Approval",
1136
+ "kind": "nested"
1137
+ }
1138
+ ]
1139
+ },
1140
+ {
1141
+ "type": "event",
1142
+ "name": "vault::oz_4626::ERC4626Component::Deposit",
1143
+ "kind": "struct",
1144
+ "members": [
1145
+ {
1146
+ "name": "sender",
1147
+ "type": "core::starknet::contract_address::ContractAddress",
1148
+ "kind": "key"
1149
+ },
1150
+ {
1151
+ "name": "owner",
1152
+ "type": "core::starknet::contract_address::ContractAddress",
1153
+ "kind": "key"
1154
+ },
1155
+ {
1156
+ "name": "assets",
1157
+ "type": "core::integer::u256",
1158
+ "kind": "data"
1159
+ },
1160
+ {
1161
+ "name": "shares",
1162
+ "type": "core::integer::u256",
1163
+ "kind": "data"
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "type": "event",
1169
+ "name": "vault::oz_4626::ERC4626Component::Withdraw",
1170
+ "kind": "struct",
1171
+ "members": [
1172
+ {
1173
+ "name": "sender",
1174
+ "type": "core::starknet::contract_address::ContractAddress",
1175
+ "kind": "key"
1176
+ },
1177
+ {
1178
+ "name": "receiver",
1179
+ "type": "core::starknet::contract_address::ContractAddress",
1180
+ "kind": "key"
1181
+ },
1182
+ {
1183
+ "name": "owner",
1184
+ "type": "core::starknet::contract_address::ContractAddress",
1185
+ "kind": "key"
1186
+ },
1187
+ {
1188
+ "name": "assets",
1189
+ "type": "core::integer::u256",
1190
+ "kind": "data"
1191
+ },
1192
+ {
1193
+ "name": "shares",
1194
+ "type": "core::integer::u256",
1195
+ "kind": "data"
1196
+ }
1197
+ ]
1198
+ },
1199
+ {
1200
+ "type": "event",
1201
+ "name": "vault::oz_4626::ERC4626Component::Event",
1202
+ "kind": "enum",
1203
+ "variants": [
1204
+ {
1205
+ "name": "Deposit",
1206
+ "type": "vault::oz_4626::ERC4626Component::Deposit",
1207
+ "kind": "nested"
1208
+ },
1209
+ {
1210
+ "name": "Withdraw",
1211
+ "type": "vault::oz_4626::ERC4626Component::Withdraw",
1212
+ "kind": "nested"
1213
+ }
1214
+ ]
1215
+ },
1216
+ {
1217
+ "type": "event",
1218
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
1219
+ "kind": "enum",
1220
+ "variants": []
1221
+ },
1222
+ {
1223
+ "type": "event",
1224
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGranted",
1225
+ "kind": "struct",
1226
+ "members": [
1227
+ {
1228
+ "name": "role",
1229
+ "type": "core::felt252",
1230
+ "kind": "data"
1231
+ },
1232
+ {
1233
+ "name": "account",
1234
+ "type": "core::starknet::contract_address::ContractAddress",
1235
+ "kind": "data"
1236
+ },
1237
+ {
1238
+ "name": "sender",
1239
+ "type": "core::starknet::contract_address::ContractAddress",
1240
+ "kind": "data"
1241
+ }
1242
+ ]
1243
+ },
1244
+ {
1245
+ "type": "event",
1246
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGrantedWithDelay",
1247
+ "kind": "struct",
1248
+ "members": [
1249
+ {
1250
+ "name": "role",
1251
+ "type": "core::felt252",
1252
+ "kind": "data"
1253
+ },
1254
+ {
1255
+ "name": "account",
1256
+ "type": "core::starknet::contract_address::ContractAddress",
1257
+ "kind": "data"
1258
+ },
1259
+ {
1260
+ "name": "sender",
1261
+ "type": "core::starknet::contract_address::ContractAddress",
1262
+ "kind": "data"
1263
+ },
1264
+ {
1265
+ "name": "delay",
1266
+ "type": "core::integer::u64",
1267
+ "kind": "data"
1268
+ }
1269
+ ]
1270
+ },
1271
+ {
1272
+ "type": "event",
1273
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleRevoked",
1274
+ "kind": "struct",
1275
+ "members": [
1276
+ {
1277
+ "name": "role",
1278
+ "type": "core::felt252",
1279
+ "kind": "data"
1280
+ },
1281
+ {
1282
+ "name": "account",
1283
+ "type": "core::starknet::contract_address::ContractAddress",
1284
+ "kind": "data"
1285
+ },
1286
+ {
1287
+ "name": "sender",
1288
+ "type": "core::starknet::contract_address::ContractAddress",
1289
+ "kind": "data"
1290
+ }
1291
+ ]
1292
+ },
1293
+ {
1294
+ "type": "event",
1295
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleAdminChanged",
1296
+ "kind": "struct",
1297
+ "members": [
1298
+ {
1299
+ "name": "role",
1300
+ "type": "core::felt252",
1301
+ "kind": "data"
1302
+ },
1303
+ {
1304
+ "name": "previous_admin_role",
1305
+ "type": "core::felt252",
1306
+ "kind": "data"
1307
+ },
1308
+ {
1309
+ "name": "new_admin_role",
1310
+ "type": "core::felt252",
1311
+ "kind": "data"
1312
+ }
1313
+ ]
1314
+ },
1315
+ {
1316
+ "type": "event",
1317
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::Event",
1318
+ "kind": "enum",
1319
+ "variants": [
1320
+ {
1321
+ "name": "RoleGranted",
1322
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGranted",
1323
+ "kind": "nested"
1324
+ },
1325
+ {
1326
+ "name": "RoleGrantedWithDelay",
1327
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGrantedWithDelay",
1328
+ "kind": "nested"
1329
+ },
1330
+ {
1331
+ "name": "RoleRevoked",
1332
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleRevoked",
1333
+ "kind": "nested"
1334
+ },
1335
+ {
1336
+ "name": "RoleAdminChanged",
1337
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleAdminChanged",
1338
+ "kind": "nested"
1339
+ }
1340
+ ]
1341
+ },
1342
+ {
1343
+ "type": "event",
1344
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
1345
+ "kind": "struct",
1346
+ "members": [
1347
+ {
1348
+ "name": "class_hash",
1349
+ "type": "core::starknet::class_hash::ClassHash",
1350
+ "kind": "data"
1351
+ }
1352
+ ]
1353
+ },
1354
+ {
1355
+ "type": "event",
1356
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
1357
+ "kind": "enum",
1358
+ "variants": [
1359
+ {
1360
+ "name": "Upgraded",
1361
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
1362
+ "kind": "nested"
1363
+ }
1364
+ ]
1365
+ },
1366
+ {
1367
+ "type": "event",
1368
+ "name": "openzeppelin_security::pausable::PausableComponent::Paused",
1369
+ "kind": "struct",
1370
+ "members": [
1371
+ {
1372
+ "name": "account",
1373
+ "type": "core::starknet::contract_address::ContractAddress",
1374
+ "kind": "data"
1375
+ }
1376
+ ]
1377
+ },
1378
+ {
1379
+ "type": "event",
1380
+ "name": "openzeppelin_security::pausable::PausableComponent::Unpaused",
1381
+ "kind": "struct",
1382
+ "members": [
1383
+ {
1384
+ "name": "account",
1385
+ "type": "core::starknet::contract_address::ContractAddress",
1386
+ "kind": "data"
1387
+ }
1388
+ ]
1389
+ },
1390
+ {
1391
+ "type": "event",
1392
+ "name": "openzeppelin_security::pausable::PausableComponent::Event",
1393
+ "kind": "enum",
1394
+ "variants": [
1395
+ {
1396
+ "name": "Paused",
1397
+ "type": "openzeppelin_security::pausable::PausableComponent::Paused",
1398
+ "kind": "nested"
1399
+ },
1400
+ {
1401
+ "name": "Unpaused",
1402
+ "type": "openzeppelin_security::pausable::PausableComponent::Unpaused",
1403
+ "kind": "nested"
1404
+ }
1405
+ ]
1406
+ },
1407
+ {
1408
+ "type": "event",
1409
+ "name": "vault::vault::vault::Vault::RedeemRequested",
1410
+ "kind": "struct",
1411
+ "members": [
1412
+ {
1413
+ "name": "owner",
1414
+ "type": "core::starknet::contract_address::ContractAddress",
1415
+ "kind": "data"
1416
+ },
1417
+ {
1418
+ "name": "receiver",
1419
+ "type": "core::starknet::contract_address::ContractAddress",
1420
+ "kind": "data"
1421
+ },
1422
+ {
1423
+ "name": "shares",
1424
+ "type": "core::integer::u256",
1425
+ "kind": "data"
1426
+ },
1427
+ {
1428
+ "name": "assets",
1429
+ "type": "core::integer::u256",
1430
+ "kind": "data"
1431
+ },
1432
+ {
1433
+ "name": "id",
1434
+ "type": "core::integer::u256",
1435
+ "kind": "data"
1436
+ },
1437
+ {
1438
+ "name": "epoch",
1439
+ "type": "core::integer::u256",
1440
+ "kind": "data"
1441
+ }
1442
+ ]
1443
+ },
1444
+ {
1445
+ "type": "event",
1446
+ "name": "vault::vault::vault::Vault::RedeemClaimed",
1447
+ "kind": "struct",
1448
+ "members": [
1449
+ {
1450
+ "name": "receiver",
1451
+ "type": "core::starknet::contract_address::ContractAddress",
1452
+ "kind": "data"
1453
+ },
1454
+ {
1455
+ "name": "redeem_request_nominal",
1456
+ "type": "core::integer::u256",
1457
+ "kind": "data"
1458
+ },
1459
+ {
1460
+ "name": "assets",
1461
+ "type": "core::integer::u256",
1462
+ "kind": "data"
1463
+ },
1464
+ {
1465
+ "name": "id",
1466
+ "type": "core::integer::u256",
1467
+ "kind": "data"
1468
+ },
1469
+ {
1470
+ "name": "epoch",
1471
+ "type": "core::integer::u256",
1472
+ "kind": "data"
1473
+ }
1474
+ ]
1475
+ },
1476
+ {
1477
+ "type": "event",
1478
+ "name": "vault::vault::vault::Vault::Report",
1479
+ "kind": "struct",
1480
+ "members": [
1481
+ {
1482
+ "name": "new_epoch",
1483
+ "type": "core::integer::u256",
1484
+ "kind": "data"
1485
+ },
1486
+ {
1487
+ "name": "new_handled_epoch_len",
1488
+ "type": "core::integer::u256",
1489
+ "kind": "data"
1490
+ },
1491
+ {
1492
+ "name": "total_supply",
1493
+ "type": "core::integer::u256",
1494
+ "kind": "data"
1495
+ },
1496
+ {
1497
+ "name": "total_assets",
1498
+ "type": "core::integer::u256",
1499
+ "kind": "data"
1500
+ },
1501
+ {
1502
+ "name": "management_fee_shares",
1503
+ "type": "core::integer::u256",
1504
+ "kind": "data"
1505
+ },
1506
+ {
1507
+ "name": "performance_fee_shares",
1508
+ "type": "core::integer::u256",
1509
+ "kind": "data"
1510
+ }
1511
+ ]
1512
+ },
1513
+ {
1514
+ "type": "event",
1515
+ "name": "vault::vault::vault::Vault::Event",
1516
+ "kind": "enum",
1517
+ "variants": [
1518
+ {
1519
+ "name": "ERC20Event",
1520
+ "type": "openzeppelin_token::erc20::erc20::ERC20Component::Event",
1521
+ "kind": "nested"
1522
+ },
1523
+ {
1524
+ "name": "ERC4626Event",
1525
+ "type": "vault::oz_4626::ERC4626Component::Event",
1526
+ "kind": "nested"
1527
+ },
1528
+ {
1529
+ "name": "SRC5Event",
1530
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
1531
+ "kind": "nested"
1532
+ },
1533
+ {
1534
+ "name": "AccessControlEvent",
1535
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::Event",
1536
+ "kind": "nested"
1537
+ },
1538
+ {
1539
+ "name": "UpgradeableEvent",
1540
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
1541
+ "kind": "nested"
1542
+ },
1543
+ {
1544
+ "name": "PausableEvent",
1545
+ "type": "openzeppelin_security::pausable::PausableComponent::Event",
1546
+ "kind": "nested"
1547
+ },
1548
+ {
1549
+ "name": "RedeemRequested",
1550
+ "type": "vault::vault::vault::Vault::RedeemRequested",
1551
+ "kind": "nested"
1552
+ },
1553
+ {
1554
+ "name": "RedeemClaimed",
1555
+ "type": "vault::vault::vault::Vault::RedeemClaimed",
1556
+ "kind": "nested"
1557
+ },
1558
+ {
1559
+ "name": "Report",
1560
+ "type": "vault::vault::vault::Vault::Report",
1561
+ "kind": "nested"
1562
+ }
1563
+ ]
1564
+ }
1565
+ ]