@typemove/sui 1.6.10 → 1.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +166 -305
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +559 -1475
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +334 -806
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +12 -6
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +166 -305
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +559 -1475
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +334 -806
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +12 -6
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +166 -305
- package/src/builtin/0x2.ts +552 -1468
- package/src/builtin/0x3.ts +331 -803
- package/src/codegen/codegen.ts +12 -6
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +4 -13
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +46 -188
- package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +29 -78
- package/src/tests/types/testnet/0xdee9.ts +110 -346
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +245 -642
|
@@ -875,10 +875,7 @@ export namespace clob {
|
|
|
875
875
|
export namespace view {
|
|
876
876
|
export async function accountBalance<T0 = any, T1 = any>(
|
|
877
877
|
client: SuiClient,
|
|
878
|
-
args: [
|
|
879
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
880
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
881
|
-
],
|
|
878
|
+
args: [string, string],
|
|
882
879
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
883
880
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
884
881
|
const tx = new Transaction();
|
|
@@ -894,11 +891,7 @@ export namespace clob {
|
|
|
894
891
|
}
|
|
895
892
|
export async function batchCancelOrder<T0 = any, T1 = any>(
|
|
896
893
|
client: SuiClient,
|
|
897
|
-
args: [
|
|
898
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
899
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
900
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
901
|
-
],
|
|
894
|
+
args: [string, string[], string],
|
|
902
895
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
903
896
|
): Promise<TypedDevInspectResults<[]>> {
|
|
904
897
|
const tx = new Transaction();
|
|
@@ -914,10 +907,7 @@ export namespace clob {
|
|
|
914
907
|
}
|
|
915
908
|
export async function cancelAllOrders<T0 = any, T1 = any>(
|
|
916
909
|
client: SuiClient,
|
|
917
|
-
args: [
|
|
918
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
919
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
920
|
-
],
|
|
910
|
+
args: [string, string],
|
|
921
911
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
922
912
|
): Promise<TypedDevInspectResults<[]>> {
|
|
923
913
|
const tx = new Transaction();
|
|
@@ -933,11 +923,7 @@ export namespace clob {
|
|
|
933
923
|
}
|
|
934
924
|
export async function cancelOrder<T0 = any, T1 = any>(
|
|
935
925
|
client: SuiClient,
|
|
936
|
-
args: [
|
|
937
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
938
|
-
bigint | TransactionArgument,
|
|
939
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
940
|
-
],
|
|
926
|
+
args: [string, bigint, string],
|
|
941
927
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
942
928
|
): Promise<TypedDevInspectResults<[]>> {
|
|
943
929
|
const tx = new Transaction();
|
|
@@ -968,11 +954,7 @@ export namespace clob {
|
|
|
968
954
|
}
|
|
969
955
|
export async function createPool<T0 = any, T1 = any>(
|
|
970
956
|
client: SuiClient,
|
|
971
|
-
args: [
|
|
972
|
-
bigint | TransactionArgument,
|
|
973
|
-
bigint | TransactionArgument,
|
|
974
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
975
|
-
],
|
|
957
|
+
args: [bigint, bigint, _0x2.coin.Coin<_0x2.sui.SUI>],
|
|
976
958
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
977
959
|
): Promise<TypedDevInspectResults<[]>> {
|
|
978
960
|
const tx = new Transaction();
|
|
@@ -988,11 +970,7 @@ export namespace clob {
|
|
|
988
970
|
}
|
|
989
971
|
export async function depositBase<T0 = any, T1 = any>(
|
|
990
972
|
client: SuiClient,
|
|
991
|
-
args: [
|
|
992
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
993
|
-
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
994
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
995
|
-
],
|
|
973
|
+
args: [string, _0x2.coin.Coin<T0>, string],
|
|
996
974
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
997
975
|
): Promise<TypedDevInspectResults<[]>> {
|
|
998
976
|
const tx = new Transaction();
|
|
@@ -1008,11 +986,7 @@ export namespace clob {
|
|
|
1008
986
|
}
|
|
1009
987
|
export async function depositQuote<T0 = any, T1 = any>(
|
|
1010
988
|
client: SuiClient,
|
|
1011
|
-
args: [
|
|
1012
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1013
|
-
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1014
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1015
|
-
],
|
|
989
|
+
args: [string, _0x2.coin.Coin<T1>, string],
|
|
1016
990
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1017
991
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1018
992
|
const tx = new Transaction();
|
|
@@ -1028,12 +1002,7 @@ export namespace clob {
|
|
|
1028
1002
|
}
|
|
1029
1003
|
export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
1030
1004
|
client: SuiClient,
|
|
1031
|
-
args: [
|
|
1032
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1033
|
-
bigint | TransactionArgument,
|
|
1034
|
-
bigint | TransactionArgument,
|
|
1035
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1036
|
-
],
|
|
1005
|
+
args: [string, bigint, bigint, string],
|
|
1037
1006
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1038
1007
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
1039
1008
|
const tx = new Transaction();
|
|
@@ -1049,12 +1018,7 @@ export namespace clob {
|
|
|
1049
1018
|
}
|
|
1050
1019
|
export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
1051
1020
|
client: SuiClient,
|
|
1052
|
-
args: [
|
|
1053
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1054
|
-
bigint | TransactionArgument,
|
|
1055
|
-
bigint | TransactionArgument,
|
|
1056
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1057
|
-
],
|
|
1021
|
+
args: [string, bigint, bigint, string],
|
|
1058
1022
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1059
1023
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
1060
1024
|
const tx = new Transaction();
|
|
@@ -1070,7 +1034,7 @@ export namespace clob {
|
|
|
1070
1034
|
}
|
|
1071
1035
|
export async function getMarketPrice<T0 = any, T1 = any>(
|
|
1072
1036
|
client: SuiClient,
|
|
1073
|
-
args: [string
|
|
1037
|
+
args: [string],
|
|
1074
1038
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1075
1039
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
1076
1040
|
const tx = new Transaction();
|
|
@@ -1086,11 +1050,7 @@ export namespace clob {
|
|
|
1086
1050
|
}
|
|
1087
1051
|
export async function getOrderStatus<T0 = any, T1 = any>(
|
|
1088
1052
|
client: SuiClient,
|
|
1089
|
-
args: [
|
|
1090
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1091
|
-
bigint | TransactionArgument,
|
|
1092
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1093
|
-
],
|
|
1053
|
+
args: [string, bigint, string],
|
|
1094
1054
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1095
1055
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1096
1056
|
const tx = new Transaction();
|
|
@@ -1106,10 +1066,7 @@ export namespace clob {
|
|
|
1106
1066
|
}
|
|
1107
1067
|
export async function listOpenOrders<T0 = any, T1 = any>(
|
|
1108
1068
|
client: SuiClient,
|
|
1109
|
-
args: [
|
|
1110
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1111
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1112
|
-
],
|
|
1069
|
+
args: [string, string],
|
|
1113
1070
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1114
1071
|
): Promise<TypedDevInspectResults<[clob.Order[]]>> {
|
|
1115
1072
|
const tx = new Transaction();
|
|
@@ -1125,16 +1082,7 @@ export namespace clob {
|
|
|
1125
1082
|
}
|
|
1126
1083
|
export async function placeLimitOrder<T0 = any, T1 = any>(
|
|
1127
1084
|
client: SuiClient,
|
|
1128
|
-
args: [
|
|
1129
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1130
|
-
bigint | TransactionArgument,
|
|
1131
|
-
bigint | TransactionArgument,
|
|
1132
|
-
boolean | TransactionArgument,
|
|
1133
|
-
bigint | TransactionArgument,
|
|
1134
|
-
number | TransactionArgument,
|
|
1135
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1136
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1137
|
-
],
|
|
1085
|
+
args: [string, bigint, bigint, boolean, bigint, number, string, string],
|
|
1138
1086
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1139
1087
|
): Promise<TypedDevInspectResults<[bigint, bigint, boolean, bigint]>> {
|
|
1140
1088
|
const tx = new Transaction();
|
|
@@ -1151,12 +1099,12 @@ export namespace clob {
|
|
|
1151
1099
|
export async function placeMarketOrder<T0 = any, T1 = any>(
|
|
1152
1100
|
client: SuiClient,
|
|
1153
1101
|
args: [
|
|
1154
|
-
string
|
|
1155
|
-
bigint
|
|
1156
|
-
boolean
|
|
1157
|
-
_0x2.coin.Coin<T0
|
|
1158
|
-
_0x2.coin.Coin<T1
|
|
1159
|
-
string
|
|
1102
|
+
string,
|
|
1103
|
+
bigint,
|
|
1104
|
+
boolean,
|
|
1105
|
+
_0x2.coin.Coin<T0>,
|
|
1106
|
+
_0x2.coin.Coin<T1>,
|
|
1107
|
+
string,
|
|
1160
1108
|
],
|
|
1161
1109
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1162
1110
|
): Promise<
|
|
@@ -1175,13 +1123,7 @@ export namespace clob {
|
|
|
1175
1123
|
}
|
|
1176
1124
|
export async function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
1177
1125
|
client: SuiClient,
|
|
1178
|
-
args: [
|
|
1179
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1180
|
-
bigint | TransactionArgument,
|
|
1181
|
-
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
1182
|
-
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1183
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1184
|
-
],
|
|
1126
|
+
args: [string, bigint, _0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, string],
|
|
1185
1127
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1186
1128
|
): Promise<
|
|
1187
1129
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]>
|
|
@@ -1199,12 +1141,7 @@ export namespace clob {
|
|
|
1199
1141
|
}
|
|
1200
1142
|
export async function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
1201
1143
|
client: SuiClient,
|
|
1202
|
-
args: [
|
|
1203
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1204
|
-
bigint | TransactionArgument,
|
|
1205
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1206
|
-
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1207
|
-
],
|
|
1144
|
+
args: [string, bigint, string, _0x2.coin.Coin<T1>],
|
|
1208
1145
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1209
1146
|
): Promise<
|
|
1210
1147
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]>
|
|
@@ -1222,11 +1159,7 @@ export namespace clob {
|
|
|
1222
1159
|
}
|
|
1223
1160
|
export async function withdrawBase<T0 = any, T1 = any>(
|
|
1224
1161
|
client: SuiClient,
|
|
1225
|
-
args: [
|
|
1226
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1227
|
-
bigint | TransactionArgument,
|
|
1228
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1229
|
-
],
|
|
1162
|
+
args: [string, bigint, string],
|
|
1230
1163
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1231
1164
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
1232
1165
|
const tx = new Transaction();
|
|
@@ -1242,11 +1175,7 @@ export namespace clob {
|
|
|
1242
1175
|
}
|
|
1243
1176
|
export async function withdrawQuote<T0 = any, T1 = any>(
|
|
1244
1177
|
client: SuiClient,
|
|
1245
|
-
args: [
|
|
1246
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1247
|
-
bigint | TransactionArgument,
|
|
1248
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1249
|
-
],
|
|
1178
|
+
args: [string, bigint, string],
|
|
1250
1179
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1251
1180
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
1252
1181
|
const tx = new Transaction();
|
|
@@ -2158,10 +2087,7 @@ export namespace clob_v2 {
|
|
|
2158
2087
|
export namespace view {
|
|
2159
2088
|
export async function accountBalance<T0 = any, T1 = any>(
|
|
2160
2089
|
client: SuiClient,
|
|
2161
|
-
args: [
|
|
2162
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2163
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2164
|
-
],
|
|
2090
|
+
args: [string, string],
|
|
2165
2091
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2166
2092
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
2167
2093
|
const tx = new Transaction();
|
|
@@ -2177,11 +2103,7 @@ export namespace clob_v2 {
|
|
|
2177
2103
|
}
|
|
2178
2104
|
export async function batchCancelOrder<T0 = any, T1 = any>(
|
|
2179
2105
|
client: SuiClient,
|
|
2180
|
-
args: [
|
|
2181
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2182
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2183
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2184
|
-
],
|
|
2106
|
+
args: [string, string[], string],
|
|
2185
2107
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2186
2108
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2187
2109
|
const tx = new Transaction();
|
|
@@ -2197,10 +2119,7 @@ export namespace clob_v2 {
|
|
|
2197
2119
|
}
|
|
2198
2120
|
export async function cancelAllOrders<T0 = any, T1 = any>(
|
|
2199
2121
|
client: SuiClient,
|
|
2200
|
-
args: [
|
|
2201
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2202
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2203
|
-
],
|
|
2122
|
+
args: [string, string],
|
|
2204
2123
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2205
2124
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2206
2125
|
const tx = new Transaction();
|
|
@@ -2216,11 +2135,7 @@ export namespace clob_v2 {
|
|
|
2216
2135
|
}
|
|
2217
2136
|
export async function cancelOrder<T0 = any, T1 = any>(
|
|
2218
2137
|
client: SuiClient,
|
|
2219
|
-
args: [
|
|
2220
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2221
|
-
bigint | TransactionArgument,
|
|
2222
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2223
|
-
],
|
|
2138
|
+
args: [string, bigint, string],
|
|
2224
2139
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2225
2140
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2226
2141
|
const tx = new Transaction();
|
|
@@ -2236,12 +2151,7 @@ export namespace clob_v2 {
|
|
|
2236
2151
|
}
|
|
2237
2152
|
export async function cleanUpExpiredOrders<T0 = any, T1 = any>(
|
|
2238
2153
|
client: SuiClient,
|
|
2239
|
-
args: [
|
|
2240
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2241
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2242
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2243
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2244
|
-
],
|
|
2154
|
+
args: [string, string, string[], string[]],
|
|
2245
2155
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2246
2156
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2247
2157
|
const tx = new Transaction();
|
|
@@ -2272,11 +2182,7 @@ export namespace clob_v2 {
|
|
|
2272
2182
|
}
|
|
2273
2183
|
export async function createPool<T0 = any, T1 = any>(
|
|
2274
2184
|
client: SuiClient,
|
|
2275
|
-
args: [
|
|
2276
|
-
bigint | TransactionArgument,
|
|
2277
|
-
bigint | TransactionArgument,
|
|
2278
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
2279
|
-
],
|
|
2185
|
+
args: [bigint, bigint, _0x2.coin.Coin<_0x2.sui.SUI>],
|
|
2280
2186
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2281
2187
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2282
2188
|
const tx = new Transaction();
|
|
@@ -2292,11 +2198,7 @@ export namespace clob_v2 {
|
|
|
2292
2198
|
}
|
|
2293
2199
|
export async function depositBase<T0 = any, T1 = any>(
|
|
2294
2200
|
client: SuiClient,
|
|
2295
|
-
args: [
|
|
2296
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2297
|
-
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2298
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2299
|
-
],
|
|
2201
|
+
args: [string, _0x2.coin.Coin<T0>, string],
|
|
2300
2202
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2301
2203
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2302
2204
|
const tx = new Transaction();
|
|
@@ -2312,11 +2214,7 @@ export namespace clob_v2 {
|
|
|
2312
2214
|
}
|
|
2313
2215
|
export async function depositQuote<T0 = any, T1 = any>(
|
|
2314
2216
|
client: SuiClient,
|
|
2315
|
-
args: [
|
|
2316
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2317
|
-
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2318
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2319
|
-
],
|
|
2217
|
+
args: [string, _0x2.coin.Coin<T1>, string],
|
|
2320
2218
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2321
2219
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2322
2220
|
const tx = new Transaction();
|
|
@@ -2332,12 +2230,7 @@ export namespace clob_v2 {
|
|
|
2332
2230
|
}
|
|
2333
2231
|
export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
2334
2232
|
client: SuiClient,
|
|
2335
|
-
args: [
|
|
2336
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2337
|
-
bigint | TransactionArgument,
|
|
2338
|
-
bigint | TransactionArgument,
|
|
2339
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2340
|
-
],
|
|
2233
|
+
args: [string, bigint, bigint, string],
|
|
2341
2234
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2342
2235
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
2343
2236
|
const tx = new Transaction();
|
|
@@ -2353,12 +2246,7 @@ export namespace clob_v2 {
|
|
|
2353
2246
|
}
|
|
2354
2247
|
export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
2355
2248
|
client: SuiClient,
|
|
2356
|
-
args: [
|
|
2357
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2358
|
-
bigint | TransactionArgument,
|
|
2359
|
-
bigint | TransactionArgument,
|
|
2360
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2361
|
-
],
|
|
2249
|
+
args: [string, bigint, bigint, string],
|
|
2362
2250
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2363
2251
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
2364
2252
|
const tx = new Transaction();
|
|
@@ -2374,7 +2262,7 @@ export namespace clob_v2 {
|
|
|
2374
2262
|
}
|
|
2375
2263
|
export async function getMarketPrice<T0 = any, T1 = any>(
|
|
2376
2264
|
client: SuiClient,
|
|
2377
|
-
args: [string
|
|
2265
|
+
args: [string],
|
|
2378
2266
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2379
2267
|
): Promise<
|
|
2380
2268
|
TypedDevInspectResults<
|
|
@@ -2394,11 +2282,7 @@ export namespace clob_v2 {
|
|
|
2394
2282
|
}
|
|
2395
2283
|
export async function getOrderStatus<T0 = any, T1 = any>(
|
|
2396
2284
|
client: SuiClient,
|
|
2397
|
-
args: [
|
|
2398
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2399
|
-
bigint | TransactionArgument,
|
|
2400
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2401
|
-
],
|
|
2285
|
+
args: [string, bigint, string],
|
|
2402
2286
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2403
2287
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2404
2288
|
const tx = new Transaction();
|
|
@@ -2414,10 +2298,7 @@ export namespace clob_v2 {
|
|
|
2414
2298
|
}
|
|
2415
2299
|
export async function listOpenOrders<T0 = any, T1 = any>(
|
|
2416
2300
|
client: SuiClient,
|
|
2417
|
-
args: [
|
|
2418
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2419
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2420
|
-
],
|
|
2301
|
+
args: [string, string],
|
|
2421
2302
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2422
2303
|
): Promise<TypedDevInspectResults<[clob_v2.Order[]]>> {
|
|
2423
2304
|
const tx = new Transaction();
|
|
@@ -2434,16 +2315,16 @@ export namespace clob_v2 {
|
|
|
2434
2315
|
export async function placeLimitOrder<T0 = any, T1 = any>(
|
|
2435
2316
|
client: SuiClient,
|
|
2436
2317
|
args: [
|
|
2437
|
-
string
|
|
2438
|
-
bigint
|
|
2439
|
-
bigint
|
|
2440
|
-
bigint
|
|
2441
|
-
number
|
|
2442
|
-
boolean
|
|
2443
|
-
bigint
|
|
2444
|
-
number
|
|
2445
|
-
string
|
|
2446
|
-
string
|
|
2318
|
+
string,
|
|
2319
|
+
bigint,
|
|
2320
|
+
bigint,
|
|
2321
|
+
bigint,
|
|
2322
|
+
number,
|
|
2323
|
+
boolean,
|
|
2324
|
+
bigint,
|
|
2325
|
+
number,
|
|
2326
|
+
string,
|
|
2327
|
+
string,
|
|
2447
2328
|
],
|
|
2448
2329
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2449
2330
|
): Promise<TypedDevInspectResults<[bigint, bigint, boolean, bigint]>> {
|
|
@@ -2461,14 +2342,14 @@ export namespace clob_v2 {
|
|
|
2461
2342
|
export async function placeMarketOrder<T0 = any, T1 = any>(
|
|
2462
2343
|
client: SuiClient,
|
|
2463
2344
|
args: [
|
|
2464
|
-
string
|
|
2465
|
-
string
|
|
2466
|
-
bigint
|
|
2467
|
-
bigint
|
|
2468
|
-
boolean
|
|
2469
|
-
_0x2.coin.Coin<T0
|
|
2470
|
-
_0x2.coin.Coin<T1
|
|
2471
|
-
string
|
|
2345
|
+
string,
|
|
2346
|
+
string,
|
|
2347
|
+
bigint,
|
|
2348
|
+
bigint,
|
|
2349
|
+
boolean,
|
|
2350
|
+
_0x2.coin.Coin<T0>,
|
|
2351
|
+
_0x2.coin.Coin<T1>,
|
|
2352
|
+
string,
|
|
2472
2353
|
],
|
|
2473
2354
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2474
2355
|
): Promise<
|
|
@@ -2488,13 +2369,13 @@ export namespace clob_v2 {
|
|
|
2488
2369
|
export async function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
2489
2370
|
client: SuiClient,
|
|
2490
2371
|
args: [
|
|
2491
|
-
string
|
|
2492
|
-
bigint
|
|
2493
|
-
string
|
|
2494
|
-
bigint
|
|
2495
|
-
_0x2.coin.Coin<T0
|
|
2496
|
-
_0x2.coin.Coin<T1
|
|
2497
|
-
string
|
|
2372
|
+
string,
|
|
2373
|
+
bigint,
|
|
2374
|
+
string,
|
|
2375
|
+
bigint,
|
|
2376
|
+
_0x2.coin.Coin<T0>,
|
|
2377
|
+
_0x2.coin.Coin<T1>,
|
|
2378
|
+
string,
|
|
2498
2379
|
],
|
|
2499
2380
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2500
2381
|
): Promise<
|
|
@@ -2513,14 +2394,7 @@ export namespace clob_v2 {
|
|
|
2513
2394
|
}
|
|
2514
2395
|
export async function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
2515
2396
|
client: SuiClient,
|
|
2516
|
-
args: [
|
|
2517
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2518
|
-
bigint | TransactionArgument,
|
|
2519
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2520
|
-
bigint | TransactionArgument,
|
|
2521
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2522
|
-
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2523
|
-
],
|
|
2397
|
+
args: [string, bigint, string, bigint, string, _0x2.coin.Coin<T1>],
|
|
2524
2398
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2525
2399
|
): Promise<
|
|
2526
2400
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]>
|
|
@@ -2538,11 +2412,7 @@ export namespace clob_v2 {
|
|
|
2538
2412
|
}
|
|
2539
2413
|
export async function withdrawBase<T0 = any, T1 = any>(
|
|
2540
2414
|
client: SuiClient,
|
|
2541
|
-
args: [
|
|
2542
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2543
|
-
bigint | TransactionArgument,
|
|
2544
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2545
|
-
],
|
|
2415
|
+
args: [string, bigint, string],
|
|
2546
2416
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2547
2417
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
2548
2418
|
const tx = new Transaction();
|
|
@@ -2558,11 +2428,7 @@ export namespace clob_v2 {
|
|
|
2558
2428
|
}
|
|
2559
2429
|
export async function withdrawQuote<T0 = any, T1 = any>(
|
|
2560
2430
|
client: SuiClient,
|
|
2561
|
-
args: [
|
|
2562
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2563
|
-
bigint | TransactionArgument,
|
|
2564
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2565
|
-
],
|
|
2431
|
+
args: [string, bigint, string],
|
|
2566
2432
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2567
2433
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
2568
2434
|
const tx = new Transaction();
|
|
@@ -2984,10 +2850,7 @@ export namespace critbit {
|
|
|
2984
2850
|
export namespace view {
|
|
2985
2851
|
export async function borrowLeafByIndex<T0 = any>(
|
|
2986
2852
|
client: SuiClient,
|
|
2987
|
-
args: [
|
|
2988
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2989
|
-
bigint | TransactionArgument,
|
|
2990
|
-
],
|
|
2853
|
+
args: [string, bigint],
|
|
2991
2854
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2992
2855
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2993
2856
|
const tx = new Transaction();
|
|
@@ -3003,10 +2866,7 @@ export namespace critbit {
|
|
|
3003
2866
|
}
|
|
3004
2867
|
export async function borrowLeafByKey<T0 = any>(
|
|
3005
2868
|
client: SuiClient,
|
|
3006
|
-
args: [
|
|
3007
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3008
|
-
bigint | TransactionArgument,
|
|
3009
|
-
],
|
|
2869
|
+
args: [string, bigint],
|
|
3010
2870
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3011
2871
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3012
2872
|
const tx = new Transaction();
|
|
@@ -3022,10 +2882,7 @@ export namespace critbit {
|
|
|
3022
2882
|
}
|
|
3023
2883
|
export async function borrowMutLeafByIndex<T0 = any>(
|
|
3024
2884
|
client: SuiClient,
|
|
3025
|
-
args: [
|
|
3026
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3027
|
-
bigint | TransactionArgument,
|
|
3028
|
-
],
|
|
2885
|
+
args: [string, bigint],
|
|
3029
2886
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3030
2887
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3031
2888
|
const tx = new Transaction();
|
|
@@ -3041,7 +2898,7 @@ export namespace critbit {
|
|
|
3041
2898
|
}
|
|
3042
2899
|
export async function destroyEmpty<T0 = any>(
|
|
3043
2900
|
client: SuiClient,
|
|
3044
|
-
args: [critbit.CritbitTree<T0>
|
|
2901
|
+
args: [critbit.CritbitTree<T0>],
|
|
3045
2902
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3046
2903
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3047
2904
|
const tx = new Transaction();
|
|
@@ -3057,7 +2914,7 @@ export namespace critbit {
|
|
|
3057
2914
|
}
|
|
3058
2915
|
export async function drop<T0 = any>(
|
|
3059
2916
|
client: SuiClient,
|
|
3060
|
-
args: [critbit.CritbitTree<T0>
|
|
2917
|
+
args: [critbit.CritbitTree<T0>],
|
|
3061
2918
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3062
2919
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3063
2920
|
const tx = new Transaction();
|
|
@@ -3073,10 +2930,7 @@ export namespace critbit {
|
|
|
3073
2930
|
}
|
|
3074
2931
|
export async function findClosestKey<T0 = any>(
|
|
3075
2932
|
client: SuiClient,
|
|
3076
|
-
args: [
|
|
3077
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3078
|
-
bigint | TransactionArgument,
|
|
3079
|
-
],
|
|
2933
|
+
args: [string, bigint],
|
|
3080
2934
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3081
2935
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3082
2936
|
const tx = new Transaction();
|
|
@@ -3092,10 +2946,7 @@ export namespace critbit {
|
|
|
3092
2946
|
}
|
|
3093
2947
|
export async function findLeaf<T0 = any>(
|
|
3094
2948
|
client: SuiClient,
|
|
3095
|
-
args: [
|
|
3096
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3097
|
-
bigint | TransactionArgument,
|
|
3098
|
-
],
|
|
2949
|
+
args: [string, bigint],
|
|
3099
2950
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3100
2951
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
3101
2952
|
const tx = new Transaction();
|
|
@@ -3111,11 +2962,7 @@ export namespace critbit {
|
|
|
3111
2962
|
}
|
|
3112
2963
|
export async function insertLeaf<T0 = any>(
|
|
3113
2964
|
client: SuiClient,
|
|
3114
|
-
args: [
|
|
3115
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3116
|
-
bigint | TransactionArgument,
|
|
3117
|
-
T0 | TransactionArgument,
|
|
3118
|
-
],
|
|
2965
|
+
args: [string, bigint, T0],
|
|
3119
2966
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3120
2967
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3121
2968
|
const tx = new Transaction();
|
|
@@ -3131,7 +2978,7 @@ export namespace critbit {
|
|
|
3131
2978
|
}
|
|
3132
2979
|
export async function isEmpty<T0 = any>(
|
|
3133
2980
|
client: SuiClient,
|
|
3134
|
-
args: [string
|
|
2981
|
+
args: [string],
|
|
3135
2982
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3136
2983
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
3137
2984
|
const tx = new Transaction();
|
|
@@ -3147,7 +2994,7 @@ export namespace critbit {
|
|
|
3147
2994
|
}
|
|
3148
2995
|
export async function maxLeaf<T0 = any>(
|
|
3149
2996
|
client: SuiClient,
|
|
3150
|
-
args: [string
|
|
2997
|
+
args: [string],
|
|
3151
2998
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3152
2999
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3153
3000
|
const tx = new Transaction();
|
|
@@ -3163,7 +3010,7 @@ export namespace critbit {
|
|
|
3163
3010
|
}
|
|
3164
3011
|
export async function minLeaf<T0 = any>(
|
|
3165
3012
|
client: SuiClient,
|
|
3166
|
-
args: [string
|
|
3013
|
+
args: [string],
|
|
3167
3014
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3168
3015
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3169
3016
|
const tx = new Transaction();
|
|
@@ -3195,10 +3042,7 @@ export namespace critbit {
|
|
|
3195
3042
|
}
|
|
3196
3043
|
export async function nextLeaf<T0 = any>(
|
|
3197
3044
|
client: SuiClient,
|
|
3198
|
-
args: [
|
|
3199
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3200
|
-
bigint | TransactionArgument,
|
|
3201
|
-
],
|
|
3045
|
+
args: [string, bigint],
|
|
3202
3046
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3203
3047
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3204
3048
|
const tx = new Transaction();
|
|
@@ -3214,10 +3058,7 @@ export namespace critbit {
|
|
|
3214
3058
|
}
|
|
3215
3059
|
export async function previousLeaf<T0 = any>(
|
|
3216
3060
|
client: SuiClient,
|
|
3217
|
-
args: [
|
|
3218
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3219
|
-
bigint | TransactionArgument,
|
|
3220
|
-
],
|
|
3061
|
+
args: [string, bigint],
|
|
3221
3062
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3222
3063
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3223
3064
|
const tx = new Transaction();
|
|
@@ -3233,10 +3074,7 @@ export namespace critbit {
|
|
|
3233
3074
|
}
|
|
3234
3075
|
export async function removeLeafByIndex<T0 = any>(
|
|
3235
3076
|
client: SuiClient,
|
|
3236
|
-
args: [
|
|
3237
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3238
|
-
bigint | TransactionArgument,
|
|
3239
|
-
],
|
|
3077
|
+
args: [string, bigint],
|
|
3240
3078
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3241
3079
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
3242
3080
|
const tx = new Transaction();
|
|
@@ -3252,7 +3090,7 @@ export namespace critbit {
|
|
|
3252
3090
|
}
|
|
3253
3091
|
export async function size<T0 = any>(
|
|
3254
3092
|
client: SuiClient,
|
|
3255
|
-
args: [string
|
|
3093
|
+
args: [string],
|
|
3256
3094
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3257
3095
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3258
3096
|
const tx = new Transaction();
|
|
@@ -3604,10 +3442,7 @@ export namespace custodian {
|
|
|
3604
3442
|
export namespace view {
|
|
3605
3443
|
export async function accountAvailableBalance<T0 = any>(
|
|
3606
3444
|
client: SuiClient,
|
|
3607
|
-
args: [
|
|
3608
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3609
|
-
_0x2.object_.ID | TransactionArgument,
|
|
3610
|
-
],
|
|
3445
|
+
args: [string, _0x2.object_.ID],
|
|
3611
3446
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3612
3447
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3613
3448
|
const tx = new Transaction();
|
|
@@ -3623,10 +3458,7 @@ export namespace custodian {
|
|
|
3623
3458
|
}
|
|
3624
3459
|
export async function accountBalance<T0 = any>(
|
|
3625
3460
|
client: SuiClient,
|
|
3626
|
-
args: [
|
|
3627
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3628
|
-
_0x2.object_.ID | TransactionArgument,
|
|
3629
|
-
],
|
|
3461
|
+
args: [string, _0x2.object_.ID],
|
|
3630
3462
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3631
3463
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3632
3464
|
const tx = new Transaction();
|
|
@@ -3642,10 +3474,7 @@ export namespace custodian {
|
|
|
3642
3474
|
}
|
|
3643
3475
|
export async function accountLockedBalance<T0 = any>(
|
|
3644
3476
|
client: SuiClient,
|
|
3645
|
-
args: [
|
|
3646
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3647
|
-
_0x2.object_.ID | TransactionArgument,
|
|
3648
|
-
],
|
|
3477
|
+
args: [string, _0x2.object_.ID],
|
|
3649
3478
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3650
3479
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3651
3480
|
const tx = new Transaction();
|
|
@@ -3661,11 +3490,7 @@ export namespace custodian {
|
|
|
3661
3490
|
}
|
|
3662
3491
|
export async function decreaseUserAvailableBalance<T0 = any>(
|
|
3663
3492
|
client: SuiClient,
|
|
3664
|
-
args: [
|
|
3665
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3666
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3667
|
-
bigint | TransactionArgument,
|
|
3668
|
-
],
|
|
3493
|
+
args: [string, string, bigint],
|
|
3669
3494
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3670
3495
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
3671
3496
|
const tx = new Transaction();
|
|
@@ -3681,11 +3506,7 @@ export namespace custodian {
|
|
|
3681
3506
|
}
|
|
3682
3507
|
export async function decreaseUserLockedBalance<T0 = any>(
|
|
3683
3508
|
client: SuiClient,
|
|
3684
|
-
args: [
|
|
3685
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3686
|
-
_0x2.object_.ID | TransactionArgument,
|
|
3687
|
-
bigint | TransactionArgument,
|
|
3688
|
-
],
|
|
3509
|
+
args: [string, _0x2.object_.ID, bigint],
|
|
3689
3510
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3690
3511
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
3691
3512
|
const tx = new Transaction();
|
|
@@ -3701,11 +3522,7 @@ export namespace custodian {
|
|
|
3701
3522
|
}
|
|
3702
3523
|
export async function increaseUserAvailableBalance<T0 = any>(
|
|
3703
3524
|
client: SuiClient,
|
|
3704
|
-
args: [
|
|
3705
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3706
|
-
_0x2.object_.ID | TransactionArgument,
|
|
3707
|
-
_0x2.balance.Balance<T0> | TransactionArgument,
|
|
3708
|
-
],
|
|
3525
|
+
args: [string, _0x2.object_.ID, _0x2.balance.Balance<T0>],
|
|
3709
3526
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3710
3527
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3711
3528
|
const tx = new Transaction();
|
|
@@ -3721,11 +3538,7 @@ export namespace custodian {
|
|
|
3721
3538
|
}
|
|
3722
3539
|
export async function increaseUserLockedBalance<T0 = any>(
|
|
3723
3540
|
client: SuiClient,
|
|
3724
|
-
args: [
|
|
3725
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3726
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3727
|
-
_0x2.balance.Balance<T0> | TransactionArgument,
|
|
3728
|
-
],
|
|
3541
|
+
args: [string, string, _0x2.balance.Balance<T0>],
|
|
3729
3542
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3730
3543
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3731
3544
|
const tx = new Transaction();
|
|
@@ -3741,11 +3554,7 @@ export namespace custodian {
|
|
|
3741
3554
|
}
|
|
3742
3555
|
export async function lockBalance<T0 = any>(
|
|
3743
3556
|
client: SuiClient,
|
|
3744
|
-
args: [
|
|
3745
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3746
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3747
|
-
bigint | TransactionArgument,
|
|
3748
|
-
],
|
|
3557
|
+
args: [string, string, bigint],
|
|
3749
3558
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3750
3559
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3751
3560
|
const tx = new Transaction();
|
|
@@ -3792,11 +3601,7 @@ export namespace custodian {
|
|
|
3792
3601
|
}
|
|
3793
3602
|
export async function unlockBalance<T0 = any>(
|
|
3794
3603
|
client: SuiClient,
|
|
3795
|
-
args: [
|
|
3796
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3797
|
-
_0x2.object_.ID | TransactionArgument,
|
|
3798
|
-
bigint | TransactionArgument,
|
|
3799
|
-
],
|
|
3604
|
+
args: [string, _0x2.object_.ID, bigint],
|
|
3800
3605
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3801
3606
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3802
3607
|
const tx = new Transaction();
|
|
@@ -3812,11 +3617,7 @@ export namespace custodian {
|
|
|
3812
3617
|
}
|
|
3813
3618
|
export async function withdrawAsset<T0 = any>(
|
|
3814
3619
|
client: SuiClient,
|
|
3815
|
-
args: [
|
|
3816
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3817
|
-
bigint | TransactionArgument,
|
|
3818
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3819
|
-
],
|
|
3620
|
+
args: [string, bigint, string],
|
|
3820
3621
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3821
3622
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
3822
3623
|
const tx = new Transaction();
|
|
@@ -4208,10 +4009,7 @@ export namespace custodian_v2 {
|
|
|
4208
4009
|
export namespace view {
|
|
4209
4010
|
export async function accountAvailableBalance<T0 = any>(
|
|
4210
4011
|
client: SuiClient,
|
|
4211
|
-
args: [
|
|
4212
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4213
|
-
string | TransactionArgument,
|
|
4214
|
-
],
|
|
4012
|
+
args: [string, string],
|
|
4215
4013
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4216
4014
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4217
4015
|
const tx = new Transaction();
|
|
@@ -4227,10 +4025,7 @@ export namespace custodian_v2 {
|
|
|
4227
4025
|
}
|
|
4228
4026
|
export async function accountBalance<T0 = any>(
|
|
4229
4027
|
client: SuiClient,
|
|
4230
|
-
args: [
|
|
4231
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4232
|
-
string | TransactionArgument,
|
|
4233
|
-
],
|
|
4028
|
+
args: [string, string],
|
|
4234
4029
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4235
4030
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
4236
4031
|
const tx = new Transaction();
|
|
@@ -4246,10 +4041,7 @@ export namespace custodian_v2 {
|
|
|
4246
4041
|
}
|
|
4247
4042
|
export async function accountLockedBalance<T0 = any>(
|
|
4248
4043
|
client: SuiClient,
|
|
4249
|
-
args: [
|
|
4250
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4251
|
-
string | TransactionArgument,
|
|
4252
|
-
],
|
|
4044
|
+
args: [string, string],
|
|
4253
4045
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4254
4046
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4255
4047
|
const tx = new Transaction();
|
|
@@ -4265,7 +4057,7 @@ export namespace custodian_v2 {
|
|
|
4265
4057
|
}
|
|
4266
4058
|
export async function accountOwner(
|
|
4267
4059
|
client: SuiClient,
|
|
4268
|
-
args: [string
|
|
4060
|
+
args: [string],
|
|
4269
4061
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4270
4062
|
const tx = new Transaction();
|
|
4271
4063
|
builder.accountOwner(tx, args);
|
|
@@ -4280,7 +4072,7 @@ export namespace custodian_v2 {
|
|
|
4280
4072
|
}
|
|
4281
4073
|
export async function createChildAccountCap(
|
|
4282
4074
|
client: SuiClient,
|
|
4283
|
-
args: [string
|
|
4075
|
+
args: [string],
|
|
4284
4076
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
4285
4077
|
const tx = new Transaction();
|
|
4286
4078
|
builder.createChildAccountCap(tx, args);
|
|
@@ -4295,11 +4087,7 @@ export namespace custodian_v2 {
|
|
|
4295
4087
|
}
|
|
4296
4088
|
export async function decreaseUserAvailableBalance<T0 = any>(
|
|
4297
4089
|
client: SuiClient,
|
|
4298
|
-
args: [
|
|
4299
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4300
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4301
|
-
bigint | TransactionArgument,
|
|
4302
|
-
],
|
|
4090
|
+
args: [string, string, bigint],
|
|
4303
4091
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4304
4092
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
4305
4093
|
const tx = new Transaction();
|
|
@@ -4315,11 +4103,7 @@ export namespace custodian_v2 {
|
|
|
4315
4103
|
}
|
|
4316
4104
|
export async function decreaseUserLockedBalance<T0 = any>(
|
|
4317
4105
|
client: SuiClient,
|
|
4318
|
-
args: [
|
|
4319
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4320
|
-
string | TransactionArgument,
|
|
4321
|
-
bigint | TransactionArgument,
|
|
4322
|
-
],
|
|
4106
|
+
args: [string, string, bigint],
|
|
4323
4107
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4324
4108
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
4325
4109
|
const tx = new Transaction();
|
|
@@ -4335,7 +4119,7 @@ export namespace custodian_v2 {
|
|
|
4335
4119
|
}
|
|
4336
4120
|
export async function deleteAccountCap(
|
|
4337
4121
|
client: SuiClient,
|
|
4338
|
-
args: [custodian_v2.AccountCap
|
|
4122
|
+
args: [custodian_v2.AccountCap],
|
|
4339
4123
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4340
4124
|
const tx = new Transaction();
|
|
4341
4125
|
builder.deleteAccountCap(tx, args);
|
|
@@ -4350,11 +4134,7 @@ export namespace custodian_v2 {
|
|
|
4350
4134
|
}
|
|
4351
4135
|
export async function increaseUserAvailableBalance<T0 = any>(
|
|
4352
4136
|
client: SuiClient,
|
|
4353
|
-
args: [
|
|
4354
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4355
|
-
string | TransactionArgument,
|
|
4356
|
-
_0x2.balance.Balance<T0> | TransactionArgument,
|
|
4357
|
-
],
|
|
4137
|
+
args: [string, string, _0x2.balance.Balance<T0>],
|
|
4358
4138
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4359
4139
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4360
4140
|
const tx = new Transaction();
|
|
@@ -4370,11 +4150,7 @@ export namespace custodian_v2 {
|
|
|
4370
4150
|
}
|
|
4371
4151
|
export async function increaseUserLockedBalance<T0 = any>(
|
|
4372
4152
|
client: SuiClient,
|
|
4373
|
-
args: [
|
|
4374
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4375
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4376
|
-
_0x2.balance.Balance<T0> | TransactionArgument,
|
|
4377
|
-
],
|
|
4153
|
+
args: [string, string, _0x2.balance.Balance<T0>],
|
|
4378
4154
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4379
4155
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4380
4156
|
const tx = new Transaction();
|
|
@@ -4390,11 +4166,7 @@ export namespace custodian_v2 {
|
|
|
4390
4166
|
}
|
|
4391
4167
|
export async function lockBalance<T0 = any>(
|
|
4392
4168
|
client: SuiClient,
|
|
4393
|
-
args: [
|
|
4394
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4395
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4396
|
-
bigint | TransactionArgument,
|
|
4397
|
-
],
|
|
4169
|
+
args: [string, string, bigint],
|
|
4398
4170
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4399
4171
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4400
4172
|
const tx = new Transaction();
|
|
@@ -4441,11 +4213,7 @@ export namespace custodian_v2 {
|
|
|
4441
4213
|
}
|
|
4442
4214
|
export async function unlockBalance<T0 = any>(
|
|
4443
4215
|
client: SuiClient,
|
|
4444
|
-
args: [
|
|
4445
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4446
|
-
string | TransactionArgument,
|
|
4447
|
-
bigint | TransactionArgument,
|
|
4448
|
-
],
|
|
4216
|
+
args: [string, string, bigint],
|
|
4449
4217
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4450
4218
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4451
4219
|
const tx = new Transaction();
|
|
@@ -4461,11 +4229,7 @@ export namespace custodian_v2 {
|
|
|
4461
4229
|
}
|
|
4462
4230
|
export async function withdrawAsset<T0 = any>(
|
|
4463
4231
|
client: SuiClient,
|
|
4464
|
-
args: [
|
|
4465
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4466
|
-
bigint | TransactionArgument,
|
|
4467
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4468
|
-
],
|
|
4232
|
+
args: [string, bigint, string],
|
|
4469
4233
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4470
4234
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
4471
4235
|
const tx = new Transaction();
|
|
@@ -4599,7 +4363,7 @@ export namespace math {
|
|
|
4599
4363
|
export namespace view {
|
|
4600
4364
|
export async function countLeadingZeros(
|
|
4601
4365
|
client: SuiClient,
|
|
4602
|
-
args: [bigint
|
|
4366
|
+
args: [bigint],
|
|
4603
4367
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4604
4368
|
const tx = new Transaction();
|
|
4605
4369
|
builder.countLeadingZeros(tx, args);
|
|
@@ -4614,7 +4378,7 @@ export namespace math {
|
|
|
4614
4378
|
}
|
|
4615
4379
|
export async function divRound(
|
|
4616
4380
|
client: SuiClient,
|
|
4617
|
-
args: [bigint
|
|
4381
|
+
args: [bigint, bigint],
|
|
4618
4382
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4619
4383
|
const tx = new Transaction();
|
|
4620
4384
|
builder.divRound(tx, args);
|
|
@@ -4629,7 +4393,7 @@ export namespace math {
|
|
|
4629
4393
|
}
|
|
4630
4394
|
export async function mul(
|
|
4631
4395
|
client: SuiClient,
|
|
4632
|
-
args: [bigint
|
|
4396
|
+
args: [bigint, bigint],
|
|
4633
4397
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4634
4398
|
const tx = new Transaction();
|
|
4635
4399
|
builder.mul(tx, args);
|
|
@@ -4644,7 +4408,7 @@ export namespace math {
|
|
|
4644
4408
|
}
|
|
4645
4409
|
export async function mulRound(
|
|
4646
4410
|
client: SuiClient,
|
|
4647
|
-
args: [bigint
|
|
4411
|
+
args: [bigint, bigint],
|
|
4648
4412
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4649
4413
|
const tx = new Transaction();
|
|
4650
4414
|
builder.mulRound(tx, args);
|
|
@@ -4659,7 +4423,7 @@ export namespace math {
|
|
|
4659
4423
|
}
|
|
4660
4424
|
export async function unsafeDiv(
|
|
4661
4425
|
client: SuiClient,
|
|
4662
|
-
args: [bigint
|
|
4426
|
+
args: [bigint, bigint],
|
|
4663
4427
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4664
4428
|
const tx = new Transaction();
|
|
4665
4429
|
builder.unsafeDiv(tx, args);
|
|
@@ -4674,7 +4438,7 @@ export namespace math {
|
|
|
4674
4438
|
}
|
|
4675
4439
|
export async function unsafeDivRound(
|
|
4676
4440
|
client: SuiClient,
|
|
4677
|
-
args: [bigint
|
|
4441
|
+
args: [bigint, bigint],
|
|
4678
4442
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4679
4443
|
const tx = new Transaction();
|
|
4680
4444
|
builder.unsafeDivRound(tx, args);
|
|
@@ -4689,7 +4453,7 @@ export namespace math {
|
|
|
4689
4453
|
}
|
|
4690
4454
|
export async function unsafeMul(
|
|
4691
4455
|
client: SuiClient,
|
|
4692
|
-
args: [bigint
|
|
4456
|
+
args: [bigint, bigint],
|
|
4693
4457
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4694
4458
|
const tx = new Transaction();
|
|
4695
4459
|
builder.unsafeMul(tx, args);
|
|
@@ -4704,7 +4468,7 @@ export namespace math {
|
|
|
4704
4468
|
}
|
|
4705
4469
|
export async function unsafeMulRound(
|
|
4706
4470
|
client: SuiClient,
|
|
4707
|
-
args: [bigint
|
|
4471
|
+
args: [bigint, bigint],
|
|
4708
4472
|
): Promise<TypedDevInspectResults<[boolean, bigint]>> {
|
|
4709
4473
|
const tx = new Transaction();
|
|
4710
4474
|
builder.unsafeMulRound(tx, args);
|