@subwallet/extension-base 1.0.13-1 → 1.1.1-dev.0

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,3144 @@
1
+ {
2
+ "source": {
3
+ "hash": "0x7b5a055c557dbac5743e7c70a6cda0db33c9e92fd566d47fce63cad5244363d8",
4
+ "language": "ink! 4.0.1",
5
+ "compiler": "rustc 1.70.0-nightly",
6
+ "build_info": {
7
+ "build_mode": "Debug",
8
+ "cargo_contract_version": "2.0.0-rc",
9
+ "rust_toolchain": "nightly-x86_64-unknown-linux-gnu",
10
+ "wasm_opt_settings": {
11
+ "keep_debug_symbols": false,
12
+ "optimization_passes": "Z"
13
+ }
14
+ }
15
+ },
16
+ "contract": {
17
+ "name": "psp34_nft",
18
+ "version": "1.0.0",
19
+ "authors": [
20
+ "ArtZero <admin@artzero.io>"
21
+ ]
22
+ },
23
+ "spec": {
24
+ "constructors": [
25
+ {
26
+ "args": [
27
+ {
28
+ "label": "contract_owner",
29
+ "type": {
30
+ "displayName": [
31
+ "AccountId"
32
+ ],
33
+ "type": 0
34
+ }
35
+ },
36
+ {
37
+ "label": "name",
38
+ "type": {
39
+ "displayName": [
40
+ "String"
41
+ ],
42
+ "type": 10
43
+ }
44
+ },
45
+ {
46
+ "label": "symbol",
47
+ "type": {
48
+ "displayName": [
49
+ "String"
50
+ ],
51
+ "type": 10
52
+ }
53
+ }
54
+ ],
55
+ "docs": [],
56
+ "label": "new",
57
+ "payable": false,
58
+ "returnType": {
59
+ "displayName": [
60
+ "ink_primitives",
61
+ "ConstructorResult"
62
+ ],
63
+ "type": 11
64
+ },
65
+ "selector": "0x9bae9d5e"
66
+ }
67
+ ],
68
+ "docs": [],
69
+ "events": [
70
+ {
71
+ "args": [
72
+ {
73
+ "docs": [],
74
+ "indexed": true,
75
+ "label": "from",
76
+ "type": {
77
+ "displayName": [
78
+ "Option"
79
+ ],
80
+ "type": 31
81
+ }
82
+ },
83
+ {
84
+ "docs": [],
85
+ "indexed": true,
86
+ "label": "to",
87
+ "type": {
88
+ "displayName": [
89
+ "Option"
90
+ ],
91
+ "type": 31
92
+ }
93
+ },
94
+ {
95
+ "docs": [],
96
+ "indexed": false,
97
+ "label": "id",
98
+ "type": {
99
+ "displayName": [
100
+ "Id"
101
+ ],
102
+ "type": 26
103
+ }
104
+ }
105
+ ],
106
+ "docs": [
107
+ " - Specify transfer event."
108
+ ],
109
+ "label": "Transfer"
110
+ },
111
+ {
112
+ "args": [
113
+ {
114
+ "docs": [],
115
+ "indexed": true,
116
+ "label": "from",
117
+ "type": {
118
+ "displayName": [
119
+ "Option"
120
+ ],
121
+ "type": 31
122
+ }
123
+ },
124
+ {
125
+ "docs": [],
126
+ "indexed": true,
127
+ "label": "to",
128
+ "type": {
129
+ "displayName": [
130
+ "Option"
131
+ ],
132
+ "type": 31
133
+ }
134
+ },
135
+ {
136
+ "docs": [],
137
+ "indexed": false,
138
+ "label": "id",
139
+ "type": {
140
+ "displayName": [
141
+ "Id"
142
+ ],
143
+ "type": 26
144
+ }
145
+ },
146
+ {
147
+ "docs": [],
148
+ "indexed": false,
149
+ "label": "approved",
150
+ "type": {
151
+ "displayName": [
152
+ "bool"
153
+ ],
154
+ "type": 9
155
+ }
156
+ }
157
+ ],
158
+ "docs": [
159
+ " - Specify approval event."
160
+ ],
161
+ "label": "Approval"
162
+ }
163
+ ],
164
+ "lang_error": {
165
+ "displayName": [
166
+ "ink",
167
+ "LangError"
168
+ ],
169
+ "type": 12
170
+ },
171
+ "messages": [
172
+ {
173
+ "args": [],
174
+ "docs": [
175
+ " This function let NFT Contract Owner to mint a new NFT without providing NFT Traits/Attributes"
176
+ ],
177
+ "label": "mint",
178
+ "mutates": true,
179
+ "payable": false,
180
+ "returnType": {
181
+ "displayName": [
182
+ "ink",
183
+ "MessageResult"
184
+ ],
185
+ "type": 13
186
+ },
187
+ "selector": "0xcfdd9aa2"
188
+ },
189
+ {
190
+ "args": [
191
+ {
192
+ "label": "metadata",
193
+ "type": {
194
+ "displayName": [
195
+ "Vec"
196
+ ],
197
+ "type": 20
198
+ }
199
+ }
200
+ ],
201
+ "docs": [
202
+ " This function let NFT Contract Owner to mint a new NFT with NFT Traits/Attributes"
203
+ ],
204
+ "label": "mint_with_attributes",
205
+ "mutates": true,
206
+ "payable": false,
207
+ "returnType": {
208
+ "displayName": [
209
+ "ink",
210
+ "MessageResult"
211
+ ],
212
+ "type": 13
213
+ },
214
+ "selector": "0xf90b8f61"
215
+ },
216
+ {
217
+ "args": [
218
+ {
219
+ "label": "new_owner",
220
+ "type": {
221
+ "displayName": [
222
+ "ownable_external",
223
+ "TransferOwnershipInput1"
224
+ ],
225
+ "type": 0
226
+ }
227
+ }
228
+ ],
229
+ "docs": [
230
+ " Transfers ownership of the contract to a `new_owner`.",
231
+ " Can only be called by the current owner.",
232
+ "",
233
+ " On success a `OwnershipTransferred` event is emitted.",
234
+ "",
235
+ " # Errors",
236
+ "",
237
+ " Panics with `CallerIsNotOwner` error if caller is not owner.",
238
+ "",
239
+ " Panics with `NewOwnerIsZero` error if new owner's address is zero."
240
+ ],
241
+ "label": "Ownable::transfer_ownership",
242
+ "mutates": true,
243
+ "payable": false,
244
+ "returnType": {
245
+ "displayName": [
246
+ "ink",
247
+ "MessageResult"
248
+ ],
249
+ "type": 22
250
+ },
251
+ "selector": "0x11f43efd"
252
+ },
253
+ {
254
+ "args": [],
255
+ "docs": [
256
+ " Leaves the contract without owner. It will not be possible to call",
257
+ " owner's functions anymore. Can only be called by the current owner.",
258
+ "",
259
+ " NOTE: Renouncing ownership will leave the contract without an owner,",
260
+ " thereby removing any functionality that is only available to the owner.",
261
+ "",
262
+ " On success a `OwnershipTransferred` event is emitted.",
263
+ "",
264
+ " # Errors",
265
+ "",
266
+ " Panics with `CallerIsNotOwner` error if caller is not owner"
267
+ ],
268
+ "label": "Ownable::renounce_ownership",
269
+ "mutates": true,
270
+ "payable": false,
271
+ "returnType": {
272
+ "displayName": [
273
+ "ink",
274
+ "MessageResult"
275
+ ],
276
+ "type": 22
277
+ },
278
+ "selector": "0x5e228753"
279
+ },
280
+ {
281
+ "args": [],
282
+ "docs": [
283
+ " Returns the address of the current owner."
284
+ ],
285
+ "label": "Ownable::owner",
286
+ "mutates": false,
287
+ "payable": false,
288
+ "returnType": {
289
+ "displayName": [
290
+ "ink",
291
+ "MessageResult"
292
+ ],
293
+ "type": 24
294
+ },
295
+ "selector": "0x4fa43c8c"
296
+ },
297
+ {
298
+ "args": [],
299
+ "docs": [
300
+ " Returns the collection `Id` of the NFT token.",
301
+ "",
302
+ " This can represents the relationship between tokens/contracts/pallets."
303
+ ],
304
+ "label": "PSP34::collection_id",
305
+ "mutates": false,
306
+ "payable": false,
307
+ "returnType": {
308
+ "displayName": [
309
+ "ink",
310
+ "MessageResult"
311
+ ],
312
+ "type": 25
313
+ },
314
+ "selector": "0xffa27a5f"
315
+ },
316
+ {
317
+ "args": [
318
+ {
319
+ "label": "to",
320
+ "type": {
321
+ "displayName": [
322
+ "psp34_external",
323
+ "TransferInput1"
324
+ ],
325
+ "type": 0
326
+ }
327
+ },
328
+ {
329
+ "label": "id",
330
+ "type": {
331
+ "displayName": [
332
+ "psp34_external",
333
+ "TransferInput2"
334
+ ],
335
+ "type": 26
336
+ }
337
+ },
338
+ {
339
+ "label": "data",
340
+ "type": {
341
+ "displayName": [
342
+ "psp34_external",
343
+ "TransferInput3"
344
+ ],
345
+ "type": 8
346
+ }
347
+ }
348
+ ],
349
+ "docs": [
350
+ " Transfer approved or owned token from caller.",
351
+ "",
352
+ " On success a `Transfer` event is emitted.",
353
+ "",
354
+ " # Errors",
355
+ "",
356
+ " Returns `TokenNotExists` error if `id` does not exist.",
357
+ "",
358
+ " Returns `NotApproved` error if `from` doesn't have allowance for transferring.",
359
+ "",
360
+ " Returns `SafeTransferCheckFailed` error if `to` doesn't accept transfer."
361
+ ],
362
+ "label": "PSP34::transfer",
363
+ "mutates": true,
364
+ "payable": false,
365
+ "returnType": {
366
+ "displayName": [
367
+ "ink",
368
+ "MessageResult"
369
+ ],
370
+ "type": 27
371
+ },
372
+ "selector": "0x3128d61b"
373
+ },
374
+ {
375
+ "args": [
376
+ {
377
+ "label": "operator",
378
+ "type": {
379
+ "displayName": [
380
+ "psp34_external",
381
+ "ApproveInput1"
382
+ ],
383
+ "type": 0
384
+ }
385
+ },
386
+ {
387
+ "label": "id",
388
+ "type": {
389
+ "displayName": [
390
+ "psp34_external",
391
+ "ApproveInput2"
392
+ ],
393
+ "type": 29
394
+ }
395
+ },
396
+ {
397
+ "label": "approved",
398
+ "type": {
399
+ "displayName": [
400
+ "psp34_external",
401
+ "ApproveInput3"
402
+ ],
403
+ "type": 9
404
+ }
405
+ }
406
+ ],
407
+ "docs": [
408
+ " Approves `operator` to withdraw the `id` token from the caller's account.",
409
+ " If `id` is `None` approves or disapproves the operator for all tokens of the caller.",
410
+ "",
411
+ " On success a `Approval` event is emitted.",
412
+ "",
413
+ " # Errors",
414
+ "",
415
+ " Returns `SelfApprove` error if it is self approve.",
416
+ "",
417
+ " Returns `NotApproved` error if caller is not owner of `id`."
418
+ ],
419
+ "label": "PSP34::approve",
420
+ "mutates": true,
421
+ "payable": false,
422
+ "returnType": {
423
+ "displayName": [
424
+ "ink",
425
+ "MessageResult"
426
+ ],
427
+ "type": 27
428
+ },
429
+ "selector": "0x1932a8b0"
430
+ },
431
+ {
432
+ "args": [
433
+ {
434
+ "label": "id",
435
+ "type": {
436
+ "displayName": [
437
+ "psp34_external",
438
+ "OwnerOfInput1"
439
+ ],
440
+ "type": 26
441
+ }
442
+ }
443
+ ],
444
+ "docs": [
445
+ " Returns the owner of the token if any."
446
+ ],
447
+ "label": "PSP34::owner_of",
448
+ "mutates": false,
449
+ "payable": false,
450
+ "returnType": {
451
+ "displayName": [
452
+ "ink",
453
+ "MessageResult"
454
+ ],
455
+ "type": 30
456
+ },
457
+ "selector": "0x1168624d"
458
+ },
459
+ {
460
+ "args": [
461
+ {
462
+ "label": "owner",
463
+ "type": {
464
+ "displayName": [
465
+ "psp34_external",
466
+ "AllowanceInput1"
467
+ ],
468
+ "type": 0
469
+ }
470
+ },
471
+ {
472
+ "label": "operator",
473
+ "type": {
474
+ "displayName": [
475
+ "psp34_external",
476
+ "AllowanceInput2"
477
+ ],
478
+ "type": 0
479
+ }
480
+ },
481
+ {
482
+ "label": "id",
483
+ "type": {
484
+ "displayName": [
485
+ "psp34_external",
486
+ "AllowanceInput3"
487
+ ],
488
+ "type": 29
489
+ }
490
+ }
491
+ ],
492
+ "docs": [
493
+ " Returns `true` if the operator is approved by the owner to withdraw `id` token.",
494
+ " If `id` is `None`, returns `true` if the operator is approved to withdraw all owner's tokens."
495
+ ],
496
+ "label": "PSP34::allowance",
497
+ "mutates": false,
498
+ "payable": false,
499
+ "returnType": {
500
+ "displayName": [
501
+ "ink",
502
+ "MessageResult"
503
+ ],
504
+ "type": 32
505
+ },
506
+ "selector": "0x4790f55a"
507
+ },
508
+ {
509
+ "args": [],
510
+ "docs": [
511
+ " Returns current NFT total supply."
512
+ ],
513
+ "label": "PSP34::total_supply",
514
+ "mutates": false,
515
+ "payable": false,
516
+ "returnType": {
517
+ "displayName": [
518
+ "ink",
519
+ "MessageResult"
520
+ ],
521
+ "type": 33
522
+ },
523
+ "selector": "0x628413fe"
524
+ },
525
+ {
526
+ "args": [
527
+ {
528
+ "label": "owner",
529
+ "type": {
530
+ "displayName": [
531
+ "psp34_external",
532
+ "BalanceOfInput1"
533
+ ],
534
+ "type": 0
535
+ }
536
+ }
537
+ ],
538
+ "docs": [
539
+ " Returns the balance of the owner.",
540
+ "",
541
+ " This represents the amount of unique tokens the owner has."
542
+ ],
543
+ "label": "PSP34::balance_of",
544
+ "mutates": false,
545
+ "payable": false,
546
+ "returnType": {
547
+ "displayName": [
548
+ "ink",
549
+ "MessageResult"
550
+ ],
551
+ "type": 34
552
+ },
553
+ "selector": "0xcde7e55f"
554
+ },
555
+ {
556
+ "args": [
557
+ {
558
+ "label": "id",
559
+ "type": {
560
+ "displayName": [
561
+ "psp34metadata_external",
562
+ "GetAttributeInput1"
563
+ ],
564
+ "type": 26
565
+ }
566
+ },
567
+ {
568
+ "label": "key",
569
+ "type": {
570
+ "displayName": [
571
+ "psp34metadata_external",
572
+ "GetAttributeInput2"
573
+ ],
574
+ "type": 8
575
+ }
576
+ }
577
+ ],
578
+ "docs": [
579
+ " Returns the attribute of `id` for the given `key`.",
580
+ "",
581
+ " If `id` is a collection id of the token, it returns attributes for collection."
582
+ ],
583
+ "label": "PSP34Metadata::get_attribute",
584
+ "mutates": false,
585
+ "payable": false,
586
+ "returnType": {
587
+ "displayName": [
588
+ "ink",
589
+ "MessageResult"
590
+ ],
591
+ "type": 35
592
+ },
593
+ "selector": "0xf19d48d1"
594
+ },
595
+ {
596
+ "args": [
597
+ {
598
+ "label": "owner",
599
+ "type": {
600
+ "displayName": [
601
+ "psp34enumerable_external",
602
+ "OwnersTokenByIndexInput1"
603
+ ],
604
+ "type": 0
605
+ }
606
+ },
607
+ {
608
+ "label": "index",
609
+ "type": {
610
+ "displayName": [
611
+ "psp34enumerable_external",
612
+ "OwnersTokenByIndexInput2"
613
+ ],
614
+ "type": 7
615
+ }
616
+ }
617
+ ],
618
+ "docs": [
619
+ " Returns a token `Id` owned by `owner` at a given `index` of its token list.",
620
+ " Use along with `balance_of` to enumerate all of ``owner``'s tokens.",
621
+ "",
622
+ " The start index is zero."
623
+ ],
624
+ "label": "PSP34Enumerable::owners_token_by_index",
625
+ "mutates": false,
626
+ "payable": false,
627
+ "returnType": {
628
+ "displayName": [
629
+ "ink",
630
+ "MessageResult"
631
+ ],
632
+ "type": 37
633
+ },
634
+ "selector": "0x3bcfb511"
635
+ },
636
+ {
637
+ "args": [
638
+ {
639
+ "label": "index",
640
+ "type": {
641
+ "displayName": [
642
+ "psp34enumerable_external",
643
+ "TokenByIndexInput1"
644
+ ],
645
+ "type": 7
646
+ }
647
+ }
648
+ ],
649
+ "docs": [
650
+ " Returns a token `Id` at a given `index` of all the tokens stored by the contract.",
651
+ " Use along with `total_supply` to enumerate all tokens.",
652
+ "",
653
+ " The start index is zero."
654
+ ],
655
+ "label": "PSP34Enumerable::token_by_index",
656
+ "mutates": false,
657
+ "payable": false,
658
+ "returnType": {
659
+ "displayName": [
660
+ "ink",
661
+ "MessageResult"
662
+ ],
663
+ "type": 37
664
+ },
665
+ "selector": "0xcd0340d0"
666
+ },
667
+ {
668
+ "args": [
669
+ {
670
+ "label": "token_id",
671
+ "type": {
672
+ "displayName": [
673
+ "psp34traits_external",
674
+ "LockInput1"
675
+ ],
676
+ "type": 26
677
+ }
678
+ }
679
+ ],
680
+ "docs": [
681
+ " This function lets NFT owner to lock their NFT. Once locked, the NFT traits (attributes) can not be changed"
682
+ ],
683
+ "label": "Psp34Traits::lock",
684
+ "mutates": true,
685
+ "payable": false,
686
+ "returnType": {
687
+ "displayName": [
688
+ "ink",
689
+ "MessageResult"
690
+ ],
691
+ "type": 13
692
+ },
693
+ "selector": "0xa7245b9b"
694
+ },
695
+ {
696
+ "args": [
697
+ {
698
+ "label": "uri",
699
+ "type": {
700
+ "displayName": [
701
+ "psp34traits_external",
702
+ "SetBaseUriInput1"
703
+ ],
704
+ "type": 10
705
+ }
706
+ }
707
+ ],
708
+ "docs": [
709
+ " This function sets the baseURI for the NFT contract. Only Contract Owner can perform this function. baseURI is the location of the metadata files if the NFT collection use external source to keep their NFT artwork. ArtZero uses IPFS by default, the baseURI can have format like this: ipfs://<hash_ID>/"
710
+ ],
711
+ "label": "Psp34Traits::set_base_uri",
712
+ "mutates": true,
713
+ "payable": false,
714
+ "returnType": {
715
+ "displayName": [
716
+ "ink",
717
+ "MessageResult"
718
+ ],
719
+ "type": 13
720
+ },
721
+ "selector": "0x4de6850b"
722
+ },
723
+ {
724
+ "args": [],
725
+ "docs": [
726
+ " This function returns how many NFTs have been locked by its owners"
727
+ ],
728
+ "label": "Psp34Traits::get_locked_token_count",
729
+ "mutates": false,
730
+ "payable": false,
731
+ "returnType": {
732
+ "displayName": [
733
+ "ink",
734
+ "MessageResult"
735
+ ],
736
+ "type": 39
737
+ },
738
+ "selector": "0x8fe2ce73"
739
+ },
740
+ {
741
+ "args": [
742
+ {
743
+ "label": "token_id",
744
+ "type": {
745
+ "displayName": [
746
+ "psp34traits_external",
747
+ "TokenUriInput1"
748
+ ],
749
+ "type": 6
750
+ }
751
+ }
752
+ ],
753
+ "docs": [
754
+ " This function return the metadata location of an NFT. The format is baseURI/<token_id>.json"
755
+ ],
756
+ "label": "Psp34Traits::token_uri",
757
+ "mutates": false,
758
+ "payable": false,
759
+ "returnType": {
760
+ "displayName": [
761
+ "ink",
762
+ "MessageResult"
763
+ ],
764
+ "type": 40
765
+ },
766
+ "selector": "0x249dfd4f"
767
+ },
768
+ {
769
+ "args": [
770
+ {
771
+ "label": "token_id",
772
+ "type": {
773
+ "displayName": [
774
+ "psp34traits_external",
775
+ "SetMultipleAttributesInput1"
776
+ ],
777
+ "type": 26
778
+ }
779
+ },
780
+ {
781
+ "label": "metadata",
782
+ "type": {
783
+ "displayName": [
784
+ "psp34traits_external",
785
+ "SetMultipleAttributesInput2"
786
+ ],
787
+ "type": 20
788
+ }
789
+ }
790
+ ],
791
+ "docs": [
792
+ " This function set the attributes to each NFT. Only Contract Owner can perform this function. The metadata input is an array of [(attribute, value)]. The attributes in ArtZero platform are the NFT traits."
793
+ ],
794
+ "label": "Psp34Traits::set_multiple_attributes",
795
+ "mutates": true,
796
+ "payable": false,
797
+ "returnType": {
798
+ "displayName": [
799
+ "ink",
800
+ "MessageResult"
801
+ ],
802
+ "type": 13
803
+ },
804
+ "selector": "0x5bf8416b"
805
+ },
806
+ {
807
+ "args": [
808
+ {
809
+ "label": "index",
810
+ "type": {
811
+ "displayName": [
812
+ "psp34traits_external",
813
+ "GetAttributeNameInput1"
814
+ ],
815
+ "type": 5
816
+ }
817
+ }
818
+ ],
819
+ "docs": [
820
+ " This function return the attribute name using attribute index. Beacause attributes of an NFT can be set to anything by Contract Owner, AztZero uses this function to get all attributes of an NFT"
821
+ ],
822
+ "label": "Psp34Traits::get_attribute_name",
823
+ "mutates": false,
824
+ "payable": false,
825
+ "returnType": {
826
+ "displayName": [
827
+ "ink",
828
+ "MessageResult"
829
+ ],
830
+ "type": 40
831
+ },
832
+ "selector": "0xfcfe34de"
833
+ },
834
+ {
835
+ "args": [],
836
+ "docs": [
837
+ " This function return the owner of the NFT Contract"
838
+ ],
839
+ "label": "Psp34Traits::get_owner",
840
+ "mutates": false,
841
+ "payable": false,
842
+ "returnType": {
843
+ "displayName": [
844
+ "ink",
845
+ "MessageResult"
846
+ ],
847
+ "type": 24
848
+ },
849
+ "selector": "0x8e1d8d71"
850
+ },
851
+ {
852
+ "args": [
853
+ {
854
+ "label": "token_id",
855
+ "type": {
856
+ "displayName": [
857
+ "psp34traits_external",
858
+ "GetAttributesInput1"
859
+ ],
860
+ "type": 26
861
+ }
862
+ },
863
+ {
864
+ "label": "attributes",
865
+ "type": {
866
+ "displayName": [
867
+ "psp34traits_external",
868
+ "GetAttributesInput2"
869
+ ],
870
+ "type": 41
871
+ }
872
+ }
873
+ ],
874
+ "docs": [
875
+ " This function returns all available attributes of each NFT"
876
+ ],
877
+ "label": "Psp34Traits::get_attributes",
878
+ "mutates": false,
879
+ "payable": false,
880
+ "returnType": {
881
+ "displayName": [
882
+ "ink",
883
+ "MessageResult"
884
+ ],
885
+ "type": 42
886
+ },
887
+ "selector": "0x18209102"
888
+ },
889
+ {
890
+ "args": [
891
+ {
892
+ "label": "token_id",
893
+ "type": {
894
+ "displayName": [
895
+ "psp34traits_external",
896
+ "IsLockedNftInput1"
897
+ ],
898
+ "type": 26
899
+ }
900
+ }
901
+ ],
902
+ "docs": [
903
+ " This function check if an NFT is locked or not"
904
+ ],
905
+ "label": "Psp34Traits::is_locked_nft",
906
+ "mutates": false,
907
+ "payable": false,
908
+ "returnType": {
909
+ "displayName": [
910
+ "ink",
911
+ "MessageResult"
912
+ ],
913
+ "type": 32
914
+ },
915
+ "selector": "0x59271420"
916
+ },
917
+ {
918
+ "args": [],
919
+ "docs": [
920
+ " This function return how many unique attributes in the contract"
921
+ ],
922
+ "label": "Psp34Traits::get_attribute_count",
923
+ "mutates": false,
924
+ "payable": false,
925
+ "returnType": {
926
+ "displayName": [
927
+ "ink",
928
+ "MessageResult"
929
+ ],
930
+ "type": 34
931
+ },
932
+ "selector": "0x61c50d69"
933
+ },
934
+ {
935
+ "args": [],
936
+ "docs": [
937
+ " This function return the latest token ID, everytime new NFT is mint, last_token_id is increased by 1 in mint function. Note: This is not the same as the total supply return by the psp34 function as NFT can be burnt."
938
+ ],
939
+ "label": "Psp34Traits::get_last_token_id",
940
+ "mutates": false,
941
+ "payable": false,
942
+ "returnType": {
943
+ "displayName": [
944
+ "ink",
945
+ "MessageResult"
946
+ ],
947
+ "type": 39
948
+ },
949
+ "selector": "0x6f315836"
950
+ },
951
+ {
952
+ "args": [
953
+ {
954
+ "label": "nft_contract_address",
955
+ "type": {
956
+ "displayName": [
957
+ "admintrait_external",
958
+ "TranferNftInput1"
959
+ ],
960
+ "type": 0
961
+ }
962
+ },
963
+ {
964
+ "label": "token_id",
965
+ "type": {
966
+ "displayName": [
967
+ "admintrait_external",
968
+ "TranferNftInput2"
969
+ ],
970
+ "type": 26
971
+ }
972
+ },
973
+ {
974
+ "label": "receiver",
975
+ "type": {
976
+ "displayName": [
977
+ "admintrait_external",
978
+ "TranferNftInput3"
979
+ ],
980
+ "type": 0
981
+ }
982
+ }
983
+ ],
984
+ "docs": [
985
+ " This function allow contract owner withdraw NFT to an account in case there is any NFT sent to contract by mistake"
986
+ ],
987
+ "label": "AdminTrait::tranfer_nft",
988
+ "mutates": true,
989
+ "payable": false,
990
+ "returnType": {
991
+ "displayName": [
992
+ "ink",
993
+ "MessageResult"
994
+ ],
995
+ "type": 13
996
+ },
997
+ "selector": "0xed1e1dfa"
998
+ },
999
+ {
1000
+ "args": [
1001
+ {
1002
+ "label": "value",
1003
+ "type": {
1004
+ "displayName": [
1005
+ "admintrait_external",
1006
+ "WithdrawFeeInput1"
1007
+ ],
1008
+ "type": 7
1009
+ }
1010
+ },
1011
+ {
1012
+ "label": "receiver",
1013
+ "type": {
1014
+ "displayName": [
1015
+ "admintrait_external",
1016
+ "WithdrawFeeInput2"
1017
+ ],
1018
+ "type": 0
1019
+ }
1020
+ }
1021
+ ],
1022
+ "docs": [
1023
+ " This function allows contract owner to withdraw contract balance to his account."
1024
+ ],
1025
+ "label": "AdminTrait::withdraw_fee",
1026
+ "mutates": true,
1027
+ "payable": false,
1028
+ "returnType": {
1029
+ "displayName": [
1030
+ "ink",
1031
+ "MessageResult"
1032
+ ],
1033
+ "type": 13
1034
+ },
1035
+ "selector": "0x07573e99"
1036
+ },
1037
+ {
1038
+ "args": [
1039
+ {
1040
+ "label": "psp22_contract_address",
1041
+ "type": {
1042
+ "displayName": [
1043
+ "admintrait_external",
1044
+ "TranferPsp22Input1"
1045
+ ],
1046
+ "type": 0
1047
+ }
1048
+ },
1049
+ {
1050
+ "label": "amount",
1051
+ "type": {
1052
+ "displayName": [
1053
+ "admintrait_external",
1054
+ "TranferPsp22Input2"
1055
+ ],
1056
+ "type": 7
1057
+ }
1058
+ },
1059
+ {
1060
+ "label": "receiver",
1061
+ "type": {
1062
+ "displayName": [
1063
+ "admintrait_external",
1064
+ "TranferPsp22Input3"
1065
+ ],
1066
+ "type": 0
1067
+ }
1068
+ }
1069
+ ],
1070
+ "docs": [
1071
+ " This function allow contract owner withdraw PSP22 to an account in case there is any token sent to contract by mistake"
1072
+ ],
1073
+ "label": "AdminTrait::tranfer_psp22",
1074
+ "mutates": true,
1075
+ "payable": false,
1076
+ "returnType": {
1077
+ "displayName": [
1078
+ "ink",
1079
+ "MessageResult"
1080
+ ],
1081
+ "type": 13
1082
+ },
1083
+ "selector": "0xd9aad284"
1084
+ },
1085
+ {
1086
+ "args": [
1087
+ {
1088
+ "label": "account",
1089
+ "type": {
1090
+ "displayName": [
1091
+ "psp34burnable_external",
1092
+ "BurnInput1"
1093
+ ],
1094
+ "type": 0
1095
+ }
1096
+ },
1097
+ {
1098
+ "label": "id",
1099
+ "type": {
1100
+ "displayName": [
1101
+ "psp34burnable_external",
1102
+ "BurnInput2"
1103
+ ],
1104
+ "type": 26
1105
+ }
1106
+ }
1107
+ ],
1108
+ "docs": [],
1109
+ "label": "PSP34Burnable::burn",
1110
+ "mutates": true,
1111
+ "payable": false,
1112
+ "returnType": {
1113
+ "displayName": [
1114
+ "ink",
1115
+ "MessageResult"
1116
+ ],
1117
+ "type": 27
1118
+ },
1119
+ "selector": "0x63c9877a"
1120
+ }
1121
+ ]
1122
+ },
1123
+ "storage": {
1124
+ "root": {
1125
+ "layout": {
1126
+ "struct": {
1127
+ "fields": [
1128
+ {
1129
+ "layout": {
1130
+ "struct": {
1131
+ "fields": [
1132
+ {
1133
+ "layout": {
1134
+ "root": {
1135
+ "layout": {
1136
+ "leaf": {
1137
+ "key": "0x1cc80634",
1138
+ "ty": 0
1139
+ }
1140
+ },
1141
+ "root_key": "0x1cc80634"
1142
+ }
1143
+ },
1144
+ "name": "token_owner"
1145
+ },
1146
+ {
1147
+ "layout": {
1148
+ "root": {
1149
+ "layout": {
1150
+ "leaf": {
1151
+ "key": "0x7e3fae6b",
1152
+ "ty": 3
1153
+ }
1154
+ },
1155
+ "root_key": "0x7e3fae6b"
1156
+ }
1157
+ },
1158
+ "name": "operator_approvals"
1159
+ },
1160
+ {
1161
+ "layout": {
1162
+ "struct": {
1163
+ "fields": [
1164
+ {
1165
+ "layout": {
1166
+ "root": {
1167
+ "layout": {
1168
+ "enum": {
1169
+ "dispatchKey": "0xca32a240",
1170
+ "name": "Id",
1171
+ "variants": {
1172
+ "0": {
1173
+ "fields": [
1174
+ {
1175
+ "layout": {
1176
+ "leaf": {
1177
+ "key": "0xca32a240",
1178
+ "ty": 2
1179
+ }
1180
+ },
1181
+ "name": "0"
1182
+ }
1183
+ ],
1184
+ "name": "U8"
1185
+ },
1186
+ "1": {
1187
+ "fields": [
1188
+ {
1189
+ "layout": {
1190
+ "leaf": {
1191
+ "key": "0xca32a240",
1192
+ "ty": 4
1193
+ }
1194
+ },
1195
+ "name": "0"
1196
+ }
1197
+ ],
1198
+ "name": "U16"
1199
+ },
1200
+ "2": {
1201
+ "fields": [
1202
+ {
1203
+ "layout": {
1204
+ "leaf": {
1205
+ "key": "0xca32a240",
1206
+ "ty": 5
1207
+ }
1208
+ },
1209
+ "name": "0"
1210
+ }
1211
+ ],
1212
+ "name": "U32"
1213
+ },
1214
+ "3": {
1215
+ "fields": [
1216
+ {
1217
+ "layout": {
1218
+ "leaf": {
1219
+ "key": "0xca32a240",
1220
+ "ty": 6
1221
+ }
1222
+ },
1223
+ "name": "0"
1224
+ }
1225
+ ],
1226
+ "name": "U64"
1227
+ },
1228
+ "4": {
1229
+ "fields": [
1230
+ {
1231
+ "layout": {
1232
+ "leaf": {
1233
+ "key": "0xca32a240",
1234
+ "ty": 7
1235
+ }
1236
+ },
1237
+ "name": "0"
1238
+ }
1239
+ ],
1240
+ "name": "U128"
1241
+ },
1242
+ "5": {
1243
+ "fields": [
1244
+ {
1245
+ "layout": {
1246
+ "leaf": {
1247
+ "key": "0xca32a240",
1248
+ "ty": 8
1249
+ }
1250
+ },
1251
+ "name": "0"
1252
+ }
1253
+ ],
1254
+ "name": "Bytes"
1255
+ }
1256
+ }
1257
+ }
1258
+ },
1259
+ "root_key": "0xca32a240"
1260
+ }
1261
+ },
1262
+ "name": "enumerable"
1263
+ },
1264
+ {
1265
+ "layout": {
1266
+ "enum": {
1267
+ "dispatchKey": "0x00000000",
1268
+ "name": "Option",
1269
+ "variants": {
1270
+ "0": {
1271
+ "fields": [],
1272
+ "name": "None"
1273
+ },
1274
+ "1": {
1275
+ "fields": [
1276
+ {
1277
+ "layout": {
1278
+ "leaf": {
1279
+ "key": "0x00000000",
1280
+ "ty": 3
1281
+ }
1282
+ },
1283
+ "name": "0"
1284
+ }
1285
+ ],
1286
+ "name": "Some"
1287
+ }
1288
+ }
1289
+ }
1290
+ },
1291
+ "name": "_reserved"
1292
+ }
1293
+ ],
1294
+ "name": "Balances"
1295
+ }
1296
+ },
1297
+ "name": "balances"
1298
+ },
1299
+ {
1300
+ "layout": {
1301
+ "enum": {
1302
+ "dispatchKey": "0x00000000",
1303
+ "name": "Option",
1304
+ "variants": {
1305
+ "0": {
1306
+ "fields": [],
1307
+ "name": "None"
1308
+ },
1309
+ "1": {
1310
+ "fields": [
1311
+ {
1312
+ "layout": {
1313
+ "leaf": {
1314
+ "key": "0x00000000",
1315
+ "ty": 3
1316
+ }
1317
+ },
1318
+ "name": "0"
1319
+ }
1320
+ ],
1321
+ "name": "Some"
1322
+ }
1323
+ }
1324
+ }
1325
+ },
1326
+ "name": "_reserved"
1327
+ }
1328
+ ],
1329
+ "name": "Data"
1330
+ }
1331
+ },
1332
+ "name": "psp34"
1333
+ },
1334
+ {
1335
+ "layout": {
1336
+ "struct": {
1337
+ "fields": [
1338
+ {
1339
+ "layout": {
1340
+ "root": {
1341
+ "layout": {
1342
+ "leaf": {
1343
+ "key": "0x9b2d2382",
1344
+ "ty": 8
1345
+ }
1346
+ },
1347
+ "root_key": "0x9b2d2382"
1348
+ }
1349
+ },
1350
+ "name": "attributes"
1351
+ },
1352
+ {
1353
+ "layout": {
1354
+ "enum": {
1355
+ "dispatchKey": "0x00000000",
1356
+ "name": "Option",
1357
+ "variants": {
1358
+ "0": {
1359
+ "fields": [],
1360
+ "name": "None"
1361
+ },
1362
+ "1": {
1363
+ "fields": [
1364
+ {
1365
+ "layout": {
1366
+ "leaf": {
1367
+ "key": "0x00000000",
1368
+ "ty": 3
1369
+ }
1370
+ },
1371
+ "name": "0"
1372
+ }
1373
+ ],
1374
+ "name": "Some"
1375
+ }
1376
+ }
1377
+ }
1378
+ },
1379
+ "name": "_reserved"
1380
+ }
1381
+ ],
1382
+ "name": "Data"
1383
+ }
1384
+ },
1385
+ "name": "metadata"
1386
+ },
1387
+ {
1388
+ "layout": {
1389
+ "struct": {
1390
+ "fields": [
1391
+ {
1392
+ "layout": {
1393
+ "leaf": {
1394
+ "key": "0x00000000",
1395
+ "ty": 0
1396
+ }
1397
+ },
1398
+ "name": "owner"
1399
+ },
1400
+ {
1401
+ "layout": {
1402
+ "enum": {
1403
+ "dispatchKey": "0x00000000",
1404
+ "name": "Option",
1405
+ "variants": {
1406
+ "0": {
1407
+ "fields": [],
1408
+ "name": "None"
1409
+ },
1410
+ "1": {
1411
+ "fields": [
1412
+ {
1413
+ "layout": {
1414
+ "leaf": {
1415
+ "key": "0x00000000",
1416
+ "ty": 3
1417
+ }
1418
+ },
1419
+ "name": "0"
1420
+ }
1421
+ ],
1422
+ "name": "Some"
1423
+ }
1424
+ }
1425
+ }
1426
+ },
1427
+ "name": "_reserved"
1428
+ }
1429
+ ],
1430
+ "name": "Data"
1431
+ }
1432
+ },
1433
+ "name": "ownable"
1434
+ },
1435
+ {
1436
+ "layout": {
1437
+ "struct": {
1438
+ "fields": [
1439
+ {
1440
+ "layout": {
1441
+ "leaf": {
1442
+ "key": "0x00000000",
1443
+ "ty": 6
1444
+ }
1445
+ },
1446
+ "name": "last_token_id"
1447
+ },
1448
+ {
1449
+ "layout": {
1450
+ "leaf": {
1451
+ "key": "0x00000000",
1452
+ "ty": 5
1453
+ }
1454
+ },
1455
+ "name": "attribute_count"
1456
+ },
1457
+ {
1458
+ "layout": {
1459
+ "root": {
1460
+ "layout": {
1461
+ "leaf": {
1462
+ "key": "0x90fe8c00",
1463
+ "ty": 8
1464
+ }
1465
+ },
1466
+ "root_key": "0x90fe8c00"
1467
+ }
1468
+ },
1469
+ "name": "attribute_names"
1470
+ },
1471
+ {
1472
+ "layout": {
1473
+ "root": {
1474
+ "layout": {
1475
+ "leaf": {
1476
+ "key": "0x385e99c1",
1477
+ "ty": 9
1478
+ }
1479
+ },
1480
+ "root_key": "0x385e99c1"
1481
+ }
1482
+ },
1483
+ "name": "is_attribute"
1484
+ },
1485
+ {
1486
+ "layout": {
1487
+ "root": {
1488
+ "layout": {
1489
+ "leaf": {
1490
+ "key": "0x89dbb226",
1491
+ "ty": 9
1492
+ }
1493
+ },
1494
+ "root_key": "0x89dbb226"
1495
+ }
1496
+ },
1497
+ "name": "locked_tokens"
1498
+ },
1499
+ {
1500
+ "layout": {
1501
+ "leaf": {
1502
+ "key": "0x00000000",
1503
+ "ty": 6
1504
+ }
1505
+ },
1506
+ "name": "locked_token_count"
1507
+ },
1508
+ {
1509
+ "layout": {
1510
+ "enum": {
1511
+ "dispatchKey": "0x00000000",
1512
+ "name": "Option",
1513
+ "variants": {
1514
+ "0": {
1515
+ "fields": [],
1516
+ "name": "None"
1517
+ },
1518
+ "1": {
1519
+ "fields": [
1520
+ {
1521
+ "layout": {
1522
+ "leaf": {
1523
+ "key": "0x00000000",
1524
+ "ty": 3
1525
+ }
1526
+ },
1527
+ "name": "0"
1528
+ }
1529
+ ],
1530
+ "name": "Some"
1531
+ }
1532
+ }
1533
+ }
1534
+ },
1535
+ "name": "_reserved"
1536
+ }
1537
+ ],
1538
+ "name": "Manager"
1539
+ }
1540
+ },
1541
+ "name": "manager"
1542
+ },
1543
+ {
1544
+ "layout": {
1545
+ "struct": {
1546
+ "fields": [
1547
+ {
1548
+ "layout": {
1549
+ "enum": {
1550
+ "dispatchKey": "0x00000000",
1551
+ "name": "Option",
1552
+ "variants": {
1553
+ "0": {
1554
+ "fields": [],
1555
+ "name": "None"
1556
+ },
1557
+ "1": {
1558
+ "fields": [
1559
+ {
1560
+ "layout": {
1561
+ "leaf": {
1562
+ "key": "0x00000000",
1563
+ "ty": 3
1564
+ }
1565
+ },
1566
+ "name": "0"
1567
+ }
1568
+ ],
1569
+ "name": "Some"
1570
+ }
1571
+ }
1572
+ }
1573
+ },
1574
+ "name": "_reserved"
1575
+ }
1576
+ ],
1577
+ "name": "Data"
1578
+ }
1579
+ },
1580
+ "name": "admin_data"
1581
+ }
1582
+ ],
1583
+ "name": "Psp34Nft"
1584
+ }
1585
+ },
1586
+ "root_key": "0x00000000"
1587
+ }
1588
+ },
1589
+ "types": [
1590
+ {
1591
+ "id": 0,
1592
+ "type": {
1593
+ "def": {
1594
+ "composite": {
1595
+ "fields": [
1596
+ {
1597
+ "type": 1,
1598
+ "typeName": "[u8; 32]"
1599
+ }
1600
+ ]
1601
+ }
1602
+ },
1603
+ "path": [
1604
+ "ink_primitives",
1605
+ "types",
1606
+ "AccountId"
1607
+ ]
1608
+ }
1609
+ },
1610
+ {
1611
+ "id": 1,
1612
+ "type": {
1613
+ "def": {
1614
+ "array": {
1615
+ "len": 32,
1616
+ "type": 2
1617
+ }
1618
+ }
1619
+ }
1620
+ },
1621
+ {
1622
+ "id": 2,
1623
+ "type": {
1624
+ "def": {
1625
+ "primitive": "u8"
1626
+ }
1627
+ }
1628
+ },
1629
+ {
1630
+ "id": 3,
1631
+ "type": {
1632
+ "def": {
1633
+ "tuple": []
1634
+ }
1635
+ }
1636
+ },
1637
+ {
1638
+ "id": 4,
1639
+ "type": {
1640
+ "def": {
1641
+ "primitive": "u16"
1642
+ }
1643
+ }
1644
+ },
1645
+ {
1646
+ "id": 5,
1647
+ "type": {
1648
+ "def": {
1649
+ "primitive": "u32"
1650
+ }
1651
+ }
1652
+ },
1653
+ {
1654
+ "id": 6,
1655
+ "type": {
1656
+ "def": {
1657
+ "primitive": "u64"
1658
+ }
1659
+ }
1660
+ },
1661
+ {
1662
+ "id": 7,
1663
+ "type": {
1664
+ "def": {
1665
+ "primitive": "u128"
1666
+ }
1667
+ }
1668
+ },
1669
+ {
1670
+ "id": 8,
1671
+ "type": {
1672
+ "def": {
1673
+ "sequence": {
1674
+ "type": 2
1675
+ }
1676
+ }
1677
+ }
1678
+ },
1679
+ {
1680
+ "id": 9,
1681
+ "type": {
1682
+ "def": {
1683
+ "primitive": "bool"
1684
+ }
1685
+ }
1686
+ },
1687
+ {
1688
+ "id": 10,
1689
+ "type": {
1690
+ "def": {
1691
+ "primitive": "str"
1692
+ }
1693
+ }
1694
+ },
1695
+ {
1696
+ "id": 11,
1697
+ "type": {
1698
+ "def": {
1699
+ "variant": {
1700
+ "variants": [
1701
+ {
1702
+ "fields": [
1703
+ {
1704
+ "type": 3
1705
+ }
1706
+ ],
1707
+ "index": 0,
1708
+ "name": "Ok"
1709
+ },
1710
+ {
1711
+ "fields": [
1712
+ {
1713
+ "type": 12
1714
+ }
1715
+ ],
1716
+ "index": 1,
1717
+ "name": "Err"
1718
+ }
1719
+ ]
1720
+ }
1721
+ },
1722
+ "params": [
1723
+ {
1724
+ "name": "T",
1725
+ "type": 3
1726
+ },
1727
+ {
1728
+ "name": "E",
1729
+ "type": 12
1730
+ }
1731
+ ],
1732
+ "path": [
1733
+ "Result"
1734
+ ]
1735
+ }
1736
+ },
1737
+ {
1738
+ "id": 12,
1739
+ "type": {
1740
+ "def": {
1741
+ "variant": {
1742
+ "variants": [
1743
+ {
1744
+ "index": 1,
1745
+ "name": "CouldNotReadInput"
1746
+ }
1747
+ ]
1748
+ }
1749
+ },
1750
+ "path": [
1751
+ "ink_primitives",
1752
+ "LangError"
1753
+ ]
1754
+ }
1755
+ },
1756
+ {
1757
+ "id": 13,
1758
+ "type": {
1759
+ "def": {
1760
+ "variant": {
1761
+ "variants": [
1762
+ {
1763
+ "fields": [
1764
+ {
1765
+ "type": 14
1766
+ }
1767
+ ],
1768
+ "index": 0,
1769
+ "name": "Ok"
1770
+ },
1771
+ {
1772
+ "fields": [
1773
+ {
1774
+ "type": 12
1775
+ }
1776
+ ],
1777
+ "index": 1,
1778
+ "name": "Err"
1779
+ }
1780
+ ]
1781
+ }
1782
+ },
1783
+ "params": [
1784
+ {
1785
+ "name": "T",
1786
+ "type": 14
1787
+ },
1788
+ {
1789
+ "name": "E",
1790
+ "type": 12
1791
+ }
1792
+ ],
1793
+ "path": [
1794
+ "Result"
1795
+ ]
1796
+ }
1797
+ },
1798
+ {
1799
+ "id": 14,
1800
+ "type": {
1801
+ "def": {
1802
+ "variant": {
1803
+ "variants": [
1804
+ {
1805
+ "fields": [
1806
+ {
1807
+ "type": 3
1808
+ }
1809
+ ],
1810
+ "index": 0,
1811
+ "name": "Ok"
1812
+ },
1813
+ {
1814
+ "fields": [
1815
+ {
1816
+ "type": 15
1817
+ }
1818
+ ],
1819
+ "index": 1,
1820
+ "name": "Err"
1821
+ }
1822
+ ]
1823
+ }
1824
+ },
1825
+ "params": [
1826
+ {
1827
+ "name": "T",
1828
+ "type": 3
1829
+ },
1830
+ {
1831
+ "name": "E",
1832
+ "type": 15
1833
+ }
1834
+ ],
1835
+ "path": [
1836
+ "Result"
1837
+ ]
1838
+ }
1839
+ },
1840
+ {
1841
+ "id": 15,
1842
+ "type": {
1843
+ "def": {
1844
+ "variant": {
1845
+ "variants": [
1846
+ {
1847
+ "fields": [
1848
+ {
1849
+ "type": 10,
1850
+ "typeName": "String"
1851
+ }
1852
+ ],
1853
+ "index": 0,
1854
+ "name": "Custom"
1855
+ },
1856
+ {
1857
+ "index": 1,
1858
+ "name": "OnlyOwner"
1859
+ },
1860
+ {
1861
+ "index": 2,
1862
+ "name": "OnlyAdmin"
1863
+ },
1864
+ {
1865
+ "index": 3,
1866
+ "name": "InvalidCaller"
1867
+ },
1868
+ {
1869
+ "index": 4,
1870
+ "name": "InvalidFee"
1871
+ },
1872
+ {
1873
+ "index": 5,
1874
+ "name": "TokenOwnerNotMatch"
1875
+ },
1876
+ {
1877
+ "index": 6,
1878
+ "name": "NotApproved"
1879
+ },
1880
+ {
1881
+ "index": 7,
1882
+ "name": "CannotTransfer"
1883
+ },
1884
+ {
1885
+ "index": 8,
1886
+ "name": "CannotMint"
1887
+ },
1888
+ {
1889
+ "index": 9,
1890
+ "name": "NotPublicMint"
1891
+ },
1892
+ {
1893
+ "index": 10,
1894
+ "name": "NotEnoughBalance"
1895
+ },
1896
+ {
1897
+ "index": 11,
1898
+ "name": "MaxSupply"
1899
+ },
1900
+ {
1901
+ "index": 12,
1902
+ "name": "AlreadyInit"
1903
+ },
1904
+ {
1905
+ "index": 13,
1906
+ "name": "NotOwner"
1907
+ },
1908
+ {
1909
+ "index": 14,
1910
+ "name": "NotTokenOwner"
1911
+ },
1912
+ {
1913
+ "index": 15,
1914
+ "name": "ProjectNotExist"
1915
+ },
1916
+ {
1917
+ "index": 16,
1918
+ "name": "ProjectOwnerAndAdmin"
1919
+ },
1920
+ {
1921
+ "index": 17,
1922
+ "name": "InvalidStartTimeAndEndTime"
1923
+ },
1924
+ {
1925
+ "index": 18,
1926
+ "name": "InvalidPhaseCount"
1927
+ },
1928
+ {
1929
+ "index": 19,
1930
+ "name": "CollectionOwnerAndAdmin"
1931
+ },
1932
+ {
1933
+ "index": 20,
1934
+ "name": "CollectionNotActive"
1935
+ },
1936
+ {
1937
+ "index": 21,
1938
+ "name": "CollectionNotExist"
1939
+ },
1940
+ {
1941
+ "index": 22,
1942
+ "name": "InvalidInput"
1943
+ },
1944
+ {
1945
+ "index": 23,
1946
+ "name": "InvalidType"
1947
+ },
1948
+ {
1949
+ "index": 24,
1950
+ "name": "ClaimedAll"
1951
+ },
1952
+ {
1953
+ "index": 25,
1954
+ "name": "TokenLimitReached"
1955
+ },
1956
+ {
1957
+ "index": 26,
1958
+ "name": "UpdatePhase"
1959
+ },
1960
+ {
1961
+ "index": 27,
1962
+ "name": "PhaseNotExist"
1963
+ },
1964
+ {
1965
+ "index": 28,
1966
+ "name": "PhaseExpired"
1967
+ },
1968
+ {
1969
+ "index": 29,
1970
+ "name": "PhaseDeactivate"
1971
+ },
1972
+ {
1973
+ "index": 30,
1974
+ "name": "WhitelistNotExist"
1975
+ },
1976
+ {
1977
+ "index": 31,
1978
+ "name": "WithdrawFeeError"
1979
+ },
1980
+ {
1981
+ "index": 32,
1982
+ "name": "WithdrawNFTError"
1983
+ },
1984
+ {
1985
+ "index": 33,
1986
+ "name": "WithdrawPSP22Error"
1987
+ },
1988
+ {
1989
+ "index": 34,
1990
+ "name": "NotListed"
1991
+ },
1992
+ {
1993
+ "index": 35,
1994
+ "name": "BidAlreadyExist"
1995
+ },
1996
+ {
1997
+ "index": 36,
1998
+ "name": "BidNotExist"
1999
+ },
2000
+ {
2001
+ "index": 37,
2002
+ "name": "NotInMarket"
2003
+ },
2004
+ {
2005
+ "index": 38,
2006
+ "name": "NotForSale"
2007
+ },
2008
+ {
2009
+ "index": 39,
2010
+ "name": "NotInSaleList"
2011
+ },
2012
+ {
2013
+ "index": 40,
2014
+ "name": "InvalidBidLength"
2015
+ },
2016
+ {
2017
+ "index": 41,
2018
+ "name": "InvalidCollectionOwner"
2019
+ },
2020
+ {
2021
+ "index": 42,
2022
+ "name": "InvalidTime"
2023
+ },
2024
+ {
2025
+ "index": 43,
2026
+ "name": "RewardStarted"
2027
+ },
2028
+ {
2029
+ "index": 44,
2030
+ "name": "RewardNotStarted"
2031
+ },
2032
+ {
2033
+ "index": 45,
2034
+ "name": "RewardNotAdded"
2035
+ },
2036
+ {
2037
+ "index": 46,
2038
+ "name": "ClaimMustBeFalse"
2039
+ },
2040
+ {
2041
+ "index": 47,
2042
+ "name": "HoldAmountBidderNotExist"
2043
+ },
2044
+ {
2045
+ "fields": [
2046
+ {
2047
+ "type": 16,
2048
+ "typeName": "OwnableError"
2049
+ }
2050
+ ],
2051
+ "index": 48,
2052
+ "name": "OwnableError"
2053
+ },
2054
+ {
2055
+ "fields": [
2056
+ {
2057
+ "type": 17,
2058
+ "typeName": "AccessControlError"
2059
+ }
2060
+ ],
2061
+ "index": 49,
2062
+ "name": "AccessControlError"
2063
+ },
2064
+ {
2065
+ "fields": [
2066
+ {
2067
+ "type": 18,
2068
+ "typeName": "PSP22Error"
2069
+ }
2070
+ ],
2071
+ "index": 50,
2072
+ "name": "PSP22Error"
2073
+ },
2074
+ {
2075
+ "fields": [
2076
+ {
2077
+ "type": 19,
2078
+ "typeName": "PSP34Error"
2079
+ }
2080
+ ],
2081
+ "index": 51,
2082
+ "name": "PSP34Error"
2083
+ },
2084
+ {
2085
+ "index": 52,
2086
+ "name": "CheckedOperations"
2087
+ }
2088
+ ]
2089
+ }
2090
+ },
2091
+ "path": [
2092
+ "artzero_project",
2093
+ "traits",
2094
+ "error",
2095
+ "Error"
2096
+ ]
2097
+ }
2098
+ },
2099
+ {
2100
+ "id": 16,
2101
+ "type": {
2102
+ "def": {
2103
+ "variant": {
2104
+ "variants": [
2105
+ {
2106
+ "index": 0,
2107
+ "name": "CallerIsNotOwner"
2108
+ },
2109
+ {
2110
+ "index": 1,
2111
+ "name": "NewOwnerIsZero"
2112
+ }
2113
+ ]
2114
+ }
2115
+ },
2116
+ "path": [
2117
+ "openbrush_contracts",
2118
+ "traits",
2119
+ "errors",
2120
+ "ownable",
2121
+ "OwnableError"
2122
+ ]
2123
+ }
2124
+ },
2125
+ {
2126
+ "id": 17,
2127
+ "type": {
2128
+ "def": {
2129
+ "variant": {
2130
+ "variants": [
2131
+ {
2132
+ "index": 0,
2133
+ "name": "InvalidCaller"
2134
+ },
2135
+ {
2136
+ "index": 1,
2137
+ "name": "MissingRole"
2138
+ },
2139
+ {
2140
+ "index": 2,
2141
+ "name": "RoleRedundant"
2142
+ }
2143
+ ]
2144
+ }
2145
+ },
2146
+ "path": [
2147
+ "openbrush_contracts",
2148
+ "traits",
2149
+ "errors",
2150
+ "access_control",
2151
+ "AccessControlError"
2152
+ ]
2153
+ }
2154
+ },
2155
+ {
2156
+ "id": 18,
2157
+ "type": {
2158
+ "def": {
2159
+ "variant": {
2160
+ "variants": [
2161
+ {
2162
+ "fields": [
2163
+ {
2164
+ "type": 8,
2165
+ "typeName": "String"
2166
+ }
2167
+ ],
2168
+ "index": 0,
2169
+ "name": "Custom"
2170
+ },
2171
+ {
2172
+ "index": 1,
2173
+ "name": "InsufficientBalance"
2174
+ },
2175
+ {
2176
+ "index": 2,
2177
+ "name": "InsufficientAllowance"
2178
+ },
2179
+ {
2180
+ "index": 3,
2181
+ "name": "ZeroRecipientAddress"
2182
+ },
2183
+ {
2184
+ "index": 4,
2185
+ "name": "ZeroSenderAddress"
2186
+ },
2187
+ {
2188
+ "fields": [
2189
+ {
2190
+ "type": 8,
2191
+ "typeName": "String"
2192
+ }
2193
+ ],
2194
+ "index": 5,
2195
+ "name": "SafeTransferCheckFailed"
2196
+ }
2197
+ ]
2198
+ }
2199
+ },
2200
+ "path": [
2201
+ "openbrush_contracts",
2202
+ "traits",
2203
+ "errors",
2204
+ "psp22",
2205
+ "PSP22Error"
2206
+ ]
2207
+ }
2208
+ },
2209
+ {
2210
+ "id": 19,
2211
+ "type": {
2212
+ "def": {
2213
+ "variant": {
2214
+ "variants": [
2215
+ {
2216
+ "fields": [
2217
+ {
2218
+ "type": 8,
2219
+ "typeName": "String"
2220
+ }
2221
+ ],
2222
+ "index": 0,
2223
+ "name": "Custom"
2224
+ },
2225
+ {
2226
+ "index": 1,
2227
+ "name": "SelfApprove"
2228
+ },
2229
+ {
2230
+ "index": 2,
2231
+ "name": "NotApproved"
2232
+ },
2233
+ {
2234
+ "index": 3,
2235
+ "name": "TokenExists"
2236
+ },
2237
+ {
2238
+ "index": 4,
2239
+ "name": "TokenNotExists"
2240
+ },
2241
+ {
2242
+ "fields": [
2243
+ {
2244
+ "type": 8,
2245
+ "typeName": "String"
2246
+ }
2247
+ ],
2248
+ "index": 5,
2249
+ "name": "SafeTransferCheckFailed"
2250
+ }
2251
+ ]
2252
+ }
2253
+ },
2254
+ "path": [
2255
+ "openbrush_contracts",
2256
+ "traits",
2257
+ "errors",
2258
+ "psp34",
2259
+ "PSP34Error"
2260
+ ]
2261
+ }
2262
+ },
2263
+ {
2264
+ "id": 20,
2265
+ "type": {
2266
+ "def": {
2267
+ "sequence": {
2268
+ "type": 21
2269
+ }
2270
+ }
2271
+ }
2272
+ },
2273
+ {
2274
+ "id": 21,
2275
+ "type": {
2276
+ "def": {
2277
+ "tuple": [
2278
+ 10,
2279
+ 10
2280
+ ]
2281
+ }
2282
+ }
2283
+ },
2284
+ {
2285
+ "id": 22,
2286
+ "type": {
2287
+ "def": {
2288
+ "variant": {
2289
+ "variants": [
2290
+ {
2291
+ "fields": [
2292
+ {
2293
+ "type": 23
2294
+ }
2295
+ ],
2296
+ "index": 0,
2297
+ "name": "Ok"
2298
+ },
2299
+ {
2300
+ "fields": [
2301
+ {
2302
+ "type": 12
2303
+ }
2304
+ ],
2305
+ "index": 1,
2306
+ "name": "Err"
2307
+ }
2308
+ ]
2309
+ }
2310
+ },
2311
+ "params": [
2312
+ {
2313
+ "name": "T",
2314
+ "type": 23
2315
+ },
2316
+ {
2317
+ "name": "E",
2318
+ "type": 12
2319
+ }
2320
+ ],
2321
+ "path": [
2322
+ "Result"
2323
+ ]
2324
+ }
2325
+ },
2326
+ {
2327
+ "id": 23,
2328
+ "type": {
2329
+ "def": {
2330
+ "variant": {
2331
+ "variants": [
2332
+ {
2333
+ "fields": [
2334
+ {
2335
+ "type": 3
2336
+ }
2337
+ ],
2338
+ "index": 0,
2339
+ "name": "Ok"
2340
+ },
2341
+ {
2342
+ "fields": [
2343
+ {
2344
+ "type": 16
2345
+ }
2346
+ ],
2347
+ "index": 1,
2348
+ "name": "Err"
2349
+ }
2350
+ ]
2351
+ }
2352
+ },
2353
+ "params": [
2354
+ {
2355
+ "name": "T",
2356
+ "type": 3
2357
+ },
2358
+ {
2359
+ "name": "E",
2360
+ "type": 16
2361
+ }
2362
+ ],
2363
+ "path": [
2364
+ "Result"
2365
+ ]
2366
+ }
2367
+ },
2368
+ {
2369
+ "id": 24,
2370
+ "type": {
2371
+ "def": {
2372
+ "variant": {
2373
+ "variants": [
2374
+ {
2375
+ "fields": [
2376
+ {
2377
+ "type": 0
2378
+ }
2379
+ ],
2380
+ "index": 0,
2381
+ "name": "Ok"
2382
+ },
2383
+ {
2384
+ "fields": [
2385
+ {
2386
+ "type": 12
2387
+ }
2388
+ ],
2389
+ "index": 1,
2390
+ "name": "Err"
2391
+ }
2392
+ ]
2393
+ }
2394
+ },
2395
+ "params": [
2396
+ {
2397
+ "name": "T",
2398
+ "type": 0
2399
+ },
2400
+ {
2401
+ "name": "E",
2402
+ "type": 12
2403
+ }
2404
+ ],
2405
+ "path": [
2406
+ "Result"
2407
+ ]
2408
+ }
2409
+ },
2410
+ {
2411
+ "id": 25,
2412
+ "type": {
2413
+ "def": {
2414
+ "variant": {
2415
+ "variants": [
2416
+ {
2417
+ "fields": [
2418
+ {
2419
+ "type": 26
2420
+ }
2421
+ ],
2422
+ "index": 0,
2423
+ "name": "Ok"
2424
+ },
2425
+ {
2426
+ "fields": [
2427
+ {
2428
+ "type": 12
2429
+ }
2430
+ ],
2431
+ "index": 1,
2432
+ "name": "Err"
2433
+ }
2434
+ ]
2435
+ }
2436
+ },
2437
+ "params": [
2438
+ {
2439
+ "name": "T",
2440
+ "type": 26
2441
+ },
2442
+ {
2443
+ "name": "E",
2444
+ "type": 12
2445
+ }
2446
+ ],
2447
+ "path": [
2448
+ "Result"
2449
+ ]
2450
+ }
2451
+ },
2452
+ {
2453
+ "id": 26,
2454
+ "type": {
2455
+ "def": {
2456
+ "variant": {
2457
+ "variants": [
2458
+ {
2459
+ "fields": [
2460
+ {
2461
+ "type": 2,
2462
+ "typeName": "u8"
2463
+ }
2464
+ ],
2465
+ "index": 0,
2466
+ "name": "U8"
2467
+ },
2468
+ {
2469
+ "fields": [
2470
+ {
2471
+ "type": 4,
2472
+ "typeName": "u16"
2473
+ }
2474
+ ],
2475
+ "index": 1,
2476
+ "name": "U16"
2477
+ },
2478
+ {
2479
+ "fields": [
2480
+ {
2481
+ "type": 5,
2482
+ "typeName": "u32"
2483
+ }
2484
+ ],
2485
+ "index": 2,
2486
+ "name": "U32"
2487
+ },
2488
+ {
2489
+ "fields": [
2490
+ {
2491
+ "type": 6,
2492
+ "typeName": "u64"
2493
+ }
2494
+ ],
2495
+ "index": 3,
2496
+ "name": "U64"
2497
+ },
2498
+ {
2499
+ "fields": [
2500
+ {
2501
+ "type": 7,
2502
+ "typeName": "u128"
2503
+ }
2504
+ ],
2505
+ "index": 4,
2506
+ "name": "U128"
2507
+ },
2508
+ {
2509
+ "fields": [
2510
+ {
2511
+ "type": 8,
2512
+ "typeName": "Vec<u8>"
2513
+ }
2514
+ ],
2515
+ "index": 5,
2516
+ "name": "Bytes"
2517
+ }
2518
+ ]
2519
+ }
2520
+ },
2521
+ "path": [
2522
+ "openbrush_contracts",
2523
+ "traits",
2524
+ "types",
2525
+ "Id"
2526
+ ]
2527
+ }
2528
+ },
2529
+ {
2530
+ "id": 27,
2531
+ "type": {
2532
+ "def": {
2533
+ "variant": {
2534
+ "variants": [
2535
+ {
2536
+ "fields": [
2537
+ {
2538
+ "type": 28
2539
+ }
2540
+ ],
2541
+ "index": 0,
2542
+ "name": "Ok"
2543
+ },
2544
+ {
2545
+ "fields": [
2546
+ {
2547
+ "type": 12
2548
+ }
2549
+ ],
2550
+ "index": 1,
2551
+ "name": "Err"
2552
+ }
2553
+ ]
2554
+ }
2555
+ },
2556
+ "params": [
2557
+ {
2558
+ "name": "T",
2559
+ "type": 28
2560
+ },
2561
+ {
2562
+ "name": "E",
2563
+ "type": 12
2564
+ }
2565
+ ],
2566
+ "path": [
2567
+ "Result"
2568
+ ]
2569
+ }
2570
+ },
2571
+ {
2572
+ "id": 28,
2573
+ "type": {
2574
+ "def": {
2575
+ "variant": {
2576
+ "variants": [
2577
+ {
2578
+ "fields": [
2579
+ {
2580
+ "type": 3
2581
+ }
2582
+ ],
2583
+ "index": 0,
2584
+ "name": "Ok"
2585
+ },
2586
+ {
2587
+ "fields": [
2588
+ {
2589
+ "type": 19
2590
+ }
2591
+ ],
2592
+ "index": 1,
2593
+ "name": "Err"
2594
+ }
2595
+ ]
2596
+ }
2597
+ },
2598
+ "params": [
2599
+ {
2600
+ "name": "T",
2601
+ "type": 3
2602
+ },
2603
+ {
2604
+ "name": "E",
2605
+ "type": 19
2606
+ }
2607
+ ],
2608
+ "path": [
2609
+ "Result"
2610
+ ]
2611
+ }
2612
+ },
2613
+ {
2614
+ "id": 29,
2615
+ "type": {
2616
+ "def": {
2617
+ "variant": {
2618
+ "variants": [
2619
+ {
2620
+ "index": 0,
2621
+ "name": "None"
2622
+ },
2623
+ {
2624
+ "fields": [
2625
+ {
2626
+ "type": 26
2627
+ }
2628
+ ],
2629
+ "index": 1,
2630
+ "name": "Some"
2631
+ }
2632
+ ]
2633
+ }
2634
+ },
2635
+ "params": [
2636
+ {
2637
+ "name": "T",
2638
+ "type": 26
2639
+ }
2640
+ ],
2641
+ "path": [
2642
+ "Option"
2643
+ ]
2644
+ }
2645
+ },
2646
+ {
2647
+ "id": 30,
2648
+ "type": {
2649
+ "def": {
2650
+ "variant": {
2651
+ "variants": [
2652
+ {
2653
+ "fields": [
2654
+ {
2655
+ "type": 31
2656
+ }
2657
+ ],
2658
+ "index": 0,
2659
+ "name": "Ok"
2660
+ },
2661
+ {
2662
+ "fields": [
2663
+ {
2664
+ "type": 12
2665
+ }
2666
+ ],
2667
+ "index": 1,
2668
+ "name": "Err"
2669
+ }
2670
+ ]
2671
+ }
2672
+ },
2673
+ "params": [
2674
+ {
2675
+ "name": "T",
2676
+ "type": 31
2677
+ },
2678
+ {
2679
+ "name": "E",
2680
+ "type": 12
2681
+ }
2682
+ ],
2683
+ "path": [
2684
+ "Result"
2685
+ ]
2686
+ }
2687
+ },
2688
+ {
2689
+ "id": 31,
2690
+ "type": {
2691
+ "def": {
2692
+ "variant": {
2693
+ "variants": [
2694
+ {
2695
+ "index": 0,
2696
+ "name": "None"
2697
+ },
2698
+ {
2699
+ "fields": [
2700
+ {
2701
+ "type": 0
2702
+ }
2703
+ ],
2704
+ "index": 1,
2705
+ "name": "Some"
2706
+ }
2707
+ ]
2708
+ }
2709
+ },
2710
+ "params": [
2711
+ {
2712
+ "name": "T",
2713
+ "type": 0
2714
+ }
2715
+ ],
2716
+ "path": [
2717
+ "Option"
2718
+ ]
2719
+ }
2720
+ },
2721
+ {
2722
+ "id": 32,
2723
+ "type": {
2724
+ "def": {
2725
+ "variant": {
2726
+ "variants": [
2727
+ {
2728
+ "fields": [
2729
+ {
2730
+ "type": 9
2731
+ }
2732
+ ],
2733
+ "index": 0,
2734
+ "name": "Ok"
2735
+ },
2736
+ {
2737
+ "fields": [
2738
+ {
2739
+ "type": 12
2740
+ }
2741
+ ],
2742
+ "index": 1,
2743
+ "name": "Err"
2744
+ }
2745
+ ]
2746
+ }
2747
+ },
2748
+ "params": [
2749
+ {
2750
+ "name": "T",
2751
+ "type": 9
2752
+ },
2753
+ {
2754
+ "name": "E",
2755
+ "type": 12
2756
+ }
2757
+ ],
2758
+ "path": [
2759
+ "Result"
2760
+ ]
2761
+ }
2762
+ },
2763
+ {
2764
+ "id": 33,
2765
+ "type": {
2766
+ "def": {
2767
+ "variant": {
2768
+ "variants": [
2769
+ {
2770
+ "fields": [
2771
+ {
2772
+ "type": 7
2773
+ }
2774
+ ],
2775
+ "index": 0,
2776
+ "name": "Ok"
2777
+ },
2778
+ {
2779
+ "fields": [
2780
+ {
2781
+ "type": 12
2782
+ }
2783
+ ],
2784
+ "index": 1,
2785
+ "name": "Err"
2786
+ }
2787
+ ]
2788
+ }
2789
+ },
2790
+ "params": [
2791
+ {
2792
+ "name": "T",
2793
+ "type": 7
2794
+ },
2795
+ {
2796
+ "name": "E",
2797
+ "type": 12
2798
+ }
2799
+ ],
2800
+ "path": [
2801
+ "Result"
2802
+ ]
2803
+ }
2804
+ },
2805
+ {
2806
+ "id": 34,
2807
+ "type": {
2808
+ "def": {
2809
+ "variant": {
2810
+ "variants": [
2811
+ {
2812
+ "fields": [
2813
+ {
2814
+ "type": 5
2815
+ }
2816
+ ],
2817
+ "index": 0,
2818
+ "name": "Ok"
2819
+ },
2820
+ {
2821
+ "fields": [
2822
+ {
2823
+ "type": 12
2824
+ }
2825
+ ],
2826
+ "index": 1,
2827
+ "name": "Err"
2828
+ }
2829
+ ]
2830
+ }
2831
+ },
2832
+ "params": [
2833
+ {
2834
+ "name": "T",
2835
+ "type": 5
2836
+ },
2837
+ {
2838
+ "name": "E",
2839
+ "type": 12
2840
+ }
2841
+ ],
2842
+ "path": [
2843
+ "Result"
2844
+ ]
2845
+ }
2846
+ },
2847
+ {
2848
+ "id": 35,
2849
+ "type": {
2850
+ "def": {
2851
+ "variant": {
2852
+ "variants": [
2853
+ {
2854
+ "fields": [
2855
+ {
2856
+ "type": 36
2857
+ }
2858
+ ],
2859
+ "index": 0,
2860
+ "name": "Ok"
2861
+ },
2862
+ {
2863
+ "fields": [
2864
+ {
2865
+ "type": 12
2866
+ }
2867
+ ],
2868
+ "index": 1,
2869
+ "name": "Err"
2870
+ }
2871
+ ]
2872
+ }
2873
+ },
2874
+ "params": [
2875
+ {
2876
+ "name": "T",
2877
+ "type": 36
2878
+ },
2879
+ {
2880
+ "name": "E",
2881
+ "type": 12
2882
+ }
2883
+ ],
2884
+ "path": [
2885
+ "Result"
2886
+ ]
2887
+ }
2888
+ },
2889
+ {
2890
+ "id": 36,
2891
+ "type": {
2892
+ "def": {
2893
+ "variant": {
2894
+ "variants": [
2895
+ {
2896
+ "index": 0,
2897
+ "name": "None"
2898
+ },
2899
+ {
2900
+ "fields": [
2901
+ {
2902
+ "type": 8
2903
+ }
2904
+ ],
2905
+ "index": 1,
2906
+ "name": "Some"
2907
+ }
2908
+ ]
2909
+ }
2910
+ },
2911
+ "params": [
2912
+ {
2913
+ "name": "T",
2914
+ "type": 8
2915
+ }
2916
+ ],
2917
+ "path": [
2918
+ "Option"
2919
+ ]
2920
+ }
2921
+ },
2922
+ {
2923
+ "id": 37,
2924
+ "type": {
2925
+ "def": {
2926
+ "variant": {
2927
+ "variants": [
2928
+ {
2929
+ "fields": [
2930
+ {
2931
+ "type": 38
2932
+ }
2933
+ ],
2934
+ "index": 0,
2935
+ "name": "Ok"
2936
+ },
2937
+ {
2938
+ "fields": [
2939
+ {
2940
+ "type": 12
2941
+ }
2942
+ ],
2943
+ "index": 1,
2944
+ "name": "Err"
2945
+ }
2946
+ ]
2947
+ }
2948
+ },
2949
+ "params": [
2950
+ {
2951
+ "name": "T",
2952
+ "type": 38
2953
+ },
2954
+ {
2955
+ "name": "E",
2956
+ "type": 12
2957
+ }
2958
+ ],
2959
+ "path": [
2960
+ "Result"
2961
+ ]
2962
+ }
2963
+ },
2964
+ {
2965
+ "id": 38,
2966
+ "type": {
2967
+ "def": {
2968
+ "variant": {
2969
+ "variants": [
2970
+ {
2971
+ "fields": [
2972
+ {
2973
+ "type": 26
2974
+ }
2975
+ ],
2976
+ "index": 0,
2977
+ "name": "Ok"
2978
+ },
2979
+ {
2980
+ "fields": [
2981
+ {
2982
+ "type": 19
2983
+ }
2984
+ ],
2985
+ "index": 1,
2986
+ "name": "Err"
2987
+ }
2988
+ ]
2989
+ }
2990
+ },
2991
+ "params": [
2992
+ {
2993
+ "name": "T",
2994
+ "type": 26
2995
+ },
2996
+ {
2997
+ "name": "E",
2998
+ "type": 19
2999
+ }
3000
+ ],
3001
+ "path": [
3002
+ "Result"
3003
+ ]
3004
+ }
3005
+ },
3006
+ {
3007
+ "id": 39,
3008
+ "type": {
3009
+ "def": {
3010
+ "variant": {
3011
+ "variants": [
3012
+ {
3013
+ "fields": [
3014
+ {
3015
+ "type": 6
3016
+ }
3017
+ ],
3018
+ "index": 0,
3019
+ "name": "Ok"
3020
+ },
3021
+ {
3022
+ "fields": [
3023
+ {
3024
+ "type": 12
3025
+ }
3026
+ ],
3027
+ "index": 1,
3028
+ "name": "Err"
3029
+ }
3030
+ ]
3031
+ }
3032
+ },
3033
+ "params": [
3034
+ {
3035
+ "name": "T",
3036
+ "type": 6
3037
+ },
3038
+ {
3039
+ "name": "E",
3040
+ "type": 12
3041
+ }
3042
+ ],
3043
+ "path": [
3044
+ "Result"
3045
+ ]
3046
+ }
3047
+ },
3048
+ {
3049
+ "id": 40,
3050
+ "type": {
3051
+ "def": {
3052
+ "variant": {
3053
+ "variants": [
3054
+ {
3055
+ "fields": [
3056
+ {
3057
+ "type": 10
3058
+ }
3059
+ ],
3060
+ "index": 0,
3061
+ "name": "Ok"
3062
+ },
3063
+ {
3064
+ "fields": [
3065
+ {
3066
+ "type": 12
3067
+ }
3068
+ ],
3069
+ "index": 1,
3070
+ "name": "Err"
3071
+ }
3072
+ ]
3073
+ }
3074
+ },
3075
+ "params": [
3076
+ {
3077
+ "name": "T",
3078
+ "type": 10
3079
+ },
3080
+ {
3081
+ "name": "E",
3082
+ "type": 12
3083
+ }
3084
+ ],
3085
+ "path": [
3086
+ "Result"
3087
+ ]
3088
+ }
3089
+ },
3090
+ {
3091
+ "id": 41,
3092
+ "type": {
3093
+ "def": {
3094
+ "sequence": {
3095
+ "type": 10
3096
+ }
3097
+ }
3098
+ }
3099
+ },
3100
+ {
3101
+ "id": 42,
3102
+ "type": {
3103
+ "def": {
3104
+ "variant": {
3105
+ "variants": [
3106
+ {
3107
+ "fields": [
3108
+ {
3109
+ "type": 41
3110
+ }
3111
+ ],
3112
+ "index": 0,
3113
+ "name": "Ok"
3114
+ },
3115
+ {
3116
+ "fields": [
3117
+ {
3118
+ "type": 12
3119
+ }
3120
+ ],
3121
+ "index": 1,
3122
+ "name": "Err"
3123
+ }
3124
+ ]
3125
+ }
3126
+ },
3127
+ "params": [
3128
+ {
3129
+ "name": "T",
3130
+ "type": 41
3131
+ },
3132
+ {
3133
+ "name": "E",
3134
+ "type": 12
3135
+ }
3136
+ ],
3137
+ "path": [
3138
+ "Result"
3139
+ ]
3140
+ }
3141
+ }
3142
+ ],
3143
+ "version": "4"
3144
+ }