@typemove/sui 1.5.1 → 1.5.2-rc.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/Readme.md +8 -4
- package/dist/cjs/builtin/0x1.d.ts +2 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +187 -167
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +121 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +1077 -856
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.js +212 -212
- package/dist/cjs/codegen/codegen.js +2 -2
- package/dist/cjs/move-coder.d.ts +1 -1
- package/dist/cjs/move-coder.js +4 -4
- package/dist/esm/builtin/0x1.d.ts +2 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +187 -167
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +121 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +1076 -855
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.js +212 -212
- package/dist/esm/codegen/codegen.js +2 -2
- package/dist/esm/move-coder.d.ts +1 -1
- package/dist/esm/move-coder.js +4 -4
- package/package.json +2 -2
- package/src/abis/0x1.json +20 -0
- package/src/abis/0x2.json +551 -0
- package/src/builtin/0x1.ts +195 -167
- package/src/builtin/0x2.ts +1238 -855
- package/src/builtin/0x3.ts +212 -212
- package/src/codegen/codegen.ts +2 -2
- package/src/move-coder.ts +4 -4
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +8 -8
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +96 -96
- package/src/tests/types/testnet/0xdee9.ts +94 -94
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +310 -310
package/src/builtin/0x1.ts
CHANGED
|
@@ -48,13 +48,13 @@ export namespace address {
|
|
|
48
48
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
49
49
|
const tx = new TransactionBlock();
|
|
50
50
|
builder.length(tx, args);
|
|
51
|
-
const
|
|
51
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
52
52
|
transactionBlock: tx,
|
|
53
53
|
sender: ZERO_ADDRESS,
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
57
|
-
|
|
57
|
+
inspectRes,
|
|
58
58
|
);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -252,13 +252,13 @@ export namespace ascii {
|
|
|
252
252
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
253
253
|
const tx = new TransactionBlock();
|
|
254
254
|
builder.allCharactersPrintable(tx, args);
|
|
255
|
-
const
|
|
255
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
256
256
|
transactionBlock: tx,
|
|
257
257
|
sender: ZERO_ADDRESS,
|
|
258
258
|
});
|
|
259
259
|
|
|
260
260
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
261
|
-
|
|
261
|
+
inspectRes,
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
264
|
export async function asBytes(
|
|
@@ -267,13 +267,13 @@ export namespace ascii {
|
|
|
267
267
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
268
268
|
const tx = new TransactionBlock();
|
|
269
269
|
builder.asBytes(tx, args);
|
|
270
|
-
const
|
|
270
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
271
271
|
transactionBlock: tx,
|
|
272
272
|
sender: ZERO_ADDRESS,
|
|
273
273
|
});
|
|
274
274
|
|
|
275
275
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
276
|
-
|
|
276
|
+
inspectRes,
|
|
277
277
|
);
|
|
278
278
|
}
|
|
279
279
|
export async function byte(
|
|
@@ -282,13 +282,13 @@ export namespace ascii {
|
|
|
282
282
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
283
283
|
const tx = new TransactionBlock();
|
|
284
284
|
builder.byte(tx, args);
|
|
285
|
-
const
|
|
285
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
286
286
|
transactionBlock: tx,
|
|
287
287
|
sender: ZERO_ADDRESS,
|
|
288
288
|
});
|
|
289
289
|
|
|
290
290
|
return (await getMoveCoder(client)).decodeDevInspectResult<[number]>(
|
|
291
|
-
|
|
291
|
+
inspectRes,
|
|
292
292
|
);
|
|
293
293
|
}
|
|
294
294
|
export async function char(
|
|
@@ -297,13 +297,13 @@ export namespace ascii {
|
|
|
297
297
|
): Promise<TypedDevInspectResults<[ascii.Char]>> {
|
|
298
298
|
const tx = new TransactionBlock();
|
|
299
299
|
builder.char(tx, args);
|
|
300
|
-
const
|
|
300
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
301
301
|
transactionBlock: tx,
|
|
302
302
|
sender: ZERO_ADDRESS,
|
|
303
303
|
});
|
|
304
304
|
|
|
305
305
|
return (await getMoveCoder(client)).decodeDevInspectResult<[ascii.Char]>(
|
|
306
|
-
|
|
306
|
+
inspectRes,
|
|
307
307
|
);
|
|
308
308
|
}
|
|
309
309
|
export async function intoBytes(
|
|
@@ -312,13 +312,13 @@ export namespace ascii {
|
|
|
312
312
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
313
313
|
const tx = new TransactionBlock();
|
|
314
314
|
builder.intoBytes(tx, args);
|
|
315
|
-
const
|
|
315
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
316
316
|
transactionBlock: tx,
|
|
317
317
|
sender: ZERO_ADDRESS,
|
|
318
318
|
});
|
|
319
319
|
|
|
320
320
|
return (await getMoveCoder(client)).decodeDevInspectResult<[number[]]>(
|
|
321
|
-
|
|
321
|
+
inspectRes,
|
|
322
322
|
);
|
|
323
323
|
}
|
|
324
324
|
export async function isPrintableChar(
|
|
@@ -327,13 +327,13 @@ export namespace ascii {
|
|
|
327
327
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
328
328
|
const tx = new TransactionBlock();
|
|
329
329
|
builder.isPrintableChar(tx, args);
|
|
330
|
-
const
|
|
330
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
331
331
|
transactionBlock: tx,
|
|
332
332
|
sender: ZERO_ADDRESS,
|
|
333
333
|
});
|
|
334
334
|
|
|
335
335
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
336
|
-
|
|
336
|
+
inspectRes,
|
|
337
337
|
);
|
|
338
338
|
}
|
|
339
339
|
export async function isValidChar(
|
|
@@ -342,13 +342,13 @@ export namespace ascii {
|
|
|
342
342
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
343
343
|
const tx = new TransactionBlock();
|
|
344
344
|
builder.isValidChar(tx, args);
|
|
345
|
-
const
|
|
345
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
346
346
|
transactionBlock: tx,
|
|
347
347
|
sender: ZERO_ADDRESS,
|
|
348
348
|
});
|
|
349
349
|
|
|
350
350
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
351
|
-
|
|
351
|
+
inspectRes,
|
|
352
352
|
);
|
|
353
353
|
}
|
|
354
354
|
export async function length(
|
|
@@ -357,13 +357,13 @@ export namespace ascii {
|
|
|
357
357
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
358
358
|
const tx = new TransactionBlock();
|
|
359
359
|
builder.length(tx, args);
|
|
360
|
-
const
|
|
360
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
361
361
|
transactionBlock: tx,
|
|
362
362
|
sender: ZERO_ADDRESS,
|
|
363
363
|
});
|
|
364
364
|
|
|
365
365
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
366
|
-
|
|
366
|
+
inspectRes,
|
|
367
367
|
);
|
|
368
368
|
}
|
|
369
369
|
export async function popChar(
|
|
@@ -372,13 +372,13 @@ export namespace ascii {
|
|
|
372
372
|
): Promise<TypedDevInspectResults<[ascii.Char]>> {
|
|
373
373
|
const tx = new TransactionBlock();
|
|
374
374
|
builder.popChar(tx, args);
|
|
375
|
-
const
|
|
375
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
376
376
|
transactionBlock: tx,
|
|
377
377
|
sender: ZERO_ADDRESS,
|
|
378
378
|
});
|
|
379
379
|
|
|
380
380
|
return (await getMoveCoder(client)).decodeDevInspectResult<[ascii.Char]>(
|
|
381
|
-
|
|
381
|
+
inspectRes,
|
|
382
382
|
);
|
|
383
383
|
}
|
|
384
384
|
export async function pushChar(
|
|
@@ -390,13 +390,13 @@ export namespace ascii {
|
|
|
390
390
|
): Promise<TypedDevInspectResults<[]>> {
|
|
391
391
|
const tx = new TransactionBlock();
|
|
392
392
|
builder.pushChar(tx, args);
|
|
393
|
-
const
|
|
393
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
394
394
|
transactionBlock: tx,
|
|
395
395
|
sender: ZERO_ADDRESS,
|
|
396
396
|
});
|
|
397
397
|
|
|
398
398
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
399
|
-
|
|
399
|
+
inspectRes,
|
|
400
400
|
);
|
|
401
401
|
}
|
|
402
402
|
export async function string_(
|
|
@@ -405,14 +405,14 @@ export namespace ascii {
|
|
|
405
405
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
406
406
|
const tx = new TransactionBlock();
|
|
407
407
|
builder.string_(tx, args);
|
|
408
|
-
const
|
|
408
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
409
409
|
transactionBlock: tx,
|
|
410
410
|
sender: ZERO_ADDRESS,
|
|
411
411
|
});
|
|
412
412
|
|
|
413
413
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
414
414
|
[ascii.String]
|
|
415
|
-
>(
|
|
415
|
+
>(inspectRes);
|
|
416
416
|
}
|
|
417
417
|
export async function tryString(
|
|
418
418
|
client: SuiClient,
|
|
@@ -420,14 +420,14 @@ export namespace ascii {
|
|
|
420
420
|
): Promise<TypedDevInspectResults<[option.Option<ascii.String>]>> {
|
|
421
421
|
const tx = new TransactionBlock();
|
|
422
422
|
builder.tryString(tx, args);
|
|
423
|
-
const
|
|
423
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
424
424
|
transactionBlock: tx,
|
|
425
425
|
sender: ZERO_ADDRESS,
|
|
426
426
|
});
|
|
427
427
|
|
|
428
428
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
429
429
|
[option.Option<ascii.String>]
|
|
430
|
-
>(
|
|
430
|
+
>(inspectRes);
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
}
|
|
@@ -462,13 +462,13 @@ export namespace bcs {
|
|
|
462
462
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
463
463
|
const tx = new TransactionBlock();
|
|
464
464
|
builder.toBytes(tx, args, typeArguments);
|
|
465
|
-
const
|
|
465
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
466
466
|
transactionBlock: tx,
|
|
467
467
|
sender: ZERO_ADDRESS,
|
|
468
468
|
});
|
|
469
469
|
|
|
470
470
|
return (await getMoveCoder(client)).decodeDevInspectResult<[number[]]>(
|
|
471
|
-
|
|
471
|
+
inspectRes,
|
|
472
472
|
);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
@@ -618,13 +618,13 @@ export namespace bit_vector {
|
|
|
618
618
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
619
619
|
const tx = new TransactionBlock();
|
|
620
620
|
builder.isIndexSet(tx, args);
|
|
621
|
-
const
|
|
621
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
622
622
|
transactionBlock: tx,
|
|
623
623
|
sender: ZERO_ADDRESS,
|
|
624
624
|
});
|
|
625
625
|
|
|
626
626
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
627
|
-
|
|
627
|
+
inspectRes,
|
|
628
628
|
);
|
|
629
629
|
}
|
|
630
630
|
export async function length(
|
|
@@ -633,13 +633,13 @@ export namespace bit_vector {
|
|
|
633
633
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
634
634
|
const tx = new TransactionBlock();
|
|
635
635
|
builder.length(tx, args);
|
|
636
|
-
const
|
|
636
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
637
637
|
transactionBlock: tx,
|
|
638
638
|
sender: ZERO_ADDRESS,
|
|
639
639
|
});
|
|
640
640
|
|
|
641
641
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
642
|
-
|
|
642
|
+
inspectRes,
|
|
643
643
|
);
|
|
644
644
|
}
|
|
645
645
|
export async function longestSetSequenceStartingAt(
|
|
@@ -651,13 +651,13 @@ export namespace bit_vector {
|
|
|
651
651
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
652
652
|
const tx = new TransactionBlock();
|
|
653
653
|
builder.longestSetSequenceStartingAt(tx, args);
|
|
654
|
-
const
|
|
654
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
655
655
|
transactionBlock: tx,
|
|
656
656
|
sender: ZERO_ADDRESS,
|
|
657
657
|
});
|
|
658
658
|
|
|
659
659
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
660
|
-
|
|
660
|
+
inspectRes,
|
|
661
661
|
);
|
|
662
662
|
}
|
|
663
663
|
export async function new_(
|
|
@@ -666,14 +666,14 @@ export namespace bit_vector {
|
|
|
666
666
|
): Promise<TypedDevInspectResults<[bit_vector.BitVector]>> {
|
|
667
667
|
const tx = new TransactionBlock();
|
|
668
668
|
builder.new_(tx, args);
|
|
669
|
-
const
|
|
669
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
670
670
|
transactionBlock: tx,
|
|
671
671
|
sender: ZERO_ADDRESS,
|
|
672
672
|
});
|
|
673
673
|
|
|
674
674
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
675
675
|
[bit_vector.BitVector]
|
|
676
|
-
>(
|
|
676
|
+
>(inspectRes);
|
|
677
677
|
}
|
|
678
678
|
export async function set(
|
|
679
679
|
client: SuiClient,
|
|
@@ -684,13 +684,13 @@ export namespace bit_vector {
|
|
|
684
684
|
): Promise<TypedDevInspectResults<[]>> {
|
|
685
685
|
const tx = new TransactionBlock();
|
|
686
686
|
builder.set(tx, args);
|
|
687
|
-
const
|
|
687
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
688
688
|
transactionBlock: tx,
|
|
689
689
|
sender: ZERO_ADDRESS,
|
|
690
690
|
});
|
|
691
691
|
|
|
692
692
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
693
|
-
|
|
693
|
+
inspectRes,
|
|
694
694
|
);
|
|
695
695
|
}
|
|
696
696
|
export async function shiftLeft(
|
|
@@ -702,13 +702,13 @@ export namespace bit_vector {
|
|
|
702
702
|
): Promise<TypedDevInspectResults<[]>> {
|
|
703
703
|
const tx = new TransactionBlock();
|
|
704
704
|
builder.shiftLeft(tx, args);
|
|
705
|
-
const
|
|
705
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
706
706
|
transactionBlock: tx,
|
|
707
707
|
sender: ZERO_ADDRESS,
|
|
708
708
|
});
|
|
709
709
|
|
|
710
710
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
711
|
-
|
|
711
|
+
inspectRes,
|
|
712
712
|
);
|
|
713
713
|
}
|
|
714
714
|
export async function unset(
|
|
@@ -720,13 +720,13 @@ export namespace bit_vector {
|
|
|
720
720
|
): Promise<TypedDevInspectResults<[]>> {
|
|
721
721
|
const tx = new TransactionBlock();
|
|
722
722
|
builder.unset(tx, args);
|
|
723
|
-
const
|
|
723
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
724
724
|
transactionBlock: tx,
|
|
725
725
|
sender: ZERO_ADDRESS,
|
|
726
726
|
});
|
|
727
727
|
|
|
728
728
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
729
|
-
|
|
729
|
+
inspectRes,
|
|
730
730
|
);
|
|
731
731
|
}
|
|
732
732
|
}
|
|
@@ -774,13 +774,13 @@ export namespace debug {
|
|
|
774
774
|
): Promise<TypedDevInspectResults<[]>> {
|
|
775
775
|
const tx = new TransactionBlock();
|
|
776
776
|
builder.print(tx, args, typeArguments);
|
|
777
|
-
const
|
|
777
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
778
778
|
transactionBlock: tx,
|
|
779
779
|
sender: ZERO_ADDRESS,
|
|
780
780
|
});
|
|
781
781
|
|
|
782
782
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
783
|
-
|
|
783
|
+
inspectRes,
|
|
784
784
|
);
|
|
785
785
|
}
|
|
786
786
|
export async function printStackTrace(
|
|
@@ -789,13 +789,13 @@ export namespace debug {
|
|
|
789
789
|
): Promise<TypedDevInspectResults<[]>> {
|
|
790
790
|
const tx = new TransactionBlock();
|
|
791
791
|
builder.printStackTrace(tx, args);
|
|
792
|
-
const
|
|
792
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
793
793
|
transactionBlock: tx,
|
|
794
794
|
sender: ZERO_ADDRESS,
|
|
795
795
|
});
|
|
796
796
|
|
|
797
797
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
798
|
-
|
|
798
|
+
inspectRes,
|
|
799
799
|
);
|
|
800
800
|
}
|
|
801
801
|
}
|
|
@@ -918,14 +918,14 @@ export namespace fixed_point32 {
|
|
|
918
918
|
): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>> {
|
|
919
919
|
const tx = new TransactionBlock();
|
|
920
920
|
builder.createFromRational(tx, args);
|
|
921
|
-
const
|
|
921
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
922
922
|
transactionBlock: tx,
|
|
923
923
|
sender: ZERO_ADDRESS,
|
|
924
924
|
});
|
|
925
925
|
|
|
926
926
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
927
927
|
[fixed_point32.FixedPoint32]
|
|
928
|
-
>(
|
|
928
|
+
>(inspectRes);
|
|
929
929
|
}
|
|
930
930
|
export async function createFromRawValue(
|
|
931
931
|
client: SuiClient,
|
|
@@ -933,14 +933,14 @@ export namespace fixed_point32 {
|
|
|
933
933
|
): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>> {
|
|
934
934
|
const tx = new TransactionBlock();
|
|
935
935
|
builder.createFromRawValue(tx, args);
|
|
936
|
-
const
|
|
936
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
937
937
|
transactionBlock: tx,
|
|
938
938
|
sender: ZERO_ADDRESS,
|
|
939
939
|
});
|
|
940
940
|
|
|
941
941
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
942
942
|
[fixed_point32.FixedPoint32]
|
|
943
|
-
>(
|
|
943
|
+
>(inspectRes);
|
|
944
944
|
}
|
|
945
945
|
export async function divideU64(
|
|
946
946
|
client: SuiClient,
|
|
@@ -951,13 +951,13 @@ export namespace fixed_point32 {
|
|
|
951
951
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
952
952
|
const tx = new TransactionBlock();
|
|
953
953
|
builder.divideU64(tx, args);
|
|
954
|
-
const
|
|
954
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
955
955
|
transactionBlock: tx,
|
|
956
956
|
sender: ZERO_ADDRESS,
|
|
957
957
|
});
|
|
958
958
|
|
|
959
959
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
960
|
-
|
|
960
|
+
inspectRes,
|
|
961
961
|
);
|
|
962
962
|
}
|
|
963
963
|
export async function getRawValue(
|
|
@@ -966,13 +966,13 @@ export namespace fixed_point32 {
|
|
|
966
966
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
967
967
|
const tx = new TransactionBlock();
|
|
968
968
|
builder.getRawValue(tx, args);
|
|
969
|
-
const
|
|
969
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
970
970
|
transactionBlock: tx,
|
|
971
971
|
sender: ZERO_ADDRESS,
|
|
972
972
|
});
|
|
973
973
|
|
|
974
974
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
975
|
-
|
|
975
|
+
inspectRes,
|
|
976
976
|
);
|
|
977
977
|
}
|
|
978
978
|
export async function isZero(
|
|
@@ -981,13 +981,13 @@ export namespace fixed_point32 {
|
|
|
981
981
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
982
982
|
const tx = new TransactionBlock();
|
|
983
983
|
builder.isZero(tx, args);
|
|
984
|
-
const
|
|
984
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
985
985
|
transactionBlock: tx,
|
|
986
986
|
sender: ZERO_ADDRESS,
|
|
987
987
|
});
|
|
988
988
|
|
|
989
989
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
990
|
-
|
|
990
|
+
inspectRes,
|
|
991
991
|
);
|
|
992
992
|
}
|
|
993
993
|
export async function multiplyU64(
|
|
@@ -999,13 +999,13 @@ export namespace fixed_point32 {
|
|
|
999
999
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1000
1000
|
const tx = new TransactionBlock();
|
|
1001
1001
|
builder.multiplyU64(tx, args);
|
|
1002
|
-
const
|
|
1002
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1003
1003
|
transactionBlock: tx,
|
|
1004
1004
|
sender: ZERO_ADDRESS,
|
|
1005
1005
|
});
|
|
1006
1006
|
|
|
1007
1007
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
1008
|
-
|
|
1008
|
+
inspectRes,
|
|
1009
1009
|
);
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
@@ -1047,13 +1047,13 @@ export namespace hash {
|
|
|
1047
1047
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
1048
1048
|
const tx = new TransactionBlock();
|
|
1049
1049
|
builder.sha2256(tx, args);
|
|
1050
|
-
const
|
|
1050
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1051
1051
|
transactionBlock: tx,
|
|
1052
1052
|
sender: ZERO_ADDRESS,
|
|
1053
1053
|
});
|
|
1054
1054
|
|
|
1055
1055
|
return (await getMoveCoder(client)).decodeDevInspectResult<[number[]]>(
|
|
1056
|
-
|
|
1056
|
+
inspectRes,
|
|
1057
1057
|
);
|
|
1058
1058
|
}
|
|
1059
1059
|
export async function sha3256(
|
|
@@ -1062,13 +1062,13 @@ export namespace hash {
|
|
|
1062
1062
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
1063
1063
|
const tx = new TransactionBlock();
|
|
1064
1064
|
builder.sha3256(tx, args);
|
|
1065
|
-
const
|
|
1065
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1066
1066
|
transactionBlock: tx,
|
|
1067
1067
|
sender: ZERO_ADDRESS,
|
|
1068
1068
|
});
|
|
1069
1069
|
|
|
1070
1070
|
return (await getMoveCoder(client)).decodeDevInspectResult<[number[]]>(
|
|
1071
|
-
|
|
1071
|
+
inspectRes,
|
|
1072
1072
|
);
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
@@ -1445,13 +1445,13 @@ export namespace option {
|
|
|
1445
1445
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1446
1446
|
const tx = new TransactionBlock();
|
|
1447
1447
|
builder.borrow(tx, args, typeArguments);
|
|
1448
|
-
const
|
|
1448
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1449
1449
|
transactionBlock: tx,
|
|
1450
1450
|
sender: ZERO_ADDRESS,
|
|
1451
1451
|
});
|
|
1452
1452
|
|
|
1453
1453
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
1454
|
-
|
|
1454
|
+
inspectRes,
|
|
1455
1455
|
);
|
|
1456
1456
|
}
|
|
1457
1457
|
export async function borrowMut<T0 = any>(
|
|
@@ -1461,13 +1461,13 @@ export namespace option {
|
|
|
1461
1461
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1462
1462
|
const tx = new TransactionBlock();
|
|
1463
1463
|
builder.borrowMut(tx, args, typeArguments);
|
|
1464
|
-
const
|
|
1464
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1465
1465
|
transactionBlock: tx,
|
|
1466
1466
|
sender: ZERO_ADDRESS,
|
|
1467
1467
|
});
|
|
1468
1468
|
|
|
1469
1469
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
1470
|
-
|
|
1470
|
+
inspectRes,
|
|
1471
1471
|
);
|
|
1472
1472
|
}
|
|
1473
1473
|
export async function borrowWithDefault<T0 = any>(
|
|
@@ -1480,13 +1480,13 @@ export namespace option {
|
|
|
1480
1480
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1481
1481
|
const tx = new TransactionBlock();
|
|
1482
1482
|
builder.borrowWithDefault(tx, args, typeArguments);
|
|
1483
|
-
const
|
|
1483
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1484
1484
|
transactionBlock: tx,
|
|
1485
1485
|
sender: ZERO_ADDRESS,
|
|
1486
1486
|
});
|
|
1487
1487
|
|
|
1488
1488
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
1489
|
-
|
|
1489
|
+
inspectRes,
|
|
1490
1490
|
);
|
|
1491
1491
|
}
|
|
1492
1492
|
export async function contains<T0 = any>(
|
|
@@ -1499,13 +1499,13 @@ export namespace option {
|
|
|
1499
1499
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
1500
1500
|
const tx = new TransactionBlock();
|
|
1501
1501
|
builder.contains(tx, args, typeArguments);
|
|
1502
|
-
const
|
|
1502
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1503
1503
|
transactionBlock: tx,
|
|
1504
1504
|
sender: ZERO_ADDRESS,
|
|
1505
1505
|
});
|
|
1506
1506
|
|
|
1507
1507
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
1508
|
-
|
|
1508
|
+
inspectRes,
|
|
1509
1509
|
);
|
|
1510
1510
|
}
|
|
1511
1511
|
export async function destroyNone<T0 = any>(
|
|
@@ -1515,13 +1515,13 @@ export namespace option {
|
|
|
1515
1515
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1516
1516
|
const tx = new TransactionBlock();
|
|
1517
1517
|
builder.destroyNone(tx, args, typeArguments);
|
|
1518
|
-
const
|
|
1518
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1519
1519
|
transactionBlock: tx,
|
|
1520
1520
|
sender: ZERO_ADDRESS,
|
|
1521
1521
|
});
|
|
1522
1522
|
|
|
1523
1523
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
1524
|
-
|
|
1524
|
+
inspectRes,
|
|
1525
1525
|
);
|
|
1526
1526
|
}
|
|
1527
1527
|
export async function destroySome<T0 = any>(
|
|
@@ -1531,13 +1531,13 @@ export namespace option {
|
|
|
1531
1531
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1532
1532
|
const tx = new TransactionBlock();
|
|
1533
1533
|
builder.destroySome(tx, args, typeArguments);
|
|
1534
|
-
const
|
|
1534
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1535
1535
|
transactionBlock: tx,
|
|
1536
1536
|
sender: ZERO_ADDRESS,
|
|
1537
1537
|
});
|
|
1538
1538
|
|
|
1539
1539
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
1540
|
-
|
|
1540
|
+
inspectRes,
|
|
1541
1541
|
);
|
|
1542
1542
|
}
|
|
1543
1543
|
export async function destroyWithDefault<T0 = any>(
|
|
@@ -1547,13 +1547,13 @@ export namespace option {
|
|
|
1547
1547
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1548
1548
|
const tx = new TransactionBlock();
|
|
1549
1549
|
builder.destroyWithDefault(tx, args, typeArguments);
|
|
1550
|
-
const
|
|
1550
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1551
1551
|
transactionBlock: tx,
|
|
1552
1552
|
sender: ZERO_ADDRESS,
|
|
1553
1553
|
});
|
|
1554
1554
|
|
|
1555
1555
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
1556
|
-
|
|
1556
|
+
inspectRes,
|
|
1557
1557
|
);
|
|
1558
1558
|
}
|
|
1559
1559
|
export async function extract<T0 = any>(
|
|
@@ -1563,13 +1563,13 @@ export namespace option {
|
|
|
1563
1563
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1564
1564
|
const tx = new TransactionBlock();
|
|
1565
1565
|
builder.extract(tx, args, typeArguments);
|
|
1566
|
-
const
|
|
1566
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1567
1567
|
transactionBlock: tx,
|
|
1568
1568
|
sender: ZERO_ADDRESS,
|
|
1569
1569
|
});
|
|
1570
1570
|
|
|
1571
1571
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
1572
|
-
|
|
1572
|
+
inspectRes,
|
|
1573
1573
|
);
|
|
1574
1574
|
}
|
|
1575
1575
|
export async function fill<T0 = any>(
|
|
@@ -1582,13 +1582,13 @@ export namespace option {
|
|
|
1582
1582
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1583
1583
|
const tx = new TransactionBlock();
|
|
1584
1584
|
builder.fill(tx, args, typeArguments);
|
|
1585
|
-
const
|
|
1585
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1586
1586
|
transactionBlock: tx,
|
|
1587
1587
|
sender: ZERO_ADDRESS,
|
|
1588
1588
|
});
|
|
1589
1589
|
|
|
1590
1590
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
1591
|
-
|
|
1591
|
+
inspectRes,
|
|
1592
1592
|
);
|
|
1593
1593
|
}
|
|
1594
1594
|
export async function getWithDefault<T0 = any>(
|
|
@@ -1601,13 +1601,13 @@ export namespace option {
|
|
|
1601
1601
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1602
1602
|
const tx = new TransactionBlock();
|
|
1603
1603
|
builder.getWithDefault(tx, args, typeArguments);
|
|
1604
|
-
const
|
|
1604
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1605
1605
|
transactionBlock: tx,
|
|
1606
1606
|
sender: ZERO_ADDRESS,
|
|
1607
1607
|
});
|
|
1608
1608
|
|
|
1609
1609
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
1610
|
-
|
|
1610
|
+
inspectRes,
|
|
1611
1611
|
);
|
|
1612
1612
|
}
|
|
1613
1613
|
export async function isNone<T0 = any>(
|
|
@@ -1617,13 +1617,13 @@ export namespace option {
|
|
|
1617
1617
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
1618
1618
|
const tx = new TransactionBlock();
|
|
1619
1619
|
builder.isNone(tx, args, typeArguments);
|
|
1620
|
-
const
|
|
1620
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1621
1621
|
transactionBlock: tx,
|
|
1622
1622
|
sender: ZERO_ADDRESS,
|
|
1623
1623
|
});
|
|
1624
1624
|
|
|
1625
1625
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
1626
|
-
|
|
1626
|
+
inspectRes,
|
|
1627
1627
|
);
|
|
1628
1628
|
}
|
|
1629
1629
|
export async function isSome<T0 = any>(
|
|
@@ -1633,13 +1633,13 @@ export namespace option {
|
|
|
1633
1633
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
1634
1634
|
const tx = new TransactionBlock();
|
|
1635
1635
|
builder.isSome(tx, args, typeArguments);
|
|
1636
|
-
const
|
|
1636
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1637
1637
|
transactionBlock: tx,
|
|
1638
1638
|
sender: ZERO_ADDRESS,
|
|
1639
1639
|
});
|
|
1640
1640
|
|
|
1641
1641
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
1642
|
-
|
|
1642
|
+
inspectRes,
|
|
1643
1643
|
);
|
|
1644
1644
|
}
|
|
1645
1645
|
export async function none<T0 = any>(
|
|
@@ -1649,14 +1649,14 @@ export namespace option {
|
|
|
1649
1649
|
): Promise<TypedDevInspectResults<[option.Option<T0>]>> {
|
|
1650
1650
|
const tx = new TransactionBlock();
|
|
1651
1651
|
builder.none(tx, args, typeArguments);
|
|
1652
|
-
const
|
|
1652
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1653
1653
|
transactionBlock: tx,
|
|
1654
1654
|
sender: ZERO_ADDRESS,
|
|
1655
1655
|
});
|
|
1656
1656
|
|
|
1657
1657
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1658
1658
|
[option.Option<T0>]
|
|
1659
|
-
>(
|
|
1659
|
+
>(inspectRes);
|
|
1660
1660
|
}
|
|
1661
1661
|
export async function some<T0 = any>(
|
|
1662
1662
|
client: SuiClient,
|
|
@@ -1665,14 +1665,14 @@ export namespace option {
|
|
|
1665
1665
|
): Promise<TypedDevInspectResults<[option.Option<T0>]>> {
|
|
1666
1666
|
const tx = new TransactionBlock();
|
|
1667
1667
|
builder.some(tx, args, typeArguments);
|
|
1668
|
-
const
|
|
1668
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1669
1669
|
transactionBlock: tx,
|
|
1670
1670
|
sender: ZERO_ADDRESS,
|
|
1671
1671
|
});
|
|
1672
1672
|
|
|
1673
1673
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1674
1674
|
[option.Option<T0>]
|
|
1675
|
-
>(
|
|
1675
|
+
>(inspectRes);
|
|
1676
1676
|
}
|
|
1677
1677
|
export async function swap<T0 = any>(
|
|
1678
1678
|
client: SuiClient,
|
|
@@ -1684,13 +1684,13 @@ export namespace option {
|
|
|
1684
1684
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1685
1685
|
const tx = new TransactionBlock();
|
|
1686
1686
|
builder.swap(tx, args, typeArguments);
|
|
1687
|
-
const
|
|
1687
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1688
1688
|
transactionBlock: tx,
|
|
1689
1689
|
sender: ZERO_ADDRESS,
|
|
1690
1690
|
});
|
|
1691
1691
|
|
|
1692
1692
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
1693
|
-
|
|
1693
|
+
inspectRes,
|
|
1694
1694
|
);
|
|
1695
1695
|
}
|
|
1696
1696
|
export async function swapOrFill<T0 = any>(
|
|
@@ -1703,14 +1703,14 @@ export namespace option {
|
|
|
1703
1703
|
): Promise<TypedDevInspectResults<[option.Option<T0>]>> {
|
|
1704
1704
|
const tx = new TransactionBlock();
|
|
1705
1705
|
builder.swapOrFill(tx, args, typeArguments);
|
|
1706
|
-
const
|
|
1706
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1707
1707
|
transactionBlock: tx,
|
|
1708
1708
|
sender: ZERO_ADDRESS,
|
|
1709
1709
|
});
|
|
1710
1710
|
|
|
1711
1711
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1712
1712
|
[option.Option<T0>]
|
|
1713
|
-
>(
|
|
1713
|
+
>(inspectRes);
|
|
1714
1714
|
}
|
|
1715
1715
|
export async function toVec<T0 = any>(
|
|
1716
1716
|
client: SuiClient,
|
|
@@ -1719,14 +1719,14 @@ export namespace option {
|
|
|
1719
1719
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
|
1720
1720
|
const tx = new TransactionBlock();
|
|
1721
1721
|
builder.toVec(tx, args, typeArguments);
|
|
1722
|
-
const
|
|
1722
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1723
1723
|
transactionBlock: tx,
|
|
1724
1724
|
sender: ZERO_ADDRESS,
|
|
1725
1725
|
});
|
|
1726
1726
|
|
|
1727
1727
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1728
1728
|
[T0[] | string]
|
|
1729
|
-
>(
|
|
1729
|
+
>(inspectRes);
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
@@ -1945,13 +1945,13 @@ export namespace string_ {
|
|
|
1945
1945
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1946
1946
|
const tx = new TransactionBlock();
|
|
1947
1947
|
builder.append(tx, args);
|
|
1948
|
-
const
|
|
1948
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1949
1949
|
transactionBlock: tx,
|
|
1950
1950
|
sender: ZERO_ADDRESS,
|
|
1951
1951
|
});
|
|
1952
1952
|
|
|
1953
1953
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
1954
|
-
|
|
1954
|
+
inspectRes,
|
|
1955
1955
|
);
|
|
1956
1956
|
}
|
|
1957
1957
|
export async function appendUtf8(
|
|
@@ -1963,13 +1963,13 @@ export namespace string_ {
|
|
|
1963
1963
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1964
1964
|
const tx = new TransactionBlock();
|
|
1965
1965
|
builder.appendUtf8(tx, args);
|
|
1966
|
-
const
|
|
1966
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1967
1967
|
transactionBlock: tx,
|
|
1968
1968
|
sender: ZERO_ADDRESS,
|
|
1969
1969
|
});
|
|
1970
1970
|
|
|
1971
1971
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
1972
|
-
|
|
1972
|
+
inspectRes,
|
|
1973
1973
|
);
|
|
1974
1974
|
}
|
|
1975
1975
|
export async function bytes(
|
|
@@ -1978,13 +1978,13 @@ export namespace string_ {
|
|
|
1978
1978
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1979
1979
|
const tx = new TransactionBlock();
|
|
1980
1980
|
builder.bytes(tx, args);
|
|
1981
|
-
const
|
|
1981
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1982
1982
|
transactionBlock: tx,
|
|
1983
1983
|
sender: ZERO_ADDRESS,
|
|
1984
1984
|
});
|
|
1985
1985
|
|
|
1986
1986
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
1987
|
-
|
|
1987
|
+
inspectRes,
|
|
1988
1988
|
);
|
|
1989
1989
|
}
|
|
1990
1990
|
export async function fromAscii(
|
|
@@ -1993,13 +1993,13 @@ export namespace string_ {
|
|
|
1993
1993
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1994
1994
|
const tx = new TransactionBlock();
|
|
1995
1995
|
builder.fromAscii(tx, args);
|
|
1996
|
-
const
|
|
1996
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1997
1997
|
transactionBlock: tx,
|
|
1998
1998
|
sender: ZERO_ADDRESS,
|
|
1999
1999
|
});
|
|
2000
2000
|
|
|
2001
2001
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2002
|
-
|
|
2002
|
+
inspectRes,
|
|
2003
2003
|
);
|
|
2004
2004
|
}
|
|
2005
2005
|
export async function indexOf(
|
|
@@ -2011,13 +2011,13 @@ export namespace string_ {
|
|
|
2011
2011
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2012
2012
|
const tx = new TransactionBlock();
|
|
2013
2013
|
builder.indexOf(tx, args);
|
|
2014
|
-
const
|
|
2014
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2015
2015
|
transactionBlock: tx,
|
|
2016
2016
|
sender: ZERO_ADDRESS,
|
|
2017
2017
|
});
|
|
2018
2018
|
|
|
2019
2019
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
2020
|
-
|
|
2020
|
+
inspectRes,
|
|
2021
2021
|
);
|
|
2022
2022
|
}
|
|
2023
2023
|
export async function insert(
|
|
@@ -2030,13 +2030,13 @@ export namespace string_ {
|
|
|
2030
2030
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2031
2031
|
const tx = new TransactionBlock();
|
|
2032
2032
|
builder.insert(tx, args);
|
|
2033
|
-
const
|
|
2033
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2034
2034
|
transactionBlock: tx,
|
|
2035
2035
|
sender: ZERO_ADDRESS,
|
|
2036
2036
|
});
|
|
2037
2037
|
|
|
2038
2038
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2039
|
-
|
|
2039
|
+
inspectRes,
|
|
2040
2040
|
);
|
|
2041
2041
|
}
|
|
2042
2042
|
export async function isEmpty(
|
|
@@ -2045,13 +2045,13 @@ export namespace string_ {
|
|
|
2045
2045
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
2046
2046
|
const tx = new TransactionBlock();
|
|
2047
2047
|
builder.isEmpty(tx, args);
|
|
2048
|
-
const
|
|
2048
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2049
2049
|
transactionBlock: tx,
|
|
2050
2050
|
sender: ZERO_ADDRESS,
|
|
2051
2051
|
});
|
|
2052
2052
|
|
|
2053
2053
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
2054
|
-
|
|
2054
|
+
inspectRes,
|
|
2055
2055
|
);
|
|
2056
2056
|
}
|
|
2057
2057
|
export async function length(
|
|
@@ -2060,13 +2060,13 @@ export namespace string_ {
|
|
|
2060
2060
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2061
2061
|
const tx = new TransactionBlock();
|
|
2062
2062
|
builder.length(tx, args);
|
|
2063
|
-
const
|
|
2063
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2064
2064
|
transactionBlock: tx,
|
|
2065
2065
|
sender: ZERO_ADDRESS,
|
|
2066
2066
|
});
|
|
2067
2067
|
|
|
2068
2068
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
2069
|
-
|
|
2069
|
+
inspectRes,
|
|
2070
2070
|
);
|
|
2071
2071
|
}
|
|
2072
2072
|
export async function subString(
|
|
@@ -2079,13 +2079,13 @@ export namespace string_ {
|
|
|
2079
2079
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2080
2080
|
const tx = new TransactionBlock();
|
|
2081
2081
|
builder.subString(tx, args);
|
|
2082
|
-
const
|
|
2082
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2083
2083
|
transactionBlock: tx,
|
|
2084
2084
|
sender: ZERO_ADDRESS,
|
|
2085
2085
|
});
|
|
2086
2086
|
|
|
2087
2087
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2088
|
-
|
|
2088
|
+
inspectRes,
|
|
2089
2089
|
);
|
|
2090
2090
|
}
|
|
2091
2091
|
export async function toAscii(
|
|
@@ -2094,14 +2094,14 @@ export namespace string_ {
|
|
|
2094
2094
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2095
2095
|
const tx = new TransactionBlock();
|
|
2096
2096
|
builder.toAscii(tx, args);
|
|
2097
|
-
const
|
|
2097
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2098
2098
|
transactionBlock: tx,
|
|
2099
2099
|
sender: ZERO_ADDRESS,
|
|
2100
2100
|
});
|
|
2101
2101
|
|
|
2102
2102
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2103
2103
|
[ascii.String]
|
|
2104
|
-
>(
|
|
2104
|
+
>(inspectRes);
|
|
2105
2105
|
}
|
|
2106
2106
|
export async function tryUtf8(
|
|
2107
2107
|
client: SuiClient,
|
|
@@ -2109,14 +2109,14 @@ export namespace string_ {
|
|
|
2109
2109
|
): Promise<TypedDevInspectResults<[option.Option<string>]>> {
|
|
2110
2110
|
const tx = new TransactionBlock();
|
|
2111
2111
|
builder.tryUtf8(tx, args);
|
|
2112
|
-
const
|
|
2112
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2113
2113
|
transactionBlock: tx,
|
|
2114
2114
|
sender: ZERO_ADDRESS,
|
|
2115
2115
|
});
|
|
2116
2116
|
|
|
2117
2117
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2118
2118
|
[option.Option<string>]
|
|
2119
|
-
>(
|
|
2119
|
+
>(inspectRes);
|
|
2120
2120
|
}
|
|
2121
2121
|
export async function utf8(
|
|
2122
2122
|
client: SuiClient,
|
|
@@ -2124,13 +2124,13 @@ export namespace string_ {
|
|
|
2124
2124
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2125
2125
|
const tx = new TransactionBlock();
|
|
2126
2126
|
builder.utf8(tx, args);
|
|
2127
|
-
const
|
|
2127
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2128
2128
|
transactionBlock: tx,
|
|
2129
2129
|
sender: ZERO_ADDRESS,
|
|
2130
2130
|
});
|
|
2131
2131
|
|
|
2132
2132
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2133
|
-
|
|
2133
|
+
inspectRes,
|
|
2134
2134
|
);
|
|
2135
2135
|
}
|
|
2136
2136
|
}
|
|
@@ -2245,6 +2245,19 @@ export namespace type_name {
|
|
|
2245
2245
|
arguments: _args,
|
|
2246
2246
|
});
|
|
2247
2247
|
}
|
|
2248
|
+
export function isPrimitive(
|
|
2249
|
+
tx: TransactionBlock,
|
|
2250
|
+
args: [string | ObjectCallArg | TransactionArgument],
|
|
2251
|
+
): TransactionArgument & [TransactionArgument] {
|
|
2252
|
+
const _args: any[] = [];
|
|
2253
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
2254
|
+
|
|
2255
|
+
// @ts-ignore
|
|
2256
|
+
return tx.moveCall({
|
|
2257
|
+
target: "0x1::type_name::is_primitive",
|
|
2258
|
+
arguments: _args,
|
|
2259
|
+
});
|
|
2260
|
+
}
|
|
2248
2261
|
}
|
|
2249
2262
|
export namespace view {
|
|
2250
2263
|
export async function borrowString(
|
|
@@ -2253,13 +2266,13 @@ export namespace type_name {
|
|
|
2253
2266
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2254
2267
|
const tx = new TransactionBlock();
|
|
2255
2268
|
builder.borrowString(tx, args);
|
|
2256
|
-
const
|
|
2269
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2257
2270
|
transactionBlock: tx,
|
|
2258
2271
|
sender: ZERO_ADDRESS,
|
|
2259
2272
|
});
|
|
2260
2273
|
|
|
2261
2274
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2262
|
-
|
|
2275
|
+
inspectRes,
|
|
2263
2276
|
);
|
|
2264
2277
|
}
|
|
2265
2278
|
export async function get<T0 = any>(
|
|
@@ -2269,14 +2282,14 @@ export namespace type_name {
|
|
|
2269
2282
|
): Promise<TypedDevInspectResults<[type_name.TypeName]>> {
|
|
2270
2283
|
const tx = new TransactionBlock();
|
|
2271
2284
|
builder.get(tx, args, typeArguments);
|
|
2272
|
-
const
|
|
2285
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2273
2286
|
transactionBlock: tx,
|
|
2274
2287
|
sender: ZERO_ADDRESS,
|
|
2275
2288
|
});
|
|
2276
2289
|
|
|
2277
2290
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2278
2291
|
[type_name.TypeName]
|
|
2279
|
-
>(
|
|
2292
|
+
>(inspectRes);
|
|
2280
2293
|
}
|
|
2281
2294
|
export async function getAddress(
|
|
2282
2295
|
client: SuiClient,
|
|
@@ -2284,14 +2297,14 @@ export namespace type_name {
|
|
|
2284
2297
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2285
2298
|
const tx = new TransactionBlock();
|
|
2286
2299
|
builder.getAddress(tx, args);
|
|
2287
|
-
const
|
|
2300
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2288
2301
|
transactionBlock: tx,
|
|
2289
2302
|
sender: ZERO_ADDRESS,
|
|
2290
2303
|
});
|
|
2291
2304
|
|
|
2292
2305
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2293
2306
|
[ascii.String]
|
|
2294
|
-
>(
|
|
2307
|
+
>(inspectRes);
|
|
2295
2308
|
}
|
|
2296
2309
|
export async function getModule(
|
|
2297
2310
|
client: SuiClient,
|
|
@@ -2299,14 +2312,14 @@ export namespace type_name {
|
|
|
2299
2312
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2300
2313
|
const tx = new TransactionBlock();
|
|
2301
2314
|
builder.getModule(tx, args);
|
|
2302
|
-
const
|
|
2315
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2303
2316
|
transactionBlock: tx,
|
|
2304
2317
|
sender: ZERO_ADDRESS,
|
|
2305
2318
|
});
|
|
2306
2319
|
|
|
2307
2320
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2308
2321
|
[ascii.String]
|
|
2309
|
-
>(
|
|
2322
|
+
>(inspectRes);
|
|
2310
2323
|
}
|
|
2311
2324
|
export async function getWithOriginalIds<T0 = any>(
|
|
2312
2325
|
client: SuiClient,
|
|
@@ -2315,14 +2328,14 @@ export namespace type_name {
|
|
|
2315
2328
|
): Promise<TypedDevInspectResults<[type_name.TypeName]>> {
|
|
2316
2329
|
const tx = new TransactionBlock();
|
|
2317
2330
|
builder.getWithOriginalIds(tx, args, typeArguments);
|
|
2318
|
-
const
|
|
2331
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2319
2332
|
transactionBlock: tx,
|
|
2320
2333
|
sender: ZERO_ADDRESS,
|
|
2321
2334
|
});
|
|
2322
2335
|
|
|
2323
2336
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2324
2337
|
[type_name.TypeName]
|
|
2325
|
-
>(
|
|
2338
|
+
>(inspectRes);
|
|
2326
2339
|
}
|
|
2327
2340
|
export async function intoString(
|
|
2328
2341
|
client: SuiClient,
|
|
@@ -2330,14 +2343,29 @@ export namespace type_name {
|
|
|
2330
2343
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2331
2344
|
const tx = new TransactionBlock();
|
|
2332
2345
|
builder.intoString(tx, args);
|
|
2333
|
-
const
|
|
2346
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2334
2347
|
transactionBlock: tx,
|
|
2335
2348
|
sender: ZERO_ADDRESS,
|
|
2336
2349
|
});
|
|
2337
2350
|
|
|
2338
2351
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2339
2352
|
[ascii.String]
|
|
2340
|
-
>(
|
|
2353
|
+
>(inspectRes);
|
|
2354
|
+
}
|
|
2355
|
+
export async function isPrimitive(
|
|
2356
|
+
client: SuiClient,
|
|
2357
|
+
args: [string | ObjectCallArg | TransactionArgument],
|
|
2358
|
+
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
2359
|
+
const tx = new TransactionBlock();
|
|
2360
|
+
builder.isPrimitive(tx, args);
|
|
2361
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2362
|
+
transactionBlock: tx,
|
|
2363
|
+
sender: ZERO_ADDRESS,
|
|
2364
|
+
});
|
|
2365
|
+
|
|
2366
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
2367
|
+
inspectRes,
|
|
2368
|
+
);
|
|
2341
2369
|
}
|
|
2342
2370
|
}
|
|
2343
2371
|
}
|
|
@@ -2724,13 +2752,13 @@ export namespace vector {
|
|
|
2724
2752
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2725
2753
|
const tx = new TransactionBlock();
|
|
2726
2754
|
builder.append(tx, args, typeArguments);
|
|
2727
|
-
const
|
|
2755
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2728
2756
|
transactionBlock: tx,
|
|
2729
2757
|
sender: ZERO_ADDRESS,
|
|
2730
2758
|
});
|
|
2731
2759
|
|
|
2732
2760
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2733
|
-
|
|
2761
|
+
inspectRes,
|
|
2734
2762
|
);
|
|
2735
2763
|
}
|
|
2736
2764
|
export async function borrow<T0 = any>(
|
|
@@ -2743,13 +2771,13 @@ export namespace vector {
|
|
|
2743
2771
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2744
2772
|
const tx = new TransactionBlock();
|
|
2745
2773
|
builder.borrow(tx, args, typeArguments);
|
|
2746
|
-
const
|
|
2774
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2747
2775
|
transactionBlock: tx,
|
|
2748
2776
|
sender: ZERO_ADDRESS,
|
|
2749
2777
|
});
|
|
2750
2778
|
|
|
2751
2779
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2752
|
-
|
|
2780
|
+
inspectRes,
|
|
2753
2781
|
);
|
|
2754
2782
|
}
|
|
2755
2783
|
export async function borrowMut<T0 = any>(
|
|
@@ -2762,13 +2790,13 @@ export namespace vector {
|
|
|
2762
2790
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2763
2791
|
const tx = new TransactionBlock();
|
|
2764
2792
|
builder.borrowMut(tx, args, typeArguments);
|
|
2765
|
-
const
|
|
2793
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2766
2794
|
transactionBlock: tx,
|
|
2767
2795
|
sender: ZERO_ADDRESS,
|
|
2768
2796
|
});
|
|
2769
2797
|
|
|
2770
2798
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2771
|
-
|
|
2799
|
+
inspectRes,
|
|
2772
2800
|
);
|
|
2773
2801
|
}
|
|
2774
2802
|
export async function contains<T0 = any>(
|
|
@@ -2781,13 +2809,13 @@ export namespace vector {
|
|
|
2781
2809
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
2782
2810
|
const tx = new TransactionBlock();
|
|
2783
2811
|
builder.contains(tx, args, typeArguments);
|
|
2784
|
-
const
|
|
2812
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2785
2813
|
transactionBlock: tx,
|
|
2786
2814
|
sender: ZERO_ADDRESS,
|
|
2787
2815
|
});
|
|
2788
2816
|
|
|
2789
2817
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
2790
|
-
|
|
2818
|
+
inspectRes,
|
|
2791
2819
|
);
|
|
2792
2820
|
}
|
|
2793
2821
|
export async function destroyEmpty<T0 = any>(
|
|
@@ -2797,13 +2825,13 @@ export namespace vector {
|
|
|
2797
2825
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2798
2826
|
const tx = new TransactionBlock();
|
|
2799
2827
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
2800
|
-
const
|
|
2828
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2801
2829
|
transactionBlock: tx,
|
|
2802
2830
|
sender: ZERO_ADDRESS,
|
|
2803
2831
|
});
|
|
2804
2832
|
|
|
2805
2833
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2806
|
-
|
|
2834
|
+
inspectRes,
|
|
2807
2835
|
);
|
|
2808
2836
|
}
|
|
2809
2837
|
export async function empty<T0 = any>(
|
|
@@ -2813,14 +2841,14 @@ export namespace vector {
|
|
|
2813
2841
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
|
2814
2842
|
const tx = new TransactionBlock();
|
|
2815
2843
|
builder.empty(tx, args, typeArguments);
|
|
2816
|
-
const
|
|
2844
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2817
2845
|
transactionBlock: tx,
|
|
2818
2846
|
sender: ZERO_ADDRESS,
|
|
2819
2847
|
});
|
|
2820
2848
|
|
|
2821
2849
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2822
2850
|
[T0[] | string]
|
|
2823
|
-
>(
|
|
2851
|
+
>(inspectRes);
|
|
2824
2852
|
}
|
|
2825
2853
|
export async function indexOf<T0 = any>(
|
|
2826
2854
|
client: SuiClient,
|
|
@@ -2832,14 +2860,14 @@ export namespace vector {
|
|
|
2832
2860
|
): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
|
|
2833
2861
|
const tx = new TransactionBlock();
|
|
2834
2862
|
builder.indexOf(tx, args, typeArguments);
|
|
2835
|
-
const
|
|
2863
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2836
2864
|
transactionBlock: tx,
|
|
2837
2865
|
sender: ZERO_ADDRESS,
|
|
2838
2866
|
});
|
|
2839
2867
|
|
|
2840
2868
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2841
2869
|
[Boolean, bigint]
|
|
2842
|
-
>(
|
|
2870
|
+
>(inspectRes);
|
|
2843
2871
|
}
|
|
2844
2872
|
export async function insert<T0 = any>(
|
|
2845
2873
|
client: SuiClient,
|
|
@@ -2852,13 +2880,13 @@ export namespace vector {
|
|
|
2852
2880
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2853
2881
|
const tx = new TransactionBlock();
|
|
2854
2882
|
builder.insert(tx, args, typeArguments);
|
|
2855
|
-
const
|
|
2883
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2856
2884
|
transactionBlock: tx,
|
|
2857
2885
|
sender: ZERO_ADDRESS,
|
|
2858
2886
|
});
|
|
2859
2887
|
|
|
2860
2888
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2861
|
-
|
|
2889
|
+
inspectRes,
|
|
2862
2890
|
);
|
|
2863
2891
|
}
|
|
2864
2892
|
export async function isEmpty<T0 = any>(
|
|
@@ -2868,13 +2896,13 @@ export namespace vector {
|
|
|
2868
2896
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
2869
2897
|
const tx = new TransactionBlock();
|
|
2870
2898
|
builder.isEmpty(tx, args, typeArguments);
|
|
2871
|
-
const
|
|
2899
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2872
2900
|
transactionBlock: tx,
|
|
2873
2901
|
sender: ZERO_ADDRESS,
|
|
2874
2902
|
});
|
|
2875
2903
|
|
|
2876
2904
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
2877
|
-
|
|
2905
|
+
inspectRes,
|
|
2878
2906
|
);
|
|
2879
2907
|
}
|
|
2880
2908
|
export async function length<T0 = any>(
|
|
@@ -2884,13 +2912,13 @@ export namespace vector {
|
|
|
2884
2912
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2885
2913
|
const tx = new TransactionBlock();
|
|
2886
2914
|
builder.length(tx, args, typeArguments);
|
|
2887
|
-
const
|
|
2915
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2888
2916
|
transactionBlock: tx,
|
|
2889
2917
|
sender: ZERO_ADDRESS,
|
|
2890
2918
|
});
|
|
2891
2919
|
|
|
2892
2920
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
2893
|
-
|
|
2921
|
+
inspectRes,
|
|
2894
2922
|
);
|
|
2895
2923
|
}
|
|
2896
2924
|
export async function popBack<T0 = any>(
|
|
@@ -2900,13 +2928,13 @@ export namespace vector {
|
|
|
2900
2928
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
2901
2929
|
const tx = new TransactionBlock();
|
|
2902
2930
|
builder.popBack(tx, args, typeArguments);
|
|
2903
|
-
const
|
|
2931
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2904
2932
|
transactionBlock: tx,
|
|
2905
2933
|
sender: ZERO_ADDRESS,
|
|
2906
2934
|
});
|
|
2907
2935
|
|
|
2908
2936
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
2909
|
-
|
|
2937
|
+
inspectRes,
|
|
2910
2938
|
);
|
|
2911
2939
|
}
|
|
2912
2940
|
export async function pushBack<T0 = any>(
|
|
@@ -2919,13 +2947,13 @@ export namespace vector {
|
|
|
2919
2947
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2920
2948
|
const tx = new TransactionBlock();
|
|
2921
2949
|
builder.pushBack(tx, args, typeArguments);
|
|
2922
|
-
const
|
|
2950
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2923
2951
|
transactionBlock: tx,
|
|
2924
2952
|
sender: ZERO_ADDRESS,
|
|
2925
2953
|
});
|
|
2926
2954
|
|
|
2927
2955
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2928
|
-
|
|
2956
|
+
inspectRes,
|
|
2929
2957
|
);
|
|
2930
2958
|
}
|
|
2931
2959
|
export async function remove<T0 = any>(
|
|
@@ -2938,13 +2966,13 @@ export namespace vector {
|
|
|
2938
2966
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
2939
2967
|
const tx = new TransactionBlock();
|
|
2940
2968
|
builder.remove(tx, args, typeArguments);
|
|
2941
|
-
const
|
|
2969
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2942
2970
|
transactionBlock: tx,
|
|
2943
2971
|
sender: ZERO_ADDRESS,
|
|
2944
2972
|
});
|
|
2945
2973
|
|
|
2946
2974
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
2947
|
-
|
|
2975
|
+
inspectRes,
|
|
2948
2976
|
);
|
|
2949
2977
|
}
|
|
2950
2978
|
export async function reverse<T0 = any>(
|
|
@@ -2954,13 +2982,13 @@ export namespace vector {
|
|
|
2954
2982
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2955
2983
|
const tx = new TransactionBlock();
|
|
2956
2984
|
builder.reverse(tx, args, typeArguments);
|
|
2957
|
-
const
|
|
2985
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2958
2986
|
transactionBlock: tx,
|
|
2959
2987
|
sender: ZERO_ADDRESS,
|
|
2960
2988
|
});
|
|
2961
2989
|
|
|
2962
2990
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2963
|
-
|
|
2991
|
+
inspectRes,
|
|
2964
2992
|
);
|
|
2965
2993
|
}
|
|
2966
2994
|
export async function singleton<T0 = any>(
|
|
@@ -2970,14 +2998,14 @@ export namespace vector {
|
|
|
2970
2998
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
|
2971
2999
|
const tx = new TransactionBlock();
|
|
2972
3000
|
builder.singleton(tx, args, typeArguments);
|
|
2973
|
-
const
|
|
3001
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2974
3002
|
transactionBlock: tx,
|
|
2975
3003
|
sender: ZERO_ADDRESS,
|
|
2976
3004
|
});
|
|
2977
3005
|
|
|
2978
3006
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2979
3007
|
[T0[] | string]
|
|
2980
|
-
>(
|
|
3008
|
+
>(inspectRes);
|
|
2981
3009
|
}
|
|
2982
3010
|
export async function swap<T0 = any>(
|
|
2983
3011
|
client: SuiClient,
|
|
@@ -2990,13 +3018,13 @@ export namespace vector {
|
|
|
2990
3018
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2991
3019
|
const tx = new TransactionBlock();
|
|
2992
3020
|
builder.swap(tx, args, typeArguments);
|
|
2993
|
-
const
|
|
3021
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2994
3022
|
transactionBlock: tx,
|
|
2995
3023
|
sender: ZERO_ADDRESS,
|
|
2996
3024
|
});
|
|
2997
3025
|
|
|
2998
3026
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2999
|
-
|
|
3027
|
+
inspectRes,
|
|
3000
3028
|
);
|
|
3001
3029
|
}
|
|
3002
3030
|
export async function swapRemove<T0 = any>(
|
|
@@ -3009,20 +3037,20 @@ export namespace vector {
|
|
|
3009
3037
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
3010
3038
|
const tx = new TransactionBlock();
|
|
3011
3039
|
builder.swapRemove(tx, args, typeArguments);
|
|
3012
|
-
const
|
|
3040
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
3013
3041
|
transactionBlock: tx,
|
|
3014
3042
|
sender: ZERO_ADDRESS,
|
|
3015
3043
|
});
|
|
3016
3044
|
|
|
3017
3045
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0]>(
|
|
3018
|
-
|
|
3046
|
+
inspectRes,
|
|
3019
3047
|
);
|
|
3020
3048
|
}
|
|
3021
3049
|
}
|
|
3022
3050
|
}
|
|
3023
3051
|
|
|
3024
3052
|
const MODULES = JSON.parse(
|
|
3025
|
-
'{"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":[]}}]}}},"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}]}}}}',
|
|
3053
|
+
'{"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}]}}}}',
|
|
3026
3054
|
);
|
|
3027
3055
|
|
|
3028
3056
|
export function loadAllTypes(coder: MoveCoder) {
|