@sentio/sdk 2.40.1-rc.1 → 2.40.1-rc.11

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 (90) hide show
  1. package/lib/aptos/builtin/0x1.d.ts +2255 -9
  2. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  3. package/lib/aptos/builtin/0x1.js +2414 -6
  4. package/lib/aptos/builtin/0x1.js.map +1 -1
  5. package/lib/aptos/builtin/0x3.d.ts +292 -0
  6. package/lib/aptos/builtin/0x3.d.ts.map +1 -1
  7. package/lib/aptos/builtin/0x3.js +248 -1
  8. package/lib/aptos/builtin/0x3.js.map +1 -1
  9. package/lib/aptos/builtin/0x4.d.ts +125 -0
  10. package/lib/aptos/builtin/0x4.d.ts.map +1 -1
  11. package/lib/aptos/builtin/0x4.js +119 -1
  12. package/lib/aptos/builtin/0x4.js.map +1 -1
  13. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
  14. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +25 -69
  15. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
  16. package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
  17. package/lib/eth/builtin/internal/erc1155-processor.js +10 -24
  18. package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
  19. package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
  20. package/lib/eth/builtin/internal/erc20-processor.js +20 -52
  21. package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
  22. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
  23. package/lib/eth/builtin/internal/erc20bytes-processor.js +11 -25
  24. package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
  25. package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
  26. package/lib/eth/builtin/internal/erc721-processor.js +16 -40
  27. package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
  28. package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
  29. package/lib/eth/builtin/internal/weth9-processor.js +13 -31
  30. package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
  31. package/lib/eth/codegen/file.d.ts.map +1 -1
  32. package/lib/eth/codegen/file.js +5 -1
  33. package/lib/eth/codegen/file.js.map +1 -1
  34. package/lib/eth/codegen/function-calls.d.ts +1 -0
  35. package/lib/eth/codegen/function-calls.d.ts.map +1 -1
  36. package/lib/eth/codegen/function-calls.js +3 -1
  37. package/lib/eth/codegen/function-calls.js.map +1 -1
  38. package/lib/eth/codegen/types.d.ts.map +1 -1
  39. package/lib/eth/codegen/types.js +23 -6
  40. package/lib/eth/codegen/types.js.map +1 -1
  41. package/lib/store/cache.d.ts +0 -3
  42. package/lib/store/cache.d.ts.map +1 -1
  43. package/lib/store/cache.js.map +1 -1
  44. package/lib/store/codegen.d.ts.map +1 -1
  45. package/lib/store/codegen.js +51 -34
  46. package/lib/store/codegen.js.map +1 -1
  47. package/lib/store/store.d.ts +3 -3
  48. package/lib/store/store.d.ts.map +1 -1
  49. package/lib/store/store.js +2 -2
  50. package/lib/store/store.js.map +1 -1
  51. package/lib/store/types.d.ts +6 -0
  52. package/lib/store/types.d.ts.map +1 -1
  53. package/lib/store/types.js +49 -1
  54. package/lib/store/types.js.map +1 -1
  55. package/lib/sui/builtin/0x1.d.ts +7 -0
  56. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  57. package/lib/sui/builtin/0x1.js +1 -1
  58. package/lib/sui/builtin/0x1.js.map +1 -1
  59. package/lib/sui/builtin/0x2.d.ts +291 -1
  60. package/lib/sui/builtin/0x2.d.ts.map +1 -1
  61. package/lib/sui/builtin/0x2.js +336 -1
  62. package/lib/sui/builtin/0x2.js.map +1 -1
  63. package/lib/sui/builtin/0x3.js +1 -1
  64. package/lib/sui/builtin/0x3.js.map +1 -1
  65. package/package.json +11 -14
  66. package/src/aptos/abis/0x1.json +22307 -9309
  67. package/src/aptos/abis/0x3.json +1412 -228
  68. package/src/aptos/abis/0x4.json +1222 -241
  69. package/src/aptos/builtin/0x1.ts +12120 -6321
  70. package/src/aptos/builtin/0x3.ts +700 -1
  71. package/src/aptos/builtin/0x4.ts +279 -1
  72. package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +26 -69
  73. package/src/eth/builtin/internal/erc1155-processor.ts +11 -24
  74. package/src/eth/builtin/internal/erc20-processor.ts +21 -52
  75. package/src/eth/builtin/internal/erc20bytes-processor.ts +12 -25
  76. package/src/eth/builtin/internal/erc721-processor.ts +17 -40
  77. package/src/eth/builtin/internal/weth9-processor.ts +14 -31
  78. package/src/eth/codegen/file.ts +5 -0
  79. package/src/eth/codegen/function-calls.ts +4 -1
  80. package/src/eth/codegen/types.ts +32 -7
  81. package/src/store/cache.ts +0 -4
  82. package/src/store/codegen.ts +53 -34
  83. package/src/store/store.ts +5 -5
  84. package/src/store/types.ts +57 -0
  85. package/src/sui/abis/0x1.json +900 -51
  86. package/src/sui/abis/0x2.json +14823 -5687
  87. package/src/sui/abis/0x3.json +326 -100
  88. package/src/sui/builtin/0x1.ts +15 -1
  89. package/src/sui/builtin/0x2.ts +640 -2
  90. package/src/sui/builtin/0x3.ts +1 -1
@@ -11,7 +11,9 @@
11
11
  "isEntry": false,
12
12
  "typeParameters": [],
13
13
  "parameters": [],
14
- "return": ["U64"]
14
+ "return": [
15
+ "U64"
16
+ ]
15
17
  }
16
18
  }
17
19
  },
@@ -23,7 +25,11 @@
23
25
  "structs": {
24
26
  "Char": {
25
27
  "abilities": {
26
- "abilities": ["Copy", "Drop", "Store"]
28
+ "abilities": [
29
+ "Copy",
30
+ "Drop",
31
+ "Store"
32
+ ]
27
33
  },
28
34
  "typeParameters": [],
29
35
  "fields": [
@@ -35,7 +41,11 @@
35
41
  },
36
42
  "String": {
37
43
  "abilities": {
38
- "abilities": ["Copy", "Drop", "Store"]
44
+ "abilities": [
45
+ "Copy",
46
+ "Drop",
47
+ "Store"
48
+ ]
39
49
  },
40
50
  "typeParameters": [],
41
51
  "fields": [
@@ -65,7 +75,35 @@
65
75
  }
66
76
  }
67
77
  ],
68
- "return": ["Bool"]
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": []
69
107
  },
70
108
  "as_bytes": {
71
109
  "visibility": "Public",
@@ -105,13 +143,17 @@
105
143
  }
106
144
  }
107
145
  ],
108
- "return": ["U8"]
146
+ "return": [
147
+ "U8"
148
+ ]
109
149
  },
110
150
  "char": {
111
151
  "visibility": "Public",
112
152
  "isEntry": false,
113
153
  "typeParameters": [],
114
- "parameters": ["U8"],
154
+ "parameters": [
155
+ "U8"
156
+ ],
115
157
  "return": [
116
158
  {
117
159
  "Struct": {
@@ -123,6 +165,63 @@
123
165
  }
124
166
  ]
125
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
+ },
126
225
  "into_bytes": {
127
226
  "visibility": "Public",
128
227
  "isEntry": false,
@@ -143,19 +242,47 @@
143
242
  }
144
243
  ]
145
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
+ },
146
265
  "is_printable_char": {
147
266
  "visibility": "Public",
148
267
  "isEntry": false,
149
268
  "typeParameters": [],
150
- "parameters": ["U8"],
151
- "return": ["Bool"]
269
+ "parameters": [
270
+ "U8"
271
+ ],
272
+ "return": [
273
+ "Bool"
274
+ ]
152
275
  },
153
276
  "is_valid_char": {
154
277
  "visibility": "Public",
155
278
  "isEntry": false,
156
279
  "typeParameters": [],
157
- "parameters": ["U8"],
158
- "return": ["Bool"]
280
+ "parameters": [
281
+ "U8"
282
+ ],
283
+ "return": [
284
+ "Bool"
285
+ ]
159
286
  },
160
287
  "length": {
161
288
  "visibility": "Public",
@@ -173,7 +300,9 @@
173
300
  }
174
301
  }
175
302
  ],
176
- "return": ["U64"]
303
+ "return": [
304
+ "U64"
305
+ ]
177
306
  },
178
307
  "pop_char": {
179
308
  "visibility": "Public",
@@ -248,6 +377,89 @@
248
377
  }
249
378
  ]
250
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
+ },
251
463
  "try_string": {
252
464
  "visibility": "Public",
253
465
  "isEntry": false,
@@ -317,7 +529,11 @@
317
529
  "structs": {
318
530
  "BitVector": {
319
531
  "abilities": {
320
- "abilities": ["Copy", "Drop", "Store"]
532
+ "abilities": [
533
+ "Copy",
534
+ "Drop",
535
+ "Store"
536
+ ]
321
537
  },
322
538
  "typeParameters": [],
323
539
  "fields": [
@@ -352,7 +568,9 @@
352
568
  },
353
569
  "U64"
354
570
  ],
355
- "return": ["Bool"]
571
+ "return": [
572
+ "Bool"
573
+ ]
356
574
  },
357
575
  "length": {
358
576
  "visibility": "Public",
@@ -370,7 +588,9 @@
370
588
  }
371
589
  }
372
590
  ],
373
- "return": ["U64"]
591
+ "return": [
592
+ "U64"
593
+ ]
374
594
  },
375
595
  "longest_set_sequence_starting_at": {
376
596
  "visibility": "Public",
@@ -389,13 +609,17 @@
389
609
  },
390
610
  "U64"
391
611
  ],
392
- "return": ["U64"]
612
+ "return": [
613
+ "U64"
614
+ ]
393
615
  },
394
616
  "new": {
395
617
  "visibility": "Public",
396
618
  "isEntry": false,
397
619
  "typeParameters": [],
398
- "parameters": ["U64"],
620
+ "parameters": [
621
+ "U64"
622
+ ],
399
623
  "return": [
400
624
  {
401
625
  "Struct": {
@@ -507,7 +731,11 @@
507
731
  "structs": {
508
732
  "FixedPoint32": {
509
733
  "abilities": {
510
- "abilities": ["Copy", "Drop", "Store"]
734
+ "abilities": [
735
+ "Copy",
736
+ "Drop",
737
+ "Store"
738
+ ]
511
739
  },
512
740
  "typeParameters": [],
513
741
  "fields": [
@@ -523,7 +751,10 @@
523
751
  "visibility": "Public",
524
752
  "isEntry": false,
525
753
  "typeParameters": [],
526
- "parameters": ["U64", "U64"],
754
+ "parameters": [
755
+ "U64",
756
+ "U64"
757
+ ],
527
758
  "return": [
528
759
  {
529
760
  "Struct": {
@@ -539,7 +770,9 @@
539
770
  "visibility": "Public",
540
771
  "isEntry": false,
541
772
  "typeParameters": [],
542
- "parameters": ["U64"],
773
+ "parameters": [
774
+ "U64"
775
+ ],
543
776
  "return": [
544
777
  {
545
778
  "Struct": {
@@ -566,7 +799,9 @@
566
799
  }
567
800
  }
568
801
  ],
569
- "return": ["U64"]
802
+ "return": [
803
+ "U64"
804
+ ]
570
805
  },
571
806
  "get_raw_value": {
572
807
  "visibility": "Public",
@@ -582,7 +817,9 @@
582
817
  }
583
818
  }
584
819
  ],
585
- "return": ["U64"]
820
+ "return": [
821
+ "U64"
822
+ ]
586
823
  },
587
824
  "is_zero": {
588
825
  "visibility": "Public",
@@ -598,7 +835,9 @@
598
835
  }
599
836
  }
600
837
  ],
601
- "return": ["Bool"]
838
+ "return": [
839
+ "Bool"
840
+ ]
602
841
  },
603
842
  "multiply_u64": {
604
843
  "visibility": "Public",
@@ -615,7 +854,9 @@
615
854
  }
616
855
  }
617
856
  ],
618
- "return": ["U64"]
857
+ "return": [
858
+ "U64"
859
+ ]
619
860
  }
620
861
  }
621
862
  },
@@ -658,6 +899,14 @@
658
899
  }
659
900
  }
660
901
  },
902
+ "macros": {
903
+ "fileFormatVersion": 6,
904
+ "address": "0x1",
905
+ "name": "macros",
906
+ "friends": [],
907
+ "structs": {},
908
+ "exposedFunctions": {}
909
+ },
661
910
  "option": {
662
911
  "fileFormatVersion": 6,
663
912
  "address": "0x1",
@@ -666,7 +915,11 @@
666
915
  "structs": {
667
916
  "Option": {
668
917
  "abilities": {
669
- "abilities": ["Copy", "Drop", "Store"]
918
+ "abilities": [
919
+ "Copy",
920
+ "Drop",
921
+ "Store"
922
+ ]
670
923
  },
671
924
  "typeParameters": [
672
925
  {
@@ -819,7 +1072,9 @@
819
1072
  }
820
1073
  }
821
1074
  ],
822
- "return": ["Bool"]
1075
+ "return": [
1076
+ "Bool"
1077
+ ]
823
1078
  },
824
1079
  "destroy_none": {
825
1080
  "visibility": "Public",
@@ -878,7 +1133,9 @@
878
1133
  "isEntry": false,
879
1134
  "typeParameters": [
880
1135
  {
881
- "abilities": ["Drop"]
1136
+ "abilities": [
1137
+ "Drop"
1138
+ ]
882
1139
  }
883
1140
  ],
884
1141
  "parameters": [
@@ -968,7 +1225,10 @@
968
1225
  "isEntry": false,
969
1226
  "typeParameters": [
970
1227
  {
971
- "abilities": ["Copy", "Drop"]
1228
+ "abilities": [
1229
+ "Copy",
1230
+ "Drop"
1231
+ ]
972
1232
  }
973
1233
  ],
974
1234
  "parameters": [
@@ -1020,7 +1280,9 @@
1020
1280
  }
1021
1281
  }
1022
1282
  ],
1023
- "return": ["Bool"]
1283
+ "return": [
1284
+ "Bool"
1285
+ ]
1024
1286
  },
1025
1287
  "is_some": {
1026
1288
  "visibility": "Public",
@@ -1046,7 +1308,9 @@
1046
1308
  }
1047
1309
  }
1048
1310
  ],
1049
- "return": ["Bool"]
1311
+ "return": [
1312
+ "Bool"
1313
+ ]
1050
1314
  },
1051
1315
  "none": {
1052
1316
  "visibility": "Public",
@@ -1215,7 +1479,11 @@
1215
1479
  "structs": {
1216
1480
  "String": {
1217
1481
  "abilities": {
1218
- "abilities": ["Copy", "Drop", "Store"]
1482
+ "abilities": [
1483
+ "Copy",
1484
+ "Drop",
1485
+ "Store"
1486
+ ]
1219
1487
  },
1220
1488
  "typeParameters": [],
1221
1489
  "fields": [
@@ -1276,7 +1544,7 @@
1276
1544
  ],
1277
1545
  "return": []
1278
1546
  },
1279
- "bytes": {
1547
+ "as_bytes": {
1280
1548
  "visibility": "Public",
1281
1549
  "isEntry": false,
1282
1550
  "typeParameters": [],
@@ -1300,7 +1568,31 @@
1300
1568
  }
1301
1569
  ]
1302
1570
  },
1303
- "from_ascii": {
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": {
1304
1596
  "visibility": "Public",
1305
1597
  "isEntry": false,
1306
1598
  "typeParameters": [],
@@ -1308,16 +1600,16 @@
1308
1600
  {
1309
1601
  "Struct": {
1310
1602
  "address": "0x1",
1311
- "module": "ascii",
1312
- "name": "String",
1313
- "typeArguments": []
1314
- }
1315
- }
1316
- ],
1317
- "return": [
1318
- {
1319
- "Struct": {
1320
- "address": "0x1",
1603
+ "module": "ascii",
1604
+ "name": "String",
1605
+ "typeArguments": []
1606
+ }
1607
+ }
1608
+ ],
1609
+ "return": [
1610
+ {
1611
+ "Struct": {
1612
+ "address": "0x1",
1321
1613
  "module": "string",
1322
1614
  "name": "String",
1323
1615
  "typeArguments": []
@@ -1351,7 +1643,9 @@
1351
1643
  }
1352
1644
  }
1353
1645
  ],
1354
- "return": ["U64"]
1646
+ "return": [
1647
+ "U64"
1648
+ ]
1355
1649
  },
1356
1650
  "insert": {
1357
1651
  "visibility": "Public",
@@ -1380,6 +1674,26 @@
1380
1674
  ],
1381
1675
  "return": []
1382
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
+ },
1383
1697
  "is_empty": {
1384
1698
  "visibility": "Public",
1385
1699
  "isEntry": false,
@@ -1396,7 +1710,9 @@
1396
1710
  }
1397
1711
  }
1398
1712
  ],
1399
- "return": ["Bool"]
1713
+ "return": [
1714
+ "Bool"
1715
+ ]
1400
1716
  },
1401
1717
  "length": {
1402
1718
  "visibility": "Public",
@@ -1414,7 +1730,9 @@
1414
1730
  }
1415
1731
  }
1416
1732
  ],
1417
- "return": ["U64"]
1733
+ "return": [
1734
+ "U64"
1735
+ ]
1418
1736
  },
1419
1737
  "sub_string": {
1420
1738
  "visibility": "Public",
@@ -1445,6 +1763,35 @@
1445
1763
  }
1446
1764
  ]
1447
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
+ },
1448
1795
  "to_ascii": {
1449
1796
  "visibility": "Public",
1450
1797
  "isEntry": false,
@@ -1529,7 +1876,11 @@
1529
1876
  "structs": {
1530
1877
  "TypeName": {
1531
1878
  "abilities": {
1532
- "abilities": ["Copy", "Drop", "Store"]
1879
+ "abilities": [
1880
+ "Copy",
1881
+ "Drop",
1882
+ "Store"
1883
+ ]
1533
1884
  },
1534
1885
  "typeParameters": [],
1535
1886
  "fields": [
@@ -1695,6 +2046,495 @@
1695
2046
  }
1696
2047
  }
1697
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
+ "diff": {
2080
+ "visibility": "Public",
2081
+ "isEntry": false,
2082
+ "typeParameters": [],
2083
+ "parameters": [
2084
+ "U128",
2085
+ "U128"
2086
+ ],
2087
+ "return": [
2088
+ "U128"
2089
+ ]
2090
+ },
2091
+ "divide_and_round_up": {
2092
+ "visibility": "Public",
2093
+ "isEntry": false,
2094
+ "typeParameters": [],
2095
+ "parameters": [
2096
+ "U128",
2097
+ "U128"
2098
+ ],
2099
+ "return": [
2100
+ "U128"
2101
+ ]
2102
+ },
2103
+ "max": {
2104
+ "visibility": "Public",
2105
+ "isEntry": false,
2106
+ "typeParameters": [],
2107
+ "parameters": [
2108
+ "U128",
2109
+ "U128"
2110
+ ],
2111
+ "return": [
2112
+ "U128"
2113
+ ]
2114
+ },
2115
+ "min": {
2116
+ "visibility": "Public",
2117
+ "isEntry": false,
2118
+ "typeParameters": [],
2119
+ "parameters": [
2120
+ "U128",
2121
+ "U128"
2122
+ ],
2123
+ "return": [
2124
+ "U128"
2125
+ ]
2126
+ },
2127
+ "pow": {
2128
+ "visibility": "Public",
2129
+ "isEntry": false,
2130
+ "typeParameters": [],
2131
+ "parameters": [
2132
+ "U128",
2133
+ "U8"
2134
+ ],
2135
+ "return": [
2136
+ "U128"
2137
+ ]
2138
+ },
2139
+ "sqrt": {
2140
+ "visibility": "Public",
2141
+ "isEntry": false,
2142
+ "typeParameters": [],
2143
+ "parameters": [
2144
+ "U128"
2145
+ ],
2146
+ "return": [
2147
+ "U128"
2148
+ ]
2149
+ }
2150
+ }
2151
+ },
2152
+ "u16": {
2153
+ "fileFormatVersion": 6,
2154
+ "address": "0x1",
2155
+ "name": "u16",
2156
+ "friends": [],
2157
+ "structs": {},
2158
+ "exposedFunctions": {
2159
+ "diff": {
2160
+ "visibility": "Public",
2161
+ "isEntry": false,
2162
+ "typeParameters": [],
2163
+ "parameters": [
2164
+ "U16",
2165
+ "U16"
2166
+ ],
2167
+ "return": [
2168
+ "U16"
2169
+ ]
2170
+ },
2171
+ "divide_and_round_up": {
2172
+ "visibility": "Public",
2173
+ "isEntry": false,
2174
+ "typeParameters": [],
2175
+ "parameters": [
2176
+ "U16",
2177
+ "U16"
2178
+ ],
2179
+ "return": [
2180
+ "U16"
2181
+ ]
2182
+ },
2183
+ "max": {
2184
+ "visibility": "Public",
2185
+ "isEntry": false,
2186
+ "typeParameters": [],
2187
+ "parameters": [
2188
+ "U16",
2189
+ "U16"
2190
+ ],
2191
+ "return": [
2192
+ "U16"
2193
+ ]
2194
+ },
2195
+ "min": {
2196
+ "visibility": "Public",
2197
+ "isEntry": false,
2198
+ "typeParameters": [],
2199
+ "parameters": [
2200
+ "U16",
2201
+ "U16"
2202
+ ],
2203
+ "return": [
2204
+ "U16"
2205
+ ]
2206
+ },
2207
+ "pow": {
2208
+ "visibility": "Public",
2209
+ "isEntry": false,
2210
+ "typeParameters": [],
2211
+ "parameters": [
2212
+ "U16",
2213
+ "U8"
2214
+ ],
2215
+ "return": [
2216
+ "U16"
2217
+ ]
2218
+ },
2219
+ "sqrt": {
2220
+ "visibility": "Public",
2221
+ "isEntry": false,
2222
+ "typeParameters": [],
2223
+ "parameters": [
2224
+ "U16"
2225
+ ],
2226
+ "return": [
2227
+ "U16"
2228
+ ]
2229
+ }
2230
+ }
2231
+ },
2232
+ "u256": {
2233
+ "fileFormatVersion": 6,
2234
+ "address": "0x1",
2235
+ "name": "u256",
2236
+ "friends": [],
2237
+ "structs": {},
2238
+ "exposedFunctions": {
2239
+ "diff": {
2240
+ "visibility": "Public",
2241
+ "isEntry": false,
2242
+ "typeParameters": [],
2243
+ "parameters": [
2244
+ "U256",
2245
+ "U256"
2246
+ ],
2247
+ "return": [
2248
+ "U256"
2249
+ ]
2250
+ },
2251
+ "divide_and_round_up": {
2252
+ "visibility": "Public",
2253
+ "isEntry": false,
2254
+ "typeParameters": [],
2255
+ "parameters": [
2256
+ "U256",
2257
+ "U256"
2258
+ ],
2259
+ "return": [
2260
+ "U256"
2261
+ ]
2262
+ },
2263
+ "max": {
2264
+ "visibility": "Public",
2265
+ "isEntry": false,
2266
+ "typeParameters": [],
2267
+ "parameters": [
2268
+ "U256",
2269
+ "U256"
2270
+ ],
2271
+ "return": [
2272
+ "U256"
2273
+ ]
2274
+ },
2275
+ "min": {
2276
+ "visibility": "Public",
2277
+ "isEntry": false,
2278
+ "typeParameters": [],
2279
+ "parameters": [
2280
+ "U256",
2281
+ "U256"
2282
+ ],
2283
+ "return": [
2284
+ "U256"
2285
+ ]
2286
+ },
2287
+ "pow": {
2288
+ "visibility": "Public",
2289
+ "isEntry": false,
2290
+ "typeParameters": [],
2291
+ "parameters": [
2292
+ "U256",
2293
+ "U8"
2294
+ ],
2295
+ "return": [
2296
+ "U256"
2297
+ ]
2298
+ }
2299
+ }
2300
+ },
2301
+ "u32": {
2302
+ "fileFormatVersion": 6,
2303
+ "address": "0x1",
2304
+ "name": "u32",
2305
+ "friends": [],
2306
+ "structs": {},
2307
+ "exposedFunctions": {
2308
+ "diff": {
2309
+ "visibility": "Public",
2310
+ "isEntry": false,
2311
+ "typeParameters": [],
2312
+ "parameters": [
2313
+ "U32",
2314
+ "U32"
2315
+ ],
2316
+ "return": [
2317
+ "U32"
2318
+ ]
2319
+ },
2320
+ "divide_and_round_up": {
2321
+ "visibility": "Public",
2322
+ "isEntry": false,
2323
+ "typeParameters": [],
2324
+ "parameters": [
2325
+ "U32",
2326
+ "U32"
2327
+ ],
2328
+ "return": [
2329
+ "U32"
2330
+ ]
2331
+ },
2332
+ "max": {
2333
+ "visibility": "Public",
2334
+ "isEntry": false,
2335
+ "typeParameters": [],
2336
+ "parameters": [
2337
+ "U32",
2338
+ "U32"
2339
+ ],
2340
+ "return": [
2341
+ "U32"
2342
+ ]
2343
+ },
2344
+ "min": {
2345
+ "visibility": "Public",
2346
+ "isEntry": false,
2347
+ "typeParameters": [],
2348
+ "parameters": [
2349
+ "U32",
2350
+ "U32"
2351
+ ],
2352
+ "return": [
2353
+ "U32"
2354
+ ]
2355
+ },
2356
+ "pow": {
2357
+ "visibility": "Public",
2358
+ "isEntry": false,
2359
+ "typeParameters": [],
2360
+ "parameters": [
2361
+ "U32",
2362
+ "U8"
2363
+ ],
2364
+ "return": [
2365
+ "U32"
2366
+ ]
2367
+ },
2368
+ "sqrt": {
2369
+ "visibility": "Public",
2370
+ "isEntry": false,
2371
+ "typeParameters": [],
2372
+ "parameters": [
2373
+ "U32"
2374
+ ],
2375
+ "return": [
2376
+ "U32"
2377
+ ]
2378
+ }
2379
+ }
2380
+ },
2381
+ "u64": {
2382
+ "fileFormatVersion": 6,
2383
+ "address": "0x1",
2384
+ "name": "u64",
2385
+ "friends": [],
2386
+ "structs": {},
2387
+ "exposedFunctions": {
2388
+ "diff": {
2389
+ "visibility": "Public",
2390
+ "isEntry": false,
2391
+ "typeParameters": [],
2392
+ "parameters": [
2393
+ "U64",
2394
+ "U64"
2395
+ ],
2396
+ "return": [
2397
+ "U64"
2398
+ ]
2399
+ },
2400
+ "divide_and_round_up": {
2401
+ "visibility": "Public",
2402
+ "isEntry": false,
2403
+ "typeParameters": [],
2404
+ "parameters": [
2405
+ "U64",
2406
+ "U64"
2407
+ ],
2408
+ "return": [
2409
+ "U64"
2410
+ ]
2411
+ },
2412
+ "max": {
2413
+ "visibility": "Public",
2414
+ "isEntry": false,
2415
+ "typeParameters": [],
2416
+ "parameters": [
2417
+ "U64",
2418
+ "U64"
2419
+ ],
2420
+ "return": [
2421
+ "U64"
2422
+ ]
2423
+ },
2424
+ "min": {
2425
+ "visibility": "Public",
2426
+ "isEntry": false,
2427
+ "typeParameters": [],
2428
+ "parameters": [
2429
+ "U64",
2430
+ "U64"
2431
+ ],
2432
+ "return": [
2433
+ "U64"
2434
+ ]
2435
+ },
2436
+ "pow": {
2437
+ "visibility": "Public",
2438
+ "isEntry": false,
2439
+ "typeParameters": [],
2440
+ "parameters": [
2441
+ "U64",
2442
+ "U8"
2443
+ ],
2444
+ "return": [
2445
+ "U64"
2446
+ ]
2447
+ },
2448
+ "sqrt": {
2449
+ "visibility": "Public",
2450
+ "isEntry": false,
2451
+ "typeParameters": [],
2452
+ "parameters": [
2453
+ "U64"
2454
+ ],
2455
+ "return": [
2456
+ "U64"
2457
+ ]
2458
+ }
2459
+ }
2460
+ },
2461
+ "u8": {
2462
+ "fileFormatVersion": 6,
2463
+ "address": "0x1",
2464
+ "name": "u8",
2465
+ "friends": [],
2466
+ "structs": {},
2467
+ "exposedFunctions": {
2468
+ "diff": {
2469
+ "visibility": "Public",
2470
+ "isEntry": false,
2471
+ "typeParameters": [],
2472
+ "parameters": [
2473
+ "U8",
2474
+ "U8"
2475
+ ],
2476
+ "return": [
2477
+ "U8"
2478
+ ]
2479
+ },
2480
+ "divide_and_round_up": {
2481
+ "visibility": "Public",
2482
+ "isEntry": false,
2483
+ "typeParameters": [],
2484
+ "parameters": [
2485
+ "U8",
2486
+ "U8"
2487
+ ],
2488
+ "return": [
2489
+ "U8"
2490
+ ]
2491
+ },
2492
+ "max": {
2493
+ "visibility": "Public",
2494
+ "isEntry": false,
2495
+ "typeParameters": [],
2496
+ "parameters": [
2497
+ "U8",
2498
+ "U8"
2499
+ ],
2500
+ "return": [
2501
+ "U8"
2502
+ ]
2503
+ },
2504
+ "min": {
2505
+ "visibility": "Public",
2506
+ "isEntry": false,
2507
+ "typeParameters": [],
2508
+ "parameters": [
2509
+ "U8",
2510
+ "U8"
2511
+ ],
2512
+ "return": [
2513
+ "U8"
2514
+ ]
2515
+ },
2516
+ "pow": {
2517
+ "visibility": "Public",
2518
+ "isEntry": false,
2519
+ "typeParameters": [],
2520
+ "parameters": [
2521
+ "U8",
2522
+ "U8"
2523
+ ],
2524
+ "return": [
2525
+ "U8"
2526
+ ]
2527
+ },
2528
+ "sqrt": {
2529
+ "visibility": "Public",
2530
+ "isEntry": false,
2531
+ "typeParameters": [],
2532
+ "parameters": [
2533
+ "U8"
2534
+ ],
2535
+ "return": [
2536
+ "U8"
2537
+ ]
1698
2538
  }
1699
2539
  }
1700
2540
  },
@@ -1803,7 +2643,9 @@
1803
2643
  }
1804
2644
  }
1805
2645
  ],
1806
- "return": ["Bool"]
2646
+ "return": [
2647
+ "Bool"
2648
+ ]
1807
2649
  },
1808
2650
  "destroy_empty": {
1809
2651
  "visibility": "Public",
@@ -1861,7 +2703,10 @@
1861
2703
  }
1862
2704
  }
1863
2705
  ],
1864
- "return": ["Bool", "U64"]
2706
+ "return": [
2707
+ "Bool",
2708
+ "U64"
2709
+ ]
1865
2710
  },
1866
2711
  "insert": {
1867
2712
  "visibility": "Public",
@@ -1903,7 +2748,9 @@
1903
2748
  }
1904
2749
  }
1905
2750
  ],
1906
- "return": ["Bool"]
2751
+ "return": [
2752
+ "Bool"
2753
+ ]
1907
2754
  },
1908
2755
  "length": {
1909
2756
  "visibility": "Public",
@@ -1922,7 +2769,9 @@
1922
2769
  }
1923
2770
  }
1924
2771
  ],
1925
- "return": ["U64"]
2772
+ "return": [
2773
+ "U64"
2774
+ ]
1926
2775
  },
1927
2776
  "pop_back": {
1928
2777
  "visibility": "Public",
@@ -2080,4 +2929,4 @@
2080
2929
  }
2081
2930
  }
2082
2931
  }
2083
- }
2932
+ }