@typemove/sui 1.5.1 → 1.5.2-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/Readme.md +8 -4
  2. package/dist/cjs/builtin/0x1.d.ts +2 -0
  3. package/dist/cjs/builtin/0x1.d.ts.map +1 -1
  4. package/dist/cjs/builtin/0x1.js +187 -167
  5. package/dist/cjs/builtin/0x1.js.map +1 -1
  6. package/dist/cjs/builtin/0x2.d.ts +121 -0
  7. package/dist/cjs/builtin/0x2.d.ts.map +1 -1
  8. package/dist/cjs/builtin/0x2.js +1077 -856
  9. package/dist/cjs/builtin/0x2.js.map +1 -1
  10. package/dist/cjs/builtin/0x3.js +212 -212
  11. package/dist/cjs/codegen/codegen.js +2 -2
  12. package/dist/cjs/move-coder.d.ts +1 -1
  13. package/dist/cjs/move-coder.js +4 -4
  14. package/dist/esm/builtin/0x1.d.ts +2 -0
  15. package/dist/esm/builtin/0x1.d.ts.map +1 -1
  16. package/dist/esm/builtin/0x1.js +187 -167
  17. package/dist/esm/builtin/0x1.js.map +1 -1
  18. package/dist/esm/builtin/0x2.d.ts +121 -0
  19. package/dist/esm/builtin/0x2.d.ts.map +1 -1
  20. package/dist/esm/builtin/0x2.js +1076 -855
  21. package/dist/esm/builtin/0x2.js.map +1 -1
  22. package/dist/esm/builtin/0x3.js +212 -212
  23. package/dist/esm/codegen/codegen.js +2 -2
  24. package/dist/esm/move-coder.d.ts +1 -1
  25. package/dist/esm/move-coder.js +4 -4
  26. package/package.json +2 -2
  27. package/src/abis/0x1.json +20 -0
  28. package/src/abis/0x2.json +551 -0
  29. package/src/builtin/0x1.ts +195 -167
  30. package/src/builtin/0x2.ts +1238 -855
  31. package/src/builtin/0x3.ts +212 -212
  32. package/src/codegen/codegen.ts +2 -2
  33. package/src/move-coder.ts +4 -4
  34. package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +8 -8
  35. package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +96 -96
  36. package/src/tests/types/testnet/0xdee9.ts +94 -94
  37. package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +310 -310
@@ -908,14 +908,14 @@ export namespace clob {
908
908
  ): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
909
909
  const tx = new TransactionBlock();
910
910
  builder.accountBalance(tx, args, typeArguments);
911
- const insepctRes = await client.devInspectTransactionBlock({
911
+ const inspectRes = await client.devInspectTransactionBlock({
912
912
  transactionBlock: tx,
913
913
  sender: ZERO_ADDRESS,
914
914
  });
915
915
 
916
916
  return (await getMoveCoder(client)).decodeDevInspectResult<
917
917
  [bigint, bigint, bigint, bigint]
918
- >(insepctRes);
918
+ >(inspectRes);
919
919
  }
920
920
  export async function batchCancelOrder<T0 = any, T1 = any>(
921
921
  client: SuiClient,
@@ -928,13 +928,13 @@ export namespace clob {
928
928
  ): Promise<TypedDevInspectResults<[]>> {
929
929
  const tx = new TransactionBlock();
930
930
  builder.batchCancelOrder(tx, args, typeArguments);
931
- const insepctRes = await client.devInspectTransactionBlock({
931
+ const inspectRes = await client.devInspectTransactionBlock({
932
932
  transactionBlock: tx,
933
933
  sender: ZERO_ADDRESS,
934
934
  });
935
935
 
936
936
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
937
- insepctRes,
937
+ inspectRes,
938
938
  );
939
939
  }
940
940
  export async function cancelAllOrders<T0 = any, T1 = any>(
@@ -947,13 +947,13 @@ export namespace clob {
947
947
  ): Promise<TypedDevInspectResults<[]>> {
948
948
  const tx = new TransactionBlock();
949
949
  builder.cancelAllOrders(tx, args, typeArguments);
950
- const insepctRes = await client.devInspectTransactionBlock({
950
+ const inspectRes = await client.devInspectTransactionBlock({
951
951
  transactionBlock: tx,
952
952
  sender: ZERO_ADDRESS,
953
953
  });
954
954
 
955
955
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
956
- insepctRes,
956
+ inspectRes,
957
957
  );
958
958
  }
959
959
  export async function cancelOrder<T0 = any, T1 = any>(
@@ -967,13 +967,13 @@ export namespace clob {
967
967
  ): Promise<TypedDevInspectResults<[]>> {
968
968
  const tx = new TransactionBlock();
969
969
  builder.cancelOrder(tx, args, typeArguments);
970
- const insepctRes = await client.devInspectTransactionBlock({
970
+ const inspectRes = await client.devInspectTransactionBlock({
971
971
  transactionBlock: tx,
972
972
  sender: ZERO_ADDRESS,
973
973
  });
974
974
 
975
975
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
976
- insepctRes,
976
+ inspectRes,
977
977
  );
978
978
  }
979
979
  export async function createAccount(
@@ -982,14 +982,14 @@ export namespace clob {
982
982
  ): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
983
983
  const tx = new TransactionBlock();
984
984
  builder.createAccount(tx, args);
985
- const insepctRes = await client.devInspectTransactionBlock({
985
+ const inspectRes = await client.devInspectTransactionBlock({
986
986
  transactionBlock: tx,
987
987
  sender: ZERO_ADDRESS,
988
988
  });
989
989
 
990
990
  return (await getMoveCoder(client)).decodeDevInspectResult<
991
991
  [custodian.AccountCap]
992
- >(insepctRes);
992
+ >(inspectRes);
993
993
  }
994
994
  export async function createPool<T0 = any, T1 = any>(
995
995
  client: SuiClient,
@@ -1003,13 +1003,13 @@ export namespace clob {
1003
1003
  ): Promise<TypedDevInspectResults<[]>> {
1004
1004
  const tx = new TransactionBlock();
1005
1005
  builder.createPool(tx, args, typeArguments);
1006
- const insepctRes = await client.devInspectTransactionBlock({
1006
+ const inspectRes = await client.devInspectTransactionBlock({
1007
1007
  transactionBlock: tx,
1008
1008
  sender: ZERO_ADDRESS,
1009
1009
  });
1010
1010
 
1011
1011
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
1012
- insepctRes,
1012
+ inspectRes,
1013
1013
  );
1014
1014
  }
1015
1015
  export async function depositBase<T0 = any, T1 = any>(
@@ -1023,13 +1023,13 @@ export namespace clob {
1023
1023
  ): Promise<TypedDevInspectResults<[]>> {
1024
1024
  const tx = new TransactionBlock();
1025
1025
  builder.depositBase(tx, args, typeArguments);
1026
- const insepctRes = await client.devInspectTransactionBlock({
1026
+ const inspectRes = await client.devInspectTransactionBlock({
1027
1027
  transactionBlock: tx,
1028
1028
  sender: ZERO_ADDRESS,
1029
1029
  });
1030
1030
 
1031
1031
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
1032
- insepctRes,
1032
+ inspectRes,
1033
1033
  );
1034
1034
  }
1035
1035
  export async function depositQuote<T0 = any, T1 = any>(
@@ -1043,13 +1043,13 @@ export namespace clob {
1043
1043
  ): Promise<TypedDevInspectResults<[]>> {
1044
1044
  const tx = new TransactionBlock();
1045
1045
  builder.depositQuote(tx, args, typeArguments);
1046
- const insepctRes = await client.devInspectTransactionBlock({
1046
+ const inspectRes = await client.devInspectTransactionBlock({
1047
1047
  transactionBlock: tx,
1048
1048
  sender: ZERO_ADDRESS,
1049
1049
  });
1050
1050
 
1051
1051
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
1052
- insepctRes,
1052
+ inspectRes,
1053
1053
  );
1054
1054
  }
1055
1055
  export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
@@ -1064,14 +1064,14 @@ export namespace clob {
1064
1064
  ): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
1065
1065
  const tx = new TransactionBlock();
1066
1066
  builder.getLevel2BookStatusAskSide(tx, args, typeArguments);
1067
- const insepctRes = await client.devInspectTransactionBlock({
1067
+ const inspectRes = await client.devInspectTransactionBlock({
1068
1068
  transactionBlock: tx,
1069
1069
  sender: ZERO_ADDRESS,
1070
1070
  });
1071
1071
 
1072
1072
  return (await getMoveCoder(client)).decodeDevInspectResult<
1073
1073
  [bigint[], bigint[]]
1074
- >(insepctRes);
1074
+ >(inspectRes);
1075
1075
  }
1076
1076
  export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
1077
1077
  client: SuiClient,
@@ -1085,14 +1085,14 @@ export namespace clob {
1085
1085
  ): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
1086
1086
  const tx = new TransactionBlock();
1087
1087
  builder.getLevel2BookStatusBidSide(tx, args, typeArguments);
1088
- const insepctRes = await client.devInspectTransactionBlock({
1088
+ const inspectRes = await client.devInspectTransactionBlock({
1089
1089
  transactionBlock: tx,
1090
1090
  sender: ZERO_ADDRESS,
1091
1091
  });
1092
1092
 
1093
1093
  return (await getMoveCoder(client)).decodeDevInspectResult<
1094
1094
  [bigint[], bigint[]]
1095
- >(insepctRes);
1095
+ >(inspectRes);
1096
1096
  }
1097
1097
  export async function getMarketPrice<T0 = any, T1 = any>(
1098
1098
  client: SuiClient,
@@ -1101,14 +1101,14 @@ export namespace clob {
1101
1101
  ): Promise<TypedDevInspectResults<[bigint, bigint]>> {
1102
1102
  const tx = new TransactionBlock();
1103
1103
  builder.getMarketPrice(tx, args, typeArguments);
1104
- const insepctRes = await client.devInspectTransactionBlock({
1104
+ const inspectRes = await client.devInspectTransactionBlock({
1105
1105
  transactionBlock: tx,
1106
1106
  sender: ZERO_ADDRESS,
1107
1107
  });
1108
1108
 
1109
1109
  return (await getMoveCoder(client)).decodeDevInspectResult<
1110
1110
  [bigint, bigint]
1111
- >(insepctRes);
1111
+ >(inspectRes);
1112
1112
  }
1113
1113
  export async function getOrderStatus<T0 = any, T1 = any>(
1114
1114
  client: SuiClient,
@@ -1121,13 +1121,13 @@ export namespace clob {
1121
1121
  ): Promise<TypedDevInspectResults<[string]>> {
1122
1122
  const tx = new TransactionBlock();
1123
1123
  builder.getOrderStatus(tx, args, typeArguments);
1124
- const insepctRes = await client.devInspectTransactionBlock({
1124
+ const inspectRes = await client.devInspectTransactionBlock({
1125
1125
  transactionBlock: tx,
1126
1126
  sender: ZERO_ADDRESS,
1127
1127
  });
1128
1128
 
1129
1129
  return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
1130
- insepctRes,
1130
+ inspectRes,
1131
1131
  );
1132
1132
  }
1133
1133
  export async function listOpenOrders<T0 = any, T1 = any>(
@@ -1140,14 +1140,14 @@ export namespace clob {
1140
1140
  ): Promise<TypedDevInspectResults<[clob.Order[]]>> {
1141
1141
  const tx = new TransactionBlock();
1142
1142
  builder.listOpenOrders(tx, args, typeArguments);
1143
- const insepctRes = await client.devInspectTransactionBlock({
1143
+ const inspectRes = await client.devInspectTransactionBlock({
1144
1144
  transactionBlock: tx,
1145
1145
  sender: ZERO_ADDRESS,
1146
1146
  });
1147
1147
 
1148
1148
  return (await getMoveCoder(client)).decodeDevInspectResult<
1149
1149
  [clob.Order[]]
1150
- >(insepctRes);
1150
+ >(inspectRes);
1151
1151
  }
1152
1152
  export async function placeLimitOrder<T0 = any, T1 = any>(
1153
1153
  client: SuiClient,
@@ -1166,14 +1166,14 @@ export namespace clob {
1166
1166
  ): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
1167
1167
  const tx = new TransactionBlock();
1168
1168
  builder.placeLimitOrder(tx, args, typeArguments);
1169
- const insepctRes = await client.devInspectTransactionBlock({
1169
+ const inspectRes = await client.devInspectTransactionBlock({
1170
1170
  transactionBlock: tx,
1171
1171
  sender: ZERO_ADDRESS,
1172
1172
  });
1173
1173
 
1174
1174
  return (await getMoveCoder(client)).decodeDevInspectResult<
1175
1175
  [bigint, bigint, Boolean, bigint]
1176
- >(insepctRes);
1176
+ >(inspectRes);
1177
1177
  }
1178
1178
  export async function placeMarketOrder<T0 = any, T1 = any>(
1179
1179
  client: SuiClient,
@@ -1192,14 +1192,14 @@ export namespace clob {
1192
1192
  > {
1193
1193
  const tx = new TransactionBlock();
1194
1194
  builder.placeMarketOrder(tx, args, typeArguments);
1195
- const insepctRes = await client.devInspectTransactionBlock({
1195
+ const inspectRes = await client.devInspectTransactionBlock({
1196
1196
  transactionBlock: tx,
1197
1197
  sender: ZERO_ADDRESS,
1198
1198
  });
1199
1199
 
1200
1200
  return (await getMoveCoder(client)).decodeDevInspectResult<
1201
1201
  [_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>]
1202
- >(insepctRes);
1202
+ >(inspectRes);
1203
1203
  }
1204
1204
  export async function swapExactBaseForQuote<T0 = any, T1 = any>(
1205
1205
  client: SuiClient,
@@ -1217,14 +1217,14 @@ export namespace clob {
1217
1217
  > {
1218
1218
  const tx = new TransactionBlock();
1219
1219
  builder.swapExactBaseForQuote(tx, args, typeArguments);
1220
- const insepctRes = await client.devInspectTransactionBlock({
1220
+ const inspectRes = await client.devInspectTransactionBlock({
1221
1221
  transactionBlock: tx,
1222
1222
  sender: ZERO_ADDRESS,
1223
1223
  });
1224
1224
 
1225
1225
  return (await getMoveCoder(client)).decodeDevInspectResult<
1226
1226
  [_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]
1227
- >(insepctRes);
1227
+ >(inspectRes);
1228
1228
  }
1229
1229
  export async function swapExactQuoteForBase<T0 = any, T1 = any>(
1230
1230
  client: SuiClient,
@@ -1241,14 +1241,14 @@ export namespace clob {
1241
1241
  > {
1242
1242
  const tx = new TransactionBlock();
1243
1243
  builder.swapExactQuoteForBase(tx, args, typeArguments);
1244
- const insepctRes = await client.devInspectTransactionBlock({
1244
+ const inspectRes = await client.devInspectTransactionBlock({
1245
1245
  transactionBlock: tx,
1246
1246
  sender: ZERO_ADDRESS,
1247
1247
  });
1248
1248
 
1249
1249
  return (await getMoveCoder(client)).decodeDevInspectResult<
1250
1250
  [_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]
1251
- >(insepctRes);
1251
+ >(inspectRes);
1252
1252
  }
1253
1253
  export async function withdrawBase<T0 = any, T1 = any>(
1254
1254
  client: SuiClient,
@@ -1262,14 +1262,14 @@ export namespace clob {
1262
1262
  ): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
1263
1263
  const tx = new TransactionBlock();
1264
1264
  builder.withdrawBase(tx, args, typeArguments);
1265
- const insepctRes = await client.devInspectTransactionBlock({
1265
+ const inspectRes = await client.devInspectTransactionBlock({
1266
1266
  transactionBlock: tx,
1267
1267
  sender: ZERO_ADDRESS,
1268
1268
  });
1269
1269
 
1270
1270
  return (await getMoveCoder(client)).decodeDevInspectResult<
1271
1271
  [_0x2.coin.Coin<T0>]
1272
- >(insepctRes);
1272
+ >(inspectRes);
1273
1273
  }
1274
1274
  export async function withdrawQuote<T0 = any, T1 = any>(
1275
1275
  client: SuiClient,
@@ -1283,14 +1283,14 @@ export namespace clob {
1283
1283
  ): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
1284
1284
  const tx = new TransactionBlock();
1285
1285
  builder.withdrawQuote(tx, args, typeArguments);
1286
- const insepctRes = await client.devInspectTransactionBlock({
1286
+ const inspectRes = await client.devInspectTransactionBlock({
1287
1287
  transactionBlock: tx,
1288
1288
  sender: ZERO_ADDRESS,
1289
1289
  });
1290
1290
 
1291
1291
  return (await getMoveCoder(client)).decodeDevInspectResult<
1292
1292
  [_0x2.coin.Coin<T1>]
1293
- >(insepctRes);
1293
+ >(inspectRes);
1294
1294
  }
1295
1295
  }
1296
1296
  }
@@ -2232,14 +2232,14 @@ export namespace clob_v2 {
2232
2232
  ): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
2233
2233
  const tx = new TransactionBlock();
2234
2234
  builder.accountBalance(tx, args, typeArguments);
2235
- const insepctRes = await client.devInspectTransactionBlock({
2235
+ const inspectRes = await client.devInspectTransactionBlock({
2236
2236
  transactionBlock: tx,
2237
2237
  sender: ZERO_ADDRESS,
2238
2238
  });
2239
2239
 
2240
2240
  return (await getMoveCoder(client)).decodeDevInspectResult<
2241
2241
  [bigint, bigint, bigint, bigint]
2242
- >(insepctRes);
2242
+ >(inspectRes);
2243
2243
  }
2244
2244
  export async function batchCancelOrder<T0 = any, T1 = any>(
2245
2245
  client: SuiClient,
@@ -2252,13 +2252,13 @@ export namespace clob_v2 {
2252
2252
  ): Promise<TypedDevInspectResults<[]>> {
2253
2253
  const tx = new TransactionBlock();
2254
2254
  builder.batchCancelOrder(tx, args, typeArguments);
2255
- const insepctRes = await client.devInspectTransactionBlock({
2255
+ const inspectRes = await client.devInspectTransactionBlock({
2256
2256
  transactionBlock: tx,
2257
2257
  sender: ZERO_ADDRESS,
2258
2258
  });
2259
2259
 
2260
2260
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2261
- insepctRes,
2261
+ inspectRes,
2262
2262
  );
2263
2263
  }
2264
2264
  export async function cancelAllOrders<T0 = any, T1 = any>(
@@ -2271,13 +2271,13 @@ export namespace clob_v2 {
2271
2271
  ): Promise<TypedDevInspectResults<[]>> {
2272
2272
  const tx = new TransactionBlock();
2273
2273
  builder.cancelAllOrders(tx, args, typeArguments);
2274
- const insepctRes = await client.devInspectTransactionBlock({
2274
+ const inspectRes = await client.devInspectTransactionBlock({
2275
2275
  transactionBlock: tx,
2276
2276
  sender: ZERO_ADDRESS,
2277
2277
  });
2278
2278
 
2279
2279
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2280
- insepctRes,
2280
+ inspectRes,
2281
2281
  );
2282
2282
  }
2283
2283
  export async function cancelOrder<T0 = any, T1 = any>(
@@ -2291,13 +2291,13 @@ export namespace clob_v2 {
2291
2291
  ): Promise<TypedDevInspectResults<[]>> {
2292
2292
  const tx = new TransactionBlock();
2293
2293
  builder.cancelOrder(tx, args, typeArguments);
2294
- const insepctRes = await client.devInspectTransactionBlock({
2294
+ const inspectRes = await client.devInspectTransactionBlock({
2295
2295
  transactionBlock: tx,
2296
2296
  sender: ZERO_ADDRESS,
2297
2297
  });
2298
2298
 
2299
2299
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2300
- insepctRes,
2300
+ inspectRes,
2301
2301
  );
2302
2302
  }
2303
2303
  export async function cleanUpExpiredOrders<T0 = any, T1 = any>(
@@ -2312,13 +2312,13 @@ export namespace clob_v2 {
2312
2312
  ): Promise<TypedDevInspectResults<[]>> {
2313
2313
  const tx = new TransactionBlock();
2314
2314
  builder.cleanUpExpiredOrders(tx, args, typeArguments);
2315
- const insepctRes = await client.devInspectTransactionBlock({
2315
+ const inspectRes = await client.devInspectTransactionBlock({
2316
2316
  transactionBlock: tx,
2317
2317
  sender: ZERO_ADDRESS,
2318
2318
  });
2319
2319
 
2320
2320
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2321
- insepctRes,
2321
+ inspectRes,
2322
2322
  );
2323
2323
  }
2324
2324
  export async function createAccount(
@@ -2327,14 +2327,14 @@ export namespace clob_v2 {
2327
2327
  ): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
2328
2328
  const tx = new TransactionBlock();
2329
2329
  builder.createAccount(tx, args);
2330
- const insepctRes = await client.devInspectTransactionBlock({
2330
+ const inspectRes = await client.devInspectTransactionBlock({
2331
2331
  transactionBlock: tx,
2332
2332
  sender: ZERO_ADDRESS,
2333
2333
  });
2334
2334
 
2335
2335
  return (await getMoveCoder(client)).decodeDevInspectResult<
2336
2336
  [custodian_v2.AccountCap]
2337
- >(insepctRes);
2337
+ >(inspectRes);
2338
2338
  }
2339
2339
  export async function createPool<T0 = any, T1 = any>(
2340
2340
  client: SuiClient,
@@ -2348,13 +2348,13 @@ export namespace clob_v2 {
2348
2348
  ): Promise<TypedDevInspectResults<[]>> {
2349
2349
  const tx = new TransactionBlock();
2350
2350
  builder.createPool(tx, args, typeArguments);
2351
- const insepctRes = await client.devInspectTransactionBlock({
2351
+ const inspectRes = await client.devInspectTransactionBlock({
2352
2352
  transactionBlock: tx,
2353
2353
  sender: ZERO_ADDRESS,
2354
2354
  });
2355
2355
 
2356
2356
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2357
- insepctRes,
2357
+ inspectRes,
2358
2358
  );
2359
2359
  }
2360
2360
  export async function depositBase<T0 = any, T1 = any>(
@@ -2368,13 +2368,13 @@ export namespace clob_v2 {
2368
2368
  ): Promise<TypedDevInspectResults<[]>> {
2369
2369
  const tx = new TransactionBlock();
2370
2370
  builder.depositBase(tx, args, typeArguments);
2371
- const insepctRes = await client.devInspectTransactionBlock({
2371
+ const inspectRes = await client.devInspectTransactionBlock({
2372
2372
  transactionBlock: tx,
2373
2373
  sender: ZERO_ADDRESS,
2374
2374
  });
2375
2375
 
2376
2376
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2377
- insepctRes,
2377
+ inspectRes,
2378
2378
  );
2379
2379
  }
2380
2380
  export async function depositQuote<T0 = any, T1 = any>(
@@ -2388,13 +2388,13 @@ export namespace clob_v2 {
2388
2388
  ): Promise<TypedDevInspectResults<[]>> {
2389
2389
  const tx = new TransactionBlock();
2390
2390
  builder.depositQuote(tx, args, typeArguments);
2391
- const insepctRes = await client.devInspectTransactionBlock({
2391
+ const inspectRes = await client.devInspectTransactionBlock({
2392
2392
  transactionBlock: tx,
2393
2393
  sender: ZERO_ADDRESS,
2394
2394
  });
2395
2395
 
2396
2396
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2397
- insepctRes,
2397
+ inspectRes,
2398
2398
  );
2399
2399
  }
2400
2400
  export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
@@ -2409,14 +2409,14 @@ export namespace clob_v2 {
2409
2409
  ): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
2410
2410
  const tx = new TransactionBlock();
2411
2411
  builder.getLevel2BookStatusAskSide(tx, args, typeArguments);
2412
- const insepctRes = await client.devInspectTransactionBlock({
2412
+ const inspectRes = await client.devInspectTransactionBlock({
2413
2413
  transactionBlock: tx,
2414
2414
  sender: ZERO_ADDRESS,
2415
2415
  });
2416
2416
 
2417
2417
  return (await getMoveCoder(client)).decodeDevInspectResult<
2418
2418
  [bigint[], bigint[]]
2419
- >(insepctRes);
2419
+ >(inspectRes);
2420
2420
  }
2421
2421
  export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
2422
2422
  client: SuiClient,
@@ -2430,14 +2430,14 @@ export namespace clob_v2 {
2430
2430
  ): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
2431
2431
  const tx = new TransactionBlock();
2432
2432
  builder.getLevel2BookStatusBidSide(tx, args, typeArguments);
2433
- const insepctRes = await client.devInspectTransactionBlock({
2433
+ const inspectRes = await client.devInspectTransactionBlock({
2434
2434
  transactionBlock: tx,
2435
2435
  sender: ZERO_ADDRESS,
2436
2436
  });
2437
2437
 
2438
2438
  return (await getMoveCoder(client)).decodeDevInspectResult<
2439
2439
  [bigint[], bigint[]]
2440
- >(insepctRes);
2440
+ >(inspectRes);
2441
2441
  }
2442
2442
  export async function getMarketPrice<T0 = any, T1 = any>(
2443
2443
  client: SuiClient,
@@ -2450,14 +2450,14 @@ export namespace clob_v2 {
2450
2450
  > {
2451
2451
  const tx = new TransactionBlock();
2452
2452
  builder.getMarketPrice(tx, args, typeArguments);
2453
- const insepctRes = await client.devInspectTransactionBlock({
2453
+ const inspectRes = await client.devInspectTransactionBlock({
2454
2454
  transactionBlock: tx,
2455
2455
  sender: ZERO_ADDRESS,
2456
2456
  });
2457
2457
 
2458
2458
  return (await getMoveCoder(client)).decodeDevInspectResult<
2459
2459
  [_0x1.option.Option<bigint>, _0x1.option.Option<bigint>]
2460
- >(insepctRes);
2460
+ >(inspectRes);
2461
2461
  }
2462
2462
  export async function getOrderStatus<T0 = any, T1 = any>(
2463
2463
  client: SuiClient,
@@ -2470,13 +2470,13 @@ export namespace clob_v2 {
2470
2470
  ): Promise<TypedDevInspectResults<[string]>> {
2471
2471
  const tx = new TransactionBlock();
2472
2472
  builder.getOrderStatus(tx, args, typeArguments);
2473
- const insepctRes = await client.devInspectTransactionBlock({
2473
+ const inspectRes = await client.devInspectTransactionBlock({
2474
2474
  transactionBlock: tx,
2475
2475
  sender: ZERO_ADDRESS,
2476
2476
  });
2477
2477
 
2478
2478
  return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
2479
- insepctRes,
2479
+ inspectRes,
2480
2480
  );
2481
2481
  }
2482
2482
  export async function listOpenOrders<T0 = any, T1 = any>(
@@ -2489,14 +2489,14 @@ export namespace clob_v2 {
2489
2489
  ): Promise<TypedDevInspectResults<[clob_v2.Order[]]>> {
2490
2490
  const tx = new TransactionBlock();
2491
2491
  builder.listOpenOrders(tx, args, typeArguments);
2492
- const insepctRes = await client.devInspectTransactionBlock({
2492
+ const inspectRes = await client.devInspectTransactionBlock({
2493
2493
  transactionBlock: tx,
2494
2494
  sender: ZERO_ADDRESS,
2495
2495
  });
2496
2496
 
2497
2497
  return (await getMoveCoder(client)).decodeDevInspectResult<
2498
2498
  [clob_v2.Order[]]
2499
- >(insepctRes);
2499
+ >(inspectRes);
2500
2500
  }
2501
2501
  export async function placeLimitOrder<T0 = any, T1 = any>(
2502
2502
  client: SuiClient,
@@ -2517,14 +2517,14 @@ export namespace clob_v2 {
2517
2517
  ): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
2518
2518
  const tx = new TransactionBlock();
2519
2519
  builder.placeLimitOrder(tx, args, typeArguments);
2520
- const insepctRes = await client.devInspectTransactionBlock({
2520
+ const inspectRes = await client.devInspectTransactionBlock({
2521
2521
  transactionBlock: tx,
2522
2522
  sender: ZERO_ADDRESS,
2523
2523
  });
2524
2524
 
2525
2525
  return (await getMoveCoder(client)).decodeDevInspectResult<
2526
2526
  [bigint, bigint, Boolean, bigint]
2527
- >(insepctRes);
2527
+ >(inspectRes);
2528
2528
  }
2529
2529
  export async function placeMarketOrder<T0 = any, T1 = any>(
2530
2530
  client: SuiClient,
@@ -2545,14 +2545,14 @@ export namespace clob_v2 {
2545
2545
  > {
2546
2546
  const tx = new TransactionBlock();
2547
2547
  builder.placeMarketOrder(tx, args, typeArguments);
2548
- const insepctRes = await client.devInspectTransactionBlock({
2548
+ const inspectRes = await client.devInspectTransactionBlock({
2549
2549
  transactionBlock: tx,
2550
2550
  sender: ZERO_ADDRESS,
2551
2551
  });
2552
2552
 
2553
2553
  return (await getMoveCoder(client)).decodeDevInspectResult<
2554
2554
  [_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>]
2555
- >(insepctRes);
2555
+ >(inspectRes);
2556
2556
  }
2557
2557
  export async function swapExactBaseForQuote<T0 = any, T1 = any>(
2558
2558
  client: SuiClient,
@@ -2572,14 +2572,14 @@ export namespace clob_v2 {
2572
2572
  > {
2573
2573
  const tx = new TransactionBlock();
2574
2574
  builder.swapExactBaseForQuote(tx, args, typeArguments);
2575
- const insepctRes = await client.devInspectTransactionBlock({
2575
+ const inspectRes = await client.devInspectTransactionBlock({
2576
2576
  transactionBlock: tx,
2577
2577
  sender: ZERO_ADDRESS,
2578
2578
  });
2579
2579
 
2580
2580
  return (await getMoveCoder(client)).decodeDevInspectResult<
2581
2581
  [_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]
2582
- >(insepctRes);
2582
+ >(inspectRes);
2583
2583
  }
2584
2584
  export async function swapExactQuoteForBase<T0 = any, T1 = any>(
2585
2585
  client: SuiClient,
@@ -2598,14 +2598,14 @@ export namespace clob_v2 {
2598
2598
  > {
2599
2599
  const tx = new TransactionBlock();
2600
2600
  builder.swapExactQuoteForBase(tx, args, typeArguments);
2601
- const insepctRes = await client.devInspectTransactionBlock({
2601
+ const inspectRes = await client.devInspectTransactionBlock({
2602
2602
  transactionBlock: tx,
2603
2603
  sender: ZERO_ADDRESS,
2604
2604
  });
2605
2605
 
2606
2606
  return (await getMoveCoder(client)).decodeDevInspectResult<
2607
2607
  [_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]
2608
- >(insepctRes);
2608
+ >(inspectRes);
2609
2609
  }
2610
2610
  export async function withdrawBase<T0 = any, T1 = any>(
2611
2611
  client: SuiClient,
@@ -2619,14 +2619,14 @@ export namespace clob_v2 {
2619
2619
  ): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
2620
2620
  const tx = new TransactionBlock();
2621
2621
  builder.withdrawBase(tx, args, typeArguments);
2622
- const insepctRes = await client.devInspectTransactionBlock({
2622
+ const inspectRes = await client.devInspectTransactionBlock({
2623
2623
  transactionBlock: tx,
2624
2624
  sender: ZERO_ADDRESS,
2625
2625
  });
2626
2626
 
2627
2627
  return (await getMoveCoder(client)).decodeDevInspectResult<
2628
2628
  [_0x2.coin.Coin<T0>]
2629
- >(insepctRes);
2629
+ >(inspectRes);
2630
2630
  }
2631
2631
  export async function withdrawQuote<T0 = any, T1 = any>(
2632
2632
  client: SuiClient,
@@ -2640,14 +2640,14 @@ export namespace clob_v2 {
2640
2640
  ): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
2641
2641
  const tx = new TransactionBlock();
2642
2642
  builder.withdrawQuote(tx, args, typeArguments);
2643
- const insepctRes = await client.devInspectTransactionBlock({
2643
+ const inspectRes = await client.devInspectTransactionBlock({
2644
2644
  transactionBlock: tx,
2645
2645
  sender: ZERO_ADDRESS,
2646
2646
  });
2647
2647
 
2648
2648
  return (await getMoveCoder(client)).decodeDevInspectResult<
2649
2649
  [_0x2.coin.Coin<T1>]
2650
- >(insepctRes);
2650
+ >(inspectRes);
2651
2651
  }
2652
2652
  }
2653
2653
  }
@@ -2746,14 +2746,14 @@ export namespace critbit {
2746
2746
  ): Promise<TypedDevInspectResults<[bigint, bigint]>> {
2747
2747
  const tx = new TransactionBlock();
2748
2748
  builder.previousLeaf(tx, args, typeArguments);
2749
- const insepctRes = await client.devInspectTransactionBlock({
2749
+ const inspectRes = await client.devInspectTransactionBlock({
2750
2750
  transactionBlock: tx,
2751
2751
  sender: ZERO_ADDRESS,
2752
2752
  });
2753
2753
 
2754
2754
  return (await getMoveCoder(client)).decodeDevInspectResult<
2755
2755
  [bigint, bigint]
2756
- >(insepctRes);
2756
+ >(inspectRes);
2757
2757
  }
2758
2758
  }
2759
2759
  }
@@ -2829,14 +2829,14 @@ export namespace custodian {
2829
2829
  ): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
2830
2830
  const tx = new TransactionBlock();
2831
2831
  builder.mintAccountCap(tx, args);
2832
- const insepctRes = await client.devInspectTransactionBlock({
2832
+ const inspectRes = await client.devInspectTransactionBlock({
2833
2833
  transactionBlock: tx,
2834
2834
  sender: ZERO_ADDRESS,
2835
2835
  });
2836
2836
 
2837
2837
  return (await getMoveCoder(client)).decodeDevInspectResult<
2838
2838
  [custodian.AccountCap]
2839
- >(insepctRes);
2839
+ >(inspectRes);
2840
2840
  }
2841
2841
  }
2842
2842
  }
@@ -2944,13 +2944,13 @@ export namespace custodian_v2 {
2944
2944
  ): Promise<TypedDevInspectResults<[string]>> {
2945
2945
  const tx = new TransactionBlock();
2946
2946
  builder.accountOwner(tx, args);
2947
- const insepctRes = await client.devInspectTransactionBlock({
2947
+ const inspectRes = await client.devInspectTransactionBlock({
2948
2948
  transactionBlock: tx,
2949
2949
  sender: ZERO_ADDRESS,
2950
2950
  });
2951
2951
 
2952
2952
  return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
2953
- insepctRes,
2953
+ inspectRes,
2954
2954
  );
2955
2955
  }
2956
2956
  export async function createChildAccountCap(
@@ -2962,14 +2962,14 @@ export namespace custodian_v2 {
2962
2962
  ): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
2963
2963
  const tx = new TransactionBlock();
2964
2964
  builder.createChildAccountCap(tx, args);
2965
- const insepctRes = await client.devInspectTransactionBlock({
2965
+ const inspectRes = await client.devInspectTransactionBlock({
2966
2966
  transactionBlock: tx,
2967
2967
  sender: ZERO_ADDRESS,
2968
2968
  });
2969
2969
 
2970
2970
  return (await getMoveCoder(client)).decodeDevInspectResult<
2971
2971
  [custodian_v2.AccountCap]
2972
- >(insepctRes);
2972
+ >(inspectRes);
2973
2973
  }
2974
2974
 
2975
2975
  export async function deleteAccountCap(
@@ -2978,13 +2978,13 @@ export namespace custodian_v2 {
2978
2978
  ): Promise<TypedDevInspectResults<[]>> {
2979
2979
  const tx = new TransactionBlock();
2980
2980
  builder.deleteAccountCap(tx, args);
2981
- const insepctRes = await client.devInspectTransactionBlock({
2981
+ const inspectRes = await client.devInspectTransactionBlock({
2982
2982
  transactionBlock: tx,
2983
2983
  sender: ZERO_ADDRESS,
2984
2984
  });
2985
2985
 
2986
2986
  return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
2987
- insepctRes,
2987
+ inspectRes,
2988
2988
  );
2989
2989
  }
2990
2990
  }
@@ -3042,14 +3042,14 @@ export namespace math {
3042
3042
  ): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
3043
3043
  const tx = new TransactionBlock();
3044
3044
  builder.divRound(tx, args);
3045
- const insepctRes = await client.devInspectTransactionBlock({
3045
+ const inspectRes = await client.devInspectTransactionBlock({
3046
3046
  transactionBlock: tx,
3047
3047
  sender: ZERO_ADDRESS,
3048
3048
  });
3049
3049
 
3050
3050
  return (await getMoveCoder(client)).decodeDevInspectResult<
3051
3051
  [Boolean, bigint]
3052
- >(insepctRes);
3052
+ >(inspectRes);
3053
3053
  }
3054
3054
  export async function mul(
3055
3055
  client: SuiClient,
@@ -3057,13 +3057,13 @@ export namespace math {
3057
3057
  ): Promise<TypedDevInspectResults<[bigint]>> {
3058
3058
  const tx = new TransactionBlock();
3059
3059
  builder.mul(tx, args);
3060
- const insepctRes = await client.devInspectTransactionBlock({
3060
+ const inspectRes = await client.devInspectTransactionBlock({
3061
3061
  transactionBlock: tx,
3062
3062
  sender: ZERO_ADDRESS,
3063
3063
  });
3064
3064
 
3065
3065
  return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
3066
- insepctRes,
3066
+ inspectRes,
3067
3067
  );
3068
3068
  }
3069
3069
  export async function mulRound(
@@ -3072,14 +3072,14 @@ export namespace math {
3072
3072
  ): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
3073
3073
  const tx = new TransactionBlock();
3074
3074
  builder.mulRound(tx, args);
3075
- const insepctRes = await client.devInspectTransactionBlock({
3075
+ const inspectRes = await client.devInspectTransactionBlock({
3076
3076
  transactionBlock: tx,
3077
3077
  sender: ZERO_ADDRESS,
3078
3078
  });
3079
3079
 
3080
3080
  return (await getMoveCoder(client)).decodeDevInspectResult<
3081
3081
  [Boolean, bigint]
3082
- >(insepctRes);
3082
+ >(inspectRes);
3083
3083
  }
3084
3084
  }
3085
3085
  }