@typemove/sui 1.5.2 → 1.5.3-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/dist/cjs/builtin/0x2.d.ts +148 -433
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +0 -71
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +85 -259
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +0 -32
- 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 +6 -2
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +148 -433
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +0 -71
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +85 -259
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +0 -32
- 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 +6 -2
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x2.ts +128 -462
- package/src/builtin/0x3.ts +38 -194
- package/src/codegen/codegen.ts +5 -2
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +4 -19
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +7 -110
- package/src/tests/types/testnet/0xdee9.ts +18 -108
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +38 -344
|
@@ -393,10 +393,9 @@ export namespace clob {
|
|
|
393
393
|
}
|
|
394
394
|
export function createAccount(
|
|
395
395
|
tx: TransactionBlock,
|
|
396
|
-
args: [
|
|
397
|
-
): TransactionArgument & [
|
|
396
|
+
args: [],
|
|
397
|
+
): TransactionArgument & [] {
|
|
398
398
|
const _args: any[] = [];
|
|
399
|
-
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
400
399
|
|
|
401
400
|
// @ts-ignore
|
|
402
401
|
return tx.moveCall({
|
|
@@ -410,21 +409,14 @@ export namespace clob {
|
|
|
410
409
|
bigint | TransactionArgument,
|
|
411
410
|
bigint | TransactionArgument,
|
|
412
411
|
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
413
|
-
string | ObjectCallArg | TransactionArgument,
|
|
414
412
|
],
|
|
415
413
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
416
414
|
): TransactionArgument &
|
|
417
|
-
[
|
|
418
|
-
TransactionArgument,
|
|
419
|
-
TransactionArgument,
|
|
420
|
-
TransactionArgument,
|
|
421
|
-
TransactionArgument,
|
|
422
|
-
] {
|
|
415
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
423
416
|
const _args: any[] = [];
|
|
424
417
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
425
418
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
426
419
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
427
|
-
_args.push(transactionArgumentOrObject(args[3], tx));
|
|
428
420
|
|
|
429
421
|
// @ts-ignore
|
|
430
422
|
return tx.moveCall({
|
|
@@ -658,7 +650,6 @@ export namespace clob {
|
|
|
658
650
|
number | TransactionArgument,
|
|
659
651
|
string | ObjectCallArg | TransactionArgument,
|
|
660
652
|
string | ObjectCallArg | TransactionArgument,
|
|
661
|
-
string | ObjectCallArg | TransactionArgument,
|
|
662
653
|
],
|
|
663
654
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
664
655
|
): TransactionArgument &
|
|
@@ -671,7 +662,6 @@ export namespace clob {
|
|
|
671
662
|
TransactionArgument,
|
|
672
663
|
TransactionArgument,
|
|
673
664
|
TransactionArgument,
|
|
674
|
-
TransactionArgument,
|
|
675
665
|
] {
|
|
676
666
|
const _args: any[] = [];
|
|
677
667
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -682,7 +672,6 @@ export namespace clob {
|
|
|
682
672
|
_args.push(transactionArgumentOrPure(args[5], tx));
|
|
683
673
|
_args.push(transactionArgumentOrObject(args[6], tx));
|
|
684
674
|
_args.push(transactionArgumentOrObject(args[7], tx));
|
|
685
|
-
_args.push(transactionArgumentOrObject(args[8], tx));
|
|
686
675
|
|
|
687
676
|
// @ts-ignore
|
|
688
677
|
return tx.moveCall({
|
|
@@ -707,7 +696,6 @@ export namespace clob {
|
|
|
707
696
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
708
697
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
709
698
|
string | ObjectCallArg | TransactionArgument,
|
|
710
|
-
string | ObjectCallArg | TransactionArgument,
|
|
711
699
|
],
|
|
712
700
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
713
701
|
): TransactionArgument &
|
|
@@ -718,7 +706,6 @@ export namespace clob {
|
|
|
718
706
|
TransactionArgument,
|
|
719
707
|
TransactionArgument,
|
|
720
708
|
TransactionArgument,
|
|
721
|
-
TransactionArgument,
|
|
722
709
|
] {
|
|
723
710
|
const _args: any[] = [];
|
|
724
711
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -727,7 +714,6 @@ export namespace clob {
|
|
|
727
714
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
728
715
|
_args.push(transactionArgumentOrPure(args[4], tx));
|
|
729
716
|
_args.push(transactionArgumentOrObject(args[5], tx));
|
|
730
|
-
_args.push(transactionArgumentOrObject(args[6], tx));
|
|
731
717
|
|
|
732
718
|
// @ts-ignore
|
|
733
719
|
return tx.moveCall({
|
|
@@ -751,7 +737,6 @@ export namespace clob {
|
|
|
751
737
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
752
738
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
753
739
|
string | ObjectCallArg | TransactionArgument,
|
|
754
|
-
string | ObjectCallArg | TransactionArgument,
|
|
755
740
|
],
|
|
756
741
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
757
742
|
): TransactionArgument &
|
|
@@ -761,7 +746,6 @@ export namespace clob {
|
|
|
761
746
|
TransactionArgument,
|
|
762
747
|
TransactionArgument,
|
|
763
748
|
TransactionArgument,
|
|
764
|
-
TransactionArgument,
|
|
765
749
|
] {
|
|
766
750
|
const _args: any[] = [];
|
|
767
751
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -769,7 +753,6 @@ export namespace clob {
|
|
|
769
753
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
770
754
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
771
755
|
_args.push(transactionArgumentOrObject(args[4], tx));
|
|
772
|
-
_args.push(transactionArgumentOrObject(args[5], tx));
|
|
773
756
|
|
|
774
757
|
// @ts-ignore
|
|
775
758
|
return tx.moveCall({
|
|
@@ -792,7 +775,6 @@ export namespace clob {
|
|
|
792
775
|
bigint | TransactionArgument,
|
|
793
776
|
string | ObjectCallArg | TransactionArgument,
|
|
794
777
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
795
|
-
string | ObjectCallArg | TransactionArgument,
|
|
796
778
|
],
|
|
797
779
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
798
780
|
): TransactionArgument &
|
|
@@ -801,14 +783,12 @@ export namespace clob {
|
|
|
801
783
|
TransactionArgument,
|
|
802
784
|
TransactionArgument,
|
|
803
785
|
TransactionArgument,
|
|
804
|
-
TransactionArgument,
|
|
805
786
|
] {
|
|
806
787
|
const _args: any[] = [];
|
|
807
788
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
808
789
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
809
790
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
810
791
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
811
|
-
_args.push(transactionArgumentOrObject(args[4], tx));
|
|
812
792
|
|
|
813
793
|
// @ts-ignore
|
|
814
794
|
return tx.moveCall({
|
|
@@ -830,21 +810,14 @@ export namespace clob {
|
|
|
830
810
|
string | ObjectCallArg | TransactionArgument,
|
|
831
811
|
bigint | TransactionArgument,
|
|
832
812
|
string | ObjectCallArg | TransactionArgument,
|
|
833
|
-
string | ObjectCallArg | TransactionArgument,
|
|
834
813
|
],
|
|
835
814
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
836
815
|
): TransactionArgument &
|
|
837
|
-
[
|
|
838
|
-
TransactionArgument,
|
|
839
|
-
TransactionArgument,
|
|
840
|
-
TransactionArgument,
|
|
841
|
-
TransactionArgument,
|
|
842
|
-
] {
|
|
816
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
843
817
|
const _args: any[] = [];
|
|
844
818
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
845
819
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
846
820
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
847
|
-
_args.push(transactionArgumentOrObject(args[3], tx));
|
|
848
821
|
|
|
849
822
|
// @ts-ignore
|
|
850
823
|
return tx.moveCall({
|
|
@@ -866,21 +839,14 @@ export namespace clob {
|
|
|
866
839
|
string | ObjectCallArg | TransactionArgument,
|
|
867
840
|
bigint | TransactionArgument,
|
|
868
841
|
string | ObjectCallArg | TransactionArgument,
|
|
869
|
-
string | ObjectCallArg | TransactionArgument,
|
|
870
842
|
],
|
|
871
843
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
872
844
|
): TransactionArgument &
|
|
873
|
-
[
|
|
874
|
-
TransactionArgument,
|
|
875
|
-
TransactionArgument,
|
|
876
|
-
TransactionArgument,
|
|
877
|
-
TransactionArgument,
|
|
878
|
-
] {
|
|
845
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
879
846
|
const _args: any[] = [];
|
|
880
847
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
881
848
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
882
849
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
883
|
-
_args.push(transactionArgumentOrObject(args[3], tx));
|
|
884
850
|
|
|
885
851
|
// @ts-ignore
|
|
886
852
|
return tx.moveCall({
|
|
@@ -978,7 +944,7 @@ export namespace clob {
|
|
|
978
944
|
}
|
|
979
945
|
export async function createAccount(
|
|
980
946
|
client: SuiClient,
|
|
981
|
-
args: [
|
|
947
|
+
args: [],
|
|
982
948
|
): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
|
|
983
949
|
const tx = new TransactionBlock();
|
|
984
950
|
builder.createAccount(tx, args);
|
|
@@ -997,7 +963,6 @@ export namespace clob {
|
|
|
997
963
|
bigint | TransactionArgument,
|
|
998
964
|
bigint | TransactionArgument,
|
|
999
965
|
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
1000
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1001
966
|
],
|
|
1002
967
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1003
968
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -1160,7 +1125,6 @@ export namespace clob {
|
|
|
1160
1125
|
number | TransactionArgument,
|
|
1161
1126
|
string | ObjectCallArg | TransactionArgument,
|
|
1162
1127
|
string | ObjectCallArg | TransactionArgument,
|
|
1163
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1164
1128
|
],
|
|
1165
1129
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1166
1130
|
): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
|
|
@@ -1184,7 +1148,6 @@ export namespace clob {
|
|
|
1184
1148
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
1185
1149
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1186
1150
|
string | ObjectCallArg | TransactionArgument,
|
|
1187
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1188
1151
|
],
|
|
1189
1152
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1190
1153
|
): Promise<
|
|
@@ -1209,7 +1172,6 @@ export namespace clob {
|
|
|
1209
1172
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
1210
1173
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1211
1174
|
string | ObjectCallArg | TransactionArgument,
|
|
1212
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1213
1175
|
],
|
|
1214
1176
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1215
1177
|
): Promise<
|
|
@@ -1233,7 +1195,6 @@ export namespace clob {
|
|
|
1233
1195
|
bigint | TransactionArgument,
|
|
1234
1196
|
string | ObjectCallArg | TransactionArgument,
|
|
1235
1197
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1236
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1237
1198
|
],
|
|
1238
1199
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1239
1200
|
): Promise<
|
|
@@ -1256,7 +1217,6 @@ export namespace clob {
|
|
|
1256
1217
|
string | ObjectCallArg | TransactionArgument,
|
|
1257
1218
|
bigint | TransactionArgument,
|
|
1258
1219
|
string | ObjectCallArg | TransactionArgument,
|
|
1259
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1260
1220
|
],
|
|
1261
1221
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1262
1222
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -1277,7 +1237,6 @@ export namespace clob {
|
|
|
1277
1237
|
string | ObjectCallArg | TransactionArgument,
|
|
1278
1238
|
bigint | TransactionArgument,
|
|
1279
1239
|
string | ObjectCallArg | TransactionArgument,
|
|
1280
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1281
1240
|
],
|
|
1282
1241
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1283
1242
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
@@ -1693,10 +1652,9 @@ export namespace clob_v2 {
|
|
|
1693
1652
|
}
|
|
1694
1653
|
export function createAccount(
|
|
1695
1654
|
tx: TransactionBlock,
|
|
1696
|
-
args: [
|
|
1697
|
-
): TransactionArgument & [
|
|
1655
|
+
args: [],
|
|
1656
|
+
): TransactionArgument & [] {
|
|
1698
1657
|
const _args: any[] = [];
|
|
1699
|
-
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1700
1658
|
|
|
1701
1659
|
// @ts-ignore
|
|
1702
1660
|
return tx.moveCall({
|
|
@@ -1710,21 +1668,14 @@ export namespace clob_v2 {
|
|
|
1710
1668
|
bigint | TransactionArgument,
|
|
1711
1669
|
bigint | TransactionArgument,
|
|
1712
1670
|
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
1713
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1714
1671
|
],
|
|
1715
1672
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1716
1673
|
): TransactionArgument &
|
|
1717
|
-
[
|
|
1718
|
-
TransactionArgument,
|
|
1719
|
-
TransactionArgument,
|
|
1720
|
-
TransactionArgument,
|
|
1721
|
-
TransactionArgument,
|
|
1722
|
-
] {
|
|
1674
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
1723
1675
|
const _args: any[] = [];
|
|
1724
1676
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
1725
1677
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
1726
1678
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
1727
|
-
_args.push(transactionArgumentOrObject(args[3], tx));
|
|
1728
1679
|
|
|
1729
1680
|
// @ts-ignore
|
|
1730
1681
|
return tx.moveCall({
|
|
@@ -1960,7 +1911,6 @@ export namespace clob_v2 {
|
|
|
1960
1911
|
number | TransactionArgument,
|
|
1961
1912
|
string | ObjectCallArg | TransactionArgument,
|
|
1962
1913
|
string | ObjectCallArg | TransactionArgument,
|
|
1963
|
-
string | ObjectCallArg | TransactionArgument,
|
|
1964
1914
|
],
|
|
1965
1915
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1966
1916
|
): TransactionArgument &
|
|
@@ -1975,7 +1925,6 @@ export namespace clob_v2 {
|
|
|
1975
1925
|
TransactionArgument,
|
|
1976
1926
|
TransactionArgument,
|
|
1977
1927
|
TransactionArgument,
|
|
1978
|
-
TransactionArgument,
|
|
1979
1928
|
] {
|
|
1980
1929
|
const _args: any[] = [];
|
|
1981
1930
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -1988,7 +1937,6 @@ export namespace clob_v2 {
|
|
|
1988
1937
|
_args.push(transactionArgumentOrPure(args[7], tx));
|
|
1989
1938
|
_args.push(transactionArgumentOrObject(args[8], tx));
|
|
1990
1939
|
_args.push(transactionArgumentOrObject(args[9], tx));
|
|
1991
|
-
_args.push(transactionArgumentOrObject(args[10], tx));
|
|
1992
1940
|
|
|
1993
1941
|
// @ts-ignore
|
|
1994
1942
|
return tx.moveCall({
|
|
@@ -2015,7 +1963,6 @@ export namespace clob_v2 {
|
|
|
2015
1963
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2016
1964
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2017
1965
|
string | ObjectCallArg | TransactionArgument,
|
|
2018
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2019
1966
|
],
|
|
2020
1967
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2021
1968
|
): TransactionArgument &
|
|
@@ -2028,7 +1975,6 @@ export namespace clob_v2 {
|
|
|
2028
1975
|
TransactionArgument,
|
|
2029
1976
|
TransactionArgument,
|
|
2030
1977
|
TransactionArgument,
|
|
2031
|
-
TransactionArgument,
|
|
2032
1978
|
] {
|
|
2033
1979
|
const _args: any[] = [];
|
|
2034
1980
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2039,7 +1985,6 @@ export namespace clob_v2 {
|
|
|
2039
1985
|
_args.push(transactionArgumentOrPure(args[5], tx));
|
|
2040
1986
|
_args.push(transactionArgumentOrPure(args[6], tx));
|
|
2041
1987
|
_args.push(transactionArgumentOrObject(args[7], tx));
|
|
2042
|
-
_args.push(transactionArgumentOrObject(args[8], tx));
|
|
2043
1988
|
|
|
2044
1989
|
// @ts-ignore
|
|
2045
1990
|
return tx.moveCall({
|
|
@@ -2065,7 +2010,6 @@ export namespace clob_v2 {
|
|
|
2065
2010
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2066
2011
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2067
2012
|
string | ObjectCallArg | TransactionArgument,
|
|
2068
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2069
2013
|
],
|
|
2070
2014
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2071
2015
|
): TransactionArgument &
|
|
@@ -2077,7 +2021,6 @@ export namespace clob_v2 {
|
|
|
2077
2021
|
TransactionArgument,
|
|
2078
2022
|
TransactionArgument,
|
|
2079
2023
|
TransactionArgument,
|
|
2080
|
-
TransactionArgument,
|
|
2081
2024
|
] {
|
|
2082
2025
|
const _args: any[] = [];
|
|
2083
2026
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2087,7 +2030,6 @@ export namespace clob_v2 {
|
|
|
2087
2030
|
_args.push(transactionArgumentOrPure(args[4], tx));
|
|
2088
2031
|
_args.push(transactionArgumentOrPure(args[5], tx));
|
|
2089
2032
|
_args.push(transactionArgumentOrObject(args[6], tx));
|
|
2090
|
-
_args.push(transactionArgumentOrObject(args[7], tx));
|
|
2091
2033
|
|
|
2092
2034
|
// @ts-ignore
|
|
2093
2035
|
return tx.moveCall({
|
|
@@ -2112,7 +2054,6 @@ export namespace clob_v2 {
|
|
|
2112
2054
|
bigint | TransactionArgument,
|
|
2113
2055
|
string | ObjectCallArg | TransactionArgument,
|
|
2114
2056
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2115
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2116
2057
|
],
|
|
2117
2058
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2118
2059
|
): TransactionArgument &
|
|
@@ -2123,7 +2064,6 @@ export namespace clob_v2 {
|
|
|
2123
2064
|
TransactionArgument,
|
|
2124
2065
|
TransactionArgument,
|
|
2125
2066
|
TransactionArgument,
|
|
2126
|
-
TransactionArgument,
|
|
2127
2067
|
] {
|
|
2128
2068
|
const _args: any[] = [];
|
|
2129
2069
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2132,7 +2072,6 @@ export namespace clob_v2 {
|
|
|
2132
2072
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
2133
2073
|
_args.push(transactionArgumentOrObject(args[4], tx));
|
|
2134
2074
|
_args.push(transactionArgumentOrPure(args[5], tx));
|
|
2135
|
-
_args.push(transactionArgumentOrObject(args[6], tx));
|
|
2136
2075
|
|
|
2137
2076
|
// @ts-ignore
|
|
2138
2077
|
return tx.moveCall({
|
|
@@ -2154,21 +2093,14 @@ export namespace clob_v2 {
|
|
|
2154
2093
|
string | ObjectCallArg | TransactionArgument,
|
|
2155
2094
|
bigint | TransactionArgument,
|
|
2156
2095
|
string | ObjectCallArg | TransactionArgument,
|
|
2157
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2158
2096
|
],
|
|
2159
2097
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2160
2098
|
): TransactionArgument &
|
|
2161
|
-
[
|
|
2162
|
-
TransactionArgument,
|
|
2163
|
-
TransactionArgument,
|
|
2164
|
-
TransactionArgument,
|
|
2165
|
-
TransactionArgument,
|
|
2166
|
-
] {
|
|
2099
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
2167
2100
|
const _args: any[] = [];
|
|
2168
2101
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
2169
2102
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
2170
2103
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
2171
|
-
_args.push(transactionArgumentOrObject(args[3], tx));
|
|
2172
2104
|
|
|
2173
2105
|
// @ts-ignore
|
|
2174
2106
|
return tx.moveCall({
|
|
@@ -2190,21 +2122,14 @@ export namespace clob_v2 {
|
|
|
2190
2122
|
string | ObjectCallArg | TransactionArgument,
|
|
2191
2123
|
bigint | TransactionArgument,
|
|
2192
2124
|
string | ObjectCallArg | TransactionArgument,
|
|
2193
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2194
2125
|
],
|
|
2195
2126
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2196
2127
|
): TransactionArgument &
|
|
2197
|
-
[
|
|
2198
|
-
TransactionArgument,
|
|
2199
|
-
TransactionArgument,
|
|
2200
|
-
TransactionArgument,
|
|
2201
|
-
TransactionArgument,
|
|
2202
|
-
] {
|
|
2128
|
+
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
2203
2129
|
const _args: any[] = [];
|
|
2204
2130
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
2205
2131
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
2206
2132
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
2207
|
-
_args.push(transactionArgumentOrObject(args[3], tx));
|
|
2208
2133
|
|
|
2209
2134
|
// @ts-ignore
|
|
2210
2135
|
return tx.moveCall({
|
|
@@ -2323,7 +2248,7 @@ export namespace clob_v2 {
|
|
|
2323
2248
|
}
|
|
2324
2249
|
export async function createAccount(
|
|
2325
2250
|
client: SuiClient,
|
|
2326
|
-
args: [
|
|
2251
|
+
args: [],
|
|
2327
2252
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
2328
2253
|
const tx = new TransactionBlock();
|
|
2329
2254
|
builder.createAccount(tx, args);
|
|
@@ -2342,7 +2267,6 @@ export namespace clob_v2 {
|
|
|
2342
2267
|
bigint | TransactionArgument,
|
|
2343
2268
|
bigint | TransactionArgument,
|
|
2344
2269
|
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
2345
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2346
2270
|
],
|
|
2347
2271
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2348
2272
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2511,7 +2435,6 @@ export namespace clob_v2 {
|
|
|
2511
2435
|
number | TransactionArgument,
|
|
2512
2436
|
string | ObjectCallArg | TransactionArgument,
|
|
2513
2437
|
string | ObjectCallArg | TransactionArgument,
|
|
2514
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2515
2438
|
],
|
|
2516
2439
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2517
2440
|
): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
|
|
@@ -2537,7 +2460,6 @@ export namespace clob_v2 {
|
|
|
2537
2460
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2538
2461
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2539
2462
|
string | ObjectCallArg | TransactionArgument,
|
|
2540
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2541
2463
|
],
|
|
2542
2464
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2543
2465
|
): Promise<
|
|
@@ -2564,7 +2486,6 @@ export namespace clob_v2 {
|
|
|
2564
2486
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2565
2487
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2566
2488
|
string | ObjectCallArg | TransactionArgument,
|
|
2567
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2568
2489
|
],
|
|
2569
2490
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2570
2491
|
): Promise<
|
|
@@ -2590,7 +2511,6 @@ export namespace clob_v2 {
|
|
|
2590
2511
|
bigint | TransactionArgument,
|
|
2591
2512
|
string | ObjectCallArg | TransactionArgument,
|
|
2592
2513
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2593
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2594
2514
|
],
|
|
2595
2515
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2596
2516
|
): Promise<
|
|
@@ -2613,7 +2533,6 @@ export namespace clob_v2 {
|
|
|
2613
2533
|
string | ObjectCallArg | TransactionArgument,
|
|
2614
2534
|
bigint | TransactionArgument,
|
|
2615
2535
|
string | ObjectCallArg | TransactionArgument,
|
|
2616
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2617
2536
|
],
|
|
2618
2537
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2619
2538
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -2634,7 +2553,6 @@ export namespace clob_v2 {
|
|
|
2634
2553
|
string | ObjectCallArg | TransactionArgument,
|
|
2635
2554
|
bigint | TransactionArgument,
|
|
2636
2555
|
string | ObjectCallArg | TransactionArgument,
|
|
2637
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2638
2556
|
],
|
|
2639
2557
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2640
2558
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
@@ -2810,10 +2728,9 @@ export namespace custodian {
|
|
|
2810
2728
|
export namespace builder {
|
|
2811
2729
|
export function mintAccountCap(
|
|
2812
2730
|
tx: TransactionBlock,
|
|
2813
|
-
args: [
|
|
2814
|
-
): TransactionArgument & [
|
|
2731
|
+
args: [],
|
|
2732
|
+
): TransactionArgument & [] {
|
|
2815
2733
|
const _args: any[] = [];
|
|
2816
|
-
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
2817
2734
|
|
|
2818
2735
|
// @ts-ignore
|
|
2819
2736
|
return tx.moveCall({
|
|
@@ -2825,7 +2742,7 @@ export namespace custodian {
|
|
|
2825
2742
|
export namespace view {
|
|
2826
2743
|
export async function mintAccountCap(
|
|
2827
2744
|
client: SuiClient,
|
|
2828
|
-
args: [
|
|
2745
|
+
args: [],
|
|
2829
2746
|
): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
|
|
2830
2747
|
const tx = new TransactionBlock();
|
|
2831
2748
|
builder.mintAccountCap(tx, args);
|
|
@@ -2907,14 +2824,10 @@ export namespace custodian_v2 {
|
|
|
2907
2824
|
}
|
|
2908
2825
|
export function createChildAccountCap(
|
|
2909
2826
|
tx: TransactionBlock,
|
|
2910
|
-
args: [
|
|
2911
|
-
|
|
2912
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2913
|
-
],
|
|
2914
|
-
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
2827
|
+
args: [string | ObjectCallArg | TransactionArgument],
|
|
2828
|
+
): TransactionArgument & [TransactionArgument] {
|
|
2915
2829
|
const _args: any[] = [];
|
|
2916
2830
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
2917
|
-
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
2918
2831
|
|
|
2919
2832
|
// @ts-ignore
|
|
2920
2833
|
return tx.moveCall({
|
|
@@ -2955,10 +2868,7 @@ export namespace custodian_v2 {
|
|
|
2955
2868
|
}
|
|
2956
2869
|
export async function createChildAccountCap(
|
|
2957
2870
|
client: SuiClient,
|
|
2958
|
-
args: [
|
|
2959
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2960
|
-
string | ObjectCallArg | TransactionArgument,
|
|
2961
|
-
],
|
|
2871
|
+
args: [string | ObjectCallArg | TransactionArgument],
|
|
2962
2872
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
2963
2873
|
const tx = new TransactionBlock();
|
|
2964
2874
|
builder.createChildAccountCap(tx, args);
|