@sentio/sdk 2.44.2 → 2.44.3-rc.10

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 (120) hide show
  1. package/lib/aptos/aptos-processor.d.ts +5 -4
  2. package/lib/aptos/aptos-processor.d.ts.map +1 -1
  3. package/lib/aptos/aptos-processor.js +13 -6
  4. package/lib/aptos/aptos-processor.js.map +1 -1
  5. package/lib/aptos/builtin/0x1.d.ts +48 -0
  6. package/lib/aptos/builtin/0x1.d.ts.map +1 -1
  7. package/lib/aptos/builtin/0x1.js +45 -1
  8. package/lib/aptos/builtin/0x1.js.map +1 -1
  9. package/lib/aptos/builtin/0x3.js +1 -1
  10. package/lib/aptos/builtin/0x3.js.map +1 -1
  11. package/lib/aptos/builtin/0x4.js +1 -1
  12. package/lib/aptos/builtin/0x4.js.map +1 -1
  13. package/lib/aptos/index.d.ts +2 -1
  14. package/lib/aptos/index.d.ts.map +1 -1
  15. package/lib/aptos/index.js.map +1 -1
  16. package/lib/core/event-logger.d.ts.map +1 -1
  17. package/lib/core/event-logger.js +2 -1
  18. package/lib/core/event-logger.js.map +1 -1
  19. package/lib/core/meter.d.ts.map +1 -1
  20. package/lib/core/meter.js +3 -1
  21. package/lib/core/meter.js.map +1 -1
  22. package/lib/eth/codegen/codegen.js +4 -5
  23. package/lib/eth/codegen/codegen.js.map +1 -1
  24. package/lib/eth/context.d.ts.map +1 -1
  25. package/lib/eth/context.js +9 -1
  26. package/lib/eth/context.js.map +1 -1
  27. package/lib/fuel/asset-processor.d.ts +1 -0
  28. package/lib/fuel/asset-processor.d.ts.map +1 -1
  29. package/lib/fuel/asset-processor.js +2 -1
  30. package/lib/fuel/asset-processor.js.map +1 -1
  31. package/lib/fuel/codegen/codegen.js +2 -2
  32. package/lib/fuel/codegen/codegen.js.map +1 -1
  33. package/lib/solana/builtin/types.d.ts +170 -170
  34. package/lib/solana/builtin/types.d.ts.map +1 -1
  35. package/lib/solana/builtin/types.js +1 -1
  36. package/lib/solana/builtin/types.js.map +1 -1
  37. package/lib/stark/codegen/codegen.js +2 -2
  38. package/lib/stark/codegen/codegen.js.map +1 -1
  39. package/lib/store/codegen.js +2 -2
  40. package/lib/store/codegen.js.map +1 -1
  41. package/lib/sui/builtin/0x1.d.ts +19 -0
  42. package/lib/sui/builtin/0x1.d.ts.map +1 -1
  43. package/lib/sui/builtin/0x1.js +28 -1
  44. package/lib/sui/builtin/0x1.js.map +1 -1
  45. package/lib/sui/builtin/0x3.d.ts +59 -0
  46. package/lib/sui/builtin/0x3.d.ts.map +1 -1
  47. package/lib/sui/builtin/0x3.js +58 -1
  48. package/lib/sui/builtin/0x3.js.map +1 -1
  49. package/lib/sui/context.d.ts +1 -1
  50. package/lib/sui/context.d.ts.map +1 -1
  51. package/lib/sui/ext/move-dex.d.ts +1 -1
  52. package/lib/sui/ext/move-dex.d.ts.map +1 -1
  53. package/lib/sui/models.d.ts +1 -1
  54. package/lib/sui/models.d.ts.map +1 -1
  55. package/lib/sui/network.d.ts +1 -1
  56. package/lib/sui/network.d.ts.map +1 -1
  57. package/lib/sui/network.js +1 -1
  58. package/lib/sui/network.js.map +1 -1
  59. package/lib/sui/sui-object-processor-template.d.ts +1 -1
  60. package/lib/sui/sui-object-processor-template.d.ts.map +1 -1
  61. package/lib/sui/sui-object-processor.d.ts +1 -1
  62. package/lib/sui/sui-object-processor.d.ts.map +1 -1
  63. package/lib/sui/sui-processor.d.ts +1 -1
  64. package/lib/sui/sui-processor.d.ts.map +1 -1
  65. package/lib/sui/utils.d.ts +1 -1
  66. package/lib/sui/utils.d.ts.map +1 -1
  67. package/lib/testing/sui-facet.d.ts +1 -1
  68. package/lib/testing/sui-facet.d.ts.map +1 -1
  69. package/lib/utils/price.d.ts.map +1 -1
  70. package/lib/utils/price.js +2 -1
  71. package/lib/utils/price.js.map +1 -1
  72. package/package.json +11 -15
  73. package/src/aptos/abis/0x1.json +638 -20
  74. package/src/aptos/abis/0x3.json +60 -0
  75. package/src/aptos/abis/0x4.json +139 -2
  76. package/src/aptos/aptos-processor.ts +21 -15
  77. package/src/aptos/builtin/0x1.ts +141 -1
  78. package/src/aptos/builtin/0x3.ts +1 -1
  79. package/src/aptos/builtin/0x4.ts +1 -1
  80. package/src/aptos/index.ts +2 -6
  81. package/src/core/event-logger.ts +2 -1
  82. package/src/core/meter.ts +3 -1
  83. package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +204 -204
  84. package/src/eth/builtin/internal/eacaggregatorproxy-test-utils.ts +12 -12
  85. package/src/eth/builtin/internal/erc1155-processor.ts +95 -95
  86. package/src/eth/builtin/internal/erc1155-test-utils.ts +8 -8
  87. package/src/eth/builtin/internal/erc20-processor.ts +140 -140
  88. package/src/eth/builtin/internal/erc20-test-utils.ts +6 -6
  89. package/src/eth/builtin/internal/erc20bytes-processor.ts +80 -80
  90. package/src/eth/builtin/internal/erc20bytes-test-utils.ts +4 -4
  91. package/src/eth/builtin/internal/erc721-processor.ts +133 -133
  92. package/src/eth/builtin/internal/erc721-test-utils.ts +6 -6
  93. package/src/eth/builtin/internal/factories/EACAggregatorProxy__factory.ts +1 -1
  94. package/src/eth/builtin/internal/factories/ERC1155__factory.ts +1 -1
  95. package/src/eth/builtin/internal/factories/ERC20Bytes__factory.ts +1 -1
  96. package/src/eth/builtin/internal/weth9-processor.ts +97 -97
  97. package/src/eth/builtin/internal/weth9-test-utils.ts +8 -8
  98. package/src/eth/codegen/codegen.ts +5 -5
  99. package/src/eth/context.ts +9 -1
  100. package/src/fuel/asset-processor.ts +3 -1
  101. package/src/fuel/codegen/codegen.ts +2 -2
  102. package/src/solana/builtin/types.ts +1 -1
  103. package/src/stark/codegen/codegen.ts +2 -2
  104. package/src/store/codegen.ts +2 -2
  105. package/src/sui/abis/0x1.json +975 -85
  106. package/src/sui/abis/0x3.json +920 -41
  107. package/src/sui/builtin/0x1.ts +44 -1
  108. package/src/sui/builtin/0x3.ts +154 -1
  109. package/src/sui/codegen/codegen.ts +1 -1
  110. package/src/sui/context.ts +1 -1
  111. package/src/sui/ext/coin.ts +1 -1
  112. package/src/sui/ext/move-dex.ts +1 -1
  113. package/src/sui/models.ts +1 -1
  114. package/src/sui/network.ts +1 -1
  115. package/src/sui/sui-object-processor-template.ts +1 -1
  116. package/src/sui/sui-object-processor.ts +1 -1
  117. package/src/sui/sui-processor.ts +1 -1
  118. package/src/sui/utils.ts +1 -1
  119. package/src/testing/sui-facet.ts +1 -1
  120. package/src/utils/price.ts +2 -1
@@ -2076,6 +2076,17 @@
2076
2076
  "friends": [],
2077
2077
  "structs": {},
2078
2078
  "exposedFunctions": {
2079
+ "bitwise_not": {
2080
+ "visibility": "Public",
2081
+ "isEntry": false,
2082
+ "typeParameters": [],
2083
+ "parameters": [
2084
+ "U128"
2085
+ ],
2086
+ "return": [
2087
+ "U128"
2088
+ ]
2089
+ },
2079
2090
  "diff": {
2080
2091
  "visibility": "Public",
2081
2092
  "isEntry": false,
@@ -2146,6 +2157,104 @@
2146
2157
  "return": [
2147
2158
  "U128"
2148
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
+ ]
2149
2258
  }
2150
2259
  }
2151
2260
  },
@@ -2156,6 +2265,17 @@
2156
2265
  "friends": [],
2157
2266
  "structs": {},
2158
2267
  "exposedFunctions": {
2268
+ "bitwise_not": {
2269
+ "visibility": "Public",
2270
+ "isEntry": false,
2271
+ "typeParameters": [],
2272
+ "parameters": [
2273
+ "U16"
2274
+ ],
2275
+ "return": [
2276
+ "U16"
2277
+ ]
2278
+ },
2159
2279
  "diff": {
2160
2280
  "visibility": "Public",
2161
2281
  "isEntry": false,
@@ -2226,6 +2346,44 @@
2226
2346
  "return": [
2227
2347
  "U16"
2228
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
+ ]
2229
2387
  }
2230
2388
  }
2231
2389
  },
@@ -2236,6 +2394,17 @@
2236
2394
  "friends": [],
2237
2395
  "structs": {},
2238
2396
  "exposedFunctions": {
2397
+ "bitwise_not": {
2398
+ "visibility": "Public",
2399
+ "isEntry": false,
2400
+ "typeParameters": [],
2401
+ "parameters": [
2402
+ "U256"
2403
+ ],
2404
+ "return": [
2405
+ "U256"
2406
+ ]
2407
+ },
2239
2408
  "diff": {
2240
2409
  "visibility": "Public",
2241
2410
  "isEntry": false,
@@ -2295,133 +2464,663 @@
2295
2464
  "return": [
2296
2465
  "U256"
2297
2466
  ]
2298
- }
2299
- }
2300
- },
2301
- "u32": {
2302
- "fileFormatVersion": 6,
2303
- "address": "0x1",
2304
- "name": "u32",
2305
- "friends": [],
2306
- "structs": {},
2307
- "exposedFunctions": {
2308
- "diff": {
2467
+ },
2468
+ "to_string": {
2309
2469
  "visibility": "Public",
2310
2470
  "isEntry": false,
2311
2471
  "typeParameters": [],
2312
2472
  "parameters": [
2313
- "U32",
2314
- "U32"
2473
+ "U256"
2315
2474
  ],
2316
2475
  "return": [
2317
- "U32"
2476
+ {
2477
+ "Struct": {
2478
+ "address": "0x1",
2479
+ "module": "string",
2480
+ "name": "String",
2481
+ "typeArguments": []
2482
+ }
2483
+ }
2318
2484
  ]
2319
2485
  },
2320
- "divide_and_round_up": {
2486
+ "try_as_u128": {
2321
2487
  "visibility": "Public",
2322
2488
  "isEntry": false,
2323
2489
  "typeParameters": [],
2324
2490
  "parameters": [
2325
- "U32",
2326
- "U32"
2491
+ "U256"
2327
2492
  ],
2328
2493
  "return": [
2329
- "U32"
2494
+ {
2495
+ "Struct": {
2496
+ "address": "0x1",
2497
+ "module": "option",
2498
+ "name": "Option",
2499
+ "typeArguments": [
2500
+ "U128"
2501
+ ]
2502
+ }
2503
+ }
2330
2504
  ]
2331
2505
  },
2332
- "max": {
2506
+ "try_as_u16": {
2333
2507
  "visibility": "Public",
2334
2508
  "isEntry": false,
2335
2509
  "typeParameters": [],
2336
2510
  "parameters": [
2337
- "U32",
2338
- "U32"
2511
+ "U256"
2339
2512
  ],
2340
2513
  "return": [
2341
- "U32"
2514
+ {
2515
+ "Struct": {
2516
+ "address": "0x1",
2517
+ "module": "option",
2518
+ "name": "Option",
2519
+ "typeArguments": [
2520
+ "U16"
2521
+ ]
2522
+ }
2523
+ }
2342
2524
  ]
2343
2525
  },
2344
- "min": {
2526
+ "try_as_u32": {
2345
2527
  "visibility": "Public",
2346
2528
  "isEntry": false,
2347
2529
  "typeParameters": [],
2348
2530
  "parameters": [
2349
- "U32",
2350
- "U32"
2531
+ "U256"
2351
2532
  ],
2352
2533
  "return": [
2353
- "U32"
2534
+ {
2535
+ "Struct": {
2536
+ "address": "0x1",
2537
+ "module": "option",
2538
+ "name": "Option",
2539
+ "typeArguments": [
2540
+ "U32"
2541
+ ]
2542
+ }
2543
+ }
2354
2544
  ]
2355
2545
  },
2356
- "pow": {
2546
+ "try_as_u64": {
2357
2547
  "visibility": "Public",
2358
2548
  "isEntry": false,
2359
2549
  "typeParameters": [],
2360
2550
  "parameters": [
2361
- "U32",
2362
- "U8"
2551
+ "U256"
2363
2552
  ],
2364
2553
  "return": [
2365
- "U32"
2554
+ {
2555
+ "Struct": {
2556
+ "address": "0x1",
2557
+ "module": "option",
2558
+ "name": "Option",
2559
+ "typeArguments": [
2560
+ "U64"
2561
+ ]
2562
+ }
2563
+ }
2366
2564
  ]
2367
2565
  },
2368
- "sqrt": {
2566
+ "try_as_u8": {
2369
2567
  "visibility": "Public",
2370
2568
  "isEntry": false,
2371
2569
  "typeParameters": [],
2372
2570
  "parameters": [
2373
- "U32"
2571
+ "U256"
2374
2572
  ],
2375
2573
  "return": [
2376
- "U32"
2574
+ {
2575
+ "Struct": {
2576
+ "address": "0x1",
2577
+ "module": "option",
2578
+ "name": "Option",
2579
+ "typeArguments": [
2580
+ "U8"
2581
+ ]
2582
+ }
2583
+ }
2377
2584
  ]
2378
2585
  }
2379
2586
  }
2380
2587
  },
2381
- "u64": {
2588
+ "u32": {
2382
2589
  "fileFormatVersion": 6,
2383
2590
  "address": "0x1",
2384
- "name": "u64",
2591
+ "name": "u32",
2385
2592
  "friends": [],
2386
2593
  "structs": {},
2387
2594
  "exposedFunctions": {
2388
- "diff": {
2595
+ "bitwise_not": {
2389
2596
  "visibility": "Public",
2390
2597
  "isEntry": false,
2391
2598
  "typeParameters": [],
2392
2599
  "parameters": [
2393
- "U64",
2394
- "U64"
2600
+ "U32"
2395
2601
  ],
2396
2602
  "return": [
2397
- "U64"
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
+ }
2398
3070
  ]
2399
3071
  },
2400
- "divide_and_round_up": {
3072
+ "div": {
2401
3073
  "visibility": "Public",
2402
3074
  "isEntry": false,
2403
3075
  "typeParameters": [],
2404
3076
  "parameters": [
2405
- "U64",
2406
- "U64"
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
+ }
2407
3093
  ],
2408
3094
  "return": [
2409
- "U64"
3095
+ {
3096
+ "Struct": {
3097
+ "address": "0x1",
3098
+ "module": "uq32_32",
3099
+ "name": "UQ32_32",
3100
+ "typeArguments": []
3101
+ }
3102
+ }
2410
3103
  ]
2411
3104
  },
2412
- "max": {
3105
+ "from_int": {
2413
3106
  "visibility": "Public",
2414
3107
  "isEntry": false,
2415
3108
  "typeParameters": [],
2416
3109
  "parameters": [
2417
- "U64",
2418
- "U64"
3110
+ "U32"
2419
3111
  ],
2420
3112
  "return": [
2421
- "U64"
3113
+ {
3114
+ "Struct": {
3115
+ "address": "0x1",
3116
+ "module": "uq32_32",
3117
+ "name": "UQ32_32",
3118
+ "typeArguments": []
3119
+ }
3120
+ }
2422
3121
  ]
2423
3122
  },
2424
- "min": {
3123
+ "from_quotient": {
2425
3124
  "visibility": "Public",
2426
3125
  "isEntry": false,
2427
3126
  "typeParameters": [],
@@ -2430,110 +3129,276 @@
2430
3129
  "U64"
2431
3130
  ],
2432
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": [
2433
3147
  "U64"
3148
+ ],
3149
+ "return": [
3150
+ {
3151
+ "Struct": {
3152
+ "address": "0x1",
3153
+ "module": "uq32_32",
3154
+ "name": "UQ32_32",
3155
+ "typeArguments": []
3156
+ }
3157
+ }
2434
3158
  ]
2435
3159
  },
2436
- "pow": {
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": {
2437
3213
  "visibility": "Public",
2438
3214
  "isEntry": false,
2439
3215
  "typeParameters": [],
2440
3216
  "parameters": [
2441
3217
  "U64",
2442
- "U8"
3218
+ {
3219
+ "Struct": {
3220
+ "address": "0x1",
3221
+ "module": "uq32_32",
3222
+ "name": "UQ32_32",
3223
+ "typeArguments": []
3224
+ }
3225
+ }
2443
3226
  ],
2444
3227
  "return": [
2445
3228
  "U64"
2446
3229
  ]
2447
3230
  },
2448
- "sqrt": {
3231
+ "int_mul": {
2449
3232
  "visibility": "Public",
2450
3233
  "isEntry": false,
2451
3234
  "typeParameters": [],
2452
3235
  "parameters": [
2453
- "U64"
3236
+ "U64",
3237
+ {
3238
+ "Struct": {
3239
+ "address": "0x1",
3240
+ "module": "uq32_32",
3241
+ "name": "UQ32_32",
3242
+ "typeArguments": []
3243
+ }
3244
+ }
2454
3245
  ],
2455
3246
  "return": [
2456
3247
  "U64"
2457
3248
  ]
2458
- }
2459
- }
2460
- },
2461
- "u8": {
2462
- "fileFormatVersion": 6,
2463
- "address": "0x1",
2464
- "name": "u8",
2465
- "friends": [],
2466
- "structs": {},
2467
- "exposedFunctions": {
2468
- "diff": {
3249
+ },
3250
+ "le": {
2469
3251
  "visibility": "Public",
2470
3252
  "isEntry": false,
2471
3253
  "typeParameters": [],
2472
3254
  "parameters": [
2473
- "U8",
2474
- "U8"
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
+ }
2475
3271
  ],
2476
3272
  "return": [
2477
- "U8"
3273
+ "Bool"
2478
3274
  ]
2479
3275
  },
2480
- "divide_and_round_up": {
3276
+ "lt": {
2481
3277
  "visibility": "Public",
2482
3278
  "isEntry": false,
2483
3279
  "typeParameters": [],
2484
3280
  "parameters": [
2485
- "U8",
2486
- "U8"
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
+ }
2487
3297
  ],
2488
3298
  "return": [
2489
- "U8"
3299
+ "Bool"
2490
3300
  ]
2491
3301
  },
2492
- "max": {
3302
+ "mul": {
2493
3303
  "visibility": "Public",
2494
3304
  "isEntry": false,
2495
3305
  "typeParameters": [],
2496
3306
  "parameters": [
2497
- "U8",
2498
- "U8"
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
+ }
2499
3323
  ],
2500
3324
  "return": [
2501
- "U8"
3325
+ {
3326
+ "Struct": {
3327
+ "address": "0x1",
3328
+ "module": "uq32_32",
3329
+ "name": "UQ32_32",
3330
+ "typeArguments": []
3331
+ }
3332
+ }
2502
3333
  ]
2503
3334
  },
2504
- "min": {
3335
+ "sub": {
2505
3336
  "visibility": "Public",
2506
3337
  "isEntry": false,
2507
3338
  "typeParameters": [],
2508
3339
  "parameters": [
2509
- "U8",
2510
- "U8"
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
+ }
2511
3356
  ],
2512
3357
  "return": [
2513
- "U8"
3358
+ {
3359
+ "Struct": {
3360
+ "address": "0x1",
3361
+ "module": "uq32_32",
3362
+ "name": "UQ32_32",
3363
+ "typeArguments": []
3364
+ }
3365
+ }
2514
3366
  ]
2515
3367
  },
2516
- "pow": {
3368
+ "to_int": {
2517
3369
  "visibility": "Public",
2518
3370
  "isEntry": false,
2519
3371
  "typeParameters": [],
2520
3372
  "parameters": [
2521
- "U8",
2522
- "U8"
3373
+ {
3374
+ "Struct": {
3375
+ "address": "0x1",
3376
+ "module": "uq32_32",
3377
+ "name": "UQ32_32",
3378
+ "typeArguments": []
3379
+ }
3380
+ }
2523
3381
  ],
2524
3382
  "return": [
2525
- "U8"
3383
+ "U32"
2526
3384
  ]
2527
3385
  },
2528
- "sqrt": {
3386
+ "to_raw": {
2529
3387
  "visibility": "Public",
2530
3388
  "isEntry": false,
2531
3389
  "typeParameters": [],
2532
3390
  "parameters": [
2533
- "U8"
3391
+ {
3392
+ "Struct": {
3393
+ "address": "0x1",
3394
+ "module": "uq32_32",
3395
+ "name": "UQ32_32",
3396
+ "typeArguments": []
3397
+ }
3398
+ }
2534
3399
  ],
2535
3400
  "return": [
2536
- "U8"
3401
+ "U64"
2537
3402
  ]
2538
3403
  }
2539
3404
  }
@@ -2681,6 +3546,31 @@
2681
3546
  }
2682
3547
  ]
2683
3548
  },
3549
+ "flatten": {
3550
+ "visibility": "Public",
3551
+ "isEntry": false,
3552
+ "typeParameters": [
3553
+ {
3554
+ "abilities": []
3555
+ }
3556
+ ],
3557
+ "parameters": [
3558
+ {
3559
+ "Vector": {
3560
+ "Vector": {
3561
+ "TypeParameter": 0
3562
+ }
3563
+ }
3564
+ }
3565
+ ],
3566
+ "return": [
3567
+ {
3568
+ "Vector": {
3569
+ "TypeParameter": 0
3570
+ }
3571
+ }
3572
+ ]
3573
+ },
2684
3574
  "index_of": {
2685
3575
  "visibility": "Public",
2686
3576
  "isEntry": false,