@typemove/sui 1.13.4-rc.1 → 1.13.4
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/esm/builtin/0x1.d.ts +269 -269
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +684 -684
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +272 -272
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +5 -5
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/codegen/run.js +3 -2
- package/dist/esm/codegen/run.js.map +1 -1
- package/dist/esm/models.d.ts +1 -1
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/move-coder.d.ts +3 -3
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +3 -3
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/move-coder.test.js.map +1 -1
- package/dist/esm/sui-chain-adapter.d.ts +4 -3
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -1
- package/dist/esm/sui-chain-adapter.js +13 -2
- package/dist/esm/sui-chain-adapter.js.map +1 -1
- package/dist/esm/to-internal.d.ts +1 -1
- package/dist/esm/to-internal.d.ts.map +1 -1
- package/package.json +11 -32
- package/src/builtin/0x1.ts +269 -269
- package/src/builtin/0x2.ts +684 -684
- package/src/builtin/0x3.ts +272 -272
- package/src/codegen/codegen.ts +5 -5
- package/src/codegen/run.ts +3 -2
- package/src/models.ts +1 -1
- package/src/move-coder.ts +7 -7
- package/src/sui-chain-adapter.ts +13 -5
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +5 -5
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +49 -49
- package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +32 -32
- package/src/tests/types/testnet/0xdee9.ts +91 -91
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +156 -156
- package/src/tests/types/testnet/enum.ts +119 -119
- package/src/to-internal.ts +1 -1
- package/builtin/0x1/package.json +0 -5
- package/builtin/0x2/package.json +0 -5
- package/builtin/0x3/package.json +0 -5
- package/builtin/package.json +0 -5
- package/codegen/package.json +0 -5
- package/dist/cjs/builtin/0x1.d.ts +0 -918
- package/dist/cjs/builtin/0x1.d.ts.map +0 -1
- package/dist/cjs/builtin/0x1.js +0 -6037
- package/dist/cjs/builtin/0x1.js.map +0 -1
- package/dist/cjs/builtin/0x2.d.ts +0 -4502
- package/dist/cjs/builtin/0x2.d.ts.map +0 -1
- package/dist/cjs/builtin/0x2.js +0 -18415
- package/dist/cjs/builtin/0x2.js.map +0 -1
- package/dist/cjs/builtin/0x3.d.ts +0 -1964
- package/dist/cjs/builtin/0x3.d.ts.map +0 -1
- package/dist/cjs/builtin/0x3.js +0 -6151
- package/dist/cjs/builtin/0x3.js.map +0 -1
- package/dist/cjs/builtin/index.d.ts +0 -4
- package/dist/cjs/builtin/index.d.ts.map +0 -1
- package/dist/cjs/builtin/index.js +0 -11
- package/dist/cjs/builtin/index.js.map +0 -1
- package/dist/cjs/codegen/codegen.d.ts +0 -20
- package/dist/cjs/codegen/codegen.d.ts.map +0 -1
- package/dist/cjs/codegen/codegen.js +0 -251
- package/dist/cjs/codegen/codegen.js.map +0 -1
- package/dist/cjs/codegen/index.d.ts +0 -2
- package/dist/cjs/codegen/index.d.ts.map +0 -1
- package/dist/cjs/codegen/index.js +0 -5
- package/dist/cjs/codegen/index.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -4
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models.d.ts +0 -18
- package/dist/cjs/models.d.ts.map +0 -1
- package/dist/cjs/models.js +0 -5
- package/dist/cjs/models.js.map +0 -1
- package/dist/cjs/move-coder.d.ts +0 -26
- package/dist/cjs/move-coder.d.ts.map +0 -1
- package/dist/cjs/move-coder.js +0 -272
- package/dist/cjs/move-coder.js.map +0 -1
- package/dist/cjs/move-coder.test.d.ts +0 -2
- package/dist/cjs/move-coder.test.d.ts.map +0 -1
- package/dist/cjs/move-coder.test.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/sui-chain-adapter.d.ts +0 -15
- package/dist/cjs/sui-chain-adapter.d.ts.map +0 -1
- package/dist/cjs/sui-chain-adapter.js +0 -88
- package/dist/cjs/sui-chain-adapter.js.map +0 -1
- package/dist/cjs/to-internal.d.ts +0 -4
- package/dist/cjs/to-internal.d.ts.map +0 -1
- package/dist/cjs/to-internal.js +0 -99
- package/dist/cjs/to-internal.js.map +0 -1
- package/dist/cjs/transaction.d.ts +0 -15
- package/dist/cjs/transaction.d.ts.map +0 -1
- package/dist/cjs/transaction.js +0 -98
- package/dist/cjs/transaction.js.map +0 -1
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
TransactionArgument,
|
|
20
20
|
TransactionObjectArgument,
|
|
21
21
|
} from "@mysten/sui/transactions";
|
|
22
|
-
import {
|
|
22
|
+
import { SuiJsonRpcClient } from "@mysten/sui/jsonRpc";
|
|
23
23
|
import {
|
|
24
24
|
transactionArgumentOrObject,
|
|
25
25
|
transactionArgumentOrVec,
|
|
@@ -879,7 +879,7 @@ export namespace clob {
|
|
|
879
879
|
}
|
|
880
880
|
export namespace view {
|
|
881
881
|
export async function accountBalance<T0 = any, T1 = any>(
|
|
882
|
-
client:
|
|
882
|
+
client: SuiJsonRpcClient,
|
|
883
883
|
args: [string, string],
|
|
884
884
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
885
885
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
@@ -895,7 +895,7 @@ export namespace clob {
|
|
|
895
895
|
>(inspectRes);
|
|
896
896
|
}
|
|
897
897
|
export async function batchCancelOrder<T0 = any, T1 = any>(
|
|
898
|
-
client:
|
|
898
|
+
client: SuiJsonRpcClient,
|
|
899
899
|
args: [string, string[], string],
|
|
900
900
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
901
901
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -911,7 +911,7 @@ export namespace clob {
|
|
|
911
911
|
);
|
|
912
912
|
}
|
|
913
913
|
export async function cancelAllOrders<T0 = any, T1 = any>(
|
|
914
|
-
client:
|
|
914
|
+
client: SuiJsonRpcClient,
|
|
915
915
|
args: [string, string],
|
|
916
916
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
917
917
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -927,7 +927,7 @@ export namespace clob {
|
|
|
927
927
|
);
|
|
928
928
|
}
|
|
929
929
|
export async function cancelOrder<T0 = any, T1 = any>(
|
|
930
|
-
client:
|
|
930
|
+
client: SuiJsonRpcClient,
|
|
931
931
|
args: [string, bigint, string],
|
|
932
932
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
933
933
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -943,7 +943,7 @@ export namespace clob {
|
|
|
943
943
|
);
|
|
944
944
|
}
|
|
945
945
|
export async function createAccount(
|
|
946
|
-
client:
|
|
946
|
+
client: SuiJsonRpcClient,
|
|
947
947
|
args: [],
|
|
948
948
|
): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
|
|
949
949
|
const tx = new Transaction();
|
|
@@ -958,7 +958,7 @@ export namespace clob {
|
|
|
958
958
|
>(inspectRes);
|
|
959
959
|
}
|
|
960
960
|
export async function createPool<T0 = any, T1 = any>(
|
|
961
|
-
client:
|
|
961
|
+
client: SuiJsonRpcClient,
|
|
962
962
|
args: [bigint, bigint, _0x2.coin.Coin<_0x2.sui.SUI>],
|
|
963
963
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
964
964
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -974,7 +974,7 @@ export namespace clob {
|
|
|
974
974
|
);
|
|
975
975
|
}
|
|
976
976
|
export async function depositBase<T0 = any, T1 = any>(
|
|
977
|
-
client:
|
|
977
|
+
client: SuiJsonRpcClient,
|
|
978
978
|
args: [string, _0x2.coin.Coin<T0>, string],
|
|
979
979
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
980
980
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -990,7 +990,7 @@ export namespace clob {
|
|
|
990
990
|
);
|
|
991
991
|
}
|
|
992
992
|
export async function depositQuote<T0 = any, T1 = any>(
|
|
993
|
-
client:
|
|
993
|
+
client: SuiJsonRpcClient,
|
|
994
994
|
args: [string, _0x2.coin.Coin<T1>, string],
|
|
995
995
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
996
996
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -1006,7 +1006,7 @@ export namespace clob {
|
|
|
1006
1006
|
);
|
|
1007
1007
|
}
|
|
1008
1008
|
export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
1009
|
-
client:
|
|
1009
|
+
client: SuiJsonRpcClient,
|
|
1010
1010
|
args: [string, bigint, bigint, string],
|
|
1011
1011
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1012
1012
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -1022,7 +1022,7 @@ export namespace clob {
|
|
|
1022
1022
|
>(inspectRes);
|
|
1023
1023
|
}
|
|
1024
1024
|
export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
1025
|
-
client:
|
|
1025
|
+
client: SuiJsonRpcClient,
|
|
1026
1026
|
args: [string, bigint, bigint, string],
|
|
1027
1027
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1028
1028
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -1038,7 +1038,7 @@ export namespace clob {
|
|
|
1038
1038
|
>(inspectRes);
|
|
1039
1039
|
}
|
|
1040
1040
|
export async function getMarketPrice<T0 = any, T1 = any>(
|
|
1041
|
-
client:
|
|
1041
|
+
client: SuiJsonRpcClient,
|
|
1042
1042
|
args: [string],
|
|
1043
1043
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1044
1044
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
@@ -1054,7 +1054,7 @@ export namespace clob {
|
|
|
1054
1054
|
>(inspectRes);
|
|
1055
1055
|
}
|
|
1056
1056
|
export async function getOrderStatus<T0 = any, T1 = any>(
|
|
1057
|
-
client:
|
|
1057
|
+
client: SuiJsonRpcClient,
|
|
1058
1058
|
args: [string, bigint, string],
|
|
1059
1059
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1060
1060
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
@@ -1070,7 +1070,7 @@ export namespace clob {
|
|
|
1070
1070
|
);
|
|
1071
1071
|
}
|
|
1072
1072
|
export async function listOpenOrders<T0 = any, T1 = any>(
|
|
1073
|
-
client:
|
|
1073
|
+
client: SuiJsonRpcClient,
|
|
1074
1074
|
args: [string, string],
|
|
1075
1075
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1076
1076
|
): Promise<TypedDevInspectResults<[clob.Order[]]>> {
|
|
@@ -1086,7 +1086,7 @@ export namespace clob {
|
|
|
1086
1086
|
>(inspectRes);
|
|
1087
1087
|
}
|
|
1088
1088
|
export async function placeLimitOrder<T0 = any, T1 = any>(
|
|
1089
|
-
client:
|
|
1089
|
+
client: SuiJsonRpcClient,
|
|
1090
1090
|
args: [string, bigint, bigint, boolean, bigint, number, string, string],
|
|
1091
1091
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1092
1092
|
): Promise<TypedDevInspectResults<[bigint, bigint, boolean, bigint]>> {
|
|
@@ -1102,7 +1102,7 @@ export namespace clob {
|
|
|
1102
1102
|
>(inspectRes);
|
|
1103
1103
|
}
|
|
1104
1104
|
export async function placeMarketOrder<T0 = any, T1 = any>(
|
|
1105
|
-
client:
|
|
1105
|
+
client: SuiJsonRpcClient,
|
|
1106
1106
|
args: [
|
|
1107
1107
|
string,
|
|
1108
1108
|
bigint,
|
|
@@ -1127,7 +1127,7 @@ export namespace clob {
|
|
|
1127
1127
|
>(inspectRes);
|
|
1128
1128
|
}
|
|
1129
1129
|
export async function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
1130
|
-
client:
|
|
1130
|
+
client: SuiJsonRpcClient,
|
|
1131
1131
|
args: [string, bigint, _0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, string],
|
|
1132
1132
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1133
1133
|
): Promise<
|
|
@@ -1145,7 +1145,7 @@ export namespace clob {
|
|
|
1145
1145
|
>(inspectRes);
|
|
1146
1146
|
}
|
|
1147
1147
|
export async function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
1148
|
-
client:
|
|
1148
|
+
client: SuiJsonRpcClient,
|
|
1149
1149
|
args: [string, bigint, string, _0x2.coin.Coin<T1>],
|
|
1150
1150
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1151
1151
|
): Promise<
|
|
@@ -1163,7 +1163,7 @@ export namespace clob {
|
|
|
1163
1163
|
>(inspectRes);
|
|
1164
1164
|
}
|
|
1165
1165
|
export async function withdrawBase<T0 = any, T1 = any>(
|
|
1166
|
-
client:
|
|
1166
|
+
client: SuiJsonRpcClient,
|
|
1167
1167
|
args: [string, bigint, string],
|
|
1168
1168
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1169
1169
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -1179,7 +1179,7 @@ export namespace clob {
|
|
|
1179
1179
|
>(inspectRes);
|
|
1180
1180
|
}
|
|
1181
1181
|
export async function withdrawQuote<T0 = any, T1 = any>(
|
|
1182
|
-
client:
|
|
1182
|
+
client: SuiJsonRpcClient,
|
|
1183
1183
|
args: [string, bigint, string],
|
|
1184
1184
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1185
1185
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
@@ -2092,7 +2092,7 @@ export namespace clob_v2 {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
export namespace view {
|
|
2094
2094
|
export async function accountBalance<T0 = any, T1 = any>(
|
|
2095
|
-
client:
|
|
2095
|
+
client: SuiJsonRpcClient,
|
|
2096
2096
|
args: [string, string],
|
|
2097
2097
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2098
2098
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
@@ -2108,7 +2108,7 @@ export namespace clob_v2 {
|
|
|
2108
2108
|
>(inspectRes);
|
|
2109
2109
|
}
|
|
2110
2110
|
export async function batchCancelOrder<T0 = any, T1 = any>(
|
|
2111
|
-
client:
|
|
2111
|
+
client: SuiJsonRpcClient,
|
|
2112
2112
|
args: [string, string[], string],
|
|
2113
2113
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2114
2114
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2124,7 +2124,7 @@ export namespace clob_v2 {
|
|
|
2124
2124
|
);
|
|
2125
2125
|
}
|
|
2126
2126
|
export async function cancelAllOrders<T0 = any, T1 = any>(
|
|
2127
|
-
client:
|
|
2127
|
+
client: SuiJsonRpcClient,
|
|
2128
2128
|
args: [string, string],
|
|
2129
2129
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2130
2130
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2140,7 +2140,7 @@ export namespace clob_v2 {
|
|
|
2140
2140
|
);
|
|
2141
2141
|
}
|
|
2142
2142
|
export async function cancelOrder<T0 = any, T1 = any>(
|
|
2143
|
-
client:
|
|
2143
|
+
client: SuiJsonRpcClient,
|
|
2144
2144
|
args: [string, bigint, string],
|
|
2145
2145
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2146
2146
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2156,7 +2156,7 @@ export namespace clob_v2 {
|
|
|
2156
2156
|
);
|
|
2157
2157
|
}
|
|
2158
2158
|
export async function cleanUpExpiredOrders<T0 = any, T1 = any>(
|
|
2159
|
-
client:
|
|
2159
|
+
client: SuiJsonRpcClient,
|
|
2160
2160
|
args: [string, string, string[], string[]],
|
|
2161
2161
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2162
2162
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2172,7 +2172,7 @@ export namespace clob_v2 {
|
|
|
2172
2172
|
);
|
|
2173
2173
|
}
|
|
2174
2174
|
export async function createAccount(
|
|
2175
|
-
client:
|
|
2175
|
+
client: SuiJsonRpcClient,
|
|
2176
2176
|
args: [],
|
|
2177
2177
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
2178
2178
|
const tx = new Transaction();
|
|
@@ -2187,7 +2187,7 @@ export namespace clob_v2 {
|
|
|
2187
2187
|
>(inspectRes);
|
|
2188
2188
|
}
|
|
2189
2189
|
export async function createPool<T0 = any, T1 = any>(
|
|
2190
|
-
client:
|
|
2190
|
+
client: SuiJsonRpcClient,
|
|
2191
2191
|
args: [bigint, bigint, _0x2.coin.Coin<_0x2.sui.SUI>],
|
|
2192
2192
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2193
2193
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2203,7 +2203,7 @@ export namespace clob_v2 {
|
|
|
2203
2203
|
);
|
|
2204
2204
|
}
|
|
2205
2205
|
export async function depositBase<T0 = any, T1 = any>(
|
|
2206
|
-
client:
|
|
2206
|
+
client: SuiJsonRpcClient,
|
|
2207
2207
|
args: [string, _0x2.coin.Coin<T0>, string],
|
|
2208
2208
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2209
2209
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2219,7 +2219,7 @@ export namespace clob_v2 {
|
|
|
2219
2219
|
);
|
|
2220
2220
|
}
|
|
2221
2221
|
export async function depositQuote<T0 = any, T1 = any>(
|
|
2222
|
-
client:
|
|
2222
|
+
client: SuiJsonRpcClient,
|
|
2223
2223
|
args: [string, _0x2.coin.Coin<T1>, string],
|
|
2224
2224
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2225
2225
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2235,7 +2235,7 @@ export namespace clob_v2 {
|
|
|
2235
2235
|
);
|
|
2236
2236
|
}
|
|
2237
2237
|
export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
2238
|
-
client:
|
|
2238
|
+
client: SuiJsonRpcClient,
|
|
2239
2239
|
args: [string, bigint, bigint, string],
|
|
2240
2240
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2241
2241
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -2251,7 +2251,7 @@ export namespace clob_v2 {
|
|
|
2251
2251
|
>(inspectRes);
|
|
2252
2252
|
}
|
|
2253
2253
|
export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
2254
|
-
client:
|
|
2254
|
+
client: SuiJsonRpcClient,
|
|
2255
2255
|
args: [string, bigint, bigint, string],
|
|
2256
2256
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2257
2257
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -2267,7 +2267,7 @@ export namespace clob_v2 {
|
|
|
2267
2267
|
>(inspectRes);
|
|
2268
2268
|
}
|
|
2269
2269
|
export async function getMarketPrice<T0 = any, T1 = any>(
|
|
2270
|
-
client:
|
|
2270
|
+
client: SuiJsonRpcClient,
|
|
2271
2271
|
args: [string],
|
|
2272
2272
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2273
2273
|
): Promise<
|
|
@@ -2287,7 +2287,7 @@ export namespace clob_v2 {
|
|
|
2287
2287
|
>(inspectRes);
|
|
2288
2288
|
}
|
|
2289
2289
|
export async function getOrderStatus<T0 = any, T1 = any>(
|
|
2290
|
-
client:
|
|
2290
|
+
client: SuiJsonRpcClient,
|
|
2291
2291
|
args: [string, bigint, string],
|
|
2292
2292
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2293
2293
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
@@ -2303,7 +2303,7 @@ export namespace clob_v2 {
|
|
|
2303
2303
|
);
|
|
2304
2304
|
}
|
|
2305
2305
|
export async function listOpenOrders<T0 = any, T1 = any>(
|
|
2306
|
-
client:
|
|
2306
|
+
client: SuiJsonRpcClient,
|
|
2307
2307
|
args: [string, string],
|
|
2308
2308
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2309
2309
|
): Promise<TypedDevInspectResults<[clob_v2.Order[]]>> {
|
|
@@ -2319,7 +2319,7 @@ export namespace clob_v2 {
|
|
|
2319
2319
|
>(inspectRes);
|
|
2320
2320
|
}
|
|
2321
2321
|
export async function placeLimitOrder<T0 = any, T1 = any>(
|
|
2322
|
-
client:
|
|
2322
|
+
client: SuiJsonRpcClient,
|
|
2323
2323
|
args: [
|
|
2324
2324
|
string,
|
|
2325
2325
|
bigint,
|
|
@@ -2346,7 +2346,7 @@ export namespace clob_v2 {
|
|
|
2346
2346
|
>(inspectRes);
|
|
2347
2347
|
}
|
|
2348
2348
|
export async function placeMarketOrder<T0 = any, T1 = any>(
|
|
2349
|
-
client:
|
|
2349
|
+
client: SuiJsonRpcClient,
|
|
2350
2350
|
args: [
|
|
2351
2351
|
string,
|
|
2352
2352
|
string,
|
|
@@ -2373,7 +2373,7 @@ export namespace clob_v2 {
|
|
|
2373
2373
|
>(inspectRes);
|
|
2374
2374
|
}
|
|
2375
2375
|
export async function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
2376
|
-
client:
|
|
2376
|
+
client: SuiJsonRpcClient,
|
|
2377
2377
|
args: [
|
|
2378
2378
|
string,
|
|
2379
2379
|
bigint,
|
|
@@ -2399,7 +2399,7 @@ export namespace clob_v2 {
|
|
|
2399
2399
|
>(inspectRes);
|
|
2400
2400
|
}
|
|
2401
2401
|
export async function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
2402
|
-
client:
|
|
2402
|
+
client: SuiJsonRpcClient,
|
|
2403
2403
|
args: [string, bigint, string, bigint, string, _0x2.coin.Coin<T1>],
|
|
2404
2404
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2405
2405
|
): Promise<
|
|
@@ -2417,7 +2417,7 @@ export namespace clob_v2 {
|
|
|
2417
2417
|
>(inspectRes);
|
|
2418
2418
|
}
|
|
2419
2419
|
export async function withdrawBase<T0 = any, T1 = any>(
|
|
2420
|
-
client:
|
|
2420
|
+
client: SuiJsonRpcClient,
|
|
2421
2421
|
args: [string, bigint, string],
|
|
2422
2422
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2423
2423
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -2433,7 +2433,7 @@ export namespace clob_v2 {
|
|
|
2433
2433
|
>(inspectRes);
|
|
2434
2434
|
}
|
|
2435
2435
|
export async function withdrawQuote<T0 = any, T1 = any>(
|
|
2436
|
-
client:
|
|
2436
|
+
client: SuiJsonRpcClient,
|
|
2437
2437
|
args: [string, bigint, string],
|
|
2438
2438
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2439
2439
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
@@ -2831,7 +2831,7 @@ export namespace critbit {
|
|
|
2831
2831
|
}
|
|
2832
2832
|
export namespace view {
|
|
2833
2833
|
export async function borrowLeafByIndex<T0 = any>(
|
|
2834
|
-
client:
|
|
2834
|
+
client: SuiJsonRpcClient,
|
|
2835
2835
|
args: [string, bigint],
|
|
2836
2836
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2837
2837
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
@@ -2847,7 +2847,7 @@ export namespace critbit {
|
|
|
2847
2847
|
);
|
|
2848
2848
|
}
|
|
2849
2849
|
export async function borrowLeafByKey<T0 = any>(
|
|
2850
|
-
client:
|
|
2850
|
+
client: SuiJsonRpcClient,
|
|
2851
2851
|
args: [string, bigint],
|
|
2852
2852
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2853
2853
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
@@ -2863,7 +2863,7 @@ export namespace critbit {
|
|
|
2863
2863
|
);
|
|
2864
2864
|
}
|
|
2865
2865
|
export async function borrowMutLeafByIndex<T0 = any>(
|
|
2866
|
-
client:
|
|
2866
|
+
client: SuiJsonRpcClient,
|
|
2867
2867
|
args: [string, bigint],
|
|
2868
2868
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2869
2869
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
@@ -2879,7 +2879,7 @@ export namespace critbit {
|
|
|
2879
2879
|
);
|
|
2880
2880
|
}
|
|
2881
2881
|
export async function destroyEmpty<T0 = any>(
|
|
2882
|
-
client:
|
|
2882
|
+
client: SuiJsonRpcClient,
|
|
2883
2883
|
args: [critbit.CritbitTree<T0>],
|
|
2884
2884
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2885
2885
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2895,7 +2895,7 @@ export namespace critbit {
|
|
|
2895
2895
|
);
|
|
2896
2896
|
}
|
|
2897
2897
|
export async function drop<T0 = any>(
|
|
2898
|
-
client:
|
|
2898
|
+
client: SuiJsonRpcClient,
|
|
2899
2899
|
args: [critbit.CritbitTree<T0>],
|
|
2900
2900
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2901
2901
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2911,7 +2911,7 @@ export namespace critbit {
|
|
|
2911
2911
|
);
|
|
2912
2912
|
}
|
|
2913
2913
|
export async function findClosestKey<T0 = any>(
|
|
2914
|
-
client:
|
|
2914
|
+
client: SuiJsonRpcClient,
|
|
2915
2915
|
args: [string, bigint],
|
|
2916
2916
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2917
2917
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
@@ -2927,7 +2927,7 @@ export namespace critbit {
|
|
|
2927
2927
|
);
|
|
2928
2928
|
}
|
|
2929
2929
|
export async function findLeaf<T0 = any>(
|
|
2930
|
-
client:
|
|
2930
|
+
client: SuiJsonRpcClient,
|
|
2931
2931
|
args: [string, bigint],
|
|
2932
2932
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2933
2933
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
@@ -2943,7 +2943,7 @@ export namespace critbit {
|
|
|
2943
2943
|
>(inspectRes);
|
|
2944
2944
|
}
|
|
2945
2945
|
export async function insertLeaf<T0 = any>(
|
|
2946
|
-
client:
|
|
2946
|
+
client: SuiJsonRpcClient,
|
|
2947
2947
|
args: [string, bigint, T0],
|
|
2948
2948
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2949
2949
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
@@ -2959,7 +2959,7 @@ export namespace critbit {
|
|
|
2959
2959
|
);
|
|
2960
2960
|
}
|
|
2961
2961
|
export async function isEmpty<T0 = any>(
|
|
2962
|
-
client:
|
|
2962
|
+
client: SuiJsonRpcClient,
|
|
2963
2963
|
args: [string],
|
|
2964
2964
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2965
2965
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
@@ -2975,7 +2975,7 @@ export namespace critbit {
|
|
|
2975
2975
|
);
|
|
2976
2976
|
}
|
|
2977
2977
|
export async function maxLeaf<T0 = any>(
|
|
2978
|
-
client:
|
|
2978
|
+
client: SuiJsonRpcClient,
|
|
2979
2979
|
args: [string],
|
|
2980
2980
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2981
2981
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
@@ -2991,7 +2991,7 @@ export namespace critbit {
|
|
|
2991
2991
|
>(inspectRes);
|
|
2992
2992
|
}
|
|
2993
2993
|
export async function minLeaf<T0 = any>(
|
|
2994
|
-
client:
|
|
2994
|
+
client: SuiJsonRpcClient,
|
|
2995
2995
|
args: [string],
|
|
2996
2996
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2997
2997
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
@@ -3007,7 +3007,7 @@ export namespace critbit {
|
|
|
3007
3007
|
>(inspectRes);
|
|
3008
3008
|
}
|
|
3009
3009
|
export async function new$<T0 = any>(
|
|
3010
|
-
client:
|
|
3010
|
+
client: SuiJsonRpcClient,
|
|
3011
3011
|
args: [],
|
|
3012
3012
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3013
3013
|
): Promise<TypedDevInspectResults<[critbit.CritbitTree<T0>]>> {
|
|
@@ -3023,7 +3023,7 @@ export namespace critbit {
|
|
|
3023
3023
|
>(inspectRes);
|
|
3024
3024
|
}
|
|
3025
3025
|
export async function nextLeaf<T0 = any>(
|
|
3026
|
-
client:
|
|
3026
|
+
client: SuiJsonRpcClient,
|
|
3027
3027
|
args: [string, bigint],
|
|
3028
3028
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3029
3029
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
@@ -3039,7 +3039,7 @@ export namespace critbit {
|
|
|
3039
3039
|
>(inspectRes);
|
|
3040
3040
|
}
|
|
3041
3041
|
export async function previousLeaf<T0 = any>(
|
|
3042
|
-
client:
|
|
3042
|
+
client: SuiJsonRpcClient,
|
|
3043
3043
|
args: [string, bigint],
|
|
3044
3044
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3045
3045
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
@@ -3055,7 +3055,7 @@ export namespace critbit {
|
|
|
3055
3055
|
>(inspectRes);
|
|
3056
3056
|
}
|
|
3057
3057
|
export async function removeLeafByIndex<T0 = any>(
|
|
3058
|
-
client:
|
|
3058
|
+
client: SuiJsonRpcClient,
|
|
3059
3059
|
args: [string, bigint],
|
|
3060
3060
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3061
3061
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
@@ -3071,7 +3071,7 @@ export namespace critbit {
|
|
|
3071
3071
|
);
|
|
3072
3072
|
}
|
|
3073
3073
|
export async function size<T0 = any>(
|
|
3074
|
-
client:
|
|
3074
|
+
client: SuiJsonRpcClient,
|
|
3075
3075
|
args: [string],
|
|
3076
3076
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3077
3077
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
@@ -3423,7 +3423,7 @@ export namespace custodian {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
export namespace view {
|
|
3425
3425
|
export async function accountAvailableBalance<T0 = any>(
|
|
3426
|
-
client:
|
|
3426
|
+
client: SuiJsonRpcClient,
|
|
3427
3427
|
args: [string, _0x2.object$.ID],
|
|
3428
3428
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3429
3429
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
@@ -3439,7 +3439,7 @@ export namespace custodian {
|
|
|
3439
3439
|
);
|
|
3440
3440
|
}
|
|
3441
3441
|
export async function accountBalance<T0 = any>(
|
|
3442
|
-
client:
|
|
3442
|
+
client: SuiJsonRpcClient,
|
|
3443
3443
|
args: [string, _0x2.object$.ID],
|
|
3444
3444
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3445
3445
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
@@ -3455,7 +3455,7 @@ export namespace custodian {
|
|
|
3455
3455
|
>(inspectRes);
|
|
3456
3456
|
}
|
|
3457
3457
|
export async function accountLockedBalance<T0 = any>(
|
|
3458
|
-
client:
|
|
3458
|
+
client: SuiJsonRpcClient,
|
|
3459
3459
|
args: [string, _0x2.object$.ID],
|
|
3460
3460
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3461
3461
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
@@ -3471,7 +3471,7 @@ export namespace custodian {
|
|
|
3471
3471
|
);
|
|
3472
3472
|
}
|
|
3473
3473
|
export async function decreaseUserAvailableBalance<T0 = any>(
|
|
3474
|
-
client:
|
|
3474
|
+
client: SuiJsonRpcClient,
|
|
3475
3475
|
args: [string, string, bigint],
|
|
3476
3476
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3477
3477
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
@@ -3487,7 +3487,7 @@ export namespace custodian {
|
|
|
3487
3487
|
>(inspectRes);
|
|
3488
3488
|
}
|
|
3489
3489
|
export async function decreaseUserLockedBalance<T0 = any>(
|
|
3490
|
-
client:
|
|
3490
|
+
client: SuiJsonRpcClient,
|
|
3491
3491
|
args: [string, _0x2.object$.ID, bigint],
|
|
3492
3492
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3493
3493
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
@@ -3503,7 +3503,7 @@ export namespace custodian {
|
|
|
3503
3503
|
>(inspectRes);
|
|
3504
3504
|
}
|
|
3505
3505
|
export async function increaseUserAvailableBalance<T0 = any>(
|
|
3506
|
-
client:
|
|
3506
|
+
client: SuiJsonRpcClient,
|
|
3507
3507
|
args: [string, _0x2.object$.ID, _0x2.balance.Balance<T0>],
|
|
3508
3508
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3509
3509
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -3519,7 +3519,7 @@ export namespace custodian {
|
|
|
3519
3519
|
);
|
|
3520
3520
|
}
|
|
3521
3521
|
export async function increaseUserLockedBalance<T0 = any>(
|
|
3522
|
-
client:
|
|
3522
|
+
client: SuiJsonRpcClient,
|
|
3523
3523
|
args: [string, string, _0x2.balance.Balance<T0>],
|
|
3524
3524
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3525
3525
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -3535,7 +3535,7 @@ export namespace custodian {
|
|
|
3535
3535
|
);
|
|
3536
3536
|
}
|
|
3537
3537
|
export async function lockBalance<T0 = any>(
|
|
3538
|
-
client:
|
|
3538
|
+
client: SuiJsonRpcClient,
|
|
3539
3539
|
args: [string, string, bigint],
|
|
3540
3540
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3541
3541
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -3551,7 +3551,7 @@ export namespace custodian {
|
|
|
3551
3551
|
);
|
|
3552
3552
|
}
|
|
3553
3553
|
export async function mintAccountCap(
|
|
3554
|
-
client:
|
|
3554
|
+
client: SuiJsonRpcClient,
|
|
3555
3555
|
args: [],
|
|
3556
3556
|
): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
|
|
3557
3557
|
const tx = new Transaction();
|
|
@@ -3566,7 +3566,7 @@ export namespace custodian {
|
|
|
3566
3566
|
>(inspectRes);
|
|
3567
3567
|
}
|
|
3568
3568
|
export async function new$<T0 = any>(
|
|
3569
|
-
client:
|
|
3569
|
+
client: SuiJsonRpcClient,
|
|
3570
3570
|
args: [],
|
|
3571
3571
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3572
3572
|
): Promise<TypedDevInspectResults<[custodian.Custodian<T0>]>> {
|
|
@@ -3582,7 +3582,7 @@ export namespace custodian {
|
|
|
3582
3582
|
>(inspectRes);
|
|
3583
3583
|
}
|
|
3584
3584
|
export async function unlockBalance<T0 = any>(
|
|
3585
|
-
client:
|
|
3585
|
+
client: SuiJsonRpcClient,
|
|
3586
3586
|
args: [string, _0x2.object$.ID, bigint],
|
|
3587
3587
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3588
3588
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -3598,7 +3598,7 @@ export namespace custodian {
|
|
|
3598
3598
|
);
|
|
3599
3599
|
}
|
|
3600
3600
|
export async function withdrawAsset<T0 = any>(
|
|
3601
|
-
client:
|
|
3601
|
+
client: SuiJsonRpcClient,
|
|
3602
3602
|
args: [string, bigint, string],
|
|
3603
3603
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3604
3604
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -3981,7 +3981,7 @@ export namespace custodian_v2 {
|
|
|
3981
3981
|
}
|
|
3982
3982
|
export namespace view {
|
|
3983
3983
|
export async function accountAvailableBalance<T0 = any>(
|
|
3984
|
-
client:
|
|
3984
|
+
client: SuiJsonRpcClient,
|
|
3985
3985
|
args: [string, string],
|
|
3986
3986
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3987
3987
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
@@ -3997,7 +3997,7 @@ export namespace custodian_v2 {
|
|
|
3997
3997
|
);
|
|
3998
3998
|
}
|
|
3999
3999
|
export async function accountBalance<T0 = any>(
|
|
4000
|
-
client:
|
|
4000
|
+
client: SuiJsonRpcClient,
|
|
4001
4001
|
args: [string, string],
|
|
4002
4002
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4003
4003
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
@@ -4013,7 +4013,7 @@ export namespace custodian_v2 {
|
|
|
4013
4013
|
>(inspectRes);
|
|
4014
4014
|
}
|
|
4015
4015
|
export async function accountLockedBalance<T0 = any>(
|
|
4016
|
-
client:
|
|
4016
|
+
client: SuiJsonRpcClient,
|
|
4017
4017
|
args: [string, string],
|
|
4018
4018
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4019
4019
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
@@ -4029,7 +4029,7 @@ export namespace custodian_v2 {
|
|
|
4029
4029
|
);
|
|
4030
4030
|
}
|
|
4031
4031
|
export async function accountOwner(
|
|
4032
|
-
client:
|
|
4032
|
+
client: SuiJsonRpcClient,
|
|
4033
4033
|
args: [string],
|
|
4034
4034
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4035
4035
|
const tx = new Transaction();
|
|
@@ -4044,7 +4044,7 @@ export namespace custodian_v2 {
|
|
|
4044
4044
|
);
|
|
4045
4045
|
}
|
|
4046
4046
|
export async function createChildAccountCap(
|
|
4047
|
-
client:
|
|
4047
|
+
client: SuiJsonRpcClient,
|
|
4048
4048
|
args: [string],
|
|
4049
4049
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
4050
4050
|
const tx = new Transaction();
|
|
@@ -4059,7 +4059,7 @@ export namespace custodian_v2 {
|
|
|
4059
4059
|
>(inspectRes);
|
|
4060
4060
|
}
|
|
4061
4061
|
export async function decreaseUserAvailableBalance<T0 = any>(
|
|
4062
|
-
client:
|
|
4062
|
+
client: SuiJsonRpcClient,
|
|
4063
4063
|
args: [string, string, bigint],
|
|
4064
4064
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4065
4065
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
@@ -4075,7 +4075,7 @@ export namespace custodian_v2 {
|
|
|
4075
4075
|
>(inspectRes);
|
|
4076
4076
|
}
|
|
4077
4077
|
export async function decreaseUserLockedBalance<T0 = any>(
|
|
4078
|
-
client:
|
|
4078
|
+
client: SuiJsonRpcClient,
|
|
4079
4079
|
args: [string, string, bigint],
|
|
4080
4080
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4081
4081
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
@@ -4091,7 +4091,7 @@ export namespace custodian_v2 {
|
|
|
4091
4091
|
>(inspectRes);
|
|
4092
4092
|
}
|
|
4093
4093
|
export async function deleteAccountCap(
|
|
4094
|
-
client:
|
|
4094
|
+
client: SuiJsonRpcClient,
|
|
4095
4095
|
args: [custodian_v2.AccountCap],
|
|
4096
4096
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4097
4097
|
const tx = new Transaction();
|
|
@@ -4106,7 +4106,7 @@ export namespace custodian_v2 {
|
|
|
4106
4106
|
);
|
|
4107
4107
|
}
|
|
4108
4108
|
export async function increaseUserAvailableBalance<T0 = any>(
|
|
4109
|
-
client:
|
|
4109
|
+
client: SuiJsonRpcClient,
|
|
4110
4110
|
args: [string, string, _0x2.balance.Balance<T0>],
|
|
4111
4111
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4112
4112
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -4122,7 +4122,7 @@ export namespace custodian_v2 {
|
|
|
4122
4122
|
);
|
|
4123
4123
|
}
|
|
4124
4124
|
export async function increaseUserLockedBalance<T0 = any>(
|
|
4125
|
-
client:
|
|
4125
|
+
client: SuiJsonRpcClient,
|
|
4126
4126
|
args: [string, string, _0x2.balance.Balance<T0>],
|
|
4127
4127
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4128
4128
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -4138,7 +4138,7 @@ export namespace custodian_v2 {
|
|
|
4138
4138
|
);
|
|
4139
4139
|
}
|
|
4140
4140
|
export async function lockBalance<T0 = any>(
|
|
4141
|
-
client:
|
|
4141
|
+
client: SuiJsonRpcClient,
|
|
4142
4142
|
args: [string, string, bigint],
|
|
4143
4143
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4144
4144
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -4154,7 +4154,7 @@ export namespace custodian_v2 {
|
|
|
4154
4154
|
);
|
|
4155
4155
|
}
|
|
4156
4156
|
export async function mintAccountCap(
|
|
4157
|
-
client:
|
|
4157
|
+
client: SuiJsonRpcClient,
|
|
4158
4158
|
args: [],
|
|
4159
4159
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
4160
4160
|
const tx = new Transaction();
|
|
@@ -4169,7 +4169,7 @@ export namespace custodian_v2 {
|
|
|
4169
4169
|
>(inspectRes);
|
|
4170
4170
|
}
|
|
4171
4171
|
export async function new$<T0 = any>(
|
|
4172
|
-
client:
|
|
4172
|
+
client: SuiJsonRpcClient,
|
|
4173
4173
|
args: [],
|
|
4174
4174
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4175
4175
|
): Promise<TypedDevInspectResults<[custodian_v2.Custodian<T0>]>> {
|
|
@@ -4185,7 +4185,7 @@ export namespace custodian_v2 {
|
|
|
4185
4185
|
>(inspectRes);
|
|
4186
4186
|
}
|
|
4187
4187
|
export async function unlockBalance<T0 = any>(
|
|
4188
|
-
client:
|
|
4188
|
+
client: SuiJsonRpcClient,
|
|
4189
4189
|
args: [string, string, bigint],
|
|
4190
4190
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4191
4191
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -4201,7 +4201,7 @@ export namespace custodian_v2 {
|
|
|
4201
4201
|
);
|
|
4202
4202
|
}
|
|
4203
4203
|
export async function withdrawAsset<T0 = any>(
|
|
4204
|
-
client:
|
|
4204
|
+
client: SuiJsonRpcClient,
|
|
4205
4205
|
args: [string, bigint, string],
|
|
4206
4206
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4207
4207
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -4335,7 +4335,7 @@ export namespace math {
|
|
|
4335
4335
|
}
|
|
4336
4336
|
export namespace view {
|
|
4337
4337
|
export async function countLeadingZeros(
|
|
4338
|
-
client:
|
|
4338
|
+
client: SuiJsonRpcClient,
|
|
4339
4339
|
args: [bigint],
|
|
4340
4340
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4341
4341
|
const tx = new Transaction();
|
|
@@ -4350,7 +4350,7 @@ export namespace math {
|
|
|
4350
4350
|
);
|
|
4351
4351
|
}
|
|
4352
4352
|
export async function divRound(
|
|
4353
|
-
client:
|
|
4353
|
+
client: SuiJsonRpcClient,
|
|
4354
4354
|
args: [bigint, bigint],
|
|
4355
4355
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4356
4356
|
const tx = new Transaction();
|
|
@@ -4365,7 +4365,7 @@ export namespace math {
|
|
|
4365
4365
|
>(inspectRes);
|
|
4366
4366
|
}
|
|
4367
4367
|
export async function mul(
|
|
4368
|
-
client:
|
|
4368
|
+
client: SuiJsonRpcClient,
|
|
4369
4369
|
args: [bigint, bigint],
|
|
4370
4370
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4371
4371
|
const tx = new Transaction();
|
|
@@ -4380,7 +4380,7 @@ export namespace math {
|
|
|
4380
4380
|
);
|
|
4381
4381
|
}
|
|
4382
4382
|
export async function mulRound(
|
|
4383
|
-
client:
|
|
4383
|
+
client: SuiJsonRpcClient,
|
|
4384
4384
|
args: [bigint, bigint],
|
|
4385
4385
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4386
4386
|
const tx = new Transaction();
|
|
@@ -4395,7 +4395,7 @@ export namespace math {
|
|
|
4395
4395
|
>(inspectRes);
|
|
4396
4396
|
}
|
|
4397
4397
|
export async function unsafeDiv(
|
|
4398
|
-
client:
|
|
4398
|
+
client: SuiJsonRpcClient,
|
|
4399
4399
|
args: [bigint, bigint],
|
|
4400
4400
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4401
4401
|
const tx = new Transaction();
|
|
@@ -4410,7 +4410,7 @@ export namespace math {
|
|
|
4410
4410
|
);
|
|
4411
4411
|
}
|
|
4412
4412
|
export async function unsafeDivRound(
|
|
4413
|
-
client:
|
|
4413
|
+
client: SuiJsonRpcClient,
|
|
4414
4414
|
args: [bigint, bigint],
|
|
4415
4415
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4416
4416
|
const tx = new Transaction();
|
|
@@ -4425,7 +4425,7 @@ export namespace math {
|
|
|
4425
4425
|
>(inspectRes);
|
|
4426
4426
|
}
|
|
4427
4427
|
export async function unsafeMul(
|
|
4428
|
-
client:
|
|
4428
|
+
client: SuiJsonRpcClient,
|
|
4429
4429
|
args: [bigint, bigint],
|
|
4430
4430
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4431
4431
|
const tx = new Transaction();
|
|
@@ -4440,7 +4440,7 @@ export namespace math {
|
|
|
4440
4440
|
);
|
|
4441
4441
|
}
|
|
4442
4442
|
export async function unsafeMulRound(
|
|
4443
|
-
client:
|
|
4443
|
+
client: SuiJsonRpcClient,
|
|
4444
4444
|
args: [bigint, bigint],
|
|
4445
4445
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4446
4446
|
const tx = new Transaction();
|