@typemove/iota 1.14.0-rc.1 → 2.0.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.
Files changed (77) hide show
  1. package/package.json +3 -3
  2. package/dist/esm/builtin/0x1.d.ts +0 -733
  3. package/dist/esm/builtin/0x1.d.ts.map +0 -1
  4. package/dist/esm/builtin/0x1.js +0 -4293
  5. package/dist/esm/builtin/0x1.js.map +0 -1
  6. package/dist/esm/builtin/0x2.d.ts +0 -4607
  7. package/dist/esm/builtin/0x2.d.ts.map +0 -1
  8. package/dist/esm/builtin/0x2.js +0 -19016
  9. package/dist/esm/builtin/0x2.js.map +0 -1
  10. package/dist/esm/builtin/0x3.d.ts +0 -1901
  11. package/dist/esm/builtin/0x3.d.ts.map +0 -1
  12. package/dist/esm/builtin/0x3.js +0 -6165
  13. package/dist/esm/builtin/0x3.js.map +0 -1
  14. package/dist/esm/builtin/index.d.ts +0 -4
  15. package/dist/esm/builtin/index.d.ts.map +0 -1
  16. package/dist/esm/builtin/index.js +0 -7
  17. package/dist/esm/builtin/index.js.map +0 -1
  18. package/dist/esm/codegen/codegen.d.ts +0 -20
  19. package/dist/esm/codegen/codegen.d.ts.map +0 -1
  20. package/dist/esm/codegen/codegen.js +0 -245
  21. package/dist/esm/codegen/codegen.js.map +0 -1
  22. package/dist/esm/codegen/index.d.ts +0 -2
  23. package/dist/esm/codegen/index.d.ts.map +0 -1
  24. package/dist/esm/codegen/index.js +0 -2
  25. package/dist/esm/codegen/index.js.map +0 -1
  26. package/dist/esm/codegen/run.d.ts +0 -3
  27. package/dist/esm/codegen/run.d.ts.map +0 -1
  28. package/dist/esm/codegen/run.js.map +0 -1
  29. package/dist/esm/index.d.ts +0 -4
  30. package/dist/esm/index.d.ts.map +0 -1
  31. package/dist/esm/index.js +0 -4
  32. package/dist/esm/index.js.map +0 -1
  33. package/dist/esm/models.d.ts +0 -18
  34. package/dist/esm/models.d.ts.map +0 -1
  35. package/dist/esm/models.js +0 -2
  36. package/dist/esm/models.js.map +0 -1
  37. package/dist/esm/move-coder.d.ts +0 -26
  38. package/dist/esm/move-coder.d.ts.map +0 -1
  39. package/dist/esm/move-coder.js +0 -266
  40. package/dist/esm/move-coder.js.map +0 -1
  41. package/dist/esm/sui-chain-adapter.d.ts +0 -15
  42. package/dist/esm/sui-chain-adapter.d.ts.map +0 -1
  43. package/dist/esm/sui-chain-adapter.js +0 -84
  44. package/dist/esm/sui-chain-adapter.js.map +0 -1
  45. package/dist/esm/to-internal.d.ts +0 -4
  46. package/dist/esm/to-internal.d.ts.map +0 -1
  47. package/dist/esm/to-internal.js +0 -96
  48. package/dist/esm/to-internal.js.map +0 -1
  49. package/dist/esm/transaction.d.ts +0 -15
  50. package/dist/esm/transaction.d.ts.map +0 -1
  51. package/dist/esm/transaction.js +0 -83
  52. package/dist/esm/transaction.js.map +0 -1
  53. package/src/abis/0x1.json +0 -4213
  54. package/src/abis/0x2.json +0 -30623
  55. package/src/abis/0x3.json +0 -10691
  56. package/src/builtin/0x1.ts +0 -6065
  57. package/src/builtin/0x2.ts +0 -28181
  58. package/src/builtin/0x3.ts +0 -9666
  59. package/src/builtin/index.ts +0 -6
  60. package/src/codegen/codegen.ts +0 -288
  61. package/src/codegen/index.ts +0 -1
  62. package/src/codegen/run.ts +0 -57
  63. package/src/index.ts +0 -4
  64. package/src/models.ts +0 -21
  65. package/src/move-coder.ts +0 -316
  66. package/src/sui-chain-adapter.ts +0 -113
  67. package/src/tests/abis/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.json +0 -265
  68. package/src/tests/abis/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.json +0 -2429
  69. package/src/tests/abis/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.json +0 -1356
  70. package/src/tests/abis/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.json +0 -10060
  71. package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +0 -288
  72. package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +0 -2468
  73. package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +0 -1371
  74. package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +0 -9495
  75. package/src/tests/types/testnet/index.ts +0 -7
  76. package/src/to-internal.ts +0 -127
  77. package/src/transaction.ts +0 -127
package/src/abis/0x1.json DELETED
@@ -1,4213 +0,0 @@
1
- {
2
- "address": {
3
- "fileFormatVersion": 6,
4
- "address": "0x1",
5
- "name": "address",
6
- "friends": [],
7
- "structs": {},
8
- "exposedFunctions": {
9
- "length": {
10
- "visibility": "Public",
11
- "isEntry": false,
12
- "typeParameters": [],
13
- "parameters": [],
14
- "return": [
15
- "U64"
16
- ]
17
- }
18
- }
19
- },
20
- "ascii": {
21
- "fileFormatVersion": 6,
22
- "address": "0x1",
23
- "name": "ascii",
24
- "friends": [],
25
- "structs": {
26
- "Char": {
27
- "abilities": {
28
- "abilities": [
29
- "Copy",
30
- "Drop",
31
- "Store"
32
- ]
33
- },
34
- "typeParameters": [],
35
- "fields": [
36
- {
37
- "name": "byte",
38
- "type": "U8"
39
- }
40
- ]
41
- },
42
- "String": {
43
- "abilities": {
44
- "abilities": [
45
- "Copy",
46
- "Drop",
47
- "Store"
48
- ]
49
- },
50
- "typeParameters": [],
51
- "fields": [
52
- {
53
- "name": "bytes",
54
- "type": {
55
- "Vector": "U8"
56
- }
57
- }
58
- ]
59
- }
60
- },
61
- "exposedFunctions": {
62
- "all_characters_printable": {
63
- "visibility": "Public",
64
- "isEntry": false,
65
- "typeParameters": [],
66
- "parameters": [
67
- {
68
- "Reference": {
69
- "Struct": {
70
- "address": "0x1",
71
- "module": "ascii",
72
- "name": "String",
73
- "typeArguments": []
74
- }
75
- }
76
- }
77
- ],
78
- "return": [
79
- "Bool"
80
- ]
81
- },
82
- "append": {
83
- "visibility": "Public",
84
- "isEntry": false,
85
- "typeParameters": [],
86
- "parameters": [
87
- {
88
- "MutableReference": {
89
- "Struct": {
90
- "address": "0x1",
91
- "module": "ascii",
92
- "name": "String",
93
- "typeArguments": []
94
- }
95
- }
96
- },
97
- {
98
- "Struct": {
99
- "address": "0x1",
100
- "module": "ascii",
101
- "name": "String",
102
- "typeArguments": []
103
- }
104
- }
105
- ],
106
- "return": []
107
- },
108
- "as_bytes": {
109
- "visibility": "Public",
110
- "isEntry": false,
111
- "typeParameters": [],
112
- "parameters": [
113
- {
114
- "Reference": {
115
- "Struct": {
116
- "address": "0x1",
117
- "module": "ascii",
118
- "name": "String",
119
- "typeArguments": []
120
- }
121
- }
122
- }
123
- ],
124
- "return": [
125
- {
126
- "Reference": {
127
- "Vector": "U8"
128
- }
129
- }
130
- ]
131
- },
132
- "byte": {
133
- "visibility": "Public",
134
- "isEntry": false,
135
- "typeParameters": [],
136
- "parameters": [
137
- {
138
- "Struct": {
139
- "address": "0x1",
140
- "module": "ascii",
141
- "name": "Char",
142
- "typeArguments": []
143
- }
144
- }
145
- ],
146
- "return": [
147
- "U8"
148
- ]
149
- },
150
- "char": {
151
- "visibility": "Public",
152
- "isEntry": false,
153
- "typeParameters": [],
154
- "parameters": [
155
- "U8"
156
- ],
157
- "return": [
158
- {
159
- "Struct": {
160
- "address": "0x1",
161
- "module": "ascii",
162
- "name": "Char",
163
- "typeArguments": []
164
- }
165
- }
166
- ]
167
- },
168
- "index_of": {
169
- "visibility": "Public",
170
- "isEntry": false,
171
- "typeParameters": [],
172
- "parameters": [
173
- {
174
- "Reference": {
175
- "Struct": {
176
- "address": "0x1",
177
- "module": "ascii",
178
- "name": "String",
179
- "typeArguments": []
180
- }
181
- }
182
- },
183
- {
184
- "Reference": {
185
- "Struct": {
186
- "address": "0x1",
187
- "module": "ascii",
188
- "name": "String",
189
- "typeArguments": []
190
- }
191
- }
192
- }
193
- ],
194
- "return": [
195
- "U64"
196
- ]
197
- },
198
- "insert": {
199
- "visibility": "Public",
200
- "isEntry": false,
201
- "typeParameters": [],
202
- "parameters": [
203
- {
204
- "MutableReference": {
205
- "Struct": {
206
- "address": "0x1",
207
- "module": "ascii",
208
- "name": "String",
209
- "typeArguments": []
210
- }
211
- }
212
- },
213
- "U64",
214
- {
215
- "Struct": {
216
- "address": "0x1",
217
- "module": "ascii",
218
- "name": "String",
219
- "typeArguments": []
220
- }
221
- }
222
- ],
223
- "return": []
224
- },
225
- "into_bytes": {
226
- "visibility": "Public",
227
- "isEntry": false,
228
- "typeParameters": [],
229
- "parameters": [
230
- {
231
- "Struct": {
232
- "address": "0x1",
233
- "module": "ascii",
234
- "name": "String",
235
- "typeArguments": []
236
- }
237
- }
238
- ],
239
- "return": [
240
- {
241
- "Vector": "U8"
242
- }
243
- ]
244
- },
245
- "is_empty": {
246
- "visibility": "Public",
247
- "isEntry": false,
248
- "typeParameters": [],
249
- "parameters": [
250
- {
251
- "Reference": {
252
- "Struct": {
253
- "address": "0x1",
254
- "module": "ascii",
255
- "name": "String",
256
- "typeArguments": []
257
- }
258
- }
259
- }
260
- ],
261
- "return": [
262
- "Bool"
263
- ]
264
- },
265
- "is_printable_char": {
266
- "visibility": "Public",
267
- "isEntry": false,
268
- "typeParameters": [],
269
- "parameters": [
270
- "U8"
271
- ],
272
- "return": [
273
- "Bool"
274
- ]
275
- },
276
- "is_valid_char": {
277
- "visibility": "Public",
278
- "isEntry": false,
279
- "typeParameters": [],
280
- "parameters": [
281
- "U8"
282
- ],
283
- "return": [
284
- "Bool"
285
- ]
286
- },
287
- "length": {
288
- "visibility": "Public",
289
- "isEntry": false,
290
- "typeParameters": [],
291
- "parameters": [
292
- {
293
- "Reference": {
294
- "Struct": {
295
- "address": "0x1",
296
- "module": "ascii",
297
- "name": "String",
298
- "typeArguments": []
299
- }
300
- }
301
- }
302
- ],
303
- "return": [
304
- "U64"
305
- ]
306
- },
307
- "pop_char": {
308
- "visibility": "Public",
309
- "isEntry": false,
310
- "typeParameters": [],
311
- "parameters": [
312
- {
313
- "MutableReference": {
314
- "Struct": {
315
- "address": "0x1",
316
- "module": "ascii",
317
- "name": "String",
318
- "typeArguments": []
319
- }
320
- }
321
- }
322
- ],
323
- "return": [
324
- {
325
- "Struct": {
326
- "address": "0x1",
327
- "module": "ascii",
328
- "name": "Char",
329
- "typeArguments": []
330
- }
331
- }
332
- ]
333
- },
334
- "push_char": {
335
- "visibility": "Public",
336
- "isEntry": false,
337
- "typeParameters": [],
338
- "parameters": [
339
- {
340
- "MutableReference": {
341
- "Struct": {
342
- "address": "0x1",
343
- "module": "ascii",
344
- "name": "String",
345
- "typeArguments": []
346
- }
347
- }
348
- },
349
- {
350
- "Struct": {
351
- "address": "0x1",
352
- "module": "ascii",
353
- "name": "Char",
354
- "typeArguments": []
355
- }
356
- }
357
- ],
358
- "return": []
359
- },
360
- "string": {
361
- "visibility": "Public",
362
- "isEntry": false,
363
- "typeParameters": [],
364
- "parameters": [
365
- {
366
- "Vector": "U8"
367
- }
368
- ],
369
- "return": [
370
- {
371
- "Struct": {
372
- "address": "0x1",
373
- "module": "ascii",
374
- "name": "String",
375
- "typeArguments": []
376
- }
377
- }
378
- ]
379
- },
380
- "substring": {
381
- "visibility": "Public",
382
- "isEntry": false,
383
- "typeParameters": [],
384
- "parameters": [
385
- {
386
- "Reference": {
387
- "Struct": {
388
- "address": "0x1",
389
- "module": "ascii",
390
- "name": "String",
391
- "typeArguments": []
392
- }
393
- }
394
- },
395
- "U64",
396
- "U64"
397
- ],
398
- "return": [
399
- {
400
- "Struct": {
401
- "address": "0x1",
402
- "module": "ascii",
403
- "name": "String",
404
- "typeArguments": []
405
- }
406
- }
407
- ]
408
- },
409
- "to_lowercase": {
410
- "visibility": "Public",
411
- "isEntry": false,
412
- "typeParameters": [],
413
- "parameters": [
414
- {
415
- "Reference": {
416
- "Struct": {
417
- "address": "0x1",
418
- "module": "ascii",
419
- "name": "String",
420
- "typeArguments": []
421
- }
422
- }
423
- }
424
- ],
425
- "return": [
426
- {
427
- "Struct": {
428
- "address": "0x1",
429
- "module": "ascii",
430
- "name": "String",
431
- "typeArguments": []
432
- }
433
- }
434
- ]
435
- },
436
- "to_uppercase": {
437
- "visibility": "Public",
438
- "isEntry": false,
439
- "typeParameters": [],
440
- "parameters": [
441
- {
442
- "Reference": {
443
- "Struct": {
444
- "address": "0x1",
445
- "module": "ascii",
446
- "name": "String",
447
- "typeArguments": []
448
- }
449
- }
450
- }
451
- ],
452
- "return": [
453
- {
454
- "Struct": {
455
- "address": "0x1",
456
- "module": "ascii",
457
- "name": "String",
458
- "typeArguments": []
459
- }
460
- }
461
- ]
462
- },
463
- "try_string": {
464
- "visibility": "Public",
465
- "isEntry": false,
466
- "typeParameters": [],
467
- "parameters": [
468
- {
469
- "Vector": "U8"
470
- }
471
- ],
472
- "return": [
473
- {
474
- "Struct": {
475
- "address": "0x1",
476
- "module": "option",
477
- "name": "Option",
478
- "typeArguments": [
479
- {
480
- "Struct": {
481
- "address": "0x1",
482
- "module": "ascii",
483
- "name": "String",
484
- "typeArguments": []
485
- }
486
- }
487
- ]
488
- }
489
- }
490
- ]
491
- }
492
- }
493
- },
494
- "bcs": {
495
- "fileFormatVersion": 6,
496
- "address": "0x1",
497
- "name": "bcs",
498
- "friends": [],
499
- "structs": {},
500
- "exposedFunctions": {
501
- "to_bytes": {
502
- "visibility": "Public",
503
- "isEntry": false,
504
- "typeParameters": [
505
- {
506
- "abilities": []
507
- }
508
- ],
509
- "parameters": [
510
- {
511
- "Reference": {
512
- "TypeParameter": 0
513
- }
514
- }
515
- ],
516
- "return": [
517
- {
518
- "Vector": "U8"
519
- }
520
- ]
521
- }
522
- }
523
- },
524
- "bit_vector": {
525
- "fileFormatVersion": 6,
526
- "address": "0x1",
527
- "name": "bit_vector",
528
- "friends": [],
529
- "structs": {
530
- "BitVector": {
531
- "abilities": {
532
- "abilities": [
533
- "Copy",
534
- "Drop",
535
- "Store"
536
- ]
537
- },
538
- "typeParameters": [],
539
- "fields": [
540
- {
541
- "name": "length",
542
- "type": "U64"
543
- },
544
- {
545
- "name": "bit_field",
546
- "type": {
547
- "Vector": "Bool"
548
- }
549
- }
550
- ]
551
- }
552
- },
553
- "exposedFunctions": {
554
- "is_index_set": {
555
- "visibility": "Public",
556
- "isEntry": false,
557
- "typeParameters": [],
558
- "parameters": [
559
- {
560
- "Reference": {
561
- "Struct": {
562
- "address": "0x1",
563
- "module": "bit_vector",
564
- "name": "BitVector",
565
- "typeArguments": []
566
- }
567
- }
568
- },
569
- "U64"
570
- ],
571
- "return": [
572
- "Bool"
573
- ]
574
- },
575
- "length": {
576
- "visibility": "Public",
577
- "isEntry": false,
578
- "typeParameters": [],
579
- "parameters": [
580
- {
581
- "Reference": {
582
- "Struct": {
583
- "address": "0x1",
584
- "module": "bit_vector",
585
- "name": "BitVector",
586
- "typeArguments": []
587
- }
588
- }
589
- }
590
- ],
591
- "return": [
592
- "U64"
593
- ]
594
- },
595
- "longest_set_sequence_starting_at": {
596
- "visibility": "Public",
597
- "isEntry": false,
598
- "typeParameters": [],
599
- "parameters": [
600
- {
601
- "Reference": {
602
- "Struct": {
603
- "address": "0x1",
604
- "module": "bit_vector",
605
- "name": "BitVector",
606
- "typeArguments": []
607
- }
608
- }
609
- },
610
- "U64"
611
- ],
612
- "return": [
613
- "U64"
614
- ]
615
- },
616
- "new": {
617
- "visibility": "Public",
618
- "isEntry": false,
619
- "typeParameters": [],
620
- "parameters": [
621
- "U64"
622
- ],
623
- "return": [
624
- {
625
- "Struct": {
626
- "address": "0x1",
627
- "module": "bit_vector",
628
- "name": "BitVector",
629
- "typeArguments": []
630
- }
631
- }
632
- ]
633
- },
634
- "set": {
635
- "visibility": "Public",
636
- "isEntry": false,
637
- "typeParameters": [],
638
- "parameters": [
639
- {
640
- "MutableReference": {
641
- "Struct": {
642
- "address": "0x1",
643
- "module": "bit_vector",
644
- "name": "BitVector",
645
- "typeArguments": []
646
- }
647
- }
648
- },
649
- "U64"
650
- ],
651
- "return": []
652
- },
653
- "shift_left": {
654
- "visibility": "Public",
655
- "isEntry": false,
656
- "typeParameters": [],
657
- "parameters": [
658
- {
659
- "MutableReference": {
660
- "Struct": {
661
- "address": "0x1",
662
- "module": "bit_vector",
663
- "name": "BitVector",
664
- "typeArguments": []
665
- }
666
- }
667
- },
668
- "U64"
669
- ],
670
- "return": []
671
- },
672
- "unset": {
673
- "visibility": "Public",
674
- "isEntry": false,
675
- "typeParameters": [],
676
- "parameters": [
677
- {
678
- "MutableReference": {
679
- "Struct": {
680
- "address": "0x1",
681
- "module": "bit_vector",
682
- "name": "BitVector",
683
- "typeArguments": []
684
- }
685
- }
686
- },
687
- "U64"
688
- ],
689
- "return": []
690
- }
691
- }
692
- },
693
- "debug": {
694
- "fileFormatVersion": 6,
695
- "address": "0x1",
696
- "name": "debug",
697
- "friends": [],
698
- "structs": {},
699
- "exposedFunctions": {
700
- "print": {
701
- "visibility": "Public",
702
- "isEntry": false,
703
- "typeParameters": [
704
- {
705
- "abilities": []
706
- }
707
- ],
708
- "parameters": [
709
- {
710
- "Reference": {
711
- "TypeParameter": 0
712
- }
713
- }
714
- ],
715
- "return": []
716
- },
717
- "print_stack_trace": {
718
- "visibility": "Public",
719
- "isEntry": false,
720
- "typeParameters": [],
721
- "parameters": [],
722
- "return": []
723
- }
724
- }
725
- },
726
- "fixed_point32": {
727
- "fileFormatVersion": 6,
728
- "address": "0x1",
729
- "name": "fixed_point32",
730
- "friends": [],
731
- "structs": {
732
- "FixedPoint32": {
733
- "abilities": {
734
- "abilities": [
735
- "Copy",
736
- "Drop",
737
- "Store"
738
- ]
739
- },
740
- "typeParameters": [],
741
- "fields": [
742
- {
743
- "name": "value",
744
- "type": "U64"
745
- }
746
- ]
747
- }
748
- },
749
- "exposedFunctions": {
750
- "create_from_rational": {
751
- "visibility": "Public",
752
- "isEntry": false,
753
- "typeParameters": [],
754
- "parameters": [
755
- "U64",
756
- "U64"
757
- ],
758
- "return": [
759
- {
760
- "Struct": {
761
- "address": "0x1",
762
- "module": "fixed_point32",
763
- "name": "FixedPoint32",
764
- "typeArguments": []
765
- }
766
- }
767
- ]
768
- },
769
- "create_from_raw_value": {
770
- "visibility": "Public",
771
- "isEntry": false,
772
- "typeParameters": [],
773
- "parameters": [
774
- "U64"
775
- ],
776
- "return": [
777
- {
778
- "Struct": {
779
- "address": "0x1",
780
- "module": "fixed_point32",
781
- "name": "FixedPoint32",
782
- "typeArguments": []
783
- }
784
- }
785
- ]
786
- },
787
- "divide_u64": {
788
- "visibility": "Public",
789
- "isEntry": false,
790
- "typeParameters": [],
791
- "parameters": [
792
- "U64",
793
- {
794
- "Struct": {
795
- "address": "0x1",
796
- "module": "fixed_point32",
797
- "name": "FixedPoint32",
798
- "typeArguments": []
799
- }
800
- }
801
- ],
802
- "return": [
803
- "U64"
804
- ]
805
- },
806
- "get_raw_value": {
807
- "visibility": "Public",
808
- "isEntry": false,
809
- "typeParameters": [],
810
- "parameters": [
811
- {
812
- "Struct": {
813
- "address": "0x1",
814
- "module": "fixed_point32",
815
- "name": "FixedPoint32",
816
- "typeArguments": []
817
- }
818
- }
819
- ],
820
- "return": [
821
- "U64"
822
- ]
823
- },
824
- "is_zero": {
825
- "visibility": "Public",
826
- "isEntry": false,
827
- "typeParameters": [],
828
- "parameters": [
829
- {
830
- "Struct": {
831
- "address": "0x1",
832
- "module": "fixed_point32",
833
- "name": "FixedPoint32",
834
- "typeArguments": []
835
- }
836
- }
837
- ],
838
- "return": [
839
- "Bool"
840
- ]
841
- },
842
- "multiply_u64": {
843
- "visibility": "Public",
844
- "isEntry": false,
845
- "typeParameters": [],
846
- "parameters": [
847
- "U64",
848
- {
849
- "Struct": {
850
- "address": "0x1",
851
- "module": "fixed_point32",
852
- "name": "FixedPoint32",
853
- "typeArguments": []
854
- }
855
- }
856
- ],
857
- "return": [
858
- "U64"
859
- ]
860
- }
861
- }
862
- },
863
- "hash": {
864
- "fileFormatVersion": 6,
865
- "address": "0x1",
866
- "name": "hash",
867
- "friends": [],
868
- "structs": {},
869
- "exposedFunctions": {
870
- "sha2_256": {
871
- "visibility": "Public",
872
- "isEntry": false,
873
- "typeParameters": [],
874
- "parameters": [
875
- {
876
- "Vector": "U8"
877
- }
878
- ],
879
- "return": [
880
- {
881
- "Vector": "U8"
882
- }
883
- ]
884
- },
885
- "sha3_256": {
886
- "visibility": "Public",
887
- "isEntry": false,
888
- "typeParameters": [],
889
- "parameters": [
890
- {
891
- "Vector": "U8"
892
- }
893
- ],
894
- "return": [
895
- {
896
- "Vector": "U8"
897
- }
898
- ]
899
- }
900
- }
901
- },
902
- "macros": {
903
- "fileFormatVersion": 6,
904
- "address": "0x1",
905
- "name": "macros",
906
- "friends": [],
907
- "structs": {},
908
- "exposedFunctions": {}
909
- },
910
- "option": {
911
- "fileFormatVersion": 6,
912
- "address": "0x1",
913
- "name": "option",
914
- "friends": [],
915
- "structs": {
916
- "Option": {
917
- "abilities": {
918
- "abilities": [
919
- "Copy",
920
- "Drop",
921
- "Store"
922
- ]
923
- },
924
- "typeParameters": [
925
- {
926
- "constraints": {
927
- "abilities": []
928
- },
929
- "isPhantom": false
930
- }
931
- ],
932
- "fields": [
933
- {
934
- "name": "vec",
935
- "type": {
936
- "Vector": {
937
- "TypeParameter": 0
938
- }
939
- }
940
- }
941
- ]
942
- }
943
- },
944
- "exposedFunctions": {
945
- "borrow": {
946
- "visibility": "Public",
947
- "isEntry": false,
948
- "typeParameters": [
949
- {
950
- "abilities": []
951
- }
952
- ],
953
- "parameters": [
954
- {
955
- "Reference": {
956
- "Struct": {
957
- "address": "0x1",
958
- "module": "option",
959
- "name": "Option",
960
- "typeArguments": [
961
- {
962
- "TypeParameter": 0
963
- }
964
- ]
965
- }
966
- }
967
- }
968
- ],
969
- "return": [
970
- {
971
- "Reference": {
972
- "TypeParameter": 0
973
- }
974
- }
975
- ]
976
- },
977
- "borrow_mut": {
978
- "visibility": "Public",
979
- "isEntry": false,
980
- "typeParameters": [
981
- {
982
- "abilities": []
983
- }
984
- ],
985
- "parameters": [
986
- {
987
- "MutableReference": {
988
- "Struct": {
989
- "address": "0x1",
990
- "module": "option",
991
- "name": "Option",
992
- "typeArguments": [
993
- {
994
- "TypeParameter": 0
995
- }
996
- ]
997
- }
998
- }
999
- }
1000
- ],
1001
- "return": [
1002
- {
1003
- "MutableReference": {
1004
- "TypeParameter": 0
1005
- }
1006
- }
1007
- ]
1008
- },
1009
- "borrow_with_default": {
1010
- "visibility": "Public",
1011
- "isEntry": false,
1012
- "typeParameters": [
1013
- {
1014
- "abilities": []
1015
- }
1016
- ],
1017
- "parameters": [
1018
- {
1019
- "Reference": {
1020
- "Struct": {
1021
- "address": "0x1",
1022
- "module": "option",
1023
- "name": "Option",
1024
- "typeArguments": [
1025
- {
1026
- "TypeParameter": 0
1027
- }
1028
- ]
1029
- }
1030
- }
1031
- },
1032
- {
1033
- "Reference": {
1034
- "TypeParameter": 0
1035
- }
1036
- }
1037
- ],
1038
- "return": [
1039
- {
1040
- "Reference": {
1041
- "TypeParameter": 0
1042
- }
1043
- }
1044
- ]
1045
- },
1046
- "contains": {
1047
- "visibility": "Public",
1048
- "isEntry": false,
1049
- "typeParameters": [
1050
- {
1051
- "abilities": []
1052
- }
1053
- ],
1054
- "parameters": [
1055
- {
1056
- "Reference": {
1057
- "Struct": {
1058
- "address": "0x1",
1059
- "module": "option",
1060
- "name": "Option",
1061
- "typeArguments": [
1062
- {
1063
- "TypeParameter": 0
1064
- }
1065
- ]
1066
- }
1067
- }
1068
- },
1069
- {
1070
- "Reference": {
1071
- "TypeParameter": 0
1072
- }
1073
- }
1074
- ],
1075
- "return": [
1076
- "Bool"
1077
- ]
1078
- },
1079
- "destroy_none": {
1080
- "visibility": "Public",
1081
- "isEntry": false,
1082
- "typeParameters": [
1083
- {
1084
- "abilities": []
1085
- }
1086
- ],
1087
- "parameters": [
1088
- {
1089
- "Struct": {
1090
- "address": "0x1",
1091
- "module": "option",
1092
- "name": "Option",
1093
- "typeArguments": [
1094
- {
1095
- "TypeParameter": 0
1096
- }
1097
- ]
1098
- }
1099
- }
1100
- ],
1101
- "return": []
1102
- },
1103
- "destroy_some": {
1104
- "visibility": "Public",
1105
- "isEntry": false,
1106
- "typeParameters": [
1107
- {
1108
- "abilities": []
1109
- }
1110
- ],
1111
- "parameters": [
1112
- {
1113
- "Struct": {
1114
- "address": "0x1",
1115
- "module": "option",
1116
- "name": "Option",
1117
- "typeArguments": [
1118
- {
1119
- "TypeParameter": 0
1120
- }
1121
- ]
1122
- }
1123
- }
1124
- ],
1125
- "return": [
1126
- {
1127
- "TypeParameter": 0
1128
- }
1129
- ]
1130
- },
1131
- "destroy_with_default": {
1132
- "visibility": "Public",
1133
- "isEntry": false,
1134
- "typeParameters": [
1135
- {
1136
- "abilities": [
1137
- "Drop"
1138
- ]
1139
- }
1140
- ],
1141
- "parameters": [
1142
- {
1143
- "Struct": {
1144
- "address": "0x1",
1145
- "module": "option",
1146
- "name": "Option",
1147
- "typeArguments": [
1148
- {
1149
- "TypeParameter": 0
1150
- }
1151
- ]
1152
- }
1153
- },
1154
- {
1155
- "TypeParameter": 0
1156
- }
1157
- ],
1158
- "return": [
1159
- {
1160
- "TypeParameter": 0
1161
- }
1162
- ]
1163
- },
1164
- "extract": {
1165
- "visibility": "Public",
1166
- "isEntry": false,
1167
- "typeParameters": [
1168
- {
1169
- "abilities": []
1170
- }
1171
- ],
1172
- "parameters": [
1173
- {
1174
- "MutableReference": {
1175
- "Struct": {
1176
- "address": "0x1",
1177
- "module": "option",
1178
- "name": "Option",
1179
- "typeArguments": [
1180
- {
1181
- "TypeParameter": 0
1182
- }
1183
- ]
1184
- }
1185
- }
1186
- }
1187
- ],
1188
- "return": [
1189
- {
1190
- "TypeParameter": 0
1191
- }
1192
- ]
1193
- },
1194
- "fill": {
1195
- "visibility": "Public",
1196
- "isEntry": false,
1197
- "typeParameters": [
1198
- {
1199
- "abilities": []
1200
- }
1201
- ],
1202
- "parameters": [
1203
- {
1204
- "MutableReference": {
1205
- "Struct": {
1206
- "address": "0x1",
1207
- "module": "option",
1208
- "name": "Option",
1209
- "typeArguments": [
1210
- {
1211
- "TypeParameter": 0
1212
- }
1213
- ]
1214
- }
1215
- }
1216
- },
1217
- {
1218
- "TypeParameter": 0
1219
- }
1220
- ],
1221
- "return": []
1222
- },
1223
- "get_with_default": {
1224
- "visibility": "Public",
1225
- "isEntry": false,
1226
- "typeParameters": [
1227
- {
1228
- "abilities": [
1229
- "Copy",
1230
- "Drop"
1231
- ]
1232
- }
1233
- ],
1234
- "parameters": [
1235
- {
1236
- "Reference": {
1237
- "Struct": {
1238
- "address": "0x1",
1239
- "module": "option",
1240
- "name": "Option",
1241
- "typeArguments": [
1242
- {
1243
- "TypeParameter": 0
1244
- }
1245
- ]
1246
- }
1247
- }
1248
- },
1249
- {
1250
- "TypeParameter": 0
1251
- }
1252
- ],
1253
- "return": [
1254
- {
1255
- "TypeParameter": 0
1256
- }
1257
- ]
1258
- },
1259
- "is_none": {
1260
- "visibility": "Public",
1261
- "isEntry": false,
1262
- "typeParameters": [
1263
- {
1264
- "abilities": []
1265
- }
1266
- ],
1267
- "parameters": [
1268
- {
1269
- "Reference": {
1270
- "Struct": {
1271
- "address": "0x1",
1272
- "module": "option",
1273
- "name": "Option",
1274
- "typeArguments": [
1275
- {
1276
- "TypeParameter": 0
1277
- }
1278
- ]
1279
- }
1280
- }
1281
- }
1282
- ],
1283
- "return": [
1284
- "Bool"
1285
- ]
1286
- },
1287
- "is_some": {
1288
- "visibility": "Public",
1289
- "isEntry": false,
1290
- "typeParameters": [
1291
- {
1292
- "abilities": []
1293
- }
1294
- ],
1295
- "parameters": [
1296
- {
1297
- "Reference": {
1298
- "Struct": {
1299
- "address": "0x1",
1300
- "module": "option",
1301
- "name": "Option",
1302
- "typeArguments": [
1303
- {
1304
- "TypeParameter": 0
1305
- }
1306
- ]
1307
- }
1308
- }
1309
- }
1310
- ],
1311
- "return": [
1312
- "Bool"
1313
- ]
1314
- },
1315
- "none": {
1316
- "visibility": "Public",
1317
- "isEntry": false,
1318
- "typeParameters": [
1319
- {
1320
- "abilities": []
1321
- }
1322
- ],
1323
- "parameters": [],
1324
- "return": [
1325
- {
1326
- "Struct": {
1327
- "address": "0x1",
1328
- "module": "option",
1329
- "name": "Option",
1330
- "typeArguments": [
1331
- {
1332
- "TypeParameter": 0
1333
- }
1334
- ]
1335
- }
1336
- }
1337
- ]
1338
- },
1339
- "some": {
1340
- "visibility": "Public",
1341
- "isEntry": false,
1342
- "typeParameters": [
1343
- {
1344
- "abilities": []
1345
- }
1346
- ],
1347
- "parameters": [
1348
- {
1349
- "TypeParameter": 0
1350
- }
1351
- ],
1352
- "return": [
1353
- {
1354
- "Struct": {
1355
- "address": "0x1",
1356
- "module": "option",
1357
- "name": "Option",
1358
- "typeArguments": [
1359
- {
1360
- "TypeParameter": 0
1361
- }
1362
- ]
1363
- }
1364
- }
1365
- ]
1366
- },
1367
- "swap": {
1368
- "visibility": "Public",
1369
- "isEntry": false,
1370
- "typeParameters": [
1371
- {
1372
- "abilities": []
1373
- }
1374
- ],
1375
- "parameters": [
1376
- {
1377
- "MutableReference": {
1378
- "Struct": {
1379
- "address": "0x1",
1380
- "module": "option",
1381
- "name": "Option",
1382
- "typeArguments": [
1383
- {
1384
- "TypeParameter": 0
1385
- }
1386
- ]
1387
- }
1388
- }
1389
- },
1390
- {
1391
- "TypeParameter": 0
1392
- }
1393
- ],
1394
- "return": [
1395
- {
1396
- "TypeParameter": 0
1397
- }
1398
- ]
1399
- },
1400
- "swap_or_fill": {
1401
- "visibility": "Public",
1402
- "isEntry": false,
1403
- "typeParameters": [
1404
- {
1405
- "abilities": []
1406
- }
1407
- ],
1408
- "parameters": [
1409
- {
1410
- "MutableReference": {
1411
- "Struct": {
1412
- "address": "0x1",
1413
- "module": "option",
1414
- "name": "Option",
1415
- "typeArguments": [
1416
- {
1417
- "TypeParameter": 0
1418
- }
1419
- ]
1420
- }
1421
- }
1422
- },
1423
- {
1424
- "TypeParameter": 0
1425
- }
1426
- ],
1427
- "return": [
1428
- {
1429
- "Struct": {
1430
- "address": "0x1",
1431
- "module": "option",
1432
- "name": "Option",
1433
- "typeArguments": [
1434
- {
1435
- "TypeParameter": 0
1436
- }
1437
- ]
1438
- }
1439
- }
1440
- ]
1441
- },
1442
- "to_vec": {
1443
- "visibility": "Public",
1444
- "isEntry": false,
1445
- "typeParameters": [
1446
- {
1447
- "abilities": []
1448
- }
1449
- ],
1450
- "parameters": [
1451
- {
1452
- "Struct": {
1453
- "address": "0x1",
1454
- "module": "option",
1455
- "name": "Option",
1456
- "typeArguments": [
1457
- {
1458
- "TypeParameter": 0
1459
- }
1460
- ]
1461
- }
1462
- }
1463
- ],
1464
- "return": [
1465
- {
1466
- "Vector": {
1467
- "TypeParameter": 0
1468
- }
1469
- }
1470
- ]
1471
- }
1472
- }
1473
- },
1474
- "string": {
1475
- "fileFormatVersion": 6,
1476
- "address": "0x1",
1477
- "name": "string",
1478
- "friends": [],
1479
- "structs": {
1480
- "String": {
1481
- "abilities": {
1482
- "abilities": [
1483
- "Copy",
1484
- "Drop",
1485
- "Store"
1486
- ]
1487
- },
1488
- "typeParameters": [],
1489
- "fields": [
1490
- {
1491
- "name": "bytes",
1492
- "type": {
1493
- "Vector": "U8"
1494
- }
1495
- }
1496
- ]
1497
- }
1498
- },
1499
- "exposedFunctions": {
1500
- "append": {
1501
- "visibility": "Public",
1502
- "isEntry": false,
1503
- "typeParameters": [],
1504
- "parameters": [
1505
- {
1506
- "MutableReference": {
1507
- "Struct": {
1508
- "address": "0x1",
1509
- "module": "string",
1510
- "name": "String",
1511
- "typeArguments": []
1512
- }
1513
- }
1514
- },
1515
- {
1516
- "Struct": {
1517
- "address": "0x1",
1518
- "module": "string",
1519
- "name": "String",
1520
- "typeArguments": []
1521
- }
1522
- }
1523
- ],
1524
- "return": []
1525
- },
1526
- "append_utf8": {
1527
- "visibility": "Public",
1528
- "isEntry": false,
1529
- "typeParameters": [],
1530
- "parameters": [
1531
- {
1532
- "MutableReference": {
1533
- "Struct": {
1534
- "address": "0x1",
1535
- "module": "string",
1536
- "name": "String",
1537
- "typeArguments": []
1538
- }
1539
- }
1540
- },
1541
- {
1542
- "Vector": "U8"
1543
- }
1544
- ],
1545
- "return": []
1546
- },
1547
- "as_bytes": {
1548
- "visibility": "Public",
1549
- "isEntry": false,
1550
- "typeParameters": [],
1551
- "parameters": [
1552
- {
1553
- "Reference": {
1554
- "Struct": {
1555
- "address": "0x1",
1556
- "module": "string",
1557
- "name": "String",
1558
- "typeArguments": []
1559
- }
1560
- }
1561
- }
1562
- ],
1563
- "return": [
1564
- {
1565
- "Reference": {
1566
- "Vector": "U8"
1567
- }
1568
- }
1569
- ]
1570
- },
1571
- "bytes": {
1572
- "visibility": "Public",
1573
- "isEntry": false,
1574
- "typeParameters": [],
1575
- "parameters": [
1576
- {
1577
- "Reference": {
1578
- "Struct": {
1579
- "address": "0x1",
1580
- "module": "string",
1581
- "name": "String",
1582
- "typeArguments": []
1583
- }
1584
- }
1585
- }
1586
- ],
1587
- "return": [
1588
- {
1589
- "Reference": {
1590
- "Vector": "U8"
1591
- }
1592
- }
1593
- ]
1594
- },
1595
- "from_ascii": {
1596
- "visibility": "Public",
1597
- "isEntry": false,
1598
- "typeParameters": [],
1599
- "parameters": [
1600
- {
1601
- "Struct": {
1602
- "address": "0x1",
1603
- "module": "ascii",
1604
- "name": "String",
1605
- "typeArguments": []
1606
- }
1607
- }
1608
- ],
1609
- "return": [
1610
- {
1611
- "Struct": {
1612
- "address": "0x1",
1613
- "module": "string",
1614
- "name": "String",
1615
- "typeArguments": []
1616
- }
1617
- }
1618
- ]
1619
- },
1620
- "index_of": {
1621
- "visibility": "Public",
1622
- "isEntry": false,
1623
- "typeParameters": [],
1624
- "parameters": [
1625
- {
1626
- "Reference": {
1627
- "Struct": {
1628
- "address": "0x1",
1629
- "module": "string",
1630
- "name": "String",
1631
- "typeArguments": []
1632
- }
1633
- }
1634
- },
1635
- {
1636
- "Reference": {
1637
- "Struct": {
1638
- "address": "0x1",
1639
- "module": "string",
1640
- "name": "String",
1641
- "typeArguments": []
1642
- }
1643
- }
1644
- }
1645
- ],
1646
- "return": [
1647
- "U64"
1648
- ]
1649
- },
1650
- "insert": {
1651
- "visibility": "Public",
1652
- "isEntry": false,
1653
- "typeParameters": [],
1654
- "parameters": [
1655
- {
1656
- "MutableReference": {
1657
- "Struct": {
1658
- "address": "0x1",
1659
- "module": "string",
1660
- "name": "String",
1661
- "typeArguments": []
1662
- }
1663
- }
1664
- },
1665
- "U64",
1666
- {
1667
- "Struct": {
1668
- "address": "0x1",
1669
- "module": "string",
1670
- "name": "String",
1671
- "typeArguments": []
1672
- }
1673
- }
1674
- ],
1675
- "return": []
1676
- },
1677
- "into_bytes": {
1678
- "visibility": "Public",
1679
- "isEntry": false,
1680
- "typeParameters": [],
1681
- "parameters": [
1682
- {
1683
- "Struct": {
1684
- "address": "0x1",
1685
- "module": "string",
1686
- "name": "String",
1687
- "typeArguments": []
1688
- }
1689
- }
1690
- ],
1691
- "return": [
1692
- {
1693
- "Vector": "U8"
1694
- }
1695
- ]
1696
- },
1697
- "is_empty": {
1698
- "visibility": "Public",
1699
- "isEntry": false,
1700
- "typeParameters": [],
1701
- "parameters": [
1702
- {
1703
- "Reference": {
1704
- "Struct": {
1705
- "address": "0x1",
1706
- "module": "string",
1707
- "name": "String",
1708
- "typeArguments": []
1709
- }
1710
- }
1711
- }
1712
- ],
1713
- "return": [
1714
- "Bool"
1715
- ]
1716
- },
1717
- "length": {
1718
- "visibility": "Public",
1719
- "isEntry": false,
1720
- "typeParameters": [],
1721
- "parameters": [
1722
- {
1723
- "Reference": {
1724
- "Struct": {
1725
- "address": "0x1",
1726
- "module": "string",
1727
- "name": "String",
1728
- "typeArguments": []
1729
- }
1730
- }
1731
- }
1732
- ],
1733
- "return": [
1734
- "U64"
1735
- ]
1736
- },
1737
- "sub_string": {
1738
- "visibility": "Public",
1739
- "isEntry": false,
1740
- "typeParameters": [],
1741
- "parameters": [
1742
- {
1743
- "Reference": {
1744
- "Struct": {
1745
- "address": "0x1",
1746
- "module": "string",
1747
- "name": "String",
1748
- "typeArguments": []
1749
- }
1750
- }
1751
- },
1752
- "U64",
1753
- "U64"
1754
- ],
1755
- "return": [
1756
- {
1757
- "Struct": {
1758
- "address": "0x1",
1759
- "module": "string",
1760
- "name": "String",
1761
- "typeArguments": []
1762
- }
1763
- }
1764
- ]
1765
- },
1766
- "substring": {
1767
- "visibility": "Public",
1768
- "isEntry": false,
1769
- "typeParameters": [],
1770
- "parameters": [
1771
- {
1772
- "Reference": {
1773
- "Struct": {
1774
- "address": "0x1",
1775
- "module": "string",
1776
- "name": "String",
1777
- "typeArguments": []
1778
- }
1779
- }
1780
- },
1781
- "U64",
1782
- "U64"
1783
- ],
1784
- "return": [
1785
- {
1786
- "Struct": {
1787
- "address": "0x1",
1788
- "module": "string",
1789
- "name": "String",
1790
- "typeArguments": []
1791
- }
1792
- }
1793
- ]
1794
- },
1795
- "to_ascii": {
1796
- "visibility": "Public",
1797
- "isEntry": false,
1798
- "typeParameters": [],
1799
- "parameters": [
1800
- {
1801
- "Struct": {
1802
- "address": "0x1",
1803
- "module": "string",
1804
- "name": "String",
1805
- "typeArguments": []
1806
- }
1807
- }
1808
- ],
1809
- "return": [
1810
- {
1811
- "Struct": {
1812
- "address": "0x1",
1813
- "module": "ascii",
1814
- "name": "String",
1815
- "typeArguments": []
1816
- }
1817
- }
1818
- ]
1819
- },
1820
- "try_utf8": {
1821
- "visibility": "Public",
1822
- "isEntry": false,
1823
- "typeParameters": [],
1824
- "parameters": [
1825
- {
1826
- "Vector": "U8"
1827
- }
1828
- ],
1829
- "return": [
1830
- {
1831
- "Struct": {
1832
- "address": "0x1",
1833
- "module": "option",
1834
- "name": "Option",
1835
- "typeArguments": [
1836
- {
1837
- "Struct": {
1838
- "address": "0x1",
1839
- "module": "string",
1840
- "name": "String",
1841
- "typeArguments": []
1842
- }
1843
- }
1844
- ]
1845
- }
1846
- }
1847
- ]
1848
- },
1849
- "utf8": {
1850
- "visibility": "Public",
1851
- "isEntry": false,
1852
- "typeParameters": [],
1853
- "parameters": [
1854
- {
1855
- "Vector": "U8"
1856
- }
1857
- ],
1858
- "return": [
1859
- {
1860
- "Struct": {
1861
- "address": "0x1",
1862
- "module": "string",
1863
- "name": "String",
1864
- "typeArguments": []
1865
- }
1866
- }
1867
- ]
1868
- }
1869
- }
1870
- },
1871
- "type_name": {
1872
- "fileFormatVersion": 6,
1873
- "address": "0x1",
1874
- "name": "type_name",
1875
- "friends": [],
1876
- "structs": {
1877
- "TypeName": {
1878
- "abilities": {
1879
- "abilities": [
1880
- "Copy",
1881
- "Drop",
1882
- "Store"
1883
- ]
1884
- },
1885
- "typeParameters": [],
1886
- "fields": [
1887
- {
1888
- "name": "name",
1889
- "type": {
1890
- "Struct": {
1891
- "address": "0x1",
1892
- "module": "ascii",
1893
- "name": "String",
1894
- "typeArguments": []
1895
- }
1896
- }
1897
- }
1898
- ]
1899
- }
1900
- },
1901
- "exposedFunctions": {
1902
- "borrow_string": {
1903
- "visibility": "Public",
1904
- "isEntry": false,
1905
- "typeParameters": [],
1906
- "parameters": [
1907
- {
1908
- "Reference": {
1909
- "Struct": {
1910
- "address": "0x1",
1911
- "module": "type_name",
1912
- "name": "TypeName",
1913
- "typeArguments": []
1914
- }
1915
- }
1916
- }
1917
- ],
1918
- "return": [
1919
- {
1920
- "Reference": {
1921
- "Struct": {
1922
- "address": "0x1",
1923
- "module": "ascii",
1924
- "name": "String",
1925
- "typeArguments": []
1926
- }
1927
- }
1928
- }
1929
- ]
1930
- },
1931
- "get": {
1932
- "visibility": "Public",
1933
- "isEntry": false,
1934
- "typeParameters": [
1935
- {
1936
- "abilities": []
1937
- }
1938
- ],
1939
- "parameters": [],
1940
- "return": [
1941
- {
1942
- "Struct": {
1943
- "address": "0x1",
1944
- "module": "type_name",
1945
- "name": "TypeName",
1946
- "typeArguments": []
1947
- }
1948
- }
1949
- ]
1950
- },
1951
- "get_address": {
1952
- "visibility": "Public",
1953
- "isEntry": false,
1954
- "typeParameters": [],
1955
- "parameters": [
1956
- {
1957
- "Reference": {
1958
- "Struct": {
1959
- "address": "0x1",
1960
- "module": "type_name",
1961
- "name": "TypeName",
1962
- "typeArguments": []
1963
- }
1964
- }
1965
- }
1966
- ],
1967
- "return": [
1968
- {
1969
- "Struct": {
1970
- "address": "0x1",
1971
- "module": "ascii",
1972
- "name": "String",
1973
- "typeArguments": []
1974
- }
1975
- }
1976
- ]
1977
- },
1978
- "get_module": {
1979
- "visibility": "Public",
1980
- "isEntry": false,
1981
- "typeParameters": [],
1982
- "parameters": [
1983
- {
1984
- "Reference": {
1985
- "Struct": {
1986
- "address": "0x1",
1987
- "module": "type_name",
1988
- "name": "TypeName",
1989
- "typeArguments": []
1990
- }
1991
- }
1992
- }
1993
- ],
1994
- "return": [
1995
- {
1996
- "Struct": {
1997
- "address": "0x1",
1998
- "module": "ascii",
1999
- "name": "String",
2000
- "typeArguments": []
2001
- }
2002
- }
2003
- ]
2004
- },
2005
- "get_with_original_ids": {
2006
- "visibility": "Public",
2007
- "isEntry": false,
2008
- "typeParameters": [
2009
- {
2010
- "abilities": []
2011
- }
2012
- ],
2013
- "parameters": [],
2014
- "return": [
2015
- {
2016
- "Struct": {
2017
- "address": "0x1",
2018
- "module": "type_name",
2019
- "name": "TypeName",
2020
- "typeArguments": []
2021
- }
2022
- }
2023
- ]
2024
- },
2025
- "into_string": {
2026
- "visibility": "Public",
2027
- "isEntry": false,
2028
- "typeParameters": [],
2029
- "parameters": [
2030
- {
2031
- "Struct": {
2032
- "address": "0x1",
2033
- "module": "type_name",
2034
- "name": "TypeName",
2035
- "typeArguments": []
2036
- }
2037
- }
2038
- ],
2039
- "return": [
2040
- {
2041
- "Struct": {
2042
- "address": "0x1",
2043
- "module": "ascii",
2044
- "name": "String",
2045
- "typeArguments": []
2046
- }
2047
- }
2048
- ]
2049
- },
2050
- "is_primitive": {
2051
- "visibility": "Public",
2052
- "isEntry": false,
2053
- "typeParameters": [],
2054
- "parameters": [
2055
- {
2056
- "Reference": {
2057
- "Struct": {
2058
- "address": "0x1",
2059
- "module": "type_name",
2060
- "name": "TypeName",
2061
- "typeArguments": []
2062
- }
2063
- }
2064
- }
2065
- ],
2066
- "return": [
2067
- "Bool"
2068
- ]
2069
- }
2070
- }
2071
- },
2072
- "u128": {
2073
- "fileFormatVersion": 6,
2074
- "address": "0x1",
2075
- "name": "u128",
2076
- "friends": [],
2077
- "structs": {},
2078
- "exposedFunctions": {
2079
- "bitwise_not": {
2080
- "visibility": "Public",
2081
- "isEntry": false,
2082
- "typeParameters": [],
2083
- "parameters": [
2084
- "U128"
2085
- ],
2086
- "return": [
2087
- "U128"
2088
- ]
2089
- },
2090
- "diff": {
2091
- "visibility": "Public",
2092
- "isEntry": false,
2093
- "typeParameters": [],
2094
- "parameters": [
2095
- "U128",
2096
- "U128"
2097
- ],
2098
- "return": [
2099
- "U128"
2100
- ]
2101
- },
2102
- "divide_and_round_up": {
2103
- "visibility": "Public",
2104
- "isEntry": false,
2105
- "typeParameters": [],
2106
- "parameters": [
2107
- "U128",
2108
- "U128"
2109
- ],
2110
- "return": [
2111
- "U128"
2112
- ]
2113
- },
2114
- "max": {
2115
- "visibility": "Public",
2116
- "isEntry": false,
2117
- "typeParameters": [],
2118
- "parameters": [
2119
- "U128",
2120
- "U128"
2121
- ],
2122
- "return": [
2123
- "U128"
2124
- ]
2125
- },
2126
- "min": {
2127
- "visibility": "Public",
2128
- "isEntry": false,
2129
- "typeParameters": [],
2130
- "parameters": [
2131
- "U128",
2132
- "U128"
2133
- ],
2134
- "return": [
2135
- "U128"
2136
- ]
2137
- },
2138
- "pow": {
2139
- "visibility": "Public",
2140
- "isEntry": false,
2141
- "typeParameters": [],
2142
- "parameters": [
2143
- "U128",
2144
- "U8"
2145
- ],
2146
- "return": [
2147
- "U128"
2148
- ]
2149
- },
2150
- "sqrt": {
2151
- "visibility": "Public",
2152
- "isEntry": false,
2153
- "typeParameters": [],
2154
- "parameters": [
2155
- "U128"
2156
- ],
2157
- "return": [
2158
- "U128"
2159
- ]
2160
- },
2161
- "to_string": {
2162
- "visibility": "Public",
2163
- "isEntry": false,
2164
- "typeParameters": [],
2165
- "parameters": [
2166
- "U128"
2167
- ],
2168
- "return": [
2169
- {
2170
- "Struct": {
2171
- "address": "0x1",
2172
- "module": "string",
2173
- "name": "String",
2174
- "typeArguments": []
2175
- }
2176
- }
2177
- ]
2178
- },
2179
- "try_as_u16": {
2180
- "visibility": "Public",
2181
- "isEntry": false,
2182
- "typeParameters": [],
2183
- "parameters": [
2184
- "U128"
2185
- ],
2186
- "return": [
2187
- {
2188
- "Struct": {
2189
- "address": "0x1",
2190
- "module": "option",
2191
- "name": "Option",
2192
- "typeArguments": [
2193
- "U16"
2194
- ]
2195
- }
2196
- }
2197
- ]
2198
- },
2199
- "try_as_u32": {
2200
- "visibility": "Public",
2201
- "isEntry": false,
2202
- "typeParameters": [],
2203
- "parameters": [
2204
- "U128"
2205
- ],
2206
- "return": [
2207
- {
2208
- "Struct": {
2209
- "address": "0x1",
2210
- "module": "option",
2211
- "name": "Option",
2212
- "typeArguments": [
2213
- "U32"
2214
- ]
2215
- }
2216
- }
2217
- ]
2218
- },
2219
- "try_as_u64": {
2220
- "visibility": "Public",
2221
- "isEntry": false,
2222
- "typeParameters": [],
2223
- "parameters": [
2224
- "U128"
2225
- ],
2226
- "return": [
2227
- {
2228
- "Struct": {
2229
- "address": "0x1",
2230
- "module": "option",
2231
- "name": "Option",
2232
- "typeArguments": [
2233
- "U64"
2234
- ]
2235
- }
2236
- }
2237
- ]
2238
- },
2239
- "try_as_u8": {
2240
- "visibility": "Public",
2241
- "isEntry": false,
2242
- "typeParameters": [],
2243
- "parameters": [
2244
- "U128"
2245
- ],
2246
- "return": [
2247
- {
2248
- "Struct": {
2249
- "address": "0x1",
2250
- "module": "option",
2251
- "name": "Option",
2252
- "typeArguments": [
2253
- "U8"
2254
- ]
2255
- }
2256
- }
2257
- ]
2258
- }
2259
- }
2260
- },
2261
- "u16": {
2262
- "fileFormatVersion": 6,
2263
- "address": "0x1",
2264
- "name": "u16",
2265
- "friends": [],
2266
- "structs": {},
2267
- "exposedFunctions": {
2268
- "bitwise_not": {
2269
- "visibility": "Public",
2270
- "isEntry": false,
2271
- "typeParameters": [],
2272
- "parameters": [
2273
- "U16"
2274
- ],
2275
- "return": [
2276
- "U16"
2277
- ]
2278
- },
2279
- "diff": {
2280
- "visibility": "Public",
2281
- "isEntry": false,
2282
- "typeParameters": [],
2283
- "parameters": [
2284
- "U16",
2285
- "U16"
2286
- ],
2287
- "return": [
2288
- "U16"
2289
- ]
2290
- },
2291
- "divide_and_round_up": {
2292
- "visibility": "Public",
2293
- "isEntry": false,
2294
- "typeParameters": [],
2295
- "parameters": [
2296
- "U16",
2297
- "U16"
2298
- ],
2299
- "return": [
2300
- "U16"
2301
- ]
2302
- },
2303
- "max": {
2304
- "visibility": "Public",
2305
- "isEntry": false,
2306
- "typeParameters": [],
2307
- "parameters": [
2308
- "U16",
2309
- "U16"
2310
- ],
2311
- "return": [
2312
- "U16"
2313
- ]
2314
- },
2315
- "min": {
2316
- "visibility": "Public",
2317
- "isEntry": false,
2318
- "typeParameters": [],
2319
- "parameters": [
2320
- "U16",
2321
- "U16"
2322
- ],
2323
- "return": [
2324
- "U16"
2325
- ]
2326
- },
2327
- "pow": {
2328
- "visibility": "Public",
2329
- "isEntry": false,
2330
- "typeParameters": [],
2331
- "parameters": [
2332
- "U16",
2333
- "U8"
2334
- ],
2335
- "return": [
2336
- "U16"
2337
- ]
2338
- },
2339
- "sqrt": {
2340
- "visibility": "Public",
2341
- "isEntry": false,
2342
- "typeParameters": [],
2343
- "parameters": [
2344
- "U16"
2345
- ],
2346
- "return": [
2347
- "U16"
2348
- ]
2349
- },
2350
- "to_string": {
2351
- "visibility": "Public",
2352
- "isEntry": false,
2353
- "typeParameters": [],
2354
- "parameters": [
2355
- "U16"
2356
- ],
2357
- "return": [
2358
- {
2359
- "Struct": {
2360
- "address": "0x1",
2361
- "module": "string",
2362
- "name": "String",
2363
- "typeArguments": []
2364
- }
2365
- }
2366
- ]
2367
- },
2368
- "try_as_u8": {
2369
- "visibility": "Public",
2370
- "isEntry": false,
2371
- "typeParameters": [],
2372
- "parameters": [
2373
- "U16"
2374
- ],
2375
- "return": [
2376
- {
2377
- "Struct": {
2378
- "address": "0x1",
2379
- "module": "option",
2380
- "name": "Option",
2381
- "typeArguments": [
2382
- "U8"
2383
- ]
2384
- }
2385
- }
2386
- ]
2387
- }
2388
- }
2389
- },
2390
- "u256": {
2391
- "fileFormatVersion": 6,
2392
- "address": "0x1",
2393
- "name": "u256",
2394
- "friends": [],
2395
- "structs": {},
2396
- "exposedFunctions": {
2397
- "bitwise_not": {
2398
- "visibility": "Public",
2399
- "isEntry": false,
2400
- "typeParameters": [],
2401
- "parameters": [
2402
- "U256"
2403
- ],
2404
- "return": [
2405
- "U256"
2406
- ]
2407
- },
2408
- "diff": {
2409
- "visibility": "Public",
2410
- "isEntry": false,
2411
- "typeParameters": [],
2412
- "parameters": [
2413
- "U256",
2414
- "U256"
2415
- ],
2416
- "return": [
2417
- "U256"
2418
- ]
2419
- },
2420
- "divide_and_round_up": {
2421
- "visibility": "Public",
2422
- "isEntry": false,
2423
- "typeParameters": [],
2424
- "parameters": [
2425
- "U256",
2426
- "U256"
2427
- ],
2428
- "return": [
2429
- "U256"
2430
- ]
2431
- },
2432
- "max": {
2433
- "visibility": "Public",
2434
- "isEntry": false,
2435
- "typeParameters": [],
2436
- "parameters": [
2437
- "U256",
2438
- "U256"
2439
- ],
2440
- "return": [
2441
- "U256"
2442
- ]
2443
- },
2444
- "min": {
2445
- "visibility": "Public",
2446
- "isEntry": false,
2447
- "typeParameters": [],
2448
- "parameters": [
2449
- "U256",
2450
- "U256"
2451
- ],
2452
- "return": [
2453
- "U256"
2454
- ]
2455
- },
2456
- "pow": {
2457
- "visibility": "Public",
2458
- "isEntry": false,
2459
- "typeParameters": [],
2460
- "parameters": [
2461
- "U256",
2462
- "U8"
2463
- ],
2464
- "return": [
2465
- "U256"
2466
- ]
2467
- },
2468
- "to_string": {
2469
- "visibility": "Public",
2470
- "isEntry": false,
2471
- "typeParameters": [],
2472
- "parameters": [
2473
- "U256"
2474
- ],
2475
- "return": [
2476
- {
2477
- "Struct": {
2478
- "address": "0x1",
2479
- "module": "string",
2480
- "name": "String",
2481
- "typeArguments": []
2482
- }
2483
- }
2484
- ]
2485
- },
2486
- "try_as_u128": {
2487
- "visibility": "Public",
2488
- "isEntry": false,
2489
- "typeParameters": [],
2490
- "parameters": [
2491
- "U256"
2492
- ],
2493
- "return": [
2494
- {
2495
- "Struct": {
2496
- "address": "0x1",
2497
- "module": "option",
2498
- "name": "Option",
2499
- "typeArguments": [
2500
- "U128"
2501
- ]
2502
- }
2503
- }
2504
- ]
2505
- },
2506
- "try_as_u16": {
2507
- "visibility": "Public",
2508
- "isEntry": false,
2509
- "typeParameters": [],
2510
- "parameters": [
2511
- "U256"
2512
- ],
2513
- "return": [
2514
- {
2515
- "Struct": {
2516
- "address": "0x1",
2517
- "module": "option",
2518
- "name": "Option",
2519
- "typeArguments": [
2520
- "U16"
2521
- ]
2522
- }
2523
- }
2524
- ]
2525
- },
2526
- "try_as_u32": {
2527
- "visibility": "Public",
2528
- "isEntry": false,
2529
- "typeParameters": [],
2530
- "parameters": [
2531
- "U256"
2532
- ],
2533
- "return": [
2534
- {
2535
- "Struct": {
2536
- "address": "0x1",
2537
- "module": "option",
2538
- "name": "Option",
2539
- "typeArguments": [
2540
- "U32"
2541
- ]
2542
- }
2543
- }
2544
- ]
2545
- },
2546
- "try_as_u64": {
2547
- "visibility": "Public",
2548
- "isEntry": false,
2549
- "typeParameters": [],
2550
- "parameters": [
2551
- "U256"
2552
- ],
2553
- "return": [
2554
- {
2555
- "Struct": {
2556
- "address": "0x1",
2557
- "module": "option",
2558
- "name": "Option",
2559
- "typeArguments": [
2560
- "U64"
2561
- ]
2562
- }
2563
- }
2564
- ]
2565
- },
2566
- "try_as_u8": {
2567
- "visibility": "Public",
2568
- "isEntry": false,
2569
- "typeParameters": [],
2570
- "parameters": [
2571
- "U256"
2572
- ],
2573
- "return": [
2574
- {
2575
- "Struct": {
2576
- "address": "0x1",
2577
- "module": "option",
2578
- "name": "Option",
2579
- "typeArguments": [
2580
- "U8"
2581
- ]
2582
- }
2583
- }
2584
- ]
2585
- }
2586
- }
2587
- },
2588
- "u32": {
2589
- "fileFormatVersion": 6,
2590
- "address": "0x1",
2591
- "name": "u32",
2592
- "friends": [],
2593
- "structs": {},
2594
- "exposedFunctions": {
2595
- "bitwise_not": {
2596
- "visibility": "Public",
2597
- "isEntry": false,
2598
- "typeParameters": [],
2599
- "parameters": [
2600
- "U32"
2601
- ],
2602
- "return": [
2603
- "U32"
2604
- ]
2605
- },
2606
- "diff": {
2607
- "visibility": "Public",
2608
- "isEntry": false,
2609
- "typeParameters": [],
2610
- "parameters": [
2611
- "U32",
2612
- "U32"
2613
- ],
2614
- "return": [
2615
- "U32"
2616
- ]
2617
- },
2618
- "divide_and_round_up": {
2619
- "visibility": "Public",
2620
- "isEntry": false,
2621
- "typeParameters": [],
2622
- "parameters": [
2623
- "U32",
2624
- "U32"
2625
- ],
2626
- "return": [
2627
- "U32"
2628
- ]
2629
- },
2630
- "max": {
2631
- "visibility": "Public",
2632
- "isEntry": false,
2633
- "typeParameters": [],
2634
- "parameters": [
2635
- "U32",
2636
- "U32"
2637
- ],
2638
- "return": [
2639
- "U32"
2640
- ]
2641
- },
2642
- "min": {
2643
- "visibility": "Public",
2644
- "isEntry": false,
2645
- "typeParameters": [],
2646
- "parameters": [
2647
- "U32",
2648
- "U32"
2649
- ],
2650
- "return": [
2651
- "U32"
2652
- ]
2653
- },
2654
- "pow": {
2655
- "visibility": "Public",
2656
- "isEntry": false,
2657
- "typeParameters": [],
2658
- "parameters": [
2659
- "U32",
2660
- "U8"
2661
- ],
2662
- "return": [
2663
- "U32"
2664
- ]
2665
- },
2666
- "sqrt": {
2667
- "visibility": "Public",
2668
- "isEntry": false,
2669
- "typeParameters": [],
2670
- "parameters": [
2671
- "U32"
2672
- ],
2673
- "return": [
2674
- "U32"
2675
- ]
2676
- },
2677
- "to_string": {
2678
- "visibility": "Public",
2679
- "isEntry": false,
2680
- "typeParameters": [],
2681
- "parameters": [
2682
- "U32"
2683
- ],
2684
- "return": [
2685
- {
2686
- "Struct": {
2687
- "address": "0x1",
2688
- "module": "string",
2689
- "name": "String",
2690
- "typeArguments": []
2691
- }
2692
- }
2693
- ]
2694
- },
2695
- "try_as_u16": {
2696
- "visibility": "Public",
2697
- "isEntry": false,
2698
- "typeParameters": [],
2699
- "parameters": [
2700
- "U32"
2701
- ],
2702
- "return": [
2703
- {
2704
- "Struct": {
2705
- "address": "0x1",
2706
- "module": "option",
2707
- "name": "Option",
2708
- "typeArguments": [
2709
- "U16"
2710
- ]
2711
- }
2712
- }
2713
- ]
2714
- },
2715
- "try_as_u8": {
2716
- "visibility": "Public",
2717
- "isEntry": false,
2718
- "typeParameters": [],
2719
- "parameters": [
2720
- "U32"
2721
- ],
2722
- "return": [
2723
- {
2724
- "Struct": {
2725
- "address": "0x1",
2726
- "module": "option",
2727
- "name": "Option",
2728
- "typeArguments": [
2729
- "U8"
2730
- ]
2731
- }
2732
- }
2733
- ]
2734
- }
2735
- }
2736
- },
2737
- "u64": {
2738
- "fileFormatVersion": 6,
2739
- "address": "0x1",
2740
- "name": "u64",
2741
- "friends": [],
2742
- "structs": {},
2743
- "exposedFunctions": {
2744
- "bitwise_not": {
2745
- "visibility": "Public",
2746
- "isEntry": false,
2747
- "typeParameters": [],
2748
- "parameters": [
2749
- "U64"
2750
- ],
2751
- "return": [
2752
- "U64"
2753
- ]
2754
- },
2755
- "diff": {
2756
- "visibility": "Public",
2757
- "isEntry": false,
2758
- "typeParameters": [],
2759
- "parameters": [
2760
- "U64",
2761
- "U64"
2762
- ],
2763
- "return": [
2764
- "U64"
2765
- ]
2766
- },
2767
- "divide_and_round_up": {
2768
- "visibility": "Public",
2769
- "isEntry": false,
2770
- "typeParameters": [],
2771
- "parameters": [
2772
- "U64",
2773
- "U64"
2774
- ],
2775
- "return": [
2776
- "U64"
2777
- ]
2778
- },
2779
- "max": {
2780
- "visibility": "Public",
2781
- "isEntry": false,
2782
- "typeParameters": [],
2783
- "parameters": [
2784
- "U64",
2785
- "U64"
2786
- ],
2787
- "return": [
2788
- "U64"
2789
- ]
2790
- },
2791
- "min": {
2792
- "visibility": "Public",
2793
- "isEntry": false,
2794
- "typeParameters": [],
2795
- "parameters": [
2796
- "U64",
2797
- "U64"
2798
- ],
2799
- "return": [
2800
- "U64"
2801
- ]
2802
- },
2803
- "pow": {
2804
- "visibility": "Public",
2805
- "isEntry": false,
2806
- "typeParameters": [],
2807
- "parameters": [
2808
- "U64",
2809
- "U8"
2810
- ],
2811
- "return": [
2812
- "U64"
2813
- ]
2814
- },
2815
- "sqrt": {
2816
- "visibility": "Public",
2817
- "isEntry": false,
2818
- "typeParameters": [],
2819
- "parameters": [
2820
- "U64"
2821
- ],
2822
- "return": [
2823
- "U64"
2824
- ]
2825
- },
2826
- "to_string": {
2827
- "visibility": "Public",
2828
- "isEntry": false,
2829
- "typeParameters": [],
2830
- "parameters": [
2831
- "U64"
2832
- ],
2833
- "return": [
2834
- {
2835
- "Struct": {
2836
- "address": "0x1",
2837
- "module": "string",
2838
- "name": "String",
2839
- "typeArguments": []
2840
- }
2841
- }
2842
- ]
2843
- },
2844
- "try_as_u16": {
2845
- "visibility": "Public",
2846
- "isEntry": false,
2847
- "typeParameters": [],
2848
- "parameters": [
2849
- "U64"
2850
- ],
2851
- "return": [
2852
- {
2853
- "Struct": {
2854
- "address": "0x1",
2855
- "module": "option",
2856
- "name": "Option",
2857
- "typeArguments": [
2858
- "U16"
2859
- ]
2860
- }
2861
- }
2862
- ]
2863
- },
2864
- "try_as_u32": {
2865
- "visibility": "Public",
2866
- "isEntry": false,
2867
- "typeParameters": [],
2868
- "parameters": [
2869
- "U64"
2870
- ],
2871
- "return": [
2872
- {
2873
- "Struct": {
2874
- "address": "0x1",
2875
- "module": "option",
2876
- "name": "Option",
2877
- "typeArguments": [
2878
- "U32"
2879
- ]
2880
- }
2881
- }
2882
- ]
2883
- },
2884
- "try_as_u8": {
2885
- "visibility": "Public",
2886
- "isEntry": false,
2887
- "typeParameters": [],
2888
- "parameters": [
2889
- "U64"
2890
- ],
2891
- "return": [
2892
- {
2893
- "Struct": {
2894
- "address": "0x1",
2895
- "module": "option",
2896
- "name": "Option",
2897
- "typeArguments": [
2898
- "U8"
2899
- ]
2900
- }
2901
- }
2902
- ]
2903
- }
2904
- }
2905
- },
2906
- "u8": {
2907
- "fileFormatVersion": 6,
2908
- "address": "0x1",
2909
- "name": "u8",
2910
- "friends": [],
2911
- "structs": {},
2912
- "exposedFunctions": {
2913
- "bitwise_not": {
2914
- "visibility": "Public",
2915
- "isEntry": false,
2916
- "typeParameters": [],
2917
- "parameters": [
2918
- "U8"
2919
- ],
2920
- "return": [
2921
- "U8"
2922
- ]
2923
- },
2924
- "diff": {
2925
- "visibility": "Public",
2926
- "isEntry": false,
2927
- "typeParameters": [],
2928
- "parameters": [
2929
- "U8",
2930
- "U8"
2931
- ],
2932
- "return": [
2933
- "U8"
2934
- ]
2935
- },
2936
- "divide_and_round_up": {
2937
- "visibility": "Public",
2938
- "isEntry": false,
2939
- "typeParameters": [],
2940
- "parameters": [
2941
- "U8",
2942
- "U8"
2943
- ],
2944
- "return": [
2945
- "U8"
2946
- ]
2947
- },
2948
- "max": {
2949
- "visibility": "Public",
2950
- "isEntry": false,
2951
- "typeParameters": [],
2952
- "parameters": [
2953
- "U8",
2954
- "U8"
2955
- ],
2956
- "return": [
2957
- "U8"
2958
- ]
2959
- },
2960
- "min": {
2961
- "visibility": "Public",
2962
- "isEntry": false,
2963
- "typeParameters": [],
2964
- "parameters": [
2965
- "U8",
2966
- "U8"
2967
- ],
2968
- "return": [
2969
- "U8"
2970
- ]
2971
- },
2972
- "pow": {
2973
- "visibility": "Public",
2974
- "isEntry": false,
2975
- "typeParameters": [],
2976
- "parameters": [
2977
- "U8",
2978
- "U8"
2979
- ],
2980
- "return": [
2981
- "U8"
2982
- ]
2983
- },
2984
- "sqrt": {
2985
- "visibility": "Public",
2986
- "isEntry": false,
2987
- "typeParameters": [],
2988
- "parameters": [
2989
- "U8"
2990
- ],
2991
- "return": [
2992
- "U8"
2993
- ]
2994
- },
2995
- "to_string": {
2996
- "visibility": "Public",
2997
- "isEntry": false,
2998
- "typeParameters": [],
2999
- "parameters": [
3000
- "U8"
3001
- ],
3002
- "return": [
3003
- {
3004
- "Struct": {
3005
- "address": "0x1",
3006
- "module": "string",
3007
- "name": "String",
3008
- "typeArguments": []
3009
- }
3010
- }
3011
- ]
3012
- }
3013
- }
3014
- },
3015
- "uq32_32": {
3016
- "fileFormatVersion": 6,
3017
- "address": "0x1",
3018
- "name": "uq32_32",
3019
- "friends": [],
3020
- "structs": {
3021
- "UQ32_32": {
3022
- "abilities": {
3023
- "abilities": [
3024
- "Copy",
3025
- "Drop",
3026
- "Store"
3027
- ]
3028
- },
3029
- "typeParameters": [],
3030
- "fields": [
3031
- {
3032
- "name": "pos0",
3033
- "type": "U64"
3034
- }
3035
- ]
3036
- }
3037
- },
3038
- "exposedFunctions": {
3039
- "add": {
3040
- "visibility": "Public",
3041
- "isEntry": false,
3042
- "typeParameters": [],
3043
- "parameters": [
3044
- {
3045
- "Struct": {
3046
- "address": "0x1",
3047
- "module": "uq32_32",
3048
- "name": "UQ32_32",
3049
- "typeArguments": []
3050
- }
3051
- },
3052
- {
3053
- "Struct": {
3054
- "address": "0x1",
3055
- "module": "uq32_32",
3056
- "name": "UQ32_32",
3057
- "typeArguments": []
3058
- }
3059
- }
3060
- ],
3061
- "return": [
3062
- {
3063
- "Struct": {
3064
- "address": "0x1",
3065
- "module": "uq32_32",
3066
- "name": "UQ32_32",
3067
- "typeArguments": []
3068
- }
3069
- }
3070
- ]
3071
- },
3072
- "div": {
3073
- "visibility": "Public",
3074
- "isEntry": false,
3075
- "typeParameters": [],
3076
- "parameters": [
3077
- {
3078
- "Struct": {
3079
- "address": "0x1",
3080
- "module": "uq32_32",
3081
- "name": "UQ32_32",
3082
- "typeArguments": []
3083
- }
3084
- },
3085
- {
3086
- "Struct": {
3087
- "address": "0x1",
3088
- "module": "uq32_32",
3089
- "name": "UQ32_32",
3090
- "typeArguments": []
3091
- }
3092
- }
3093
- ],
3094
- "return": [
3095
- {
3096
- "Struct": {
3097
- "address": "0x1",
3098
- "module": "uq32_32",
3099
- "name": "UQ32_32",
3100
- "typeArguments": []
3101
- }
3102
- }
3103
- ]
3104
- },
3105
- "from_int": {
3106
- "visibility": "Public",
3107
- "isEntry": false,
3108
- "typeParameters": [],
3109
- "parameters": [
3110
- "U32"
3111
- ],
3112
- "return": [
3113
- {
3114
- "Struct": {
3115
- "address": "0x1",
3116
- "module": "uq32_32",
3117
- "name": "UQ32_32",
3118
- "typeArguments": []
3119
- }
3120
- }
3121
- ]
3122
- },
3123
- "from_quotient": {
3124
- "visibility": "Public",
3125
- "isEntry": false,
3126
- "typeParameters": [],
3127
- "parameters": [
3128
- "U64",
3129
- "U64"
3130
- ],
3131
- "return": [
3132
- {
3133
- "Struct": {
3134
- "address": "0x1",
3135
- "module": "uq32_32",
3136
- "name": "UQ32_32",
3137
- "typeArguments": []
3138
- }
3139
- }
3140
- ]
3141
- },
3142
- "from_raw": {
3143
- "visibility": "Public",
3144
- "isEntry": false,
3145
- "typeParameters": [],
3146
- "parameters": [
3147
- "U64"
3148
- ],
3149
- "return": [
3150
- {
3151
- "Struct": {
3152
- "address": "0x1",
3153
- "module": "uq32_32",
3154
- "name": "UQ32_32",
3155
- "typeArguments": []
3156
- }
3157
- }
3158
- ]
3159
- },
3160
- "ge": {
3161
- "visibility": "Public",
3162
- "isEntry": false,
3163
- "typeParameters": [],
3164
- "parameters": [
3165
- {
3166
- "Struct": {
3167
- "address": "0x1",
3168
- "module": "uq32_32",
3169
- "name": "UQ32_32",
3170
- "typeArguments": []
3171
- }
3172
- },
3173
- {
3174
- "Struct": {
3175
- "address": "0x1",
3176
- "module": "uq32_32",
3177
- "name": "UQ32_32",
3178
- "typeArguments": []
3179
- }
3180
- }
3181
- ],
3182
- "return": [
3183
- "Bool"
3184
- ]
3185
- },
3186
- "gt": {
3187
- "visibility": "Public",
3188
- "isEntry": false,
3189
- "typeParameters": [],
3190
- "parameters": [
3191
- {
3192
- "Struct": {
3193
- "address": "0x1",
3194
- "module": "uq32_32",
3195
- "name": "UQ32_32",
3196
- "typeArguments": []
3197
- }
3198
- },
3199
- {
3200
- "Struct": {
3201
- "address": "0x1",
3202
- "module": "uq32_32",
3203
- "name": "UQ32_32",
3204
- "typeArguments": []
3205
- }
3206
- }
3207
- ],
3208
- "return": [
3209
- "Bool"
3210
- ]
3211
- },
3212
- "int_div": {
3213
- "visibility": "Public",
3214
- "isEntry": false,
3215
- "typeParameters": [],
3216
- "parameters": [
3217
- "U64",
3218
- {
3219
- "Struct": {
3220
- "address": "0x1",
3221
- "module": "uq32_32",
3222
- "name": "UQ32_32",
3223
- "typeArguments": []
3224
- }
3225
- }
3226
- ],
3227
- "return": [
3228
- "U64"
3229
- ]
3230
- },
3231
- "int_mul": {
3232
- "visibility": "Public",
3233
- "isEntry": false,
3234
- "typeParameters": [],
3235
- "parameters": [
3236
- "U64",
3237
- {
3238
- "Struct": {
3239
- "address": "0x1",
3240
- "module": "uq32_32",
3241
- "name": "UQ32_32",
3242
- "typeArguments": []
3243
- }
3244
- }
3245
- ],
3246
- "return": [
3247
- "U64"
3248
- ]
3249
- },
3250
- "le": {
3251
- "visibility": "Public",
3252
- "isEntry": false,
3253
- "typeParameters": [],
3254
- "parameters": [
3255
- {
3256
- "Struct": {
3257
- "address": "0x1",
3258
- "module": "uq32_32",
3259
- "name": "UQ32_32",
3260
- "typeArguments": []
3261
- }
3262
- },
3263
- {
3264
- "Struct": {
3265
- "address": "0x1",
3266
- "module": "uq32_32",
3267
- "name": "UQ32_32",
3268
- "typeArguments": []
3269
- }
3270
- }
3271
- ],
3272
- "return": [
3273
- "Bool"
3274
- ]
3275
- },
3276
- "lt": {
3277
- "visibility": "Public",
3278
- "isEntry": false,
3279
- "typeParameters": [],
3280
- "parameters": [
3281
- {
3282
- "Struct": {
3283
- "address": "0x1",
3284
- "module": "uq32_32",
3285
- "name": "UQ32_32",
3286
- "typeArguments": []
3287
- }
3288
- },
3289
- {
3290
- "Struct": {
3291
- "address": "0x1",
3292
- "module": "uq32_32",
3293
- "name": "UQ32_32",
3294
- "typeArguments": []
3295
- }
3296
- }
3297
- ],
3298
- "return": [
3299
- "Bool"
3300
- ]
3301
- },
3302
- "mul": {
3303
- "visibility": "Public",
3304
- "isEntry": false,
3305
- "typeParameters": [],
3306
- "parameters": [
3307
- {
3308
- "Struct": {
3309
- "address": "0x1",
3310
- "module": "uq32_32",
3311
- "name": "UQ32_32",
3312
- "typeArguments": []
3313
- }
3314
- },
3315
- {
3316
- "Struct": {
3317
- "address": "0x1",
3318
- "module": "uq32_32",
3319
- "name": "UQ32_32",
3320
- "typeArguments": []
3321
- }
3322
- }
3323
- ],
3324
- "return": [
3325
- {
3326
- "Struct": {
3327
- "address": "0x1",
3328
- "module": "uq32_32",
3329
- "name": "UQ32_32",
3330
- "typeArguments": []
3331
- }
3332
- }
3333
- ]
3334
- },
3335
- "sub": {
3336
- "visibility": "Public",
3337
- "isEntry": false,
3338
- "typeParameters": [],
3339
- "parameters": [
3340
- {
3341
- "Struct": {
3342
- "address": "0x1",
3343
- "module": "uq32_32",
3344
- "name": "UQ32_32",
3345
- "typeArguments": []
3346
- }
3347
- },
3348
- {
3349
- "Struct": {
3350
- "address": "0x1",
3351
- "module": "uq32_32",
3352
- "name": "UQ32_32",
3353
- "typeArguments": []
3354
- }
3355
- }
3356
- ],
3357
- "return": [
3358
- {
3359
- "Struct": {
3360
- "address": "0x1",
3361
- "module": "uq32_32",
3362
- "name": "UQ32_32",
3363
- "typeArguments": []
3364
- }
3365
- }
3366
- ]
3367
- },
3368
- "to_int": {
3369
- "visibility": "Public",
3370
- "isEntry": false,
3371
- "typeParameters": [],
3372
- "parameters": [
3373
- {
3374
- "Struct": {
3375
- "address": "0x1",
3376
- "module": "uq32_32",
3377
- "name": "UQ32_32",
3378
- "typeArguments": []
3379
- }
3380
- }
3381
- ],
3382
- "return": [
3383
- "U32"
3384
- ]
3385
- },
3386
- "to_raw": {
3387
- "visibility": "Public",
3388
- "isEntry": false,
3389
- "typeParameters": [],
3390
- "parameters": [
3391
- {
3392
- "Struct": {
3393
- "address": "0x1",
3394
- "module": "uq32_32",
3395
- "name": "UQ32_32",
3396
- "typeArguments": []
3397
- }
3398
- }
3399
- ],
3400
- "return": [
3401
- "U64"
3402
- ]
3403
- }
3404
- }
3405
- },
3406
- "uq64_64": {
3407
- "fileFormatVersion": 6,
3408
- "address": "0x1",
3409
- "name": "uq64_64",
3410
- "friends": [],
3411
- "structs": {
3412
- "UQ64_64": {
3413
- "abilities": {
3414
- "abilities": [
3415
- "Copy",
3416
- "Drop",
3417
- "Store"
3418
- ]
3419
- },
3420
- "typeParameters": [],
3421
- "fields": [
3422
- {
3423
- "name": "pos0",
3424
- "type": "U128"
3425
- }
3426
- ]
3427
- }
3428
- },
3429
- "exposedFunctions": {
3430
- "add": {
3431
- "visibility": "Public",
3432
- "isEntry": false,
3433
- "typeParameters": [],
3434
- "parameters": [
3435
- {
3436
- "Struct": {
3437
- "address": "0x1",
3438
- "module": "uq64_64",
3439
- "name": "UQ64_64",
3440
- "typeArguments": []
3441
- }
3442
- },
3443
- {
3444
- "Struct": {
3445
- "address": "0x1",
3446
- "module": "uq64_64",
3447
- "name": "UQ64_64",
3448
- "typeArguments": []
3449
- }
3450
- }
3451
- ],
3452
- "return": [
3453
- {
3454
- "Struct": {
3455
- "address": "0x1",
3456
- "module": "uq64_64",
3457
- "name": "UQ64_64",
3458
- "typeArguments": []
3459
- }
3460
- }
3461
- ]
3462
- },
3463
- "div": {
3464
- "visibility": "Public",
3465
- "isEntry": false,
3466
- "typeParameters": [],
3467
- "parameters": [
3468
- {
3469
- "Struct": {
3470
- "address": "0x1",
3471
- "module": "uq64_64",
3472
- "name": "UQ64_64",
3473
- "typeArguments": []
3474
- }
3475
- },
3476
- {
3477
- "Struct": {
3478
- "address": "0x1",
3479
- "module": "uq64_64",
3480
- "name": "UQ64_64",
3481
- "typeArguments": []
3482
- }
3483
- }
3484
- ],
3485
- "return": [
3486
- {
3487
- "Struct": {
3488
- "address": "0x1",
3489
- "module": "uq64_64",
3490
- "name": "UQ64_64",
3491
- "typeArguments": []
3492
- }
3493
- }
3494
- ]
3495
- },
3496
- "from_int": {
3497
- "visibility": "Public",
3498
- "isEntry": false,
3499
- "typeParameters": [],
3500
- "parameters": [
3501
- "U64"
3502
- ],
3503
- "return": [
3504
- {
3505
- "Struct": {
3506
- "address": "0x1",
3507
- "module": "uq64_64",
3508
- "name": "UQ64_64",
3509
- "typeArguments": []
3510
- }
3511
- }
3512
- ]
3513
- },
3514
- "from_quotient": {
3515
- "visibility": "Public",
3516
- "isEntry": false,
3517
- "typeParameters": [],
3518
- "parameters": [
3519
- "U128",
3520
- "U128"
3521
- ],
3522
- "return": [
3523
- {
3524
- "Struct": {
3525
- "address": "0x1",
3526
- "module": "uq64_64",
3527
- "name": "UQ64_64",
3528
- "typeArguments": []
3529
- }
3530
- }
3531
- ]
3532
- },
3533
- "from_raw": {
3534
- "visibility": "Public",
3535
- "isEntry": false,
3536
- "typeParameters": [],
3537
- "parameters": [
3538
- "U128"
3539
- ],
3540
- "return": [
3541
- {
3542
- "Struct": {
3543
- "address": "0x1",
3544
- "module": "uq64_64",
3545
- "name": "UQ64_64",
3546
- "typeArguments": []
3547
- }
3548
- }
3549
- ]
3550
- },
3551
- "ge": {
3552
- "visibility": "Public",
3553
- "isEntry": false,
3554
- "typeParameters": [],
3555
- "parameters": [
3556
- {
3557
- "Struct": {
3558
- "address": "0x1",
3559
- "module": "uq64_64",
3560
- "name": "UQ64_64",
3561
- "typeArguments": []
3562
- }
3563
- },
3564
- {
3565
- "Struct": {
3566
- "address": "0x1",
3567
- "module": "uq64_64",
3568
- "name": "UQ64_64",
3569
- "typeArguments": []
3570
- }
3571
- }
3572
- ],
3573
- "return": [
3574
- "Bool"
3575
- ]
3576
- },
3577
- "gt": {
3578
- "visibility": "Public",
3579
- "isEntry": false,
3580
- "typeParameters": [],
3581
- "parameters": [
3582
- {
3583
- "Struct": {
3584
- "address": "0x1",
3585
- "module": "uq64_64",
3586
- "name": "UQ64_64",
3587
- "typeArguments": []
3588
- }
3589
- },
3590
- {
3591
- "Struct": {
3592
- "address": "0x1",
3593
- "module": "uq64_64",
3594
- "name": "UQ64_64",
3595
- "typeArguments": []
3596
- }
3597
- }
3598
- ],
3599
- "return": [
3600
- "Bool"
3601
- ]
3602
- },
3603
- "int_div": {
3604
- "visibility": "Public",
3605
- "isEntry": false,
3606
- "typeParameters": [],
3607
- "parameters": [
3608
- "U128",
3609
- {
3610
- "Struct": {
3611
- "address": "0x1",
3612
- "module": "uq64_64",
3613
- "name": "UQ64_64",
3614
- "typeArguments": []
3615
- }
3616
- }
3617
- ],
3618
- "return": [
3619
- "U128"
3620
- ]
3621
- },
3622
- "int_mul": {
3623
- "visibility": "Public",
3624
- "isEntry": false,
3625
- "typeParameters": [],
3626
- "parameters": [
3627
- "U128",
3628
- {
3629
- "Struct": {
3630
- "address": "0x1",
3631
- "module": "uq64_64",
3632
- "name": "UQ64_64",
3633
- "typeArguments": []
3634
- }
3635
- }
3636
- ],
3637
- "return": [
3638
- "U128"
3639
- ]
3640
- },
3641
- "le": {
3642
- "visibility": "Public",
3643
- "isEntry": false,
3644
- "typeParameters": [],
3645
- "parameters": [
3646
- {
3647
- "Struct": {
3648
- "address": "0x1",
3649
- "module": "uq64_64",
3650
- "name": "UQ64_64",
3651
- "typeArguments": []
3652
- }
3653
- },
3654
- {
3655
- "Struct": {
3656
- "address": "0x1",
3657
- "module": "uq64_64",
3658
- "name": "UQ64_64",
3659
- "typeArguments": []
3660
- }
3661
- }
3662
- ],
3663
- "return": [
3664
- "Bool"
3665
- ]
3666
- },
3667
- "lt": {
3668
- "visibility": "Public",
3669
- "isEntry": false,
3670
- "typeParameters": [],
3671
- "parameters": [
3672
- {
3673
- "Struct": {
3674
- "address": "0x1",
3675
- "module": "uq64_64",
3676
- "name": "UQ64_64",
3677
- "typeArguments": []
3678
- }
3679
- },
3680
- {
3681
- "Struct": {
3682
- "address": "0x1",
3683
- "module": "uq64_64",
3684
- "name": "UQ64_64",
3685
- "typeArguments": []
3686
- }
3687
- }
3688
- ],
3689
- "return": [
3690
- "Bool"
3691
- ]
3692
- },
3693
- "mul": {
3694
- "visibility": "Public",
3695
- "isEntry": false,
3696
- "typeParameters": [],
3697
- "parameters": [
3698
- {
3699
- "Struct": {
3700
- "address": "0x1",
3701
- "module": "uq64_64",
3702
- "name": "UQ64_64",
3703
- "typeArguments": []
3704
- }
3705
- },
3706
- {
3707
- "Struct": {
3708
- "address": "0x1",
3709
- "module": "uq64_64",
3710
- "name": "UQ64_64",
3711
- "typeArguments": []
3712
- }
3713
- }
3714
- ],
3715
- "return": [
3716
- {
3717
- "Struct": {
3718
- "address": "0x1",
3719
- "module": "uq64_64",
3720
- "name": "UQ64_64",
3721
- "typeArguments": []
3722
- }
3723
- }
3724
- ]
3725
- },
3726
- "sub": {
3727
- "visibility": "Public",
3728
- "isEntry": false,
3729
- "typeParameters": [],
3730
- "parameters": [
3731
- {
3732
- "Struct": {
3733
- "address": "0x1",
3734
- "module": "uq64_64",
3735
- "name": "UQ64_64",
3736
- "typeArguments": []
3737
- }
3738
- },
3739
- {
3740
- "Struct": {
3741
- "address": "0x1",
3742
- "module": "uq64_64",
3743
- "name": "UQ64_64",
3744
- "typeArguments": []
3745
- }
3746
- }
3747
- ],
3748
- "return": [
3749
- {
3750
- "Struct": {
3751
- "address": "0x1",
3752
- "module": "uq64_64",
3753
- "name": "UQ64_64",
3754
- "typeArguments": []
3755
- }
3756
- }
3757
- ]
3758
- },
3759
- "to_int": {
3760
- "visibility": "Public",
3761
- "isEntry": false,
3762
- "typeParameters": [],
3763
- "parameters": [
3764
- {
3765
- "Struct": {
3766
- "address": "0x1",
3767
- "module": "uq64_64",
3768
- "name": "UQ64_64",
3769
- "typeArguments": []
3770
- }
3771
- }
3772
- ],
3773
- "return": [
3774
- "U64"
3775
- ]
3776
- },
3777
- "to_raw": {
3778
- "visibility": "Public",
3779
- "isEntry": false,
3780
- "typeParameters": [],
3781
- "parameters": [
3782
- {
3783
- "Struct": {
3784
- "address": "0x1",
3785
- "module": "uq64_64",
3786
- "name": "UQ64_64",
3787
- "typeArguments": []
3788
- }
3789
- }
3790
- ],
3791
- "return": [
3792
- "U128"
3793
- ]
3794
- }
3795
- }
3796
- },
3797
- "vector": {
3798
- "fileFormatVersion": 6,
3799
- "address": "0x1",
3800
- "name": "vector",
3801
- "friends": [],
3802
- "structs": {},
3803
- "exposedFunctions": {
3804
- "append": {
3805
- "visibility": "Public",
3806
- "isEntry": false,
3807
- "typeParameters": [
3808
- {
3809
- "abilities": []
3810
- }
3811
- ],
3812
- "parameters": [
3813
- {
3814
- "MutableReference": {
3815
- "Vector": {
3816
- "TypeParameter": 0
3817
- }
3818
- }
3819
- },
3820
- {
3821
- "Vector": {
3822
- "TypeParameter": 0
3823
- }
3824
- }
3825
- ],
3826
- "return": []
3827
- },
3828
- "borrow": {
3829
- "visibility": "Public",
3830
- "isEntry": false,
3831
- "typeParameters": [
3832
- {
3833
- "abilities": []
3834
- }
3835
- ],
3836
- "parameters": [
3837
- {
3838
- "Reference": {
3839
- "Vector": {
3840
- "TypeParameter": 0
3841
- }
3842
- }
3843
- },
3844
- "U64"
3845
- ],
3846
- "return": [
3847
- {
3848
- "Reference": {
3849
- "TypeParameter": 0
3850
- }
3851
- }
3852
- ]
3853
- },
3854
- "borrow_mut": {
3855
- "visibility": "Public",
3856
- "isEntry": false,
3857
- "typeParameters": [
3858
- {
3859
- "abilities": []
3860
- }
3861
- ],
3862
- "parameters": [
3863
- {
3864
- "MutableReference": {
3865
- "Vector": {
3866
- "TypeParameter": 0
3867
- }
3868
- }
3869
- },
3870
- "U64"
3871
- ],
3872
- "return": [
3873
- {
3874
- "MutableReference": {
3875
- "TypeParameter": 0
3876
- }
3877
- }
3878
- ]
3879
- },
3880
- "contains": {
3881
- "visibility": "Public",
3882
- "isEntry": false,
3883
- "typeParameters": [
3884
- {
3885
- "abilities": []
3886
- }
3887
- ],
3888
- "parameters": [
3889
- {
3890
- "Reference": {
3891
- "Vector": {
3892
- "TypeParameter": 0
3893
- }
3894
- }
3895
- },
3896
- {
3897
- "Reference": {
3898
- "TypeParameter": 0
3899
- }
3900
- }
3901
- ],
3902
- "return": [
3903
- "Bool"
3904
- ]
3905
- },
3906
- "destroy_empty": {
3907
- "visibility": "Public",
3908
- "isEntry": false,
3909
- "typeParameters": [
3910
- {
3911
- "abilities": []
3912
- }
3913
- ],
3914
- "parameters": [
3915
- {
3916
- "Vector": {
3917
- "TypeParameter": 0
3918
- }
3919
- }
3920
- ],
3921
- "return": []
3922
- },
3923
- "empty": {
3924
- "visibility": "Public",
3925
- "isEntry": false,
3926
- "typeParameters": [
3927
- {
3928
- "abilities": []
3929
- }
3930
- ],
3931
- "parameters": [],
3932
- "return": [
3933
- {
3934
- "Vector": {
3935
- "TypeParameter": 0
3936
- }
3937
- }
3938
- ]
3939
- },
3940
- "flatten": {
3941
- "visibility": "Public",
3942
- "isEntry": false,
3943
- "typeParameters": [
3944
- {
3945
- "abilities": []
3946
- }
3947
- ],
3948
- "parameters": [
3949
- {
3950
- "Vector": {
3951
- "Vector": {
3952
- "TypeParameter": 0
3953
- }
3954
- }
3955
- }
3956
- ],
3957
- "return": [
3958
- {
3959
- "Vector": {
3960
- "TypeParameter": 0
3961
- }
3962
- }
3963
- ]
3964
- },
3965
- "index_of": {
3966
- "visibility": "Public",
3967
- "isEntry": false,
3968
- "typeParameters": [
3969
- {
3970
- "abilities": []
3971
- }
3972
- ],
3973
- "parameters": [
3974
- {
3975
- "Reference": {
3976
- "Vector": {
3977
- "TypeParameter": 0
3978
- }
3979
- }
3980
- },
3981
- {
3982
- "Reference": {
3983
- "TypeParameter": 0
3984
- }
3985
- }
3986
- ],
3987
- "return": [
3988
- "Bool",
3989
- "U64"
3990
- ]
3991
- },
3992
- "insert": {
3993
- "visibility": "Public",
3994
- "isEntry": false,
3995
- "typeParameters": [
3996
- {
3997
- "abilities": []
3998
- }
3999
- ],
4000
- "parameters": [
4001
- {
4002
- "MutableReference": {
4003
- "Vector": {
4004
- "TypeParameter": 0
4005
- }
4006
- }
4007
- },
4008
- {
4009
- "TypeParameter": 0
4010
- },
4011
- "U64"
4012
- ],
4013
- "return": []
4014
- },
4015
- "is_empty": {
4016
- "visibility": "Public",
4017
- "isEntry": false,
4018
- "typeParameters": [
4019
- {
4020
- "abilities": []
4021
- }
4022
- ],
4023
- "parameters": [
4024
- {
4025
- "Reference": {
4026
- "Vector": {
4027
- "TypeParameter": 0
4028
- }
4029
- }
4030
- }
4031
- ],
4032
- "return": [
4033
- "Bool"
4034
- ]
4035
- },
4036
- "length": {
4037
- "visibility": "Public",
4038
- "isEntry": false,
4039
- "typeParameters": [
4040
- {
4041
- "abilities": []
4042
- }
4043
- ],
4044
- "parameters": [
4045
- {
4046
- "Reference": {
4047
- "Vector": {
4048
- "TypeParameter": 0
4049
- }
4050
- }
4051
- }
4052
- ],
4053
- "return": [
4054
- "U64"
4055
- ]
4056
- },
4057
- "pop_back": {
4058
- "visibility": "Public",
4059
- "isEntry": false,
4060
- "typeParameters": [
4061
- {
4062
- "abilities": []
4063
- }
4064
- ],
4065
- "parameters": [
4066
- {
4067
- "MutableReference": {
4068
- "Vector": {
4069
- "TypeParameter": 0
4070
- }
4071
- }
4072
- }
4073
- ],
4074
- "return": [
4075
- {
4076
- "TypeParameter": 0
4077
- }
4078
- ]
4079
- },
4080
- "push_back": {
4081
- "visibility": "Public",
4082
- "isEntry": false,
4083
- "typeParameters": [
4084
- {
4085
- "abilities": []
4086
- }
4087
- ],
4088
- "parameters": [
4089
- {
4090
- "MutableReference": {
4091
- "Vector": {
4092
- "TypeParameter": 0
4093
- }
4094
- }
4095
- },
4096
- {
4097
- "TypeParameter": 0
4098
- }
4099
- ],
4100
- "return": []
4101
- },
4102
- "remove": {
4103
- "visibility": "Public",
4104
- "isEntry": false,
4105
- "typeParameters": [
4106
- {
4107
- "abilities": []
4108
- }
4109
- ],
4110
- "parameters": [
4111
- {
4112
- "MutableReference": {
4113
- "Vector": {
4114
- "TypeParameter": 0
4115
- }
4116
- }
4117
- },
4118
- "U64"
4119
- ],
4120
- "return": [
4121
- {
4122
- "TypeParameter": 0
4123
- }
4124
- ]
4125
- },
4126
- "reverse": {
4127
- "visibility": "Public",
4128
- "isEntry": false,
4129
- "typeParameters": [
4130
- {
4131
- "abilities": []
4132
- }
4133
- ],
4134
- "parameters": [
4135
- {
4136
- "MutableReference": {
4137
- "Vector": {
4138
- "TypeParameter": 0
4139
- }
4140
- }
4141
- }
4142
- ],
4143
- "return": []
4144
- },
4145
- "singleton": {
4146
- "visibility": "Public",
4147
- "isEntry": false,
4148
- "typeParameters": [
4149
- {
4150
- "abilities": []
4151
- }
4152
- ],
4153
- "parameters": [
4154
- {
4155
- "TypeParameter": 0
4156
- }
4157
- ],
4158
- "return": [
4159
- {
4160
- "Vector": {
4161
- "TypeParameter": 0
4162
- }
4163
- }
4164
- ]
4165
- },
4166
- "swap": {
4167
- "visibility": "Public",
4168
- "isEntry": false,
4169
- "typeParameters": [
4170
- {
4171
- "abilities": []
4172
- }
4173
- ],
4174
- "parameters": [
4175
- {
4176
- "MutableReference": {
4177
- "Vector": {
4178
- "TypeParameter": 0
4179
- }
4180
- }
4181
- },
4182
- "U64",
4183
- "U64"
4184
- ],
4185
- "return": []
4186
- },
4187
- "swap_remove": {
4188
- "visibility": "Public",
4189
- "isEntry": false,
4190
- "typeParameters": [
4191
- {
4192
- "abilities": []
4193
- }
4194
- ],
4195
- "parameters": [
4196
- {
4197
- "MutableReference": {
4198
- "Vector": {
4199
- "TypeParameter": 0
4200
- }
4201
- }
4202
- },
4203
- "U64"
4204
- ],
4205
- "return": [
4206
- {
4207
- "TypeParameter": 0
4208
- }
4209
- ]
4210
- }
4211
- }
4212
- }
4213
- }