@typemove/sui 1.6.2-rc.2 → 1.6.2

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.
package/src/abis/0x1.json CHANGED
@@ -79,6 +79,32 @@
79
79
  "Bool"
80
80
  ]
81
81
  },
82
+ "append": {
83
+ "visibility": "Public",
84
+ "isEntry": false,
85
+ "typeParameters": [],
86
+ "parameters": [
87
+ {
88
+ "MutableReference": {
89
+ "Struct": {
90
+ "address": "0x1",
91
+ "module": "ascii",
92
+ "name": "String",
93
+ "typeArguments": []
94
+ }
95
+ }
96
+ },
97
+ {
98
+ "Struct": {
99
+ "address": "0x1",
100
+ "module": "ascii",
101
+ "name": "String",
102
+ "typeArguments": []
103
+ }
104
+ }
105
+ ],
106
+ "return": []
107
+ },
82
108
  "as_bytes": {
83
109
  "visibility": "Public",
84
110
  "isEntry": false,
@@ -139,6 +165,63 @@
139
165
  }
140
166
  ]
141
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
+ },
142
225
  "into_bytes": {
143
226
  "visibility": "Public",
144
227
  "isEntry": false,
@@ -159,6 +242,26 @@
159
242
  }
160
243
  ]
161
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
+ },
162
265
  "is_printable_char": {
163
266
  "visibility": "Public",
164
267
  "isEntry": false,
@@ -274,6 +377,89 @@
274
377
  }
275
378
  ]
276
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
+ },
277
463
  "try_string": {
278
464
  "visibility": "Public",
279
465
  "isEntry": false,
@@ -713,6 +899,14 @@
713
899
  }
714
900
  }
715
901
  },
902
+ "macros": {
903
+ "fileFormatVersion": 6,
904
+ "address": "0x1",
905
+ "name": "macros",
906
+ "friends": [],
907
+ "structs": {},
908
+ "exposedFunctions": {}
909
+ },
716
910
  "option": {
717
911
  "fileFormatVersion": 6,
718
912
  "address": "0x1",
@@ -1350,6 +1544,30 @@
1350
1544
  ],
1351
1545
  "return": []
1352
1546
  },
1547
+ "as_bytes": {
1548
+ "visibility": "Public",
1549
+ "isEntry": false,
1550
+ "typeParameters": [],
1551
+ "parameters": [
1552
+ {
1553
+ "Reference": {
1554
+ "Struct": {
1555
+ "address": "0x1",
1556
+ "module": "string",
1557
+ "name": "String",
1558
+ "typeArguments": []
1559
+ }
1560
+ }
1561
+ }
1562
+ ],
1563
+ "return": [
1564
+ {
1565
+ "Reference": {
1566
+ "Vector": "U8"
1567
+ }
1568
+ }
1569
+ ]
1570
+ },
1353
1571
  "bytes": {
1354
1572
  "visibility": "Public",
1355
1573
  "isEntry": false,
@@ -1456,6 +1674,26 @@
1456
1674
  ],
1457
1675
  "return": []
1458
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
+ },
1459
1697
  "is_empty": {
1460
1698
  "visibility": "Public",
1461
1699
  "isEntry": false,
@@ -1525,40 +1763,69 @@
1525
1763
  }
1526
1764
  ]
1527
1765
  },
1528
- "to_ascii": {
1766
+ "substring": {
1529
1767
  "visibility": "Public",
1530
1768
  "isEntry": false,
1531
1769
  "typeParameters": [],
1532
1770
  "parameters": [
1533
1771
  {
1534
- "Struct": {
1535
- "address": "0x1",
1536
- "module": "string",
1537
- "name": "String",
1538
- "typeArguments": []
1772
+ "Reference": {
1773
+ "Struct": {
1774
+ "address": "0x1",
1775
+ "module": "string",
1776
+ "name": "String",
1777
+ "typeArguments": []
1778
+ }
1539
1779
  }
1540
- }
1780
+ },
1781
+ "U64",
1782
+ "U64"
1541
1783
  ],
1542
1784
  "return": [
1543
1785
  {
1544
1786
  "Struct": {
1545
1787
  "address": "0x1",
1546
- "module": "ascii",
1788
+ "module": "string",
1547
1789
  "name": "String",
1548
1790
  "typeArguments": []
1549
1791
  }
1550
1792
  }
1551
1793
  ]
1552
1794
  },
1553
- "try_utf8": {
1795
+ "to_ascii": {
1554
1796
  "visibility": "Public",
1555
1797
  "isEntry": false,
1556
1798
  "typeParameters": [],
1557
1799
  "parameters": [
1558
1800
  {
1559
- "Vector": "U8"
1560
- }
1561
- ],
1801
+ "Struct": {
1802
+ "address": "0x1",
1803
+ "module": "string",
1804
+ "name": "String",
1805
+ "typeArguments": []
1806
+ }
1807
+ }
1808
+ ],
1809
+ "return": [
1810
+ {
1811
+ "Struct": {
1812
+ "address": "0x1",
1813
+ "module": "ascii",
1814
+ "name": "String",
1815
+ "typeArguments": []
1816
+ }
1817
+ }
1818
+ ]
1819
+ },
1820
+ "try_utf8": {
1821
+ "visibility": "Public",
1822
+ "isEntry": false,
1823
+ "typeParameters": [],
1824
+ "parameters": [
1825
+ {
1826
+ "Vector": "U8"
1827
+ }
1828
+ ],
1562
1829
  "return": [
1563
1830
  {
1564
1831
  "Struct": {
@@ -1802,6 +2069,475 @@
1802
2069
  }
1803
2070
  }
1804
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
+ ]
2538
+ }
2539
+ }
2540
+ },
1805
2541
  "vector": {
1806
2542
  "fileFormatVersion": 6,
1807
2543
  "address": "0x1",