@typemove/sui 1.6.2-rc.2 → 1.6.2-rc.3

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.
@@ -67,6 +67,17 @@ export var ascii;
67
67
  });
68
68
  }
69
69
  builder.allCharactersPrintable = allCharactersPrintable;
70
+ function append(tx, args) {
71
+ const _args = [];
72
+ _args.push(transactionArgumentOrObject(args[0], tx));
73
+ _args.push(transactionArgumentOrPure(args[1], tx));
74
+ // @ts-ignore
75
+ return tx.moveCall({
76
+ target: "0x1::ascii::append",
77
+ arguments: _args,
78
+ });
79
+ }
80
+ builder.append = append;
70
81
  function asBytes(tx, args) {
71
82
  const _args = [];
72
83
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -97,6 +108,29 @@ export var ascii;
97
108
  });
98
109
  }
99
110
  builder.char = char;
111
+ function indexOf(tx, args) {
112
+ const _args = [];
113
+ _args.push(transactionArgumentOrObject(args[0], tx));
114
+ _args.push(transactionArgumentOrObject(args[1], tx));
115
+ // @ts-ignore
116
+ return tx.moveCall({
117
+ target: "0x1::ascii::index_of",
118
+ arguments: _args,
119
+ });
120
+ }
121
+ builder.indexOf = indexOf;
122
+ function insert(tx, args) {
123
+ const _args = [];
124
+ _args.push(transactionArgumentOrObject(args[0], tx));
125
+ _args.push(transactionArgumentOrPure(args[1], tx));
126
+ _args.push(transactionArgumentOrPure(args[2], tx));
127
+ // @ts-ignore
128
+ return tx.moveCall({
129
+ target: "0x1::ascii::insert",
130
+ arguments: _args,
131
+ });
132
+ }
133
+ builder.insert = insert;
100
134
  function intoBytes(tx, args) {
101
135
  const _args = [];
102
136
  _args.push(transactionArgumentOrPure(args[0], tx));
@@ -107,6 +141,16 @@ export var ascii;
107
141
  });
108
142
  }
109
143
  builder.intoBytes = intoBytes;
144
+ function isEmpty(tx, args) {
145
+ const _args = [];
146
+ _args.push(transactionArgumentOrObject(args[0], tx));
147
+ // @ts-ignore
148
+ return tx.moveCall({
149
+ target: "0x1::ascii::is_empty",
150
+ arguments: _args,
151
+ });
152
+ }
153
+ builder.isEmpty = isEmpty;
110
154
  function isPrintableChar(tx, args) {
111
155
  const _args = [];
112
156
  _args.push(transactionArgumentOrPure(args[0], tx));
@@ -168,6 +212,38 @@ export var ascii;
168
212
  });
169
213
  }
170
214
  builder.string_ = string_;
215
+ function substring(tx, args) {
216
+ const _args = [];
217
+ _args.push(transactionArgumentOrObject(args[0], tx));
218
+ _args.push(transactionArgumentOrPure(args[1], tx));
219
+ _args.push(transactionArgumentOrPure(args[2], tx));
220
+ // @ts-ignore
221
+ return tx.moveCall({
222
+ target: "0x1::ascii::substring",
223
+ arguments: _args,
224
+ });
225
+ }
226
+ builder.substring = substring;
227
+ function toLowercase(tx, args) {
228
+ const _args = [];
229
+ _args.push(transactionArgumentOrObject(args[0], tx));
230
+ // @ts-ignore
231
+ return tx.moveCall({
232
+ target: "0x1::ascii::to_lowercase",
233
+ arguments: _args,
234
+ });
235
+ }
236
+ builder.toLowercase = toLowercase;
237
+ function toUppercase(tx, args) {
238
+ const _args = [];
239
+ _args.push(transactionArgumentOrObject(args[0], tx));
240
+ // @ts-ignore
241
+ return tx.moveCall({
242
+ target: "0x1::ascii::to_uppercase",
243
+ arguments: _args,
244
+ });
245
+ }
246
+ builder.toUppercase = toUppercase;
171
247
  function tryString(tx, args) {
172
248
  const _args = [];
173
249
  _args.push(transactionArgumentOrVec(args[0], tx));
@@ -191,6 +267,16 @@ export var ascii;
191
267
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
192
268
  }
193
269
  view.allCharactersPrintable = allCharactersPrintable;
270
+ async function append(client, args) {
271
+ const tx = new TransactionBlock();
272
+ builder.append(tx, args);
273
+ const inspectRes = await client.devInspectTransactionBlock({
274
+ transactionBlock: tx,
275
+ sender: ZERO_ADDRESS,
276
+ });
277
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
278
+ }
279
+ view.append = append;
194
280
  async function asBytes(client, args) {
195
281
  const tx = new TransactionBlock();
196
282
  builder.asBytes(tx, args);
@@ -221,6 +307,26 @@ export var ascii;
221
307
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
222
308
  }
223
309
  view.char = char;
310
+ async function indexOf(client, args) {
311
+ const tx = new TransactionBlock();
312
+ builder.indexOf(tx, args);
313
+ const inspectRes = await client.devInspectTransactionBlock({
314
+ transactionBlock: tx,
315
+ sender: ZERO_ADDRESS,
316
+ });
317
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
318
+ }
319
+ view.indexOf = indexOf;
320
+ async function insert(client, args) {
321
+ const tx = new TransactionBlock();
322
+ builder.insert(tx, args);
323
+ const inspectRes = await client.devInspectTransactionBlock({
324
+ transactionBlock: tx,
325
+ sender: ZERO_ADDRESS,
326
+ });
327
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
328
+ }
329
+ view.insert = insert;
224
330
  async function intoBytes(client, args) {
225
331
  const tx = new TransactionBlock();
226
332
  builder.intoBytes(tx, args);
@@ -231,6 +337,16 @@ export var ascii;
231
337
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
232
338
  }
233
339
  view.intoBytes = intoBytes;
340
+ async function isEmpty(client, args) {
341
+ const tx = new TransactionBlock();
342
+ builder.isEmpty(tx, args);
343
+ const inspectRes = await client.devInspectTransactionBlock({
344
+ transactionBlock: tx,
345
+ sender: ZERO_ADDRESS,
346
+ });
347
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
348
+ }
349
+ view.isEmpty = isEmpty;
234
350
  async function isPrintableChar(client, args) {
235
351
  const tx = new TransactionBlock();
236
352
  builder.isPrintableChar(tx, args);
@@ -291,6 +407,36 @@ export var ascii;
291
407
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
292
408
  }
293
409
  view.string_ = string_;
410
+ async function substring(client, args) {
411
+ const tx = new TransactionBlock();
412
+ builder.substring(tx, args);
413
+ const inspectRes = await client.devInspectTransactionBlock({
414
+ transactionBlock: tx,
415
+ sender: ZERO_ADDRESS,
416
+ });
417
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
418
+ }
419
+ view.substring = substring;
420
+ async function toLowercase(client, args) {
421
+ const tx = new TransactionBlock();
422
+ builder.toLowercase(tx, args);
423
+ const inspectRes = await client.devInspectTransactionBlock({
424
+ transactionBlock: tx,
425
+ sender: ZERO_ADDRESS,
426
+ });
427
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
428
+ }
429
+ view.toLowercase = toLowercase;
430
+ async function toUppercase(client, args) {
431
+ const tx = new TransactionBlock();
432
+ builder.toUppercase(tx, args);
433
+ const inspectRes = await client.devInspectTransactionBlock({
434
+ transactionBlock: tx,
435
+ sender: ZERO_ADDRESS,
436
+ });
437
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
438
+ }
439
+ view.toUppercase = toUppercase;
294
440
  async function tryString(client, args) {
295
441
  const tx = new TransactionBlock();
296
442
  builder.tryString(tx, args);
@@ -1227,6 +1373,16 @@ export var string_;
1227
1373
  });
1228
1374
  }
1229
1375
  builder.appendUtf8 = appendUtf8;
1376
+ function asBytes(tx, args) {
1377
+ const _args = [];
1378
+ _args.push(transactionArgumentOrObject(args[0], tx));
1379
+ // @ts-ignore
1380
+ return tx.moveCall({
1381
+ target: "0x1::string::as_bytes",
1382
+ arguments: _args,
1383
+ });
1384
+ }
1385
+ builder.asBytes = asBytes;
1230
1386
  function bytes(tx, args) {
1231
1387
  const _args = [];
1232
1388
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -1270,6 +1426,16 @@ export var string_;
1270
1426
  });
1271
1427
  }
1272
1428
  builder.insert = insert;
1429
+ function intoBytes(tx, args) {
1430
+ const _args = [];
1431
+ _args.push(transactionArgumentOrPure(args[0], tx));
1432
+ // @ts-ignore
1433
+ return tx.moveCall({
1434
+ target: "0x1::string::into_bytes",
1435
+ arguments: _args,
1436
+ });
1437
+ }
1438
+ builder.intoBytes = intoBytes;
1273
1439
  function isEmpty(tx, args) {
1274
1440
  const _args = [];
1275
1441
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -1302,6 +1468,18 @@ export var string_;
1302
1468
  });
1303
1469
  }
1304
1470
  builder.subString = subString;
1471
+ function substring(tx, args) {
1472
+ const _args = [];
1473
+ _args.push(transactionArgumentOrObject(args[0], tx));
1474
+ _args.push(transactionArgumentOrPure(args[1], tx));
1475
+ _args.push(transactionArgumentOrPure(args[2], tx));
1476
+ // @ts-ignore
1477
+ return tx.moveCall({
1478
+ target: "0x1::string::substring",
1479
+ arguments: _args,
1480
+ });
1481
+ }
1482
+ builder.substring = substring;
1305
1483
  function toAscii(tx, args) {
1306
1484
  const _args = [];
1307
1485
  _args.push(transactionArgumentOrPure(args[0], tx));
@@ -1355,6 +1533,16 @@ export var string_;
1355
1533
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1356
1534
  }
1357
1535
  view.appendUtf8 = appendUtf8;
1536
+ async function asBytes(client, args) {
1537
+ const tx = new TransactionBlock();
1538
+ builder.asBytes(tx, args);
1539
+ const inspectRes = await client.devInspectTransactionBlock({
1540
+ transactionBlock: tx,
1541
+ sender: ZERO_ADDRESS,
1542
+ });
1543
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1544
+ }
1545
+ view.asBytes = asBytes;
1358
1546
  async function bytes(client, args) {
1359
1547
  const tx = new TransactionBlock();
1360
1548
  builder.bytes(tx, args);
@@ -1395,6 +1583,16 @@ export var string_;
1395
1583
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1396
1584
  }
1397
1585
  view.insert = insert;
1586
+ async function intoBytes(client, args) {
1587
+ const tx = new TransactionBlock();
1588
+ builder.intoBytes(tx, args);
1589
+ const inspectRes = await client.devInspectTransactionBlock({
1590
+ transactionBlock: tx,
1591
+ sender: ZERO_ADDRESS,
1592
+ });
1593
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1594
+ }
1595
+ view.intoBytes = intoBytes;
1398
1596
  async function isEmpty(client, args) {
1399
1597
  const tx = new TransactionBlock();
1400
1598
  builder.isEmpty(tx, args);
@@ -1425,6 +1623,16 @@ export var string_;
1425
1623
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1426
1624
  }
1427
1625
  view.subString = subString;
1626
+ async function substring(client, args) {
1627
+ const tx = new TransactionBlock();
1628
+ builder.substring(tx, args);
1629
+ const inspectRes = await client.devInspectTransactionBlock({
1630
+ transactionBlock: tx,
1631
+ sender: ZERO_ADDRESS,
1632
+ });
1633
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1634
+ }
1635
+ view.substring = substring;
1428
1636
  async function toAscii(client, args) {
1429
1637
  const tx = new TransactionBlock();
1430
1638
  builder.toAscii(tx, args);
@@ -1623,6 +1831,790 @@ export var type_name;
1623
1831
  view.isPrimitive = isPrimitive;
1624
1832
  })(view = type_name.view || (type_name.view = {}));
1625
1833
  })(type_name || (type_name = {}));
1834
+ export var u128;
1835
+ (function (u128) {
1836
+ let builder;
1837
+ (function (builder) {
1838
+ function diff(tx, args) {
1839
+ const _args = [];
1840
+ _args.push(transactionArgumentOrPure(args[0], tx));
1841
+ _args.push(transactionArgumentOrPure(args[1], tx));
1842
+ // @ts-ignore
1843
+ return tx.moveCall({
1844
+ target: "0x1::u128::diff",
1845
+ arguments: _args,
1846
+ });
1847
+ }
1848
+ builder.diff = diff;
1849
+ function divideAndRoundUp(tx, args) {
1850
+ const _args = [];
1851
+ _args.push(transactionArgumentOrPure(args[0], tx));
1852
+ _args.push(transactionArgumentOrPure(args[1], tx));
1853
+ // @ts-ignore
1854
+ return tx.moveCall({
1855
+ target: "0x1::u128::divide_and_round_up",
1856
+ arguments: _args,
1857
+ });
1858
+ }
1859
+ builder.divideAndRoundUp = divideAndRoundUp;
1860
+ function max(tx, args) {
1861
+ const _args = [];
1862
+ _args.push(transactionArgumentOrPure(args[0], tx));
1863
+ _args.push(transactionArgumentOrPure(args[1], tx));
1864
+ // @ts-ignore
1865
+ return tx.moveCall({
1866
+ target: "0x1::u128::max",
1867
+ arguments: _args,
1868
+ });
1869
+ }
1870
+ builder.max = max;
1871
+ function min(tx, args) {
1872
+ const _args = [];
1873
+ _args.push(transactionArgumentOrPure(args[0], tx));
1874
+ _args.push(transactionArgumentOrPure(args[1], tx));
1875
+ // @ts-ignore
1876
+ return tx.moveCall({
1877
+ target: "0x1::u128::min",
1878
+ arguments: _args,
1879
+ });
1880
+ }
1881
+ builder.min = min;
1882
+ function pow(tx, args) {
1883
+ const _args = [];
1884
+ _args.push(transactionArgumentOrPure(args[0], tx));
1885
+ _args.push(transactionArgumentOrPure(args[1], tx));
1886
+ // @ts-ignore
1887
+ return tx.moveCall({
1888
+ target: "0x1::u128::pow",
1889
+ arguments: _args,
1890
+ });
1891
+ }
1892
+ builder.pow = pow;
1893
+ function sqrt(tx, args) {
1894
+ const _args = [];
1895
+ _args.push(transactionArgumentOrPure(args[0], tx));
1896
+ // @ts-ignore
1897
+ return tx.moveCall({
1898
+ target: "0x1::u128::sqrt",
1899
+ arguments: _args,
1900
+ });
1901
+ }
1902
+ builder.sqrt = sqrt;
1903
+ })(builder = u128.builder || (u128.builder = {}));
1904
+ let view;
1905
+ (function (view) {
1906
+ async function diff(client, args) {
1907
+ const tx = new TransactionBlock();
1908
+ builder.diff(tx, args);
1909
+ const inspectRes = await client.devInspectTransactionBlock({
1910
+ transactionBlock: tx,
1911
+ sender: ZERO_ADDRESS,
1912
+ });
1913
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1914
+ }
1915
+ view.diff = diff;
1916
+ async function divideAndRoundUp(client, args) {
1917
+ const tx = new TransactionBlock();
1918
+ builder.divideAndRoundUp(tx, args);
1919
+ const inspectRes = await client.devInspectTransactionBlock({
1920
+ transactionBlock: tx,
1921
+ sender: ZERO_ADDRESS,
1922
+ });
1923
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1924
+ }
1925
+ view.divideAndRoundUp = divideAndRoundUp;
1926
+ async function max(client, args) {
1927
+ const tx = new TransactionBlock();
1928
+ builder.max(tx, args);
1929
+ const inspectRes = await client.devInspectTransactionBlock({
1930
+ transactionBlock: tx,
1931
+ sender: ZERO_ADDRESS,
1932
+ });
1933
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1934
+ }
1935
+ view.max = max;
1936
+ async function min(client, args) {
1937
+ const tx = new TransactionBlock();
1938
+ builder.min(tx, args);
1939
+ const inspectRes = await client.devInspectTransactionBlock({
1940
+ transactionBlock: tx,
1941
+ sender: ZERO_ADDRESS,
1942
+ });
1943
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1944
+ }
1945
+ view.min = min;
1946
+ async function pow(client, args) {
1947
+ const tx = new TransactionBlock();
1948
+ builder.pow(tx, args);
1949
+ const inspectRes = await client.devInspectTransactionBlock({
1950
+ transactionBlock: tx,
1951
+ sender: ZERO_ADDRESS,
1952
+ });
1953
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1954
+ }
1955
+ view.pow = pow;
1956
+ async function sqrt(client, args) {
1957
+ const tx = new TransactionBlock();
1958
+ builder.sqrt(tx, args);
1959
+ const inspectRes = await client.devInspectTransactionBlock({
1960
+ transactionBlock: tx,
1961
+ sender: ZERO_ADDRESS,
1962
+ });
1963
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
1964
+ }
1965
+ view.sqrt = sqrt;
1966
+ })(view = u128.view || (u128.view = {}));
1967
+ })(u128 || (u128 = {}));
1968
+ export var u16;
1969
+ (function (u16) {
1970
+ let builder;
1971
+ (function (builder) {
1972
+ function diff(tx, args) {
1973
+ const _args = [];
1974
+ _args.push(transactionArgumentOrPure(args[0], tx));
1975
+ _args.push(transactionArgumentOrPure(args[1], tx));
1976
+ // @ts-ignore
1977
+ return tx.moveCall({
1978
+ target: "0x1::u16::diff",
1979
+ arguments: _args,
1980
+ });
1981
+ }
1982
+ builder.diff = diff;
1983
+ function divideAndRoundUp(tx, args) {
1984
+ const _args = [];
1985
+ _args.push(transactionArgumentOrPure(args[0], tx));
1986
+ _args.push(transactionArgumentOrPure(args[1], tx));
1987
+ // @ts-ignore
1988
+ return tx.moveCall({
1989
+ target: "0x1::u16::divide_and_round_up",
1990
+ arguments: _args,
1991
+ });
1992
+ }
1993
+ builder.divideAndRoundUp = divideAndRoundUp;
1994
+ function max(tx, args) {
1995
+ const _args = [];
1996
+ _args.push(transactionArgumentOrPure(args[0], tx));
1997
+ _args.push(transactionArgumentOrPure(args[1], tx));
1998
+ // @ts-ignore
1999
+ return tx.moveCall({
2000
+ target: "0x1::u16::max",
2001
+ arguments: _args,
2002
+ });
2003
+ }
2004
+ builder.max = max;
2005
+ function min(tx, args) {
2006
+ const _args = [];
2007
+ _args.push(transactionArgumentOrPure(args[0], tx));
2008
+ _args.push(transactionArgumentOrPure(args[1], tx));
2009
+ // @ts-ignore
2010
+ return tx.moveCall({
2011
+ target: "0x1::u16::min",
2012
+ arguments: _args,
2013
+ });
2014
+ }
2015
+ builder.min = min;
2016
+ function pow(tx, args) {
2017
+ const _args = [];
2018
+ _args.push(transactionArgumentOrPure(args[0], tx));
2019
+ _args.push(transactionArgumentOrPure(args[1], tx));
2020
+ // @ts-ignore
2021
+ return tx.moveCall({
2022
+ target: "0x1::u16::pow",
2023
+ arguments: _args,
2024
+ });
2025
+ }
2026
+ builder.pow = pow;
2027
+ function sqrt(tx, args) {
2028
+ const _args = [];
2029
+ _args.push(transactionArgumentOrPure(args[0], tx));
2030
+ // @ts-ignore
2031
+ return tx.moveCall({
2032
+ target: "0x1::u16::sqrt",
2033
+ arguments: _args,
2034
+ });
2035
+ }
2036
+ builder.sqrt = sqrt;
2037
+ })(builder = u16.builder || (u16.builder = {}));
2038
+ let view;
2039
+ (function (view) {
2040
+ async function diff(client, args) {
2041
+ const tx = new TransactionBlock();
2042
+ builder.diff(tx, args);
2043
+ const inspectRes = await client.devInspectTransactionBlock({
2044
+ transactionBlock: tx,
2045
+ sender: ZERO_ADDRESS,
2046
+ });
2047
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2048
+ }
2049
+ view.diff = diff;
2050
+ async function divideAndRoundUp(client, args) {
2051
+ const tx = new TransactionBlock();
2052
+ builder.divideAndRoundUp(tx, args);
2053
+ const inspectRes = await client.devInspectTransactionBlock({
2054
+ transactionBlock: tx,
2055
+ sender: ZERO_ADDRESS,
2056
+ });
2057
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2058
+ }
2059
+ view.divideAndRoundUp = divideAndRoundUp;
2060
+ async function max(client, args) {
2061
+ const tx = new TransactionBlock();
2062
+ builder.max(tx, args);
2063
+ const inspectRes = await client.devInspectTransactionBlock({
2064
+ transactionBlock: tx,
2065
+ sender: ZERO_ADDRESS,
2066
+ });
2067
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2068
+ }
2069
+ view.max = max;
2070
+ async function min(client, args) {
2071
+ const tx = new TransactionBlock();
2072
+ builder.min(tx, args);
2073
+ const inspectRes = await client.devInspectTransactionBlock({
2074
+ transactionBlock: tx,
2075
+ sender: ZERO_ADDRESS,
2076
+ });
2077
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2078
+ }
2079
+ view.min = min;
2080
+ async function pow(client, args) {
2081
+ const tx = new TransactionBlock();
2082
+ builder.pow(tx, args);
2083
+ const inspectRes = await client.devInspectTransactionBlock({
2084
+ transactionBlock: tx,
2085
+ sender: ZERO_ADDRESS,
2086
+ });
2087
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2088
+ }
2089
+ view.pow = pow;
2090
+ async function sqrt(client, args) {
2091
+ const tx = new TransactionBlock();
2092
+ builder.sqrt(tx, args);
2093
+ const inspectRes = await client.devInspectTransactionBlock({
2094
+ transactionBlock: tx,
2095
+ sender: ZERO_ADDRESS,
2096
+ });
2097
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2098
+ }
2099
+ view.sqrt = sqrt;
2100
+ })(view = u16.view || (u16.view = {}));
2101
+ })(u16 || (u16 = {}));
2102
+ export var u256;
2103
+ (function (u256) {
2104
+ let builder;
2105
+ (function (builder) {
2106
+ function diff(tx, args) {
2107
+ const _args = [];
2108
+ _args.push(transactionArgumentOrPure(args[0], tx));
2109
+ _args.push(transactionArgumentOrPure(args[1], tx));
2110
+ // @ts-ignore
2111
+ return tx.moveCall({
2112
+ target: "0x1::u256::diff",
2113
+ arguments: _args,
2114
+ });
2115
+ }
2116
+ builder.diff = diff;
2117
+ function divideAndRoundUp(tx, args) {
2118
+ const _args = [];
2119
+ _args.push(transactionArgumentOrPure(args[0], tx));
2120
+ _args.push(transactionArgumentOrPure(args[1], tx));
2121
+ // @ts-ignore
2122
+ return tx.moveCall({
2123
+ target: "0x1::u256::divide_and_round_up",
2124
+ arguments: _args,
2125
+ });
2126
+ }
2127
+ builder.divideAndRoundUp = divideAndRoundUp;
2128
+ function max(tx, args) {
2129
+ const _args = [];
2130
+ _args.push(transactionArgumentOrPure(args[0], tx));
2131
+ _args.push(transactionArgumentOrPure(args[1], tx));
2132
+ // @ts-ignore
2133
+ return tx.moveCall({
2134
+ target: "0x1::u256::max",
2135
+ arguments: _args,
2136
+ });
2137
+ }
2138
+ builder.max = max;
2139
+ function min(tx, args) {
2140
+ const _args = [];
2141
+ _args.push(transactionArgumentOrPure(args[0], tx));
2142
+ _args.push(transactionArgumentOrPure(args[1], tx));
2143
+ // @ts-ignore
2144
+ return tx.moveCall({
2145
+ target: "0x1::u256::min",
2146
+ arguments: _args,
2147
+ });
2148
+ }
2149
+ builder.min = min;
2150
+ function pow(tx, args) {
2151
+ const _args = [];
2152
+ _args.push(transactionArgumentOrPure(args[0], tx));
2153
+ _args.push(transactionArgumentOrPure(args[1], tx));
2154
+ // @ts-ignore
2155
+ return tx.moveCall({
2156
+ target: "0x1::u256::pow",
2157
+ arguments: _args,
2158
+ });
2159
+ }
2160
+ builder.pow = pow;
2161
+ })(builder = u256.builder || (u256.builder = {}));
2162
+ let view;
2163
+ (function (view) {
2164
+ async function diff(client, args) {
2165
+ const tx = new TransactionBlock();
2166
+ builder.diff(tx, args);
2167
+ const inspectRes = await client.devInspectTransactionBlock({
2168
+ transactionBlock: tx,
2169
+ sender: ZERO_ADDRESS,
2170
+ });
2171
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2172
+ }
2173
+ view.diff = diff;
2174
+ async function divideAndRoundUp(client, args) {
2175
+ const tx = new TransactionBlock();
2176
+ builder.divideAndRoundUp(tx, args);
2177
+ const inspectRes = await client.devInspectTransactionBlock({
2178
+ transactionBlock: tx,
2179
+ sender: ZERO_ADDRESS,
2180
+ });
2181
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2182
+ }
2183
+ view.divideAndRoundUp = divideAndRoundUp;
2184
+ async function max(client, args) {
2185
+ const tx = new TransactionBlock();
2186
+ builder.max(tx, args);
2187
+ const inspectRes = await client.devInspectTransactionBlock({
2188
+ transactionBlock: tx,
2189
+ sender: ZERO_ADDRESS,
2190
+ });
2191
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2192
+ }
2193
+ view.max = max;
2194
+ async function min(client, args) {
2195
+ const tx = new TransactionBlock();
2196
+ builder.min(tx, args);
2197
+ const inspectRes = await client.devInspectTransactionBlock({
2198
+ transactionBlock: tx,
2199
+ sender: ZERO_ADDRESS,
2200
+ });
2201
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2202
+ }
2203
+ view.min = min;
2204
+ async function pow(client, args) {
2205
+ const tx = new TransactionBlock();
2206
+ builder.pow(tx, args);
2207
+ const inspectRes = await client.devInspectTransactionBlock({
2208
+ transactionBlock: tx,
2209
+ sender: ZERO_ADDRESS,
2210
+ });
2211
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2212
+ }
2213
+ view.pow = pow;
2214
+ })(view = u256.view || (u256.view = {}));
2215
+ })(u256 || (u256 = {}));
2216
+ export var u32;
2217
+ (function (u32) {
2218
+ let builder;
2219
+ (function (builder) {
2220
+ function diff(tx, args) {
2221
+ const _args = [];
2222
+ _args.push(transactionArgumentOrPure(args[0], tx));
2223
+ _args.push(transactionArgumentOrPure(args[1], tx));
2224
+ // @ts-ignore
2225
+ return tx.moveCall({
2226
+ target: "0x1::u32::diff",
2227
+ arguments: _args,
2228
+ });
2229
+ }
2230
+ builder.diff = diff;
2231
+ function divideAndRoundUp(tx, args) {
2232
+ const _args = [];
2233
+ _args.push(transactionArgumentOrPure(args[0], tx));
2234
+ _args.push(transactionArgumentOrPure(args[1], tx));
2235
+ // @ts-ignore
2236
+ return tx.moveCall({
2237
+ target: "0x1::u32::divide_and_round_up",
2238
+ arguments: _args,
2239
+ });
2240
+ }
2241
+ builder.divideAndRoundUp = divideAndRoundUp;
2242
+ function max(tx, args) {
2243
+ const _args = [];
2244
+ _args.push(transactionArgumentOrPure(args[0], tx));
2245
+ _args.push(transactionArgumentOrPure(args[1], tx));
2246
+ // @ts-ignore
2247
+ return tx.moveCall({
2248
+ target: "0x1::u32::max",
2249
+ arguments: _args,
2250
+ });
2251
+ }
2252
+ builder.max = max;
2253
+ function min(tx, args) {
2254
+ const _args = [];
2255
+ _args.push(transactionArgumentOrPure(args[0], tx));
2256
+ _args.push(transactionArgumentOrPure(args[1], tx));
2257
+ // @ts-ignore
2258
+ return tx.moveCall({
2259
+ target: "0x1::u32::min",
2260
+ arguments: _args,
2261
+ });
2262
+ }
2263
+ builder.min = min;
2264
+ function pow(tx, args) {
2265
+ const _args = [];
2266
+ _args.push(transactionArgumentOrPure(args[0], tx));
2267
+ _args.push(transactionArgumentOrPure(args[1], tx));
2268
+ // @ts-ignore
2269
+ return tx.moveCall({
2270
+ target: "0x1::u32::pow",
2271
+ arguments: _args,
2272
+ });
2273
+ }
2274
+ builder.pow = pow;
2275
+ function sqrt(tx, args) {
2276
+ const _args = [];
2277
+ _args.push(transactionArgumentOrPure(args[0], tx));
2278
+ // @ts-ignore
2279
+ return tx.moveCall({
2280
+ target: "0x1::u32::sqrt",
2281
+ arguments: _args,
2282
+ });
2283
+ }
2284
+ builder.sqrt = sqrt;
2285
+ })(builder = u32.builder || (u32.builder = {}));
2286
+ let view;
2287
+ (function (view) {
2288
+ async function diff(client, args) {
2289
+ const tx = new TransactionBlock();
2290
+ builder.diff(tx, args);
2291
+ const inspectRes = await client.devInspectTransactionBlock({
2292
+ transactionBlock: tx,
2293
+ sender: ZERO_ADDRESS,
2294
+ });
2295
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2296
+ }
2297
+ view.diff = diff;
2298
+ async function divideAndRoundUp(client, args) {
2299
+ const tx = new TransactionBlock();
2300
+ builder.divideAndRoundUp(tx, args);
2301
+ const inspectRes = await client.devInspectTransactionBlock({
2302
+ transactionBlock: tx,
2303
+ sender: ZERO_ADDRESS,
2304
+ });
2305
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2306
+ }
2307
+ view.divideAndRoundUp = divideAndRoundUp;
2308
+ async function max(client, args) {
2309
+ const tx = new TransactionBlock();
2310
+ builder.max(tx, args);
2311
+ const inspectRes = await client.devInspectTransactionBlock({
2312
+ transactionBlock: tx,
2313
+ sender: ZERO_ADDRESS,
2314
+ });
2315
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2316
+ }
2317
+ view.max = max;
2318
+ async function min(client, args) {
2319
+ const tx = new TransactionBlock();
2320
+ builder.min(tx, args);
2321
+ const inspectRes = await client.devInspectTransactionBlock({
2322
+ transactionBlock: tx,
2323
+ sender: ZERO_ADDRESS,
2324
+ });
2325
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2326
+ }
2327
+ view.min = min;
2328
+ async function pow(client, args) {
2329
+ const tx = new TransactionBlock();
2330
+ builder.pow(tx, args);
2331
+ const inspectRes = await client.devInspectTransactionBlock({
2332
+ transactionBlock: tx,
2333
+ sender: ZERO_ADDRESS,
2334
+ });
2335
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2336
+ }
2337
+ view.pow = pow;
2338
+ async function sqrt(client, args) {
2339
+ const tx = new TransactionBlock();
2340
+ builder.sqrt(tx, args);
2341
+ const inspectRes = await client.devInspectTransactionBlock({
2342
+ transactionBlock: tx,
2343
+ sender: ZERO_ADDRESS,
2344
+ });
2345
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2346
+ }
2347
+ view.sqrt = sqrt;
2348
+ })(view = u32.view || (u32.view = {}));
2349
+ })(u32 || (u32 = {}));
2350
+ export var u64;
2351
+ (function (u64) {
2352
+ let builder;
2353
+ (function (builder) {
2354
+ function diff(tx, args) {
2355
+ const _args = [];
2356
+ _args.push(transactionArgumentOrPure(args[0], tx));
2357
+ _args.push(transactionArgumentOrPure(args[1], tx));
2358
+ // @ts-ignore
2359
+ return tx.moveCall({
2360
+ target: "0x1::u64::diff",
2361
+ arguments: _args,
2362
+ });
2363
+ }
2364
+ builder.diff = diff;
2365
+ function divideAndRoundUp(tx, args) {
2366
+ const _args = [];
2367
+ _args.push(transactionArgumentOrPure(args[0], tx));
2368
+ _args.push(transactionArgumentOrPure(args[1], tx));
2369
+ // @ts-ignore
2370
+ return tx.moveCall({
2371
+ target: "0x1::u64::divide_and_round_up",
2372
+ arguments: _args,
2373
+ });
2374
+ }
2375
+ builder.divideAndRoundUp = divideAndRoundUp;
2376
+ function max(tx, args) {
2377
+ const _args = [];
2378
+ _args.push(transactionArgumentOrPure(args[0], tx));
2379
+ _args.push(transactionArgumentOrPure(args[1], tx));
2380
+ // @ts-ignore
2381
+ return tx.moveCall({
2382
+ target: "0x1::u64::max",
2383
+ arguments: _args,
2384
+ });
2385
+ }
2386
+ builder.max = max;
2387
+ function min(tx, args) {
2388
+ const _args = [];
2389
+ _args.push(transactionArgumentOrPure(args[0], tx));
2390
+ _args.push(transactionArgumentOrPure(args[1], tx));
2391
+ // @ts-ignore
2392
+ return tx.moveCall({
2393
+ target: "0x1::u64::min",
2394
+ arguments: _args,
2395
+ });
2396
+ }
2397
+ builder.min = min;
2398
+ function pow(tx, args) {
2399
+ const _args = [];
2400
+ _args.push(transactionArgumentOrPure(args[0], tx));
2401
+ _args.push(transactionArgumentOrPure(args[1], tx));
2402
+ // @ts-ignore
2403
+ return tx.moveCall({
2404
+ target: "0x1::u64::pow",
2405
+ arguments: _args,
2406
+ });
2407
+ }
2408
+ builder.pow = pow;
2409
+ function sqrt(tx, args) {
2410
+ const _args = [];
2411
+ _args.push(transactionArgumentOrPure(args[0], tx));
2412
+ // @ts-ignore
2413
+ return tx.moveCall({
2414
+ target: "0x1::u64::sqrt",
2415
+ arguments: _args,
2416
+ });
2417
+ }
2418
+ builder.sqrt = sqrt;
2419
+ })(builder = u64.builder || (u64.builder = {}));
2420
+ let view;
2421
+ (function (view) {
2422
+ async function diff(client, args) {
2423
+ const tx = new TransactionBlock();
2424
+ builder.diff(tx, args);
2425
+ const inspectRes = await client.devInspectTransactionBlock({
2426
+ transactionBlock: tx,
2427
+ sender: ZERO_ADDRESS,
2428
+ });
2429
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2430
+ }
2431
+ view.diff = diff;
2432
+ async function divideAndRoundUp(client, args) {
2433
+ const tx = new TransactionBlock();
2434
+ builder.divideAndRoundUp(tx, args);
2435
+ const inspectRes = await client.devInspectTransactionBlock({
2436
+ transactionBlock: tx,
2437
+ sender: ZERO_ADDRESS,
2438
+ });
2439
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2440
+ }
2441
+ view.divideAndRoundUp = divideAndRoundUp;
2442
+ async function max(client, args) {
2443
+ const tx = new TransactionBlock();
2444
+ builder.max(tx, args);
2445
+ const inspectRes = await client.devInspectTransactionBlock({
2446
+ transactionBlock: tx,
2447
+ sender: ZERO_ADDRESS,
2448
+ });
2449
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2450
+ }
2451
+ view.max = max;
2452
+ async function min(client, args) {
2453
+ const tx = new TransactionBlock();
2454
+ builder.min(tx, args);
2455
+ const inspectRes = await client.devInspectTransactionBlock({
2456
+ transactionBlock: tx,
2457
+ sender: ZERO_ADDRESS,
2458
+ });
2459
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2460
+ }
2461
+ view.min = min;
2462
+ async function pow(client, args) {
2463
+ const tx = new TransactionBlock();
2464
+ builder.pow(tx, args);
2465
+ const inspectRes = await client.devInspectTransactionBlock({
2466
+ transactionBlock: tx,
2467
+ sender: ZERO_ADDRESS,
2468
+ });
2469
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2470
+ }
2471
+ view.pow = pow;
2472
+ async function sqrt(client, args) {
2473
+ const tx = new TransactionBlock();
2474
+ builder.sqrt(tx, args);
2475
+ const inspectRes = await client.devInspectTransactionBlock({
2476
+ transactionBlock: tx,
2477
+ sender: ZERO_ADDRESS,
2478
+ });
2479
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2480
+ }
2481
+ view.sqrt = sqrt;
2482
+ })(view = u64.view || (u64.view = {}));
2483
+ })(u64 || (u64 = {}));
2484
+ export var u8;
2485
+ (function (u8) {
2486
+ let builder;
2487
+ (function (builder) {
2488
+ function diff(tx, args) {
2489
+ const _args = [];
2490
+ _args.push(transactionArgumentOrPure(args[0], tx));
2491
+ _args.push(transactionArgumentOrPure(args[1], tx));
2492
+ // @ts-ignore
2493
+ return tx.moveCall({
2494
+ target: "0x1::u8::diff",
2495
+ arguments: _args,
2496
+ });
2497
+ }
2498
+ builder.diff = diff;
2499
+ function divideAndRoundUp(tx, args) {
2500
+ const _args = [];
2501
+ _args.push(transactionArgumentOrPure(args[0], tx));
2502
+ _args.push(transactionArgumentOrPure(args[1], tx));
2503
+ // @ts-ignore
2504
+ return tx.moveCall({
2505
+ target: "0x1::u8::divide_and_round_up",
2506
+ arguments: _args,
2507
+ });
2508
+ }
2509
+ builder.divideAndRoundUp = divideAndRoundUp;
2510
+ function max(tx, args) {
2511
+ const _args = [];
2512
+ _args.push(transactionArgumentOrPure(args[0], tx));
2513
+ _args.push(transactionArgumentOrPure(args[1], tx));
2514
+ // @ts-ignore
2515
+ return tx.moveCall({
2516
+ target: "0x1::u8::max",
2517
+ arguments: _args,
2518
+ });
2519
+ }
2520
+ builder.max = max;
2521
+ function min(tx, args) {
2522
+ const _args = [];
2523
+ _args.push(transactionArgumentOrPure(args[0], tx));
2524
+ _args.push(transactionArgumentOrPure(args[1], tx));
2525
+ // @ts-ignore
2526
+ return tx.moveCall({
2527
+ target: "0x1::u8::min",
2528
+ arguments: _args,
2529
+ });
2530
+ }
2531
+ builder.min = min;
2532
+ function pow(tx, args) {
2533
+ const _args = [];
2534
+ _args.push(transactionArgumentOrPure(args[0], tx));
2535
+ _args.push(transactionArgumentOrPure(args[1], tx));
2536
+ // @ts-ignore
2537
+ return tx.moveCall({
2538
+ target: "0x1::u8::pow",
2539
+ arguments: _args,
2540
+ });
2541
+ }
2542
+ builder.pow = pow;
2543
+ function sqrt(tx, args) {
2544
+ const _args = [];
2545
+ _args.push(transactionArgumentOrPure(args[0], tx));
2546
+ // @ts-ignore
2547
+ return tx.moveCall({
2548
+ target: "0x1::u8::sqrt",
2549
+ arguments: _args,
2550
+ });
2551
+ }
2552
+ builder.sqrt = sqrt;
2553
+ })(builder = u8.builder || (u8.builder = {}));
2554
+ let view;
2555
+ (function (view) {
2556
+ async function diff(client, args) {
2557
+ const tx = new TransactionBlock();
2558
+ builder.diff(tx, args);
2559
+ const inspectRes = await client.devInspectTransactionBlock({
2560
+ transactionBlock: tx,
2561
+ sender: ZERO_ADDRESS,
2562
+ });
2563
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2564
+ }
2565
+ view.diff = diff;
2566
+ async function divideAndRoundUp(client, args) {
2567
+ const tx = new TransactionBlock();
2568
+ builder.divideAndRoundUp(tx, args);
2569
+ const inspectRes = await client.devInspectTransactionBlock({
2570
+ transactionBlock: tx,
2571
+ sender: ZERO_ADDRESS,
2572
+ });
2573
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2574
+ }
2575
+ view.divideAndRoundUp = divideAndRoundUp;
2576
+ async function max(client, args) {
2577
+ const tx = new TransactionBlock();
2578
+ builder.max(tx, args);
2579
+ const inspectRes = await client.devInspectTransactionBlock({
2580
+ transactionBlock: tx,
2581
+ sender: ZERO_ADDRESS,
2582
+ });
2583
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2584
+ }
2585
+ view.max = max;
2586
+ async function min(client, args) {
2587
+ const tx = new TransactionBlock();
2588
+ builder.min(tx, args);
2589
+ const inspectRes = await client.devInspectTransactionBlock({
2590
+ transactionBlock: tx,
2591
+ sender: ZERO_ADDRESS,
2592
+ });
2593
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2594
+ }
2595
+ view.min = min;
2596
+ async function pow(client, args) {
2597
+ const tx = new TransactionBlock();
2598
+ builder.pow(tx, args);
2599
+ const inspectRes = await client.devInspectTransactionBlock({
2600
+ transactionBlock: tx,
2601
+ sender: ZERO_ADDRESS,
2602
+ });
2603
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2604
+ }
2605
+ view.pow = pow;
2606
+ async function sqrt(client, args) {
2607
+ const tx = new TransactionBlock();
2608
+ builder.sqrt(tx, args);
2609
+ const inspectRes = await client.devInspectTransactionBlock({
2610
+ transactionBlock: tx,
2611
+ sender: ZERO_ADDRESS,
2612
+ });
2613
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
2614
+ }
2615
+ view.sqrt = sqrt;
2616
+ })(view = u8.view || (u8.view = {}));
2617
+ })(u8 || (u8 = {}));
1626
2618
  export var vector;
1627
2619
  (function (vector) {
1628
2620
  let builder;
@@ -2068,7 +3060,7 @@ export var vector;
2068
3060
  view.swapRemove = swapRemove;
2069
3061
  })(view = vector.view || (vector.view = {}));
2070
3062
  })(vector || (vector = {}));
2071
- const MODULES = JSON.parse('{"address":{"fileFormatVersion":6,"address":"0x1","name":"address","friends":[],"structs":{},"exposedFunctions":{"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]}}},"ascii":{"fileFormatVersion":6,"address":"0x1","name":"ascii","friends":[],"structs":{"Char":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"byte","type":"U8"}]},"String":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"all_characters_printable":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":["Bool"]},"as_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"byte":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}],"return":["U8"]},"char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8"],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}]},"into_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[{"Vector":"U8"}]},"is_printable_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8"],"return":["Bool"]},"is_valid_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8"],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":["U64"]},"pop_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}]},"push_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}],"return":[]},"string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"try_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]}}]}}},"bcs":{"fileFormatVersion":6,"address":"0x1","name":"bcs","friends":[],"structs":{},"exposedFunctions":{"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]}}},"bit_vector":{"fileFormatVersion":6,"address":"0x1","name":"bit_vector","friends":[],"structs":{"BitVector":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"length","type":"U64"},{"name":"bit_field","type":{"Vector":"Bool"}}]}},"exposedFunctions":{"is_index_set":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}}],"return":["U64"]},"longest_set_sequence_starting_at":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":[{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}]},"set":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":[]},"shift_left":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":[]},"unset":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":[]}}},"debug":{"fileFormatVersion":6,"address":"0x1","name":"debug","friends":[],"structs":{},"exposedFunctions":{"print":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[]},"print_stack_trace":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[]}}},"fixed_point32":{"fileFormatVersion":6,"address":"0x1","name":"fixed_point32","friends":[],"structs":{"FixedPoint32":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"value","type":"U64"}]}},"exposedFunctions":{"create_from_rational":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}]},"create_from_raw_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}]},"divide_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64",{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["U64"]},"get_raw_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["U64"]},"is_zero":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["Bool"]},"multiply_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64",{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["U64"]}}},"hash":{"fileFormatVersion":6,"address":"0x1","name":"hash","friends":[],"structs":{},"exposedFunctions":{"sha2_256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]},"sha3_256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]}}},"option":{"fileFormatVersion":6,"address":"0x1","name":"option","friends":[],"structs":{"Option":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"vec","type":{"Vector":{"TypeParameter":0}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"TypeParameter":0}}]},"borrow_with_default":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"TypeParameter":0}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"destroy_none":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"destroy_some":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"destroy_with_default":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}},{"TypeParameter":0}],"return":[{"TypeParameter":0}]},"extract":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0}]},"fill":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"get_with_default":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":0}]},"is_none":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"is_some":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"none":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}]},"some":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}]},"swap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":0}]},"swap_or_fill":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}]},"to_vec":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Vector":{"TypeParameter":0}}]}}},"string":{"fileFormatVersion":6,"address":"0x1","name":"string","friends":[],"structs":{"String":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"append":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"append_utf8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"from_ascii":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"index_of":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["U64"]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},"U64",{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["U64"]},"sub_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},"U64","U64"],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"to_ascii":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"try_utf8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}]},"utf8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},"type_name":{"fileFormatVersion":6,"address":"0x1","name":"type_name","friends":[],"structs":{"TypeName":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"name","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"borrow_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]},"get_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"get_module":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"get_with_original_ids":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]},"into_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"is_primitive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":["Bool"]}}},"vector":{"fileFormatVersion":6,"address":"0x1","name":"vector","friends":[],"structs":{},"exposedFunctions":{"append":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},{"Vector":{"TypeParameter":0}}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"MutableReference":{"TypeParameter":0}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Vector":{"TypeParameter":0}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Vector":{"TypeParameter":0}}]},"index_of":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}},{"Reference":{"TypeParameter":0}}],"return":["Bool","U64"]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},{"TypeParameter":0},"U64"],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}}],"return":["U64"]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}}],"return":[{"TypeParameter":0}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},{"TypeParameter":0}],"return":[]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"TypeParameter":0}]},"reverse":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"TypeParameter":0}],"return":[{"Vector":{"TypeParameter":0}}]},"swap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64","U64"],"return":[]},"swap_remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"TypeParameter":0}]}}}}');
3063
+ const MODULES = JSON.parse('{"address":{"fileFormatVersion":6,"address":"0x1","name":"address","friends":[],"structs":{},"exposedFunctions":{"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]}}},"ascii":{"fileFormatVersion":6,"address":"0x1","name":"ascii","friends":[],"structs":{"Char":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"byte","type":"U8"}]},"String":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"all_characters_printable":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":["Bool"]},"append":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"as_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"byte":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}],"return":["U8"]},"char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8"],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}]},"index_of":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":["U64"]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},"U64",{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"into_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[{"Vector":"U8"}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":["Bool"]},"is_printable_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8"],"return":["Bool"]},"is_valid_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8"],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":["U64"]},"pop_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}]},"push_char":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"Char","typeArguments":[]}}],"return":[]},"string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"substring":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},"U64","U64"],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"to_lowercase":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"to_uppercase":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"try_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]}}]}}},"bcs":{"fileFormatVersion":6,"address":"0x1","name":"bcs","friends":[],"structs":{},"exposedFunctions":{"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]}}},"bit_vector":{"fileFormatVersion":6,"address":"0x1","name":"bit_vector","friends":[],"structs":{"BitVector":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"length","type":"U64"},{"name":"bit_field","type":{"Vector":"Bool"}}]}},"exposedFunctions":{"is_index_set":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}}],"return":["U64"]},"longest_set_sequence_starting_at":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":[{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}]},"set":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":[]},"shift_left":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":[]},"unset":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"bit_vector","name":"BitVector","typeArguments":[]}}},"U64"],"return":[]}}},"debug":{"fileFormatVersion":6,"address":"0x1","name":"debug","friends":[],"structs":{},"exposedFunctions":{"print":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[]},"print_stack_trace":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[]}}},"fixed_point32":{"fileFormatVersion":6,"address":"0x1","name":"fixed_point32","friends":[],"structs":{"FixedPoint32":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"value","type":"U64"}]}},"exposedFunctions":{"create_from_rational":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}]},"create_from_raw_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}]},"divide_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64",{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["U64"]},"get_raw_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["U64"]},"is_zero":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["Bool"]},"multiply_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64",{"Struct":{"address":"0x1","module":"fixed_point32","name":"FixedPoint32","typeArguments":[]}}],"return":["U64"]}}},"hash":{"fileFormatVersion":6,"address":"0x1","name":"hash","friends":[],"structs":{},"exposedFunctions":{"sha2_256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]},"sha3_256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]}}},"macros":{"fileFormatVersion":6,"address":"0x1","name":"macros","friends":[],"structs":{},"exposedFunctions":{}},"option":{"fileFormatVersion":6,"address":"0x1","name":"option","friends":[],"structs":{"Option":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"vec","type":{"Vector":{"TypeParameter":0}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"TypeParameter":0}}]},"borrow_with_default":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"TypeParameter":0}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"destroy_none":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"destroy_some":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"destroy_with_default":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}},{"TypeParameter":0}],"return":[{"TypeParameter":0}]},"extract":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0}]},"fill":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"get_with_default":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":0}]},"is_none":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"is_some":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"none":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}]},"some":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}]},"swap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":0}]},"swap_or_fill":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}]},"to_vec":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Vector":{"TypeParameter":0}}]}}},"string":{"fileFormatVersion":6,"address":"0x1","name":"string","friends":[],"structs":{"String":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"append":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"append_utf8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"as_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"from_ascii":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"index_of":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["U64"]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},"U64",{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"into_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[{"Vector":"U8"}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":["U64"]},"sub_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},"U64","U64"],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"substring":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},"U64","U64"],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"to_ascii":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"try_utf8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}]},"utf8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},"type_name":{"fileFormatVersion":6,"address":"0x1","name":"type_name","friends":[],"structs":{"TypeName":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"name","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"borrow_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]},"get_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"get_module":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"get_with_original_ids":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]},"into_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"is_primitive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}}],"return":["Bool"]}}},"u128":{"fileFormatVersion":6,"address":"0x1","name":"u128","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128","U128"],"return":["U128"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128","U128"],"return":["U128"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128","U128"],"return":["U128"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128","U128"],"return":["U128"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128","U8"],"return":["U128"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128"],"return":["U128"]}}},"u16":{"fileFormatVersion":6,"address":"0x1","name":"u16","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U16","U16"],"return":["U16"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U16","U16"],"return":["U16"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U16","U16"],"return":["U16"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U16","U16"],"return":["U16"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U16","U8"],"return":["U16"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U16"],"return":["U16"]}}},"u256":{"fileFormatVersion":6,"address":"0x1","name":"u256","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256","U256"],"return":["U256"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256","U256"],"return":["U256"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256","U256"],"return":["U256"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256","U256"],"return":["U256"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256","U8"],"return":["U256"]}}},"u32":{"fileFormatVersion":6,"address":"0x1","name":"u32","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U32","U32"],"return":["U32"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U32","U32"],"return":["U32"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U32","U32"],"return":["U32"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U32","U32"],"return":["U32"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U32","U8"],"return":["U32"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U32"],"return":["U32"]}}},"u64":{"fileFormatVersion":6,"address":"0x1","name":"u64","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U8"],"return":["U64"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":["U64"]}}},"u8":{"fileFormatVersion":6,"address":"0x1","name":"u8","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8","U8"],"return":["U8"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8","U8"],"return":["U8"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8","U8"],"return":["U8"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8","U8"],"return":["U8"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8","U8"],"return":["U8"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U8"],"return":["U8"]}}},"vector":{"fileFormatVersion":6,"address":"0x1","name":"vector","friends":[],"structs":{},"exposedFunctions":{"append":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},{"Vector":{"TypeParameter":0}}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"MutableReference":{"TypeParameter":0}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Vector":{"TypeParameter":0}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Vector":{"TypeParameter":0}}]},"index_of":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}},{"Reference":{"TypeParameter":0}}],"return":["Bool","U64"]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},{"TypeParameter":0},"U64"],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Vector":{"TypeParameter":0}}}],"return":["U64"]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}}],"return":[{"TypeParameter":0}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},{"TypeParameter":0}],"return":[]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"TypeParameter":0}]},"reverse":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"TypeParameter":0}],"return":[{"Vector":{"TypeParameter":0}}]},"swap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64","U64"],"return":[]},"swap_remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Vector":{"TypeParameter":0}}},"U64"],"return":[{"TypeParameter":0}]}}}}');
2072
3064
  export function loadAllTypes(coder) {
2073
3065
  for (const m of Object.values(MODULES)) {
2074
3066
  coder.load(m, "0x1");