@subwallet/extension-base 1.1.14-1 → 1.1.15-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,1866 @@
1
+ {
2
+ "source": {
3
+ "hash": "0x80f9d65ac1c9eb4f4c515ccad19453d742da69121ddfaac06b4eee98225f7ff7",
4
+ "language": "ink! 4.2.1",
5
+ "compiler": "rustc 1.69.0",
6
+ "build_info": {
7
+ "build_mode": "Release",
8
+ "cargo_contract_version": "3.0.1",
9
+ "rust_toolchain": "stable-x86_64-pc-windows-msvc",
10
+ "wasm_opt_settings": {
11
+ "keep_debug_symbols": false,
12
+ "optimization_passes": "Z"
13
+ }
14
+ }
15
+ },
16
+ "contract": {
17
+ "name": "neuroguns",
18
+ "version": "3.1.0",
19
+ "authors": [
20
+ "Wolfer"
21
+ ]
22
+ },
23
+ "spec": {
24
+ "constructors": [
25
+ {
26
+ "args": [
27
+ {
28
+ "label": "base_uri",
29
+ "type": {
30
+ "displayName": [
31
+ "String"
32
+ ],
33
+ "type": 6
34
+ }
35
+ }
36
+ ],
37
+ "default": false,
38
+ "docs": [],
39
+ "label": "new",
40
+ "payable": false,
41
+ "returnType": {
42
+ "displayName": [
43
+ "ink_primitives",
44
+ "ConstructorResult"
45
+ ],
46
+ "type": 10
47
+ },
48
+ "selector": "0x9bae9d5e"
49
+ }
50
+ ],
51
+ "docs": [],
52
+ "environment": {
53
+ "accountId": {
54
+ "displayName": [
55
+ "AccountId"
56
+ ],
57
+ "type": 0
58
+ },
59
+ "balance": {
60
+ "displayName": [
61
+ "Balance"
62
+ ],
63
+ "type": 5
64
+ },
65
+ "blockNumber": {
66
+ "displayName": [
67
+ "BlockNumber"
68
+ ],
69
+ "type": 4
70
+ },
71
+ "chainExtension": {
72
+ "displayName": [
73
+ "ChainExtension"
74
+ ],
75
+ "type": 33
76
+ },
77
+ "hash": {
78
+ "displayName": [
79
+ "Hash"
80
+ ],
81
+ "type": 32
82
+ },
83
+ "maxEventTopics": 4,
84
+ "timestamp": {
85
+ "displayName": [
86
+ "Timestamp"
87
+ ],
88
+ "type": 8
89
+ }
90
+ },
91
+ "events": [],
92
+ "lang_error": {
93
+ "displayName": [
94
+ "ink",
95
+ "LangError"
96
+ ],
97
+ "type": 11
98
+ },
99
+ "messages": [
100
+ {
101
+ "args": [
102
+ {
103
+ "label": "new_base_uri",
104
+ "type": {
105
+ "displayName": [
106
+ "String"
107
+ ],
108
+ "type": 6
109
+ }
110
+ }
111
+ ],
112
+ "default": false,
113
+ "docs": [],
114
+ "label": "set_base_uri",
115
+ "mutates": true,
116
+ "payable": false,
117
+ "returnType": {
118
+ "displayName": [
119
+ "ink",
120
+ "MessageResult"
121
+ ],
122
+ "type": 12
123
+ },
124
+ "selector": "0xec403dee"
125
+ },
126
+ {
127
+ "args": [
128
+ {
129
+ "label": "token_id",
130
+ "type": {
131
+ "displayName": [
132
+ "u64"
133
+ ],
134
+ "type": 8
135
+ }
136
+ }
137
+ ],
138
+ "default": false,
139
+ "docs": [],
140
+ "label": "token_uri",
141
+ "mutates": false,
142
+ "payable": false,
143
+ "returnType": {
144
+ "displayName": [
145
+ "ink",
146
+ "MessageResult"
147
+ ],
148
+ "type": 15
149
+ },
150
+ "selector": "0x5b64e66a"
151
+ },
152
+ {
153
+ "args": [
154
+ {
155
+ "label": "operator",
156
+ "type": {
157
+ "displayName": [
158
+ "psp34_external",
159
+ "ApproveInput1"
160
+ ],
161
+ "type": 0
162
+ }
163
+ },
164
+ {
165
+ "label": "id",
166
+ "type": {
167
+ "displayName": [
168
+ "psp34_external",
169
+ "ApproveInput2"
170
+ ],
171
+ "type": 16
172
+ }
173
+ },
174
+ {
175
+ "label": "approved",
176
+ "type": {
177
+ "displayName": [
178
+ "psp34_external",
179
+ "ApproveInput3"
180
+ ],
181
+ "type": 18
182
+ }
183
+ }
184
+ ],
185
+ "default": false,
186
+ "docs": [],
187
+ "label": "PSP34::approve",
188
+ "mutates": true,
189
+ "payable": false,
190
+ "returnType": {
191
+ "displayName": [
192
+ "ink",
193
+ "MessageResult"
194
+ ],
195
+ "type": 12
196
+ },
197
+ "selector": "0x1932a8b0"
198
+ },
199
+ {
200
+ "args": [
201
+ {
202
+ "label": "owner",
203
+ "type": {
204
+ "displayName": [
205
+ "psp34_external",
206
+ "AllowanceInput1"
207
+ ],
208
+ "type": 0
209
+ }
210
+ },
211
+ {
212
+ "label": "operator",
213
+ "type": {
214
+ "displayName": [
215
+ "psp34_external",
216
+ "AllowanceInput2"
217
+ ],
218
+ "type": 0
219
+ }
220
+ },
221
+ {
222
+ "label": "id",
223
+ "type": {
224
+ "displayName": [
225
+ "psp34_external",
226
+ "AllowanceInput3"
227
+ ],
228
+ "type": 16
229
+ }
230
+ }
231
+ ],
232
+ "default": false,
233
+ "docs": [],
234
+ "label": "PSP34::allowance",
235
+ "mutates": false,
236
+ "payable": false,
237
+ "returnType": {
238
+ "displayName": [
239
+ "ink",
240
+ "MessageResult"
241
+ ],
242
+ "type": 19
243
+ },
244
+ "selector": "0x4790f55a"
245
+ },
246
+ {
247
+ "args": [],
248
+ "default": false,
249
+ "docs": [],
250
+ "label": "PSP34::collection_id",
251
+ "mutates": false,
252
+ "payable": false,
253
+ "returnType": {
254
+ "displayName": [
255
+ "ink",
256
+ "MessageResult"
257
+ ],
258
+ "type": 20
259
+ },
260
+ "selector": "0xffa27a5f"
261
+ },
262
+ {
263
+ "args": [
264
+ {
265
+ "label": "to",
266
+ "type": {
267
+ "displayName": [
268
+ "psp34_external",
269
+ "TransferInput1"
270
+ ],
271
+ "type": 0
272
+ }
273
+ },
274
+ {
275
+ "label": "id",
276
+ "type": {
277
+ "displayName": [
278
+ "psp34_external",
279
+ "TransferInput2"
280
+ ],
281
+ "type": 17
282
+ }
283
+ },
284
+ {
285
+ "label": "data",
286
+ "type": {
287
+ "displayName": [
288
+ "psp34_external",
289
+ "TransferInput3"
290
+ ],
291
+ "type": 9
292
+ }
293
+ }
294
+ ],
295
+ "default": false,
296
+ "docs": [],
297
+ "label": "PSP34::transfer",
298
+ "mutates": true,
299
+ "payable": false,
300
+ "returnType": {
301
+ "displayName": [
302
+ "ink",
303
+ "MessageResult"
304
+ ],
305
+ "type": 12
306
+ },
307
+ "selector": "0x3128d61b"
308
+ },
309
+ {
310
+ "args": [],
311
+ "default": false,
312
+ "docs": [],
313
+ "label": "PSP34::total_supply",
314
+ "mutates": false,
315
+ "payable": false,
316
+ "returnType": {
317
+ "displayName": [
318
+ "ink",
319
+ "MessageResult"
320
+ ],
321
+ "type": 21
322
+ },
323
+ "selector": "0x628413fe"
324
+ },
325
+ {
326
+ "args": [
327
+ {
328
+ "label": "owner",
329
+ "type": {
330
+ "displayName": [
331
+ "psp34_external",
332
+ "BalanceOfInput1"
333
+ ],
334
+ "type": 0
335
+ }
336
+ }
337
+ ],
338
+ "default": false,
339
+ "docs": [],
340
+ "label": "PSP34::balance_of",
341
+ "mutates": false,
342
+ "payable": false,
343
+ "returnType": {
344
+ "displayName": [
345
+ "ink",
346
+ "MessageResult"
347
+ ],
348
+ "type": 22
349
+ },
350
+ "selector": "0xcde7e55f"
351
+ },
352
+ {
353
+ "args": [
354
+ {
355
+ "label": "id",
356
+ "type": {
357
+ "displayName": [
358
+ "psp34_external",
359
+ "OwnerOfInput1"
360
+ ],
361
+ "type": 17
362
+ }
363
+ }
364
+ ],
365
+ "default": false,
366
+ "docs": [],
367
+ "label": "PSP34::owner_of",
368
+ "mutates": false,
369
+ "payable": false,
370
+ "returnType": {
371
+ "displayName": [
372
+ "ink",
373
+ "MessageResult"
374
+ ],
375
+ "type": 23
376
+ },
377
+ "selector": "0x1168624d"
378
+ },
379
+ {
380
+ "args": [],
381
+ "default": false,
382
+ "docs": [],
383
+ "label": "Ownable::owner",
384
+ "mutates": false,
385
+ "payable": false,
386
+ "returnType": {
387
+ "displayName": [
388
+ "ink",
389
+ "MessageResult"
390
+ ],
391
+ "type": 23
392
+ },
393
+ "selector": "0x4fa43c8c"
394
+ },
395
+ {
396
+ "args": [],
397
+ "default": false,
398
+ "docs": [],
399
+ "label": "Ownable::renounce_ownership",
400
+ "mutates": true,
401
+ "payable": false,
402
+ "returnType": {
403
+ "displayName": [
404
+ "ink",
405
+ "MessageResult"
406
+ ],
407
+ "type": 25
408
+ },
409
+ "selector": "0x5e228753"
410
+ },
411
+ {
412
+ "args": [
413
+ {
414
+ "label": "new_owner",
415
+ "type": {
416
+ "displayName": [
417
+ "ownable_external",
418
+ "TransferOwnershipInput1"
419
+ ],
420
+ "type": 0
421
+ }
422
+ }
423
+ ],
424
+ "default": false,
425
+ "docs": [],
426
+ "label": "Ownable::transfer_ownership",
427
+ "mutates": true,
428
+ "payable": false,
429
+ "returnType": {
430
+ "displayName": [
431
+ "ink",
432
+ "MessageResult"
433
+ ],
434
+ "type": 25
435
+ },
436
+ "selector": "0x11f43efd"
437
+ },
438
+ {
439
+ "args": [
440
+ {
441
+ "label": "owner",
442
+ "type": {
443
+ "displayName": [
444
+ "psp34enumerable_external",
445
+ "OwnersTokenByIndexInput1"
446
+ ],
447
+ "type": 0
448
+ }
449
+ },
450
+ {
451
+ "label": "index",
452
+ "type": {
453
+ "displayName": [
454
+ "psp34enumerable_external",
455
+ "OwnersTokenByIndexInput2"
456
+ ],
457
+ "type": 5
458
+ }
459
+ }
460
+ ],
461
+ "default": false,
462
+ "docs": [],
463
+ "label": "PSP34Enumerable::owners_token_by_index",
464
+ "mutates": false,
465
+ "payable": false,
466
+ "returnType": {
467
+ "displayName": [
468
+ "ink",
469
+ "MessageResult"
470
+ ],
471
+ "type": 28
472
+ },
473
+ "selector": "0x3bcfb511"
474
+ },
475
+ {
476
+ "args": [
477
+ {
478
+ "label": "index",
479
+ "type": {
480
+ "displayName": [
481
+ "psp34enumerable_external",
482
+ "TokenByIndexInput1"
483
+ ],
484
+ "type": 5
485
+ }
486
+ }
487
+ ],
488
+ "default": false,
489
+ "docs": [],
490
+ "label": "PSP34Enumerable::token_by_index",
491
+ "mutates": false,
492
+ "payable": false,
493
+ "returnType": {
494
+ "displayName": [
495
+ "ink",
496
+ "MessageResult"
497
+ ],
498
+ "type": 28
499
+ },
500
+ "selector": "0xcd0340d0"
501
+ },
502
+ {
503
+ "args": [
504
+ {
505
+ "label": "id",
506
+ "type": {
507
+ "displayName": [
508
+ "psp34metadata_external",
509
+ "GetAttributeInput1"
510
+ ],
511
+ "type": 17
512
+ }
513
+ },
514
+ {
515
+ "label": "key",
516
+ "type": {
517
+ "displayName": [
518
+ "psp34metadata_external",
519
+ "GetAttributeInput2"
520
+ ],
521
+ "type": 6
522
+ }
523
+ }
524
+ ],
525
+ "default": false,
526
+ "docs": [],
527
+ "label": "PSP34Metadata::get_attribute",
528
+ "mutates": false,
529
+ "payable": false,
530
+ "returnType": {
531
+ "displayName": [
532
+ "ink",
533
+ "MessageResult"
534
+ ],
535
+ "type": 30
536
+ },
537
+ "selector": "0xf19d48d1"
538
+ },
539
+ {
540
+ "args": [
541
+ {
542
+ "label": "account",
543
+ "type": {
544
+ "displayName": [
545
+ "psp34mintable_external",
546
+ "MintInput1"
547
+ ],
548
+ "type": 0
549
+ }
550
+ },
551
+ {
552
+ "label": "id",
553
+ "type": {
554
+ "displayName": [
555
+ "psp34mintable_external",
556
+ "MintInput2"
557
+ ],
558
+ "type": 17
559
+ }
560
+ }
561
+ ],
562
+ "default": false,
563
+ "docs": [],
564
+ "label": "PSP34Mintable::mint",
565
+ "mutates": true,
566
+ "payable": false,
567
+ "returnType": {
568
+ "displayName": [
569
+ "ink",
570
+ "MessageResult"
571
+ ],
572
+ "type": 12
573
+ },
574
+ "selector": "0x6c41f2ec"
575
+ }
576
+ ]
577
+ },
578
+ "storage": {
579
+ "root": {
580
+ "layout": {
581
+ "struct": {
582
+ "fields": [
583
+ {
584
+ "layout": {
585
+ "struct": {
586
+ "fields": [
587
+ {
588
+ "layout": {
589
+ "root": {
590
+ "layout": {
591
+ "leaf": {
592
+ "key": "0x252d8eda",
593
+ "ty": 0
594
+ }
595
+ },
596
+ "root_key": "0x252d8eda"
597
+ }
598
+ },
599
+ "name": "token_owner"
600
+ },
601
+ {
602
+ "layout": {
603
+ "root": {
604
+ "layout": {
605
+ "leaf": {
606
+ "key": "0xcb1393da",
607
+ "ty": 3
608
+ }
609
+ },
610
+ "root_key": "0xcb1393da"
611
+ }
612
+ },
613
+ "name": "operator_approvals"
614
+ },
615
+ {
616
+ "layout": {
617
+ "root": {
618
+ "layout": {
619
+ "leaf": {
620
+ "key": "0xf957bbd8",
621
+ "ty": 4
622
+ }
623
+ },
624
+ "root_key": "0xf957bbd8"
625
+ }
626
+ },
627
+ "name": "owned_tokens_count"
628
+ },
629
+ {
630
+ "layout": {
631
+ "root": {
632
+ "layout": {
633
+ "leaf": {
634
+ "key": "0xe3d7d04e",
635
+ "ty": 5
636
+ }
637
+ },
638
+ "root_key": "0xe3d7d04e"
639
+ }
640
+ },
641
+ "name": "total_supply"
642
+ }
643
+ ],
644
+ "name": "Data"
645
+ }
646
+ },
647
+ "name": "psp34"
648
+ },
649
+ {
650
+ "layout": {
651
+ "struct": {
652
+ "fields": [
653
+ {
654
+ "layout": {
655
+ "root": {
656
+ "layout": {
657
+ "enum": {
658
+ "dispatchKey": "0x6f713913",
659
+ "name": "Option",
660
+ "variants": {
661
+ "0": {
662
+ "fields": [],
663
+ "name": "None"
664
+ },
665
+ "1": {
666
+ "fields": [
667
+ {
668
+ "layout": {
669
+ "leaf": {
670
+ "key": "0x6f713913",
671
+ "ty": 0
672
+ }
673
+ },
674
+ "name": "0"
675
+ }
676
+ ],
677
+ "name": "Some"
678
+ }
679
+ }
680
+ }
681
+ },
682
+ "root_key": "0x6f713913"
683
+ }
684
+ },
685
+ "name": "owner"
686
+ }
687
+ ],
688
+ "name": "Data"
689
+ }
690
+ },
691
+ "name": "ownable"
692
+ },
693
+ {
694
+ "layout": {
695
+ "struct": {
696
+ "fields": [
697
+ {
698
+ "layout": {
699
+ "root": {
700
+ "layout": {
701
+ "leaf": {
702
+ "key": "0xdc803caf",
703
+ "ty": 6
704
+ }
705
+ },
706
+ "root_key": "0xdc803caf"
707
+ }
708
+ },
709
+ "name": "attributes"
710
+ }
711
+ ],
712
+ "name": "Data"
713
+ }
714
+ },
715
+ "name": "metadata"
716
+ },
717
+ {
718
+ "layout": {
719
+ "struct": {
720
+ "fields": [
721
+ {
722
+ "layout": {
723
+ "root": {
724
+ "layout": {
725
+ "leaf": {
726
+ "key": "0x2d2b79f3",
727
+ "ty": 0
728
+ }
729
+ },
730
+ "root_key": "0x2d2b79f3"
731
+ }
732
+ },
733
+ "name": "token_owner"
734
+ },
735
+ {
736
+ "layout": {
737
+ "root": {
738
+ "layout": {
739
+ "leaf": {
740
+ "key": "0x5b0030d8",
741
+ "ty": 3
742
+ }
743
+ },
744
+ "root_key": "0x5b0030d8"
745
+ }
746
+ },
747
+ "name": "operator_approvals"
748
+ },
749
+ {
750
+ "layout": {
751
+ "root": {
752
+ "layout": {
753
+ "enum": {
754
+ "dispatchKey": "0x1bd7db1e",
755
+ "name": "Id",
756
+ "variants": {
757
+ "0": {
758
+ "fields": [
759
+ {
760
+ "layout": {
761
+ "leaf": {
762
+ "key": "0x1bd7db1e",
763
+ "ty": 2
764
+ }
765
+ },
766
+ "name": "0"
767
+ }
768
+ ],
769
+ "name": "U8"
770
+ },
771
+ "1": {
772
+ "fields": [
773
+ {
774
+ "layout": {
775
+ "leaf": {
776
+ "key": "0x1bd7db1e",
777
+ "ty": 7
778
+ }
779
+ },
780
+ "name": "0"
781
+ }
782
+ ],
783
+ "name": "U16"
784
+ },
785
+ "2": {
786
+ "fields": [
787
+ {
788
+ "layout": {
789
+ "leaf": {
790
+ "key": "0x1bd7db1e",
791
+ "ty": 4
792
+ }
793
+ },
794
+ "name": "0"
795
+ }
796
+ ],
797
+ "name": "U32"
798
+ },
799
+ "3": {
800
+ "fields": [
801
+ {
802
+ "layout": {
803
+ "leaf": {
804
+ "key": "0x1bd7db1e",
805
+ "ty": 8
806
+ }
807
+ },
808
+ "name": "0"
809
+ }
810
+ ],
811
+ "name": "U64"
812
+ },
813
+ "4": {
814
+ "fields": [
815
+ {
816
+ "layout": {
817
+ "leaf": {
818
+ "key": "0x1bd7db1e",
819
+ "ty": 5
820
+ }
821
+ },
822
+ "name": "0"
823
+ }
824
+ ],
825
+ "name": "U128"
826
+ },
827
+ "5": {
828
+ "fields": [
829
+ {
830
+ "layout": {
831
+ "leaf": {
832
+ "key": "0x1bd7db1e",
833
+ "ty": 9
834
+ }
835
+ },
836
+ "name": "0"
837
+ }
838
+ ],
839
+ "name": "Bytes"
840
+ }
841
+ }
842
+ }
843
+ },
844
+ "root_key": "0x1bd7db1e"
845
+ }
846
+ },
847
+ "name": "balances"
848
+ }
849
+ ],
850
+ "name": "Data"
851
+ }
852
+ },
853
+ "name": "enumerable"
854
+ }
855
+ ],
856
+ "name": "NeuroGuns"
857
+ }
858
+ },
859
+ "root_key": "0x00000000"
860
+ }
861
+ },
862
+ "types": [
863
+ {
864
+ "id": 0,
865
+ "type": {
866
+ "def": {
867
+ "composite": {
868
+ "fields": [
869
+ {
870
+ "type": 1,
871
+ "typeName": "[u8; 32]"
872
+ }
873
+ ]
874
+ }
875
+ },
876
+ "path": [
877
+ "ink_primitives",
878
+ "types",
879
+ "AccountId"
880
+ ]
881
+ }
882
+ },
883
+ {
884
+ "id": 1,
885
+ "type": {
886
+ "def": {
887
+ "array": {
888
+ "len": 32,
889
+ "type": 2
890
+ }
891
+ }
892
+ }
893
+ },
894
+ {
895
+ "id": 2,
896
+ "type": {
897
+ "def": {
898
+ "primitive": "u8"
899
+ }
900
+ }
901
+ },
902
+ {
903
+ "id": 3,
904
+ "type": {
905
+ "def": {
906
+ "tuple": []
907
+ }
908
+ }
909
+ },
910
+ {
911
+ "id": 4,
912
+ "type": {
913
+ "def": {
914
+ "primitive": "u32"
915
+ }
916
+ }
917
+ },
918
+ {
919
+ "id": 5,
920
+ "type": {
921
+ "def": {
922
+ "primitive": "u128"
923
+ }
924
+ }
925
+ },
926
+ {
927
+ "id": 6,
928
+ "type": {
929
+ "def": {
930
+ "primitive": "str"
931
+ }
932
+ }
933
+ },
934
+ {
935
+ "id": 7,
936
+ "type": {
937
+ "def": {
938
+ "primitive": "u16"
939
+ }
940
+ }
941
+ },
942
+ {
943
+ "id": 8,
944
+ "type": {
945
+ "def": {
946
+ "primitive": "u64"
947
+ }
948
+ }
949
+ },
950
+ {
951
+ "id": 9,
952
+ "type": {
953
+ "def": {
954
+ "sequence": {
955
+ "type": 2
956
+ }
957
+ }
958
+ }
959
+ },
960
+ {
961
+ "id": 10,
962
+ "type": {
963
+ "def": {
964
+ "variant": {
965
+ "variants": [
966
+ {
967
+ "fields": [
968
+ {
969
+ "type": 3
970
+ }
971
+ ],
972
+ "index": 0,
973
+ "name": "Ok"
974
+ },
975
+ {
976
+ "fields": [
977
+ {
978
+ "type": 11
979
+ }
980
+ ],
981
+ "index": 1,
982
+ "name": "Err"
983
+ }
984
+ ]
985
+ }
986
+ },
987
+ "params": [
988
+ {
989
+ "name": "T",
990
+ "type": 3
991
+ },
992
+ {
993
+ "name": "E",
994
+ "type": 11
995
+ }
996
+ ],
997
+ "path": [
998
+ "Result"
999
+ ]
1000
+ }
1001
+ },
1002
+ {
1003
+ "id": 11,
1004
+ "type": {
1005
+ "def": {
1006
+ "variant": {
1007
+ "variants": [
1008
+ {
1009
+ "index": 1,
1010
+ "name": "CouldNotReadInput"
1011
+ }
1012
+ ]
1013
+ }
1014
+ },
1015
+ "path": [
1016
+ "ink_primitives",
1017
+ "LangError"
1018
+ ]
1019
+ }
1020
+ },
1021
+ {
1022
+ "id": 12,
1023
+ "type": {
1024
+ "def": {
1025
+ "variant": {
1026
+ "variants": [
1027
+ {
1028
+ "fields": [
1029
+ {
1030
+ "type": 13
1031
+ }
1032
+ ],
1033
+ "index": 0,
1034
+ "name": "Ok"
1035
+ },
1036
+ {
1037
+ "fields": [
1038
+ {
1039
+ "type": 11
1040
+ }
1041
+ ],
1042
+ "index": 1,
1043
+ "name": "Err"
1044
+ }
1045
+ ]
1046
+ }
1047
+ },
1048
+ "params": [
1049
+ {
1050
+ "name": "T",
1051
+ "type": 13
1052
+ },
1053
+ {
1054
+ "name": "E",
1055
+ "type": 11
1056
+ }
1057
+ ],
1058
+ "path": [
1059
+ "Result"
1060
+ ]
1061
+ }
1062
+ },
1063
+ {
1064
+ "id": 13,
1065
+ "type": {
1066
+ "def": {
1067
+ "variant": {
1068
+ "variants": [
1069
+ {
1070
+ "fields": [
1071
+ {
1072
+ "type": 3
1073
+ }
1074
+ ],
1075
+ "index": 0,
1076
+ "name": "Ok"
1077
+ },
1078
+ {
1079
+ "fields": [
1080
+ {
1081
+ "type": 14
1082
+ }
1083
+ ],
1084
+ "index": 1,
1085
+ "name": "Err"
1086
+ }
1087
+ ]
1088
+ }
1089
+ },
1090
+ "params": [
1091
+ {
1092
+ "name": "T",
1093
+ "type": 3
1094
+ },
1095
+ {
1096
+ "name": "E",
1097
+ "type": 14
1098
+ }
1099
+ ],
1100
+ "path": [
1101
+ "Result"
1102
+ ]
1103
+ }
1104
+ },
1105
+ {
1106
+ "id": 14,
1107
+ "type": {
1108
+ "def": {
1109
+ "variant": {
1110
+ "variants": [
1111
+ {
1112
+ "fields": [
1113
+ {
1114
+ "type": 6,
1115
+ "typeName": "String"
1116
+ }
1117
+ ],
1118
+ "index": 0,
1119
+ "name": "Custom"
1120
+ },
1121
+ {
1122
+ "index": 1,
1123
+ "name": "SelfApprove"
1124
+ },
1125
+ {
1126
+ "index": 2,
1127
+ "name": "NotApproved"
1128
+ },
1129
+ {
1130
+ "index": 3,
1131
+ "name": "TokenExists"
1132
+ },
1133
+ {
1134
+ "index": 4,
1135
+ "name": "TokenNotExists"
1136
+ },
1137
+ {
1138
+ "fields": [
1139
+ {
1140
+ "type": 6,
1141
+ "typeName": "String"
1142
+ }
1143
+ ],
1144
+ "index": 5,
1145
+ "name": "SafeTransferCheckFailed"
1146
+ }
1147
+ ]
1148
+ }
1149
+ },
1150
+ "path": [
1151
+ "openbrush_contracts",
1152
+ "traits",
1153
+ "errors",
1154
+ "psp34",
1155
+ "PSP34Error"
1156
+ ]
1157
+ }
1158
+ },
1159
+ {
1160
+ "id": 15,
1161
+ "type": {
1162
+ "def": {
1163
+ "variant": {
1164
+ "variants": [
1165
+ {
1166
+ "fields": [
1167
+ {
1168
+ "type": 6
1169
+ }
1170
+ ],
1171
+ "index": 0,
1172
+ "name": "Ok"
1173
+ },
1174
+ {
1175
+ "fields": [
1176
+ {
1177
+ "type": 11
1178
+ }
1179
+ ],
1180
+ "index": 1,
1181
+ "name": "Err"
1182
+ }
1183
+ ]
1184
+ }
1185
+ },
1186
+ "params": [
1187
+ {
1188
+ "name": "T",
1189
+ "type": 6
1190
+ },
1191
+ {
1192
+ "name": "E",
1193
+ "type": 11
1194
+ }
1195
+ ],
1196
+ "path": [
1197
+ "Result"
1198
+ ]
1199
+ }
1200
+ },
1201
+ {
1202
+ "id": 16,
1203
+ "type": {
1204
+ "def": {
1205
+ "variant": {
1206
+ "variants": [
1207
+ {
1208
+ "index": 0,
1209
+ "name": "None"
1210
+ },
1211
+ {
1212
+ "fields": [
1213
+ {
1214
+ "type": 17
1215
+ }
1216
+ ],
1217
+ "index": 1,
1218
+ "name": "Some"
1219
+ }
1220
+ ]
1221
+ }
1222
+ },
1223
+ "params": [
1224
+ {
1225
+ "name": "T",
1226
+ "type": 17
1227
+ }
1228
+ ],
1229
+ "path": [
1230
+ "Option"
1231
+ ]
1232
+ }
1233
+ },
1234
+ {
1235
+ "id": 17,
1236
+ "type": {
1237
+ "def": {
1238
+ "variant": {
1239
+ "variants": [
1240
+ {
1241
+ "fields": [
1242
+ {
1243
+ "type": 2,
1244
+ "typeName": "u8"
1245
+ }
1246
+ ],
1247
+ "index": 0,
1248
+ "name": "U8"
1249
+ },
1250
+ {
1251
+ "fields": [
1252
+ {
1253
+ "type": 7,
1254
+ "typeName": "u16"
1255
+ }
1256
+ ],
1257
+ "index": 1,
1258
+ "name": "U16"
1259
+ },
1260
+ {
1261
+ "fields": [
1262
+ {
1263
+ "type": 4,
1264
+ "typeName": "u32"
1265
+ }
1266
+ ],
1267
+ "index": 2,
1268
+ "name": "U32"
1269
+ },
1270
+ {
1271
+ "fields": [
1272
+ {
1273
+ "type": 8,
1274
+ "typeName": "u64"
1275
+ }
1276
+ ],
1277
+ "index": 3,
1278
+ "name": "U64"
1279
+ },
1280
+ {
1281
+ "fields": [
1282
+ {
1283
+ "type": 5,
1284
+ "typeName": "u128"
1285
+ }
1286
+ ],
1287
+ "index": 4,
1288
+ "name": "U128"
1289
+ },
1290
+ {
1291
+ "fields": [
1292
+ {
1293
+ "type": 9,
1294
+ "typeName": "Vec<u8>"
1295
+ }
1296
+ ],
1297
+ "index": 5,
1298
+ "name": "Bytes"
1299
+ }
1300
+ ]
1301
+ }
1302
+ },
1303
+ "path": [
1304
+ "openbrush_contracts",
1305
+ "traits",
1306
+ "types",
1307
+ "Id"
1308
+ ]
1309
+ }
1310
+ },
1311
+ {
1312
+ "id": 18,
1313
+ "type": {
1314
+ "def": {
1315
+ "primitive": "bool"
1316
+ }
1317
+ }
1318
+ },
1319
+ {
1320
+ "id": 19,
1321
+ "type": {
1322
+ "def": {
1323
+ "variant": {
1324
+ "variants": [
1325
+ {
1326
+ "fields": [
1327
+ {
1328
+ "type": 18
1329
+ }
1330
+ ],
1331
+ "index": 0,
1332
+ "name": "Ok"
1333
+ },
1334
+ {
1335
+ "fields": [
1336
+ {
1337
+ "type": 11
1338
+ }
1339
+ ],
1340
+ "index": 1,
1341
+ "name": "Err"
1342
+ }
1343
+ ]
1344
+ }
1345
+ },
1346
+ "params": [
1347
+ {
1348
+ "name": "T",
1349
+ "type": 18
1350
+ },
1351
+ {
1352
+ "name": "E",
1353
+ "type": 11
1354
+ }
1355
+ ],
1356
+ "path": [
1357
+ "Result"
1358
+ ]
1359
+ }
1360
+ },
1361
+ {
1362
+ "id": 20,
1363
+ "type": {
1364
+ "def": {
1365
+ "variant": {
1366
+ "variants": [
1367
+ {
1368
+ "fields": [
1369
+ {
1370
+ "type": 17
1371
+ }
1372
+ ],
1373
+ "index": 0,
1374
+ "name": "Ok"
1375
+ },
1376
+ {
1377
+ "fields": [
1378
+ {
1379
+ "type": 11
1380
+ }
1381
+ ],
1382
+ "index": 1,
1383
+ "name": "Err"
1384
+ }
1385
+ ]
1386
+ }
1387
+ },
1388
+ "params": [
1389
+ {
1390
+ "name": "T",
1391
+ "type": 17
1392
+ },
1393
+ {
1394
+ "name": "E",
1395
+ "type": 11
1396
+ }
1397
+ ],
1398
+ "path": [
1399
+ "Result"
1400
+ ]
1401
+ }
1402
+ },
1403
+ {
1404
+ "id": 21,
1405
+ "type": {
1406
+ "def": {
1407
+ "variant": {
1408
+ "variants": [
1409
+ {
1410
+ "fields": [
1411
+ {
1412
+ "type": 5
1413
+ }
1414
+ ],
1415
+ "index": 0,
1416
+ "name": "Ok"
1417
+ },
1418
+ {
1419
+ "fields": [
1420
+ {
1421
+ "type": 11
1422
+ }
1423
+ ],
1424
+ "index": 1,
1425
+ "name": "Err"
1426
+ }
1427
+ ]
1428
+ }
1429
+ },
1430
+ "params": [
1431
+ {
1432
+ "name": "T",
1433
+ "type": 5
1434
+ },
1435
+ {
1436
+ "name": "E",
1437
+ "type": 11
1438
+ }
1439
+ ],
1440
+ "path": [
1441
+ "Result"
1442
+ ]
1443
+ }
1444
+ },
1445
+ {
1446
+ "id": 22,
1447
+ "type": {
1448
+ "def": {
1449
+ "variant": {
1450
+ "variants": [
1451
+ {
1452
+ "fields": [
1453
+ {
1454
+ "type": 4
1455
+ }
1456
+ ],
1457
+ "index": 0,
1458
+ "name": "Ok"
1459
+ },
1460
+ {
1461
+ "fields": [
1462
+ {
1463
+ "type": 11
1464
+ }
1465
+ ],
1466
+ "index": 1,
1467
+ "name": "Err"
1468
+ }
1469
+ ]
1470
+ }
1471
+ },
1472
+ "params": [
1473
+ {
1474
+ "name": "T",
1475
+ "type": 4
1476
+ },
1477
+ {
1478
+ "name": "E",
1479
+ "type": 11
1480
+ }
1481
+ ],
1482
+ "path": [
1483
+ "Result"
1484
+ ]
1485
+ }
1486
+ },
1487
+ {
1488
+ "id": 23,
1489
+ "type": {
1490
+ "def": {
1491
+ "variant": {
1492
+ "variants": [
1493
+ {
1494
+ "fields": [
1495
+ {
1496
+ "type": 24
1497
+ }
1498
+ ],
1499
+ "index": 0,
1500
+ "name": "Ok"
1501
+ },
1502
+ {
1503
+ "fields": [
1504
+ {
1505
+ "type": 11
1506
+ }
1507
+ ],
1508
+ "index": 1,
1509
+ "name": "Err"
1510
+ }
1511
+ ]
1512
+ }
1513
+ },
1514
+ "params": [
1515
+ {
1516
+ "name": "T",
1517
+ "type": 24
1518
+ },
1519
+ {
1520
+ "name": "E",
1521
+ "type": 11
1522
+ }
1523
+ ],
1524
+ "path": [
1525
+ "Result"
1526
+ ]
1527
+ }
1528
+ },
1529
+ {
1530
+ "id": 24,
1531
+ "type": {
1532
+ "def": {
1533
+ "variant": {
1534
+ "variants": [
1535
+ {
1536
+ "index": 0,
1537
+ "name": "None"
1538
+ },
1539
+ {
1540
+ "fields": [
1541
+ {
1542
+ "type": 0
1543
+ }
1544
+ ],
1545
+ "index": 1,
1546
+ "name": "Some"
1547
+ }
1548
+ ]
1549
+ }
1550
+ },
1551
+ "params": [
1552
+ {
1553
+ "name": "T",
1554
+ "type": 0
1555
+ }
1556
+ ],
1557
+ "path": [
1558
+ "Option"
1559
+ ]
1560
+ }
1561
+ },
1562
+ {
1563
+ "id": 25,
1564
+ "type": {
1565
+ "def": {
1566
+ "variant": {
1567
+ "variants": [
1568
+ {
1569
+ "fields": [
1570
+ {
1571
+ "type": 26
1572
+ }
1573
+ ],
1574
+ "index": 0,
1575
+ "name": "Ok"
1576
+ },
1577
+ {
1578
+ "fields": [
1579
+ {
1580
+ "type": 11
1581
+ }
1582
+ ],
1583
+ "index": 1,
1584
+ "name": "Err"
1585
+ }
1586
+ ]
1587
+ }
1588
+ },
1589
+ "params": [
1590
+ {
1591
+ "name": "T",
1592
+ "type": 26
1593
+ },
1594
+ {
1595
+ "name": "E",
1596
+ "type": 11
1597
+ }
1598
+ ],
1599
+ "path": [
1600
+ "Result"
1601
+ ]
1602
+ }
1603
+ },
1604
+ {
1605
+ "id": 26,
1606
+ "type": {
1607
+ "def": {
1608
+ "variant": {
1609
+ "variants": [
1610
+ {
1611
+ "fields": [
1612
+ {
1613
+ "type": 3
1614
+ }
1615
+ ],
1616
+ "index": 0,
1617
+ "name": "Ok"
1618
+ },
1619
+ {
1620
+ "fields": [
1621
+ {
1622
+ "type": 27
1623
+ }
1624
+ ],
1625
+ "index": 1,
1626
+ "name": "Err"
1627
+ }
1628
+ ]
1629
+ }
1630
+ },
1631
+ "params": [
1632
+ {
1633
+ "name": "T",
1634
+ "type": 3
1635
+ },
1636
+ {
1637
+ "name": "E",
1638
+ "type": 27
1639
+ }
1640
+ ],
1641
+ "path": [
1642
+ "Result"
1643
+ ]
1644
+ }
1645
+ },
1646
+ {
1647
+ "id": 27,
1648
+ "type": {
1649
+ "def": {
1650
+ "variant": {
1651
+ "variants": [
1652
+ {
1653
+ "index": 0,
1654
+ "name": "CallerIsNotOwner"
1655
+ },
1656
+ {
1657
+ "index": 1,
1658
+ "name": "NewOwnerIsZero"
1659
+ }
1660
+ ]
1661
+ }
1662
+ },
1663
+ "path": [
1664
+ "openbrush_contracts",
1665
+ "traits",
1666
+ "errors",
1667
+ "ownable",
1668
+ "OwnableError"
1669
+ ]
1670
+ }
1671
+ },
1672
+ {
1673
+ "id": 28,
1674
+ "type": {
1675
+ "def": {
1676
+ "variant": {
1677
+ "variants": [
1678
+ {
1679
+ "fields": [
1680
+ {
1681
+ "type": 29
1682
+ }
1683
+ ],
1684
+ "index": 0,
1685
+ "name": "Ok"
1686
+ },
1687
+ {
1688
+ "fields": [
1689
+ {
1690
+ "type": 11
1691
+ }
1692
+ ],
1693
+ "index": 1,
1694
+ "name": "Err"
1695
+ }
1696
+ ]
1697
+ }
1698
+ },
1699
+ "params": [
1700
+ {
1701
+ "name": "T",
1702
+ "type": 29
1703
+ },
1704
+ {
1705
+ "name": "E",
1706
+ "type": 11
1707
+ }
1708
+ ],
1709
+ "path": [
1710
+ "Result"
1711
+ ]
1712
+ }
1713
+ },
1714
+ {
1715
+ "id": 29,
1716
+ "type": {
1717
+ "def": {
1718
+ "variant": {
1719
+ "variants": [
1720
+ {
1721
+ "fields": [
1722
+ {
1723
+ "type": 17
1724
+ }
1725
+ ],
1726
+ "index": 0,
1727
+ "name": "Ok"
1728
+ },
1729
+ {
1730
+ "fields": [
1731
+ {
1732
+ "type": 14
1733
+ }
1734
+ ],
1735
+ "index": 1,
1736
+ "name": "Err"
1737
+ }
1738
+ ]
1739
+ }
1740
+ },
1741
+ "params": [
1742
+ {
1743
+ "name": "T",
1744
+ "type": 17
1745
+ },
1746
+ {
1747
+ "name": "E",
1748
+ "type": 14
1749
+ }
1750
+ ],
1751
+ "path": [
1752
+ "Result"
1753
+ ]
1754
+ }
1755
+ },
1756
+ {
1757
+ "id": 30,
1758
+ "type": {
1759
+ "def": {
1760
+ "variant": {
1761
+ "variants": [
1762
+ {
1763
+ "fields": [
1764
+ {
1765
+ "type": 31
1766
+ }
1767
+ ],
1768
+ "index": 0,
1769
+ "name": "Ok"
1770
+ },
1771
+ {
1772
+ "fields": [
1773
+ {
1774
+ "type": 11
1775
+ }
1776
+ ],
1777
+ "index": 1,
1778
+ "name": "Err"
1779
+ }
1780
+ ]
1781
+ }
1782
+ },
1783
+ "params": [
1784
+ {
1785
+ "name": "T",
1786
+ "type": 31
1787
+ },
1788
+ {
1789
+ "name": "E",
1790
+ "type": 11
1791
+ }
1792
+ ],
1793
+ "path": [
1794
+ "Result"
1795
+ ]
1796
+ }
1797
+ },
1798
+ {
1799
+ "id": 31,
1800
+ "type": {
1801
+ "def": {
1802
+ "variant": {
1803
+ "variants": [
1804
+ {
1805
+ "index": 0,
1806
+ "name": "None"
1807
+ },
1808
+ {
1809
+ "fields": [
1810
+ {
1811
+ "type": 6
1812
+ }
1813
+ ],
1814
+ "index": 1,
1815
+ "name": "Some"
1816
+ }
1817
+ ]
1818
+ }
1819
+ },
1820
+ "params": [
1821
+ {
1822
+ "name": "T",
1823
+ "type": 6
1824
+ }
1825
+ ],
1826
+ "path": [
1827
+ "Option"
1828
+ ]
1829
+ }
1830
+ },
1831
+ {
1832
+ "id": 32,
1833
+ "type": {
1834
+ "def": {
1835
+ "composite": {
1836
+ "fields": [
1837
+ {
1838
+ "type": 1,
1839
+ "typeName": "[u8; 32]"
1840
+ }
1841
+ ]
1842
+ }
1843
+ },
1844
+ "path": [
1845
+ "ink_primitives",
1846
+ "types",
1847
+ "Hash"
1848
+ ]
1849
+ }
1850
+ },
1851
+ {
1852
+ "id": 33,
1853
+ "type": {
1854
+ "def": {
1855
+ "variant": {}
1856
+ },
1857
+ "path": [
1858
+ "ink_env",
1859
+ "types",
1860
+ "NoChainExtension"
1861
+ ]
1862
+ }
1863
+ }
1864
+ ],
1865
+ "version": "4"
1866
+ }