@typemove/sui 1.6.7 → 1.6.8-rc.1
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 +19 -19
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +127 -127
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +94 -94
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +137 -137
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +15 -15
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +89 -89
- 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 +54 -3
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/transaction.d.ts +11 -2
- package/dist/cjs/transaction.d.ts.map +1 -1
- package/dist/cjs/transaction.js +65 -1
- package/dist/cjs/transaction.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +19 -19
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +128 -128
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +94 -94
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +138 -138
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +15 -15
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +90 -90
- 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 +54 -3
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/transaction.d.ts +11 -2
- package/dist/esm/transaction.d.ts.map +1 -1
- package/dist/esm/transaction.js +55 -0
- package/dist/esm/transaction.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +174 -165
- package/src/builtin/0x2.ts +310 -301
- package/src/builtin/0x3.ts +123 -114
- package/src/codegen/codegen.ts +56 -3
- package/src/tests/abis/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.json +1356 -0
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +15 -6
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +98 -89
- package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +1440 -0
- package/src/tests/types/testnet/0xdee9.ts +127 -118
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +206 -197
- package/src/tests/types/testnet/index.ts +1 -0
- package/src/transaction.ts +97 -3
package/src/builtin/0x2.ts
CHANGED
|
@@ -22,8 +22,17 @@ import {
|
|
|
22
22
|
import { SuiClient } from "@mysten/sui/client";
|
|
23
23
|
import {
|
|
24
24
|
transactionArgumentOrObject,
|
|
25
|
-
transactionArgumentOrPure,
|
|
26
25
|
transactionArgumentOrVec,
|
|
26
|
+
transactionArgumentOrPure,
|
|
27
|
+
transactionArgumentOrPureU8,
|
|
28
|
+
transactionArgumentOrPureU16,
|
|
29
|
+
transactionArgumentOrPureU32,
|
|
30
|
+
transactionArgumentOrPureU64,
|
|
31
|
+
transactionArgumentOrPureU128,
|
|
32
|
+
transactionArgumentOrPureU256,
|
|
33
|
+
transactionArgumentOrPureBool,
|
|
34
|
+
transactionArgumentOrPureString,
|
|
35
|
+
transactionArgumentOrPureAddress,
|
|
27
36
|
} from "@typemove/sui";
|
|
28
37
|
|
|
29
38
|
import * as _0x1 from "./0x1.js";
|
|
@@ -61,7 +70,7 @@ export namespace address {
|
|
|
61
70
|
args: [bigint | TransactionArgument],
|
|
62
71
|
): TransactionArgument & [TransactionArgument] {
|
|
63
72
|
const _args: any[] = [];
|
|
64
|
-
_args.push(
|
|
73
|
+
_args.push(transactionArgumentOrPureU256(args[0], tx));
|
|
65
74
|
|
|
66
75
|
// @ts-ignore
|
|
67
76
|
return tx.moveCall({
|
|
@@ -95,7 +104,7 @@ export namespace address {
|
|
|
95
104
|
args: [string | TransactionArgument],
|
|
96
105
|
): TransactionArgument & [TransactionArgument] {
|
|
97
106
|
const _args: any[] = [];
|
|
98
|
-
_args.push(
|
|
107
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
99
108
|
|
|
100
109
|
// @ts-ignore
|
|
101
110
|
return tx.moveCall({
|
|
@@ -108,7 +117,7 @@ export namespace address {
|
|
|
108
117
|
args: [string | TransactionArgument],
|
|
109
118
|
): TransactionArgument & [TransactionArgument] {
|
|
110
119
|
const _args: any[] = [];
|
|
111
|
-
_args.push(
|
|
120
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
112
121
|
|
|
113
122
|
// @ts-ignore
|
|
114
123
|
return tx.moveCall({
|
|
@@ -121,7 +130,7 @@ export namespace address {
|
|
|
121
130
|
args: [string | TransactionArgument],
|
|
122
131
|
): TransactionArgument & [TransactionArgument] {
|
|
123
132
|
const _args: any[] = [];
|
|
124
|
-
_args.push(
|
|
133
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
125
134
|
|
|
126
135
|
// @ts-ignore
|
|
127
136
|
return tx.moveCall({
|
|
@@ -134,7 +143,7 @@ export namespace address {
|
|
|
134
143
|
args: [string | TransactionArgument],
|
|
135
144
|
): TransactionArgument & [TransactionArgument] {
|
|
136
145
|
const _args: any[] = [];
|
|
137
|
-
_args.push(
|
|
146
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
138
147
|
|
|
139
148
|
// @ts-ignore
|
|
140
149
|
return tx.moveCall({
|
|
@@ -673,7 +682,7 @@ export namespace bag {
|
|
|
673
682
|
T0 | TransactionArgument,
|
|
674
683
|
],
|
|
675
684
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
676
|
-
): Promise<TypedDevInspectResults<[
|
|
685
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
677
686
|
const tx = new Transaction();
|
|
678
687
|
builder.contains(tx, args, typeArguments);
|
|
679
688
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -681,7 +690,7 @@ export namespace bag {
|
|
|
681
690
|
sender: ZERO_ADDRESS,
|
|
682
691
|
});
|
|
683
692
|
|
|
684
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
693
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
685
694
|
inspectRes,
|
|
686
695
|
);
|
|
687
696
|
}
|
|
@@ -692,7 +701,7 @@ export namespace bag {
|
|
|
692
701
|
T0 | TransactionArgument,
|
|
693
702
|
],
|
|
694
703
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
695
|
-
): Promise<TypedDevInspectResults<[
|
|
704
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
696
705
|
const tx = new Transaction();
|
|
697
706
|
builder.containsWithType(tx, args, typeArguments);
|
|
698
707
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -700,7 +709,7 @@ export namespace bag {
|
|
|
700
709
|
sender: ZERO_ADDRESS,
|
|
701
710
|
});
|
|
702
711
|
|
|
703
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
712
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
704
713
|
inspectRes,
|
|
705
714
|
);
|
|
706
715
|
}
|
|
@@ -722,7 +731,7 @@ export namespace bag {
|
|
|
722
731
|
export async function isEmpty(
|
|
723
732
|
client: SuiClient,
|
|
724
733
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
725
|
-
): Promise<TypedDevInspectResults<[
|
|
734
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
726
735
|
const tx = new Transaction();
|
|
727
736
|
builder.isEmpty(tx, args);
|
|
728
737
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -730,7 +739,7 @@ export namespace bag {
|
|
|
730
739
|
sender: ZERO_ADDRESS,
|
|
731
740
|
});
|
|
732
741
|
|
|
733
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
742
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
734
743
|
inspectRes,
|
|
735
744
|
);
|
|
736
745
|
}
|
|
@@ -907,7 +916,7 @@ export namespace balance {
|
|
|
907
916
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
908
917
|
const _args: any[] = [];
|
|
909
918
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
910
|
-
_args.push(
|
|
919
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
911
920
|
|
|
912
921
|
// @ts-ignore
|
|
913
922
|
return tx.moveCall({
|
|
@@ -953,7 +962,7 @@ export namespace balance {
|
|
|
953
962
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
954
963
|
const _args: any[] = [];
|
|
955
964
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
956
|
-
_args.push(
|
|
965
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
957
966
|
|
|
958
967
|
// @ts-ignore
|
|
959
968
|
return tx.moveCall({
|
|
@@ -1688,7 +1697,7 @@ export namespace bcs {
|
|
|
1688
1697
|
export async function peelBool(
|
|
1689
1698
|
client: SuiClient,
|
|
1690
1699
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1691
|
-
): Promise<TypedDevInspectResults<[
|
|
1700
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1692
1701
|
const tx = new Transaction();
|
|
1693
1702
|
builder.peelBool(tx, args);
|
|
1694
1703
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -1696,7 +1705,7 @@ export namespace bcs {
|
|
|
1696
1705
|
sender: ZERO_ADDRESS,
|
|
1697
1706
|
});
|
|
1698
1707
|
|
|
1699
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
1708
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
1700
1709
|
inspectRes,
|
|
1701
1710
|
);
|
|
1702
1711
|
}
|
|
@@ -1718,7 +1727,7 @@ export namespace bcs {
|
|
|
1718
1727
|
export async function peelOptionBool(
|
|
1719
1728
|
client: SuiClient,
|
|
1720
1729
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1721
|
-
): Promise<TypedDevInspectResults<[_0x1.option.Option<
|
|
1730
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<boolean>]>> {
|
|
1722
1731
|
const tx = new Transaction();
|
|
1723
1732
|
builder.peelOptionBool(tx, args);
|
|
1724
1733
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -1727,7 +1736,7 @@ export namespace bcs {
|
|
|
1727
1736
|
});
|
|
1728
1737
|
|
|
1729
1738
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1730
|
-
[_0x1.option.Option<
|
|
1739
|
+
[_0x1.option.Option<boolean>]
|
|
1731
1740
|
>(inspectRes);
|
|
1732
1741
|
}
|
|
1733
1742
|
export async function peelOptionU128(
|
|
@@ -1928,7 +1937,7 @@ export namespace bcs {
|
|
|
1928
1937
|
export async function peelVecBool(
|
|
1929
1938
|
client: SuiClient,
|
|
1930
1939
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1931
|
-
): Promise<TypedDevInspectResults<[
|
|
1940
|
+
): Promise<TypedDevInspectResults<[boolean[]]>> {
|
|
1932
1941
|
const tx = new Transaction();
|
|
1933
1942
|
builder.peelVecBool(tx, args);
|
|
1934
1943
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -1936,7 +1945,7 @@ export namespace bcs {
|
|
|
1936
1945
|
sender: ZERO_ADDRESS,
|
|
1937
1946
|
});
|
|
1938
1947
|
|
|
1939
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
1948
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean[]]>(
|
|
1940
1949
|
inspectRes,
|
|
1941
1950
|
);
|
|
1942
1951
|
}
|
|
@@ -2081,7 +2090,7 @@ export namespace bcs {
|
|
|
2081
2090
|
|
|
2082
2091
|
export namespace bls12381 {
|
|
2083
2092
|
export interface G1 {
|
|
2084
|
-
dummy_field:
|
|
2093
|
+
dummy_field: boolean;
|
|
2085
2094
|
}
|
|
2086
2095
|
|
|
2087
2096
|
export namespace G1 {
|
|
@@ -2095,7 +2104,7 @@ export namespace bls12381 {
|
|
|
2095
2104
|
}
|
|
2096
2105
|
|
|
2097
2106
|
export interface G2 {
|
|
2098
|
-
dummy_field:
|
|
2107
|
+
dummy_field: boolean;
|
|
2099
2108
|
}
|
|
2100
2109
|
|
|
2101
2110
|
export namespace G2 {
|
|
@@ -2109,7 +2118,7 @@ export namespace bls12381 {
|
|
|
2109
2118
|
}
|
|
2110
2119
|
|
|
2111
2120
|
export interface GT {
|
|
2112
|
-
dummy_field:
|
|
2121
|
+
dummy_field: boolean;
|
|
2113
2122
|
}
|
|
2114
2123
|
|
|
2115
2124
|
export namespace GT {
|
|
@@ -2123,7 +2132,7 @@ export namespace bls12381 {
|
|
|
2123
2132
|
}
|
|
2124
2133
|
|
|
2125
2134
|
export interface Scalar {
|
|
2126
|
-
dummy_field:
|
|
2135
|
+
dummy_field: boolean;
|
|
2127
2136
|
}
|
|
2128
2137
|
|
|
2129
2138
|
export namespace Scalar {
|
|
@@ -2647,7 +2656,7 @@ export namespace bls12381 {
|
|
|
2647
2656
|
args: [bigint | TransactionArgument],
|
|
2648
2657
|
): TransactionArgument & [TransactionArgument] {
|
|
2649
2658
|
const _args: any[] = [];
|
|
2650
|
-
_args.push(
|
|
2659
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
2651
2660
|
|
|
2652
2661
|
// @ts-ignore
|
|
2653
2662
|
return tx.moveCall({
|
|
@@ -2748,7 +2757,7 @@ export namespace bls12381 {
|
|
|
2748
2757
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2749
2758
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2750
2759
|
],
|
|
2751
|
-
): Promise<TypedDevInspectResults<[
|
|
2760
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
2752
2761
|
const tx = new Transaction();
|
|
2753
2762
|
builder.bls12381MinPkVerify(tx, args);
|
|
2754
2763
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -2756,7 +2765,7 @@ export namespace bls12381 {
|
|
|
2756
2765
|
sender: ZERO_ADDRESS,
|
|
2757
2766
|
});
|
|
2758
2767
|
|
|
2759
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
2768
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
2760
2769
|
inspectRes,
|
|
2761
2770
|
);
|
|
2762
2771
|
}
|
|
@@ -2767,7 +2776,7 @@ export namespace bls12381 {
|
|
|
2767
2776
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2768
2777
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2769
2778
|
],
|
|
2770
|
-
): Promise<TypedDevInspectResults<[
|
|
2779
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
2771
2780
|
const tx = new Transaction();
|
|
2772
2781
|
builder.bls12381MinSigVerify(tx, args);
|
|
2773
2782
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -2775,7 +2784,7 @@ export namespace bls12381 {
|
|
|
2775
2784
|
sender: ZERO_ADDRESS,
|
|
2776
2785
|
});
|
|
2777
2786
|
|
|
2778
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
2787
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
2779
2788
|
inspectRes,
|
|
2780
2789
|
);
|
|
2781
2790
|
}
|
|
@@ -3726,7 +3735,7 @@ export namespace coin {
|
|
|
3726
3735
|
|
|
3727
3736
|
export interface DenyCapV2<T0> {
|
|
3728
3737
|
id: object_.UID;
|
|
3729
|
-
allow_global_pause:
|
|
3738
|
+
allow_global_pause: boolean;
|
|
3730
3739
|
}
|
|
3731
3740
|
|
|
3732
3741
|
export namespace DenyCapV2 {
|
|
@@ -3862,7 +3871,7 @@ export namespace coin {
|
|
|
3862
3871
|
] {
|
|
3863
3872
|
const _args: any[] = [];
|
|
3864
3873
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
3865
|
-
_args.push(
|
|
3874
|
+
_args.push(transactionArgumentOrPureU8(args[1], tx));
|
|
3866
3875
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
3867
3876
|
_args.push(transactionArgumentOrVec(args[3], tx));
|
|
3868
3877
|
_args.push(transactionArgumentOrVec(args[4], tx));
|
|
@@ -3901,7 +3910,7 @@ export namespace coin {
|
|
|
3901
3910
|
] {
|
|
3902
3911
|
const _args: any[] = [];
|
|
3903
3912
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
3904
|
-
_args.push(
|
|
3913
|
+
_args.push(transactionArgumentOrPureU8(args[1], tx));
|
|
3905
3914
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
3906
3915
|
_args.push(transactionArgumentOrVec(args[3], tx));
|
|
3907
3916
|
_args.push(transactionArgumentOrVec(args[4], tx));
|
|
@@ -3927,7 +3936,7 @@ export namespace coin {
|
|
|
3927
3936
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3928
3937
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3929
3938
|
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
3930
|
-
|
|
3939
|
+
boolean | TransactionArgument,
|
|
3931
3940
|
],
|
|
3932
3941
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3933
3942
|
): TransactionArgument &
|
|
@@ -3942,12 +3951,12 @@ export namespace coin {
|
|
|
3942
3951
|
] {
|
|
3943
3952
|
const _args: any[] = [];
|
|
3944
3953
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
3945
|
-
_args.push(
|
|
3954
|
+
_args.push(transactionArgumentOrPureU8(args[1], tx));
|
|
3946
3955
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
3947
3956
|
_args.push(transactionArgumentOrVec(args[3], tx));
|
|
3948
3957
|
_args.push(transactionArgumentOrVec(args[4], tx));
|
|
3949
3958
|
_args.push(transactionArgumentOrPure(args[5], tx));
|
|
3950
|
-
_args.push(
|
|
3959
|
+
_args.push(transactionArgumentOrPureBool(args[6], tx));
|
|
3951
3960
|
|
|
3952
3961
|
// @ts-ignore
|
|
3953
3962
|
return tx.moveCall({
|
|
@@ -3973,7 +3982,7 @@ export namespace coin {
|
|
|
3973
3982
|
const _args: any[] = [];
|
|
3974
3983
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
3975
3984
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
3976
|
-
_args.push(
|
|
3985
|
+
_args.push(transactionArgumentOrPureAddress(args[2], tx));
|
|
3977
3986
|
|
|
3978
3987
|
// @ts-ignore
|
|
3979
3988
|
return tx.moveCall({
|
|
@@ -3996,7 +4005,7 @@ export namespace coin {
|
|
|
3996
4005
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
3997
4006
|
const _args: any[] = [];
|
|
3998
4007
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
3999
|
-
_args.push(
|
|
4008
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
4000
4009
|
|
|
4001
4010
|
// @ts-ignore
|
|
4002
4011
|
return tx.moveCall({
|
|
@@ -4022,7 +4031,7 @@ export namespace coin {
|
|
|
4022
4031
|
const _args: any[] = [];
|
|
4023
4032
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4024
4033
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
4025
|
-
_args.push(
|
|
4034
|
+
_args.push(transactionArgumentOrPureAddress(args[2], tx));
|
|
4026
4035
|
|
|
4027
4036
|
// @ts-ignore
|
|
4028
4037
|
return tx.moveCall({
|
|
@@ -4048,7 +4057,7 @@ export namespace coin {
|
|
|
4048
4057
|
const _args: any[] = [];
|
|
4049
4058
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4050
4059
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
4051
|
-
_args.push(
|
|
4060
|
+
_args.push(transactionArgumentOrPureAddress(args[2], tx));
|
|
4052
4061
|
|
|
4053
4062
|
// @ts-ignore
|
|
4054
4063
|
return tx.moveCall({
|
|
@@ -4071,7 +4080,7 @@ export namespace coin {
|
|
|
4071
4080
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4072
4081
|
const _args: any[] = [];
|
|
4073
4082
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4074
|
-
_args.push(
|
|
4083
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
4075
4084
|
|
|
4076
4085
|
// @ts-ignore
|
|
4077
4086
|
return tx.moveCall({
|
|
@@ -4094,7 +4103,7 @@ export namespace coin {
|
|
|
4094
4103
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4095
4104
|
const _args: any[] = [];
|
|
4096
4105
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4097
|
-
_args.push(
|
|
4106
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
4098
4107
|
|
|
4099
4108
|
// @ts-ignore
|
|
4100
4109
|
return tx.moveCall({
|
|
@@ -4204,7 +4213,7 @@ export namespace coin {
|
|
|
4204
4213
|
const _args: any[] = [];
|
|
4205
4214
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4206
4215
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
4207
|
-
_args.push(
|
|
4216
|
+
_args.push(transactionArgumentOrPureAddress(args[2], tx));
|
|
4208
4217
|
|
|
4209
4218
|
// @ts-ignore
|
|
4210
4219
|
return tx.moveCall({
|
|
@@ -4246,7 +4255,7 @@ export namespace coin {
|
|
|
4246
4255
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4247
4256
|
const _args: any[] = [];
|
|
4248
4257
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4249
|
-
_args.push(
|
|
4258
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
4250
4259
|
|
|
4251
4260
|
// @ts-ignore
|
|
4252
4261
|
return tx.moveCall({
|
|
@@ -4420,7 +4429,7 @@ export namespace coin {
|
|
|
4420
4429
|
args: [
|
|
4421
4430
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4422
4431
|
coin.DenyCap<T0> | TransactionArgument,
|
|
4423
|
-
|
|
4432
|
+
boolean | TransactionArgument,
|
|
4424
4433
|
],
|
|
4425
4434
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4426
4435
|
): TransactionArgument &
|
|
@@ -4428,7 +4437,7 @@ export namespace coin {
|
|
|
4428
4437
|
const _args: any[] = [];
|
|
4429
4438
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4430
4439
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
4431
|
-
_args.push(
|
|
4440
|
+
_args.push(transactionArgumentOrPureBool(args[2], tx));
|
|
4432
4441
|
|
|
4433
4442
|
// @ts-ignore
|
|
4434
4443
|
return tx.moveCall({
|
|
@@ -4451,7 +4460,7 @@ export namespace coin {
|
|
|
4451
4460
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4452
4461
|
const _args: any[] = [];
|
|
4453
4462
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4454
|
-
_args.push(
|
|
4463
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
4455
4464
|
|
|
4456
4465
|
// @ts-ignore
|
|
4457
4466
|
return tx.moveCall({
|
|
@@ -4476,8 +4485,8 @@ export namespace coin {
|
|
|
4476
4485
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
4477
4486
|
const _args: any[] = [];
|
|
4478
4487
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4479
|
-
_args.push(
|
|
4480
|
-
_args.push(
|
|
4488
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
4489
|
+
_args.push(transactionArgumentOrPureAddress(args[2], tx));
|
|
4481
4490
|
|
|
4482
4491
|
// @ts-ignore
|
|
4483
4492
|
return tx.moveCall({
|
|
@@ -4500,7 +4509,7 @@ export namespace coin {
|
|
|
4500
4509
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4501
4510
|
const _args: any[] = [];
|
|
4502
4511
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4503
|
-
_args.push(
|
|
4512
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
4504
4513
|
|
|
4505
4514
|
// @ts-ignore
|
|
4506
4515
|
return tx.moveCall({
|
|
@@ -4546,7 +4555,7 @@ export namespace coin {
|
|
|
4546
4555
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4547
4556
|
const _args: any[] = [];
|
|
4548
4557
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4549
|
-
_args.push(
|
|
4558
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
4550
4559
|
|
|
4551
4560
|
// @ts-ignore
|
|
4552
4561
|
return tx.moveCall({
|
|
@@ -4626,7 +4635,7 @@ export namespace coin {
|
|
|
4626
4635
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4627
4636
|
const _args: any[] = [];
|
|
4628
4637
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4629
|
-
_args.push(
|
|
4638
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
4630
4639
|
|
|
4631
4640
|
// @ts-ignore
|
|
4632
4641
|
return tx.moveCall({
|
|
@@ -4932,7 +4941,7 @@ export namespace coin {
|
|
|
4932
4941
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4933
4942
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4934
4943
|
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
4935
|
-
|
|
4944
|
+
boolean | TransactionArgument,
|
|
4936
4945
|
],
|
|
4937
4946
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4938
4947
|
): Promise<
|
|
@@ -4978,7 +4987,7 @@ export namespace coin {
|
|
|
4978
4987
|
string | TransactionArgument,
|
|
4979
4988
|
],
|
|
4980
4989
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4981
|
-
): Promise<TypedDevInspectResults<[
|
|
4990
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
4982
4991
|
const tx = new Transaction();
|
|
4983
4992
|
builder.denyListContains(tx, args, typeArguments);
|
|
4984
4993
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -4986,7 +4995,7 @@ export namespace coin {
|
|
|
4986
4995
|
sender: ZERO_ADDRESS,
|
|
4987
4996
|
});
|
|
4988
4997
|
|
|
4989
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
4998
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
4990
4999
|
inspectRes,
|
|
4991
5000
|
);
|
|
4992
5001
|
}
|
|
@@ -5037,7 +5046,7 @@ export namespace coin {
|
|
|
5037
5046
|
string | TransactionArgument,
|
|
5038
5047
|
],
|
|
5039
5048
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5040
|
-
): Promise<TypedDevInspectResults<[
|
|
5049
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
5041
5050
|
const tx = new Transaction();
|
|
5042
5051
|
builder.denyListV2ContainsCurrentEpoch(tx, args, typeArguments);
|
|
5043
5052
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -5045,7 +5054,7 @@ export namespace coin {
|
|
|
5045
5054
|
sender: ZERO_ADDRESS,
|
|
5046
5055
|
});
|
|
5047
5056
|
|
|
5048
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
5057
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
5049
5058
|
inspectRes,
|
|
5050
5059
|
);
|
|
5051
5060
|
}
|
|
@@ -5056,7 +5065,7 @@ export namespace coin {
|
|
|
5056
5065
|
string | TransactionArgument,
|
|
5057
5066
|
],
|
|
5058
5067
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5059
|
-
): Promise<TypedDevInspectResults<[
|
|
5068
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
5060
5069
|
const tx = new Transaction();
|
|
5061
5070
|
builder.denyListV2ContainsNextEpoch(tx, args, typeArguments);
|
|
5062
5071
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -5064,7 +5073,7 @@ export namespace coin {
|
|
|
5064
5073
|
sender: ZERO_ADDRESS,
|
|
5065
5074
|
});
|
|
5066
5075
|
|
|
5067
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
5076
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
5068
5077
|
inspectRes,
|
|
5069
5078
|
);
|
|
5070
5079
|
}
|
|
@@ -5110,7 +5119,7 @@ export namespace coin {
|
|
|
5110
5119
|
client: SuiClient,
|
|
5111
5120
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5112
5121
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5113
|
-
): Promise<TypedDevInspectResults<[
|
|
5122
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
5114
5123
|
const tx = new Transaction();
|
|
5115
5124
|
builder.denyListV2IsGlobalPauseEnabledCurrentEpoch(
|
|
5116
5125
|
tx,
|
|
@@ -5122,7 +5131,7 @@ export namespace coin {
|
|
|
5122
5131
|
sender: ZERO_ADDRESS,
|
|
5123
5132
|
});
|
|
5124
5133
|
|
|
5125
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
5134
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
5126
5135
|
inspectRes,
|
|
5127
5136
|
);
|
|
5128
5137
|
}
|
|
@@ -5130,7 +5139,7 @@ export namespace coin {
|
|
|
5130
5139
|
client: SuiClient,
|
|
5131
5140
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5132
5141
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5133
|
-
): Promise<TypedDevInspectResults<[
|
|
5142
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
5134
5143
|
const tx = new Transaction();
|
|
5135
5144
|
builder.denyListV2IsGlobalPauseEnabledNextEpoch(tx, args, typeArguments);
|
|
5136
5145
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -5138,7 +5147,7 @@ export namespace coin {
|
|
|
5138
5147
|
sender: ZERO_ADDRESS,
|
|
5139
5148
|
});
|
|
5140
5149
|
|
|
5141
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
5150
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
5142
5151
|
inspectRes,
|
|
5143
5152
|
);
|
|
5144
5153
|
}
|
|
@@ -5333,7 +5342,7 @@ export namespace coin {
|
|
|
5333
5342
|
args: [
|
|
5334
5343
|
string | TransactionObjectArgument | TransactionArgument,
|
|
5335
5344
|
coin.DenyCap<T0> | TransactionArgument,
|
|
5336
|
-
|
|
5345
|
+
boolean | TransactionArgument,
|
|
5337
5346
|
],
|
|
5338
5347
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5339
5348
|
): Promise<TypedDevInspectResults<[coin.DenyCapV2<T0>]>> {
|
|
@@ -5995,7 +6004,7 @@ export namespace config {
|
|
|
5995
6004
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
5996
6005
|
const _args: any[] = [];
|
|
5997
6006
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
5998
|
-
_args.push(
|
|
6007
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
5999
6008
|
|
|
6000
6009
|
// @ts-ignore
|
|
6001
6010
|
return tx.moveCall({
|
|
@@ -6070,7 +6079,7 @@ export namespace config {
|
|
|
6070
6079
|
TypeDescriptor<T1> | string,
|
|
6071
6080
|
TypeDescriptor<T2> | string,
|
|
6072
6081
|
],
|
|
6073
|
-
): Promise<TypedDevInspectResults<[
|
|
6082
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6074
6083
|
const tx = new Transaction();
|
|
6075
6084
|
builder.existsWithType(tx, args, typeArguments);
|
|
6076
6085
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -6078,7 +6087,7 @@ export namespace config {
|
|
|
6078
6087
|
sender: ZERO_ADDRESS,
|
|
6079
6088
|
});
|
|
6080
6089
|
|
|
6081
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
6090
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
6082
6091
|
inspectRes,
|
|
6083
6092
|
);
|
|
6084
6093
|
}
|
|
@@ -6097,7 +6106,7 @@ export namespace config {
|
|
|
6097
6106
|
TypeDescriptor<T1> | string,
|
|
6098
6107
|
TypeDescriptor<T2> | string,
|
|
6099
6108
|
],
|
|
6100
|
-
): Promise<TypedDevInspectResults<[
|
|
6109
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6101
6110
|
const tx = new Transaction();
|
|
6102
6111
|
builder.existsWithTypeForNextEpoch(tx, args, typeArguments);
|
|
6103
6112
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -6105,7 +6114,7 @@ export namespace config {
|
|
|
6105
6114
|
sender: ZERO_ADDRESS,
|
|
6106
6115
|
});
|
|
6107
6116
|
|
|
6108
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
6117
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
6109
6118
|
inspectRes,
|
|
6110
6119
|
);
|
|
6111
6120
|
}
|
|
@@ -6267,7 +6276,7 @@ export namespace deny_list {
|
|
|
6267
6276
|
}
|
|
6268
6277
|
|
|
6269
6278
|
export interface ConfigWriteCap {
|
|
6270
|
-
dummy_field:
|
|
6279
|
+
dummy_field: boolean;
|
|
6271
6280
|
}
|
|
6272
6281
|
|
|
6273
6282
|
export namespace ConfigWriteCap {
|
|
@@ -6296,7 +6305,7 @@ export namespace deny_list {
|
|
|
6296
6305
|
}
|
|
6297
6306
|
|
|
6298
6307
|
export interface GlobalPauseKey {
|
|
6299
|
-
dummy_field:
|
|
6308
|
+
dummy_field: boolean;
|
|
6300
6309
|
}
|
|
6301
6310
|
|
|
6302
6311
|
export namespace GlobalPauseKey {
|
|
@@ -6366,7 +6375,7 @@ export namespace deny_list {
|
|
|
6366
6375
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6367
6376
|
const _args: any[] = [];
|
|
6368
6377
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6369
|
-
_args.push(
|
|
6378
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6370
6379
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6371
6380
|
|
|
6372
6381
|
// @ts-ignore
|
|
@@ -6392,9 +6401,9 @@ export namespace deny_list {
|
|
|
6392
6401
|
] {
|
|
6393
6402
|
const _args: any[] = [];
|
|
6394
6403
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6395
|
-
_args.push(
|
|
6404
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6396
6405
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6397
|
-
_args.push(
|
|
6406
|
+
_args.push(transactionArgumentOrPureAddress(args[3], tx));
|
|
6398
6407
|
|
|
6399
6408
|
// @ts-ignore
|
|
6400
6409
|
return tx.moveCall({
|
|
@@ -6419,9 +6428,9 @@ export namespace deny_list {
|
|
|
6419
6428
|
] {
|
|
6420
6429
|
const _args: any[] = [];
|
|
6421
6430
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6422
|
-
_args.push(
|
|
6431
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6423
6432
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6424
|
-
_args.push(
|
|
6433
|
+
_args.push(transactionArgumentOrPureAddress(args[3], tx));
|
|
6425
6434
|
|
|
6426
6435
|
// @ts-ignore
|
|
6427
6436
|
return tx.moveCall({
|
|
@@ -6446,9 +6455,9 @@ export namespace deny_list {
|
|
|
6446
6455
|
] {
|
|
6447
6456
|
const _args: any[] = [];
|
|
6448
6457
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6449
|
-
_args.push(
|
|
6458
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6450
6459
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6451
|
-
_args.push(
|
|
6460
|
+
_args.push(transactionArgumentOrPureAddress(args[3], tx));
|
|
6452
6461
|
|
|
6453
6462
|
// @ts-ignore
|
|
6454
6463
|
return tx.moveCall({
|
|
@@ -6473,9 +6482,9 @@ export namespace deny_list {
|
|
|
6473
6482
|
] {
|
|
6474
6483
|
const _args: any[] = [];
|
|
6475
6484
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6476
|
-
_args.push(
|
|
6485
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6477
6486
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6478
|
-
_args.push(
|
|
6487
|
+
_args.push(transactionArgumentOrPureAddress(args[3], tx));
|
|
6479
6488
|
|
|
6480
6489
|
// @ts-ignore
|
|
6481
6490
|
return tx.moveCall({
|
|
@@ -6500,9 +6509,9 @@ export namespace deny_list {
|
|
|
6500
6509
|
] {
|
|
6501
6510
|
const _args: any[] = [];
|
|
6502
6511
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6503
|
-
_args.push(
|
|
6512
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6504
6513
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6505
|
-
_args.push(
|
|
6514
|
+
_args.push(transactionArgumentOrPureAddress(args[3], tx));
|
|
6506
6515
|
|
|
6507
6516
|
// @ts-ignore
|
|
6508
6517
|
return tx.moveCall({
|
|
@@ -6527,9 +6536,9 @@ export namespace deny_list {
|
|
|
6527
6536
|
] {
|
|
6528
6537
|
const _args: any[] = [];
|
|
6529
6538
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6530
|
-
_args.push(
|
|
6539
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6531
6540
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6532
|
-
_args.push(
|
|
6541
|
+
_args.push(transactionArgumentOrPureAddress(args[3], tx));
|
|
6533
6542
|
|
|
6534
6543
|
// @ts-ignore
|
|
6535
6544
|
return tx.moveCall({
|
|
@@ -6548,7 +6557,7 @@ export namespace deny_list {
|
|
|
6548
6557
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6549
6558
|
const _args: any[] = [];
|
|
6550
6559
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6551
|
-
_args.push(
|
|
6560
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6552
6561
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6553
6562
|
|
|
6554
6563
|
// @ts-ignore
|
|
@@ -6568,7 +6577,7 @@ export namespace deny_list {
|
|
|
6568
6577
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6569
6578
|
const _args: any[] = [];
|
|
6570
6579
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6571
|
-
_args.push(
|
|
6580
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6572
6581
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6573
6582
|
|
|
6574
6583
|
// @ts-ignore
|
|
@@ -6588,7 +6597,7 @@ export namespace deny_list {
|
|
|
6588
6597
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6589
6598
|
const _args: any[] = [];
|
|
6590
6599
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6591
|
-
_args.push(
|
|
6600
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6592
6601
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6593
6602
|
|
|
6594
6603
|
// @ts-ignore
|
|
@@ -6608,7 +6617,7 @@ export namespace deny_list {
|
|
|
6608
6617
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
6609
6618
|
const _args: any[] = [];
|
|
6610
6619
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6611
|
-
_args.push(
|
|
6620
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6612
6621
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6613
6622
|
|
|
6614
6623
|
// @ts-ignore
|
|
@@ -6634,9 +6643,9 @@ export namespace deny_list {
|
|
|
6634
6643
|
] {
|
|
6635
6644
|
const _args: any[] = [];
|
|
6636
6645
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
6637
|
-
_args.push(
|
|
6646
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
6638
6647
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
6639
|
-
_args.push(
|
|
6648
|
+
_args.push(transactionArgumentOrPureAddress(args[3], tx));
|
|
6640
6649
|
|
|
6641
6650
|
// @ts-ignore
|
|
6642
6651
|
return tx.moveCall({
|
|
@@ -6693,7 +6702,7 @@ export namespace deny_list {
|
|
|
6693
6702
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6694
6703
|
string | TransactionArgument,
|
|
6695
6704
|
],
|
|
6696
|
-
): Promise<TypedDevInspectResults<[
|
|
6705
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6697
6706
|
const tx = new Transaction();
|
|
6698
6707
|
builder.v1Contains(tx, args);
|
|
6699
6708
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -6701,7 +6710,7 @@ export namespace deny_list {
|
|
|
6701
6710
|
sender: ZERO_ADDRESS,
|
|
6702
6711
|
});
|
|
6703
6712
|
|
|
6704
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
6713
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
6705
6714
|
inspectRes,
|
|
6706
6715
|
);
|
|
6707
6716
|
}
|
|
@@ -6753,7 +6762,7 @@ export namespace deny_list {
|
|
|
6753
6762
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6754
6763
|
string | TransactionArgument,
|
|
6755
6764
|
],
|
|
6756
|
-
): Promise<TypedDevInspectResults<[
|
|
6765
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6757
6766
|
const tx = new Transaction();
|
|
6758
6767
|
builder.v2ContainsCurrentEpoch(tx, args);
|
|
6759
6768
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -6761,7 +6770,7 @@ export namespace deny_list {
|
|
|
6761
6770
|
sender: ZERO_ADDRESS,
|
|
6762
6771
|
});
|
|
6763
6772
|
|
|
6764
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
6773
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
6765
6774
|
inspectRes,
|
|
6766
6775
|
);
|
|
6767
6776
|
}
|
|
@@ -6773,7 +6782,7 @@ export namespace deny_list {
|
|
|
6773
6782
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6774
6783
|
string | TransactionArgument,
|
|
6775
6784
|
],
|
|
6776
|
-
): Promise<TypedDevInspectResults<[
|
|
6785
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6777
6786
|
const tx = new Transaction();
|
|
6778
6787
|
builder.v2ContainsNextEpoch(tx, args);
|
|
6779
6788
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -6781,7 +6790,7 @@ export namespace deny_list {
|
|
|
6781
6790
|
sender: ZERO_ADDRESS,
|
|
6782
6791
|
});
|
|
6783
6792
|
|
|
6784
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
6793
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
6785
6794
|
inspectRes,
|
|
6786
6795
|
);
|
|
6787
6796
|
}
|
|
@@ -6830,7 +6839,7 @@ export namespace deny_list {
|
|
|
6830
6839
|
bigint | TransactionArgument,
|
|
6831
6840
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6832
6841
|
],
|
|
6833
|
-
): Promise<TypedDevInspectResults<[
|
|
6842
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6834
6843
|
const tx = new Transaction();
|
|
6835
6844
|
builder.v2IsGlobalPauseEnabledCurrentEpoch(tx, args);
|
|
6836
6845
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -6838,7 +6847,7 @@ export namespace deny_list {
|
|
|
6838
6847
|
sender: ZERO_ADDRESS,
|
|
6839
6848
|
});
|
|
6840
6849
|
|
|
6841
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
6850
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
6842
6851
|
inspectRes,
|
|
6843
6852
|
);
|
|
6844
6853
|
}
|
|
@@ -6849,7 +6858,7 @@ export namespace deny_list {
|
|
|
6849
6858
|
bigint | TransactionArgument,
|
|
6850
6859
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
6851
6860
|
],
|
|
6852
|
-
): Promise<TypedDevInspectResults<[
|
|
6861
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6853
6862
|
const tx = new Transaction();
|
|
6854
6863
|
builder.v2IsGlobalPauseEnabledNextEpoch(tx, args);
|
|
6855
6864
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -6857,7 +6866,7 @@ export namespace deny_list {
|
|
|
6857
6866
|
sender: ZERO_ADDRESS,
|
|
6858
6867
|
});
|
|
6859
6868
|
|
|
6860
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
6869
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
6861
6870
|
inspectRes,
|
|
6862
6871
|
);
|
|
6863
6872
|
}
|
|
@@ -7293,7 +7302,7 @@ export namespace display {
|
|
|
7293
7302
|
client: SuiClient,
|
|
7294
7303
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
7295
7304
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7296
|
-
): Promise<TypedDevInspectResults<[
|
|
7305
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
7297
7306
|
const tx = new Transaction();
|
|
7298
7307
|
builder.isAuthorized(tx, args, typeArguments);
|
|
7299
7308
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -7301,7 +7310,7 @@ export namespace display {
|
|
|
7301
7310
|
sender: ZERO_ADDRESS,
|
|
7302
7311
|
});
|
|
7303
7312
|
|
|
7304
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
7313
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
7305
7314
|
inspectRes,
|
|
7306
7315
|
);
|
|
7307
7316
|
}
|
|
@@ -7451,7 +7460,7 @@ export namespace dynamic_field {
|
|
|
7451
7460
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7452
7461
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
7453
7462
|
const _args: any[] = [];
|
|
7454
|
-
_args.push(
|
|
7463
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
7455
7464
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
7456
7465
|
|
|
7457
7466
|
// @ts-ignore
|
|
@@ -7501,7 +7510,7 @@ export namespace dynamic_field {
|
|
|
7501
7510
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
7502
7511
|
const _args: any[] = [];
|
|
7503
7512
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
7504
|
-
_args.push(
|
|
7513
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
7505
7514
|
|
|
7506
7515
|
// @ts-ignore
|
|
7507
7516
|
return tx.moveCall({
|
|
@@ -7524,7 +7533,7 @@ export namespace dynamic_field {
|
|
|
7524
7533
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
7525
7534
|
const _args: any[] = [];
|
|
7526
7535
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
7527
|
-
_args.push(
|
|
7536
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
7528
7537
|
|
|
7529
7538
|
// @ts-ignore
|
|
7530
7539
|
return tx.moveCall({
|
|
@@ -7663,8 +7672,8 @@ export namespace dynamic_field {
|
|
|
7663
7672
|
args: [string | TransactionArgument, string | TransactionArgument],
|
|
7664
7673
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
7665
7674
|
const _args: any[] = [];
|
|
7666
|
-
_args.push(
|
|
7667
|
-
_args.push(
|
|
7675
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
7676
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
7668
7677
|
|
|
7669
7678
|
// @ts-ignore
|
|
7670
7679
|
return tx.moveCall({
|
|
@@ -7678,8 +7687,8 @@ export namespace dynamic_field {
|
|
|
7678
7687
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7679
7688
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
7680
7689
|
const _args: any[] = [];
|
|
7681
|
-
_args.push(
|
|
7682
|
-
_args.push(
|
|
7690
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
7691
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
7683
7692
|
|
|
7684
7693
|
// @ts-ignore
|
|
7685
7694
|
return tx.moveCall({
|
|
@@ -7698,7 +7707,7 @@ export namespace dynamic_field {
|
|
|
7698
7707
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7699
7708
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
7700
7709
|
const _args: any[] = [];
|
|
7701
|
-
_args.push(
|
|
7710
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
7702
7711
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
7703
7712
|
|
|
7704
7713
|
// @ts-ignore
|
|
@@ -7744,8 +7753,8 @@ export namespace dynamic_field {
|
|
|
7744
7753
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7745
7754
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
7746
7755
|
const _args: any[] = [];
|
|
7747
|
-
_args.push(
|
|
7748
|
-
_args.push(
|
|
7756
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
7757
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
7749
7758
|
|
|
7750
7759
|
// @ts-ignore
|
|
7751
7760
|
return tx.moveCall({
|
|
@@ -7905,7 +7914,7 @@ export namespace dynamic_field {
|
|
|
7905
7914
|
T0 | TransactionArgument,
|
|
7906
7915
|
],
|
|
7907
7916
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7908
|
-
): Promise<TypedDevInspectResults<[
|
|
7917
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
7909
7918
|
const tx = new Transaction();
|
|
7910
7919
|
builder.exists_(tx, args, typeArguments);
|
|
7911
7920
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -7913,7 +7922,7 @@ export namespace dynamic_field {
|
|
|
7913
7922
|
sender: ZERO_ADDRESS,
|
|
7914
7923
|
});
|
|
7915
7924
|
|
|
7916
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
7925
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
7917
7926
|
inspectRes,
|
|
7918
7927
|
);
|
|
7919
7928
|
}
|
|
@@ -7924,7 +7933,7 @@ export namespace dynamic_field {
|
|
|
7924
7933
|
T0 | TransactionArgument,
|
|
7925
7934
|
],
|
|
7926
7935
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
7927
|
-
): Promise<TypedDevInspectResults<[
|
|
7936
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
7928
7937
|
const tx = new Transaction();
|
|
7929
7938
|
builder.existsWithType(tx, args, typeArguments);
|
|
7930
7939
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -7932,7 +7941,7 @@ export namespace dynamic_field {
|
|
|
7932
7941
|
sender: ZERO_ADDRESS,
|
|
7933
7942
|
});
|
|
7934
7943
|
|
|
7935
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
7944
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
7936
7945
|
inspectRes,
|
|
7937
7946
|
);
|
|
7938
7947
|
}
|
|
@@ -7977,7 +7986,7 @@ export namespace dynamic_field {
|
|
|
7977
7986
|
export async function hasChildObject(
|
|
7978
7987
|
client: SuiClient,
|
|
7979
7988
|
args: [string | TransactionArgument, string | TransactionArgument],
|
|
7980
|
-
): Promise<TypedDevInspectResults<[
|
|
7989
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
7981
7990
|
const tx = new Transaction();
|
|
7982
7991
|
builder.hasChildObject(tx, args);
|
|
7983
7992
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -7985,7 +7994,7 @@ export namespace dynamic_field {
|
|
|
7985
7994
|
sender: ZERO_ADDRESS,
|
|
7986
7995
|
});
|
|
7987
7996
|
|
|
7988
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
7997
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
7989
7998
|
inspectRes,
|
|
7990
7999
|
);
|
|
7991
8000
|
}
|
|
@@ -7993,7 +8002,7 @@ export namespace dynamic_field {
|
|
|
7993
8002
|
client: SuiClient,
|
|
7994
8003
|
args: [string | TransactionArgument, string | TransactionArgument],
|
|
7995
8004
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7996
|
-
): Promise<TypedDevInspectResults<[
|
|
8005
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
7997
8006
|
const tx = new Transaction();
|
|
7998
8007
|
builder.hasChildObjectWithTy(tx, args, typeArguments);
|
|
7999
8008
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8001,7 +8010,7 @@ export namespace dynamic_field {
|
|
|
8001
8010
|
sender: ZERO_ADDRESS,
|
|
8002
8011
|
});
|
|
8003
8012
|
|
|
8004
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8013
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8005
8014
|
inspectRes,
|
|
8006
8015
|
);
|
|
8007
8016
|
}
|
|
@@ -8480,7 +8489,7 @@ export namespace dynamic_object_field {
|
|
|
8480
8489
|
T0 | TransactionArgument,
|
|
8481
8490
|
],
|
|
8482
8491
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
8483
|
-
): Promise<TypedDevInspectResults<[
|
|
8492
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
8484
8493
|
const tx = new Transaction();
|
|
8485
8494
|
builder.exists_(tx, args, typeArguments);
|
|
8486
8495
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8488,7 +8497,7 @@ export namespace dynamic_object_field {
|
|
|
8488
8497
|
sender: ZERO_ADDRESS,
|
|
8489
8498
|
});
|
|
8490
8499
|
|
|
8491
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8500
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8492
8501
|
inspectRes,
|
|
8493
8502
|
);
|
|
8494
8503
|
}
|
|
@@ -8499,7 +8508,7 @@ export namespace dynamic_object_field {
|
|
|
8499
8508
|
T0 | TransactionArgument,
|
|
8500
8509
|
],
|
|
8501
8510
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8502
|
-
): Promise<TypedDevInspectResults<[
|
|
8511
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
8503
8512
|
const tx = new Transaction();
|
|
8504
8513
|
builder.existsWithType(tx, args, typeArguments);
|
|
8505
8514
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8507,7 +8516,7 @@ export namespace dynamic_object_field {
|
|
|
8507
8516
|
sender: ZERO_ADDRESS,
|
|
8508
8517
|
});
|
|
8509
8518
|
|
|
8510
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8519
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8511
8520
|
inspectRes,
|
|
8512
8521
|
);
|
|
8513
8522
|
}
|
|
@@ -8595,7 +8604,7 @@ export namespace dynamic_object_field {
|
|
|
8595
8604
|
T0 | TransactionArgument,
|
|
8596
8605
|
],
|
|
8597
8606
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
8598
|
-
): Promise<TypedDevInspectResults<[
|
|
8607
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
8599
8608
|
const tx = new Transaction();
|
|
8600
8609
|
builder.internalExistsWithType(tx, args, typeArguments);
|
|
8601
8610
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8603,7 +8612,7 @@ export namespace dynamic_object_field {
|
|
|
8603
8612
|
sender: ZERO_ADDRESS,
|
|
8604
8613
|
});
|
|
8605
8614
|
|
|
8606
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8615
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8607
8616
|
inspectRes,
|
|
8608
8617
|
);
|
|
8609
8618
|
}
|
|
@@ -8675,7 +8684,7 @@ export namespace ecdsa_k1 {
|
|
|
8675
8684
|
const _args: any[] = [];
|
|
8676
8685
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8677
8686
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
8678
|
-
_args.push(
|
|
8687
|
+
_args.push(transactionArgumentOrPureU8(args[2], tx));
|
|
8679
8688
|
|
|
8680
8689
|
// @ts-ignore
|
|
8681
8690
|
return tx.moveCall({
|
|
@@ -8702,7 +8711,7 @@ export namespace ecdsa_k1 {
|
|
|
8702
8711
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8703
8712
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
8704
8713
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
8705
|
-
_args.push(
|
|
8714
|
+
_args.push(transactionArgumentOrPureU8(args[3], tx));
|
|
8706
8715
|
|
|
8707
8716
|
// @ts-ignore
|
|
8708
8717
|
return tx.moveCall({
|
|
@@ -8754,7 +8763,7 @@ export namespace ecdsa_k1 {
|
|
|
8754
8763
|
string | TransactionObjectArgument | TransactionArgument,
|
|
8755
8764
|
number | TransactionArgument,
|
|
8756
8765
|
],
|
|
8757
|
-
): Promise<TypedDevInspectResults<[
|
|
8766
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
8758
8767
|
const tx = new Transaction();
|
|
8759
8768
|
builder.secp256k1Verify(tx, args);
|
|
8760
8769
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8762,7 +8771,7 @@ export namespace ecdsa_k1 {
|
|
|
8762
8771
|
sender: ZERO_ADDRESS,
|
|
8763
8772
|
});
|
|
8764
8773
|
|
|
8765
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8774
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8766
8775
|
inspectRes,
|
|
8767
8776
|
);
|
|
8768
8777
|
}
|
|
@@ -8783,7 +8792,7 @@ export namespace ecdsa_r1 {
|
|
|
8783
8792
|
const _args: any[] = [];
|
|
8784
8793
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8785
8794
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
8786
|
-
_args.push(
|
|
8795
|
+
_args.push(transactionArgumentOrPureU8(args[2], tx));
|
|
8787
8796
|
|
|
8788
8797
|
// @ts-ignore
|
|
8789
8798
|
return tx.moveCall({
|
|
@@ -8810,7 +8819,7 @@ export namespace ecdsa_r1 {
|
|
|
8810
8819
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
8811
8820
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
8812
8821
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
8813
|
-
_args.push(
|
|
8822
|
+
_args.push(transactionArgumentOrPureU8(args[3], tx));
|
|
8814
8823
|
|
|
8815
8824
|
// @ts-ignore
|
|
8816
8825
|
return tx.moveCall({
|
|
@@ -8847,7 +8856,7 @@ export namespace ecdsa_r1 {
|
|
|
8847
8856
|
string | TransactionObjectArgument | TransactionArgument,
|
|
8848
8857
|
number | TransactionArgument,
|
|
8849
8858
|
],
|
|
8850
|
-
): Promise<TypedDevInspectResults<[
|
|
8859
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
8851
8860
|
const tx = new Transaction();
|
|
8852
8861
|
builder.secp256r1Verify(tx, args);
|
|
8853
8862
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8855,7 +8864,7 @@ export namespace ecdsa_r1 {
|
|
|
8855
8864
|
sender: ZERO_ADDRESS,
|
|
8856
8865
|
});
|
|
8857
8866
|
|
|
8858
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8867
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8859
8868
|
inspectRes,
|
|
8860
8869
|
);
|
|
8861
8870
|
}
|
|
@@ -8901,7 +8910,7 @@ export namespace ecvrf {
|
|
|
8901
8910
|
string | TransactionObjectArgument | TransactionArgument,
|
|
8902
8911
|
string | TransactionObjectArgument | TransactionArgument,
|
|
8903
8912
|
],
|
|
8904
|
-
): Promise<TypedDevInspectResults<[
|
|
8913
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
8905
8914
|
const tx = new Transaction();
|
|
8906
8915
|
builder.ecvrfVerify(tx, args);
|
|
8907
8916
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8909,7 +8918,7 @@ export namespace ecvrf {
|
|
|
8909
8918
|
sender: ZERO_ADDRESS,
|
|
8910
8919
|
});
|
|
8911
8920
|
|
|
8912
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8921
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8913
8922
|
inspectRes,
|
|
8914
8923
|
);
|
|
8915
8924
|
}
|
|
@@ -8947,7 +8956,7 @@ export namespace ed25519 {
|
|
|
8947
8956
|
string | TransactionObjectArgument | TransactionArgument,
|
|
8948
8957
|
string | TransactionObjectArgument | TransactionArgument,
|
|
8949
8958
|
],
|
|
8950
|
-
): Promise<TypedDevInspectResults<[
|
|
8959
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
8951
8960
|
const tx = new Transaction();
|
|
8952
8961
|
builder.ed25519Verify(tx, args);
|
|
8953
8962
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8955,7 +8964,7 @@ export namespace ed25519 {
|
|
|
8955
8964
|
sender: ZERO_ADDRESS,
|
|
8956
8965
|
});
|
|
8957
8966
|
|
|
8958
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
8967
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
8959
8968
|
inspectRes,
|
|
8960
8969
|
);
|
|
8961
8970
|
}
|
|
@@ -9345,7 +9354,7 @@ export namespace groth16 {
|
|
|
9345
9354
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9346
9355
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9347
9356
|
],
|
|
9348
|
-
): Promise<TypedDevInspectResults<[
|
|
9357
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9349
9358
|
const tx = new Transaction();
|
|
9350
9359
|
builder.verifyGroth16Proof(tx, args);
|
|
9351
9360
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -9353,7 +9362,7 @@ export namespace groth16 {
|
|
|
9353
9362
|
sender: ZERO_ADDRESS,
|
|
9354
9363
|
});
|
|
9355
9364
|
|
|
9356
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
9365
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
9357
9366
|
inspectRes,
|
|
9358
9367
|
);
|
|
9359
9368
|
}
|
|
@@ -9394,7 +9403,7 @@ export namespace group_ops {
|
|
|
9394
9403
|
): TransactionArgument &
|
|
9395
9404
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9396
9405
|
const _args: any[] = [];
|
|
9397
|
-
_args.push(
|
|
9406
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9398
9407
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9399
9408
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
9400
9409
|
|
|
@@ -9439,7 +9448,7 @@ export namespace group_ops {
|
|
|
9439
9448
|
): TransactionArgument &
|
|
9440
9449
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9441
9450
|
const _args: any[] = [];
|
|
9442
|
-
_args.push(
|
|
9451
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9443
9452
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9444
9453
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
9445
9454
|
|
|
@@ -9485,15 +9494,15 @@ export namespace group_ops {
|
|
|
9485
9494
|
args: [
|
|
9486
9495
|
number | TransactionArgument,
|
|
9487
9496
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9488
|
-
|
|
9497
|
+
boolean | TransactionArgument,
|
|
9489
9498
|
],
|
|
9490
9499
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9491
9500
|
): TransactionArgument &
|
|
9492
9501
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9493
9502
|
const _args: any[] = [];
|
|
9494
|
-
_args.push(
|
|
9503
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9495
9504
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9496
|
-
_args.push(
|
|
9505
|
+
_args.push(transactionArgumentOrPureBool(args[2], tx));
|
|
9497
9506
|
|
|
9498
9507
|
// @ts-ignore
|
|
9499
9508
|
return tx.moveCall({
|
|
@@ -9515,7 +9524,7 @@ export namespace group_ops {
|
|
|
9515
9524
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9516
9525
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
9517
9526
|
const _args: any[] = [];
|
|
9518
|
-
_args.push(
|
|
9527
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9519
9528
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9520
9529
|
|
|
9521
9530
|
// @ts-ignore
|
|
@@ -9540,7 +9549,7 @@ export namespace group_ops {
|
|
|
9540
9549
|
): TransactionArgument &
|
|
9541
9550
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9542
9551
|
const _args: any[] = [];
|
|
9543
|
-
_args.push(
|
|
9552
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9544
9553
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9545
9554
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
9546
9555
|
|
|
@@ -9569,7 +9578,7 @@ export namespace group_ops {
|
|
|
9569
9578
|
): TransactionArgument &
|
|
9570
9579
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9571
9580
|
const _args: any[] = [];
|
|
9572
|
-
_args.push(
|
|
9581
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9573
9582
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9574
9583
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
9575
9584
|
|
|
@@ -9602,7 +9611,7 @@ export namespace group_ops {
|
|
|
9602
9611
|
): TransactionArgument &
|
|
9603
9612
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9604
9613
|
const _args: any[] = [];
|
|
9605
|
-
_args.push(
|
|
9614
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9606
9615
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9607
9616
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
9608
9617
|
|
|
@@ -9627,14 +9636,14 @@ export namespace group_ops {
|
|
|
9627
9636
|
tx: Transaction,
|
|
9628
9637
|
args: [
|
|
9629
9638
|
bigint | TransactionArgument,
|
|
9630
|
-
|
|
9639
|
+
boolean | TransactionArgument,
|
|
9631
9640
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9632
9641
|
],
|
|
9633
9642
|
): TransactionArgument &
|
|
9634
9643
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9635
9644
|
const _args: any[] = [];
|
|
9636
|
-
_args.push(
|
|
9637
|
-
_args.push(
|
|
9645
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
9646
|
+
_args.push(transactionArgumentOrPureBool(args[1], tx));
|
|
9638
9647
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
9639
9648
|
|
|
9640
9649
|
// @ts-ignore
|
|
@@ -9654,7 +9663,7 @@ export namespace group_ops {
|
|
|
9654
9663
|
): TransactionArgument &
|
|
9655
9664
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
9656
9665
|
const _args: any[] = [];
|
|
9657
|
-
_args.push(
|
|
9666
|
+
_args.push(transactionArgumentOrPureU8(args[0], tx));
|
|
9658
9667
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9659
9668
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
9660
9669
|
|
|
@@ -9734,7 +9743,7 @@ export namespace group_ops {
|
|
|
9734
9743
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9735
9744
|
],
|
|
9736
9745
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9737
|
-
): Promise<TypedDevInspectResults<[
|
|
9746
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9738
9747
|
const tx = new Transaction();
|
|
9739
9748
|
builder.equal(tx, args, typeArguments);
|
|
9740
9749
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -9742,7 +9751,7 @@ export namespace group_ops {
|
|
|
9742
9751
|
sender: ZERO_ADDRESS,
|
|
9743
9752
|
});
|
|
9744
9753
|
|
|
9745
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
9754
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
9746
9755
|
inspectRes,
|
|
9747
9756
|
);
|
|
9748
9757
|
}
|
|
@@ -9751,7 +9760,7 @@ export namespace group_ops {
|
|
|
9751
9760
|
args: [
|
|
9752
9761
|
number | TransactionArgument,
|
|
9753
9762
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9754
|
-
|
|
9763
|
+
boolean | TransactionArgument,
|
|
9755
9764
|
],
|
|
9756
9765
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9757
9766
|
): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>> {
|
|
@@ -9853,7 +9862,7 @@ export namespace group_ops {
|
|
|
9853
9862
|
client: SuiClient,
|
|
9854
9863
|
args: [
|
|
9855
9864
|
bigint | TransactionArgument,
|
|
9856
|
-
|
|
9865
|
+
boolean | TransactionArgument,
|
|
9857
9866
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9858
9867
|
],
|
|
9859
9868
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -10172,7 +10181,7 @@ export namespace kiosk {
|
|
|
10172
10181
|
profits: balance.Balance<sui.SUI>;
|
|
10173
10182
|
owner: string;
|
|
10174
10183
|
item_count: number;
|
|
10175
|
-
allow_extensions:
|
|
10184
|
+
allow_extensions: boolean;
|
|
10176
10185
|
}
|
|
10177
10186
|
|
|
10178
10187
|
export namespace Kiosk {
|
|
@@ -10202,7 +10211,7 @@ export namespace kiosk {
|
|
|
10202
10211
|
|
|
10203
10212
|
export interface Listing {
|
|
10204
10213
|
id: object_.ID;
|
|
10205
|
-
is_exclusive:
|
|
10214
|
+
is_exclusive: boolean;
|
|
10206
10215
|
}
|
|
10207
10216
|
|
|
10208
10217
|
export namespace Listing {
|
|
@@ -10546,7 +10555,7 @@ export namespace kiosk {
|
|
|
10546
10555
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
10547
10556
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
10548
10557
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
10549
|
-
_args.push(
|
|
10558
|
+
_args.push(transactionArgumentOrPureU64(args[3], tx));
|
|
10550
10559
|
|
|
10551
10560
|
// @ts-ignore
|
|
10552
10561
|
return tx.moveCall({
|
|
@@ -10579,7 +10588,7 @@ export namespace kiosk {
|
|
|
10579
10588
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
10580
10589
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
10581
10590
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
10582
|
-
_args.push(
|
|
10591
|
+
_args.push(transactionArgumentOrPureU64(args[3], tx));
|
|
10583
10592
|
|
|
10584
10593
|
// @ts-ignore
|
|
10585
10594
|
return tx.moveCall({
|
|
@@ -10716,7 +10725,7 @@ export namespace kiosk {
|
|
|
10716
10725
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
10717
10726
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
10718
10727
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
10719
|
-
_args.push(
|
|
10728
|
+
_args.push(transactionArgumentOrPureU64(args[3], tx));
|
|
10720
10729
|
|
|
10721
10730
|
// @ts-ignore
|
|
10722
10731
|
return tx.moveCall({
|
|
@@ -10945,14 +10954,14 @@ export namespace kiosk {
|
|
|
10945
10954
|
args: [
|
|
10946
10955
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10947
10956
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10948
|
-
|
|
10957
|
+
boolean | TransactionArgument,
|
|
10949
10958
|
],
|
|
10950
10959
|
): TransactionArgument &
|
|
10951
10960
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
10952
10961
|
const _args: any[] = [];
|
|
10953
10962
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
10954
10963
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
10955
|
-
_args.push(
|
|
10964
|
+
_args.push(transactionArgumentOrPureBool(args[2], tx));
|
|
10956
10965
|
|
|
10957
10966
|
// @ts-ignore
|
|
10958
10967
|
return tx.moveCall({
|
|
@@ -10989,7 +10998,7 @@ export namespace kiosk {
|
|
|
10989
10998
|
const _args: any[] = [];
|
|
10990
10999
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
10991
11000
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
10992
|
-
_args.push(
|
|
11001
|
+
_args.push(transactionArgumentOrPureAddress(args[2], tx));
|
|
10993
11002
|
|
|
10994
11003
|
// @ts-ignore
|
|
10995
11004
|
return tx.moveCall({
|
|
@@ -11206,7 +11215,7 @@ export namespace kiosk {
|
|
|
11206
11215
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11207
11216
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11208
11217
|
],
|
|
11209
|
-
): Promise<TypedDevInspectResults<[
|
|
11218
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
11210
11219
|
const tx = new Transaction();
|
|
11211
11220
|
builder.hasAccess(tx, args);
|
|
11212
11221
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11214,7 +11223,7 @@ export namespace kiosk {
|
|
|
11214
11223
|
sender: ZERO_ADDRESS,
|
|
11215
11224
|
});
|
|
11216
11225
|
|
|
11217
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11226
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
11218
11227
|
inspectRes,
|
|
11219
11228
|
);
|
|
11220
11229
|
}
|
|
@@ -11224,7 +11233,7 @@ export namespace kiosk {
|
|
|
11224
11233
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11225
11234
|
object_.ID | TransactionArgument,
|
|
11226
11235
|
],
|
|
11227
|
-
): Promise<TypedDevInspectResults<[
|
|
11236
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
11228
11237
|
const tx = new Transaction();
|
|
11229
11238
|
builder.hasItem(tx, args);
|
|
11230
11239
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11232,7 +11241,7 @@ export namespace kiosk {
|
|
|
11232
11241
|
sender: ZERO_ADDRESS,
|
|
11233
11242
|
});
|
|
11234
11243
|
|
|
11235
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11244
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
11236
11245
|
inspectRes,
|
|
11237
11246
|
);
|
|
11238
11247
|
}
|
|
@@ -11243,7 +11252,7 @@ export namespace kiosk {
|
|
|
11243
11252
|
object_.ID | TransactionArgument,
|
|
11244
11253
|
],
|
|
11245
11254
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
11246
|
-
): Promise<TypedDevInspectResults<[
|
|
11255
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
11247
11256
|
const tx = new Transaction();
|
|
11248
11257
|
builder.hasItemWithType(tx, args, typeArguments);
|
|
11249
11258
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11251,7 +11260,7 @@ export namespace kiosk {
|
|
|
11251
11260
|
sender: ZERO_ADDRESS,
|
|
11252
11261
|
});
|
|
11253
11262
|
|
|
11254
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11263
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
11255
11264
|
inspectRes,
|
|
11256
11265
|
);
|
|
11257
11266
|
}
|
|
@@ -11261,7 +11270,7 @@ export namespace kiosk {
|
|
|
11261
11270
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11262
11271
|
object_.ID | TransactionArgument,
|
|
11263
11272
|
],
|
|
11264
|
-
): Promise<TypedDevInspectResults<[
|
|
11273
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
11265
11274
|
const tx = new Transaction();
|
|
11266
11275
|
builder.isListed(tx, args);
|
|
11267
11276
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11269,7 +11278,7 @@ export namespace kiosk {
|
|
|
11269
11278
|
sender: ZERO_ADDRESS,
|
|
11270
11279
|
});
|
|
11271
11280
|
|
|
11272
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11281
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
11273
11282
|
inspectRes,
|
|
11274
11283
|
);
|
|
11275
11284
|
}
|
|
@@ -11279,7 +11288,7 @@ export namespace kiosk {
|
|
|
11279
11288
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11280
11289
|
object_.ID | TransactionArgument,
|
|
11281
11290
|
],
|
|
11282
|
-
): Promise<TypedDevInspectResults<[
|
|
11291
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
11283
11292
|
const tx = new Transaction();
|
|
11284
11293
|
builder.isListedExclusively(tx, args);
|
|
11285
11294
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11287,7 +11296,7 @@ export namespace kiosk {
|
|
|
11287
11296
|
sender: ZERO_ADDRESS,
|
|
11288
11297
|
});
|
|
11289
11298
|
|
|
11290
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11299
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
11291
11300
|
inspectRes,
|
|
11292
11301
|
);
|
|
11293
11302
|
}
|
|
@@ -11297,7 +11306,7 @@ export namespace kiosk {
|
|
|
11297
11306
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11298
11307
|
object_.ID | TransactionArgument,
|
|
11299
11308
|
],
|
|
11300
|
-
): Promise<TypedDevInspectResults<[
|
|
11309
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
11301
11310
|
const tx = new Transaction();
|
|
11302
11311
|
builder.isLocked(tx, args);
|
|
11303
11312
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11305,7 +11314,7 @@ export namespace kiosk {
|
|
|
11305
11314
|
sender: ZERO_ADDRESS,
|
|
11306
11315
|
});
|
|
11307
11316
|
|
|
11308
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11317
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
11309
11318
|
inspectRes,
|
|
11310
11319
|
);
|
|
11311
11320
|
}
|
|
@@ -11680,7 +11689,7 @@ export namespace kiosk {
|
|
|
11680
11689
|
args: [
|
|
11681
11690
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11682
11691
|
string | TransactionObjectArgument | TransactionArgument,
|
|
11683
|
-
|
|
11692
|
+
boolean | TransactionArgument,
|
|
11684
11693
|
],
|
|
11685
11694
|
): Promise<TypedDevInspectResults<[]>> {
|
|
11686
11695
|
const tx = new Transaction();
|
|
@@ -11840,7 +11849,7 @@ export namespace kiosk_extension {
|
|
|
11840
11849
|
export interface Extension {
|
|
11841
11850
|
storage: bag.Bag;
|
|
11842
11851
|
permissions: bigint;
|
|
11843
|
-
is_enabled:
|
|
11852
|
+
is_enabled: boolean;
|
|
11844
11853
|
}
|
|
11845
11854
|
|
|
11846
11855
|
export namespace Extension {
|
|
@@ -11854,7 +11863,7 @@ export namespace kiosk_extension {
|
|
|
11854
11863
|
}
|
|
11855
11864
|
|
|
11856
11865
|
export interface ExtensionKey<T0> {
|
|
11857
|
-
dummy_field:
|
|
11866
|
+
dummy_field: boolean;
|
|
11858
11867
|
}
|
|
11859
11868
|
|
|
11860
11869
|
export namespace ExtensionKey {
|
|
@@ -11896,7 +11905,7 @@ export namespace kiosk_extension {
|
|
|
11896
11905
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
11897
11906
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
11898
11907
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
11899
|
-
_args.push(
|
|
11908
|
+
_args.push(transactionArgumentOrPureU128(args[3], tx));
|
|
11900
11909
|
|
|
11901
11910
|
// @ts-ignore
|
|
11902
11911
|
return tx.moveCall({
|
|
@@ -12199,7 +12208,7 @@ export namespace kiosk_extension {
|
|
|
12199
12208
|
client: SuiClient,
|
|
12200
12209
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
12201
12210
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
12202
|
-
): Promise<TypedDevInspectResults<[
|
|
12211
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
12203
12212
|
const tx = new Transaction();
|
|
12204
12213
|
builder.canLock(tx, args, typeArguments);
|
|
12205
12214
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -12207,7 +12216,7 @@ export namespace kiosk_extension {
|
|
|
12207
12216
|
sender: ZERO_ADDRESS,
|
|
12208
12217
|
});
|
|
12209
12218
|
|
|
12210
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
12219
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
12211
12220
|
inspectRes,
|
|
12212
12221
|
);
|
|
12213
12222
|
}
|
|
@@ -12215,7 +12224,7 @@ export namespace kiosk_extension {
|
|
|
12215
12224
|
client: SuiClient,
|
|
12216
12225
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
12217
12226
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
12218
|
-
): Promise<TypedDevInspectResults<[
|
|
12227
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
12219
12228
|
const tx = new Transaction();
|
|
12220
12229
|
builder.canPlace(tx, args, typeArguments);
|
|
12221
12230
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -12223,7 +12232,7 @@ export namespace kiosk_extension {
|
|
|
12223
12232
|
sender: ZERO_ADDRESS,
|
|
12224
12233
|
});
|
|
12225
12234
|
|
|
12226
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
12235
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
12227
12236
|
inspectRes,
|
|
12228
12237
|
);
|
|
12229
12238
|
}
|
|
@@ -12269,7 +12278,7 @@ export namespace kiosk_extension {
|
|
|
12269
12278
|
client: SuiClient,
|
|
12270
12279
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
12271
12280
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
12272
|
-
): Promise<TypedDevInspectResults<[
|
|
12281
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
12273
12282
|
const tx = new Transaction();
|
|
12274
12283
|
builder.isEnabled(tx, args, typeArguments);
|
|
12275
12284
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -12277,7 +12286,7 @@ export namespace kiosk_extension {
|
|
|
12277
12286
|
sender: ZERO_ADDRESS,
|
|
12278
12287
|
});
|
|
12279
12288
|
|
|
12280
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
12289
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
12281
12290
|
inspectRes,
|
|
12282
12291
|
);
|
|
12283
12292
|
}
|
|
@@ -12285,7 +12294,7 @@ export namespace kiosk_extension {
|
|
|
12285
12294
|
client: SuiClient,
|
|
12286
12295
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
12287
12296
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
12288
|
-
): Promise<TypedDevInspectResults<[
|
|
12297
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
12289
12298
|
const tx = new Transaction();
|
|
12290
12299
|
builder.isInstalled(tx, args, typeArguments);
|
|
12291
12300
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -12293,7 +12302,7 @@ export namespace kiosk_extension {
|
|
|
12293
12302
|
sender: ZERO_ADDRESS,
|
|
12294
12303
|
});
|
|
12295
12304
|
|
|
12296
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
12305
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
12297
12306
|
inspectRes,
|
|
12298
12307
|
);
|
|
12299
12308
|
}
|
|
@@ -12916,7 +12925,7 @@ export namespace linked_table {
|
|
|
12916
12925
|
T0 | TransactionArgument,
|
|
12917
12926
|
],
|
|
12918
12927
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
12919
|
-
): Promise<TypedDevInspectResults<[
|
|
12928
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
12920
12929
|
const tx = new Transaction();
|
|
12921
12930
|
builder.contains(tx, args, typeArguments);
|
|
12922
12931
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -12924,7 +12933,7 @@ export namespace linked_table {
|
|
|
12924
12933
|
sender: ZERO_ADDRESS,
|
|
12925
12934
|
});
|
|
12926
12935
|
|
|
12927
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
12936
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
12928
12937
|
inspectRes,
|
|
12929
12938
|
);
|
|
12930
12939
|
}
|
|
@@ -12980,7 +12989,7 @@ export namespace linked_table {
|
|
|
12980
12989
|
client: SuiClient,
|
|
12981
12990
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
12982
12991
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
12983
|
-
): Promise<TypedDevInspectResults<[
|
|
12992
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
12984
12993
|
const tx = new Transaction();
|
|
12985
12994
|
builder.isEmpty(tx, args, typeArguments);
|
|
12986
12995
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -12988,7 +12997,7 @@ export namespace linked_table {
|
|
|
12988
12997
|
sender: ZERO_ADDRESS,
|
|
12989
12998
|
});
|
|
12990
12999
|
|
|
12991
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13000
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
12992
13001
|
inspectRes,
|
|
12993
13002
|
);
|
|
12994
13003
|
}
|
|
@@ -13163,8 +13172,8 @@ export namespace math {
|
|
|
13163
13172
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
13164
13173
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
13165
13174
|
const _args: any[] = [];
|
|
13166
|
-
_args.push(
|
|
13167
|
-
_args.push(
|
|
13175
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
13176
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
13168
13177
|
|
|
13169
13178
|
// @ts-ignore
|
|
13170
13179
|
return tx.moveCall({
|
|
@@ -13177,8 +13186,8 @@ export namespace math {
|
|
|
13177
13186
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
13178
13187
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
13179
13188
|
const _args: any[] = [];
|
|
13180
|
-
_args.push(
|
|
13181
|
-
_args.push(
|
|
13189
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
13190
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
13182
13191
|
|
|
13183
13192
|
// @ts-ignore
|
|
13184
13193
|
return tx.moveCall({
|
|
@@ -13191,8 +13200,8 @@ export namespace math {
|
|
|
13191
13200
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
13192
13201
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
13193
13202
|
const _args: any[] = [];
|
|
13194
|
-
_args.push(
|
|
13195
|
-
_args.push(
|
|
13203
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
13204
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
13196
13205
|
|
|
13197
13206
|
// @ts-ignore
|
|
13198
13207
|
return tx.moveCall({
|
|
@@ -13205,8 +13214,8 @@ export namespace math {
|
|
|
13205
13214
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
13206
13215
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
13207
13216
|
const _args: any[] = [];
|
|
13208
|
-
_args.push(
|
|
13209
|
-
_args.push(
|
|
13217
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
13218
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
13210
13219
|
|
|
13211
13220
|
// @ts-ignore
|
|
13212
13221
|
return tx.moveCall({
|
|
@@ -13219,8 +13228,8 @@ export namespace math {
|
|
|
13219
13228
|
args: [bigint | TransactionArgument, number | TransactionArgument],
|
|
13220
13229
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
13221
13230
|
const _args: any[] = [];
|
|
13222
|
-
_args.push(
|
|
13223
|
-
_args.push(
|
|
13231
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
13232
|
+
_args.push(transactionArgumentOrPureU8(args[1], tx));
|
|
13224
13233
|
|
|
13225
13234
|
// @ts-ignore
|
|
13226
13235
|
return tx.moveCall({
|
|
@@ -13233,7 +13242,7 @@ export namespace math {
|
|
|
13233
13242
|
args: [bigint | TransactionArgument],
|
|
13234
13243
|
): TransactionArgument & [TransactionArgument] {
|
|
13235
13244
|
const _args: any[] = [];
|
|
13236
|
-
_args.push(
|
|
13245
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
13237
13246
|
|
|
13238
13247
|
// @ts-ignore
|
|
13239
13248
|
return tx.moveCall({
|
|
@@ -13246,7 +13255,7 @@ export namespace math {
|
|
|
13246
13255
|
args: [bigint | TransactionArgument],
|
|
13247
13256
|
): TransactionArgument & [TransactionArgument] {
|
|
13248
13257
|
const _args: any[] = [];
|
|
13249
|
-
_args.push(
|
|
13258
|
+
_args.push(transactionArgumentOrPureU128(args[0], tx));
|
|
13250
13259
|
|
|
13251
13260
|
// @ts-ignore
|
|
13252
13261
|
return tx.moveCall({
|
|
@@ -13506,7 +13515,7 @@ export namespace object_ {
|
|
|
13506
13515
|
args: [string | TransactionArgument],
|
|
13507
13516
|
): TransactionArgument & [TransactionArgument] {
|
|
13508
13517
|
const _args: any[] = [];
|
|
13509
|
-
_args.push(
|
|
13518
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
13510
13519
|
|
|
13511
13520
|
// @ts-ignore
|
|
13512
13521
|
return tx.moveCall({
|
|
@@ -13567,7 +13576,7 @@ export namespace object_ {
|
|
|
13567
13576
|
args: [string | TransactionArgument],
|
|
13568
13577
|
): TransactionArgument & [TransactionArgument] {
|
|
13569
13578
|
const _args: any[] = [];
|
|
13570
|
-
_args.push(
|
|
13579
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
13571
13580
|
|
|
13572
13581
|
// @ts-ignore
|
|
13573
13582
|
return tx.moveCall({
|
|
@@ -14256,7 +14265,7 @@ export namespace object_bag {
|
|
|
14256
14265
|
T0 | TransactionArgument,
|
|
14257
14266
|
],
|
|
14258
14267
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
14259
|
-
): Promise<TypedDevInspectResults<[
|
|
14268
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
14260
14269
|
const tx = new Transaction();
|
|
14261
14270
|
builder.contains(tx, args, typeArguments);
|
|
14262
14271
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14264,7 +14273,7 @@ export namespace object_bag {
|
|
|
14264
14273
|
sender: ZERO_ADDRESS,
|
|
14265
14274
|
});
|
|
14266
14275
|
|
|
14267
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14276
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
14268
14277
|
inspectRes,
|
|
14269
14278
|
);
|
|
14270
14279
|
}
|
|
@@ -14275,7 +14284,7 @@ export namespace object_bag {
|
|
|
14275
14284
|
T0 | TransactionArgument,
|
|
14276
14285
|
],
|
|
14277
14286
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
14278
|
-
): Promise<TypedDevInspectResults<[
|
|
14287
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
14279
14288
|
const tx = new Transaction();
|
|
14280
14289
|
builder.containsWithType(tx, args, typeArguments);
|
|
14281
14290
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14283,7 +14292,7 @@ export namespace object_bag {
|
|
|
14283
14292
|
sender: ZERO_ADDRESS,
|
|
14284
14293
|
});
|
|
14285
14294
|
|
|
14286
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14295
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
14287
14296
|
inspectRes,
|
|
14288
14297
|
);
|
|
14289
14298
|
}
|
|
@@ -14305,7 +14314,7 @@ export namespace object_bag {
|
|
|
14305
14314
|
export async function isEmpty(
|
|
14306
14315
|
client: SuiClient,
|
|
14307
14316
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
14308
|
-
): Promise<TypedDevInspectResults<[
|
|
14317
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
14309
14318
|
const tx = new Transaction();
|
|
14310
14319
|
builder.isEmpty(tx, args);
|
|
14311
14320
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14313,7 +14322,7 @@ export namespace object_bag {
|
|
|
14313
14322
|
sender: ZERO_ADDRESS,
|
|
14314
14323
|
});
|
|
14315
14324
|
|
|
14316
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14325
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
14317
14326
|
inspectRes,
|
|
14318
14327
|
);
|
|
14319
14328
|
}
|
|
@@ -14723,7 +14732,7 @@ export namespace object_table {
|
|
|
14723
14732
|
T0 | TransactionArgument,
|
|
14724
14733
|
],
|
|
14725
14734
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
14726
|
-
): Promise<TypedDevInspectResults<[
|
|
14735
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
14727
14736
|
const tx = new Transaction();
|
|
14728
14737
|
builder.contains(tx, args, typeArguments);
|
|
14729
14738
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14731,7 +14740,7 @@ export namespace object_table {
|
|
|
14731
14740
|
sender: ZERO_ADDRESS,
|
|
14732
14741
|
});
|
|
14733
14742
|
|
|
14734
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14743
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
14735
14744
|
inspectRes,
|
|
14736
14745
|
);
|
|
14737
14746
|
}
|
|
@@ -14755,7 +14764,7 @@ export namespace object_table {
|
|
|
14755
14764
|
client: SuiClient,
|
|
14756
14765
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
14757
14766
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
14758
|
-
): Promise<TypedDevInspectResults<[
|
|
14767
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
14759
14768
|
const tx = new Transaction();
|
|
14760
14769
|
builder.isEmpty(tx, args, typeArguments);
|
|
14761
14770
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14763,7 +14772,7 @@ export namespace object_table {
|
|
|
14763
14772
|
sender: ZERO_ADDRESS,
|
|
14764
14773
|
});
|
|
14765
14774
|
|
|
14766
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14775
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
14767
14776
|
inspectRes,
|
|
14768
14777
|
);
|
|
14769
14778
|
}
|
|
@@ -14930,7 +14939,7 @@ export namespace package_ {
|
|
|
14930
14939
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
14931
14940
|
const _args: any[] = [];
|
|
14932
14941
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
14933
|
-
_args.push(
|
|
14942
|
+
_args.push(transactionArgumentOrPureU8(args[1], tx));
|
|
14934
14943
|
_args.push(transactionArgumentOrVec(args[2], tx));
|
|
14935
14944
|
|
|
14936
14945
|
// @ts-ignore
|
|
@@ -15373,7 +15382,7 @@ export namespace package_ {
|
|
|
15373
15382
|
client: SuiClient,
|
|
15374
15383
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
15375
15384
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
15376
|
-
): Promise<TypedDevInspectResults<[
|
|
15385
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
15377
15386
|
const tx = new Transaction();
|
|
15378
15387
|
builder.fromModule(tx, args, typeArguments);
|
|
15379
15388
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -15381,7 +15390,7 @@ export namespace package_ {
|
|
|
15381
15390
|
sender: ZERO_ADDRESS,
|
|
15382
15391
|
});
|
|
15383
15392
|
|
|
15384
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
15393
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
15385
15394
|
inspectRes,
|
|
15386
15395
|
);
|
|
15387
15396
|
}
|
|
@@ -15389,7 +15398,7 @@ export namespace package_ {
|
|
|
15389
15398
|
client: SuiClient,
|
|
15390
15399
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
15391
15400
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
15392
|
-
): Promise<TypedDevInspectResults<[
|
|
15401
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
15393
15402
|
const tx = new Transaction();
|
|
15394
15403
|
builder.fromPackage(tx, args, typeArguments);
|
|
15395
15404
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -15397,7 +15406,7 @@ export namespace package_ {
|
|
|
15397
15406
|
sender: ZERO_ADDRESS,
|
|
15398
15407
|
});
|
|
15399
15408
|
|
|
15400
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
15409
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
15401
15410
|
inspectRes,
|
|
15402
15411
|
);
|
|
15403
15412
|
}
|
|
@@ -15611,7 +15620,7 @@ export namespace pay {
|
|
|
15611
15620
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
15612
15621
|
const _args: any[] = [];
|
|
15613
15622
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
15614
|
-
_args.push(
|
|
15623
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
15615
15624
|
|
|
15616
15625
|
// @ts-ignore
|
|
15617
15626
|
return tx.moveCall({
|
|
@@ -15680,7 +15689,7 @@ export namespace pay {
|
|
|
15680
15689
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
15681
15690
|
const _args: any[] = [];
|
|
15682
15691
|
_args.push(transactionArgumentOrVec(args[0], tx));
|
|
15683
|
-
_args.push(
|
|
15692
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
15684
15693
|
|
|
15685
15694
|
// @ts-ignore
|
|
15686
15695
|
return tx.moveCall({
|
|
@@ -15722,7 +15731,7 @@ export namespace pay {
|
|
|
15722
15731
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
15723
15732
|
const _args: any[] = [];
|
|
15724
15733
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
15725
|
-
_args.push(
|
|
15734
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
15726
15735
|
|
|
15727
15736
|
// @ts-ignore
|
|
15728
15737
|
return tx.moveCall({
|
|
@@ -15747,8 +15756,8 @@ export namespace pay {
|
|
|
15747
15756
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
15748
15757
|
const _args: any[] = [];
|
|
15749
15758
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
15750
|
-
_args.push(
|
|
15751
|
-
_args.push(
|
|
15759
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
15760
|
+
_args.push(transactionArgumentOrPureAddress(args[2], tx));
|
|
15752
15761
|
|
|
15753
15762
|
// @ts-ignore
|
|
15754
15763
|
return tx.moveCall({
|
|
@@ -16046,7 +16055,7 @@ export namespace priority_queue {
|
|
|
16046
16055
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
16047
16056
|
const _args: any[] = [];
|
|
16048
16057
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
16049
|
-
_args.push(
|
|
16058
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
16050
16059
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
16051
16060
|
|
|
16052
16061
|
// @ts-ignore
|
|
@@ -16085,7 +16094,7 @@ export namespace priority_queue {
|
|
|
16085
16094
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
16086
16095
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
16087
16096
|
const _args: any[] = [];
|
|
16088
|
-
_args.push(
|
|
16097
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
16089
16098
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
16090
16099
|
|
|
16091
16100
|
// @ts-ignore
|
|
@@ -16324,7 +16333,7 @@ export namespace random {
|
|
|
16324
16333
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
16325
16334
|
const _args: any[] = [];
|
|
16326
16335
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
16327
|
-
_args.push(
|
|
16336
|
+
_args.push(transactionArgumentOrPureU16(args[1], tx));
|
|
16328
16337
|
|
|
16329
16338
|
// @ts-ignore
|
|
16330
16339
|
return tx.moveCall({
|
|
@@ -16356,8 +16365,8 @@ export namespace random {
|
|
|
16356
16365
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
16357
16366
|
const _args: any[] = [];
|
|
16358
16367
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
16359
|
-
_args.push(
|
|
16360
|
-
_args.push(
|
|
16368
|
+
_args.push(transactionArgumentOrPureU128(args[1], tx));
|
|
16369
|
+
_args.push(transactionArgumentOrPureU128(args[2], tx));
|
|
16361
16370
|
|
|
16362
16371
|
// @ts-ignore
|
|
16363
16372
|
return tx.moveCall({
|
|
@@ -16389,8 +16398,8 @@ export namespace random {
|
|
|
16389
16398
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
16390
16399
|
const _args: any[] = [];
|
|
16391
16400
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
16392
|
-
_args.push(
|
|
16393
|
-
_args.push(
|
|
16401
|
+
_args.push(transactionArgumentOrPureU16(args[1], tx));
|
|
16402
|
+
_args.push(transactionArgumentOrPureU16(args[2], tx));
|
|
16394
16403
|
|
|
16395
16404
|
// @ts-ignore
|
|
16396
16405
|
return tx.moveCall({
|
|
@@ -16435,8 +16444,8 @@ export namespace random {
|
|
|
16435
16444
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
16436
16445
|
const _args: any[] = [];
|
|
16437
16446
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
16438
|
-
_args.push(
|
|
16439
|
-
_args.push(
|
|
16447
|
+
_args.push(transactionArgumentOrPureU32(args[1], tx));
|
|
16448
|
+
_args.push(transactionArgumentOrPureU32(args[2], tx));
|
|
16440
16449
|
|
|
16441
16450
|
// @ts-ignore
|
|
16442
16451
|
return tx.moveCall({
|
|
@@ -16468,8 +16477,8 @@ export namespace random {
|
|
|
16468
16477
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
16469
16478
|
const _args: any[] = [];
|
|
16470
16479
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
16471
|
-
_args.push(
|
|
16472
|
-
_args.push(
|
|
16480
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
16481
|
+
_args.push(transactionArgumentOrPureU64(args[2], tx));
|
|
16473
16482
|
|
|
16474
16483
|
// @ts-ignore
|
|
16475
16484
|
return tx.moveCall({
|
|
@@ -16501,8 +16510,8 @@ export namespace random {
|
|
|
16501
16510
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
16502
16511
|
const _args: any[] = [];
|
|
16503
16512
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
16504
|
-
_args.push(
|
|
16505
|
-
_args.push(
|
|
16513
|
+
_args.push(transactionArgumentOrPureU8(args[1], tx));
|
|
16514
|
+
_args.push(transactionArgumentOrPureU8(args[2], tx));
|
|
16506
16515
|
|
|
16507
16516
|
// @ts-ignore
|
|
16508
16517
|
return tx.moveCall({
|
|
@@ -16551,7 +16560,7 @@ export namespace random {
|
|
|
16551
16560
|
export async function generateBool(
|
|
16552
16561
|
client: SuiClient,
|
|
16553
16562
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
16554
|
-
): Promise<TypedDevInspectResults<[
|
|
16563
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
16555
16564
|
const tx = new Transaction();
|
|
16556
16565
|
builder.generateBool(tx, args);
|
|
16557
16566
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -16559,7 +16568,7 @@ export namespace random {
|
|
|
16559
16568
|
sender: ZERO_ADDRESS,
|
|
16560
16569
|
});
|
|
16561
16570
|
|
|
16562
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
16571
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
16563
16572
|
inspectRes,
|
|
16564
16573
|
);
|
|
16565
16574
|
}
|
|
@@ -16805,7 +16814,7 @@ export namespace random {
|
|
|
16805
16814
|
|
|
16806
16815
|
export namespace sui {
|
|
16807
16816
|
export interface SUI {
|
|
16808
|
-
dummy_field:
|
|
16817
|
+
dummy_field: boolean;
|
|
16809
16818
|
}
|
|
16810
16819
|
|
|
16811
16820
|
export namespace SUI {
|
|
@@ -16828,7 +16837,7 @@ export namespace sui {
|
|
|
16828
16837
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
16829
16838
|
const _args: any[] = [];
|
|
16830
16839
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
16831
|
-
_args.push(
|
|
16840
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
16832
16841
|
|
|
16833
16842
|
// @ts-ignore
|
|
16834
16843
|
return tx.moveCall({
|
|
@@ -17188,7 +17197,7 @@ export namespace table {
|
|
|
17188
17197
|
T0 | TransactionArgument,
|
|
17189
17198
|
],
|
|
17190
17199
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
17191
|
-
): Promise<TypedDevInspectResults<[
|
|
17200
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
17192
17201
|
const tx = new Transaction();
|
|
17193
17202
|
builder.contains(tx, args, typeArguments);
|
|
17194
17203
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -17196,7 +17205,7 @@ export namespace table {
|
|
|
17196
17205
|
sender: ZERO_ADDRESS,
|
|
17197
17206
|
});
|
|
17198
17207
|
|
|
17199
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
17208
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
17200
17209
|
inspectRes,
|
|
17201
17210
|
);
|
|
17202
17211
|
}
|
|
@@ -17236,7 +17245,7 @@ export namespace table {
|
|
|
17236
17245
|
client: SuiClient,
|
|
17237
17246
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
17238
17247
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
17239
|
-
): Promise<TypedDevInspectResults<[
|
|
17248
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
17240
17249
|
const tx = new Transaction();
|
|
17241
17250
|
builder.isEmpty(tx, args, typeArguments);
|
|
17242
17251
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -17244,7 +17253,7 @@ export namespace table {
|
|
|
17244
17253
|
sender: ZERO_ADDRESS,
|
|
17245
17254
|
});
|
|
17246
17255
|
|
|
17247
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
17256
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
17248
17257
|
inspectRes,
|
|
17249
17258
|
);
|
|
17250
17259
|
}
|
|
@@ -17330,7 +17339,7 @@ export namespace table_vec {
|
|
|
17330
17339
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
17331
17340
|
const _args: any[] = [];
|
|
17332
17341
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
17333
|
-
_args.push(
|
|
17342
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
17334
17343
|
|
|
17335
17344
|
// @ts-ignore
|
|
17336
17345
|
return tx.moveCall({
|
|
@@ -17353,7 +17362,7 @@ export namespace table_vec {
|
|
|
17353
17362
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
17354
17363
|
const _args: any[] = [];
|
|
17355
17364
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
17356
|
-
_args.push(
|
|
17365
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
17357
17366
|
|
|
17358
17367
|
// @ts-ignore
|
|
17359
17368
|
return tx.moveCall({
|
|
@@ -17533,8 +17542,8 @@ export namespace table_vec {
|
|
|
17533
17542
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
17534
17543
|
const _args: any[] = [];
|
|
17535
17544
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
17536
|
-
_args.push(
|
|
17537
|
-
_args.push(
|
|
17545
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
17546
|
+
_args.push(transactionArgumentOrPureU64(args[2], tx));
|
|
17538
17547
|
|
|
17539
17548
|
// @ts-ignore
|
|
17540
17549
|
return tx.moveCall({
|
|
@@ -17557,7 +17566,7 @@ export namespace table_vec {
|
|
|
17557
17566
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
17558
17567
|
const _args: any[] = [];
|
|
17559
17568
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
17560
|
-
_args.push(
|
|
17569
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
17561
17570
|
|
|
17562
17571
|
// @ts-ignore
|
|
17563
17572
|
return tx.moveCall({
|
|
@@ -17662,7 +17671,7 @@ export namespace table_vec {
|
|
|
17662
17671
|
client: SuiClient,
|
|
17663
17672
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
17664
17673
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
17665
|
-
): Promise<TypedDevInspectResults<[
|
|
17674
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
17666
17675
|
const tx = new Transaction();
|
|
17667
17676
|
builder.isEmpty(tx, args, typeArguments);
|
|
17668
17677
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -17670,7 +17679,7 @@ export namespace table_vec {
|
|
|
17670
17679
|
sender: ZERO_ADDRESS,
|
|
17671
17680
|
});
|
|
17672
17681
|
|
|
17673
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
17682
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
17674
17683
|
inspectRes,
|
|
17675
17684
|
);
|
|
17676
17685
|
}
|
|
@@ -17808,7 +17817,7 @@ export namespace token {
|
|
|
17808
17817
|
}
|
|
17809
17818
|
|
|
17810
17819
|
export interface RuleKey<T0> {
|
|
17811
|
-
is_protected:
|
|
17820
|
+
is_protected: boolean;
|
|
17812
17821
|
}
|
|
17813
17822
|
|
|
17814
17823
|
export namespace RuleKey {
|
|
@@ -17884,7 +17893,7 @@ export namespace token {
|
|
|
17884
17893
|
|
|
17885
17894
|
export interface TokenPolicyCreated<T0> {
|
|
17886
17895
|
id: object_.ID;
|
|
17887
|
-
is_mutable:
|
|
17896
|
+
is_mutable: boolean;
|
|
17888
17897
|
}
|
|
17889
17898
|
|
|
17890
17899
|
export namespace TokenPolicyCreated {
|
|
@@ -18429,7 +18438,7 @@ export namespace token {
|
|
|
18429
18438
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
18430
18439
|
const _args: any[] = [];
|
|
18431
18440
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
18432
|
-
_args.push(
|
|
18441
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
18433
18442
|
|
|
18434
18443
|
// @ts-ignore
|
|
18435
18444
|
return tx.moveCall({
|
|
@@ -18479,7 +18488,7 @@ export namespace token {
|
|
|
18479
18488
|
] {
|
|
18480
18489
|
const _args: any[] = [];
|
|
18481
18490
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
18482
|
-
_args.push(
|
|
18491
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
18483
18492
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
18484
18493
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
18485
18494
|
|
|
@@ -18784,7 +18793,7 @@ export namespace token {
|
|
|
18784
18793
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
18785
18794
|
const _args: any[] = [];
|
|
18786
18795
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
18787
|
-
_args.push(
|
|
18796
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
18788
18797
|
|
|
18789
18798
|
// @ts-ignore
|
|
18790
18799
|
return tx.moveCall({
|
|
@@ -18838,7 +18847,7 @@ export namespace token {
|
|
|
18838
18847
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
18839
18848
|
const _args: any[] = [];
|
|
18840
18849
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
18841
|
-
_args.push(
|
|
18850
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
18842
18851
|
|
|
18843
18852
|
// @ts-ignore
|
|
18844
18853
|
return tx.moveCall({
|
|
@@ -19239,7 +19248,7 @@ export namespace token {
|
|
|
19239
19248
|
client: SuiClient,
|
|
19240
19249
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
19241
19250
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
19242
|
-
): Promise<TypedDevInspectResults<[
|
|
19251
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
19243
19252
|
const tx = new Transaction();
|
|
19244
19253
|
builder.hasRuleConfig(tx, args, typeArguments);
|
|
19245
19254
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -19247,7 +19256,7 @@ export namespace token {
|
|
|
19247
19256
|
sender: ZERO_ADDRESS,
|
|
19248
19257
|
});
|
|
19249
19258
|
|
|
19250
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
19259
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
19251
19260
|
inspectRes,
|
|
19252
19261
|
);
|
|
19253
19262
|
}
|
|
@@ -19259,7 +19268,7 @@ export namespace token {
|
|
|
19259
19268
|
TypeDescriptor<T1> | string,
|
|
19260
19269
|
TypeDescriptor<T2> | string,
|
|
19261
19270
|
],
|
|
19262
|
-
): Promise<TypedDevInspectResults<[
|
|
19271
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
19263
19272
|
const tx = new Transaction();
|
|
19264
19273
|
builder.hasRuleConfigWithType(tx, args, typeArguments);
|
|
19265
19274
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -19267,7 +19276,7 @@ export namespace token {
|
|
|
19267
19276
|
sender: ZERO_ADDRESS,
|
|
19268
19277
|
});
|
|
19269
19278
|
|
|
19270
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
19279
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
19271
19280
|
inspectRes,
|
|
19272
19281
|
);
|
|
19273
19282
|
}
|
|
@@ -19278,7 +19287,7 @@ export namespace token {
|
|
|
19278
19287
|
string | TransactionObjectArgument | TransactionArgument,
|
|
19279
19288
|
],
|
|
19280
19289
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
19281
|
-
): Promise<TypedDevInspectResults<[
|
|
19290
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
19282
19291
|
const tx = new Transaction();
|
|
19283
19292
|
builder.isAllowed(tx, args, typeArguments);
|
|
19284
19293
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -19286,7 +19295,7 @@ export namespace token {
|
|
|
19286
19295
|
sender: ZERO_ADDRESS,
|
|
19287
19296
|
});
|
|
19288
19297
|
|
|
19289
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
19298
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
19290
19299
|
inspectRes,
|
|
19291
19300
|
);
|
|
19292
19301
|
}
|
|
@@ -19851,7 +19860,7 @@ export namespace transfer {
|
|
|
19851
19860
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
19852
19861
|
const _args: any[] = [];
|
|
19853
19862
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
19854
|
-
_args.push(
|
|
19863
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
19855
19864
|
|
|
19856
19865
|
// @ts-ignore
|
|
19857
19866
|
return tx.moveCall({
|
|
@@ -19951,7 +19960,7 @@ export namespace transfer {
|
|
|
19951
19960
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
19952
19961
|
const _args: any[] = [];
|
|
19953
19962
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
19954
|
-
_args.push(
|
|
19963
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
19955
19964
|
|
|
19956
19965
|
// @ts-ignore
|
|
19957
19966
|
return tx.moveCall({
|
|
@@ -19971,7 +19980,7 @@ export namespace transfer {
|
|
|
19971
19980
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
19972
19981
|
const _args: any[] = [];
|
|
19973
19982
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
19974
|
-
_args.push(
|
|
19983
|
+
_args.push(transactionArgumentOrPureAddress(args[1], tx));
|
|
19975
19984
|
|
|
19976
19985
|
// @ts-ignore
|
|
19977
19986
|
return tx.moveCall({
|
|
@@ -20189,7 +20198,7 @@ export namespace transfer {
|
|
|
20189
20198
|
|
|
20190
20199
|
export namespace transfer_policy {
|
|
20191
20200
|
export interface RuleKey<T0> {
|
|
20192
|
-
dummy_field:
|
|
20201
|
+
dummy_field: boolean;
|
|
20193
20202
|
}
|
|
20194
20203
|
|
|
20195
20204
|
export namespace RuleKey {
|
|
@@ -20605,7 +20614,7 @@ export namespace transfer_policy {
|
|
|
20605
20614
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
20606
20615
|
const _args: any[] = [];
|
|
20607
20616
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
20608
|
-
_args.push(
|
|
20617
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
20609
20618
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
20610
20619
|
|
|
20611
20620
|
// @ts-ignore
|
|
@@ -20906,7 +20915,7 @@ export namespace transfer_policy {
|
|
|
20906
20915
|
client: SuiClient,
|
|
20907
20916
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
20908
20917
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
20909
|
-
): Promise<TypedDevInspectResults<[
|
|
20918
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
20910
20919
|
const tx = new Transaction();
|
|
20911
20920
|
builder.hasRule(tx, args, typeArguments);
|
|
20912
20921
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -20914,7 +20923,7 @@ export namespace transfer_policy {
|
|
|
20914
20923
|
sender: ZERO_ADDRESS,
|
|
20915
20924
|
});
|
|
20916
20925
|
|
|
20917
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
20926
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
20918
20927
|
inspectRes,
|
|
20919
20928
|
);
|
|
20920
20929
|
}
|
|
@@ -21277,7 +21286,7 @@ export namespace types {
|
|
|
21277
21286
|
client: SuiClient,
|
|
21278
21287
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
21279
21288
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
21280
|
-
): Promise<TypedDevInspectResults<[
|
|
21289
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
21281
21290
|
const tx = new Transaction();
|
|
21282
21291
|
builder.isOneTimeWitness(tx, args, typeArguments);
|
|
21283
21292
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -21285,7 +21294,7 @@ export namespace types {
|
|
|
21285
21294
|
sender: ZERO_ADDRESS,
|
|
21286
21295
|
});
|
|
21287
21296
|
|
|
21288
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
21297
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
21289
21298
|
inspectRes,
|
|
21290
21299
|
);
|
|
21291
21300
|
}
|
|
@@ -21471,7 +21480,7 @@ export namespace vdf {
|
|
|
21471
21480
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
21472
21481
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
21473
21482
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
21474
|
-
_args.push(
|
|
21483
|
+
_args.push(transactionArgumentOrPureU64(args[3], tx));
|
|
21475
21484
|
|
|
21476
21485
|
// @ts-ignore
|
|
21477
21486
|
return tx.moveCall({
|
|
@@ -21504,7 +21513,7 @@ export namespace vdf {
|
|
|
21504
21513
|
string | TransactionObjectArgument | TransactionArgument,
|
|
21505
21514
|
bigint | TransactionArgument,
|
|
21506
21515
|
],
|
|
21507
|
-
): Promise<TypedDevInspectResults<[
|
|
21516
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
21508
21517
|
const tx = new Transaction();
|
|
21509
21518
|
builder.vdfVerify(tx, args);
|
|
21510
21519
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -21512,7 +21521,7 @@ export namespace vdf {
|
|
|
21512
21521
|
sender: ZERO_ADDRESS,
|
|
21513
21522
|
});
|
|
21514
21523
|
|
|
21515
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
21524
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
21516
21525
|
inspectRes,
|
|
21517
21526
|
);
|
|
21518
21527
|
}
|
|
@@ -21697,7 +21706,7 @@ export namespace vec_map {
|
|
|
21697
21706
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
21698
21707
|
const _args: any[] = [];
|
|
21699
21708
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
21700
|
-
_args.push(
|
|
21709
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
21701
21710
|
|
|
21702
21711
|
// @ts-ignore
|
|
21703
21712
|
return tx.moveCall({
|
|
@@ -21723,7 +21732,7 @@ export namespace vec_map {
|
|
|
21723
21732
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
21724
21733
|
const _args: any[] = [];
|
|
21725
21734
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
21726
|
-
_args.push(
|
|
21735
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
21727
21736
|
|
|
21728
21737
|
// @ts-ignore
|
|
21729
21738
|
return tx.moveCall({
|
|
@@ -21970,7 +21979,7 @@ export namespace vec_map {
|
|
|
21970
21979
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
21971
21980
|
const _args: any[] = [];
|
|
21972
21981
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
21973
|
-
_args.push(
|
|
21982
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
21974
21983
|
|
|
21975
21984
|
// @ts-ignore
|
|
21976
21985
|
return tx.moveCall({
|
|
@@ -22043,7 +22052,7 @@ export namespace vec_map {
|
|
|
22043
22052
|
string | TransactionObjectArgument | TransactionArgument,
|
|
22044
22053
|
],
|
|
22045
22054
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
22046
|
-
): Promise<TypedDevInspectResults<[
|
|
22055
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
22047
22056
|
const tx = new Transaction();
|
|
22048
22057
|
builder.contains(tx, args, typeArguments);
|
|
22049
22058
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -22051,7 +22060,7 @@ export namespace vec_map {
|
|
|
22051
22060
|
sender: ZERO_ADDRESS,
|
|
22052
22061
|
});
|
|
22053
22062
|
|
|
22054
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
22063
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
22055
22064
|
inspectRes,
|
|
22056
22065
|
);
|
|
22057
22066
|
}
|
|
@@ -22260,7 +22269,7 @@ export namespace vec_map {
|
|
|
22260
22269
|
client: SuiClient,
|
|
22261
22270
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
22262
22271
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
22263
|
-
): Promise<TypedDevInspectResults<[
|
|
22272
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
22264
22273
|
const tx = new Transaction();
|
|
22265
22274
|
builder.isEmpty(tx, args, typeArguments);
|
|
22266
22275
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -22268,7 +22277,7 @@ export namespace vec_map {
|
|
|
22268
22277
|
sender: ZERO_ADDRESS,
|
|
22269
22278
|
});
|
|
22270
22279
|
|
|
22271
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
22280
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
22272
22281
|
inspectRes,
|
|
22273
22282
|
);
|
|
22274
22283
|
}
|
|
@@ -22613,7 +22622,7 @@ export namespace vec_set {
|
|
|
22613
22622
|
string | TransactionObjectArgument | TransactionArgument,
|
|
22614
22623
|
],
|
|
22615
22624
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
22616
|
-
): Promise<TypedDevInspectResults<[
|
|
22625
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
22617
22626
|
const tx = new Transaction();
|
|
22618
22627
|
builder.contains(tx, args, typeArguments);
|
|
22619
22628
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -22621,7 +22630,7 @@ export namespace vec_set {
|
|
|
22621
22630
|
sender: ZERO_ADDRESS,
|
|
22622
22631
|
});
|
|
22623
22632
|
|
|
22624
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
22633
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
22625
22634
|
inspectRes,
|
|
22626
22635
|
);
|
|
22627
22636
|
}
|
|
@@ -22696,7 +22705,7 @@ export namespace vec_set {
|
|
|
22696
22705
|
client: SuiClient,
|
|
22697
22706
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
22698
22707
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
22699
|
-
): Promise<TypedDevInspectResults<[
|
|
22708
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
22700
22709
|
const tx = new Transaction();
|
|
22701
22710
|
builder.isEmpty(tx, args, typeArguments);
|
|
22702
22711
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -22704,7 +22713,7 @@ export namespace vec_set {
|
|
|
22704
22713
|
sender: ZERO_ADDRESS,
|
|
22705
22714
|
});
|
|
22706
22715
|
|
|
22707
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
22716
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
22708
22717
|
inspectRes,
|
|
22709
22718
|
);
|
|
22710
22719
|
}
|
|
@@ -22818,7 +22827,7 @@ export namespace versioned {
|
|
|
22818
22827
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
22819
22828
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
22820
22829
|
const _args: any[] = [];
|
|
22821
|
-
_args.push(
|
|
22830
|
+
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
22822
22831
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
22823
22832
|
|
|
22824
22833
|
// @ts-ignore
|
|
@@ -22926,7 +22935,7 @@ export namespace versioned {
|
|
|
22926
22935
|
] {
|
|
22927
22936
|
const _args: any[] = [];
|
|
22928
22937
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
22929
|
-
_args.push(
|
|
22938
|
+
_args.push(transactionArgumentOrPureU64(args[1], tx));
|
|
22930
22939
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
22931
22940
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
22932
22941
|
|
|
@@ -23129,12 +23138,12 @@ export namespace zklogin_verified_id {
|
|
|
23129
23138
|
TransactionArgument,
|
|
23130
23139
|
] {
|
|
23131
23140
|
const _args: any[] = [];
|
|
23132
|
-
_args.push(
|
|
23141
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
23133
23142
|
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
23134
23143
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
23135
23144
|
_args.push(transactionArgumentOrObject(args[3], tx));
|
|
23136
23145
|
_args.push(transactionArgumentOrObject(args[4], tx));
|
|
23137
|
-
_args.push(
|
|
23146
|
+
_args.push(transactionArgumentOrPureU256(args[5], tx));
|
|
23138
23147
|
|
|
23139
23148
|
// @ts-ignore
|
|
23140
23149
|
return tx.moveCall({
|
|
@@ -23229,7 +23238,7 @@ export namespace zklogin_verified_id {
|
|
|
23229
23238
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
23230
23239
|
_args.push(transactionArgumentOrPure(args[2], tx));
|
|
23231
23240
|
_args.push(transactionArgumentOrPure(args[3], tx));
|
|
23232
|
-
_args.push(
|
|
23241
|
+
_args.push(transactionArgumentOrPureU256(args[4], tx));
|
|
23233
23242
|
|
|
23234
23243
|
// @ts-ignore
|
|
23235
23244
|
return tx.moveCall({
|
|
@@ -23264,7 +23273,7 @@ export namespace zklogin_verified_id {
|
|
|
23264
23273
|
string | TransactionObjectArgument | TransactionArgument,
|
|
23265
23274
|
bigint | TransactionArgument,
|
|
23266
23275
|
],
|
|
23267
|
-
): Promise<TypedDevInspectResults<[
|
|
23276
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
23268
23277
|
const tx = new Transaction();
|
|
23269
23278
|
builder.checkZkloginId(tx, args);
|
|
23270
23279
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -23272,7 +23281,7 @@ export namespace zklogin_verified_id {
|
|
|
23272
23281
|
sender: ZERO_ADDRESS,
|
|
23273
23282
|
});
|
|
23274
23283
|
|
|
23275
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
23284
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
23276
23285
|
inspectRes,
|
|
23277
23286
|
);
|
|
23278
23287
|
}
|
|
@@ -23403,8 +23412,8 @@ export namespace zklogin_verified_issuer {
|
|
|
23403
23412
|
): TransactionArgument &
|
|
23404
23413
|
[TransactionArgument, TransactionArgument, TransactionArgument] {
|
|
23405
23414
|
const _args: any[] = [];
|
|
23406
|
-
_args.push(
|
|
23407
|
-
_args.push(
|
|
23415
|
+
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
23416
|
+
_args.push(transactionArgumentOrPureU256(args[1], tx));
|
|
23408
23417
|
_args.push(transactionArgumentOrObject(args[2], tx));
|
|
23409
23418
|
|
|
23410
23419
|
// @ts-ignore
|
|
@@ -23457,7 +23466,7 @@ export namespace zklogin_verified_issuer {
|
|
|
23457
23466
|
args: [bigint | TransactionArgument, string | TransactionArgument],
|
|
23458
23467
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
23459
23468
|
const _args: any[] = [];
|
|
23460
|
-
_args.push(
|
|
23469
|
+
_args.push(transactionArgumentOrPureU256(args[0], tx));
|
|
23461
23470
|
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
23462
23471
|
|
|
23463
23472
|
// @ts-ignore
|
|
@@ -23475,7 +23484,7 @@ export namespace zklogin_verified_issuer {
|
|
|
23475
23484
|
bigint | TransactionArgument,
|
|
23476
23485
|
string | TransactionObjectArgument | TransactionArgument,
|
|
23477
23486
|
],
|
|
23478
|
-
): Promise<TypedDevInspectResults<[
|
|
23487
|
+
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
23479
23488
|
const tx = new Transaction();
|
|
23480
23489
|
builder.checkZkloginIssuer(tx, args);
|
|
23481
23490
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -23483,7 +23492,7 @@ export namespace zklogin_verified_issuer {
|
|
|
23483
23492
|
sender: ZERO_ADDRESS,
|
|
23484
23493
|
});
|
|
23485
23494
|
|
|
23486
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
23495
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[boolean]>(
|
|
23487
23496
|
inspectRes,
|
|
23488
23497
|
);
|
|
23489
23498
|
}
|