@sentio/sdk 2.46.0-rc.1 → 2.46.0-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/lib/aptos/builtin/0x1.d.ts +65 -65
- package/lib/aptos/builtin/0x1.js +27 -27
- package/lib/aptos/builtin/0x3.d.ts +1 -1
- package/lib/aptos/builtin/0x4.d.ts +34 -34
- package/lib/sui/builtin/0x1.d.ts +172 -311
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +17 -17
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +673 -1589
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +106 -106
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +359 -831
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +20 -20
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/package.json +6 -6
- package/src/aptos/builtin/0x1.ts +78 -78
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +34 -34
- package/src/sui/builtin/0x1.ts +178 -317
- package/src/sui/builtin/0x2.ts +752 -1668
- package/src/sui/builtin/0x3.ts +374 -846
package/src/sui/builtin/0x1.ts
CHANGED
@@ -303,7 +303,7 @@ export namespace ascii {
|
|
303
303
|
arguments: _args,
|
304
304
|
});
|
305
305
|
}
|
306
|
-
export function
|
306
|
+
export function string$(
|
307
307
|
tx: Transaction,
|
308
308
|
args: [(string | TransactionObjectArgument)[] | TransactionArgument],
|
309
309
|
): TransactionArgument & [TransactionArgument] {
|
@@ -379,7 +379,7 @@ export namespace ascii {
|
|
379
379
|
export namespace view {
|
380
380
|
export async function allCharactersPrintable(
|
381
381
|
client: SuiClient,
|
382
|
-
args: [string
|
382
|
+
args: [string],
|
383
383
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
384
384
|
const tx = new Transaction();
|
385
385
|
builder.allCharactersPrintable(tx, args);
|
@@ -394,10 +394,7 @@ export namespace ascii {
|
|
394
394
|
}
|
395
395
|
export async function append(
|
396
396
|
client: SuiClient,
|
397
|
-
args: [
|
398
|
-
string | TransactionObjectArgument | TransactionArgument,
|
399
|
-
ascii.String | TransactionArgument,
|
400
|
-
],
|
397
|
+
args: [string, ascii.String],
|
401
398
|
): Promise<TypedDevInspectResults<[]>> {
|
402
399
|
const tx = new Transaction();
|
403
400
|
builder.append(tx, args);
|
@@ -412,7 +409,7 @@ export namespace ascii {
|
|
412
409
|
}
|
413
410
|
export async function asBytes(
|
414
411
|
client: SuiClient,
|
415
|
-
args: [string
|
412
|
+
args: [string],
|
416
413
|
): Promise<TypedDevInspectResults<[string]>> {
|
417
414
|
const tx = new Transaction();
|
418
415
|
builder.asBytes(tx, args);
|
@@ -427,7 +424,7 @@ export namespace ascii {
|
|
427
424
|
}
|
428
425
|
export async function byte(
|
429
426
|
client: SuiClient,
|
430
|
-
args: [ascii.Char
|
427
|
+
args: [ascii.Char],
|
431
428
|
): Promise<TypedDevInspectResults<[number]>> {
|
432
429
|
const tx = new Transaction();
|
433
430
|
builder.byte(tx, args);
|
@@ -442,7 +439,7 @@ export namespace ascii {
|
|
442
439
|
}
|
443
440
|
export async function char(
|
444
441
|
client: SuiClient,
|
445
|
-
args: [number
|
442
|
+
args: [number],
|
446
443
|
): Promise<TypedDevInspectResults<[ascii.Char]>> {
|
447
444
|
const tx = new Transaction();
|
448
445
|
builder.char(tx, args);
|
@@ -457,10 +454,7 @@ export namespace ascii {
|
|
457
454
|
}
|
458
455
|
export async function indexOf(
|
459
456
|
client: SuiClient,
|
460
|
-
args: [
|
461
|
-
string | TransactionObjectArgument | TransactionArgument,
|
462
|
-
string | TransactionObjectArgument | TransactionArgument,
|
463
|
-
],
|
457
|
+
args: [string, string],
|
464
458
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
465
459
|
const tx = new Transaction();
|
466
460
|
builder.indexOf(tx, args);
|
@@ -475,11 +469,7 @@ export namespace ascii {
|
|
475
469
|
}
|
476
470
|
export async function insert(
|
477
471
|
client: SuiClient,
|
478
|
-
args: [
|
479
|
-
string | TransactionObjectArgument | TransactionArgument,
|
480
|
-
bigint | TransactionArgument,
|
481
|
-
ascii.String | TransactionArgument,
|
482
|
-
],
|
472
|
+
args: [string, bigint, ascii.String],
|
483
473
|
): Promise<TypedDevInspectResults<[]>> {
|
484
474
|
const tx = new Transaction();
|
485
475
|
builder.insert(tx, args);
|
@@ -494,7 +484,7 @@ export namespace ascii {
|
|
494
484
|
}
|
495
485
|
export async function intoBytes(
|
496
486
|
client: SuiClient,
|
497
|
-
args: [ascii.String
|
487
|
+
args: [ascii.String],
|
498
488
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
499
489
|
const tx = new Transaction();
|
500
490
|
builder.intoBytes(tx, args);
|
@@ -509,7 +499,7 @@ export namespace ascii {
|
|
509
499
|
}
|
510
500
|
export async function isEmpty(
|
511
501
|
client: SuiClient,
|
512
|
-
args: [string
|
502
|
+
args: [string],
|
513
503
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
514
504
|
const tx = new Transaction();
|
515
505
|
builder.isEmpty(tx, args);
|
@@ -524,7 +514,7 @@ export namespace ascii {
|
|
524
514
|
}
|
525
515
|
export async function isPrintableChar(
|
526
516
|
client: SuiClient,
|
527
|
-
args: [number
|
517
|
+
args: [number],
|
528
518
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
529
519
|
const tx = new Transaction();
|
530
520
|
builder.isPrintableChar(tx, args);
|
@@ -539,7 +529,7 @@ export namespace ascii {
|
|
539
529
|
}
|
540
530
|
export async function isValidChar(
|
541
531
|
client: SuiClient,
|
542
|
-
args: [number
|
532
|
+
args: [number],
|
543
533
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
544
534
|
const tx = new Transaction();
|
545
535
|
builder.isValidChar(tx, args);
|
@@ -554,7 +544,7 @@ export namespace ascii {
|
|
554
544
|
}
|
555
545
|
export async function length(
|
556
546
|
client: SuiClient,
|
557
|
-
args: [string
|
547
|
+
args: [string],
|
558
548
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
559
549
|
const tx = new Transaction();
|
560
550
|
builder.length(tx, args);
|
@@ -569,7 +559,7 @@ export namespace ascii {
|
|
569
559
|
}
|
570
560
|
export async function popChar(
|
571
561
|
client: SuiClient,
|
572
|
-
args: [string
|
562
|
+
args: [string],
|
573
563
|
): Promise<TypedDevInspectResults<[ascii.Char]>> {
|
574
564
|
const tx = new Transaction();
|
575
565
|
builder.popChar(tx, args);
|
@@ -584,10 +574,7 @@ export namespace ascii {
|
|
584
574
|
}
|
585
575
|
export async function pushChar(
|
586
576
|
client: SuiClient,
|
587
|
-
args: [
|
588
|
-
string | TransactionObjectArgument | TransactionArgument,
|
589
|
-
ascii.Char | TransactionArgument,
|
590
|
-
],
|
577
|
+
args: [string, ascii.Char],
|
591
578
|
): Promise<TypedDevInspectResults<[]>> {
|
592
579
|
const tx = new Transaction();
|
593
580
|
builder.pushChar(tx, args);
|
@@ -600,12 +587,12 @@ export namespace ascii {
|
|
600
587
|
inspectRes,
|
601
588
|
);
|
602
589
|
}
|
603
|
-
export async function
|
590
|
+
export async function string$(
|
604
591
|
client: SuiClient,
|
605
|
-
args: [
|
592
|
+
args: [string[]],
|
606
593
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
607
594
|
const tx = new Transaction();
|
608
|
-
builder.
|
595
|
+
builder.string$(tx, args);
|
609
596
|
const inspectRes = await client.devInspectTransactionBlock({
|
610
597
|
transactionBlock: tx,
|
611
598
|
sender: ZERO_ADDRESS,
|
@@ -617,11 +604,7 @@ export namespace ascii {
|
|
617
604
|
}
|
618
605
|
export async function substring(
|
619
606
|
client: SuiClient,
|
620
|
-
args: [
|
621
|
-
string | TransactionObjectArgument | TransactionArgument,
|
622
|
-
bigint | TransactionArgument,
|
623
|
-
bigint | TransactionArgument,
|
624
|
-
],
|
607
|
+
args: [string, bigint, bigint],
|
625
608
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
626
609
|
const tx = new Transaction();
|
627
610
|
builder.substring(tx, args);
|
@@ -636,7 +619,7 @@ export namespace ascii {
|
|
636
619
|
}
|
637
620
|
export async function toLowercase(
|
638
621
|
client: SuiClient,
|
639
|
-
args: [string
|
622
|
+
args: [string],
|
640
623
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
641
624
|
const tx = new Transaction();
|
642
625
|
builder.toLowercase(tx, args);
|
@@ -651,7 +634,7 @@ export namespace ascii {
|
|
651
634
|
}
|
652
635
|
export async function toUppercase(
|
653
636
|
client: SuiClient,
|
654
|
-
args: [string
|
637
|
+
args: [string],
|
655
638
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
656
639
|
const tx = new Transaction();
|
657
640
|
builder.toUppercase(tx, args);
|
@@ -666,7 +649,7 @@ export namespace ascii {
|
|
666
649
|
}
|
667
650
|
export async function tryString(
|
668
651
|
client: SuiClient,
|
669
|
-
args: [
|
652
|
+
args: [string[]],
|
670
653
|
): Promise<TypedDevInspectResults<[option.Option<ascii.String>]>> {
|
671
654
|
const tx = new Transaction();
|
672
655
|
builder.tryString(tx, args);
|
@@ -707,7 +690,7 @@ export namespace bcs {
|
|
707
690
|
export namespace view {
|
708
691
|
export async function toBytes<T0 = any>(
|
709
692
|
client: SuiClient,
|
710
|
-
args: [string
|
693
|
+
args: [string],
|
711
694
|
typeArguments: [TypeDescriptor<T0> | string],
|
712
695
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
713
696
|
const tx = new Transaction();
|
@@ -815,7 +798,7 @@ export namespace bit_vector {
|
|
815
798
|
arguments: _args,
|
816
799
|
});
|
817
800
|
}
|
818
|
-
export function
|
801
|
+
export function new$(
|
819
802
|
tx: Transaction,
|
820
803
|
args: [bigint | TransactionArgument],
|
821
804
|
): TransactionArgument & [TransactionArgument] {
|
@@ -883,10 +866,7 @@ export namespace bit_vector {
|
|
883
866
|
export namespace view {
|
884
867
|
export async function isIndexSet(
|
885
868
|
client: SuiClient,
|
886
|
-
args: [
|
887
|
-
string | TransactionObjectArgument | TransactionArgument,
|
888
|
-
bigint | TransactionArgument,
|
889
|
-
],
|
869
|
+
args: [string, bigint],
|
890
870
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
891
871
|
const tx = new Transaction();
|
892
872
|
builder.isIndexSet(tx, args);
|
@@ -901,7 +881,7 @@ export namespace bit_vector {
|
|
901
881
|
}
|
902
882
|
export async function length(
|
903
883
|
client: SuiClient,
|
904
|
-
args: [string
|
884
|
+
args: [string],
|
905
885
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
906
886
|
const tx = new Transaction();
|
907
887
|
builder.length(tx, args);
|
@@ -916,10 +896,7 @@ export namespace bit_vector {
|
|
916
896
|
}
|
917
897
|
export async function longestSetSequenceStartingAt(
|
918
898
|
client: SuiClient,
|
919
|
-
args: [
|
920
|
-
string | TransactionObjectArgument | TransactionArgument,
|
921
|
-
bigint | TransactionArgument,
|
922
|
-
],
|
899
|
+
args: [string, bigint],
|
923
900
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
924
901
|
const tx = new Transaction();
|
925
902
|
builder.longestSetSequenceStartingAt(tx, args);
|
@@ -932,12 +909,12 @@ export namespace bit_vector {
|
|
932
909
|
inspectRes,
|
933
910
|
);
|
934
911
|
}
|
935
|
-
export async function
|
912
|
+
export async function new$(
|
936
913
|
client: SuiClient,
|
937
|
-
args: [bigint
|
914
|
+
args: [bigint],
|
938
915
|
): Promise<TypedDevInspectResults<[bit_vector.BitVector]>> {
|
939
916
|
const tx = new Transaction();
|
940
|
-
builder.
|
917
|
+
builder.new$(tx, args);
|
941
918
|
const inspectRes = await client.devInspectTransactionBlock({
|
942
919
|
transactionBlock: tx,
|
943
920
|
sender: ZERO_ADDRESS,
|
@@ -949,10 +926,7 @@ export namespace bit_vector {
|
|
949
926
|
}
|
950
927
|
export async function set(
|
951
928
|
client: SuiClient,
|
952
|
-
args: [
|
953
|
-
string | TransactionObjectArgument | TransactionArgument,
|
954
|
-
bigint | TransactionArgument,
|
955
|
-
],
|
929
|
+
args: [string, bigint],
|
956
930
|
): Promise<TypedDevInspectResults<[]>> {
|
957
931
|
const tx = new Transaction();
|
958
932
|
builder.set(tx, args);
|
@@ -967,10 +941,7 @@ export namespace bit_vector {
|
|
967
941
|
}
|
968
942
|
export async function shiftLeft(
|
969
943
|
client: SuiClient,
|
970
|
-
args: [
|
971
|
-
string | TransactionObjectArgument | TransactionArgument,
|
972
|
-
bigint | TransactionArgument,
|
973
|
-
],
|
944
|
+
args: [string, bigint],
|
974
945
|
): Promise<TypedDevInspectResults<[]>> {
|
975
946
|
const tx = new Transaction();
|
976
947
|
builder.shiftLeft(tx, args);
|
@@ -985,10 +956,7 @@ export namespace bit_vector {
|
|
985
956
|
}
|
986
957
|
export async function unset(
|
987
958
|
client: SuiClient,
|
988
|
-
args: [
|
989
|
-
string | TransactionObjectArgument | TransactionArgument,
|
990
|
-
bigint | TransactionArgument,
|
991
|
-
],
|
959
|
+
args: [string, bigint],
|
992
960
|
): Promise<TypedDevInspectResults<[]>> {
|
993
961
|
const tx = new Transaction();
|
994
962
|
builder.unset(tx, args);
|
@@ -1041,7 +1009,7 @@ export namespace debug {
|
|
1041
1009
|
export namespace view {
|
1042
1010
|
export async function print<T0 = any>(
|
1043
1011
|
client: SuiClient,
|
1044
|
-
args: [string
|
1012
|
+
args: [string],
|
1045
1013
|
typeArguments: [TypeDescriptor<T0> | string],
|
1046
1014
|
): Promise<TypedDevInspectResults<[]>> {
|
1047
1015
|
const tx = new Transaction();
|
@@ -1212,7 +1180,7 @@ export namespace fixed_point32 {
|
|
1212
1180
|
export namespace view {
|
1213
1181
|
export async function createFromRational(
|
1214
1182
|
client: SuiClient,
|
1215
|
-
args: [bigint
|
1183
|
+
args: [bigint, bigint],
|
1216
1184
|
): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>> {
|
1217
1185
|
const tx = new Transaction();
|
1218
1186
|
builder.createFromRational(tx, args);
|
@@ -1227,7 +1195,7 @@ export namespace fixed_point32 {
|
|
1227
1195
|
}
|
1228
1196
|
export async function createFromRawValue(
|
1229
1197
|
client: SuiClient,
|
1230
|
-
args: [bigint
|
1198
|
+
args: [bigint],
|
1231
1199
|
): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>> {
|
1232
1200
|
const tx = new Transaction();
|
1233
1201
|
builder.createFromRawValue(tx, args);
|
@@ -1242,10 +1210,7 @@ export namespace fixed_point32 {
|
|
1242
1210
|
}
|
1243
1211
|
export async function divideU64(
|
1244
1212
|
client: SuiClient,
|
1245
|
-
args: [
|
1246
|
-
bigint | TransactionArgument,
|
1247
|
-
fixed_point32.FixedPoint32 | TransactionArgument,
|
1248
|
-
],
|
1213
|
+
args: [bigint, fixed_point32.FixedPoint32],
|
1249
1214
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1250
1215
|
const tx = new Transaction();
|
1251
1216
|
builder.divideU64(tx, args);
|
@@ -1260,7 +1225,7 @@ export namespace fixed_point32 {
|
|
1260
1225
|
}
|
1261
1226
|
export async function getRawValue(
|
1262
1227
|
client: SuiClient,
|
1263
|
-
args: [fixed_point32.FixedPoint32
|
1228
|
+
args: [fixed_point32.FixedPoint32],
|
1264
1229
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1265
1230
|
const tx = new Transaction();
|
1266
1231
|
builder.getRawValue(tx, args);
|
@@ -1275,7 +1240,7 @@ export namespace fixed_point32 {
|
|
1275
1240
|
}
|
1276
1241
|
export async function isZero(
|
1277
1242
|
client: SuiClient,
|
1278
|
-
args: [fixed_point32.FixedPoint32
|
1243
|
+
args: [fixed_point32.FixedPoint32],
|
1279
1244
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
1280
1245
|
const tx = new Transaction();
|
1281
1246
|
builder.isZero(tx, args);
|
@@ -1290,10 +1255,7 @@ export namespace fixed_point32 {
|
|
1290
1255
|
}
|
1291
1256
|
export async function multiplyU64(
|
1292
1257
|
client: SuiClient,
|
1293
|
-
args: [
|
1294
|
-
bigint | TransactionArgument,
|
1295
|
-
fixed_point32.FixedPoint32 | TransactionArgument,
|
1296
|
-
],
|
1258
|
+
args: [bigint, fixed_point32.FixedPoint32],
|
1297
1259
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1298
1260
|
const tx = new Transaction();
|
1299
1261
|
builder.multiplyU64(tx, args);
|
@@ -1341,7 +1303,7 @@ export namespace hash {
|
|
1341
1303
|
export namespace view {
|
1342
1304
|
export async function sha2256(
|
1343
1305
|
client: SuiClient,
|
1344
|
-
args: [
|
1306
|
+
args: [string[]],
|
1345
1307
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
1346
1308
|
const tx = new Transaction();
|
1347
1309
|
builder.sha2256(tx, args);
|
@@ -1356,7 +1318,7 @@ export namespace hash {
|
|
1356
1318
|
}
|
1357
1319
|
export async function sha3256(
|
1358
1320
|
client: SuiClient,
|
1359
|
-
args: [
|
1321
|
+
args: [string[]],
|
1360
1322
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
1361
1323
|
const tx = new Transaction();
|
1362
1324
|
builder.sha3256(tx, args);
|
@@ -1743,7 +1705,7 @@ export namespace option {
|
|
1743
1705
|
export namespace view {
|
1744
1706
|
export async function borrow<T0 = any>(
|
1745
1707
|
client: SuiClient,
|
1746
|
-
args: [string
|
1708
|
+
args: [string],
|
1747
1709
|
typeArguments: [TypeDescriptor<T0> | string],
|
1748
1710
|
): Promise<TypedDevInspectResults<[string]>> {
|
1749
1711
|
const tx = new Transaction();
|
@@ -1759,7 +1721,7 @@ export namespace option {
|
|
1759
1721
|
}
|
1760
1722
|
export async function borrowMut<T0 = any>(
|
1761
1723
|
client: SuiClient,
|
1762
|
-
args: [string
|
1724
|
+
args: [string],
|
1763
1725
|
typeArguments: [TypeDescriptor<T0> | string],
|
1764
1726
|
): Promise<TypedDevInspectResults<[string]>> {
|
1765
1727
|
const tx = new Transaction();
|
@@ -1775,10 +1737,7 @@ export namespace option {
|
|
1775
1737
|
}
|
1776
1738
|
export async function borrowWithDefault<T0 = any>(
|
1777
1739
|
client: SuiClient,
|
1778
|
-
args: [
|
1779
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1780
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1781
|
-
],
|
1740
|
+
args: [string, string],
|
1782
1741
|
typeArguments: [TypeDescriptor<T0> | string],
|
1783
1742
|
): Promise<TypedDevInspectResults<[string]>> {
|
1784
1743
|
const tx = new Transaction();
|
@@ -1794,10 +1753,7 @@ export namespace option {
|
|
1794
1753
|
}
|
1795
1754
|
export async function contains<T0 = any>(
|
1796
1755
|
client: SuiClient,
|
1797
|
-
args: [
|
1798
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1799
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1800
|
-
],
|
1756
|
+
args: [string, string],
|
1801
1757
|
typeArguments: [TypeDescriptor<T0> | string],
|
1802
1758
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
1803
1759
|
const tx = new Transaction();
|
@@ -1813,7 +1769,7 @@ export namespace option {
|
|
1813
1769
|
}
|
1814
1770
|
export async function destroyNone<T0 = any>(
|
1815
1771
|
client: SuiClient,
|
1816
|
-
args: [option.Option<T0>
|
1772
|
+
args: [option.Option<T0>],
|
1817
1773
|
typeArguments: [TypeDescriptor<T0> | string],
|
1818
1774
|
): Promise<TypedDevInspectResults<[]>> {
|
1819
1775
|
const tx = new Transaction();
|
@@ -1829,7 +1785,7 @@ export namespace option {
|
|
1829
1785
|
}
|
1830
1786
|
export async function destroySome<T0 = any>(
|
1831
1787
|
client: SuiClient,
|
1832
|
-
args: [option.Option<T0>
|
1788
|
+
args: [option.Option<T0>],
|
1833
1789
|
typeArguments: [TypeDescriptor<T0> | string],
|
1834
1790
|
): Promise<TypedDevInspectResults<[T0]>> {
|
1835
1791
|
const tx = new Transaction();
|
@@ -1845,7 +1801,7 @@ export namespace option {
|
|
1845
1801
|
}
|
1846
1802
|
export async function destroyWithDefault<T0 = any>(
|
1847
1803
|
client: SuiClient,
|
1848
|
-
args: [option.Option<T0
|
1804
|
+
args: [option.Option<T0>, T0],
|
1849
1805
|
typeArguments: [TypeDescriptor<T0> | string],
|
1850
1806
|
): Promise<TypedDevInspectResults<[T0]>> {
|
1851
1807
|
const tx = new Transaction();
|
@@ -1861,7 +1817,7 @@ export namespace option {
|
|
1861
1817
|
}
|
1862
1818
|
export async function extract<T0 = any>(
|
1863
1819
|
client: SuiClient,
|
1864
|
-
args: [string
|
1820
|
+
args: [string],
|
1865
1821
|
typeArguments: [TypeDescriptor<T0> | string],
|
1866
1822
|
): Promise<TypedDevInspectResults<[T0]>> {
|
1867
1823
|
const tx = new Transaction();
|
@@ -1877,10 +1833,7 @@ export namespace option {
|
|
1877
1833
|
}
|
1878
1834
|
export async function fill<T0 = any>(
|
1879
1835
|
client: SuiClient,
|
1880
|
-
args: [
|
1881
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1882
|
-
T0 | TransactionArgument,
|
1883
|
-
],
|
1836
|
+
args: [string, T0],
|
1884
1837
|
typeArguments: [TypeDescriptor<T0> | string],
|
1885
1838
|
): Promise<TypedDevInspectResults<[]>> {
|
1886
1839
|
const tx = new Transaction();
|
@@ -1896,10 +1849,7 @@ export namespace option {
|
|
1896
1849
|
}
|
1897
1850
|
export async function getWithDefault<T0 = any>(
|
1898
1851
|
client: SuiClient,
|
1899
|
-
args: [
|
1900
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1901
|
-
T0 | TransactionArgument,
|
1902
|
-
],
|
1852
|
+
args: [string, T0],
|
1903
1853
|
typeArguments: [TypeDescriptor<T0> | string],
|
1904
1854
|
): Promise<TypedDevInspectResults<[T0]>> {
|
1905
1855
|
const tx = new Transaction();
|
@@ -1915,7 +1865,7 @@ export namespace option {
|
|
1915
1865
|
}
|
1916
1866
|
export async function isNone<T0 = any>(
|
1917
1867
|
client: SuiClient,
|
1918
|
-
args: [string
|
1868
|
+
args: [string],
|
1919
1869
|
typeArguments: [TypeDescriptor<T0> | string],
|
1920
1870
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
1921
1871
|
const tx = new Transaction();
|
@@ -1931,7 +1881,7 @@ export namespace option {
|
|
1931
1881
|
}
|
1932
1882
|
export async function isSome<T0 = any>(
|
1933
1883
|
client: SuiClient,
|
1934
|
-
args: [string
|
1884
|
+
args: [string],
|
1935
1885
|
typeArguments: [TypeDescriptor<T0> | string],
|
1936
1886
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
1937
1887
|
const tx = new Transaction();
|
@@ -1963,7 +1913,7 @@ export namespace option {
|
|
1963
1913
|
}
|
1964
1914
|
export async function some<T0 = any>(
|
1965
1915
|
client: SuiClient,
|
1966
|
-
args: [T0
|
1916
|
+
args: [T0],
|
1967
1917
|
typeArguments: [TypeDescriptor<T0> | string],
|
1968
1918
|
): Promise<TypedDevInspectResults<[option.Option<T0>]>> {
|
1969
1919
|
const tx = new Transaction();
|
@@ -1979,10 +1929,7 @@ export namespace option {
|
|
1979
1929
|
}
|
1980
1930
|
export async function swap<T0 = any>(
|
1981
1931
|
client: SuiClient,
|
1982
|
-
args: [
|
1983
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1984
|
-
T0 | TransactionArgument,
|
1985
|
-
],
|
1932
|
+
args: [string, T0],
|
1986
1933
|
typeArguments: [TypeDescriptor<T0> | string],
|
1987
1934
|
): Promise<TypedDevInspectResults<[T0]>> {
|
1988
1935
|
const tx = new Transaction();
|
@@ -1998,10 +1945,7 @@ export namespace option {
|
|
1998
1945
|
}
|
1999
1946
|
export async function swapOrFill<T0 = any>(
|
2000
1947
|
client: SuiClient,
|
2001
|
-
args: [
|
2002
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2003
|
-
T0 | TransactionArgument,
|
2004
|
-
],
|
1948
|
+
args: [string, T0],
|
2005
1949
|
typeArguments: [TypeDescriptor<T0> | string],
|
2006
1950
|
): Promise<TypedDevInspectResults<[option.Option<T0>]>> {
|
2007
1951
|
const tx = new Transaction();
|
@@ -2017,7 +1961,7 @@ export namespace option {
|
|
2017
1961
|
}
|
2018
1962
|
export async function toVec<T0 = any>(
|
2019
1963
|
client: SuiClient,
|
2020
|
-
args: [option.Option<T0>
|
1964
|
+
args: [option.Option<T0>],
|
2021
1965
|
typeArguments: [TypeDescriptor<T0> | string],
|
2022
1966
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
2023
1967
|
const tx = new Transaction();
|
@@ -2034,7 +1978,7 @@ export namespace option {
|
|
2034
1978
|
}
|
2035
1979
|
}
|
2036
1980
|
|
2037
|
-
export class
|
1981
|
+
export class string$ extends SuiBaseProcessor {
|
2038
1982
|
constructor(options: SuiBindOptions) {
|
2039
1983
|
super("string", options);
|
2040
1984
|
}
|
@@ -2043,20 +1987,20 @@ export class string_ extends SuiBaseProcessor {
|
|
2043
1987
|
network: SuiNetwork.MAIN_NET,
|
2044
1988
|
};
|
2045
1989
|
|
2046
|
-
static bind(options: Partial<SuiBindOptions> = {}):
|
2047
|
-
return new
|
1990
|
+
static bind(options: Partial<SuiBindOptions> = {}): string$ {
|
1991
|
+
return new string$({ ...string$.DEFAULT_OPTIONS, ...options });
|
2048
1992
|
}
|
2049
1993
|
|
2050
1994
|
onEventString(
|
2051
|
-
func: (event:
|
1995
|
+
func: (event: string$.StringInstance, ctx: SuiContext) => void,
|
2052
1996
|
fetchConfig?: Partial<MoveFetchConfig>,
|
2053
|
-
):
|
1997
|
+
): string$ {
|
2054
1998
|
this.onMoveEvent(func, { type: "string::String" }, fetchConfig);
|
2055
1999
|
return this;
|
2056
2000
|
}
|
2057
2001
|
}
|
2058
2002
|
|
2059
|
-
export namespace
|
2003
|
+
export namespace string$ {
|
2060
2004
|
export interface String {
|
2061
2005
|
bytes: number[];
|
2062
2006
|
}
|
@@ -2309,10 +2253,7 @@ export namespace string_ {
|
|
2309
2253
|
export namespace view {
|
2310
2254
|
export async function append(
|
2311
2255
|
client: SuiClient,
|
2312
|
-
args: [
|
2313
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2314
|
-
string | TransactionArgument,
|
2315
|
-
],
|
2256
|
+
args: [string, string],
|
2316
2257
|
): Promise<TypedDevInspectResults<[]>> {
|
2317
2258
|
const tx = new Transaction();
|
2318
2259
|
builder.append(tx, args);
|
@@ -2327,10 +2268,7 @@ export namespace string_ {
|
|
2327
2268
|
}
|
2328
2269
|
export async function appendUtf8(
|
2329
2270
|
client: SuiClient,
|
2330
|
-
args: [
|
2331
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2332
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2333
|
-
],
|
2271
|
+
args: [string, string[]],
|
2334
2272
|
): Promise<TypedDevInspectResults<[]>> {
|
2335
2273
|
const tx = new Transaction();
|
2336
2274
|
builder.appendUtf8(tx, args);
|
@@ -2345,7 +2283,7 @@ export namespace string_ {
|
|
2345
2283
|
}
|
2346
2284
|
export async function asBytes(
|
2347
2285
|
client: SuiClient,
|
2348
|
-
args: [string
|
2286
|
+
args: [string],
|
2349
2287
|
): Promise<TypedDevInspectResults<[string]>> {
|
2350
2288
|
const tx = new Transaction();
|
2351
2289
|
builder.asBytes(tx, args);
|
@@ -2360,7 +2298,7 @@ export namespace string_ {
|
|
2360
2298
|
}
|
2361
2299
|
export async function bytes(
|
2362
2300
|
client: SuiClient,
|
2363
|
-
args: [string
|
2301
|
+
args: [string],
|
2364
2302
|
): Promise<TypedDevInspectResults<[string]>> {
|
2365
2303
|
const tx = new Transaction();
|
2366
2304
|
builder.bytes(tx, args);
|
@@ -2375,7 +2313,7 @@ export namespace string_ {
|
|
2375
2313
|
}
|
2376
2314
|
export async function fromAscii(
|
2377
2315
|
client: SuiClient,
|
2378
|
-
args: [ascii.String
|
2316
|
+
args: [ascii.String],
|
2379
2317
|
): Promise<TypedDevInspectResults<[string]>> {
|
2380
2318
|
const tx = new Transaction();
|
2381
2319
|
builder.fromAscii(tx, args);
|
@@ -2390,10 +2328,7 @@ export namespace string_ {
|
|
2390
2328
|
}
|
2391
2329
|
export async function indexOf(
|
2392
2330
|
client: SuiClient,
|
2393
|
-
args: [
|
2394
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2395
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2396
|
-
],
|
2331
|
+
args: [string, string],
|
2397
2332
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
2398
2333
|
const tx = new Transaction();
|
2399
2334
|
builder.indexOf(tx, args);
|
@@ -2408,11 +2343,7 @@ export namespace string_ {
|
|
2408
2343
|
}
|
2409
2344
|
export async function insert(
|
2410
2345
|
client: SuiClient,
|
2411
|
-
args: [
|
2412
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2413
|
-
bigint | TransactionArgument,
|
2414
|
-
string | TransactionArgument,
|
2415
|
-
],
|
2346
|
+
args: [string, bigint, string],
|
2416
2347
|
): Promise<TypedDevInspectResults<[]>> {
|
2417
2348
|
const tx = new Transaction();
|
2418
2349
|
builder.insert(tx, args);
|
@@ -2427,7 +2358,7 @@ export namespace string_ {
|
|
2427
2358
|
}
|
2428
2359
|
export async function intoBytes(
|
2429
2360
|
client: SuiClient,
|
2430
|
-
args: [string
|
2361
|
+
args: [string],
|
2431
2362
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
2432
2363
|
const tx = new Transaction();
|
2433
2364
|
builder.intoBytes(tx, args);
|
@@ -2442,7 +2373,7 @@ export namespace string_ {
|
|
2442
2373
|
}
|
2443
2374
|
export async function isEmpty(
|
2444
2375
|
client: SuiClient,
|
2445
|
-
args: [string
|
2376
|
+
args: [string],
|
2446
2377
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
2447
2378
|
const tx = new Transaction();
|
2448
2379
|
builder.isEmpty(tx, args);
|
@@ -2457,7 +2388,7 @@ export namespace string_ {
|
|
2457
2388
|
}
|
2458
2389
|
export async function length(
|
2459
2390
|
client: SuiClient,
|
2460
|
-
args: [string
|
2391
|
+
args: [string],
|
2461
2392
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
2462
2393
|
const tx = new Transaction();
|
2463
2394
|
builder.length(tx, args);
|
@@ -2472,11 +2403,7 @@ export namespace string_ {
|
|
2472
2403
|
}
|
2473
2404
|
export async function subString(
|
2474
2405
|
client: SuiClient,
|
2475
|
-
args: [
|
2476
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2477
|
-
bigint | TransactionArgument,
|
2478
|
-
bigint | TransactionArgument,
|
2479
|
-
],
|
2406
|
+
args: [string, bigint, bigint],
|
2480
2407
|
): Promise<TypedDevInspectResults<[string]>> {
|
2481
2408
|
const tx = new Transaction();
|
2482
2409
|
builder.subString(tx, args);
|
@@ -2491,11 +2418,7 @@ export namespace string_ {
|
|
2491
2418
|
}
|
2492
2419
|
export async function substring(
|
2493
2420
|
client: SuiClient,
|
2494
|
-
args: [
|
2495
|
-
string | TransactionObjectArgument | TransactionArgument,
|
2496
|
-
bigint | TransactionArgument,
|
2497
|
-
bigint | TransactionArgument,
|
2498
|
-
],
|
2421
|
+
args: [string, bigint, bigint],
|
2499
2422
|
): Promise<TypedDevInspectResults<[string]>> {
|
2500
2423
|
const tx = new Transaction();
|
2501
2424
|
builder.substring(tx, args);
|
@@ -2510,7 +2433,7 @@ export namespace string_ {
|
|
2510
2433
|
}
|
2511
2434
|
export async function toAscii(
|
2512
2435
|
client: SuiClient,
|
2513
|
-
args: [string
|
2436
|
+
args: [string],
|
2514
2437
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
2515
2438
|
const tx = new Transaction();
|
2516
2439
|
builder.toAscii(tx, args);
|
@@ -2525,7 +2448,7 @@ export namespace string_ {
|
|
2525
2448
|
}
|
2526
2449
|
export async function tryUtf8(
|
2527
2450
|
client: SuiClient,
|
2528
|
-
args: [
|
2451
|
+
args: [string[]],
|
2529
2452
|
): Promise<TypedDevInspectResults<[option.Option<string>]>> {
|
2530
2453
|
const tx = new Transaction();
|
2531
2454
|
builder.tryUtf8(tx, args);
|
@@ -2540,7 +2463,7 @@ export namespace string_ {
|
|
2540
2463
|
}
|
2541
2464
|
export async function utf8(
|
2542
2465
|
client: SuiClient,
|
2543
|
-
args: [
|
2466
|
+
args: [string[]],
|
2544
2467
|
): Promise<TypedDevInspectResults<[string]>> {
|
2545
2468
|
const tx = new Transaction();
|
2546
2469
|
builder.utf8(tx, args);
|
@@ -2704,7 +2627,7 @@ export namespace type_name {
|
|
2704
2627
|
export namespace view {
|
2705
2628
|
export async function borrowString(
|
2706
2629
|
client: SuiClient,
|
2707
|
-
args: [string
|
2630
|
+
args: [string],
|
2708
2631
|
): Promise<TypedDevInspectResults<[string]>> {
|
2709
2632
|
const tx = new Transaction();
|
2710
2633
|
builder.borrowString(tx, args);
|
@@ -2735,7 +2658,7 @@ export namespace type_name {
|
|
2735
2658
|
}
|
2736
2659
|
export async function getAddress(
|
2737
2660
|
client: SuiClient,
|
2738
|
-
args: [string
|
2661
|
+
args: [string],
|
2739
2662
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
2740
2663
|
const tx = new Transaction();
|
2741
2664
|
builder.getAddress(tx, args);
|
@@ -2750,7 +2673,7 @@ export namespace type_name {
|
|
2750
2673
|
}
|
2751
2674
|
export async function getModule(
|
2752
2675
|
client: SuiClient,
|
2753
|
-
args: [string
|
2676
|
+
args: [string],
|
2754
2677
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
2755
2678
|
const tx = new Transaction();
|
2756
2679
|
builder.getModule(tx, args);
|
@@ -2781,7 +2704,7 @@ export namespace type_name {
|
|
2781
2704
|
}
|
2782
2705
|
export async function intoString(
|
2783
2706
|
client: SuiClient,
|
2784
|
-
args: [type_name.TypeName
|
2707
|
+
args: [type_name.TypeName],
|
2785
2708
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
2786
2709
|
const tx = new Transaction();
|
2787
2710
|
builder.intoString(tx, args);
|
@@ -2796,7 +2719,7 @@ export namespace type_name {
|
|
2796
2719
|
}
|
2797
2720
|
export async function isPrimitive(
|
2798
2721
|
client: SuiClient,
|
2799
|
-
args: [string
|
2722
|
+
args: [string],
|
2800
2723
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
2801
2724
|
const tx = new Transaction();
|
2802
2725
|
builder.isPrimitive(tx, args);
|
@@ -2979,7 +2902,7 @@ export namespace u128 {
|
|
2979
2902
|
export namespace view {
|
2980
2903
|
export async function bitwiseNot(
|
2981
2904
|
client: SuiClient,
|
2982
|
-
args: [bigint
|
2905
|
+
args: [bigint],
|
2983
2906
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
2984
2907
|
const tx = new Transaction();
|
2985
2908
|
builder.bitwiseNot(tx, args);
|
@@ -2994,7 +2917,7 @@ export namespace u128 {
|
|
2994
2917
|
}
|
2995
2918
|
export async function diff(
|
2996
2919
|
client: SuiClient,
|
2997
|
-
args: [bigint
|
2920
|
+
args: [bigint, bigint],
|
2998
2921
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
2999
2922
|
const tx = new Transaction();
|
3000
2923
|
builder.diff(tx, args);
|
@@ -3009,7 +2932,7 @@ export namespace u128 {
|
|
3009
2932
|
}
|
3010
2933
|
export async function divideAndRoundUp(
|
3011
2934
|
client: SuiClient,
|
3012
|
-
args: [bigint
|
2935
|
+
args: [bigint, bigint],
|
3013
2936
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3014
2937
|
const tx = new Transaction();
|
3015
2938
|
builder.divideAndRoundUp(tx, args);
|
@@ -3024,7 +2947,7 @@ export namespace u128 {
|
|
3024
2947
|
}
|
3025
2948
|
export async function max(
|
3026
2949
|
client: SuiClient,
|
3027
|
-
args: [bigint
|
2950
|
+
args: [bigint, bigint],
|
3028
2951
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3029
2952
|
const tx = new Transaction();
|
3030
2953
|
builder.max(tx, args);
|
@@ -3039,7 +2962,7 @@ export namespace u128 {
|
|
3039
2962
|
}
|
3040
2963
|
export async function min(
|
3041
2964
|
client: SuiClient,
|
3042
|
-
args: [bigint
|
2965
|
+
args: [bigint, bigint],
|
3043
2966
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3044
2967
|
const tx = new Transaction();
|
3045
2968
|
builder.min(tx, args);
|
@@ -3054,7 +2977,7 @@ export namespace u128 {
|
|
3054
2977
|
}
|
3055
2978
|
export async function pow(
|
3056
2979
|
client: SuiClient,
|
3057
|
-
args: [bigint
|
2980
|
+
args: [bigint, number],
|
3058
2981
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3059
2982
|
const tx = new Transaction();
|
3060
2983
|
builder.pow(tx, args);
|
@@ -3069,7 +2992,7 @@ export namespace u128 {
|
|
3069
2992
|
}
|
3070
2993
|
export async function sqrt(
|
3071
2994
|
client: SuiClient,
|
3072
|
-
args: [bigint
|
2995
|
+
args: [bigint],
|
3073
2996
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3074
2997
|
const tx = new Transaction();
|
3075
2998
|
builder.sqrt(tx, args);
|
@@ -3084,7 +3007,7 @@ export namespace u128 {
|
|
3084
3007
|
}
|
3085
3008
|
export async function toString(
|
3086
3009
|
client: SuiClient,
|
3087
|
-
args: [bigint
|
3010
|
+
args: [bigint],
|
3088
3011
|
): Promise<TypedDevInspectResults<[string]>> {
|
3089
3012
|
const tx = new Transaction();
|
3090
3013
|
builder.toString(tx, args);
|
@@ -3099,7 +3022,7 @@ export namespace u128 {
|
|
3099
3022
|
}
|
3100
3023
|
export async function tryAsU16(
|
3101
3024
|
client: SuiClient,
|
3102
|
-
args: [bigint
|
3025
|
+
args: [bigint],
|
3103
3026
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
3104
3027
|
const tx = new Transaction();
|
3105
3028
|
builder.tryAsU16(tx, args);
|
@@ -3114,7 +3037,7 @@ export namespace u128 {
|
|
3114
3037
|
}
|
3115
3038
|
export async function tryAsU32(
|
3116
3039
|
client: SuiClient,
|
3117
|
-
args: [bigint
|
3040
|
+
args: [bigint],
|
3118
3041
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
3119
3042
|
const tx = new Transaction();
|
3120
3043
|
builder.tryAsU32(tx, args);
|
@@ -3129,7 +3052,7 @@ export namespace u128 {
|
|
3129
3052
|
}
|
3130
3053
|
export async function tryAsU64(
|
3131
3054
|
client: SuiClient,
|
3132
|
-
args: [bigint
|
3055
|
+
args: [bigint],
|
3133
3056
|
): Promise<TypedDevInspectResults<[option.Option<bigint>]>> {
|
3134
3057
|
const tx = new Transaction();
|
3135
3058
|
builder.tryAsU64(tx, args);
|
@@ -3144,7 +3067,7 @@ export namespace u128 {
|
|
3144
3067
|
}
|
3145
3068
|
export async function tryAsU8(
|
3146
3069
|
client: SuiClient,
|
3147
|
-
args: [bigint
|
3070
|
+
args: [bigint],
|
3148
3071
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
3149
3072
|
const tx = new Transaction();
|
3150
3073
|
builder.tryAsU8(tx, args);
|
@@ -3288,7 +3211,7 @@ export namespace u16 {
|
|
3288
3211
|
export namespace view {
|
3289
3212
|
export async function bitwiseNot(
|
3290
3213
|
client: SuiClient,
|
3291
|
-
args: [number
|
3214
|
+
args: [number],
|
3292
3215
|
): Promise<TypedDevInspectResults<[number]>> {
|
3293
3216
|
const tx = new Transaction();
|
3294
3217
|
builder.bitwiseNot(tx, args);
|
@@ -3303,7 +3226,7 @@ export namespace u16 {
|
|
3303
3226
|
}
|
3304
3227
|
export async function diff(
|
3305
3228
|
client: SuiClient,
|
3306
|
-
args: [number
|
3229
|
+
args: [number, number],
|
3307
3230
|
): Promise<TypedDevInspectResults<[number]>> {
|
3308
3231
|
const tx = new Transaction();
|
3309
3232
|
builder.diff(tx, args);
|
@@ -3318,7 +3241,7 @@ export namespace u16 {
|
|
3318
3241
|
}
|
3319
3242
|
export async function divideAndRoundUp(
|
3320
3243
|
client: SuiClient,
|
3321
|
-
args: [number
|
3244
|
+
args: [number, number],
|
3322
3245
|
): Promise<TypedDevInspectResults<[number]>> {
|
3323
3246
|
const tx = new Transaction();
|
3324
3247
|
builder.divideAndRoundUp(tx, args);
|
@@ -3333,7 +3256,7 @@ export namespace u16 {
|
|
3333
3256
|
}
|
3334
3257
|
export async function max(
|
3335
3258
|
client: SuiClient,
|
3336
|
-
args: [number
|
3259
|
+
args: [number, number],
|
3337
3260
|
): Promise<TypedDevInspectResults<[number]>> {
|
3338
3261
|
const tx = new Transaction();
|
3339
3262
|
builder.max(tx, args);
|
@@ -3348,7 +3271,7 @@ export namespace u16 {
|
|
3348
3271
|
}
|
3349
3272
|
export async function min(
|
3350
3273
|
client: SuiClient,
|
3351
|
-
args: [number
|
3274
|
+
args: [number, number],
|
3352
3275
|
): Promise<TypedDevInspectResults<[number]>> {
|
3353
3276
|
const tx = new Transaction();
|
3354
3277
|
builder.min(tx, args);
|
@@ -3363,7 +3286,7 @@ export namespace u16 {
|
|
3363
3286
|
}
|
3364
3287
|
export async function pow(
|
3365
3288
|
client: SuiClient,
|
3366
|
-
args: [number
|
3289
|
+
args: [number, number],
|
3367
3290
|
): Promise<TypedDevInspectResults<[number]>> {
|
3368
3291
|
const tx = new Transaction();
|
3369
3292
|
builder.pow(tx, args);
|
@@ -3378,7 +3301,7 @@ export namespace u16 {
|
|
3378
3301
|
}
|
3379
3302
|
export async function sqrt(
|
3380
3303
|
client: SuiClient,
|
3381
|
-
args: [number
|
3304
|
+
args: [number],
|
3382
3305
|
): Promise<TypedDevInspectResults<[number]>> {
|
3383
3306
|
const tx = new Transaction();
|
3384
3307
|
builder.sqrt(tx, args);
|
@@ -3393,7 +3316,7 @@ export namespace u16 {
|
|
3393
3316
|
}
|
3394
3317
|
export async function toString(
|
3395
3318
|
client: SuiClient,
|
3396
|
-
args: [number
|
3319
|
+
args: [number],
|
3397
3320
|
): Promise<TypedDevInspectResults<[string]>> {
|
3398
3321
|
const tx = new Transaction();
|
3399
3322
|
builder.toString(tx, args);
|
@@ -3408,7 +3331,7 @@ export namespace u16 {
|
|
3408
3331
|
}
|
3409
3332
|
export async function tryAsU8(
|
3410
3333
|
client: SuiClient,
|
3411
|
-
args: [number
|
3334
|
+
args: [number],
|
3412
3335
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
3413
3336
|
const tx = new Transaction();
|
3414
3337
|
builder.tryAsU8(tx, args);
|
@@ -3591,7 +3514,7 @@ export namespace u256 {
|
|
3591
3514
|
export namespace view {
|
3592
3515
|
export async function bitwiseNot(
|
3593
3516
|
client: SuiClient,
|
3594
|
-
args: [bigint
|
3517
|
+
args: [bigint],
|
3595
3518
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3596
3519
|
const tx = new Transaction();
|
3597
3520
|
builder.bitwiseNot(tx, args);
|
@@ -3606,7 +3529,7 @@ export namespace u256 {
|
|
3606
3529
|
}
|
3607
3530
|
export async function diff(
|
3608
3531
|
client: SuiClient,
|
3609
|
-
args: [bigint
|
3532
|
+
args: [bigint, bigint],
|
3610
3533
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3611
3534
|
const tx = new Transaction();
|
3612
3535
|
builder.diff(tx, args);
|
@@ -3621,7 +3544,7 @@ export namespace u256 {
|
|
3621
3544
|
}
|
3622
3545
|
export async function divideAndRoundUp(
|
3623
3546
|
client: SuiClient,
|
3624
|
-
args: [bigint
|
3547
|
+
args: [bigint, bigint],
|
3625
3548
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3626
3549
|
const tx = new Transaction();
|
3627
3550
|
builder.divideAndRoundUp(tx, args);
|
@@ -3636,7 +3559,7 @@ export namespace u256 {
|
|
3636
3559
|
}
|
3637
3560
|
export async function max(
|
3638
3561
|
client: SuiClient,
|
3639
|
-
args: [bigint
|
3562
|
+
args: [bigint, bigint],
|
3640
3563
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3641
3564
|
const tx = new Transaction();
|
3642
3565
|
builder.max(tx, args);
|
@@ -3651,7 +3574,7 @@ export namespace u256 {
|
|
3651
3574
|
}
|
3652
3575
|
export async function min(
|
3653
3576
|
client: SuiClient,
|
3654
|
-
args: [bigint
|
3577
|
+
args: [bigint, bigint],
|
3655
3578
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3656
3579
|
const tx = new Transaction();
|
3657
3580
|
builder.min(tx, args);
|
@@ -3666,7 +3589,7 @@ export namespace u256 {
|
|
3666
3589
|
}
|
3667
3590
|
export async function pow(
|
3668
3591
|
client: SuiClient,
|
3669
|
-
args: [bigint
|
3592
|
+
args: [bigint, number],
|
3670
3593
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
3671
3594
|
const tx = new Transaction();
|
3672
3595
|
builder.pow(tx, args);
|
@@ -3681,7 +3604,7 @@ export namespace u256 {
|
|
3681
3604
|
}
|
3682
3605
|
export async function toString(
|
3683
3606
|
client: SuiClient,
|
3684
|
-
args: [bigint
|
3607
|
+
args: [bigint],
|
3685
3608
|
): Promise<TypedDevInspectResults<[string]>> {
|
3686
3609
|
const tx = new Transaction();
|
3687
3610
|
builder.toString(tx, args);
|
@@ -3696,7 +3619,7 @@ export namespace u256 {
|
|
3696
3619
|
}
|
3697
3620
|
export async function tryAsU128(
|
3698
3621
|
client: SuiClient,
|
3699
|
-
args: [bigint
|
3622
|
+
args: [bigint],
|
3700
3623
|
): Promise<TypedDevInspectResults<[option.Option<bigint>]>> {
|
3701
3624
|
const tx = new Transaction();
|
3702
3625
|
builder.tryAsU128(tx, args);
|
@@ -3711,7 +3634,7 @@ export namespace u256 {
|
|
3711
3634
|
}
|
3712
3635
|
export async function tryAsU16(
|
3713
3636
|
client: SuiClient,
|
3714
|
-
args: [bigint
|
3637
|
+
args: [bigint],
|
3715
3638
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
3716
3639
|
const tx = new Transaction();
|
3717
3640
|
builder.tryAsU16(tx, args);
|
@@ -3726,7 +3649,7 @@ export namespace u256 {
|
|
3726
3649
|
}
|
3727
3650
|
export async function tryAsU32(
|
3728
3651
|
client: SuiClient,
|
3729
|
-
args: [bigint
|
3652
|
+
args: [bigint],
|
3730
3653
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
3731
3654
|
const tx = new Transaction();
|
3732
3655
|
builder.tryAsU32(tx, args);
|
@@ -3741,7 +3664,7 @@ export namespace u256 {
|
|
3741
3664
|
}
|
3742
3665
|
export async function tryAsU64(
|
3743
3666
|
client: SuiClient,
|
3744
|
-
args: [bigint
|
3667
|
+
args: [bigint],
|
3745
3668
|
): Promise<TypedDevInspectResults<[option.Option<bigint>]>> {
|
3746
3669
|
const tx = new Transaction();
|
3747
3670
|
builder.tryAsU64(tx, args);
|
@@ -3756,7 +3679,7 @@ export namespace u256 {
|
|
3756
3679
|
}
|
3757
3680
|
export async function tryAsU8(
|
3758
3681
|
client: SuiClient,
|
3759
|
-
args: [bigint
|
3682
|
+
args: [bigint],
|
3760
3683
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
3761
3684
|
const tx = new Transaction();
|
3762
3685
|
builder.tryAsU8(tx, args);
|
@@ -3913,7 +3836,7 @@ export namespace u32 {
|
|
3913
3836
|
export namespace view {
|
3914
3837
|
export async function bitwiseNot(
|
3915
3838
|
client: SuiClient,
|
3916
|
-
args: [number
|
3839
|
+
args: [number],
|
3917
3840
|
): Promise<TypedDevInspectResults<[number]>> {
|
3918
3841
|
const tx = new Transaction();
|
3919
3842
|
builder.bitwiseNot(tx, args);
|
@@ -3928,7 +3851,7 @@ export namespace u32 {
|
|
3928
3851
|
}
|
3929
3852
|
export async function diff(
|
3930
3853
|
client: SuiClient,
|
3931
|
-
args: [number
|
3854
|
+
args: [number, number],
|
3932
3855
|
): Promise<TypedDevInspectResults<[number]>> {
|
3933
3856
|
const tx = new Transaction();
|
3934
3857
|
builder.diff(tx, args);
|
@@ -3943,7 +3866,7 @@ export namespace u32 {
|
|
3943
3866
|
}
|
3944
3867
|
export async function divideAndRoundUp(
|
3945
3868
|
client: SuiClient,
|
3946
|
-
args: [number
|
3869
|
+
args: [number, number],
|
3947
3870
|
): Promise<TypedDevInspectResults<[number]>> {
|
3948
3871
|
const tx = new Transaction();
|
3949
3872
|
builder.divideAndRoundUp(tx, args);
|
@@ -3958,7 +3881,7 @@ export namespace u32 {
|
|
3958
3881
|
}
|
3959
3882
|
export async function max(
|
3960
3883
|
client: SuiClient,
|
3961
|
-
args: [number
|
3884
|
+
args: [number, number],
|
3962
3885
|
): Promise<TypedDevInspectResults<[number]>> {
|
3963
3886
|
const tx = new Transaction();
|
3964
3887
|
builder.max(tx, args);
|
@@ -3973,7 +3896,7 @@ export namespace u32 {
|
|
3973
3896
|
}
|
3974
3897
|
export async function min(
|
3975
3898
|
client: SuiClient,
|
3976
|
-
args: [number
|
3899
|
+
args: [number, number],
|
3977
3900
|
): Promise<TypedDevInspectResults<[number]>> {
|
3978
3901
|
const tx = new Transaction();
|
3979
3902
|
builder.min(tx, args);
|
@@ -3988,7 +3911,7 @@ export namespace u32 {
|
|
3988
3911
|
}
|
3989
3912
|
export async function pow(
|
3990
3913
|
client: SuiClient,
|
3991
|
-
args: [number
|
3914
|
+
args: [number, number],
|
3992
3915
|
): Promise<TypedDevInspectResults<[number]>> {
|
3993
3916
|
const tx = new Transaction();
|
3994
3917
|
builder.pow(tx, args);
|
@@ -4003,7 +3926,7 @@ export namespace u32 {
|
|
4003
3926
|
}
|
4004
3927
|
export async function sqrt(
|
4005
3928
|
client: SuiClient,
|
4006
|
-
args: [number
|
3929
|
+
args: [number],
|
4007
3930
|
): Promise<TypedDevInspectResults<[number]>> {
|
4008
3931
|
const tx = new Transaction();
|
4009
3932
|
builder.sqrt(tx, args);
|
@@ -4018,7 +3941,7 @@ export namespace u32 {
|
|
4018
3941
|
}
|
4019
3942
|
export async function toString(
|
4020
3943
|
client: SuiClient,
|
4021
|
-
args: [number
|
3944
|
+
args: [number],
|
4022
3945
|
): Promise<TypedDevInspectResults<[string]>> {
|
4023
3946
|
const tx = new Transaction();
|
4024
3947
|
builder.toString(tx, args);
|
@@ -4033,7 +3956,7 @@ export namespace u32 {
|
|
4033
3956
|
}
|
4034
3957
|
export async function tryAsU16(
|
4035
3958
|
client: SuiClient,
|
4036
|
-
args: [number
|
3959
|
+
args: [number],
|
4037
3960
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
4038
3961
|
const tx = new Transaction();
|
4039
3962
|
builder.tryAsU16(tx, args);
|
@@ -4048,7 +3971,7 @@ export namespace u32 {
|
|
4048
3971
|
}
|
4049
3972
|
export async function tryAsU8(
|
4050
3973
|
client: SuiClient,
|
4051
|
-
args: [number
|
3974
|
+
args: [number],
|
4052
3975
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
4053
3976
|
const tx = new Transaction();
|
4054
3977
|
builder.tryAsU8(tx, args);
|
@@ -4218,7 +4141,7 @@ export namespace u64 {
|
|
4218
4141
|
export namespace view {
|
4219
4142
|
export async function bitwiseNot(
|
4220
4143
|
client: SuiClient,
|
4221
|
-
args: [bigint
|
4144
|
+
args: [bigint],
|
4222
4145
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
4223
4146
|
const tx = new Transaction();
|
4224
4147
|
builder.bitwiseNot(tx, args);
|
@@ -4233,7 +4156,7 @@ export namespace u64 {
|
|
4233
4156
|
}
|
4234
4157
|
export async function diff(
|
4235
4158
|
client: SuiClient,
|
4236
|
-
args: [bigint
|
4159
|
+
args: [bigint, bigint],
|
4237
4160
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
4238
4161
|
const tx = new Transaction();
|
4239
4162
|
builder.diff(tx, args);
|
@@ -4248,7 +4171,7 @@ export namespace u64 {
|
|
4248
4171
|
}
|
4249
4172
|
export async function divideAndRoundUp(
|
4250
4173
|
client: SuiClient,
|
4251
|
-
args: [bigint
|
4174
|
+
args: [bigint, bigint],
|
4252
4175
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
4253
4176
|
const tx = new Transaction();
|
4254
4177
|
builder.divideAndRoundUp(tx, args);
|
@@ -4263,7 +4186,7 @@ export namespace u64 {
|
|
4263
4186
|
}
|
4264
4187
|
export async function max(
|
4265
4188
|
client: SuiClient,
|
4266
|
-
args: [bigint
|
4189
|
+
args: [bigint, bigint],
|
4267
4190
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
4268
4191
|
const tx = new Transaction();
|
4269
4192
|
builder.max(tx, args);
|
@@ -4278,7 +4201,7 @@ export namespace u64 {
|
|
4278
4201
|
}
|
4279
4202
|
export async function min(
|
4280
4203
|
client: SuiClient,
|
4281
|
-
args: [bigint
|
4204
|
+
args: [bigint, bigint],
|
4282
4205
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
4283
4206
|
const tx = new Transaction();
|
4284
4207
|
builder.min(tx, args);
|
@@ -4293,7 +4216,7 @@ export namespace u64 {
|
|
4293
4216
|
}
|
4294
4217
|
export async function pow(
|
4295
4218
|
client: SuiClient,
|
4296
|
-
args: [bigint
|
4219
|
+
args: [bigint, number],
|
4297
4220
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
4298
4221
|
const tx = new Transaction();
|
4299
4222
|
builder.pow(tx, args);
|
@@ -4308,7 +4231,7 @@ export namespace u64 {
|
|
4308
4231
|
}
|
4309
4232
|
export async function sqrt(
|
4310
4233
|
client: SuiClient,
|
4311
|
-
args: [bigint
|
4234
|
+
args: [bigint],
|
4312
4235
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
4313
4236
|
const tx = new Transaction();
|
4314
4237
|
builder.sqrt(tx, args);
|
@@ -4323,7 +4246,7 @@ export namespace u64 {
|
|
4323
4246
|
}
|
4324
4247
|
export async function toString(
|
4325
4248
|
client: SuiClient,
|
4326
|
-
args: [bigint
|
4249
|
+
args: [bigint],
|
4327
4250
|
): Promise<TypedDevInspectResults<[string]>> {
|
4328
4251
|
const tx = new Transaction();
|
4329
4252
|
builder.toString(tx, args);
|
@@ -4338,7 +4261,7 @@ export namespace u64 {
|
|
4338
4261
|
}
|
4339
4262
|
export async function tryAsU16(
|
4340
4263
|
client: SuiClient,
|
4341
|
-
args: [bigint
|
4264
|
+
args: [bigint],
|
4342
4265
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
4343
4266
|
const tx = new Transaction();
|
4344
4267
|
builder.tryAsU16(tx, args);
|
@@ -4353,7 +4276,7 @@ export namespace u64 {
|
|
4353
4276
|
}
|
4354
4277
|
export async function tryAsU32(
|
4355
4278
|
client: SuiClient,
|
4356
|
-
args: [bigint
|
4279
|
+
args: [bigint],
|
4357
4280
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
4358
4281
|
const tx = new Transaction();
|
4359
4282
|
builder.tryAsU32(tx, args);
|
@@ -4368,7 +4291,7 @@ export namespace u64 {
|
|
4368
4291
|
}
|
4369
4292
|
export async function tryAsU8(
|
4370
4293
|
client: SuiClient,
|
4371
|
-
args: [bigint
|
4294
|
+
args: [bigint],
|
4372
4295
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
4373
4296
|
const tx = new Transaction();
|
4374
4297
|
builder.tryAsU8(tx, args);
|
@@ -4499,7 +4422,7 @@ export namespace u8 {
|
|
4499
4422
|
export namespace view {
|
4500
4423
|
export async function bitwiseNot(
|
4501
4424
|
client: SuiClient,
|
4502
|
-
args: [number
|
4425
|
+
args: [number],
|
4503
4426
|
): Promise<TypedDevInspectResults<[number]>> {
|
4504
4427
|
const tx = new Transaction();
|
4505
4428
|
builder.bitwiseNot(tx, args);
|
@@ -4514,7 +4437,7 @@ export namespace u8 {
|
|
4514
4437
|
}
|
4515
4438
|
export async function diff(
|
4516
4439
|
client: SuiClient,
|
4517
|
-
args: [number
|
4440
|
+
args: [number, number],
|
4518
4441
|
): Promise<TypedDevInspectResults<[number]>> {
|
4519
4442
|
const tx = new Transaction();
|
4520
4443
|
builder.diff(tx, args);
|
@@ -4529,7 +4452,7 @@ export namespace u8 {
|
|
4529
4452
|
}
|
4530
4453
|
export async function divideAndRoundUp(
|
4531
4454
|
client: SuiClient,
|
4532
|
-
args: [number
|
4455
|
+
args: [number, number],
|
4533
4456
|
): Promise<TypedDevInspectResults<[number]>> {
|
4534
4457
|
const tx = new Transaction();
|
4535
4458
|
builder.divideAndRoundUp(tx, args);
|
@@ -4544,7 +4467,7 @@ export namespace u8 {
|
|
4544
4467
|
}
|
4545
4468
|
export async function max(
|
4546
4469
|
client: SuiClient,
|
4547
|
-
args: [number
|
4470
|
+
args: [number, number],
|
4548
4471
|
): Promise<TypedDevInspectResults<[number]>> {
|
4549
4472
|
const tx = new Transaction();
|
4550
4473
|
builder.max(tx, args);
|
@@ -4559,7 +4482,7 @@ export namespace u8 {
|
|
4559
4482
|
}
|
4560
4483
|
export async function min(
|
4561
4484
|
client: SuiClient,
|
4562
|
-
args: [number
|
4485
|
+
args: [number, number],
|
4563
4486
|
): Promise<TypedDevInspectResults<[number]>> {
|
4564
4487
|
const tx = new Transaction();
|
4565
4488
|
builder.min(tx, args);
|
@@ -4574,7 +4497,7 @@ export namespace u8 {
|
|
4574
4497
|
}
|
4575
4498
|
export async function pow(
|
4576
4499
|
client: SuiClient,
|
4577
|
-
args: [number
|
4500
|
+
args: [number, number],
|
4578
4501
|
): Promise<TypedDevInspectResults<[number]>> {
|
4579
4502
|
const tx = new Transaction();
|
4580
4503
|
builder.pow(tx, args);
|
@@ -4589,7 +4512,7 @@ export namespace u8 {
|
|
4589
4512
|
}
|
4590
4513
|
export async function sqrt(
|
4591
4514
|
client: SuiClient,
|
4592
|
-
args: [number
|
4515
|
+
args: [number],
|
4593
4516
|
): Promise<TypedDevInspectResults<[number]>> {
|
4594
4517
|
const tx = new Transaction();
|
4595
4518
|
builder.sqrt(tx, args);
|
@@ -4604,7 +4527,7 @@ export namespace u8 {
|
|
4604
4527
|
}
|
4605
4528
|
export async function toString(
|
4606
4529
|
client: SuiClient,
|
4607
|
-
args: [number
|
4530
|
+
args: [number],
|
4608
4531
|
): Promise<TypedDevInspectResults<[string]>> {
|
4609
4532
|
const tx = new Transaction();
|
4610
4533
|
builder.toString(tx, args);
|
@@ -4903,10 +4826,7 @@ export namespace uq32_32 {
|
|
4903
4826
|
export namespace view {
|
4904
4827
|
export async function add(
|
4905
4828
|
client: SuiClient,
|
4906
|
-
args: [
|
4907
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
4908
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
4909
|
-
],
|
4829
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
4910
4830
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
4911
4831
|
const tx = new Transaction();
|
4912
4832
|
builder.add(tx, args);
|
@@ -4921,10 +4841,7 @@ export namespace uq32_32 {
|
|
4921
4841
|
}
|
4922
4842
|
export async function div(
|
4923
4843
|
client: SuiClient,
|
4924
|
-
args: [
|
4925
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
4926
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
4927
|
-
],
|
4844
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
4928
4845
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
4929
4846
|
const tx = new Transaction();
|
4930
4847
|
builder.div(tx, args);
|
@@ -4939,7 +4856,7 @@ export namespace uq32_32 {
|
|
4939
4856
|
}
|
4940
4857
|
export async function fromInt(
|
4941
4858
|
client: SuiClient,
|
4942
|
-
args: [number
|
4859
|
+
args: [number],
|
4943
4860
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
4944
4861
|
const tx = new Transaction();
|
4945
4862
|
builder.fromInt(tx, args);
|
@@ -4954,7 +4871,7 @@ export namespace uq32_32 {
|
|
4954
4871
|
}
|
4955
4872
|
export async function fromQuotient(
|
4956
4873
|
client: SuiClient,
|
4957
|
-
args: [bigint
|
4874
|
+
args: [bigint, bigint],
|
4958
4875
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
4959
4876
|
const tx = new Transaction();
|
4960
4877
|
builder.fromQuotient(tx, args);
|
@@ -4969,7 +4886,7 @@ export namespace uq32_32 {
|
|
4969
4886
|
}
|
4970
4887
|
export async function fromRaw(
|
4971
4888
|
client: SuiClient,
|
4972
|
-
args: [bigint
|
4889
|
+
args: [bigint],
|
4973
4890
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
4974
4891
|
const tx = new Transaction();
|
4975
4892
|
builder.fromRaw(tx, args);
|
@@ -4984,10 +4901,7 @@ export namespace uq32_32 {
|
|
4984
4901
|
}
|
4985
4902
|
export async function ge(
|
4986
4903
|
client: SuiClient,
|
4987
|
-
args: [
|
4988
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
4989
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
4990
|
-
],
|
4904
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
4991
4905
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
4992
4906
|
const tx = new Transaction();
|
4993
4907
|
builder.ge(tx, args);
|
@@ -5002,10 +4916,7 @@ export namespace uq32_32 {
|
|
5002
4916
|
}
|
5003
4917
|
export async function gt(
|
5004
4918
|
client: SuiClient,
|
5005
|
-
args: [
|
5006
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5007
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5008
|
-
],
|
4919
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
5009
4920
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
5010
4921
|
const tx = new Transaction();
|
5011
4922
|
builder.gt(tx, args);
|
@@ -5020,10 +4931,7 @@ export namespace uq32_32 {
|
|
5020
4931
|
}
|
5021
4932
|
export async function intDiv(
|
5022
4933
|
client: SuiClient,
|
5023
|
-
args: [
|
5024
|
-
bigint | TransactionArgument,
|
5025
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5026
|
-
],
|
4934
|
+
args: [bigint, uq32_32.UQ32_32],
|
5027
4935
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5028
4936
|
const tx = new Transaction();
|
5029
4937
|
builder.intDiv(tx, args);
|
@@ -5038,10 +4946,7 @@ export namespace uq32_32 {
|
|
5038
4946
|
}
|
5039
4947
|
export async function intMul(
|
5040
4948
|
client: SuiClient,
|
5041
|
-
args: [
|
5042
|
-
bigint | TransactionArgument,
|
5043
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5044
|
-
],
|
4949
|
+
args: [bigint, uq32_32.UQ32_32],
|
5045
4950
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5046
4951
|
const tx = new Transaction();
|
5047
4952
|
builder.intMul(tx, args);
|
@@ -5056,10 +4961,7 @@ export namespace uq32_32 {
|
|
5056
4961
|
}
|
5057
4962
|
export async function le(
|
5058
4963
|
client: SuiClient,
|
5059
|
-
args: [
|
5060
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5061
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5062
|
-
],
|
4964
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
5063
4965
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
5064
4966
|
const tx = new Transaction();
|
5065
4967
|
builder.le(tx, args);
|
@@ -5074,10 +4976,7 @@ export namespace uq32_32 {
|
|
5074
4976
|
}
|
5075
4977
|
export async function lt(
|
5076
4978
|
client: SuiClient,
|
5077
|
-
args: [
|
5078
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5079
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5080
|
-
],
|
4979
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
5081
4980
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
5082
4981
|
const tx = new Transaction();
|
5083
4982
|
builder.lt(tx, args);
|
@@ -5092,10 +4991,7 @@ export namespace uq32_32 {
|
|
5092
4991
|
}
|
5093
4992
|
export async function mul(
|
5094
4993
|
client: SuiClient,
|
5095
|
-
args: [
|
5096
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5097
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5098
|
-
],
|
4994
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
5099
4995
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
5100
4996
|
const tx = new Transaction();
|
5101
4997
|
builder.mul(tx, args);
|
@@ -5110,10 +5006,7 @@ export namespace uq32_32 {
|
|
5110
5006
|
}
|
5111
5007
|
export async function sub(
|
5112
5008
|
client: SuiClient,
|
5113
|
-
args: [
|
5114
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5115
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
5116
|
-
],
|
5009
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
5117
5010
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
5118
5011
|
const tx = new Transaction();
|
5119
5012
|
builder.sub(tx, args);
|
@@ -5128,7 +5021,7 @@ export namespace uq32_32 {
|
|
5128
5021
|
}
|
5129
5022
|
export async function toInt(
|
5130
5023
|
client: SuiClient,
|
5131
|
-
args: [uq32_32.UQ32_32
|
5024
|
+
args: [uq32_32.UQ32_32],
|
5132
5025
|
): Promise<TypedDevInspectResults<[number]>> {
|
5133
5026
|
const tx = new Transaction();
|
5134
5027
|
builder.toInt(tx, args);
|
@@ -5143,7 +5036,7 @@ export namespace uq32_32 {
|
|
5143
5036
|
}
|
5144
5037
|
export async function toRaw(
|
5145
5038
|
client: SuiClient,
|
5146
|
-
args: [uq32_32.UQ32_32
|
5039
|
+
args: [uq32_32.UQ32_32],
|
5147
5040
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5148
5041
|
const tx = new Transaction();
|
5149
5042
|
builder.toRaw(tx, args);
|
@@ -5552,10 +5445,7 @@ export namespace vector {
|
|
5552
5445
|
export namespace view {
|
5553
5446
|
export async function append<T0 = any>(
|
5554
5447
|
client: SuiClient,
|
5555
|
-
args: [
|
5556
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5557
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5558
|
-
],
|
5448
|
+
args: [string, string[]],
|
5559
5449
|
typeArguments: [TypeDescriptor<T0> | string],
|
5560
5450
|
): Promise<TypedDevInspectResults<[]>> {
|
5561
5451
|
const tx = new Transaction();
|
@@ -5571,10 +5461,7 @@ export namespace vector {
|
|
5571
5461
|
}
|
5572
5462
|
export async function borrow<T0 = any>(
|
5573
5463
|
client: SuiClient,
|
5574
|
-
args: [
|
5575
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5576
|
-
bigint | TransactionArgument,
|
5577
|
-
],
|
5464
|
+
args: [string, bigint],
|
5578
5465
|
typeArguments: [TypeDescriptor<T0> | string],
|
5579
5466
|
): Promise<TypedDevInspectResults<[string]>> {
|
5580
5467
|
const tx = new Transaction();
|
@@ -5590,10 +5477,7 @@ export namespace vector {
|
|
5590
5477
|
}
|
5591
5478
|
export async function borrowMut<T0 = any>(
|
5592
5479
|
client: SuiClient,
|
5593
|
-
args: [
|
5594
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5595
|
-
bigint | TransactionArgument,
|
5596
|
-
],
|
5480
|
+
args: [string, bigint],
|
5597
5481
|
typeArguments: [TypeDescriptor<T0> | string],
|
5598
5482
|
): Promise<TypedDevInspectResults<[string]>> {
|
5599
5483
|
const tx = new Transaction();
|
@@ -5609,10 +5493,7 @@ export namespace vector {
|
|
5609
5493
|
}
|
5610
5494
|
export async function contains<T0 = any>(
|
5611
5495
|
client: SuiClient,
|
5612
|
-
args: [
|
5613
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5614
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5615
|
-
],
|
5496
|
+
args: [string, string],
|
5616
5497
|
typeArguments: [TypeDescriptor<T0> | string],
|
5617
5498
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
5618
5499
|
const tx = new Transaction();
|
@@ -5628,7 +5509,7 @@ export namespace vector {
|
|
5628
5509
|
}
|
5629
5510
|
export async function destroyEmpty<T0 = any>(
|
5630
5511
|
client: SuiClient,
|
5631
|
-
args: [
|
5512
|
+
args: [string[]],
|
5632
5513
|
typeArguments: [TypeDescriptor<T0> | string],
|
5633
5514
|
): Promise<TypedDevInspectResults<[]>> {
|
5634
5515
|
const tx = new Transaction();
|
@@ -5660,7 +5541,7 @@ export namespace vector {
|
|
5660
5541
|
}
|
5661
5542
|
export async function flatten<T0 = any>(
|
5662
5543
|
client: SuiClient,
|
5663
|
-
args: [
|
5544
|
+
args: [string[]],
|
5664
5545
|
typeArguments: [TypeDescriptor<T0> | string],
|
5665
5546
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
5666
5547
|
const tx = new Transaction();
|
@@ -5676,10 +5557,7 @@ export namespace vector {
|
|
5676
5557
|
}
|
5677
5558
|
export async function indexOf<T0 = any>(
|
5678
5559
|
client: SuiClient,
|
5679
|
-
args: [
|
5680
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5681
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5682
|
-
],
|
5560
|
+
args: [string, string],
|
5683
5561
|
typeArguments: [TypeDescriptor<T0> | string],
|
5684
5562
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
5685
5563
|
const tx = new Transaction();
|
@@ -5695,11 +5573,7 @@ export namespace vector {
|
|
5695
5573
|
}
|
5696
5574
|
export async function insert<T0 = any>(
|
5697
5575
|
client: SuiClient,
|
5698
|
-
args: [
|
5699
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5700
|
-
T0 | TransactionArgument,
|
5701
|
-
bigint | TransactionArgument,
|
5702
|
-
],
|
5576
|
+
args: [string, T0, bigint],
|
5703
5577
|
typeArguments: [TypeDescriptor<T0> | string],
|
5704
5578
|
): Promise<TypedDevInspectResults<[]>> {
|
5705
5579
|
const tx = new Transaction();
|
@@ -5715,7 +5589,7 @@ export namespace vector {
|
|
5715
5589
|
}
|
5716
5590
|
export async function isEmpty<T0 = any>(
|
5717
5591
|
client: SuiClient,
|
5718
|
-
args: [string
|
5592
|
+
args: [string],
|
5719
5593
|
typeArguments: [TypeDescriptor<T0> | string],
|
5720
5594
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
5721
5595
|
const tx = new Transaction();
|
@@ -5731,7 +5605,7 @@ export namespace vector {
|
|
5731
5605
|
}
|
5732
5606
|
export async function length<T0 = any>(
|
5733
5607
|
client: SuiClient,
|
5734
|
-
args: [string
|
5608
|
+
args: [string],
|
5735
5609
|
typeArguments: [TypeDescriptor<T0> | string],
|
5736
5610
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5737
5611
|
const tx = new Transaction();
|
@@ -5747,7 +5621,7 @@ export namespace vector {
|
|
5747
5621
|
}
|
5748
5622
|
export async function popBack<T0 = any>(
|
5749
5623
|
client: SuiClient,
|
5750
|
-
args: [string
|
5624
|
+
args: [string],
|
5751
5625
|
typeArguments: [TypeDescriptor<T0> | string],
|
5752
5626
|
): Promise<TypedDevInspectResults<[T0]>> {
|
5753
5627
|
const tx = new Transaction();
|
@@ -5763,10 +5637,7 @@ export namespace vector {
|
|
5763
5637
|
}
|
5764
5638
|
export async function pushBack<T0 = any>(
|
5765
5639
|
client: SuiClient,
|
5766
|
-
args: [
|
5767
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5768
|
-
T0 | TransactionArgument,
|
5769
|
-
],
|
5640
|
+
args: [string, T0],
|
5770
5641
|
typeArguments: [TypeDescriptor<T0> | string],
|
5771
5642
|
): Promise<TypedDevInspectResults<[]>> {
|
5772
5643
|
const tx = new Transaction();
|
@@ -5782,10 +5653,7 @@ export namespace vector {
|
|
5782
5653
|
}
|
5783
5654
|
export async function remove<T0 = any>(
|
5784
5655
|
client: SuiClient,
|
5785
|
-
args: [
|
5786
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5787
|
-
bigint | TransactionArgument,
|
5788
|
-
],
|
5656
|
+
args: [string, bigint],
|
5789
5657
|
typeArguments: [TypeDescriptor<T0> | string],
|
5790
5658
|
): Promise<TypedDevInspectResults<[T0]>> {
|
5791
5659
|
const tx = new Transaction();
|
@@ -5801,7 +5669,7 @@ export namespace vector {
|
|
5801
5669
|
}
|
5802
5670
|
export async function reverse<T0 = any>(
|
5803
5671
|
client: SuiClient,
|
5804
|
-
args: [string
|
5672
|
+
args: [string],
|
5805
5673
|
typeArguments: [TypeDescriptor<T0> | string],
|
5806
5674
|
): Promise<TypedDevInspectResults<[]>> {
|
5807
5675
|
const tx = new Transaction();
|
@@ -5817,7 +5685,7 @@ export namespace vector {
|
|
5817
5685
|
}
|
5818
5686
|
export async function singleton<T0 = any>(
|
5819
5687
|
client: SuiClient,
|
5820
|
-
args: [T0
|
5688
|
+
args: [T0],
|
5821
5689
|
typeArguments: [TypeDescriptor<T0> | string],
|
5822
5690
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
5823
5691
|
const tx = new Transaction();
|
@@ -5833,11 +5701,7 @@ export namespace vector {
|
|
5833
5701
|
}
|
5834
5702
|
export async function swap<T0 = any>(
|
5835
5703
|
client: SuiClient,
|
5836
|
-
args: [
|
5837
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5838
|
-
bigint | TransactionArgument,
|
5839
|
-
bigint | TransactionArgument,
|
5840
|
-
],
|
5704
|
+
args: [string, bigint, bigint],
|
5841
5705
|
typeArguments: [TypeDescriptor<T0> | string],
|
5842
5706
|
): Promise<TypedDevInspectResults<[]>> {
|
5843
5707
|
const tx = new Transaction();
|
@@ -5853,10 +5717,7 @@ export namespace vector {
|
|
5853
5717
|
}
|
5854
5718
|
export async function swapRemove<T0 = any>(
|
5855
5719
|
client: SuiClient,
|
5856
|
-
args: [
|
5857
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5858
|
-
bigint | TransactionArgument,
|
5859
|
-
],
|
5720
|
+
args: [string, bigint],
|
5860
5721
|
typeArguments: [TypeDescriptor<T0> | string],
|
5861
5722
|
): Promise<TypedDevInspectResults<[T0]>> {
|
5862
5723
|
const tx = new Transaction();
|