@strkfarm/sdk 2.0.0-dev.33 → 2.0.0-dev.35

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,752 @@
1
+ [
2
+ {
3
+ "type": "impl",
4
+ "name": "RedeemRequestImpl",
5
+ "interface_name": "vault::redeem_request::interface::IRedeemRequest"
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": "vault::redeem_request::interface::RedeemRequestInfo",
24
+ "members": [
25
+ {
26
+ "name": "epoch",
27
+ "type": "core::integer::u256"
28
+ },
29
+ {
30
+ "name": "nominal",
31
+ "type": "core::integer::u256"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "type": "interface",
37
+ "name": "vault::redeem_request::interface::IRedeemRequest",
38
+ "items": [
39
+ {
40
+ "type": "function",
41
+ "name": "vault",
42
+ "inputs": [],
43
+ "outputs": [
44
+ {
45
+ "type": "core::starknet::contract_address::ContractAddress"
46
+ }
47
+ ],
48
+ "state_mutability": "view"
49
+ },
50
+ {
51
+ "type": "function",
52
+ "name": "id_to_info",
53
+ "inputs": [
54
+ {
55
+ "name": "id",
56
+ "type": "core::integer::u256"
57
+ }
58
+ ],
59
+ "outputs": [
60
+ {
61
+ "type": "vault::redeem_request::interface::RedeemRequestInfo"
62
+ }
63
+ ],
64
+ "state_mutability": "view"
65
+ },
66
+ {
67
+ "type": "function",
68
+ "name": "id_len",
69
+ "inputs": [],
70
+ "outputs": [
71
+ {
72
+ "type": "core::integer::u256"
73
+ }
74
+ ],
75
+ "state_mutability": "view"
76
+ },
77
+ {
78
+ "type": "function",
79
+ "name": "mint",
80
+ "inputs": [
81
+ {
82
+ "name": "to",
83
+ "type": "core::starknet::contract_address::ContractAddress"
84
+ },
85
+ {
86
+ "name": "redeem_request_info",
87
+ "type": "vault::redeem_request::interface::RedeemRequestInfo"
88
+ }
89
+ ],
90
+ "outputs": [
91
+ {
92
+ "type": "core::integer::u256"
93
+ }
94
+ ],
95
+ "state_mutability": "external"
96
+ },
97
+ {
98
+ "type": "function",
99
+ "name": "burn",
100
+ "inputs": [
101
+ {
102
+ "name": "id",
103
+ "type": "core::integer::u256"
104
+ }
105
+ ],
106
+ "outputs": [],
107
+ "state_mutability": "external"
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "type": "impl",
113
+ "name": "UpgradeableImpl",
114
+ "interface_name": "openzeppelin_interfaces::upgrades::IUpgradeable"
115
+ },
116
+ {
117
+ "type": "interface",
118
+ "name": "openzeppelin_interfaces::upgrades::IUpgradeable",
119
+ "items": [
120
+ {
121
+ "type": "function",
122
+ "name": "upgrade",
123
+ "inputs": [
124
+ {
125
+ "name": "new_class_hash",
126
+ "type": "core::starknet::class_hash::ClassHash"
127
+ }
128
+ ],
129
+ "outputs": [],
130
+ "state_mutability": "external"
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "type": "impl",
136
+ "name": "ERC721MixinImpl",
137
+ "interface_name": "openzeppelin_interfaces::token::erc721::ERC721ABI"
138
+ },
139
+ {
140
+ "type": "struct",
141
+ "name": "core::array::Span::<core::felt252>",
142
+ "members": [
143
+ {
144
+ "name": "snapshot",
145
+ "type": "@core::array::Array::<core::felt252>"
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ "type": "enum",
151
+ "name": "core::bool",
152
+ "variants": [
153
+ {
154
+ "name": "False",
155
+ "type": "()"
156
+ },
157
+ {
158
+ "name": "True",
159
+ "type": "()"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "type": "struct",
165
+ "name": "core::byte_array::ByteArray",
166
+ "members": [
167
+ {
168
+ "name": "data",
169
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
170
+ },
171
+ {
172
+ "name": "pending_word",
173
+ "type": "core::felt252"
174
+ },
175
+ {
176
+ "name": "pending_word_len",
177
+ "type": "core::integer::u32"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "type": "interface",
183
+ "name": "openzeppelin_interfaces::token::erc721::ERC721ABI",
184
+ "items": [
185
+ {
186
+ "type": "function",
187
+ "name": "balance_of",
188
+ "inputs": [
189
+ {
190
+ "name": "account",
191
+ "type": "core::starknet::contract_address::ContractAddress"
192
+ }
193
+ ],
194
+ "outputs": [
195
+ {
196
+ "type": "core::integer::u256"
197
+ }
198
+ ],
199
+ "state_mutability": "view"
200
+ },
201
+ {
202
+ "type": "function",
203
+ "name": "owner_of",
204
+ "inputs": [
205
+ {
206
+ "name": "token_id",
207
+ "type": "core::integer::u256"
208
+ }
209
+ ],
210
+ "outputs": [
211
+ {
212
+ "type": "core::starknet::contract_address::ContractAddress"
213
+ }
214
+ ],
215
+ "state_mutability": "view"
216
+ },
217
+ {
218
+ "type": "function",
219
+ "name": "safe_transfer_from",
220
+ "inputs": [
221
+ {
222
+ "name": "from",
223
+ "type": "core::starknet::contract_address::ContractAddress"
224
+ },
225
+ {
226
+ "name": "to",
227
+ "type": "core::starknet::contract_address::ContractAddress"
228
+ },
229
+ {
230
+ "name": "token_id",
231
+ "type": "core::integer::u256"
232
+ },
233
+ {
234
+ "name": "data",
235
+ "type": "core::array::Span::<core::felt252>"
236
+ }
237
+ ],
238
+ "outputs": [],
239
+ "state_mutability": "external"
240
+ },
241
+ {
242
+ "type": "function",
243
+ "name": "transfer_from",
244
+ "inputs": [
245
+ {
246
+ "name": "from",
247
+ "type": "core::starknet::contract_address::ContractAddress"
248
+ },
249
+ {
250
+ "name": "to",
251
+ "type": "core::starknet::contract_address::ContractAddress"
252
+ },
253
+ {
254
+ "name": "token_id",
255
+ "type": "core::integer::u256"
256
+ }
257
+ ],
258
+ "outputs": [],
259
+ "state_mutability": "external"
260
+ },
261
+ {
262
+ "type": "function",
263
+ "name": "approve",
264
+ "inputs": [
265
+ {
266
+ "name": "to",
267
+ "type": "core::starknet::contract_address::ContractAddress"
268
+ },
269
+ {
270
+ "name": "token_id",
271
+ "type": "core::integer::u256"
272
+ }
273
+ ],
274
+ "outputs": [],
275
+ "state_mutability": "external"
276
+ },
277
+ {
278
+ "type": "function",
279
+ "name": "set_approval_for_all",
280
+ "inputs": [
281
+ {
282
+ "name": "operator",
283
+ "type": "core::starknet::contract_address::ContractAddress"
284
+ },
285
+ {
286
+ "name": "approved",
287
+ "type": "core::bool"
288
+ }
289
+ ],
290
+ "outputs": [],
291
+ "state_mutability": "external"
292
+ },
293
+ {
294
+ "type": "function",
295
+ "name": "get_approved",
296
+ "inputs": [
297
+ {
298
+ "name": "token_id",
299
+ "type": "core::integer::u256"
300
+ }
301
+ ],
302
+ "outputs": [
303
+ {
304
+ "type": "core::starknet::contract_address::ContractAddress"
305
+ }
306
+ ],
307
+ "state_mutability": "view"
308
+ },
309
+ {
310
+ "type": "function",
311
+ "name": "is_approved_for_all",
312
+ "inputs": [
313
+ {
314
+ "name": "owner",
315
+ "type": "core::starknet::contract_address::ContractAddress"
316
+ },
317
+ {
318
+ "name": "operator",
319
+ "type": "core::starknet::contract_address::ContractAddress"
320
+ }
321
+ ],
322
+ "outputs": [
323
+ {
324
+ "type": "core::bool"
325
+ }
326
+ ],
327
+ "state_mutability": "view"
328
+ },
329
+ {
330
+ "type": "function",
331
+ "name": "supports_interface",
332
+ "inputs": [
333
+ {
334
+ "name": "interface_id",
335
+ "type": "core::felt252"
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "type": "core::bool"
341
+ }
342
+ ],
343
+ "state_mutability": "view"
344
+ },
345
+ {
346
+ "type": "function",
347
+ "name": "name",
348
+ "inputs": [],
349
+ "outputs": [
350
+ {
351
+ "type": "core::byte_array::ByteArray"
352
+ }
353
+ ],
354
+ "state_mutability": "view"
355
+ },
356
+ {
357
+ "type": "function",
358
+ "name": "symbol",
359
+ "inputs": [],
360
+ "outputs": [
361
+ {
362
+ "type": "core::byte_array::ByteArray"
363
+ }
364
+ ],
365
+ "state_mutability": "view"
366
+ },
367
+ {
368
+ "type": "function",
369
+ "name": "token_uri",
370
+ "inputs": [
371
+ {
372
+ "name": "token_id",
373
+ "type": "core::integer::u256"
374
+ }
375
+ ],
376
+ "outputs": [
377
+ {
378
+ "type": "core::byte_array::ByteArray"
379
+ }
380
+ ],
381
+ "state_mutability": "view"
382
+ },
383
+ {
384
+ "type": "function",
385
+ "name": "balanceOf",
386
+ "inputs": [
387
+ {
388
+ "name": "account",
389
+ "type": "core::starknet::contract_address::ContractAddress"
390
+ }
391
+ ],
392
+ "outputs": [
393
+ {
394
+ "type": "core::integer::u256"
395
+ }
396
+ ],
397
+ "state_mutability": "view"
398
+ },
399
+ {
400
+ "type": "function",
401
+ "name": "ownerOf",
402
+ "inputs": [
403
+ {
404
+ "name": "tokenId",
405
+ "type": "core::integer::u256"
406
+ }
407
+ ],
408
+ "outputs": [
409
+ {
410
+ "type": "core::starknet::contract_address::ContractAddress"
411
+ }
412
+ ],
413
+ "state_mutability": "view"
414
+ },
415
+ {
416
+ "type": "function",
417
+ "name": "safeTransferFrom",
418
+ "inputs": [
419
+ {
420
+ "name": "from",
421
+ "type": "core::starknet::contract_address::ContractAddress"
422
+ },
423
+ {
424
+ "name": "to",
425
+ "type": "core::starknet::contract_address::ContractAddress"
426
+ },
427
+ {
428
+ "name": "tokenId",
429
+ "type": "core::integer::u256"
430
+ },
431
+ {
432
+ "name": "data",
433
+ "type": "core::array::Span::<core::felt252>"
434
+ }
435
+ ],
436
+ "outputs": [],
437
+ "state_mutability": "external"
438
+ },
439
+ {
440
+ "type": "function",
441
+ "name": "transferFrom",
442
+ "inputs": [
443
+ {
444
+ "name": "from",
445
+ "type": "core::starknet::contract_address::ContractAddress"
446
+ },
447
+ {
448
+ "name": "to",
449
+ "type": "core::starknet::contract_address::ContractAddress"
450
+ },
451
+ {
452
+ "name": "tokenId",
453
+ "type": "core::integer::u256"
454
+ }
455
+ ],
456
+ "outputs": [],
457
+ "state_mutability": "external"
458
+ },
459
+ {
460
+ "type": "function",
461
+ "name": "setApprovalForAll",
462
+ "inputs": [
463
+ {
464
+ "name": "operator",
465
+ "type": "core::starknet::contract_address::ContractAddress"
466
+ },
467
+ {
468
+ "name": "approved",
469
+ "type": "core::bool"
470
+ }
471
+ ],
472
+ "outputs": [],
473
+ "state_mutability": "external"
474
+ },
475
+ {
476
+ "type": "function",
477
+ "name": "getApproved",
478
+ "inputs": [
479
+ {
480
+ "name": "tokenId",
481
+ "type": "core::integer::u256"
482
+ }
483
+ ],
484
+ "outputs": [
485
+ {
486
+ "type": "core::starknet::contract_address::ContractAddress"
487
+ }
488
+ ],
489
+ "state_mutability": "view"
490
+ },
491
+ {
492
+ "type": "function",
493
+ "name": "isApprovedForAll",
494
+ "inputs": [
495
+ {
496
+ "name": "owner",
497
+ "type": "core::starknet::contract_address::ContractAddress"
498
+ },
499
+ {
500
+ "name": "operator",
501
+ "type": "core::starknet::contract_address::ContractAddress"
502
+ }
503
+ ],
504
+ "outputs": [
505
+ {
506
+ "type": "core::bool"
507
+ }
508
+ ],
509
+ "state_mutability": "view"
510
+ },
511
+ {
512
+ "type": "function",
513
+ "name": "tokenURI",
514
+ "inputs": [
515
+ {
516
+ "name": "tokenId",
517
+ "type": "core::integer::u256"
518
+ }
519
+ ],
520
+ "outputs": [
521
+ {
522
+ "type": "core::byte_array::ByteArray"
523
+ }
524
+ ],
525
+ "state_mutability": "view"
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "type": "impl",
531
+ "name": "ERC721EnumerableImpl",
532
+ "interface_name": "openzeppelin_interfaces::token::erc721::IERC721Enumerable"
533
+ },
534
+ {
535
+ "type": "interface",
536
+ "name": "openzeppelin_interfaces::token::erc721::IERC721Enumerable",
537
+ "items": [
538
+ {
539
+ "type": "function",
540
+ "name": "total_supply",
541
+ "inputs": [],
542
+ "outputs": [
543
+ {
544
+ "type": "core::integer::u256"
545
+ }
546
+ ],
547
+ "state_mutability": "view"
548
+ },
549
+ {
550
+ "type": "function",
551
+ "name": "token_by_index",
552
+ "inputs": [
553
+ {
554
+ "name": "index",
555
+ "type": "core::integer::u256"
556
+ }
557
+ ],
558
+ "outputs": [
559
+ {
560
+ "type": "core::integer::u256"
561
+ }
562
+ ],
563
+ "state_mutability": "view"
564
+ },
565
+ {
566
+ "type": "function",
567
+ "name": "token_of_owner_by_index",
568
+ "inputs": [
569
+ {
570
+ "name": "owner",
571
+ "type": "core::starknet::contract_address::ContractAddress"
572
+ },
573
+ {
574
+ "name": "index",
575
+ "type": "core::integer::u256"
576
+ }
577
+ ],
578
+ "outputs": [
579
+ {
580
+ "type": "core::integer::u256"
581
+ }
582
+ ],
583
+ "state_mutability": "view"
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "type": "constructor",
589
+ "name": "constructor",
590
+ "inputs": [
591
+ {
592
+ "name": "owner",
593
+ "type": "core::starknet::contract_address::ContractAddress"
594
+ },
595
+ {
596
+ "name": "vault",
597
+ "type": "core::starknet::contract_address::ContractAddress"
598
+ }
599
+ ]
600
+ },
601
+ {
602
+ "type": "event",
603
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
604
+ "kind": "struct",
605
+ "members": [
606
+ {
607
+ "name": "from",
608
+ "type": "core::starknet::contract_address::ContractAddress",
609
+ "kind": "key"
610
+ },
611
+ {
612
+ "name": "to",
613
+ "type": "core::starknet::contract_address::ContractAddress",
614
+ "kind": "key"
615
+ },
616
+ {
617
+ "name": "token_id",
618
+ "type": "core::integer::u256",
619
+ "kind": "key"
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "type": "event",
625
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
626
+ "kind": "struct",
627
+ "members": [
628
+ {
629
+ "name": "owner",
630
+ "type": "core::starknet::contract_address::ContractAddress",
631
+ "kind": "key"
632
+ },
633
+ {
634
+ "name": "approved",
635
+ "type": "core::starknet::contract_address::ContractAddress",
636
+ "kind": "key"
637
+ },
638
+ {
639
+ "name": "token_id",
640
+ "type": "core::integer::u256",
641
+ "kind": "key"
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "type": "event",
647
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
648
+ "kind": "struct",
649
+ "members": [
650
+ {
651
+ "name": "owner",
652
+ "type": "core::starknet::contract_address::ContractAddress",
653
+ "kind": "key"
654
+ },
655
+ {
656
+ "name": "operator",
657
+ "type": "core::starknet::contract_address::ContractAddress",
658
+ "kind": "key"
659
+ },
660
+ {
661
+ "name": "approved",
662
+ "type": "core::bool",
663
+ "kind": "data"
664
+ }
665
+ ]
666
+ },
667
+ {
668
+ "type": "event",
669
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
670
+ "kind": "enum",
671
+ "variants": [
672
+ {
673
+ "name": "Transfer",
674
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
675
+ "kind": "nested"
676
+ },
677
+ {
678
+ "name": "Approval",
679
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
680
+ "kind": "nested"
681
+ },
682
+ {
683
+ "name": "ApprovalForAll",
684
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
685
+ "kind": "nested"
686
+ }
687
+ ]
688
+ },
689
+ {
690
+ "type": "event",
691
+ "name": "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event",
692
+ "kind": "enum",
693
+ "variants": []
694
+ },
695
+ {
696
+ "type": "event",
697
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
698
+ "kind": "enum",
699
+ "variants": []
700
+ },
701
+ {
702
+ "type": "event",
703
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
704
+ "kind": "struct",
705
+ "members": [
706
+ {
707
+ "name": "class_hash",
708
+ "type": "core::starknet::class_hash::ClassHash",
709
+ "kind": "data"
710
+ }
711
+ ]
712
+ },
713
+ {
714
+ "type": "event",
715
+ "name": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
716
+ "kind": "enum",
717
+ "variants": [
718
+ {
719
+ "name": "Upgraded",
720
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded",
721
+ "kind": "nested"
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "type": "event",
727
+ "name": "vault::redeem_request::redeem_request::RedeemRequest::Event",
728
+ "kind": "enum",
729
+ "variants": [
730
+ {
731
+ "name": "ERC721Event",
732
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
733
+ "kind": "flat"
734
+ },
735
+ {
736
+ "name": "ERC721EnumerableEvent",
737
+ "type": "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event",
738
+ "kind": "flat"
739
+ },
740
+ {
741
+ "name": "SRC5Event",
742
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
743
+ "kind": "flat"
744
+ },
745
+ {
746
+ "name": "UpgradeableEvent",
747
+ "type": "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event",
748
+ "kind": "flat"
749
+ }
750
+ ]
751
+ }
752
+ ]