@typemove/sui 1.6.10 → 1.6.11
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/dist/cjs/builtin/0x1.d.ts +166 -305
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +559 -1475
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +334 -806
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +12 -6
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +166 -305
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +559 -1475
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +334 -806
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +12 -6
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +166 -305
- package/src/builtin/0x2.ts +552 -1468
- package/src/builtin/0x3.ts +331 -803
- package/src/codegen/codegen.ts +12 -6
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +4 -13
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +46 -188
- package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +29 -78
- package/src/tests/types/testnet/0xdee9.ts +110 -346
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +245 -642
package/src/builtin/0x1.ts
CHANGED
|
@@ -370,7 +370,7 @@ export namespace ascii {
|
|
|
370
370
|
export namespace view {
|
|
371
371
|
export async function allCharactersPrintable(
|
|
372
372
|
client: SuiClient,
|
|
373
|
-
args: [string
|
|
373
|
+
args: [string],
|
|
374
374
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
375
375
|
const tx = new Transaction();
|
|
376
376
|
builder.allCharactersPrintable(tx, args);
|
|
@@ -385,10 +385,7 @@ export namespace ascii {
|
|
|
385
385
|
}
|
|
386
386
|
export async function append(
|
|
387
387
|
client: SuiClient,
|
|
388
|
-
args: [
|
|
389
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
390
|
-
ascii.String | TransactionArgument,
|
|
391
|
-
],
|
|
388
|
+
args: [string, ascii.String],
|
|
392
389
|
): Promise<TypedDevInspectResults<[]>> {
|
|
393
390
|
const tx = new Transaction();
|
|
394
391
|
builder.append(tx, args);
|
|
@@ -403,7 +400,7 @@ export namespace ascii {
|
|
|
403
400
|
}
|
|
404
401
|
export async function asBytes(
|
|
405
402
|
client: SuiClient,
|
|
406
|
-
args: [string
|
|
403
|
+
args: [string],
|
|
407
404
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
408
405
|
const tx = new Transaction();
|
|
409
406
|
builder.asBytes(tx, args);
|
|
@@ -418,7 +415,7 @@ export namespace ascii {
|
|
|
418
415
|
}
|
|
419
416
|
export async function byte(
|
|
420
417
|
client: SuiClient,
|
|
421
|
-
args: [ascii.Char
|
|
418
|
+
args: [ascii.Char],
|
|
422
419
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
423
420
|
const tx = new Transaction();
|
|
424
421
|
builder.byte(tx, args);
|
|
@@ -433,7 +430,7 @@ export namespace ascii {
|
|
|
433
430
|
}
|
|
434
431
|
export async function char(
|
|
435
432
|
client: SuiClient,
|
|
436
|
-
args: [number
|
|
433
|
+
args: [number],
|
|
437
434
|
): Promise<TypedDevInspectResults<[ascii.Char]>> {
|
|
438
435
|
const tx = new Transaction();
|
|
439
436
|
builder.char(tx, args);
|
|
@@ -448,10 +445,7 @@ export namespace ascii {
|
|
|
448
445
|
}
|
|
449
446
|
export async function indexOf(
|
|
450
447
|
client: SuiClient,
|
|
451
|
-
args: [
|
|
452
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
453
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
454
|
-
],
|
|
448
|
+
args: [string, string],
|
|
455
449
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
456
450
|
const tx = new Transaction();
|
|
457
451
|
builder.indexOf(tx, args);
|
|
@@ -466,11 +460,7 @@ export namespace ascii {
|
|
|
466
460
|
}
|
|
467
461
|
export async function insert(
|
|
468
462
|
client: SuiClient,
|
|
469
|
-
args: [
|
|
470
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
471
|
-
bigint | TransactionArgument,
|
|
472
|
-
ascii.String | TransactionArgument,
|
|
473
|
-
],
|
|
463
|
+
args: [string, bigint, ascii.String],
|
|
474
464
|
): Promise<TypedDevInspectResults<[]>> {
|
|
475
465
|
const tx = new Transaction();
|
|
476
466
|
builder.insert(tx, args);
|
|
@@ -485,7 +475,7 @@ export namespace ascii {
|
|
|
485
475
|
}
|
|
486
476
|
export async function intoBytes(
|
|
487
477
|
client: SuiClient,
|
|
488
|
-
args: [ascii.String
|
|
478
|
+
args: [ascii.String],
|
|
489
479
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
490
480
|
const tx = new Transaction();
|
|
491
481
|
builder.intoBytes(tx, args);
|
|
@@ -500,7 +490,7 @@ export namespace ascii {
|
|
|
500
490
|
}
|
|
501
491
|
export async function isEmpty(
|
|
502
492
|
client: SuiClient,
|
|
503
|
-
args: [string
|
|
493
|
+
args: [string],
|
|
504
494
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
505
495
|
const tx = new Transaction();
|
|
506
496
|
builder.isEmpty(tx, args);
|
|
@@ -515,7 +505,7 @@ export namespace ascii {
|
|
|
515
505
|
}
|
|
516
506
|
export async function isPrintableChar(
|
|
517
507
|
client: SuiClient,
|
|
518
|
-
args: [number
|
|
508
|
+
args: [number],
|
|
519
509
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
520
510
|
const tx = new Transaction();
|
|
521
511
|
builder.isPrintableChar(tx, args);
|
|
@@ -530,7 +520,7 @@ export namespace ascii {
|
|
|
530
520
|
}
|
|
531
521
|
export async function isValidChar(
|
|
532
522
|
client: SuiClient,
|
|
533
|
-
args: [number
|
|
523
|
+
args: [number],
|
|
534
524
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
535
525
|
const tx = new Transaction();
|
|
536
526
|
builder.isValidChar(tx, args);
|
|
@@ -545,7 +535,7 @@ export namespace ascii {
|
|
|
545
535
|
}
|
|
546
536
|
export async function length(
|
|
547
537
|
client: SuiClient,
|
|
548
|
-
args: [string
|
|
538
|
+
args: [string],
|
|
549
539
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
550
540
|
const tx = new Transaction();
|
|
551
541
|
builder.length(tx, args);
|
|
@@ -560,7 +550,7 @@ export namespace ascii {
|
|
|
560
550
|
}
|
|
561
551
|
export async function popChar(
|
|
562
552
|
client: SuiClient,
|
|
563
|
-
args: [string
|
|
553
|
+
args: [string],
|
|
564
554
|
): Promise<TypedDevInspectResults<[ascii.Char]>> {
|
|
565
555
|
const tx = new Transaction();
|
|
566
556
|
builder.popChar(tx, args);
|
|
@@ -575,10 +565,7 @@ export namespace ascii {
|
|
|
575
565
|
}
|
|
576
566
|
export async function pushChar(
|
|
577
567
|
client: SuiClient,
|
|
578
|
-
args: [
|
|
579
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
580
|
-
ascii.Char | TransactionArgument,
|
|
581
|
-
],
|
|
568
|
+
args: [string, ascii.Char],
|
|
582
569
|
): Promise<TypedDevInspectResults<[]>> {
|
|
583
570
|
const tx = new Transaction();
|
|
584
571
|
builder.pushChar(tx, args);
|
|
@@ -593,7 +580,7 @@ export namespace ascii {
|
|
|
593
580
|
}
|
|
594
581
|
export async function string_(
|
|
595
582
|
client: SuiClient,
|
|
596
|
-
args: [
|
|
583
|
+
args: [string[]],
|
|
597
584
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
598
585
|
const tx = new Transaction();
|
|
599
586
|
builder.string_(tx, args);
|
|
@@ -608,11 +595,7 @@ export namespace ascii {
|
|
|
608
595
|
}
|
|
609
596
|
export async function substring(
|
|
610
597
|
client: SuiClient,
|
|
611
|
-
args: [
|
|
612
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
613
|
-
bigint | TransactionArgument,
|
|
614
|
-
bigint | TransactionArgument,
|
|
615
|
-
],
|
|
598
|
+
args: [string, bigint, bigint],
|
|
616
599
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
617
600
|
const tx = new Transaction();
|
|
618
601
|
builder.substring(tx, args);
|
|
@@ -627,7 +610,7 @@ export namespace ascii {
|
|
|
627
610
|
}
|
|
628
611
|
export async function toLowercase(
|
|
629
612
|
client: SuiClient,
|
|
630
|
-
args: [string
|
|
613
|
+
args: [string],
|
|
631
614
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
632
615
|
const tx = new Transaction();
|
|
633
616
|
builder.toLowercase(tx, args);
|
|
@@ -642,7 +625,7 @@ export namespace ascii {
|
|
|
642
625
|
}
|
|
643
626
|
export async function toUppercase(
|
|
644
627
|
client: SuiClient,
|
|
645
|
-
args: [string
|
|
628
|
+
args: [string],
|
|
646
629
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
647
630
|
const tx = new Transaction();
|
|
648
631
|
builder.toUppercase(tx, args);
|
|
@@ -657,7 +640,7 @@ export namespace ascii {
|
|
|
657
640
|
}
|
|
658
641
|
export async function tryString(
|
|
659
642
|
client: SuiClient,
|
|
660
|
-
args: [
|
|
643
|
+
args: [string[]],
|
|
661
644
|
): Promise<TypedDevInspectResults<[option.Option<ascii.String>]>> {
|
|
662
645
|
const tx = new Transaction();
|
|
663
646
|
builder.tryString(tx, args);
|
|
@@ -698,7 +681,7 @@ export namespace bcs {
|
|
|
698
681
|
export namespace view {
|
|
699
682
|
export async function toBytes<T0 = any>(
|
|
700
683
|
client: SuiClient,
|
|
701
|
-
args: [string
|
|
684
|
+
args: [string],
|
|
702
685
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
703
686
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
704
687
|
const tx = new Transaction();
|
|
@@ -852,10 +835,7 @@ export namespace bit_vector {
|
|
|
852
835
|
export namespace view {
|
|
853
836
|
export async function isIndexSet(
|
|
854
837
|
client: SuiClient,
|
|
855
|
-
args: [
|
|
856
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
857
|
-
bigint | TransactionArgument,
|
|
858
|
-
],
|
|
838
|
+
args: [string, bigint],
|
|
859
839
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
860
840
|
const tx = new Transaction();
|
|
861
841
|
builder.isIndexSet(tx, args);
|
|
@@ -870,7 +850,7 @@ export namespace bit_vector {
|
|
|
870
850
|
}
|
|
871
851
|
export async function length(
|
|
872
852
|
client: SuiClient,
|
|
873
|
-
args: [string
|
|
853
|
+
args: [string],
|
|
874
854
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
875
855
|
const tx = new Transaction();
|
|
876
856
|
builder.length(tx, args);
|
|
@@ -885,10 +865,7 @@ export namespace bit_vector {
|
|
|
885
865
|
}
|
|
886
866
|
export async function longestSetSequenceStartingAt(
|
|
887
867
|
client: SuiClient,
|
|
888
|
-
args: [
|
|
889
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
890
|
-
bigint | TransactionArgument,
|
|
891
|
-
],
|
|
868
|
+
args: [string, bigint],
|
|
892
869
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
893
870
|
const tx = new Transaction();
|
|
894
871
|
builder.longestSetSequenceStartingAt(tx, args);
|
|
@@ -903,7 +880,7 @@ export namespace bit_vector {
|
|
|
903
880
|
}
|
|
904
881
|
export async function new_(
|
|
905
882
|
client: SuiClient,
|
|
906
|
-
args: [bigint
|
|
883
|
+
args: [bigint],
|
|
907
884
|
): Promise<TypedDevInspectResults<[bit_vector.BitVector]>> {
|
|
908
885
|
const tx = new Transaction();
|
|
909
886
|
builder.new_(tx, args);
|
|
@@ -918,10 +895,7 @@ export namespace bit_vector {
|
|
|
918
895
|
}
|
|
919
896
|
export async function set(
|
|
920
897
|
client: SuiClient,
|
|
921
|
-
args: [
|
|
922
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
923
|
-
bigint | TransactionArgument,
|
|
924
|
-
],
|
|
898
|
+
args: [string, bigint],
|
|
925
899
|
): Promise<TypedDevInspectResults<[]>> {
|
|
926
900
|
const tx = new Transaction();
|
|
927
901
|
builder.set(tx, args);
|
|
@@ -936,10 +910,7 @@ export namespace bit_vector {
|
|
|
936
910
|
}
|
|
937
911
|
export async function shiftLeft(
|
|
938
912
|
client: SuiClient,
|
|
939
|
-
args: [
|
|
940
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
941
|
-
bigint | TransactionArgument,
|
|
942
|
-
],
|
|
913
|
+
args: [string, bigint],
|
|
943
914
|
): Promise<TypedDevInspectResults<[]>> {
|
|
944
915
|
const tx = new Transaction();
|
|
945
916
|
builder.shiftLeft(tx, args);
|
|
@@ -954,10 +925,7 @@ export namespace bit_vector {
|
|
|
954
925
|
}
|
|
955
926
|
export async function unset(
|
|
956
927
|
client: SuiClient,
|
|
957
|
-
args: [
|
|
958
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
959
|
-
bigint | TransactionArgument,
|
|
960
|
-
],
|
|
928
|
+
args: [string, bigint],
|
|
961
929
|
): Promise<TypedDevInspectResults<[]>> {
|
|
962
930
|
const tx = new Transaction();
|
|
963
931
|
builder.unset(tx, args);
|
|
@@ -1010,7 +978,7 @@ export namespace debug {
|
|
|
1010
978
|
export namespace view {
|
|
1011
979
|
export async function print<T0 = any>(
|
|
1012
980
|
client: SuiClient,
|
|
1013
|
-
args: [string
|
|
981
|
+
args: [string],
|
|
1014
982
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1015
983
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1016
984
|
const tx = new Transaction();
|
|
@@ -1155,7 +1123,7 @@ export namespace fixed_point32 {
|
|
|
1155
1123
|
export namespace view {
|
|
1156
1124
|
export async function createFromRational(
|
|
1157
1125
|
client: SuiClient,
|
|
1158
|
-
args: [bigint
|
|
1126
|
+
args: [bigint, bigint],
|
|
1159
1127
|
): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>> {
|
|
1160
1128
|
const tx = new Transaction();
|
|
1161
1129
|
builder.createFromRational(tx, args);
|
|
@@ -1170,7 +1138,7 @@ export namespace fixed_point32 {
|
|
|
1170
1138
|
}
|
|
1171
1139
|
export async function createFromRawValue(
|
|
1172
1140
|
client: SuiClient,
|
|
1173
|
-
args: [bigint
|
|
1141
|
+
args: [bigint],
|
|
1174
1142
|
): Promise<TypedDevInspectResults<[fixed_point32.FixedPoint32]>> {
|
|
1175
1143
|
const tx = new Transaction();
|
|
1176
1144
|
builder.createFromRawValue(tx, args);
|
|
@@ -1185,10 +1153,7 @@ export namespace fixed_point32 {
|
|
|
1185
1153
|
}
|
|
1186
1154
|
export async function divideU64(
|
|
1187
1155
|
client: SuiClient,
|
|
1188
|
-
args: [
|
|
1189
|
-
bigint | TransactionArgument,
|
|
1190
|
-
fixed_point32.FixedPoint32 | TransactionArgument,
|
|
1191
|
-
],
|
|
1156
|
+
args: [bigint, fixed_point32.FixedPoint32],
|
|
1192
1157
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1193
1158
|
const tx = new Transaction();
|
|
1194
1159
|
builder.divideU64(tx, args);
|
|
@@ -1203,7 +1168,7 @@ export namespace fixed_point32 {
|
|
|
1203
1168
|
}
|
|
1204
1169
|
export async function getRawValue(
|
|
1205
1170
|
client: SuiClient,
|
|
1206
|
-
args: [fixed_point32.FixedPoint32
|
|
1171
|
+
args: [fixed_point32.FixedPoint32],
|
|
1207
1172
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1208
1173
|
const tx = new Transaction();
|
|
1209
1174
|
builder.getRawValue(tx, args);
|
|
@@ -1218,7 +1183,7 @@ export namespace fixed_point32 {
|
|
|
1218
1183
|
}
|
|
1219
1184
|
export async function isZero(
|
|
1220
1185
|
client: SuiClient,
|
|
1221
|
-
args: [fixed_point32.FixedPoint32
|
|
1186
|
+
args: [fixed_point32.FixedPoint32],
|
|
1222
1187
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1223
1188
|
const tx = new Transaction();
|
|
1224
1189
|
builder.isZero(tx, args);
|
|
@@ -1233,10 +1198,7 @@ export namespace fixed_point32 {
|
|
|
1233
1198
|
}
|
|
1234
1199
|
export async function multiplyU64(
|
|
1235
1200
|
client: SuiClient,
|
|
1236
|
-
args: [
|
|
1237
|
-
bigint | TransactionArgument,
|
|
1238
|
-
fixed_point32.FixedPoint32 | TransactionArgument,
|
|
1239
|
-
],
|
|
1201
|
+
args: [bigint, fixed_point32.FixedPoint32],
|
|
1240
1202
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1241
1203
|
const tx = new Transaction();
|
|
1242
1204
|
builder.multiplyU64(tx, args);
|
|
@@ -1284,7 +1246,7 @@ export namespace hash {
|
|
|
1284
1246
|
export namespace view {
|
|
1285
1247
|
export async function sha2256(
|
|
1286
1248
|
client: SuiClient,
|
|
1287
|
-
args: [
|
|
1249
|
+
args: [string[]],
|
|
1288
1250
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
1289
1251
|
const tx = new Transaction();
|
|
1290
1252
|
builder.sha2256(tx, args);
|
|
@@ -1299,7 +1261,7 @@ export namespace hash {
|
|
|
1299
1261
|
}
|
|
1300
1262
|
export async function sha3256(
|
|
1301
1263
|
client: SuiClient,
|
|
1302
|
-
args: [
|
|
1264
|
+
args: [string[]],
|
|
1303
1265
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
1304
1266
|
const tx = new Transaction();
|
|
1305
1267
|
builder.sha3256(tx, args);
|
|
@@ -1686,7 +1648,7 @@ export namespace option {
|
|
|
1686
1648
|
export namespace view {
|
|
1687
1649
|
export async function borrow<T0 = any>(
|
|
1688
1650
|
client: SuiClient,
|
|
1689
|
-
args: [string
|
|
1651
|
+
args: [string],
|
|
1690
1652
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1691
1653
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1692
1654
|
const tx = new Transaction();
|
|
@@ -1702,7 +1664,7 @@ export namespace option {
|
|
|
1702
1664
|
}
|
|
1703
1665
|
export async function borrowMut<T0 = any>(
|
|
1704
1666
|
client: SuiClient,
|
|
1705
|
-
args: [string
|
|
1667
|
+
args: [string],
|
|
1706
1668
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1707
1669
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1708
1670
|
const tx = new Transaction();
|
|
@@ -1718,10 +1680,7 @@ export namespace option {
|
|
|
1718
1680
|
}
|
|
1719
1681
|
export async function borrowWithDefault<T0 = any>(
|
|
1720
1682
|
client: SuiClient,
|
|
1721
|
-
args: [
|
|
1722
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1723
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1724
|
-
],
|
|
1683
|
+
args: [string, string],
|
|
1725
1684
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1726
1685
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1727
1686
|
const tx = new Transaction();
|
|
@@ -1737,10 +1696,7 @@ export namespace option {
|
|
|
1737
1696
|
}
|
|
1738
1697
|
export async function contains<T0 = any>(
|
|
1739
1698
|
client: SuiClient,
|
|
1740
|
-
args: [
|
|
1741
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1742
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1743
|
-
],
|
|
1699
|
+
args: [string, string],
|
|
1744
1700
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1745
1701
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1746
1702
|
const tx = new Transaction();
|
|
@@ -1756,7 +1712,7 @@ export namespace option {
|
|
|
1756
1712
|
}
|
|
1757
1713
|
export async function destroyNone<T0 = any>(
|
|
1758
1714
|
client: SuiClient,
|
|
1759
|
-
args: [option.Option<T0>
|
|
1715
|
+
args: [option.Option<T0>],
|
|
1760
1716
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1761
1717
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1762
1718
|
const tx = new Transaction();
|
|
@@ -1772,7 +1728,7 @@ export namespace option {
|
|
|
1772
1728
|
}
|
|
1773
1729
|
export async function destroySome<T0 = any>(
|
|
1774
1730
|
client: SuiClient,
|
|
1775
|
-
args: [option.Option<T0>
|
|
1731
|
+
args: [option.Option<T0>],
|
|
1776
1732
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1777
1733
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1778
1734
|
const tx = new Transaction();
|
|
@@ -1788,7 +1744,7 @@ export namespace option {
|
|
|
1788
1744
|
}
|
|
1789
1745
|
export async function destroyWithDefault<T0 = any>(
|
|
1790
1746
|
client: SuiClient,
|
|
1791
|
-
args: [option.Option<T0
|
|
1747
|
+
args: [option.Option<T0>, T0],
|
|
1792
1748
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1793
1749
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1794
1750
|
const tx = new Transaction();
|
|
@@ -1804,7 +1760,7 @@ export namespace option {
|
|
|
1804
1760
|
}
|
|
1805
1761
|
export async function extract<T0 = any>(
|
|
1806
1762
|
client: SuiClient,
|
|
1807
|
-
args: [string
|
|
1763
|
+
args: [string],
|
|
1808
1764
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1809
1765
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1810
1766
|
const tx = new Transaction();
|
|
@@ -1820,10 +1776,7 @@ export namespace option {
|
|
|
1820
1776
|
}
|
|
1821
1777
|
export async function fill<T0 = any>(
|
|
1822
1778
|
client: SuiClient,
|
|
1823
|
-
args: [
|
|
1824
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1825
|
-
T0 | TransactionArgument,
|
|
1826
|
-
],
|
|
1779
|
+
args: [string, T0],
|
|
1827
1780
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1828
1781
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1829
1782
|
const tx = new Transaction();
|
|
@@ -1839,10 +1792,7 @@ export namespace option {
|
|
|
1839
1792
|
}
|
|
1840
1793
|
export async function getWithDefault<T0 = any>(
|
|
1841
1794
|
client: SuiClient,
|
|
1842
|
-
args: [
|
|
1843
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1844
|
-
T0 | TransactionArgument,
|
|
1845
|
-
],
|
|
1795
|
+
args: [string, T0],
|
|
1846
1796
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1847
1797
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1848
1798
|
const tx = new Transaction();
|
|
@@ -1858,7 +1808,7 @@ export namespace option {
|
|
|
1858
1808
|
}
|
|
1859
1809
|
export async function isNone<T0 = any>(
|
|
1860
1810
|
client: SuiClient,
|
|
1861
|
-
args: [string
|
|
1811
|
+
args: [string],
|
|
1862
1812
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1863
1813
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1864
1814
|
const tx = new Transaction();
|
|
@@ -1874,7 +1824,7 @@ export namespace option {
|
|
|
1874
1824
|
}
|
|
1875
1825
|
export async function isSome<T0 = any>(
|
|
1876
1826
|
client: SuiClient,
|
|
1877
|
-
args: [string
|
|
1827
|
+
args: [string],
|
|
1878
1828
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1879
1829
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1880
1830
|
const tx = new Transaction();
|
|
@@ -1906,7 +1856,7 @@ export namespace option {
|
|
|
1906
1856
|
}
|
|
1907
1857
|
export async function some<T0 = any>(
|
|
1908
1858
|
client: SuiClient,
|
|
1909
|
-
args: [T0
|
|
1859
|
+
args: [T0],
|
|
1910
1860
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1911
1861
|
): Promise<TypedDevInspectResults<[option.Option<T0>]>> {
|
|
1912
1862
|
const tx = new Transaction();
|
|
@@ -1922,10 +1872,7 @@ export namespace option {
|
|
|
1922
1872
|
}
|
|
1923
1873
|
export async function swap<T0 = any>(
|
|
1924
1874
|
client: SuiClient,
|
|
1925
|
-
args: [
|
|
1926
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1927
|
-
T0 | TransactionArgument,
|
|
1928
|
-
],
|
|
1875
|
+
args: [string, T0],
|
|
1929
1876
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1930
1877
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
1931
1878
|
const tx = new Transaction();
|
|
@@ -1941,10 +1888,7 @@ export namespace option {
|
|
|
1941
1888
|
}
|
|
1942
1889
|
export async function swapOrFill<T0 = any>(
|
|
1943
1890
|
client: SuiClient,
|
|
1944
|
-
args: [
|
|
1945
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1946
|
-
T0 | TransactionArgument,
|
|
1947
|
-
],
|
|
1891
|
+
args: [string, T0],
|
|
1948
1892
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1949
1893
|
): Promise<TypedDevInspectResults<[option.Option<T0>]>> {
|
|
1950
1894
|
const tx = new Transaction();
|
|
@@ -1960,7 +1904,7 @@ export namespace option {
|
|
|
1960
1904
|
}
|
|
1961
1905
|
export async function toVec<T0 = any>(
|
|
1962
1906
|
client: SuiClient,
|
|
1963
|
-
args: [option.Option<T0>
|
|
1907
|
+
args: [option.Option<T0>],
|
|
1964
1908
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
1965
1909
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
|
1966
1910
|
const tx = new Transaction();
|
|
@@ -2230,10 +2174,7 @@ export namespace string_ {
|
|
|
2230
2174
|
export namespace view {
|
|
2231
2175
|
export async function append(
|
|
2232
2176
|
client: SuiClient,
|
|
2233
|
-
args: [
|
|
2234
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2235
|
-
string | TransactionArgument,
|
|
2236
|
-
],
|
|
2177
|
+
args: [string, string],
|
|
2237
2178
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2238
2179
|
const tx = new Transaction();
|
|
2239
2180
|
builder.append(tx, args);
|
|
@@ -2248,10 +2189,7 @@ export namespace string_ {
|
|
|
2248
2189
|
}
|
|
2249
2190
|
export async function appendUtf8(
|
|
2250
2191
|
client: SuiClient,
|
|
2251
|
-
args: [
|
|
2252
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2253
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2254
|
-
],
|
|
2192
|
+
args: [string, string[]],
|
|
2255
2193
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2256
2194
|
const tx = new Transaction();
|
|
2257
2195
|
builder.appendUtf8(tx, args);
|
|
@@ -2266,7 +2204,7 @@ export namespace string_ {
|
|
|
2266
2204
|
}
|
|
2267
2205
|
export async function asBytes(
|
|
2268
2206
|
client: SuiClient,
|
|
2269
|
-
args: [string
|
|
2207
|
+
args: [string],
|
|
2270
2208
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2271
2209
|
const tx = new Transaction();
|
|
2272
2210
|
builder.asBytes(tx, args);
|
|
@@ -2281,7 +2219,7 @@ export namespace string_ {
|
|
|
2281
2219
|
}
|
|
2282
2220
|
export async function bytes(
|
|
2283
2221
|
client: SuiClient,
|
|
2284
|
-
args: [string
|
|
2222
|
+
args: [string],
|
|
2285
2223
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2286
2224
|
const tx = new Transaction();
|
|
2287
2225
|
builder.bytes(tx, args);
|
|
@@ -2296,7 +2234,7 @@ export namespace string_ {
|
|
|
2296
2234
|
}
|
|
2297
2235
|
export async function fromAscii(
|
|
2298
2236
|
client: SuiClient,
|
|
2299
|
-
args: [ascii.String
|
|
2237
|
+
args: [ascii.String],
|
|
2300
2238
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2301
2239
|
const tx = new Transaction();
|
|
2302
2240
|
builder.fromAscii(tx, args);
|
|
@@ -2311,10 +2249,7 @@ export namespace string_ {
|
|
|
2311
2249
|
}
|
|
2312
2250
|
export async function indexOf(
|
|
2313
2251
|
client: SuiClient,
|
|
2314
|
-
args: [
|
|
2315
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2316
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2317
|
-
],
|
|
2252
|
+
args: [string, string],
|
|
2318
2253
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2319
2254
|
const tx = new Transaction();
|
|
2320
2255
|
builder.indexOf(tx, args);
|
|
@@ -2329,11 +2264,7 @@ export namespace string_ {
|
|
|
2329
2264
|
}
|
|
2330
2265
|
export async function insert(
|
|
2331
2266
|
client: SuiClient,
|
|
2332
|
-
args: [
|
|
2333
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2334
|
-
bigint | TransactionArgument,
|
|
2335
|
-
string | TransactionArgument,
|
|
2336
|
-
],
|
|
2267
|
+
args: [string, bigint, string],
|
|
2337
2268
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2338
2269
|
const tx = new Transaction();
|
|
2339
2270
|
builder.insert(tx, args);
|
|
@@ -2348,7 +2279,7 @@ export namespace string_ {
|
|
|
2348
2279
|
}
|
|
2349
2280
|
export async function intoBytes(
|
|
2350
2281
|
client: SuiClient,
|
|
2351
|
-
args: [string
|
|
2282
|
+
args: [string],
|
|
2352
2283
|
): Promise<TypedDevInspectResults<[number[]]>> {
|
|
2353
2284
|
const tx = new Transaction();
|
|
2354
2285
|
builder.intoBytes(tx, args);
|
|
@@ -2363,7 +2294,7 @@ export namespace string_ {
|
|
|
2363
2294
|
}
|
|
2364
2295
|
export async function isEmpty(
|
|
2365
2296
|
client: SuiClient,
|
|
2366
|
-
args: [string
|
|
2297
|
+
args: [string],
|
|
2367
2298
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
2368
2299
|
const tx = new Transaction();
|
|
2369
2300
|
builder.isEmpty(tx, args);
|
|
@@ -2378,7 +2309,7 @@ export namespace string_ {
|
|
|
2378
2309
|
}
|
|
2379
2310
|
export async function length(
|
|
2380
2311
|
client: SuiClient,
|
|
2381
|
-
args: [string
|
|
2312
|
+
args: [string],
|
|
2382
2313
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2383
2314
|
const tx = new Transaction();
|
|
2384
2315
|
builder.length(tx, args);
|
|
@@ -2393,11 +2324,7 @@ export namespace string_ {
|
|
|
2393
2324
|
}
|
|
2394
2325
|
export async function subString(
|
|
2395
2326
|
client: SuiClient,
|
|
2396
|
-
args: [
|
|
2397
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2398
|
-
bigint | TransactionArgument,
|
|
2399
|
-
bigint | TransactionArgument,
|
|
2400
|
-
],
|
|
2327
|
+
args: [string, bigint, bigint],
|
|
2401
2328
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2402
2329
|
const tx = new Transaction();
|
|
2403
2330
|
builder.subString(tx, args);
|
|
@@ -2412,11 +2339,7 @@ export namespace string_ {
|
|
|
2412
2339
|
}
|
|
2413
2340
|
export async function substring(
|
|
2414
2341
|
client: SuiClient,
|
|
2415
|
-
args: [
|
|
2416
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2417
|
-
bigint | TransactionArgument,
|
|
2418
|
-
bigint | TransactionArgument,
|
|
2419
|
-
],
|
|
2342
|
+
args: [string, bigint, bigint],
|
|
2420
2343
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2421
2344
|
const tx = new Transaction();
|
|
2422
2345
|
builder.substring(tx, args);
|
|
@@ -2431,7 +2354,7 @@ export namespace string_ {
|
|
|
2431
2354
|
}
|
|
2432
2355
|
export async function toAscii(
|
|
2433
2356
|
client: SuiClient,
|
|
2434
|
-
args: [string
|
|
2357
|
+
args: [string],
|
|
2435
2358
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2436
2359
|
const tx = new Transaction();
|
|
2437
2360
|
builder.toAscii(tx, args);
|
|
@@ -2446,7 +2369,7 @@ export namespace string_ {
|
|
|
2446
2369
|
}
|
|
2447
2370
|
export async function tryUtf8(
|
|
2448
2371
|
client: SuiClient,
|
|
2449
|
-
args: [
|
|
2372
|
+
args: [string[]],
|
|
2450
2373
|
): Promise<TypedDevInspectResults<[option.Option<string>]>> {
|
|
2451
2374
|
const tx = new Transaction();
|
|
2452
2375
|
builder.tryUtf8(tx, args);
|
|
@@ -2461,7 +2384,7 @@ export namespace string_ {
|
|
|
2461
2384
|
}
|
|
2462
2385
|
export async function utf8(
|
|
2463
2386
|
client: SuiClient,
|
|
2464
|
-
args: [
|
|
2387
|
+
args: [string[]],
|
|
2465
2388
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2466
2389
|
const tx = new Transaction();
|
|
2467
2390
|
builder.utf8(tx, args);
|
|
@@ -2603,7 +2526,7 @@ export namespace type_name {
|
|
|
2603
2526
|
export namespace view {
|
|
2604
2527
|
export async function borrowString(
|
|
2605
2528
|
client: SuiClient,
|
|
2606
|
-
args: [string
|
|
2529
|
+
args: [string],
|
|
2607
2530
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2608
2531
|
const tx = new Transaction();
|
|
2609
2532
|
builder.borrowString(tx, args);
|
|
@@ -2634,7 +2557,7 @@ export namespace type_name {
|
|
|
2634
2557
|
}
|
|
2635
2558
|
export async function getAddress(
|
|
2636
2559
|
client: SuiClient,
|
|
2637
|
-
args: [string
|
|
2560
|
+
args: [string],
|
|
2638
2561
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2639
2562
|
const tx = new Transaction();
|
|
2640
2563
|
builder.getAddress(tx, args);
|
|
@@ -2649,7 +2572,7 @@ export namespace type_name {
|
|
|
2649
2572
|
}
|
|
2650
2573
|
export async function getModule(
|
|
2651
2574
|
client: SuiClient,
|
|
2652
|
-
args: [string
|
|
2575
|
+
args: [string],
|
|
2653
2576
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2654
2577
|
const tx = new Transaction();
|
|
2655
2578
|
builder.getModule(tx, args);
|
|
@@ -2680,7 +2603,7 @@ export namespace type_name {
|
|
|
2680
2603
|
}
|
|
2681
2604
|
export async function intoString(
|
|
2682
2605
|
client: SuiClient,
|
|
2683
|
-
args: [type_name.TypeName
|
|
2606
|
+
args: [type_name.TypeName],
|
|
2684
2607
|
): Promise<TypedDevInspectResults<[ascii.String]>> {
|
|
2685
2608
|
const tx = new Transaction();
|
|
2686
2609
|
builder.intoString(tx, args);
|
|
@@ -2695,7 +2618,7 @@ export namespace type_name {
|
|
|
2695
2618
|
}
|
|
2696
2619
|
export async function isPrimitive(
|
|
2697
2620
|
client: SuiClient,
|
|
2698
|
-
args: [string
|
|
2621
|
+
args: [string],
|
|
2699
2622
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
2700
2623
|
const tx = new Transaction();
|
|
2701
2624
|
builder.isPrimitive(tx, args);
|
|
@@ -2878,7 +2801,7 @@ export namespace u128 {
|
|
|
2878
2801
|
export namespace view {
|
|
2879
2802
|
export async function bitwiseNot(
|
|
2880
2803
|
client: SuiClient,
|
|
2881
|
-
args: [bigint
|
|
2804
|
+
args: [bigint],
|
|
2882
2805
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2883
2806
|
const tx = new Transaction();
|
|
2884
2807
|
builder.bitwiseNot(tx, args);
|
|
@@ -2893,7 +2816,7 @@ export namespace u128 {
|
|
|
2893
2816
|
}
|
|
2894
2817
|
export async function diff(
|
|
2895
2818
|
client: SuiClient,
|
|
2896
|
-
args: [bigint
|
|
2819
|
+
args: [bigint, bigint],
|
|
2897
2820
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2898
2821
|
const tx = new Transaction();
|
|
2899
2822
|
builder.diff(tx, args);
|
|
@@ -2908,7 +2831,7 @@ export namespace u128 {
|
|
|
2908
2831
|
}
|
|
2909
2832
|
export async function divideAndRoundUp(
|
|
2910
2833
|
client: SuiClient,
|
|
2911
|
-
args: [bigint
|
|
2834
|
+
args: [bigint, bigint],
|
|
2912
2835
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2913
2836
|
const tx = new Transaction();
|
|
2914
2837
|
builder.divideAndRoundUp(tx, args);
|
|
@@ -2923,7 +2846,7 @@ export namespace u128 {
|
|
|
2923
2846
|
}
|
|
2924
2847
|
export async function max(
|
|
2925
2848
|
client: SuiClient,
|
|
2926
|
-
args: [bigint
|
|
2849
|
+
args: [bigint, bigint],
|
|
2927
2850
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2928
2851
|
const tx = new Transaction();
|
|
2929
2852
|
builder.max(tx, args);
|
|
@@ -2938,7 +2861,7 @@ export namespace u128 {
|
|
|
2938
2861
|
}
|
|
2939
2862
|
export async function min(
|
|
2940
2863
|
client: SuiClient,
|
|
2941
|
-
args: [bigint
|
|
2864
|
+
args: [bigint, bigint],
|
|
2942
2865
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2943
2866
|
const tx = new Transaction();
|
|
2944
2867
|
builder.min(tx, args);
|
|
@@ -2953,7 +2876,7 @@ export namespace u128 {
|
|
|
2953
2876
|
}
|
|
2954
2877
|
export async function pow(
|
|
2955
2878
|
client: SuiClient,
|
|
2956
|
-
args: [bigint
|
|
2879
|
+
args: [bigint, number],
|
|
2957
2880
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2958
2881
|
const tx = new Transaction();
|
|
2959
2882
|
builder.pow(tx, args);
|
|
@@ -2968,7 +2891,7 @@ export namespace u128 {
|
|
|
2968
2891
|
}
|
|
2969
2892
|
export async function sqrt(
|
|
2970
2893
|
client: SuiClient,
|
|
2971
|
-
args: [bigint
|
|
2894
|
+
args: [bigint],
|
|
2972
2895
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2973
2896
|
const tx = new Transaction();
|
|
2974
2897
|
builder.sqrt(tx, args);
|
|
@@ -2983,7 +2906,7 @@ export namespace u128 {
|
|
|
2983
2906
|
}
|
|
2984
2907
|
export async function toString(
|
|
2985
2908
|
client: SuiClient,
|
|
2986
|
-
args: [bigint
|
|
2909
|
+
args: [bigint],
|
|
2987
2910
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2988
2911
|
const tx = new Transaction();
|
|
2989
2912
|
builder.toString(tx, args);
|
|
@@ -2998,7 +2921,7 @@ export namespace u128 {
|
|
|
2998
2921
|
}
|
|
2999
2922
|
export async function tryAsU16(
|
|
3000
2923
|
client: SuiClient,
|
|
3001
|
-
args: [bigint
|
|
2924
|
+
args: [bigint],
|
|
3002
2925
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3003
2926
|
const tx = new Transaction();
|
|
3004
2927
|
builder.tryAsU16(tx, args);
|
|
@@ -3013,7 +2936,7 @@ export namespace u128 {
|
|
|
3013
2936
|
}
|
|
3014
2937
|
export async function tryAsU32(
|
|
3015
2938
|
client: SuiClient,
|
|
3016
|
-
args: [bigint
|
|
2939
|
+
args: [bigint],
|
|
3017
2940
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3018
2941
|
const tx = new Transaction();
|
|
3019
2942
|
builder.tryAsU32(tx, args);
|
|
@@ -3028,7 +2951,7 @@ export namespace u128 {
|
|
|
3028
2951
|
}
|
|
3029
2952
|
export async function tryAsU64(
|
|
3030
2953
|
client: SuiClient,
|
|
3031
|
-
args: [bigint
|
|
2954
|
+
args: [bigint],
|
|
3032
2955
|
): Promise<TypedDevInspectResults<[option.Option<bigint>]>> {
|
|
3033
2956
|
const tx = new Transaction();
|
|
3034
2957
|
builder.tryAsU64(tx, args);
|
|
@@ -3043,7 +2966,7 @@ export namespace u128 {
|
|
|
3043
2966
|
}
|
|
3044
2967
|
export async function tryAsU8(
|
|
3045
2968
|
client: SuiClient,
|
|
3046
|
-
args: [bigint
|
|
2969
|
+
args: [bigint],
|
|
3047
2970
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3048
2971
|
const tx = new Transaction();
|
|
3049
2972
|
builder.tryAsU8(tx, args);
|
|
@@ -3187,7 +3110,7 @@ export namespace u16 {
|
|
|
3187
3110
|
export namespace view {
|
|
3188
3111
|
export async function bitwiseNot(
|
|
3189
3112
|
client: SuiClient,
|
|
3190
|
-
args: [number
|
|
3113
|
+
args: [number],
|
|
3191
3114
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3192
3115
|
const tx = new Transaction();
|
|
3193
3116
|
builder.bitwiseNot(tx, args);
|
|
@@ -3202,7 +3125,7 @@ export namespace u16 {
|
|
|
3202
3125
|
}
|
|
3203
3126
|
export async function diff(
|
|
3204
3127
|
client: SuiClient,
|
|
3205
|
-
args: [number
|
|
3128
|
+
args: [number, number],
|
|
3206
3129
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3207
3130
|
const tx = new Transaction();
|
|
3208
3131
|
builder.diff(tx, args);
|
|
@@ -3217,7 +3140,7 @@ export namespace u16 {
|
|
|
3217
3140
|
}
|
|
3218
3141
|
export async function divideAndRoundUp(
|
|
3219
3142
|
client: SuiClient,
|
|
3220
|
-
args: [number
|
|
3143
|
+
args: [number, number],
|
|
3221
3144
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3222
3145
|
const tx = new Transaction();
|
|
3223
3146
|
builder.divideAndRoundUp(tx, args);
|
|
@@ -3232,7 +3155,7 @@ export namespace u16 {
|
|
|
3232
3155
|
}
|
|
3233
3156
|
export async function max(
|
|
3234
3157
|
client: SuiClient,
|
|
3235
|
-
args: [number
|
|
3158
|
+
args: [number, number],
|
|
3236
3159
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3237
3160
|
const tx = new Transaction();
|
|
3238
3161
|
builder.max(tx, args);
|
|
@@ -3247,7 +3170,7 @@ export namespace u16 {
|
|
|
3247
3170
|
}
|
|
3248
3171
|
export async function min(
|
|
3249
3172
|
client: SuiClient,
|
|
3250
|
-
args: [number
|
|
3173
|
+
args: [number, number],
|
|
3251
3174
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3252
3175
|
const tx = new Transaction();
|
|
3253
3176
|
builder.min(tx, args);
|
|
@@ -3262,7 +3185,7 @@ export namespace u16 {
|
|
|
3262
3185
|
}
|
|
3263
3186
|
export async function pow(
|
|
3264
3187
|
client: SuiClient,
|
|
3265
|
-
args: [number
|
|
3188
|
+
args: [number, number],
|
|
3266
3189
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3267
3190
|
const tx = new Transaction();
|
|
3268
3191
|
builder.pow(tx, args);
|
|
@@ -3277,7 +3200,7 @@ export namespace u16 {
|
|
|
3277
3200
|
}
|
|
3278
3201
|
export async function sqrt(
|
|
3279
3202
|
client: SuiClient,
|
|
3280
|
-
args: [number
|
|
3203
|
+
args: [number],
|
|
3281
3204
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3282
3205
|
const tx = new Transaction();
|
|
3283
3206
|
builder.sqrt(tx, args);
|
|
@@ -3292,7 +3215,7 @@ export namespace u16 {
|
|
|
3292
3215
|
}
|
|
3293
3216
|
export async function toString(
|
|
3294
3217
|
client: SuiClient,
|
|
3295
|
-
args: [number
|
|
3218
|
+
args: [number],
|
|
3296
3219
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3297
3220
|
const tx = new Transaction();
|
|
3298
3221
|
builder.toString(tx, args);
|
|
@@ -3307,7 +3230,7 @@ export namespace u16 {
|
|
|
3307
3230
|
}
|
|
3308
3231
|
export async function tryAsU8(
|
|
3309
3232
|
client: SuiClient,
|
|
3310
|
-
args: [number
|
|
3233
|
+
args: [number],
|
|
3311
3234
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3312
3235
|
const tx = new Transaction();
|
|
3313
3236
|
builder.tryAsU8(tx, args);
|
|
@@ -3490,7 +3413,7 @@ export namespace u256 {
|
|
|
3490
3413
|
export namespace view {
|
|
3491
3414
|
export async function bitwiseNot(
|
|
3492
3415
|
client: SuiClient,
|
|
3493
|
-
args: [bigint
|
|
3416
|
+
args: [bigint],
|
|
3494
3417
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3495
3418
|
const tx = new Transaction();
|
|
3496
3419
|
builder.bitwiseNot(tx, args);
|
|
@@ -3505,7 +3428,7 @@ export namespace u256 {
|
|
|
3505
3428
|
}
|
|
3506
3429
|
export async function diff(
|
|
3507
3430
|
client: SuiClient,
|
|
3508
|
-
args: [bigint
|
|
3431
|
+
args: [bigint, bigint],
|
|
3509
3432
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3510
3433
|
const tx = new Transaction();
|
|
3511
3434
|
builder.diff(tx, args);
|
|
@@ -3520,7 +3443,7 @@ export namespace u256 {
|
|
|
3520
3443
|
}
|
|
3521
3444
|
export async function divideAndRoundUp(
|
|
3522
3445
|
client: SuiClient,
|
|
3523
|
-
args: [bigint
|
|
3446
|
+
args: [bigint, bigint],
|
|
3524
3447
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3525
3448
|
const tx = new Transaction();
|
|
3526
3449
|
builder.divideAndRoundUp(tx, args);
|
|
@@ -3535,7 +3458,7 @@ export namespace u256 {
|
|
|
3535
3458
|
}
|
|
3536
3459
|
export async function max(
|
|
3537
3460
|
client: SuiClient,
|
|
3538
|
-
args: [bigint
|
|
3461
|
+
args: [bigint, bigint],
|
|
3539
3462
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3540
3463
|
const tx = new Transaction();
|
|
3541
3464
|
builder.max(tx, args);
|
|
@@ -3550,7 +3473,7 @@ export namespace u256 {
|
|
|
3550
3473
|
}
|
|
3551
3474
|
export async function min(
|
|
3552
3475
|
client: SuiClient,
|
|
3553
|
-
args: [bigint
|
|
3476
|
+
args: [bigint, bigint],
|
|
3554
3477
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3555
3478
|
const tx = new Transaction();
|
|
3556
3479
|
builder.min(tx, args);
|
|
@@ -3565,7 +3488,7 @@ export namespace u256 {
|
|
|
3565
3488
|
}
|
|
3566
3489
|
export async function pow(
|
|
3567
3490
|
client: SuiClient,
|
|
3568
|
-
args: [bigint
|
|
3491
|
+
args: [bigint, number],
|
|
3569
3492
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3570
3493
|
const tx = new Transaction();
|
|
3571
3494
|
builder.pow(tx, args);
|
|
@@ -3580,7 +3503,7 @@ export namespace u256 {
|
|
|
3580
3503
|
}
|
|
3581
3504
|
export async function toString(
|
|
3582
3505
|
client: SuiClient,
|
|
3583
|
-
args: [bigint
|
|
3506
|
+
args: [bigint],
|
|
3584
3507
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3585
3508
|
const tx = new Transaction();
|
|
3586
3509
|
builder.toString(tx, args);
|
|
@@ -3595,7 +3518,7 @@ export namespace u256 {
|
|
|
3595
3518
|
}
|
|
3596
3519
|
export async function tryAsU128(
|
|
3597
3520
|
client: SuiClient,
|
|
3598
|
-
args: [bigint
|
|
3521
|
+
args: [bigint],
|
|
3599
3522
|
): Promise<TypedDevInspectResults<[option.Option<bigint>]>> {
|
|
3600
3523
|
const tx = new Transaction();
|
|
3601
3524
|
builder.tryAsU128(tx, args);
|
|
@@ -3610,7 +3533,7 @@ export namespace u256 {
|
|
|
3610
3533
|
}
|
|
3611
3534
|
export async function tryAsU16(
|
|
3612
3535
|
client: SuiClient,
|
|
3613
|
-
args: [bigint
|
|
3536
|
+
args: [bigint],
|
|
3614
3537
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3615
3538
|
const tx = new Transaction();
|
|
3616
3539
|
builder.tryAsU16(tx, args);
|
|
@@ -3625,7 +3548,7 @@ export namespace u256 {
|
|
|
3625
3548
|
}
|
|
3626
3549
|
export async function tryAsU32(
|
|
3627
3550
|
client: SuiClient,
|
|
3628
|
-
args: [bigint
|
|
3551
|
+
args: [bigint],
|
|
3629
3552
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3630
3553
|
const tx = new Transaction();
|
|
3631
3554
|
builder.tryAsU32(tx, args);
|
|
@@ -3640,7 +3563,7 @@ export namespace u256 {
|
|
|
3640
3563
|
}
|
|
3641
3564
|
export async function tryAsU64(
|
|
3642
3565
|
client: SuiClient,
|
|
3643
|
-
args: [bigint
|
|
3566
|
+
args: [bigint],
|
|
3644
3567
|
): Promise<TypedDevInspectResults<[option.Option<bigint>]>> {
|
|
3645
3568
|
const tx = new Transaction();
|
|
3646
3569
|
builder.tryAsU64(tx, args);
|
|
@@ -3655,7 +3578,7 @@ export namespace u256 {
|
|
|
3655
3578
|
}
|
|
3656
3579
|
export async function tryAsU8(
|
|
3657
3580
|
client: SuiClient,
|
|
3658
|
-
args: [bigint
|
|
3581
|
+
args: [bigint],
|
|
3659
3582
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3660
3583
|
const tx = new Transaction();
|
|
3661
3584
|
builder.tryAsU8(tx, args);
|
|
@@ -3812,7 +3735,7 @@ export namespace u32 {
|
|
|
3812
3735
|
export namespace view {
|
|
3813
3736
|
export async function bitwiseNot(
|
|
3814
3737
|
client: SuiClient,
|
|
3815
|
-
args: [number
|
|
3738
|
+
args: [number],
|
|
3816
3739
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3817
3740
|
const tx = new Transaction();
|
|
3818
3741
|
builder.bitwiseNot(tx, args);
|
|
@@ -3827,7 +3750,7 @@ export namespace u32 {
|
|
|
3827
3750
|
}
|
|
3828
3751
|
export async function diff(
|
|
3829
3752
|
client: SuiClient,
|
|
3830
|
-
args: [number
|
|
3753
|
+
args: [number, number],
|
|
3831
3754
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3832
3755
|
const tx = new Transaction();
|
|
3833
3756
|
builder.diff(tx, args);
|
|
@@ -3842,7 +3765,7 @@ export namespace u32 {
|
|
|
3842
3765
|
}
|
|
3843
3766
|
export async function divideAndRoundUp(
|
|
3844
3767
|
client: SuiClient,
|
|
3845
|
-
args: [number
|
|
3768
|
+
args: [number, number],
|
|
3846
3769
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3847
3770
|
const tx = new Transaction();
|
|
3848
3771
|
builder.divideAndRoundUp(tx, args);
|
|
@@ -3857,7 +3780,7 @@ export namespace u32 {
|
|
|
3857
3780
|
}
|
|
3858
3781
|
export async function max(
|
|
3859
3782
|
client: SuiClient,
|
|
3860
|
-
args: [number
|
|
3783
|
+
args: [number, number],
|
|
3861
3784
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3862
3785
|
const tx = new Transaction();
|
|
3863
3786
|
builder.max(tx, args);
|
|
@@ -3872,7 +3795,7 @@ export namespace u32 {
|
|
|
3872
3795
|
}
|
|
3873
3796
|
export async function min(
|
|
3874
3797
|
client: SuiClient,
|
|
3875
|
-
args: [number
|
|
3798
|
+
args: [number, number],
|
|
3876
3799
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3877
3800
|
const tx = new Transaction();
|
|
3878
3801
|
builder.min(tx, args);
|
|
@@ -3887,7 +3810,7 @@ export namespace u32 {
|
|
|
3887
3810
|
}
|
|
3888
3811
|
export async function pow(
|
|
3889
3812
|
client: SuiClient,
|
|
3890
|
-
args: [number
|
|
3813
|
+
args: [number, number],
|
|
3891
3814
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3892
3815
|
const tx = new Transaction();
|
|
3893
3816
|
builder.pow(tx, args);
|
|
@@ -3902,7 +3825,7 @@ export namespace u32 {
|
|
|
3902
3825
|
}
|
|
3903
3826
|
export async function sqrt(
|
|
3904
3827
|
client: SuiClient,
|
|
3905
|
-
args: [number
|
|
3828
|
+
args: [number],
|
|
3906
3829
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
3907
3830
|
const tx = new Transaction();
|
|
3908
3831
|
builder.sqrt(tx, args);
|
|
@@ -3917,7 +3840,7 @@ export namespace u32 {
|
|
|
3917
3840
|
}
|
|
3918
3841
|
export async function toString(
|
|
3919
3842
|
client: SuiClient,
|
|
3920
|
-
args: [number
|
|
3843
|
+
args: [number],
|
|
3921
3844
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3922
3845
|
const tx = new Transaction();
|
|
3923
3846
|
builder.toString(tx, args);
|
|
@@ -3932,7 +3855,7 @@ export namespace u32 {
|
|
|
3932
3855
|
}
|
|
3933
3856
|
export async function tryAsU16(
|
|
3934
3857
|
client: SuiClient,
|
|
3935
|
-
args: [number
|
|
3858
|
+
args: [number],
|
|
3936
3859
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3937
3860
|
const tx = new Transaction();
|
|
3938
3861
|
builder.tryAsU16(tx, args);
|
|
@@ -3947,7 +3870,7 @@ export namespace u32 {
|
|
|
3947
3870
|
}
|
|
3948
3871
|
export async function tryAsU8(
|
|
3949
3872
|
client: SuiClient,
|
|
3950
|
-
args: [number
|
|
3873
|
+
args: [number],
|
|
3951
3874
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
3952
3875
|
const tx = new Transaction();
|
|
3953
3876
|
builder.tryAsU8(tx, args);
|
|
@@ -4117,7 +4040,7 @@ export namespace u64 {
|
|
|
4117
4040
|
export namespace view {
|
|
4118
4041
|
export async function bitwiseNot(
|
|
4119
4042
|
client: SuiClient,
|
|
4120
|
-
args: [bigint
|
|
4043
|
+
args: [bigint],
|
|
4121
4044
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4122
4045
|
const tx = new Transaction();
|
|
4123
4046
|
builder.bitwiseNot(tx, args);
|
|
@@ -4132,7 +4055,7 @@ export namespace u64 {
|
|
|
4132
4055
|
}
|
|
4133
4056
|
export async function diff(
|
|
4134
4057
|
client: SuiClient,
|
|
4135
|
-
args: [bigint
|
|
4058
|
+
args: [bigint, bigint],
|
|
4136
4059
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4137
4060
|
const tx = new Transaction();
|
|
4138
4061
|
builder.diff(tx, args);
|
|
@@ -4147,7 +4070,7 @@ export namespace u64 {
|
|
|
4147
4070
|
}
|
|
4148
4071
|
export async function divideAndRoundUp(
|
|
4149
4072
|
client: SuiClient,
|
|
4150
|
-
args: [bigint
|
|
4073
|
+
args: [bigint, bigint],
|
|
4151
4074
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4152
4075
|
const tx = new Transaction();
|
|
4153
4076
|
builder.divideAndRoundUp(tx, args);
|
|
@@ -4162,7 +4085,7 @@ export namespace u64 {
|
|
|
4162
4085
|
}
|
|
4163
4086
|
export async function max(
|
|
4164
4087
|
client: SuiClient,
|
|
4165
|
-
args: [bigint
|
|
4088
|
+
args: [bigint, bigint],
|
|
4166
4089
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4167
4090
|
const tx = new Transaction();
|
|
4168
4091
|
builder.max(tx, args);
|
|
@@ -4177,7 +4100,7 @@ export namespace u64 {
|
|
|
4177
4100
|
}
|
|
4178
4101
|
export async function min(
|
|
4179
4102
|
client: SuiClient,
|
|
4180
|
-
args: [bigint
|
|
4103
|
+
args: [bigint, bigint],
|
|
4181
4104
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4182
4105
|
const tx = new Transaction();
|
|
4183
4106
|
builder.min(tx, args);
|
|
@@ -4192,7 +4115,7 @@ export namespace u64 {
|
|
|
4192
4115
|
}
|
|
4193
4116
|
export async function pow(
|
|
4194
4117
|
client: SuiClient,
|
|
4195
|
-
args: [bigint
|
|
4118
|
+
args: [bigint, number],
|
|
4196
4119
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4197
4120
|
const tx = new Transaction();
|
|
4198
4121
|
builder.pow(tx, args);
|
|
@@ -4207,7 +4130,7 @@ export namespace u64 {
|
|
|
4207
4130
|
}
|
|
4208
4131
|
export async function sqrt(
|
|
4209
4132
|
client: SuiClient,
|
|
4210
|
-
args: [bigint
|
|
4133
|
+
args: [bigint],
|
|
4211
4134
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4212
4135
|
const tx = new Transaction();
|
|
4213
4136
|
builder.sqrt(tx, args);
|
|
@@ -4222,7 +4145,7 @@ export namespace u64 {
|
|
|
4222
4145
|
}
|
|
4223
4146
|
export async function toString(
|
|
4224
4147
|
client: SuiClient,
|
|
4225
|
-
args: [bigint
|
|
4148
|
+
args: [bigint],
|
|
4226
4149
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4227
4150
|
const tx = new Transaction();
|
|
4228
4151
|
builder.toString(tx, args);
|
|
@@ -4237,7 +4160,7 @@ export namespace u64 {
|
|
|
4237
4160
|
}
|
|
4238
4161
|
export async function tryAsU16(
|
|
4239
4162
|
client: SuiClient,
|
|
4240
|
-
args: [bigint
|
|
4163
|
+
args: [bigint],
|
|
4241
4164
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
4242
4165
|
const tx = new Transaction();
|
|
4243
4166
|
builder.tryAsU16(tx, args);
|
|
@@ -4252,7 +4175,7 @@ export namespace u64 {
|
|
|
4252
4175
|
}
|
|
4253
4176
|
export async function tryAsU32(
|
|
4254
4177
|
client: SuiClient,
|
|
4255
|
-
args: [bigint
|
|
4178
|
+
args: [bigint],
|
|
4256
4179
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
4257
4180
|
const tx = new Transaction();
|
|
4258
4181
|
builder.tryAsU32(tx, args);
|
|
@@ -4267,7 +4190,7 @@ export namespace u64 {
|
|
|
4267
4190
|
}
|
|
4268
4191
|
export async function tryAsU8(
|
|
4269
4192
|
client: SuiClient,
|
|
4270
|
-
args: [bigint
|
|
4193
|
+
args: [bigint],
|
|
4271
4194
|
): Promise<TypedDevInspectResults<[option.Option<number>]>> {
|
|
4272
4195
|
const tx = new Transaction();
|
|
4273
4196
|
builder.tryAsU8(tx, args);
|
|
@@ -4398,7 +4321,7 @@ export namespace u8 {
|
|
|
4398
4321
|
export namespace view {
|
|
4399
4322
|
export async function bitwiseNot(
|
|
4400
4323
|
client: SuiClient,
|
|
4401
|
-
args: [number
|
|
4324
|
+
args: [number],
|
|
4402
4325
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4403
4326
|
const tx = new Transaction();
|
|
4404
4327
|
builder.bitwiseNot(tx, args);
|
|
@@ -4413,7 +4336,7 @@ export namespace u8 {
|
|
|
4413
4336
|
}
|
|
4414
4337
|
export async function diff(
|
|
4415
4338
|
client: SuiClient,
|
|
4416
|
-
args: [number
|
|
4339
|
+
args: [number, number],
|
|
4417
4340
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4418
4341
|
const tx = new Transaction();
|
|
4419
4342
|
builder.diff(tx, args);
|
|
@@ -4428,7 +4351,7 @@ export namespace u8 {
|
|
|
4428
4351
|
}
|
|
4429
4352
|
export async function divideAndRoundUp(
|
|
4430
4353
|
client: SuiClient,
|
|
4431
|
-
args: [number
|
|
4354
|
+
args: [number, number],
|
|
4432
4355
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4433
4356
|
const tx = new Transaction();
|
|
4434
4357
|
builder.divideAndRoundUp(tx, args);
|
|
@@ -4443,7 +4366,7 @@ export namespace u8 {
|
|
|
4443
4366
|
}
|
|
4444
4367
|
export async function max(
|
|
4445
4368
|
client: SuiClient,
|
|
4446
|
-
args: [number
|
|
4369
|
+
args: [number, number],
|
|
4447
4370
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4448
4371
|
const tx = new Transaction();
|
|
4449
4372
|
builder.max(tx, args);
|
|
@@ -4458,7 +4381,7 @@ export namespace u8 {
|
|
|
4458
4381
|
}
|
|
4459
4382
|
export async function min(
|
|
4460
4383
|
client: SuiClient,
|
|
4461
|
-
args: [number
|
|
4384
|
+
args: [number, number],
|
|
4462
4385
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4463
4386
|
const tx = new Transaction();
|
|
4464
4387
|
builder.min(tx, args);
|
|
@@ -4473,7 +4396,7 @@ export namespace u8 {
|
|
|
4473
4396
|
}
|
|
4474
4397
|
export async function pow(
|
|
4475
4398
|
client: SuiClient,
|
|
4476
|
-
args: [number
|
|
4399
|
+
args: [number, number],
|
|
4477
4400
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4478
4401
|
const tx = new Transaction();
|
|
4479
4402
|
builder.pow(tx, args);
|
|
@@ -4488,7 +4411,7 @@ export namespace u8 {
|
|
|
4488
4411
|
}
|
|
4489
4412
|
export async function sqrt(
|
|
4490
4413
|
client: SuiClient,
|
|
4491
|
-
args: [number
|
|
4414
|
+
args: [number],
|
|
4492
4415
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4493
4416
|
const tx = new Transaction();
|
|
4494
4417
|
builder.sqrt(tx, args);
|
|
@@ -4503,7 +4426,7 @@ export namespace u8 {
|
|
|
4503
4426
|
}
|
|
4504
4427
|
export async function toString(
|
|
4505
4428
|
client: SuiClient,
|
|
4506
|
-
args: [number
|
|
4429
|
+
args: [number],
|
|
4507
4430
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4508
4431
|
const tx = new Transaction();
|
|
4509
4432
|
builder.toString(tx, args);
|
|
@@ -4780,10 +4703,7 @@ export namespace uq32_32 {
|
|
|
4780
4703
|
export namespace view {
|
|
4781
4704
|
export async function add(
|
|
4782
4705
|
client: SuiClient,
|
|
4783
|
-
args: [
|
|
4784
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4785
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4786
|
-
],
|
|
4706
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4787
4707
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
|
4788
4708
|
const tx = new Transaction();
|
|
4789
4709
|
builder.add(tx, args);
|
|
@@ -4798,10 +4718,7 @@ export namespace uq32_32 {
|
|
|
4798
4718
|
}
|
|
4799
4719
|
export async function div(
|
|
4800
4720
|
client: SuiClient,
|
|
4801
|
-
args: [
|
|
4802
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4803
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4804
|
-
],
|
|
4721
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4805
4722
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
|
4806
4723
|
const tx = new Transaction();
|
|
4807
4724
|
builder.div(tx, args);
|
|
@@ -4816,7 +4733,7 @@ export namespace uq32_32 {
|
|
|
4816
4733
|
}
|
|
4817
4734
|
export async function fromInt(
|
|
4818
4735
|
client: SuiClient,
|
|
4819
|
-
args: [number
|
|
4736
|
+
args: [number],
|
|
4820
4737
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
|
4821
4738
|
const tx = new Transaction();
|
|
4822
4739
|
builder.fromInt(tx, args);
|
|
@@ -4831,7 +4748,7 @@ export namespace uq32_32 {
|
|
|
4831
4748
|
}
|
|
4832
4749
|
export async function fromQuotient(
|
|
4833
4750
|
client: SuiClient,
|
|
4834
|
-
args: [bigint
|
|
4751
|
+
args: [bigint, bigint],
|
|
4835
4752
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
|
4836
4753
|
const tx = new Transaction();
|
|
4837
4754
|
builder.fromQuotient(tx, args);
|
|
@@ -4846,7 +4763,7 @@ export namespace uq32_32 {
|
|
|
4846
4763
|
}
|
|
4847
4764
|
export async function fromRaw(
|
|
4848
4765
|
client: SuiClient,
|
|
4849
|
-
args: [bigint
|
|
4766
|
+
args: [bigint],
|
|
4850
4767
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
|
4851
4768
|
const tx = new Transaction();
|
|
4852
4769
|
builder.fromRaw(tx, args);
|
|
@@ -4861,10 +4778,7 @@ export namespace uq32_32 {
|
|
|
4861
4778
|
}
|
|
4862
4779
|
export async function ge(
|
|
4863
4780
|
client: SuiClient,
|
|
4864
|
-
args: [
|
|
4865
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4866
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4867
|
-
],
|
|
4781
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4868
4782
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
4869
4783
|
const tx = new Transaction();
|
|
4870
4784
|
builder.ge(tx, args);
|
|
@@ -4879,10 +4793,7 @@ export namespace uq32_32 {
|
|
|
4879
4793
|
}
|
|
4880
4794
|
export async function gt(
|
|
4881
4795
|
client: SuiClient,
|
|
4882
|
-
args: [
|
|
4883
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4884
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4885
|
-
],
|
|
4796
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4886
4797
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
4887
4798
|
const tx = new Transaction();
|
|
4888
4799
|
builder.gt(tx, args);
|
|
@@ -4897,10 +4808,7 @@ export namespace uq32_32 {
|
|
|
4897
4808
|
}
|
|
4898
4809
|
export async function intDiv(
|
|
4899
4810
|
client: SuiClient,
|
|
4900
|
-
args: [
|
|
4901
|
-
bigint | TransactionArgument,
|
|
4902
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4903
|
-
],
|
|
4811
|
+
args: [bigint, uq32_32.UQ32_32],
|
|
4904
4812
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4905
4813
|
const tx = new Transaction();
|
|
4906
4814
|
builder.intDiv(tx, args);
|
|
@@ -4915,10 +4823,7 @@ export namespace uq32_32 {
|
|
|
4915
4823
|
}
|
|
4916
4824
|
export async function intMul(
|
|
4917
4825
|
client: SuiClient,
|
|
4918
|
-
args: [
|
|
4919
|
-
bigint | TransactionArgument,
|
|
4920
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4921
|
-
],
|
|
4826
|
+
args: [bigint, uq32_32.UQ32_32],
|
|
4922
4827
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4923
4828
|
const tx = new Transaction();
|
|
4924
4829
|
builder.intMul(tx, args);
|
|
@@ -4933,10 +4838,7 @@ export namespace uq32_32 {
|
|
|
4933
4838
|
}
|
|
4934
4839
|
export async function le(
|
|
4935
4840
|
client: SuiClient,
|
|
4936
|
-
args: [
|
|
4937
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4938
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4939
|
-
],
|
|
4841
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4940
4842
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
4941
4843
|
const tx = new Transaction();
|
|
4942
4844
|
builder.le(tx, args);
|
|
@@ -4951,10 +4853,7 @@ export namespace uq32_32 {
|
|
|
4951
4853
|
}
|
|
4952
4854
|
export async function lt(
|
|
4953
4855
|
client: SuiClient,
|
|
4954
|
-
args: [
|
|
4955
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4956
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4957
|
-
],
|
|
4856
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4958
4857
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
4959
4858
|
const tx = new Transaction();
|
|
4960
4859
|
builder.lt(tx, args);
|
|
@@ -4969,10 +4868,7 @@ export namespace uq32_32 {
|
|
|
4969
4868
|
}
|
|
4970
4869
|
export async function mul(
|
|
4971
4870
|
client: SuiClient,
|
|
4972
|
-
args: [
|
|
4973
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4974
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4975
|
-
],
|
|
4871
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4976
4872
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
|
4977
4873
|
const tx = new Transaction();
|
|
4978
4874
|
builder.mul(tx, args);
|
|
@@ -4987,10 +4883,7 @@ export namespace uq32_32 {
|
|
|
4987
4883
|
}
|
|
4988
4884
|
export async function sub(
|
|
4989
4885
|
client: SuiClient,
|
|
4990
|
-
args: [
|
|
4991
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4992
|
-
uq32_32.UQ32_32 | TransactionArgument,
|
|
4993
|
-
],
|
|
4886
|
+
args: [uq32_32.UQ32_32, uq32_32.UQ32_32],
|
|
4994
4887
|
): Promise<TypedDevInspectResults<[uq32_32.UQ32_32]>> {
|
|
4995
4888
|
const tx = new Transaction();
|
|
4996
4889
|
builder.sub(tx, args);
|
|
@@ -5005,7 +4898,7 @@ export namespace uq32_32 {
|
|
|
5005
4898
|
}
|
|
5006
4899
|
export async function toInt(
|
|
5007
4900
|
client: SuiClient,
|
|
5008
|
-
args: [uq32_32.UQ32_32
|
|
4901
|
+
args: [uq32_32.UQ32_32],
|
|
5009
4902
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
5010
4903
|
const tx = new Transaction();
|
|
5011
4904
|
builder.toInt(tx, args);
|
|
@@ -5020,7 +4913,7 @@ export namespace uq32_32 {
|
|
|
5020
4913
|
}
|
|
5021
4914
|
export async function toRaw(
|
|
5022
4915
|
client: SuiClient,
|
|
5023
|
-
args: [uq32_32.UQ32_32
|
|
4916
|
+
args: [uq32_32.UQ32_32],
|
|
5024
4917
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5025
4918
|
const tx = new Transaction();
|
|
5026
4919
|
builder.toRaw(tx, args);
|
|
@@ -5429,10 +5322,7 @@ export namespace vector {
|
|
|
5429
5322
|
export namespace view {
|
|
5430
5323
|
export async function append<T0 = any>(
|
|
5431
5324
|
client: SuiClient,
|
|
5432
|
-
args: [
|
|
5433
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5434
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5435
|
-
],
|
|
5325
|
+
args: [string, string[]],
|
|
5436
5326
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5437
5327
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5438
5328
|
const tx = new Transaction();
|
|
@@ -5448,10 +5338,7 @@ export namespace vector {
|
|
|
5448
5338
|
}
|
|
5449
5339
|
export async function borrow<T0 = any>(
|
|
5450
5340
|
client: SuiClient,
|
|
5451
|
-
args: [
|
|
5452
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5453
|
-
bigint | TransactionArgument,
|
|
5454
|
-
],
|
|
5341
|
+
args: [string, bigint],
|
|
5455
5342
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5456
5343
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5457
5344
|
const tx = new Transaction();
|
|
@@ -5467,10 +5354,7 @@ export namespace vector {
|
|
|
5467
5354
|
}
|
|
5468
5355
|
export async function borrowMut<T0 = any>(
|
|
5469
5356
|
client: SuiClient,
|
|
5470
|
-
args: [
|
|
5471
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5472
|
-
bigint | TransactionArgument,
|
|
5473
|
-
],
|
|
5357
|
+
args: [string, bigint],
|
|
5474
5358
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5475
5359
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5476
5360
|
const tx = new Transaction();
|
|
@@ -5486,10 +5370,7 @@ export namespace vector {
|
|
|
5486
5370
|
}
|
|
5487
5371
|
export async function contains<T0 = any>(
|
|
5488
5372
|
client: SuiClient,
|
|
5489
|
-
args: [
|
|
5490
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5491
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5492
|
-
],
|
|
5373
|
+
args: [string, string],
|
|
5493
5374
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5494
5375
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
5495
5376
|
const tx = new Transaction();
|
|
@@ -5505,7 +5386,7 @@ export namespace vector {
|
|
|
5505
5386
|
}
|
|
5506
5387
|
export async function destroyEmpty<T0 = any>(
|
|
5507
5388
|
client: SuiClient,
|
|
5508
|
-
args: [
|
|
5389
|
+
args: [string[]],
|
|
5509
5390
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5510
5391
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5511
5392
|
const tx = new Transaction();
|
|
@@ -5537,7 +5418,7 @@ export namespace vector {
|
|
|
5537
5418
|
}
|
|
5538
5419
|
export async function flatten<T0 = any>(
|
|
5539
5420
|
client: SuiClient,
|
|
5540
|
-
args: [
|
|
5421
|
+
args: [string[]],
|
|
5541
5422
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5542
5423
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
|
5543
5424
|
const tx = new Transaction();
|
|
@@ -5553,10 +5434,7 @@ export namespace vector {
|
|
|
5553
5434
|
}
|
|
5554
5435
|
export async function indexOf<T0 = any>(
|
|
5555
5436
|
client: SuiClient,
|
|
5556
|
-
args: [
|
|
5557
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5558
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5559
|
-
],
|
|
5437
|
+
args: [string, string],
|
|
5560
5438
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5561
5439
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
5562
5440
|
const tx = new Transaction();
|
|
@@ -5572,11 +5450,7 @@ export namespace vector {
|
|
|
5572
5450
|
}
|
|
5573
5451
|
export async function insert<T0 = any>(
|
|
5574
5452
|
client: SuiClient,
|
|
5575
|
-
args: [
|
|
5576
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5577
|
-
T0 | TransactionArgument,
|
|
5578
|
-
bigint | TransactionArgument,
|
|
5579
|
-
],
|
|
5453
|
+
args: [string, T0, bigint],
|
|
5580
5454
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5581
5455
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5582
5456
|
const tx = new Transaction();
|
|
@@ -5592,7 +5466,7 @@ export namespace vector {
|
|
|
5592
5466
|
}
|
|
5593
5467
|
export async function isEmpty<T0 = any>(
|
|
5594
5468
|
client: SuiClient,
|
|
5595
|
-
args: [string
|
|
5469
|
+
args: [string],
|
|
5596
5470
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5597
5471
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
5598
5472
|
const tx = new Transaction();
|
|
@@ -5608,7 +5482,7 @@ export namespace vector {
|
|
|
5608
5482
|
}
|
|
5609
5483
|
export async function length<T0 = any>(
|
|
5610
5484
|
client: SuiClient,
|
|
5611
|
-
args: [string
|
|
5485
|
+
args: [string],
|
|
5612
5486
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5613
5487
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5614
5488
|
const tx = new Transaction();
|
|
@@ -5624,7 +5498,7 @@ export namespace vector {
|
|
|
5624
5498
|
}
|
|
5625
5499
|
export async function popBack<T0 = any>(
|
|
5626
5500
|
client: SuiClient,
|
|
5627
|
-
args: [string
|
|
5501
|
+
args: [string],
|
|
5628
5502
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5629
5503
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
5630
5504
|
const tx = new Transaction();
|
|
@@ -5640,10 +5514,7 @@ export namespace vector {
|
|
|
5640
5514
|
}
|
|
5641
5515
|
export async function pushBack<T0 = any>(
|
|
5642
5516
|
client: SuiClient,
|
|
5643
|
-
args: [
|
|
5644
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5645
|
-
T0 | TransactionArgument,
|
|
5646
|
-
],
|
|
5517
|
+
args: [string, T0],
|
|
5647
5518
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5648
5519
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5649
5520
|
const tx = new Transaction();
|
|
@@ -5659,10 +5530,7 @@ export namespace vector {
|
|
|
5659
5530
|
}
|
|
5660
5531
|
export async function remove<T0 = any>(
|
|
5661
5532
|
client: SuiClient,
|
|
5662
|
-
args: [
|
|
5663
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5664
|
-
bigint | TransactionArgument,
|
|
5665
|
-
],
|
|
5533
|
+
args: [string, bigint],
|
|
5666
5534
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5667
5535
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
5668
5536
|
const tx = new Transaction();
|
|
@@ -5678,7 +5546,7 @@ export namespace vector {
|
|
|
5678
5546
|
}
|
|
5679
5547
|
export async function reverse<T0 = any>(
|
|
5680
5548
|
client: SuiClient,
|
|
5681
|
-
args: [string
|
|
5549
|
+
args: [string],
|
|
5682
5550
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5683
5551
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5684
5552
|
const tx = new Transaction();
|
|
@@ -5694,7 +5562,7 @@ export namespace vector {
|
|
|
5694
5562
|
}
|
|
5695
5563
|
export async function singleton<T0 = any>(
|
|
5696
5564
|
client: SuiClient,
|
|
5697
|
-
args: [T0
|
|
5565
|
+
args: [T0],
|
|
5698
5566
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5699
5567
|
): Promise<TypedDevInspectResults<[T0[] | string]>> {
|
|
5700
5568
|
const tx = new Transaction();
|
|
@@ -5710,11 +5578,7 @@ export namespace vector {
|
|
|
5710
5578
|
}
|
|
5711
5579
|
export async function swap<T0 = any>(
|
|
5712
5580
|
client: SuiClient,
|
|
5713
|
-
args: [
|
|
5714
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5715
|
-
bigint | TransactionArgument,
|
|
5716
|
-
bigint | TransactionArgument,
|
|
5717
|
-
],
|
|
5581
|
+
args: [string, bigint, bigint],
|
|
5718
5582
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5719
5583
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5720
5584
|
const tx = new Transaction();
|
|
@@ -5730,10 +5594,7 @@ export namespace vector {
|
|
|
5730
5594
|
}
|
|
5731
5595
|
export async function swapRemove<T0 = any>(
|
|
5732
5596
|
client: SuiClient,
|
|
5733
|
-
args: [
|
|
5734
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5735
|
-
bigint | TransactionArgument,
|
|
5736
|
-
],
|
|
5597
|
+
args: [string, bigint],
|
|
5737
5598
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5738
5599
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
5739
5600
|
const tx = new Transaction();
|