@sentio/sdk 2.1.5 → 2.2.0-rc.1

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 (101) hide show
  1. package/lib/aptos/aptos-plugin.js +5 -13
  2. package/lib/aptos/aptos-plugin.js.map +1 -1
  3. package/lib/aptos/aptos-processor.d.ts +5 -28
  4. package/lib/aptos/aptos-processor.js +4 -14
  5. package/lib/aptos/aptos-processor.js.map +1 -1
  6. package/lib/aptos/builtin/0x1.d.ts +116 -115
  7. package/lib/aptos/builtin/0x1.js +0 -1
  8. package/lib/aptos/builtin/0x1.js.map +1 -1
  9. package/lib/aptos/builtin/0x3.d.ts +28 -27
  10. package/lib/aptos/builtin/0x3.js +0 -1
  11. package/lib/aptos/builtin/0x3.js.map +1 -1
  12. package/lib/aptos/codegen/codegen.js +5 -5
  13. package/lib/aptos/codegen/codegen.js.map +1 -1
  14. package/lib/aptos/index.d.ts +0 -1
  15. package/lib/aptos/index.js.map +1 -1
  16. package/lib/aptos/tests/types/reserved.d.ts +21 -20
  17. package/lib/aptos/tests/types/reserved.js +0 -1
  18. package/lib/aptos/tests/types/reserved.js.map +1 -1
  19. package/lib/aptos/tests/types/soffl3.d.ts +37 -36
  20. package/lib/aptos/tests/types/soffl3.js +0 -1
  21. package/lib/aptos/tests/types/soffl3.js.map +1 -1
  22. package/lib/aptos/tests/types/souffle.d.ts +21 -20
  23. package/lib/aptos/tests/types/souffle.js +0 -1
  24. package/lib/aptos/tests/types/souffle.js.map +1 -1
  25. package/lib/core/chain.d.ts +3 -2
  26. package/lib/core/chain.js +3 -2
  27. package/lib/core/chain.js.map +1 -1
  28. package/lib/core/index.d.ts +0 -2
  29. package/lib/core/index.js +0 -2
  30. package/lib/core/index.js.map +1 -1
  31. package/lib/eth/context.d.ts +0 -7
  32. package/lib/eth/context.js +0 -24
  33. package/lib/eth/context.js.map +1 -1
  34. package/lib/eth/eth-plugin.js +4 -14
  35. package/lib/eth/eth-plugin.js.map +1 -1
  36. package/lib/move/index.d.ts +25 -0
  37. package/lib/move/index.js +11 -0
  38. package/lib/move/index.js.map +1 -0
  39. package/lib/solana/solana-plugin.js +3 -10
  40. package/lib/solana/solana-plugin.js.map +1 -1
  41. package/lib/sui/context.d.ts +13 -0
  42. package/lib/sui/context.js +33 -0
  43. package/lib/sui/context.js.map +1 -0
  44. package/lib/sui/index.d.ts +2 -0
  45. package/lib/sui/index.js +3 -0
  46. package/lib/sui/index.js.map +1 -0
  47. package/lib/sui/models.d.ts +8 -0
  48. package/lib/sui/models.js +25 -0
  49. package/lib/sui/models.js.map +1 -0
  50. package/lib/sui/network.d.ts +11 -0
  51. package/lib/sui/network.js +26 -0
  52. package/lib/sui/network.js.map +1 -0
  53. package/lib/sui/sui-plugin.d.ts +12 -0
  54. package/lib/sui/sui-plugin.js +96 -0
  55. package/lib/sui/sui-plugin.js.map +1 -0
  56. package/lib/sui/sui-processor.d.ts +29 -0
  57. package/lib/sui/sui-processor.js +120 -0
  58. package/lib/sui/sui-processor.js.map +1 -0
  59. package/lib/sui/tests/sui.test.d.ts +1 -0
  60. package/lib/sui/tests/sui.test.js.map +1 -0
  61. package/lib/testing/test-processor-server.d.ts +1 -0
  62. package/lib/testing/test-processor-server.js +3 -0
  63. package/lib/testing/test-processor-server.js.map +1 -1
  64. package/lib/utils/price.d.ts +6 -2
  65. package/lib/utils/price.js +15 -6
  66. package/lib/utils/price.js.map +1 -1
  67. package/package.json +14 -7
  68. package/src/aptos/aptos-plugin.ts +8 -16
  69. package/src/aptos/aptos-processor.ts +8 -46
  70. package/src/aptos/builtin/0x1.ts +115 -115
  71. package/src/aptos/builtin/0x3.ts +27 -27
  72. package/src/aptos/codegen/codegen.ts +5 -5
  73. package/src/aptos/index.ts +0 -1
  74. package/src/aptos/tests/types/reserved.ts +20 -20
  75. package/src/aptos/tests/types/soffl3.ts +36 -36
  76. package/src/aptos/tests/types/souffle.ts +20 -20
  77. package/src/core/chain.ts +4 -3
  78. package/src/core/index.ts +0 -3
  79. package/src/eth/context.ts +0 -26
  80. package/src/eth/eth-plugin.ts +3 -13
  81. package/src/move/index.ts +33 -0
  82. package/src/solana/solana-plugin.ts +2 -9
  83. package/src/sui/abis/0x1.json +2067 -0
  84. package/src/sui/abis/0x2.json +15598 -0
  85. package/src/sui/context.ts +43 -0
  86. package/src/sui/index.ts +3 -0
  87. package/src/sui/models.ts +38 -0
  88. package/src/sui/network.ts +28 -0
  89. package/src/sui/sui-plugin.ts +122 -0
  90. package/src/sui/sui-processor.ts +159 -0
  91. package/src/testing/test-processor-server.ts +4 -0
  92. package/src/utils/price.ts +31 -10
  93. package/lib/core/sui-plugin.d.ts +0 -8
  94. package/lib/core/sui-plugin.js +0 -42
  95. package/lib/core/sui-plugin.js.map +0 -1
  96. package/lib/core/sui-processor.d.ts +0 -25
  97. package/lib/core/sui-processor.js +0 -43
  98. package/lib/core/sui-processor.js.map +0 -1
  99. package/src/aptos/codegen/tsconfig.json +0 -8
  100. package/src/core/sui-plugin.ts +0 -48
  101. package/src/core/sui-processor.ts +0 -58
@@ -0,0 +1,2067 @@
1
+ {
2
+ "id": 1,
3
+ "jsonrpc": "2.0",
4
+ "result": {
5
+ "address": {
6
+ "file_format_version": 6,
7
+ "address": "0x1",
8
+ "name": "address",
9
+ "friends": [],
10
+ "structs": {},
11
+ "exposed_functions": {
12
+ "length": {
13
+ "visibility": "Public",
14
+ "is_entry": false,
15
+ "type_parameters": [],
16
+ "parameters": [],
17
+ "return_": ["U64"]
18
+ }
19
+ }
20
+ },
21
+ "ascii": {
22
+ "file_format_version": 6,
23
+ "address": "0x1",
24
+ "name": "ascii",
25
+ "friends": [],
26
+ "structs": {
27
+ "Char": {
28
+ "abilities": {
29
+ "abilities": ["Copy", "Drop", "Store"]
30
+ },
31
+ "type_parameters": [],
32
+ "fields": [
33
+ {
34
+ "name": "byte",
35
+ "type_": "U8"
36
+ }
37
+ ]
38
+ },
39
+ "String": {
40
+ "abilities": {
41
+ "abilities": ["Copy", "Drop", "Store"]
42
+ },
43
+ "type_parameters": [],
44
+ "fields": [
45
+ {
46
+ "name": "bytes",
47
+ "type_": {
48
+ "Vector": "U8"
49
+ }
50
+ }
51
+ ]
52
+ }
53
+ },
54
+ "exposed_functions": {
55
+ "all_characters_printable": {
56
+ "visibility": "Public",
57
+ "is_entry": false,
58
+ "type_parameters": [],
59
+ "parameters": [
60
+ {
61
+ "Reference": {
62
+ "Struct": {
63
+ "address": "0x1",
64
+ "module": "ascii",
65
+ "name": "String",
66
+ "type_arguments": []
67
+ }
68
+ }
69
+ }
70
+ ],
71
+ "return_": ["Bool"]
72
+ },
73
+ "as_bytes": {
74
+ "visibility": "Public",
75
+ "is_entry": false,
76
+ "type_parameters": [],
77
+ "parameters": [
78
+ {
79
+ "Reference": {
80
+ "Struct": {
81
+ "address": "0x1",
82
+ "module": "ascii",
83
+ "name": "String",
84
+ "type_arguments": []
85
+ }
86
+ }
87
+ }
88
+ ],
89
+ "return_": [
90
+ {
91
+ "Reference": {
92
+ "Vector": "U8"
93
+ }
94
+ }
95
+ ]
96
+ },
97
+ "byte": {
98
+ "visibility": "Public",
99
+ "is_entry": false,
100
+ "type_parameters": [],
101
+ "parameters": [
102
+ {
103
+ "Struct": {
104
+ "address": "0x1",
105
+ "module": "ascii",
106
+ "name": "Char",
107
+ "type_arguments": []
108
+ }
109
+ }
110
+ ],
111
+ "return_": ["U8"]
112
+ },
113
+ "char": {
114
+ "visibility": "Public",
115
+ "is_entry": false,
116
+ "type_parameters": [],
117
+ "parameters": ["U8"],
118
+ "return_": [
119
+ {
120
+ "Struct": {
121
+ "address": "0x1",
122
+ "module": "ascii",
123
+ "name": "Char",
124
+ "type_arguments": []
125
+ }
126
+ }
127
+ ]
128
+ },
129
+ "into_bytes": {
130
+ "visibility": "Public",
131
+ "is_entry": false,
132
+ "type_parameters": [],
133
+ "parameters": [
134
+ {
135
+ "Struct": {
136
+ "address": "0x1",
137
+ "module": "ascii",
138
+ "name": "String",
139
+ "type_arguments": []
140
+ }
141
+ }
142
+ ],
143
+ "return_": [
144
+ {
145
+ "Vector": "U8"
146
+ }
147
+ ]
148
+ },
149
+ "is_printable_char": {
150
+ "visibility": "Public",
151
+ "is_entry": false,
152
+ "type_parameters": [],
153
+ "parameters": ["U8"],
154
+ "return_": ["Bool"]
155
+ },
156
+ "is_valid_char": {
157
+ "visibility": "Public",
158
+ "is_entry": false,
159
+ "type_parameters": [],
160
+ "parameters": ["U8"],
161
+ "return_": ["Bool"]
162
+ },
163
+ "length": {
164
+ "visibility": "Public",
165
+ "is_entry": false,
166
+ "type_parameters": [],
167
+ "parameters": [
168
+ {
169
+ "Reference": {
170
+ "Struct": {
171
+ "address": "0x1",
172
+ "module": "ascii",
173
+ "name": "String",
174
+ "type_arguments": []
175
+ }
176
+ }
177
+ }
178
+ ],
179
+ "return_": ["U64"]
180
+ },
181
+ "pop_char": {
182
+ "visibility": "Public",
183
+ "is_entry": false,
184
+ "type_parameters": [],
185
+ "parameters": [
186
+ {
187
+ "MutableReference": {
188
+ "Struct": {
189
+ "address": "0x1",
190
+ "module": "ascii",
191
+ "name": "String",
192
+ "type_arguments": []
193
+ }
194
+ }
195
+ }
196
+ ],
197
+ "return_": [
198
+ {
199
+ "Struct": {
200
+ "address": "0x1",
201
+ "module": "ascii",
202
+ "name": "Char",
203
+ "type_arguments": []
204
+ }
205
+ }
206
+ ]
207
+ },
208
+ "push_char": {
209
+ "visibility": "Public",
210
+ "is_entry": false,
211
+ "type_parameters": [],
212
+ "parameters": [
213
+ {
214
+ "MutableReference": {
215
+ "Struct": {
216
+ "address": "0x1",
217
+ "module": "ascii",
218
+ "name": "String",
219
+ "type_arguments": []
220
+ }
221
+ }
222
+ },
223
+ {
224
+ "Struct": {
225
+ "address": "0x1",
226
+ "module": "ascii",
227
+ "name": "Char",
228
+ "type_arguments": []
229
+ }
230
+ }
231
+ ],
232
+ "return_": []
233
+ },
234
+ "string": {
235
+ "visibility": "Public",
236
+ "is_entry": false,
237
+ "type_parameters": [],
238
+ "parameters": [
239
+ {
240
+ "Vector": "U8"
241
+ }
242
+ ],
243
+ "return_": [
244
+ {
245
+ "Struct": {
246
+ "address": "0x1",
247
+ "module": "ascii",
248
+ "name": "String",
249
+ "type_arguments": []
250
+ }
251
+ }
252
+ ]
253
+ },
254
+ "try_string": {
255
+ "visibility": "Public",
256
+ "is_entry": false,
257
+ "type_parameters": [],
258
+ "parameters": [
259
+ {
260
+ "Vector": "U8"
261
+ }
262
+ ],
263
+ "return_": [
264
+ {
265
+ "Struct": {
266
+ "address": "0x1",
267
+ "module": "option",
268
+ "name": "Option",
269
+ "type_arguments": [
270
+ {
271
+ "Struct": {
272
+ "address": "0x1",
273
+ "module": "ascii",
274
+ "name": "String",
275
+ "type_arguments": []
276
+ }
277
+ }
278
+ ]
279
+ }
280
+ }
281
+ ]
282
+ }
283
+ }
284
+ },
285
+ "bcs": {
286
+ "file_format_version": 6,
287
+ "address": "0x1",
288
+ "name": "bcs",
289
+ "friends": [],
290
+ "structs": {},
291
+ "exposed_functions": {
292
+ "to_bytes": {
293
+ "visibility": "Public",
294
+ "is_entry": false,
295
+ "type_parameters": [
296
+ {
297
+ "abilities": []
298
+ }
299
+ ],
300
+ "parameters": [
301
+ {
302
+ "Reference": {
303
+ "TypeParameter": 0
304
+ }
305
+ }
306
+ ],
307
+ "return_": [
308
+ {
309
+ "Vector": "U8"
310
+ }
311
+ ]
312
+ }
313
+ }
314
+ },
315
+ "bit_vector": {
316
+ "file_format_version": 6,
317
+ "address": "0x1",
318
+ "name": "bit_vector",
319
+ "friends": [],
320
+ "structs": {
321
+ "BitVector": {
322
+ "abilities": {
323
+ "abilities": ["Copy", "Drop", "Store"]
324
+ },
325
+ "type_parameters": [],
326
+ "fields": [
327
+ {
328
+ "name": "length",
329
+ "type_": "U64"
330
+ },
331
+ {
332
+ "name": "bit_field",
333
+ "type_": {
334
+ "Vector": "Bool"
335
+ }
336
+ }
337
+ ]
338
+ }
339
+ },
340
+ "exposed_functions": {
341
+ "is_index_set": {
342
+ "visibility": "Public",
343
+ "is_entry": false,
344
+ "type_parameters": [],
345
+ "parameters": [
346
+ {
347
+ "Reference": {
348
+ "Struct": {
349
+ "address": "0x1",
350
+ "module": "bit_vector",
351
+ "name": "BitVector",
352
+ "type_arguments": []
353
+ }
354
+ }
355
+ },
356
+ "U64"
357
+ ],
358
+ "return_": ["Bool"]
359
+ },
360
+ "length": {
361
+ "visibility": "Public",
362
+ "is_entry": false,
363
+ "type_parameters": [],
364
+ "parameters": [
365
+ {
366
+ "Reference": {
367
+ "Struct": {
368
+ "address": "0x1",
369
+ "module": "bit_vector",
370
+ "name": "BitVector",
371
+ "type_arguments": []
372
+ }
373
+ }
374
+ }
375
+ ],
376
+ "return_": ["U64"]
377
+ },
378
+ "longest_set_sequence_starting_at": {
379
+ "visibility": "Public",
380
+ "is_entry": false,
381
+ "type_parameters": [],
382
+ "parameters": [
383
+ {
384
+ "Reference": {
385
+ "Struct": {
386
+ "address": "0x1",
387
+ "module": "bit_vector",
388
+ "name": "BitVector",
389
+ "type_arguments": []
390
+ }
391
+ }
392
+ },
393
+ "U64"
394
+ ],
395
+ "return_": ["U64"]
396
+ },
397
+ "new": {
398
+ "visibility": "Public",
399
+ "is_entry": false,
400
+ "type_parameters": [],
401
+ "parameters": ["U64"],
402
+ "return_": [
403
+ {
404
+ "Struct": {
405
+ "address": "0x1",
406
+ "module": "bit_vector",
407
+ "name": "BitVector",
408
+ "type_arguments": []
409
+ }
410
+ }
411
+ ]
412
+ },
413
+ "set": {
414
+ "visibility": "Public",
415
+ "is_entry": false,
416
+ "type_parameters": [],
417
+ "parameters": [
418
+ {
419
+ "MutableReference": {
420
+ "Struct": {
421
+ "address": "0x1",
422
+ "module": "bit_vector",
423
+ "name": "BitVector",
424
+ "type_arguments": []
425
+ }
426
+ }
427
+ },
428
+ "U64"
429
+ ],
430
+ "return_": []
431
+ },
432
+ "shift_left": {
433
+ "visibility": "Public",
434
+ "is_entry": false,
435
+ "type_parameters": [],
436
+ "parameters": [
437
+ {
438
+ "MutableReference": {
439
+ "Struct": {
440
+ "address": "0x1",
441
+ "module": "bit_vector",
442
+ "name": "BitVector",
443
+ "type_arguments": []
444
+ }
445
+ }
446
+ },
447
+ "U64"
448
+ ],
449
+ "return_": []
450
+ },
451
+ "unset": {
452
+ "visibility": "Public",
453
+ "is_entry": false,
454
+ "type_parameters": [],
455
+ "parameters": [
456
+ {
457
+ "MutableReference": {
458
+ "Struct": {
459
+ "address": "0x1",
460
+ "module": "bit_vector",
461
+ "name": "BitVector",
462
+ "type_arguments": []
463
+ }
464
+ }
465
+ },
466
+ "U64"
467
+ ],
468
+ "return_": []
469
+ }
470
+ }
471
+ },
472
+ "debug": {
473
+ "file_format_version": 6,
474
+ "address": "0x1",
475
+ "name": "debug",
476
+ "friends": [],
477
+ "structs": {},
478
+ "exposed_functions": {
479
+ "print": {
480
+ "visibility": "Public",
481
+ "is_entry": false,
482
+ "type_parameters": [
483
+ {
484
+ "abilities": []
485
+ }
486
+ ],
487
+ "parameters": [
488
+ {
489
+ "Reference": {
490
+ "TypeParameter": 0
491
+ }
492
+ }
493
+ ],
494
+ "return_": []
495
+ },
496
+ "print_stack_trace": {
497
+ "visibility": "Public",
498
+ "is_entry": false,
499
+ "type_parameters": [],
500
+ "parameters": [],
501
+ "return_": []
502
+ }
503
+ }
504
+ },
505
+ "fixed_point32": {
506
+ "file_format_version": 6,
507
+ "address": "0x1",
508
+ "name": "fixed_point32",
509
+ "friends": [],
510
+ "structs": {
511
+ "FixedPoint32": {
512
+ "abilities": {
513
+ "abilities": ["Copy", "Drop", "Store"]
514
+ },
515
+ "type_parameters": [],
516
+ "fields": [
517
+ {
518
+ "name": "value",
519
+ "type_": "U64"
520
+ }
521
+ ]
522
+ }
523
+ },
524
+ "exposed_functions": {
525
+ "create_from_rational": {
526
+ "visibility": "Public",
527
+ "is_entry": false,
528
+ "type_parameters": [],
529
+ "parameters": ["U64", "U64"],
530
+ "return_": [
531
+ {
532
+ "Struct": {
533
+ "address": "0x1",
534
+ "module": "fixed_point32",
535
+ "name": "FixedPoint32",
536
+ "type_arguments": []
537
+ }
538
+ }
539
+ ]
540
+ },
541
+ "create_from_raw_value": {
542
+ "visibility": "Public",
543
+ "is_entry": false,
544
+ "type_parameters": [],
545
+ "parameters": ["U64"],
546
+ "return_": [
547
+ {
548
+ "Struct": {
549
+ "address": "0x1",
550
+ "module": "fixed_point32",
551
+ "name": "FixedPoint32",
552
+ "type_arguments": []
553
+ }
554
+ }
555
+ ]
556
+ },
557
+ "divide_u64": {
558
+ "visibility": "Public",
559
+ "is_entry": false,
560
+ "type_parameters": [],
561
+ "parameters": [
562
+ "U64",
563
+ {
564
+ "Struct": {
565
+ "address": "0x1",
566
+ "module": "fixed_point32",
567
+ "name": "FixedPoint32",
568
+ "type_arguments": []
569
+ }
570
+ }
571
+ ],
572
+ "return_": ["U64"]
573
+ },
574
+ "get_raw_value": {
575
+ "visibility": "Public",
576
+ "is_entry": false,
577
+ "type_parameters": [],
578
+ "parameters": [
579
+ {
580
+ "Struct": {
581
+ "address": "0x1",
582
+ "module": "fixed_point32",
583
+ "name": "FixedPoint32",
584
+ "type_arguments": []
585
+ }
586
+ }
587
+ ],
588
+ "return_": ["U64"]
589
+ },
590
+ "is_zero": {
591
+ "visibility": "Public",
592
+ "is_entry": false,
593
+ "type_parameters": [],
594
+ "parameters": [
595
+ {
596
+ "Struct": {
597
+ "address": "0x1",
598
+ "module": "fixed_point32",
599
+ "name": "FixedPoint32",
600
+ "type_arguments": []
601
+ }
602
+ }
603
+ ],
604
+ "return_": ["Bool"]
605
+ },
606
+ "multiply_u64": {
607
+ "visibility": "Public",
608
+ "is_entry": false,
609
+ "type_parameters": [],
610
+ "parameters": [
611
+ "U64",
612
+ {
613
+ "Struct": {
614
+ "address": "0x1",
615
+ "module": "fixed_point32",
616
+ "name": "FixedPoint32",
617
+ "type_arguments": []
618
+ }
619
+ }
620
+ ],
621
+ "return_": ["U64"]
622
+ }
623
+ }
624
+ },
625
+ "hash": {
626
+ "file_format_version": 6,
627
+ "address": "0x1",
628
+ "name": "hash",
629
+ "friends": [],
630
+ "structs": {},
631
+ "exposed_functions": {
632
+ "sha2_256": {
633
+ "visibility": "Public",
634
+ "is_entry": false,
635
+ "type_parameters": [],
636
+ "parameters": [
637
+ {
638
+ "Vector": "U8"
639
+ }
640
+ ],
641
+ "return_": [
642
+ {
643
+ "Vector": "U8"
644
+ }
645
+ ]
646
+ },
647
+ "sha3_256": {
648
+ "visibility": "Public",
649
+ "is_entry": false,
650
+ "type_parameters": [],
651
+ "parameters": [
652
+ {
653
+ "Vector": "U8"
654
+ }
655
+ ],
656
+ "return_": [
657
+ {
658
+ "Vector": "U8"
659
+ }
660
+ ]
661
+ }
662
+ }
663
+ },
664
+ "option": {
665
+ "file_format_version": 6,
666
+ "address": "0x1",
667
+ "name": "option",
668
+ "friends": [],
669
+ "structs": {
670
+ "Option": {
671
+ "abilities": {
672
+ "abilities": ["Copy", "Drop", "Store"]
673
+ },
674
+ "type_parameters": [
675
+ {
676
+ "constraints": {
677
+ "abilities": []
678
+ },
679
+ "is_phantom": false
680
+ }
681
+ ],
682
+ "fields": [
683
+ {
684
+ "name": "vec",
685
+ "type_": {
686
+ "Vector": {
687
+ "TypeParameter": 0
688
+ }
689
+ }
690
+ }
691
+ ]
692
+ }
693
+ },
694
+ "exposed_functions": {
695
+ "borrow": {
696
+ "visibility": "Public",
697
+ "is_entry": false,
698
+ "type_parameters": [
699
+ {
700
+ "abilities": []
701
+ }
702
+ ],
703
+ "parameters": [
704
+ {
705
+ "Reference": {
706
+ "Struct": {
707
+ "address": "0x1",
708
+ "module": "option",
709
+ "name": "Option",
710
+ "type_arguments": [
711
+ {
712
+ "TypeParameter": 0
713
+ }
714
+ ]
715
+ }
716
+ }
717
+ }
718
+ ],
719
+ "return_": [
720
+ {
721
+ "Reference": {
722
+ "TypeParameter": 0
723
+ }
724
+ }
725
+ ]
726
+ },
727
+ "borrow_mut": {
728
+ "visibility": "Public",
729
+ "is_entry": false,
730
+ "type_parameters": [
731
+ {
732
+ "abilities": []
733
+ }
734
+ ],
735
+ "parameters": [
736
+ {
737
+ "MutableReference": {
738
+ "Struct": {
739
+ "address": "0x1",
740
+ "module": "option",
741
+ "name": "Option",
742
+ "type_arguments": [
743
+ {
744
+ "TypeParameter": 0
745
+ }
746
+ ]
747
+ }
748
+ }
749
+ }
750
+ ],
751
+ "return_": [
752
+ {
753
+ "MutableReference": {
754
+ "TypeParameter": 0
755
+ }
756
+ }
757
+ ]
758
+ },
759
+ "borrow_with_default": {
760
+ "visibility": "Public",
761
+ "is_entry": false,
762
+ "type_parameters": [
763
+ {
764
+ "abilities": []
765
+ }
766
+ ],
767
+ "parameters": [
768
+ {
769
+ "Reference": {
770
+ "Struct": {
771
+ "address": "0x1",
772
+ "module": "option",
773
+ "name": "Option",
774
+ "type_arguments": [
775
+ {
776
+ "TypeParameter": 0
777
+ }
778
+ ]
779
+ }
780
+ }
781
+ },
782
+ {
783
+ "Reference": {
784
+ "TypeParameter": 0
785
+ }
786
+ }
787
+ ],
788
+ "return_": [
789
+ {
790
+ "Reference": {
791
+ "TypeParameter": 0
792
+ }
793
+ }
794
+ ]
795
+ },
796
+ "contains": {
797
+ "visibility": "Public",
798
+ "is_entry": false,
799
+ "type_parameters": [
800
+ {
801
+ "abilities": []
802
+ }
803
+ ],
804
+ "parameters": [
805
+ {
806
+ "Reference": {
807
+ "Struct": {
808
+ "address": "0x1",
809
+ "module": "option",
810
+ "name": "Option",
811
+ "type_arguments": [
812
+ {
813
+ "TypeParameter": 0
814
+ }
815
+ ]
816
+ }
817
+ }
818
+ },
819
+ {
820
+ "Reference": {
821
+ "TypeParameter": 0
822
+ }
823
+ }
824
+ ],
825
+ "return_": ["Bool"]
826
+ },
827
+ "destroy_none": {
828
+ "visibility": "Public",
829
+ "is_entry": false,
830
+ "type_parameters": [
831
+ {
832
+ "abilities": []
833
+ }
834
+ ],
835
+ "parameters": [
836
+ {
837
+ "Struct": {
838
+ "address": "0x1",
839
+ "module": "option",
840
+ "name": "Option",
841
+ "type_arguments": [
842
+ {
843
+ "TypeParameter": 0
844
+ }
845
+ ]
846
+ }
847
+ }
848
+ ],
849
+ "return_": []
850
+ },
851
+ "destroy_some": {
852
+ "visibility": "Public",
853
+ "is_entry": false,
854
+ "type_parameters": [
855
+ {
856
+ "abilities": []
857
+ }
858
+ ],
859
+ "parameters": [
860
+ {
861
+ "Struct": {
862
+ "address": "0x1",
863
+ "module": "option",
864
+ "name": "Option",
865
+ "type_arguments": [
866
+ {
867
+ "TypeParameter": 0
868
+ }
869
+ ]
870
+ }
871
+ }
872
+ ],
873
+ "return_": [
874
+ {
875
+ "TypeParameter": 0
876
+ }
877
+ ]
878
+ },
879
+ "destroy_with_default": {
880
+ "visibility": "Public",
881
+ "is_entry": false,
882
+ "type_parameters": [
883
+ {
884
+ "abilities": ["Drop"]
885
+ }
886
+ ],
887
+ "parameters": [
888
+ {
889
+ "Struct": {
890
+ "address": "0x1",
891
+ "module": "option",
892
+ "name": "Option",
893
+ "type_arguments": [
894
+ {
895
+ "TypeParameter": 0
896
+ }
897
+ ]
898
+ }
899
+ },
900
+ {
901
+ "TypeParameter": 0
902
+ }
903
+ ],
904
+ "return_": [
905
+ {
906
+ "TypeParameter": 0
907
+ }
908
+ ]
909
+ },
910
+ "extract": {
911
+ "visibility": "Public",
912
+ "is_entry": false,
913
+ "type_parameters": [
914
+ {
915
+ "abilities": []
916
+ }
917
+ ],
918
+ "parameters": [
919
+ {
920
+ "MutableReference": {
921
+ "Struct": {
922
+ "address": "0x1",
923
+ "module": "option",
924
+ "name": "Option",
925
+ "type_arguments": [
926
+ {
927
+ "TypeParameter": 0
928
+ }
929
+ ]
930
+ }
931
+ }
932
+ }
933
+ ],
934
+ "return_": [
935
+ {
936
+ "TypeParameter": 0
937
+ }
938
+ ]
939
+ },
940
+ "fill": {
941
+ "visibility": "Public",
942
+ "is_entry": false,
943
+ "type_parameters": [
944
+ {
945
+ "abilities": []
946
+ }
947
+ ],
948
+ "parameters": [
949
+ {
950
+ "MutableReference": {
951
+ "Struct": {
952
+ "address": "0x1",
953
+ "module": "option",
954
+ "name": "Option",
955
+ "type_arguments": [
956
+ {
957
+ "TypeParameter": 0
958
+ }
959
+ ]
960
+ }
961
+ }
962
+ },
963
+ {
964
+ "TypeParameter": 0
965
+ }
966
+ ],
967
+ "return_": []
968
+ },
969
+ "get_with_default": {
970
+ "visibility": "Public",
971
+ "is_entry": false,
972
+ "type_parameters": [
973
+ {
974
+ "abilities": ["Copy", "Drop"]
975
+ }
976
+ ],
977
+ "parameters": [
978
+ {
979
+ "Reference": {
980
+ "Struct": {
981
+ "address": "0x1",
982
+ "module": "option",
983
+ "name": "Option",
984
+ "type_arguments": [
985
+ {
986
+ "TypeParameter": 0
987
+ }
988
+ ]
989
+ }
990
+ }
991
+ },
992
+ {
993
+ "TypeParameter": 0
994
+ }
995
+ ],
996
+ "return_": [
997
+ {
998
+ "TypeParameter": 0
999
+ }
1000
+ ]
1001
+ },
1002
+ "is_none": {
1003
+ "visibility": "Public",
1004
+ "is_entry": false,
1005
+ "type_parameters": [
1006
+ {
1007
+ "abilities": []
1008
+ }
1009
+ ],
1010
+ "parameters": [
1011
+ {
1012
+ "Reference": {
1013
+ "Struct": {
1014
+ "address": "0x1",
1015
+ "module": "option",
1016
+ "name": "Option",
1017
+ "type_arguments": [
1018
+ {
1019
+ "TypeParameter": 0
1020
+ }
1021
+ ]
1022
+ }
1023
+ }
1024
+ }
1025
+ ],
1026
+ "return_": ["Bool"]
1027
+ },
1028
+ "is_some": {
1029
+ "visibility": "Public",
1030
+ "is_entry": false,
1031
+ "type_parameters": [
1032
+ {
1033
+ "abilities": []
1034
+ }
1035
+ ],
1036
+ "parameters": [
1037
+ {
1038
+ "Reference": {
1039
+ "Struct": {
1040
+ "address": "0x1",
1041
+ "module": "option",
1042
+ "name": "Option",
1043
+ "type_arguments": [
1044
+ {
1045
+ "TypeParameter": 0
1046
+ }
1047
+ ]
1048
+ }
1049
+ }
1050
+ }
1051
+ ],
1052
+ "return_": ["Bool"]
1053
+ },
1054
+ "none": {
1055
+ "visibility": "Public",
1056
+ "is_entry": false,
1057
+ "type_parameters": [
1058
+ {
1059
+ "abilities": []
1060
+ }
1061
+ ],
1062
+ "parameters": [],
1063
+ "return_": [
1064
+ {
1065
+ "Struct": {
1066
+ "address": "0x1",
1067
+ "module": "option",
1068
+ "name": "Option",
1069
+ "type_arguments": [
1070
+ {
1071
+ "TypeParameter": 0
1072
+ }
1073
+ ]
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
1078
+ "some": {
1079
+ "visibility": "Public",
1080
+ "is_entry": false,
1081
+ "type_parameters": [
1082
+ {
1083
+ "abilities": []
1084
+ }
1085
+ ],
1086
+ "parameters": [
1087
+ {
1088
+ "TypeParameter": 0
1089
+ }
1090
+ ],
1091
+ "return_": [
1092
+ {
1093
+ "Struct": {
1094
+ "address": "0x1",
1095
+ "module": "option",
1096
+ "name": "Option",
1097
+ "type_arguments": [
1098
+ {
1099
+ "TypeParameter": 0
1100
+ }
1101
+ ]
1102
+ }
1103
+ }
1104
+ ]
1105
+ },
1106
+ "swap": {
1107
+ "visibility": "Public",
1108
+ "is_entry": false,
1109
+ "type_parameters": [
1110
+ {
1111
+ "abilities": []
1112
+ }
1113
+ ],
1114
+ "parameters": [
1115
+ {
1116
+ "MutableReference": {
1117
+ "Struct": {
1118
+ "address": "0x1",
1119
+ "module": "option",
1120
+ "name": "Option",
1121
+ "type_arguments": [
1122
+ {
1123
+ "TypeParameter": 0
1124
+ }
1125
+ ]
1126
+ }
1127
+ }
1128
+ },
1129
+ {
1130
+ "TypeParameter": 0
1131
+ }
1132
+ ],
1133
+ "return_": [
1134
+ {
1135
+ "TypeParameter": 0
1136
+ }
1137
+ ]
1138
+ },
1139
+ "swap_or_fill": {
1140
+ "visibility": "Public",
1141
+ "is_entry": false,
1142
+ "type_parameters": [
1143
+ {
1144
+ "abilities": []
1145
+ }
1146
+ ],
1147
+ "parameters": [
1148
+ {
1149
+ "MutableReference": {
1150
+ "Struct": {
1151
+ "address": "0x1",
1152
+ "module": "option",
1153
+ "name": "Option",
1154
+ "type_arguments": [
1155
+ {
1156
+ "TypeParameter": 0
1157
+ }
1158
+ ]
1159
+ }
1160
+ }
1161
+ },
1162
+ {
1163
+ "TypeParameter": 0
1164
+ }
1165
+ ],
1166
+ "return_": [
1167
+ {
1168
+ "Struct": {
1169
+ "address": "0x1",
1170
+ "module": "option",
1171
+ "name": "Option",
1172
+ "type_arguments": [
1173
+ {
1174
+ "TypeParameter": 0
1175
+ }
1176
+ ]
1177
+ }
1178
+ }
1179
+ ]
1180
+ },
1181
+ "to_vec": {
1182
+ "visibility": "Public",
1183
+ "is_entry": false,
1184
+ "type_parameters": [
1185
+ {
1186
+ "abilities": []
1187
+ }
1188
+ ],
1189
+ "parameters": [
1190
+ {
1191
+ "Struct": {
1192
+ "address": "0x1",
1193
+ "module": "option",
1194
+ "name": "Option",
1195
+ "type_arguments": [
1196
+ {
1197
+ "TypeParameter": 0
1198
+ }
1199
+ ]
1200
+ }
1201
+ }
1202
+ ],
1203
+ "return_": [
1204
+ {
1205
+ "Vector": {
1206
+ "TypeParameter": 0
1207
+ }
1208
+ }
1209
+ ]
1210
+ }
1211
+ }
1212
+ },
1213
+ "string": {
1214
+ "file_format_version": 6,
1215
+ "address": "0x1",
1216
+ "name": "string",
1217
+ "friends": [],
1218
+ "structs": {
1219
+ "String": {
1220
+ "abilities": {
1221
+ "abilities": ["Copy", "Drop", "Store"]
1222
+ },
1223
+ "type_parameters": [],
1224
+ "fields": [
1225
+ {
1226
+ "name": "bytes",
1227
+ "type_": {
1228
+ "Vector": "U8"
1229
+ }
1230
+ }
1231
+ ]
1232
+ }
1233
+ },
1234
+ "exposed_functions": {
1235
+ "append": {
1236
+ "visibility": "Public",
1237
+ "is_entry": false,
1238
+ "type_parameters": [],
1239
+ "parameters": [
1240
+ {
1241
+ "MutableReference": {
1242
+ "Struct": {
1243
+ "address": "0x1",
1244
+ "module": "string",
1245
+ "name": "String",
1246
+ "type_arguments": []
1247
+ }
1248
+ }
1249
+ },
1250
+ {
1251
+ "Struct": {
1252
+ "address": "0x1",
1253
+ "module": "string",
1254
+ "name": "String",
1255
+ "type_arguments": []
1256
+ }
1257
+ }
1258
+ ],
1259
+ "return_": []
1260
+ },
1261
+ "append_utf8": {
1262
+ "visibility": "Public",
1263
+ "is_entry": false,
1264
+ "type_parameters": [],
1265
+ "parameters": [
1266
+ {
1267
+ "MutableReference": {
1268
+ "Struct": {
1269
+ "address": "0x1",
1270
+ "module": "string",
1271
+ "name": "String",
1272
+ "type_arguments": []
1273
+ }
1274
+ }
1275
+ },
1276
+ {
1277
+ "Vector": "U8"
1278
+ }
1279
+ ],
1280
+ "return_": []
1281
+ },
1282
+ "bytes": {
1283
+ "visibility": "Public",
1284
+ "is_entry": false,
1285
+ "type_parameters": [],
1286
+ "parameters": [
1287
+ {
1288
+ "Reference": {
1289
+ "Struct": {
1290
+ "address": "0x1",
1291
+ "module": "string",
1292
+ "name": "String",
1293
+ "type_arguments": []
1294
+ }
1295
+ }
1296
+ }
1297
+ ],
1298
+ "return_": [
1299
+ {
1300
+ "Reference": {
1301
+ "Vector": "U8"
1302
+ }
1303
+ }
1304
+ ]
1305
+ },
1306
+ "from_ascii": {
1307
+ "visibility": "Public",
1308
+ "is_entry": false,
1309
+ "type_parameters": [],
1310
+ "parameters": [
1311
+ {
1312
+ "Struct": {
1313
+ "address": "0x1",
1314
+ "module": "ascii",
1315
+ "name": "String",
1316
+ "type_arguments": []
1317
+ }
1318
+ }
1319
+ ],
1320
+ "return_": [
1321
+ {
1322
+ "Struct": {
1323
+ "address": "0x1",
1324
+ "module": "string",
1325
+ "name": "String",
1326
+ "type_arguments": []
1327
+ }
1328
+ }
1329
+ ]
1330
+ },
1331
+ "index_of": {
1332
+ "visibility": "Public",
1333
+ "is_entry": false,
1334
+ "type_parameters": [],
1335
+ "parameters": [
1336
+ {
1337
+ "Reference": {
1338
+ "Struct": {
1339
+ "address": "0x1",
1340
+ "module": "string",
1341
+ "name": "String",
1342
+ "type_arguments": []
1343
+ }
1344
+ }
1345
+ },
1346
+ {
1347
+ "Reference": {
1348
+ "Struct": {
1349
+ "address": "0x1",
1350
+ "module": "string",
1351
+ "name": "String",
1352
+ "type_arguments": []
1353
+ }
1354
+ }
1355
+ }
1356
+ ],
1357
+ "return_": ["U64"]
1358
+ },
1359
+ "insert": {
1360
+ "visibility": "Public",
1361
+ "is_entry": false,
1362
+ "type_parameters": [],
1363
+ "parameters": [
1364
+ {
1365
+ "MutableReference": {
1366
+ "Struct": {
1367
+ "address": "0x1",
1368
+ "module": "string",
1369
+ "name": "String",
1370
+ "type_arguments": []
1371
+ }
1372
+ }
1373
+ },
1374
+ "U64",
1375
+ {
1376
+ "Struct": {
1377
+ "address": "0x1",
1378
+ "module": "string",
1379
+ "name": "String",
1380
+ "type_arguments": []
1381
+ }
1382
+ }
1383
+ ],
1384
+ "return_": []
1385
+ },
1386
+ "is_empty": {
1387
+ "visibility": "Public",
1388
+ "is_entry": false,
1389
+ "type_parameters": [],
1390
+ "parameters": [
1391
+ {
1392
+ "Reference": {
1393
+ "Struct": {
1394
+ "address": "0x1",
1395
+ "module": "string",
1396
+ "name": "String",
1397
+ "type_arguments": []
1398
+ }
1399
+ }
1400
+ }
1401
+ ],
1402
+ "return_": ["Bool"]
1403
+ },
1404
+ "length": {
1405
+ "visibility": "Public",
1406
+ "is_entry": false,
1407
+ "type_parameters": [],
1408
+ "parameters": [
1409
+ {
1410
+ "Reference": {
1411
+ "Struct": {
1412
+ "address": "0x1",
1413
+ "module": "string",
1414
+ "name": "String",
1415
+ "type_arguments": []
1416
+ }
1417
+ }
1418
+ }
1419
+ ],
1420
+ "return_": ["U64"]
1421
+ },
1422
+ "sub_string": {
1423
+ "visibility": "Public",
1424
+ "is_entry": false,
1425
+ "type_parameters": [],
1426
+ "parameters": [
1427
+ {
1428
+ "Reference": {
1429
+ "Struct": {
1430
+ "address": "0x1",
1431
+ "module": "string",
1432
+ "name": "String",
1433
+ "type_arguments": []
1434
+ }
1435
+ }
1436
+ },
1437
+ "U64",
1438
+ "U64"
1439
+ ],
1440
+ "return_": [
1441
+ {
1442
+ "Struct": {
1443
+ "address": "0x1",
1444
+ "module": "string",
1445
+ "name": "String",
1446
+ "type_arguments": []
1447
+ }
1448
+ }
1449
+ ]
1450
+ },
1451
+ "to_ascii": {
1452
+ "visibility": "Public",
1453
+ "is_entry": false,
1454
+ "type_parameters": [],
1455
+ "parameters": [
1456
+ {
1457
+ "Struct": {
1458
+ "address": "0x1",
1459
+ "module": "string",
1460
+ "name": "String",
1461
+ "type_arguments": []
1462
+ }
1463
+ }
1464
+ ],
1465
+ "return_": [
1466
+ {
1467
+ "Struct": {
1468
+ "address": "0x1",
1469
+ "module": "ascii",
1470
+ "name": "String",
1471
+ "type_arguments": []
1472
+ }
1473
+ }
1474
+ ]
1475
+ },
1476
+ "try_utf8": {
1477
+ "visibility": "Public",
1478
+ "is_entry": false,
1479
+ "type_parameters": [],
1480
+ "parameters": [
1481
+ {
1482
+ "Vector": "U8"
1483
+ }
1484
+ ],
1485
+ "return_": [
1486
+ {
1487
+ "Struct": {
1488
+ "address": "0x1",
1489
+ "module": "option",
1490
+ "name": "Option",
1491
+ "type_arguments": [
1492
+ {
1493
+ "Struct": {
1494
+ "address": "0x1",
1495
+ "module": "string",
1496
+ "name": "String",
1497
+ "type_arguments": []
1498
+ }
1499
+ }
1500
+ ]
1501
+ }
1502
+ }
1503
+ ]
1504
+ },
1505
+ "utf8": {
1506
+ "visibility": "Public",
1507
+ "is_entry": false,
1508
+ "type_parameters": [],
1509
+ "parameters": [
1510
+ {
1511
+ "Vector": "U8"
1512
+ }
1513
+ ],
1514
+ "return_": [
1515
+ {
1516
+ "Struct": {
1517
+ "address": "0x1",
1518
+ "module": "string",
1519
+ "name": "String",
1520
+ "type_arguments": []
1521
+ }
1522
+ }
1523
+ ]
1524
+ }
1525
+ }
1526
+ },
1527
+ "type_name": {
1528
+ "file_format_version": 6,
1529
+ "address": "0x1",
1530
+ "name": "type_name",
1531
+ "friends": [],
1532
+ "structs": {
1533
+ "TypeName": {
1534
+ "abilities": {
1535
+ "abilities": ["Copy", "Drop", "Store"]
1536
+ },
1537
+ "type_parameters": [],
1538
+ "fields": [
1539
+ {
1540
+ "name": "name",
1541
+ "type_": {
1542
+ "Struct": {
1543
+ "address": "0x1",
1544
+ "module": "ascii",
1545
+ "name": "String",
1546
+ "type_arguments": []
1547
+ }
1548
+ }
1549
+ }
1550
+ ]
1551
+ }
1552
+ },
1553
+ "exposed_functions": {
1554
+ "borrow_string": {
1555
+ "visibility": "Public",
1556
+ "is_entry": false,
1557
+ "type_parameters": [],
1558
+ "parameters": [
1559
+ {
1560
+ "Reference": {
1561
+ "Struct": {
1562
+ "address": "0x1",
1563
+ "module": "type_name",
1564
+ "name": "TypeName",
1565
+ "type_arguments": []
1566
+ }
1567
+ }
1568
+ }
1569
+ ],
1570
+ "return_": [
1571
+ {
1572
+ "Reference": {
1573
+ "Struct": {
1574
+ "address": "0x1",
1575
+ "module": "ascii",
1576
+ "name": "String",
1577
+ "type_arguments": []
1578
+ }
1579
+ }
1580
+ }
1581
+ ]
1582
+ },
1583
+ "get": {
1584
+ "visibility": "Public",
1585
+ "is_entry": false,
1586
+ "type_parameters": [
1587
+ {
1588
+ "abilities": []
1589
+ }
1590
+ ],
1591
+ "parameters": [],
1592
+ "return_": [
1593
+ {
1594
+ "Struct": {
1595
+ "address": "0x1",
1596
+ "module": "type_name",
1597
+ "name": "TypeName",
1598
+ "type_arguments": []
1599
+ }
1600
+ }
1601
+ ]
1602
+ },
1603
+ "get_address": {
1604
+ "visibility": "Public",
1605
+ "is_entry": false,
1606
+ "type_parameters": [],
1607
+ "parameters": [
1608
+ {
1609
+ "Reference": {
1610
+ "Struct": {
1611
+ "address": "0x1",
1612
+ "module": "type_name",
1613
+ "name": "TypeName",
1614
+ "type_arguments": []
1615
+ }
1616
+ }
1617
+ }
1618
+ ],
1619
+ "return_": [
1620
+ {
1621
+ "Struct": {
1622
+ "address": "0x1",
1623
+ "module": "ascii",
1624
+ "name": "String",
1625
+ "type_arguments": []
1626
+ }
1627
+ }
1628
+ ]
1629
+ },
1630
+ "get_module": {
1631
+ "visibility": "Public",
1632
+ "is_entry": false,
1633
+ "type_parameters": [],
1634
+ "parameters": [
1635
+ {
1636
+ "Reference": {
1637
+ "Struct": {
1638
+ "address": "0x1",
1639
+ "module": "type_name",
1640
+ "name": "TypeName",
1641
+ "type_arguments": []
1642
+ }
1643
+ }
1644
+ }
1645
+ ],
1646
+ "return_": [
1647
+ {
1648
+ "Struct": {
1649
+ "address": "0x1",
1650
+ "module": "ascii",
1651
+ "name": "String",
1652
+ "type_arguments": []
1653
+ }
1654
+ }
1655
+ ]
1656
+ },
1657
+ "into_string": {
1658
+ "visibility": "Public",
1659
+ "is_entry": false,
1660
+ "type_parameters": [],
1661
+ "parameters": [
1662
+ {
1663
+ "Struct": {
1664
+ "address": "0x1",
1665
+ "module": "type_name",
1666
+ "name": "TypeName",
1667
+ "type_arguments": []
1668
+ }
1669
+ }
1670
+ ],
1671
+ "return_": [
1672
+ {
1673
+ "Struct": {
1674
+ "address": "0x1",
1675
+ "module": "ascii",
1676
+ "name": "String",
1677
+ "type_arguments": []
1678
+ }
1679
+ }
1680
+ ]
1681
+ }
1682
+ }
1683
+ },
1684
+ "vector": {
1685
+ "file_format_version": 6,
1686
+ "address": "0x1",
1687
+ "name": "vector",
1688
+ "friends": [],
1689
+ "structs": {},
1690
+ "exposed_functions": {
1691
+ "append": {
1692
+ "visibility": "Public",
1693
+ "is_entry": false,
1694
+ "type_parameters": [
1695
+ {
1696
+ "abilities": []
1697
+ }
1698
+ ],
1699
+ "parameters": [
1700
+ {
1701
+ "MutableReference": {
1702
+ "Vector": {
1703
+ "TypeParameter": 0
1704
+ }
1705
+ }
1706
+ },
1707
+ {
1708
+ "Vector": {
1709
+ "TypeParameter": 0
1710
+ }
1711
+ }
1712
+ ],
1713
+ "return_": []
1714
+ },
1715
+ "borrow": {
1716
+ "visibility": "Public",
1717
+ "is_entry": false,
1718
+ "type_parameters": [
1719
+ {
1720
+ "abilities": []
1721
+ }
1722
+ ],
1723
+ "parameters": [
1724
+ {
1725
+ "Reference": {
1726
+ "Vector": {
1727
+ "TypeParameter": 0
1728
+ }
1729
+ }
1730
+ },
1731
+ "U64"
1732
+ ],
1733
+ "return_": [
1734
+ {
1735
+ "Reference": {
1736
+ "TypeParameter": 0
1737
+ }
1738
+ }
1739
+ ]
1740
+ },
1741
+ "borrow_mut": {
1742
+ "visibility": "Public",
1743
+ "is_entry": false,
1744
+ "type_parameters": [
1745
+ {
1746
+ "abilities": []
1747
+ }
1748
+ ],
1749
+ "parameters": [
1750
+ {
1751
+ "MutableReference": {
1752
+ "Vector": {
1753
+ "TypeParameter": 0
1754
+ }
1755
+ }
1756
+ },
1757
+ "U64"
1758
+ ],
1759
+ "return_": [
1760
+ {
1761
+ "MutableReference": {
1762
+ "TypeParameter": 0
1763
+ }
1764
+ }
1765
+ ]
1766
+ },
1767
+ "contains": {
1768
+ "visibility": "Public",
1769
+ "is_entry": false,
1770
+ "type_parameters": [
1771
+ {
1772
+ "abilities": []
1773
+ }
1774
+ ],
1775
+ "parameters": [
1776
+ {
1777
+ "Reference": {
1778
+ "Vector": {
1779
+ "TypeParameter": 0
1780
+ }
1781
+ }
1782
+ },
1783
+ {
1784
+ "Reference": {
1785
+ "TypeParameter": 0
1786
+ }
1787
+ }
1788
+ ],
1789
+ "return_": ["Bool"]
1790
+ },
1791
+ "destroy_empty": {
1792
+ "visibility": "Public",
1793
+ "is_entry": false,
1794
+ "type_parameters": [
1795
+ {
1796
+ "abilities": []
1797
+ }
1798
+ ],
1799
+ "parameters": [
1800
+ {
1801
+ "Vector": {
1802
+ "TypeParameter": 0
1803
+ }
1804
+ }
1805
+ ],
1806
+ "return_": []
1807
+ },
1808
+ "empty": {
1809
+ "visibility": "Public",
1810
+ "is_entry": false,
1811
+ "type_parameters": [
1812
+ {
1813
+ "abilities": []
1814
+ }
1815
+ ],
1816
+ "parameters": [],
1817
+ "return_": [
1818
+ {
1819
+ "Vector": {
1820
+ "TypeParameter": 0
1821
+ }
1822
+ }
1823
+ ]
1824
+ },
1825
+ "index_of": {
1826
+ "visibility": "Public",
1827
+ "is_entry": false,
1828
+ "type_parameters": [
1829
+ {
1830
+ "abilities": []
1831
+ }
1832
+ ],
1833
+ "parameters": [
1834
+ {
1835
+ "Reference": {
1836
+ "Vector": {
1837
+ "TypeParameter": 0
1838
+ }
1839
+ }
1840
+ },
1841
+ {
1842
+ "Reference": {
1843
+ "TypeParameter": 0
1844
+ }
1845
+ }
1846
+ ],
1847
+ "return_": ["Bool", "U64"]
1848
+ },
1849
+ "insert": {
1850
+ "visibility": "Public",
1851
+ "is_entry": false,
1852
+ "type_parameters": [
1853
+ {
1854
+ "abilities": []
1855
+ }
1856
+ ],
1857
+ "parameters": [
1858
+ {
1859
+ "MutableReference": {
1860
+ "Vector": {
1861
+ "TypeParameter": 0
1862
+ }
1863
+ }
1864
+ },
1865
+ {
1866
+ "TypeParameter": 0
1867
+ },
1868
+ "U64"
1869
+ ],
1870
+ "return_": []
1871
+ },
1872
+ "is_empty": {
1873
+ "visibility": "Public",
1874
+ "is_entry": false,
1875
+ "type_parameters": [
1876
+ {
1877
+ "abilities": []
1878
+ }
1879
+ ],
1880
+ "parameters": [
1881
+ {
1882
+ "Reference": {
1883
+ "Vector": {
1884
+ "TypeParameter": 0
1885
+ }
1886
+ }
1887
+ }
1888
+ ],
1889
+ "return_": ["Bool"]
1890
+ },
1891
+ "length": {
1892
+ "visibility": "Public",
1893
+ "is_entry": false,
1894
+ "type_parameters": [
1895
+ {
1896
+ "abilities": []
1897
+ }
1898
+ ],
1899
+ "parameters": [
1900
+ {
1901
+ "Reference": {
1902
+ "Vector": {
1903
+ "TypeParameter": 0
1904
+ }
1905
+ }
1906
+ }
1907
+ ],
1908
+ "return_": ["U64"]
1909
+ },
1910
+ "pop_back": {
1911
+ "visibility": "Public",
1912
+ "is_entry": false,
1913
+ "type_parameters": [
1914
+ {
1915
+ "abilities": []
1916
+ }
1917
+ ],
1918
+ "parameters": [
1919
+ {
1920
+ "MutableReference": {
1921
+ "Vector": {
1922
+ "TypeParameter": 0
1923
+ }
1924
+ }
1925
+ }
1926
+ ],
1927
+ "return_": [
1928
+ {
1929
+ "TypeParameter": 0
1930
+ }
1931
+ ]
1932
+ },
1933
+ "push_back": {
1934
+ "visibility": "Public",
1935
+ "is_entry": false,
1936
+ "type_parameters": [
1937
+ {
1938
+ "abilities": []
1939
+ }
1940
+ ],
1941
+ "parameters": [
1942
+ {
1943
+ "MutableReference": {
1944
+ "Vector": {
1945
+ "TypeParameter": 0
1946
+ }
1947
+ }
1948
+ },
1949
+ {
1950
+ "TypeParameter": 0
1951
+ }
1952
+ ],
1953
+ "return_": []
1954
+ },
1955
+ "remove": {
1956
+ "visibility": "Public",
1957
+ "is_entry": false,
1958
+ "type_parameters": [
1959
+ {
1960
+ "abilities": []
1961
+ }
1962
+ ],
1963
+ "parameters": [
1964
+ {
1965
+ "MutableReference": {
1966
+ "Vector": {
1967
+ "TypeParameter": 0
1968
+ }
1969
+ }
1970
+ },
1971
+ "U64"
1972
+ ],
1973
+ "return_": [
1974
+ {
1975
+ "TypeParameter": 0
1976
+ }
1977
+ ]
1978
+ },
1979
+ "reverse": {
1980
+ "visibility": "Public",
1981
+ "is_entry": false,
1982
+ "type_parameters": [
1983
+ {
1984
+ "abilities": []
1985
+ }
1986
+ ],
1987
+ "parameters": [
1988
+ {
1989
+ "MutableReference": {
1990
+ "Vector": {
1991
+ "TypeParameter": 0
1992
+ }
1993
+ }
1994
+ }
1995
+ ],
1996
+ "return_": []
1997
+ },
1998
+ "singleton": {
1999
+ "visibility": "Public",
2000
+ "is_entry": false,
2001
+ "type_parameters": [
2002
+ {
2003
+ "abilities": []
2004
+ }
2005
+ ],
2006
+ "parameters": [
2007
+ {
2008
+ "TypeParameter": 0
2009
+ }
2010
+ ],
2011
+ "return_": [
2012
+ {
2013
+ "Vector": {
2014
+ "TypeParameter": 0
2015
+ }
2016
+ }
2017
+ ]
2018
+ },
2019
+ "swap": {
2020
+ "visibility": "Public",
2021
+ "is_entry": false,
2022
+ "type_parameters": [
2023
+ {
2024
+ "abilities": []
2025
+ }
2026
+ ],
2027
+ "parameters": [
2028
+ {
2029
+ "MutableReference": {
2030
+ "Vector": {
2031
+ "TypeParameter": 0
2032
+ }
2033
+ }
2034
+ },
2035
+ "U64",
2036
+ "U64"
2037
+ ],
2038
+ "return_": []
2039
+ },
2040
+ "swap_remove": {
2041
+ "visibility": "Public",
2042
+ "is_entry": false,
2043
+ "type_parameters": [
2044
+ {
2045
+ "abilities": []
2046
+ }
2047
+ ],
2048
+ "parameters": [
2049
+ {
2050
+ "MutableReference": {
2051
+ "Vector": {
2052
+ "TypeParameter": 0
2053
+ }
2054
+ }
2055
+ },
2056
+ "U64"
2057
+ ],
2058
+ "return_": [
2059
+ {
2060
+ "TypeParameter": 0
2061
+ }
2062
+ ]
2063
+ }
2064
+ }
2065
+ }
2066
+ }
2067
+ }