@strkfarm/sdk 1.0.55 → 1.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,634 @@
1
+ [
2
+ {
3
+ "type": "impl",
4
+ "name": "UpgradeableImpl",
5
+ "interface_name": "openzeppelin_upgrades::interface::IUpgradeable"
6
+ },
7
+ {
8
+ "type": "interface",
9
+ "name": "openzeppelin_upgrades::interface::IUpgradeable",
10
+ "items": [
11
+ {
12
+ "type": "function",
13
+ "name": "upgrade",
14
+ "inputs": [
15
+ {
16
+ "name": "new_class_hash",
17
+ "type": "core::starknet::class_hash::ClassHash"
18
+ }
19
+ ],
20
+ "outputs": [],
21
+ "state_mutability": "external"
22
+ }
23
+ ]
24
+ },
25
+ {
26
+ "type": "impl",
27
+ "name": "ManagerFlashloanReceiverImpl",
28
+ "interface_name": "vault_allocator::integration_interfaces::vesu::IFlashloanReceiver"
29
+ },
30
+ {
31
+ "type": "struct",
32
+ "name": "core::integer::u256",
33
+ "members": [
34
+ {
35
+ "name": "low",
36
+ "type": "core::integer::u128"
37
+ },
38
+ {
39
+ "name": "high",
40
+ "type": "core::integer::u128"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "type": "struct",
46
+ "name": "core::array::Span::<core::felt252>",
47
+ "members": [
48
+ {
49
+ "name": "snapshot",
50
+ "type": "@core::array::Array::<core::felt252>"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "type": "interface",
56
+ "name": "vault_allocator::integration_interfaces::vesu::IFlashloanReceiver",
57
+ "items": [
58
+ {
59
+ "type": "function",
60
+ "name": "on_flash_loan",
61
+ "inputs": [
62
+ {
63
+ "name": "sender",
64
+ "type": "core::starknet::contract_address::ContractAddress"
65
+ },
66
+ {
67
+ "name": "asset",
68
+ "type": "core::starknet::contract_address::ContractAddress"
69
+ },
70
+ {
71
+ "name": "amount",
72
+ "type": "core::integer::u256"
73
+ },
74
+ {
75
+ "name": "data",
76
+ "type": "core::array::Span::<core::felt252>"
77
+ }
78
+ ],
79
+ "outputs": [],
80
+ "state_mutability": "external"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "type": "impl",
86
+ "name": "ManagerImpl",
87
+ "interface_name": "vault_allocator::manager::interface::IManager"
88
+ },
89
+ {
90
+ "type": "struct",
91
+ "name": "core::array::Span::<core::array::Span::<core::felt252>>",
92
+ "members": [
93
+ {
94
+ "name": "snapshot",
95
+ "type": "@core::array::Array::<core::array::Span::<core::felt252>>"
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "type": "struct",
101
+ "name": "core::array::Span::<core::starknet::contract_address::ContractAddress>",
102
+ "members": [
103
+ {
104
+ "name": "snapshot",
105
+ "type": "@core::array::Array::<core::starknet::contract_address::ContractAddress>"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "type": "enum",
111
+ "name": "core::bool",
112
+ "variants": [
113
+ {
114
+ "name": "False",
115
+ "type": "()"
116
+ },
117
+ {
118
+ "name": "True",
119
+ "type": "()"
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "type": "interface",
125
+ "name": "vault_allocator::manager::interface::IManager",
126
+ "items": [
127
+ {
128
+ "type": "function",
129
+ "name": "vesu_singleton",
130
+ "inputs": [],
131
+ "outputs": [
132
+ {
133
+ "type": "core::starknet::contract_address::ContractAddress"
134
+ }
135
+ ],
136
+ "state_mutability": "view"
137
+ },
138
+ {
139
+ "type": "function",
140
+ "name": "vault_allocator",
141
+ "inputs": [],
142
+ "outputs": [
143
+ {
144
+ "type": "core::starknet::contract_address::ContractAddress"
145
+ }
146
+ ],
147
+ "state_mutability": "view"
148
+ },
149
+ {
150
+ "type": "function",
151
+ "name": "set_manage_root",
152
+ "inputs": [
153
+ {
154
+ "name": "target",
155
+ "type": "core::starknet::contract_address::ContractAddress"
156
+ },
157
+ {
158
+ "name": "root",
159
+ "type": "core::felt252"
160
+ }
161
+ ],
162
+ "outputs": [],
163
+ "state_mutability": "external"
164
+ },
165
+ {
166
+ "type": "function",
167
+ "name": "manage_root",
168
+ "inputs": [
169
+ {
170
+ "name": "target",
171
+ "type": "core::starknet::contract_address::ContractAddress"
172
+ }
173
+ ],
174
+ "outputs": [
175
+ {
176
+ "type": "core::felt252"
177
+ }
178
+ ],
179
+ "state_mutability": "view"
180
+ },
181
+ {
182
+ "type": "function",
183
+ "name": "pause",
184
+ "inputs": [],
185
+ "outputs": [],
186
+ "state_mutability": "external"
187
+ },
188
+ {
189
+ "type": "function",
190
+ "name": "unpause",
191
+ "inputs": [],
192
+ "outputs": [],
193
+ "state_mutability": "external"
194
+ },
195
+ {
196
+ "type": "function",
197
+ "name": "manage_vault_with_merkle_verification",
198
+ "inputs": [
199
+ {
200
+ "name": "proofs",
201
+ "type": "core::array::Span::<core::array::Span::<core::felt252>>"
202
+ },
203
+ {
204
+ "name": "decoder_and_sanitizers",
205
+ "type": "core::array::Span::<core::starknet::contract_address::ContractAddress>"
206
+ },
207
+ {
208
+ "name": "targets",
209
+ "type": "core::array::Span::<core::starknet::contract_address::ContractAddress>"
210
+ },
211
+ {
212
+ "name": "selectors",
213
+ "type": "core::array::Span::<core::felt252>"
214
+ },
215
+ {
216
+ "name": "calldatas",
217
+ "type": "core::array::Span::<core::array::Span::<core::felt252>>"
218
+ }
219
+ ],
220
+ "outputs": [],
221
+ "state_mutability": "external"
222
+ },
223
+ {
224
+ "type": "function",
225
+ "name": "flash_loan",
226
+ "inputs": [
227
+ {
228
+ "name": "recipient",
229
+ "type": "core::starknet::contract_address::ContractAddress"
230
+ },
231
+ {
232
+ "name": "asset",
233
+ "type": "core::starknet::contract_address::ContractAddress"
234
+ },
235
+ {
236
+ "name": "amount",
237
+ "type": "core::integer::u256"
238
+ },
239
+ {
240
+ "name": "is_legacy",
241
+ "type": "core::bool"
242
+ },
243
+ {
244
+ "name": "data",
245
+ "type": "core::array::Span::<core::felt252>"
246
+ }
247
+ ],
248
+ "outputs": [],
249
+ "state_mutability": "external"
250
+ },
251
+ {
252
+ "type": "function",
253
+ "name": "get_leaf_hash",
254
+ "inputs": [
255
+ {
256
+ "name": "decoder_and_sanitizer",
257
+ "type": "core::starknet::contract_address::ContractAddress"
258
+ },
259
+ {
260
+ "name": "target",
261
+ "type": "core::starknet::contract_address::ContractAddress"
262
+ },
263
+ {
264
+ "name": "selector",
265
+ "type": "core::felt252"
266
+ },
267
+ {
268
+ "name": "packed_argument_addresses",
269
+ "type": "core::array::Span::<core::felt252>"
270
+ }
271
+ ],
272
+ "outputs": [
273
+ {
274
+ "type": "core::felt252"
275
+ }
276
+ ],
277
+ "state_mutability": "view"
278
+ }
279
+ ]
280
+ },
281
+ {
282
+ "type": "impl",
283
+ "name": "AccessControlImpl",
284
+ "interface_name": "openzeppelin_access::accesscontrol::interface::IAccessControl"
285
+ },
286
+ {
287
+ "type": "interface",
288
+ "name": "openzeppelin_access::accesscontrol::interface::IAccessControl",
289
+ "items": [
290
+ {
291
+ "type": "function",
292
+ "name": "has_role",
293
+ "inputs": [
294
+ {
295
+ "name": "role",
296
+ "type": "core::felt252"
297
+ },
298
+ {
299
+ "name": "account",
300
+ "type": "core::starknet::contract_address::ContractAddress"
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "type": "core::bool"
306
+ }
307
+ ],
308
+ "state_mutability": "view"
309
+ },
310
+ {
311
+ "type": "function",
312
+ "name": "get_role_admin",
313
+ "inputs": [
314
+ {
315
+ "name": "role",
316
+ "type": "core::felt252"
317
+ }
318
+ ],
319
+ "outputs": [
320
+ {
321
+ "type": "core::felt252"
322
+ }
323
+ ],
324
+ "state_mutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "grant_role",
329
+ "inputs": [
330
+ {
331
+ "name": "role",
332
+ "type": "core::felt252"
333
+ },
334
+ {
335
+ "name": "account",
336
+ "type": "core::starknet::contract_address::ContractAddress"
337
+ }
338
+ ],
339
+ "outputs": [],
340
+ "state_mutability": "external"
341
+ },
342
+ {
343
+ "type": "function",
344
+ "name": "revoke_role",
345
+ "inputs": [
346
+ {
347
+ "name": "role",
348
+ "type": "core::felt252"
349
+ },
350
+ {
351
+ "name": "account",
352
+ "type": "core::starknet::contract_address::ContractAddress"
353
+ }
354
+ ],
355
+ "outputs": [],
356
+ "state_mutability": "external"
357
+ },
358
+ {
359
+ "type": "function",
360
+ "name": "renounce_role",
361
+ "inputs": [
362
+ {
363
+ "name": "role",
364
+ "type": "core::felt252"
365
+ },
366
+ {
367
+ "name": "account",
368
+ "type": "core::starknet::contract_address::ContractAddress"
369
+ }
370
+ ],
371
+ "outputs": [],
372
+ "state_mutability": "external"
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "type": "impl",
378
+ "name": "PausableImpl",
379
+ "interface_name": "openzeppelin_security::interface::IPausable"
380
+ },
381
+ {
382
+ "type": "interface",
383
+ "name": "openzeppelin_security::interface::IPausable",
384
+ "items": [
385
+ {
386
+ "type": "function",
387
+ "name": "is_paused",
388
+ "inputs": [],
389
+ "outputs": [
390
+ {
391
+ "type": "core::bool"
392
+ }
393
+ ],
394
+ "state_mutability": "view"
395
+ }
396
+ ]
397
+ },
398
+ {
399
+ "type": "constructor",
400
+ "name": "constructor",
401
+ "inputs": [
402
+ {
403
+ "name": "owner",
404
+ "type": "core::starknet::contract_address::ContractAddress"
405
+ },
406
+ {
407
+ "name": "vault_allocator",
408
+ "type": "core::starknet::contract_address::ContractAddress"
409
+ },
410
+ {
411
+ "name": "vesu_singleton",
412
+ "type": "core::starknet::contract_address::ContractAddress"
413
+ }
414
+ ]
415
+ },
416
+ {
417
+ "type": "event",
418
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
419
+ "kind": "enum",
420
+ "variants": []
421
+ },
422
+ {
423
+ "type": "event",
424
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGranted",
425
+ "kind": "struct",
426
+ "members": [
427
+ {
428
+ "name": "role",
429
+ "type": "core::felt252",
430
+ "kind": "data"
431
+ },
432
+ {
433
+ "name": "account",
434
+ "type": "core::starknet::contract_address::ContractAddress",
435
+ "kind": "data"
436
+ },
437
+ {
438
+ "name": "sender",
439
+ "type": "core::starknet::contract_address::ContractAddress",
440
+ "kind": "data"
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "type": "event",
446
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGrantedWithDelay",
447
+ "kind": "struct",
448
+ "members": [
449
+ {
450
+ "name": "role",
451
+ "type": "core::felt252",
452
+ "kind": "data"
453
+ },
454
+ {
455
+ "name": "account",
456
+ "type": "core::starknet::contract_address::ContractAddress",
457
+ "kind": "data"
458
+ },
459
+ {
460
+ "name": "sender",
461
+ "type": "core::starknet::contract_address::ContractAddress",
462
+ "kind": "data"
463
+ },
464
+ {
465
+ "name": "delay",
466
+ "type": "core::integer::u64",
467
+ "kind": "data"
468
+ }
469
+ ]
470
+ },
471
+ {
472
+ "type": "event",
473
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleRevoked",
474
+ "kind": "struct",
475
+ "members": [
476
+ {
477
+ "name": "role",
478
+ "type": "core::felt252",
479
+ "kind": "data"
480
+ },
481
+ {
482
+ "name": "account",
483
+ "type": "core::starknet::contract_address::ContractAddress",
484
+ "kind": "data"
485
+ },
486
+ {
487
+ "name": "sender",
488
+ "type": "core::starknet::contract_address::ContractAddress",
489
+ "kind": "data"
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "type": "event",
495
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleAdminChanged",
496
+ "kind": "struct",
497
+ "members": [
498
+ {
499
+ "name": "role",
500
+ "type": "core::felt252",
501
+ "kind": "data"
502
+ },
503
+ {
504
+ "name": "previous_admin_role",
505
+ "type": "core::felt252",
506
+ "kind": "data"
507
+ },
508
+ {
509
+ "name": "new_admin_role",
510
+ "type": "core::felt252",
511
+ "kind": "data"
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "type": "event",
517
+ "name": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::Event",
518
+ "kind": "enum",
519
+ "variants": [
520
+ {
521
+ "name": "RoleGranted",
522
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGranted",
523
+ "kind": "nested"
524
+ },
525
+ {
526
+ "name": "RoleGrantedWithDelay",
527
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGrantedWithDelay",
528
+ "kind": "nested"
529
+ },
530
+ {
531
+ "name": "RoleRevoked",
532
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleRevoked",
533
+ "kind": "nested"
534
+ },
535
+ {
536
+ "name": "RoleAdminChanged",
537
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleAdminChanged",
538
+ "kind": "nested"
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "type": "event",
544
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
545
+ "kind": "struct",
546
+ "members": [
547
+ {
548
+ "name": "class_hash",
549
+ "type": "core::starknet::class_hash::ClassHash",
550
+ "kind": "data"
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "type": "event",
556
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
557
+ "kind": "enum",
558
+ "variants": [
559
+ {
560
+ "name": "Upgraded",
561
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
562
+ "kind": "nested"
563
+ }
564
+ ]
565
+ },
566
+ {
567
+ "type": "event",
568
+ "name": "openzeppelin_security::pausable::PausableComponent::Paused",
569
+ "kind": "struct",
570
+ "members": [
571
+ {
572
+ "name": "account",
573
+ "type": "core::starknet::contract_address::ContractAddress",
574
+ "kind": "data"
575
+ }
576
+ ]
577
+ },
578
+ {
579
+ "type": "event",
580
+ "name": "openzeppelin_security::pausable::PausableComponent::Unpaused",
581
+ "kind": "struct",
582
+ "members": [
583
+ {
584
+ "name": "account",
585
+ "type": "core::starknet::contract_address::ContractAddress",
586
+ "kind": "data"
587
+ }
588
+ ]
589
+ },
590
+ {
591
+ "type": "event",
592
+ "name": "openzeppelin_security::pausable::PausableComponent::Event",
593
+ "kind": "enum",
594
+ "variants": [
595
+ {
596
+ "name": "Paused",
597
+ "type": "openzeppelin_security::pausable::PausableComponent::Paused",
598
+ "kind": "nested"
599
+ },
600
+ {
601
+ "name": "Unpaused",
602
+ "type": "openzeppelin_security::pausable::PausableComponent::Unpaused",
603
+ "kind": "nested"
604
+ }
605
+ ]
606
+ },
607
+ {
608
+ "type": "event",
609
+ "name": "vault_allocator::manager::manager::Manager::Event",
610
+ "kind": "enum",
611
+ "variants": [
612
+ {
613
+ "name": "SRC5Event",
614
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
615
+ "kind": "nested"
616
+ },
617
+ {
618
+ "name": "AccessControlEvent",
619
+ "type": "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::Event",
620
+ "kind": "nested"
621
+ },
622
+ {
623
+ "name": "UpgradeableEvent",
624
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
625
+ "kind": "nested"
626
+ },
627
+ {
628
+ "name": "PausableEvent",
629
+ "type": "openzeppelin_security::pausable::PausableComponent::Event",
630
+ "kind": "nested"
631
+ }
632
+ ]
633
+ }
634
+ ]