@strkfarm/sdk 1.0.18 → 1.0.19

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