@strkfarm/sdk 1.0.18 → 1.0.20

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