@strkfarm/sdk 2.0.0-staging.4 → 2.0.0-staging.41

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,1109 @@
1
+ [
2
+ {
3
+ "type": "impl",
4
+ "name": "YoloERC20Impl",
5
+ "interface_name": "openzeppelin_token::erc20::interface::IERC20Mixin"
6
+ },
7
+ {
8
+ "type": "struct",
9
+ "name": "core::integer::u256",
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
+ "type": "enum",
23
+ "name": "core::bool",
24
+ "variants": [
25
+ {
26
+ "name": "False",
27
+ "type": "()"
28
+ },
29
+ {
30
+ "name": "True",
31
+ "type": "()"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "type": "struct",
37
+ "name": "core::byte_array::ByteArray",
38
+ "members": [
39
+ {
40
+ "name": "data",
41
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
42
+ },
43
+ {
44
+ "name": "pending_word",
45
+ "type": "core::felt252"
46
+ },
47
+ {
48
+ "name": "pending_word_len",
49
+ "type": "core::integer::u32"
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "type": "interface",
55
+ "name": "openzeppelin_token::erc20::interface::IERC20Mixin",
56
+ "items": [
57
+ {
58
+ "type": "function",
59
+ "name": "total_supply",
60
+ "inputs": [],
61
+ "outputs": [
62
+ {
63
+ "type": "core::integer::u256"
64
+ }
65
+ ],
66
+ "state_mutability": "view"
67
+ },
68
+ {
69
+ "type": "function",
70
+ "name": "balance_of",
71
+ "inputs": [
72
+ {
73
+ "name": "account",
74
+ "type": "core::starknet::contract_address::ContractAddress"
75
+ }
76
+ ],
77
+ "outputs": [
78
+ {
79
+ "type": "core::integer::u256"
80
+ }
81
+ ],
82
+ "state_mutability": "view"
83
+ },
84
+ {
85
+ "type": "function",
86
+ "name": "allowance",
87
+ "inputs": [
88
+ {
89
+ "name": "owner",
90
+ "type": "core::starknet::contract_address::ContractAddress"
91
+ },
92
+ {
93
+ "name": "spender",
94
+ "type": "core::starknet::contract_address::ContractAddress"
95
+ }
96
+ ],
97
+ "outputs": [
98
+ {
99
+ "type": "core::integer::u256"
100
+ }
101
+ ],
102
+ "state_mutability": "view"
103
+ },
104
+ {
105
+ "type": "function",
106
+ "name": "transfer",
107
+ "inputs": [
108
+ {
109
+ "name": "recipient",
110
+ "type": "core::starknet::contract_address::ContractAddress"
111
+ },
112
+ {
113
+ "name": "amount",
114
+ "type": "core::integer::u256"
115
+ }
116
+ ],
117
+ "outputs": [
118
+ {
119
+ "type": "core::bool"
120
+ }
121
+ ],
122
+ "state_mutability": "external"
123
+ },
124
+ {
125
+ "type": "function",
126
+ "name": "transfer_from",
127
+ "inputs": [
128
+ {
129
+ "name": "sender",
130
+ "type": "core::starknet::contract_address::ContractAddress"
131
+ },
132
+ {
133
+ "name": "recipient",
134
+ "type": "core::starknet::contract_address::ContractAddress"
135
+ },
136
+ {
137
+ "name": "amount",
138
+ "type": "core::integer::u256"
139
+ }
140
+ ],
141
+ "outputs": [
142
+ {
143
+ "type": "core::bool"
144
+ }
145
+ ],
146
+ "state_mutability": "external"
147
+ },
148
+ {
149
+ "type": "function",
150
+ "name": "approve",
151
+ "inputs": [
152
+ {
153
+ "name": "spender",
154
+ "type": "core::starknet::contract_address::ContractAddress"
155
+ },
156
+ {
157
+ "name": "amount",
158
+ "type": "core::integer::u256"
159
+ }
160
+ ],
161
+ "outputs": [
162
+ {
163
+ "type": "core::bool"
164
+ }
165
+ ],
166
+ "state_mutability": "external"
167
+ },
168
+ {
169
+ "type": "function",
170
+ "name": "name",
171
+ "inputs": [],
172
+ "outputs": [
173
+ {
174
+ "type": "core::byte_array::ByteArray"
175
+ }
176
+ ],
177
+ "state_mutability": "view"
178
+ },
179
+ {
180
+ "type": "function",
181
+ "name": "symbol",
182
+ "inputs": [],
183
+ "outputs": [
184
+ {
185
+ "type": "core::byte_array::ByteArray"
186
+ }
187
+ ],
188
+ "state_mutability": "view"
189
+ },
190
+ {
191
+ "type": "function",
192
+ "name": "decimals",
193
+ "inputs": [],
194
+ "outputs": [
195
+ {
196
+ "type": "core::integer::u8"
197
+ }
198
+ ],
199
+ "state_mutability": "view"
200
+ },
201
+ {
202
+ "type": "function",
203
+ "name": "totalSupply",
204
+ "inputs": [],
205
+ "outputs": [
206
+ {
207
+ "type": "core::integer::u256"
208
+ }
209
+ ],
210
+ "state_mutability": "view"
211
+ },
212
+ {
213
+ "type": "function",
214
+ "name": "balanceOf",
215
+ "inputs": [
216
+ {
217
+ "name": "account",
218
+ "type": "core::starknet::contract_address::ContractAddress"
219
+ }
220
+ ],
221
+ "outputs": [
222
+ {
223
+ "type": "core::integer::u256"
224
+ }
225
+ ],
226
+ "state_mutability": "view"
227
+ },
228
+ {
229
+ "type": "function",
230
+ "name": "transferFrom",
231
+ "inputs": [
232
+ {
233
+ "name": "sender",
234
+ "type": "core::starknet::contract_address::ContractAddress"
235
+ },
236
+ {
237
+ "name": "recipient",
238
+ "type": "core::starknet::contract_address::ContractAddress"
239
+ },
240
+ {
241
+ "name": "amount",
242
+ "type": "core::integer::u256"
243
+ }
244
+ ],
245
+ "outputs": [
246
+ {
247
+ "type": "core::bool"
248
+ }
249
+ ],
250
+ "state_mutability": "external"
251
+ }
252
+ ]
253
+ },
254
+ {
255
+ "type": "impl",
256
+ "name": "YoloVaultImpl",
257
+ "interface_name": "contracts_private::strategies::yolo_vault::interface::IYoloVault"
258
+ },
259
+ {
260
+ "type": "struct",
261
+ "name": "strkfarm_contracts::components::swap::Route",
262
+ "members": [
263
+ {
264
+ "name": "token_from",
265
+ "type": "core::starknet::contract_address::ContractAddress"
266
+ },
267
+ {
268
+ "name": "token_to",
269
+ "type": "core::starknet::contract_address::ContractAddress"
270
+ },
271
+ {
272
+ "name": "exchange_address",
273
+ "type": "core::starknet::contract_address::ContractAddress"
274
+ },
275
+ {
276
+ "name": "percent",
277
+ "type": "core::integer::u128"
278
+ },
279
+ {
280
+ "name": "additional_swap_params",
281
+ "type": "core::array::Array::<core::felt252>"
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "type": "struct",
287
+ "name": "strkfarm_contracts::components::swap::AvnuMultiRouteSwap",
288
+ "members": [
289
+ {
290
+ "name": "token_from_address",
291
+ "type": "core::starknet::contract_address::ContractAddress"
292
+ },
293
+ {
294
+ "name": "token_from_amount",
295
+ "type": "core::integer::u256"
296
+ },
297
+ {
298
+ "name": "token_to_address",
299
+ "type": "core::starknet::contract_address::ContractAddress"
300
+ },
301
+ {
302
+ "name": "token_to_amount",
303
+ "type": "core::integer::u256"
304
+ },
305
+ {
306
+ "name": "token_to_min_amount",
307
+ "type": "core::integer::u256"
308
+ },
309
+ {
310
+ "name": "beneficiary",
311
+ "type": "core::starknet::contract_address::ContractAddress"
312
+ },
313
+ {
314
+ "name": "integrator_fee_amount_bps",
315
+ "type": "core::integer::u128"
316
+ },
317
+ {
318
+ "name": "integrator_fee_recipient",
319
+ "type": "core::starknet::contract_address::ContractAddress"
320
+ },
321
+ {
322
+ "name": "routes",
323
+ "type": "core::array::Array::<strkfarm_contracts::components::swap::Route>"
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "type": "struct",
329
+ "name": "contracts_private::strategies::yolo_vault::interface::YoloFeeSettings",
330
+ "members": [
331
+ {
332
+ "name": "swap_fee_bps",
333
+ "type": "core::integer::u256"
334
+ },
335
+ {
336
+ "name": "performance_fee_bps",
337
+ "type": "core::integer::u256"
338
+ },
339
+ {
340
+ "name": "fee_receiver",
341
+ "type": "core::starknet::contract_address::ContractAddress"
342
+ }
343
+ ]
344
+ },
345
+ {
346
+ "type": "struct",
347
+ "name": "contracts_private::strategies::yolo_vault::interface::YoloVaultStatus",
348
+ "members": [
349
+ {
350
+ "name": "current_epoch",
351
+ "type": "core::integer::u256"
352
+ },
353
+ {
354
+ "name": "total_epochs",
355
+ "type": "core::integer::u256"
356
+ },
357
+ {
358
+ "name": "remaining_base",
359
+ "type": "core::integer::u256"
360
+ },
361
+ {
362
+ "name": "total_second_tokens",
363
+ "type": "core::integer::u256"
364
+ },
365
+ {
366
+ "name": "global_second_token_index",
367
+ "type": "core::integer::u256"
368
+ },
369
+ {
370
+ "name": "cumulative_spend_index",
371
+ "type": "core::integer::u256"
372
+ },
373
+ {
374
+ "name": "total_shares",
375
+ "type": "core::integer::u256"
376
+ },
377
+ {
378
+ "name": "base_token_assets_per_share",
379
+ "type": "core::integer::u256"
380
+ }
381
+ ]
382
+ },
383
+ {
384
+ "type": "struct",
385
+ "name": "contracts_private::strategies::yolo_vault::interface::UserYoloInfo",
386
+ "members": [
387
+ {
388
+ "name": "shares",
389
+ "type": "core::integer::u256"
390
+ },
391
+ {
392
+ "name": "claimable_second_tokens",
393
+ "type": "core::integer::u256"
394
+ },
395
+ {
396
+ "name": "base_token_balance",
397
+ "type": "core::integer::u256"
398
+ },
399
+ {
400
+ "name": "base_token_consumed",
401
+ "type": "core::integer::u256"
402
+ },
403
+ {
404
+ "name": "base_consumed_last_index",
405
+ "type": "core::integer::u256"
406
+ },
407
+ {
408
+ "name": "second_token_last_index",
409
+ "type": "core::integer::u256"
410
+ },
411
+ {
412
+ "name": "second_token_balance",
413
+ "type": "core::integer::u256"
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ "type": "struct",
419
+ "name": "contracts_private::strategies::yolo_vault::interface::YoloSettings",
420
+ "members": [
421
+ {
422
+ "name": "base_token",
423
+ "type": "core::starknet::contract_address::ContractAddress"
424
+ },
425
+ {
426
+ "name": "second_token",
427
+ "type": "core::starknet::contract_address::ContractAddress"
428
+ },
429
+ {
430
+ "name": "total_epochs",
431
+ "type": "core::integer::u256"
432
+ },
433
+ {
434
+ "name": "min_time_per_epoch",
435
+ "type": "core::integer::u64"
436
+ },
437
+ {
438
+ "name": "max_spend_units_per_epoch",
439
+ "type": "core::integer::u256"
440
+ },
441
+ {
442
+ "name": "base_token_assets_per_share",
443
+ "type": "core::integer::u256"
444
+ },
445
+ {
446
+ "name": "oracle",
447
+ "type": "core::starknet::contract_address::ContractAddress"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "type": "interface",
453
+ "name": "contracts_private::strategies::yolo_vault::interface::IYoloVault",
454
+ "items": [
455
+ {
456
+ "type": "function",
457
+ "name": "deposit",
458
+ "inputs": [
459
+ {
460
+ "name": "base_token_amount",
461
+ "type": "core::integer::u256"
462
+ },
463
+ {
464
+ "name": "receiver",
465
+ "type": "core::starknet::contract_address::ContractAddress"
466
+ }
467
+ ],
468
+ "outputs": [],
469
+ "state_mutability": "external"
470
+ },
471
+ {
472
+ "type": "function",
473
+ "name": "redeem",
474
+ "inputs": [
475
+ {
476
+ "name": "shares",
477
+ "type": "core::integer::u256"
478
+ },
479
+ {
480
+ "name": "receiver",
481
+ "type": "core::starknet::contract_address::ContractAddress"
482
+ }
483
+ ],
484
+ "outputs": [],
485
+ "state_mutability": "external"
486
+ },
487
+ {
488
+ "type": "function",
489
+ "name": "execute_swap",
490
+ "inputs": [
491
+ {
492
+ "name": "spend_units",
493
+ "type": "core::integer::u256"
494
+ },
495
+ {
496
+ "name": "swap_params",
497
+ "type": "strkfarm_contracts::components::swap::AvnuMultiRouteSwap"
498
+ }
499
+ ],
500
+ "outputs": [],
501
+ "state_mutability": "external"
502
+ },
503
+ {
504
+ "type": "function",
505
+ "name": "update_fee_settings",
506
+ "inputs": [
507
+ {
508
+ "name": "new_settings",
509
+ "type": "contracts_private::strategies::yolo_vault::interface::YoloFeeSettings"
510
+ }
511
+ ],
512
+ "outputs": [],
513
+ "state_mutability": "external"
514
+ },
515
+ {
516
+ "type": "function",
517
+ "name": "update_max_spend_units",
518
+ "inputs": [
519
+ {
520
+ "name": "new_max",
521
+ "type": "core::integer::u256"
522
+ }
523
+ ],
524
+ "outputs": [],
525
+ "state_mutability": "external"
526
+ },
527
+ {
528
+ "type": "function",
529
+ "name": "get_swap_amounts",
530
+ "inputs": [
531
+ {
532
+ "name": "spend_units",
533
+ "type": "core::integer::u256"
534
+ }
535
+ ],
536
+ "outputs": [
537
+ {
538
+ "type": "(core::integer::u256, core::integer::u256, core::bool)"
539
+ }
540
+ ],
541
+ "state_mutability": "view"
542
+ },
543
+ {
544
+ "type": "function",
545
+ "name": "get_user_claimable_second_tokens",
546
+ "inputs": [
547
+ {
548
+ "name": "user",
549
+ "type": "core::starknet::contract_address::ContractAddress"
550
+ }
551
+ ],
552
+ "outputs": [
553
+ {
554
+ "type": "core::integer::u256"
555
+ }
556
+ ],
557
+ "state_mutability": "view"
558
+ },
559
+ {
560
+ "type": "function",
561
+ "name": "get_user_base_token_consumed",
562
+ "inputs": [
563
+ {
564
+ "name": "user",
565
+ "type": "core::starknet::contract_address::ContractAddress"
566
+ }
567
+ ],
568
+ "outputs": [
569
+ {
570
+ "type": "core::integer::u256"
571
+ }
572
+ ],
573
+ "state_mutability": "view"
574
+ },
575
+ {
576
+ "type": "function",
577
+ "name": "get_user_base_token_balance",
578
+ "inputs": [
579
+ {
580
+ "name": "user",
581
+ "type": "core::starknet::contract_address::ContractAddress"
582
+ }
583
+ ],
584
+ "outputs": [
585
+ {
586
+ "type": "core::integer::u256"
587
+ }
588
+ ],
589
+ "state_mutability": "view"
590
+ },
591
+ {
592
+ "type": "function",
593
+ "name": "get_vault_status",
594
+ "inputs": [],
595
+ "outputs": [
596
+ {
597
+ "type": "contracts_private::strategies::yolo_vault::interface::YoloVaultStatus"
598
+ }
599
+ ],
600
+ "state_mutability": "view"
601
+ },
602
+ {
603
+ "type": "function",
604
+ "name": "get_user_info",
605
+ "inputs": [
606
+ {
607
+ "name": "user",
608
+ "type": "core::starknet::contract_address::ContractAddress"
609
+ }
610
+ ],
611
+ "outputs": [
612
+ {
613
+ "type": "contracts_private::strategies::yolo_vault::interface::UserYoloInfo"
614
+ }
615
+ ],
616
+ "state_mutability": "view"
617
+ },
618
+ {
619
+ "type": "function",
620
+ "name": "get_settings",
621
+ "inputs": [],
622
+ "outputs": [
623
+ {
624
+ "type": "contracts_private::strategies::yolo_vault::interface::YoloSettings"
625
+ }
626
+ ],
627
+ "state_mutability": "view"
628
+ },
629
+ {
630
+ "type": "function",
631
+ "name": "get_fee_settings",
632
+ "inputs": [],
633
+ "outputs": [
634
+ {
635
+ "type": "contracts_private::strategies::yolo_vault::interface::YoloFeeSettings"
636
+ }
637
+ ],
638
+ "state_mutability": "view"
639
+ },
640
+ {
641
+ "type": "function",
642
+ "name": "get_shares_on_deposit",
643
+ "inputs": [
644
+ {
645
+ "name": "base_token_amount",
646
+ "type": "core::integer::u256"
647
+ }
648
+ ],
649
+ "outputs": [
650
+ {
651
+ "type": "core::integer::u256"
652
+ }
653
+ ],
654
+ "state_mutability": "view"
655
+ }
656
+ ]
657
+ },
658
+ {
659
+ "type": "impl",
660
+ "name": "CommonCompImpl",
661
+ "interface_name": "strkfarm_contracts::interfaces::common::ICommon"
662
+ },
663
+ {
664
+ "type": "interface",
665
+ "name": "strkfarm_contracts::interfaces::common::ICommon",
666
+ "items": [
667
+ {
668
+ "type": "function",
669
+ "name": "upgrade",
670
+ "inputs": [
671
+ {
672
+ "name": "new_class",
673
+ "type": "core::starknet::class_hash::ClassHash"
674
+ }
675
+ ],
676
+ "outputs": [],
677
+ "state_mutability": "external"
678
+ },
679
+ {
680
+ "type": "function",
681
+ "name": "pause",
682
+ "inputs": [],
683
+ "outputs": [],
684
+ "state_mutability": "external"
685
+ },
686
+ {
687
+ "type": "function",
688
+ "name": "unpause",
689
+ "inputs": [],
690
+ "outputs": [],
691
+ "state_mutability": "external"
692
+ },
693
+ {
694
+ "type": "function",
695
+ "name": "is_paused",
696
+ "inputs": [],
697
+ "outputs": [
698
+ {
699
+ "type": "core::bool"
700
+ }
701
+ ],
702
+ "state_mutability": "view"
703
+ },
704
+ {
705
+ "type": "function",
706
+ "name": "access_control",
707
+ "inputs": [],
708
+ "outputs": [
709
+ {
710
+ "type": "core::starknet::contract_address::ContractAddress"
711
+ }
712
+ ],
713
+ "state_mutability": "view"
714
+ }
715
+ ]
716
+ },
717
+ {
718
+ "type": "constructor",
719
+ "name": "constructor",
720
+ "inputs": [
721
+ {
722
+ "name": "name",
723
+ "type": "core::byte_array::ByteArray"
724
+ },
725
+ {
726
+ "name": "symbol",
727
+ "type": "core::byte_array::ByteArray"
728
+ },
729
+ {
730
+ "name": "access_control",
731
+ "type": "core::starknet::contract_address::ContractAddress"
732
+ },
733
+ {
734
+ "name": "base_token",
735
+ "type": "core::starknet::contract_address::ContractAddress"
736
+ },
737
+ {
738
+ "name": "second_token",
739
+ "type": "core::starknet::contract_address::ContractAddress"
740
+ },
741
+ {
742
+ "name": "total_epochs",
743
+ "type": "core::integer::u256"
744
+ },
745
+ {
746
+ "name": "min_time_per_epoch",
747
+ "type": "core::integer::u64"
748
+ },
749
+ {
750
+ "name": "max_spend_units_per_epoch",
751
+ "type": "core::integer::u256"
752
+ },
753
+ {
754
+ "name": "base_token_assets_per_share",
755
+ "type": "core::integer::u256"
756
+ },
757
+ {
758
+ "name": "oracle",
759
+ "type": "core::starknet::contract_address::ContractAddress"
760
+ },
761
+ {
762
+ "name": "swap_fee_bps",
763
+ "type": "core::integer::u256"
764
+ },
765
+ {
766
+ "name": "performance_fee_bps",
767
+ "type": "core::integer::u256"
768
+ },
769
+ {
770
+ "name": "fee_receiver",
771
+ "type": "core::starknet::contract_address::ContractAddress"
772
+ }
773
+ ]
774
+ },
775
+ {
776
+ "type": "event",
777
+ "name": "openzeppelin_security::reentrancyguard::ReentrancyGuardComponent::Event",
778
+ "kind": "enum",
779
+ "variants": []
780
+ },
781
+ {
782
+ "type": "event",
783
+ "name": "openzeppelin_token::erc20::erc20::ERC20Component::Transfer",
784
+ "kind": "struct",
785
+ "members": [
786
+ {
787
+ "name": "from",
788
+ "type": "core::starknet::contract_address::ContractAddress",
789
+ "kind": "key"
790
+ },
791
+ {
792
+ "name": "to",
793
+ "type": "core::starknet::contract_address::ContractAddress",
794
+ "kind": "key"
795
+ },
796
+ {
797
+ "name": "value",
798
+ "type": "core::integer::u256",
799
+ "kind": "data"
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "type": "event",
805
+ "name": "openzeppelin_token::erc20::erc20::ERC20Component::Approval",
806
+ "kind": "struct",
807
+ "members": [
808
+ {
809
+ "name": "owner",
810
+ "type": "core::starknet::contract_address::ContractAddress",
811
+ "kind": "key"
812
+ },
813
+ {
814
+ "name": "spender",
815
+ "type": "core::starknet::contract_address::ContractAddress",
816
+ "kind": "key"
817
+ },
818
+ {
819
+ "name": "value",
820
+ "type": "core::integer::u256",
821
+ "kind": "data"
822
+ }
823
+ ]
824
+ },
825
+ {
826
+ "type": "event",
827
+ "name": "openzeppelin_token::erc20::erc20::ERC20Component::Event",
828
+ "kind": "enum",
829
+ "variants": [
830
+ {
831
+ "name": "Transfer",
832
+ "type": "openzeppelin_token::erc20::erc20::ERC20Component::Transfer",
833
+ "kind": "nested"
834
+ },
835
+ {
836
+ "name": "Approval",
837
+ "type": "openzeppelin_token::erc20::erc20::ERC20Component::Approval",
838
+ "kind": "nested"
839
+ }
840
+ ]
841
+ },
842
+ {
843
+ "type": "event",
844
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
845
+ "kind": "enum",
846
+ "variants": []
847
+ },
848
+ {
849
+ "type": "event",
850
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
851
+ "kind": "struct",
852
+ "members": [
853
+ {
854
+ "name": "class_hash",
855
+ "type": "core::starknet::class_hash::ClassHash",
856
+ "kind": "data"
857
+ }
858
+ ]
859
+ },
860
+ {
861
+ "type": "event",
862
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
863
+ "kind": "enum",
864
+ "variants": [
865
+ {
866
+ "name": "Upgraded",
867
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
868
+ "kind": "nested"
869
+ }
870
+ ]
871
+ },
872
+ {
873
+ "type": "event",
874
+ "name": "openzeppelin_security::pausable::PausableComponent::Paused",
875
+ "kind": "struct",
876
+ "members": [
877
+ {
878
+ "name": "account",
879
+ "type": "core::starknet::contract_address::ContractAddress",
880
+ "kind": "data"
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "type": "event",
886
+ "name": "openzeppelin_security::pausable::PausableComponent::Unpaused",
887
+ "kind": "struct",
888
+ "members": [
889
+ {
890
+ "name": "account",
891
+ "type": "core::starknet::contract_address::ContractAddress",
892
+ "kind": "data"
893
+ }
894
+ ]
895
+ },
896
+ {
897
+ "type": "event",
898
+ "name": "openzeppelin_security::pausable::PausableComponent::Event",
899
+ "kind": "enum",
900
+ "variants": [
901
+ {
902
+ "name": "Paused",
903
+ "type": "openzeppelin_security::pausable::PausableComponent::Paused",
904
+ "kind": "nested"
905
+ },
906
+ {
907
+ "name": "Unpaused",
908
+ "type": "openzeppelin_security::pausable::PausableComponent::Unpaused",
909
+ "kind": "nested"
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "type": "event",
915
+ "name": "strkfarm_contracts::components::common::CommonComp::Event",
916
+ "kind": "enum",
917
+ "variants": []
918
+ },
919
+ {
920
+ "type": "event",
921
+ "name": "contracts_private::strategies::yolo_vault::interface::Deposit",
922
+ "kind": "struct",
923
+ "members": [
924
+ {
925
+ "name": "user",
926
+ "type": "core::starknet::contract_address::ContractAddress",
927
+ "kind": "key"
928
+ },
929
+ {
930
+ "name": "receiver",
931
+ "type": "core::starknet::contract_address::ContractAddress",
932
+ "kind": "data"
933
+ },
934
+ {
935
+ "name": "base_amount",
936
+ "type": "core::integer::u256",
937
+ "kind": "data"
938
+ },
939
+ {
940
+ "name": "shares",
941
+ "type": "core::integer::u256",
942
+ "kind": "data"
943
+ }
944
+ ]
945
+ },
946
+ {
947
+ "type": "event",
948
+ "name": "contracts_private::strategies::yolo_vault::interface::Redeem",
949
+ "kind": "struct",
950
+ "members": [
951
+ {
952
+ "name": "user",
953
+ "type": "core::starknet::contract_address::ContractAddress",
954
+ "kind": "key"
955
+ },
956
+ {
957
+ "name": "receiver",
958
+ "type": "core::starknet::contract_address::ContractAddress",
959
+ "kind": "data"
960
+ },
961
+ {
962
+ "name": "shares",
963
+ "type": "core::integer::u256",
964
+ "kind": "data"
965
+ },
966
+ {
967
+ "name": "base_out",
968
+ "type": "core::integer::u256",
969
+ "kind": "data"
970
+ },
971
+ {
972
+ "name": "second_out",
973
+ "type": "core::integer::u256",
974
+ "kind": "data"
975
+ },
976
+ {
977
+ "name": "performance_fee",
978
+ "type": "core::integer::u256",
979
+ "kind": "data"
980
+ }
981
+ ]
982
+ },
983
+ {
984
+ "type": "event",
985
+ "name": "contracts_private::strategies::yolo_vault::interface::SwapExecuted",
986
+ "kind": "struct",
987
+ "members": [
988
+ {
989
+ "name": "epoch",
990
+ "type": "core::integer::u256",
991
+ "kind": "data"
992
+ },
993
+ {
994
+ "name": "spend_units",
995
+ "type": "core::integer::u256",
996
+ "kind": "data"
997
+ },
998
+ {
999
+ "name": "gross_spend",
1000
+ "type": "core::integer::u256",
1001
+ "kind": "data"
1002
+ },
1003
+ {
1004
+ "name": "swap_fee",
1005
+ "type": "core::integer::u256",
1006
+ "kind": "data"
1007
+ },
1008
+ {
1009
+ "name": "net_spend",
1010
+ "type": "core::integer::u256",
1011
+ "kind": "data"
1012
+ },
1013
+ {
1014
+ "name": "second_tokens_acquired",
1015
+ "type": "core::integer::u256",
1016
+ "kind": "data"
1017
+ },
1018
+ {
1019
+ "name": "new_global_index",
1020
+ "type": "core::integer::u256",
1021
+ "kind": "data"
1022
+ },
1023
+ {
1024
+ "name": "cumulative_spend_index",
1025
+ "type": "core::integer::u256",
1026
+ "kind": "data"
1027
+ }
1028
+ ]
1029
+ },
1030
+ {
1031
+ "type": "event",
1032
+ "name": "contracts_private::strategies::yolo_vault::interface::FeeSettingsUpdated",
1033
+ "kind": "struct",
1034
+ "members": [
1035
+ {
1036
+ "name": "swap_fee_bps",
1037
+ "type": "core::integer::u256",
1038
+ "kind": "data"
1039
+ },
1040
+ {
1041
+ "name": "performance_fee_bps",
1042
+ "type": "core::integer::u256",
1043
+ "kind": "data"
1044
+ },
1045
+ {
1046
+ "name": "fee_receiver",
1047
+ "type": "core::starknet::contract_address::ContractAddress",
1048
+ "kind": "data"
1049
+ }
1050
+ ]
1051
+ },
1052
+ {
1053
+ "type": "event",
1054
+ "name": "contracts_private::strategies::yolo_vault::yolo_vault::YoloVault::Event",
1055
+ "kind": "enum",
1056
+ "variants": [
1057
+ {
1058
+ "name": "ReentrancyGuardEvent",
1059
+ "type": "openzeppelin_security::reentrancyguard::ReentrancyGuardComponent::Event",
1060
+ "kind": "flat"
1061
+ },
1062
+ {
1063
+ "name": "ERC20Event",
1064
+ "type": "openzeppelin_token::erc20::erc20::ERC20Component::Event",
1065
+ "kind": "flat"
1066
+ },
1067
+ {
1068
+ "name": "SRC5Event",
1069
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
1070
+ "kind": "flat"
1071
+ },
1072
+ {
1073
+ "name": "UpgradeableEvent",
1074
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
1075
+ "kind": "flat"
1076
+ },
1077
+ {
1078
+ "name": "PausableEvent",
1079
+ "type": "openzeppelin_security::pausable::PausableComponent::Event",
1080
+ "kind": "flat"
1081
+ },
1082
+ {
1083
+ "name": "CommonCompEvent",
1084
+ "type": "strkfarm_contracts::components::common::CommonComp::Event",
1085
+ "kind": "flat"
1086
+ },
1087
+ {
1088
+ "name": "Deposit",
1089
+ "type": "contracts_private::strategies::yolo_vault::interface::Deposit",
1090
+ "kind": "nested"
1091
+ },
1092
+ {
1093
+ "name": "Redeem",
1094
+ "type": "contracts_private::strategies::yolo_vault::interface::Redeem",
1095
+ "kind": "nested"
1096
+ },
1097
+ {
1098
+ "name": "SwapExecuted",
1099
+ "type": "contracts_private::strategies::yolo_vault::interface::SwapExecuted",
1100
+ "kind": "nested"
1101
+ },
1102
+ {
1103
+ "name": "FeeSettingsUpdated",
1104
+ "type": "contracts_private::strategies::yolo_vault::interface::FeeSettingsUpdated",
1105
+ "kind": "nested"
1106
+ }
1107
+ ]
1108
+ }
1109
+ ]