@typemove/sui 1.6.3 → 1.6.4-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +187 -131
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +696 -131
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +572 -572
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +569 -569
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +422 -242
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +639 -239
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +7 -7
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/models.d.ts +1 -1
- package/dist/cjs/models.d.ts.map +1 -1
- package/dist/cjs/move-coder.d.ts +5 -4
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +62 -23
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/cjs/move-coder.test.js.map +1 -1
- package/dist/cjs/sui-chain-adapter.d.ts +1 -1
- package/dist/cjs/sui-chain-adapter.d.ts.map +1 -1
- package/dist/cjs/sui-chain-adapter.js +1 -1
- package/dist/cjs/sui-chain-adapter.js.map +1 -1
- package/dist/cjs/to-internal.d.ts +1 -1
- package/dist/cjs/to-internal.d.ts.map +1 -1
- package/dist/cjs/to-internal.js +4 -4
- package/dist/cjs/transaction.d.ts +4 -4
- package/dist/cjs/transaction.d.ts.map +1 -1
- package/dist/cjs/transaction.js +2 -2
- package/dist/cjs/transaction.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +187 -131
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +696 -131
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +572 -572
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +569 -569
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +422 -242
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +639 -239
- 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 +7 -7
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/codegen/run.js +1 -1
- 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 +5 -4
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +62 -23
- 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 +1 -1
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -1
- package/dist/esm/sui-chain-adapter.js +1 -1
- 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/dist/esm/to-internal.js +5 -5
- package/dist/esm/to-internal.js.map +1 -1
- package/dist/esm/transaction.d.ts +4 -4
- package/dist/esm/transaction.d.ts.map +1 -1
- package/dist/esm/transaction.js +2 -2
- package/dist/esm/transaction.js.map +1 -1
- package/package.json +3 -4
- package/src/abis/0x1.json +499 -0
- package/src/abis/0x3.json +900 -41
- package/src/builtin/0x1.ts +1058 -267
- package/src/builtin/0x2.ts +1141 -1165
- package/src/builtin/0x3.ts +1171 -485
- package/src/codegen/codegen.ts +7 -7
- package/src/codegen/run.ts +1 -1
- package/src/models.ts +1 -1
- package/src/move-coder.ts +60 -28
- package/src/sui-chain-adapter.ts +1 -1
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +11 -11
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +99 -99
- package/src/tests/types/testnet/0xdee9.ts +183 -183
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +313 -316
- package/src/to-internal.ts +7 -7
- package/src/transaction.ts +6 -6
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
getMoveCoder,
|
|
16
16
|
} from "@typemove/sui";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Transaction,
|
|
19
19
|
TransactionArgument,
|
|
20
20
|
TransactionObjectArgument,
|
|
21
|
-
} from "@mysten/sui
|
|
22
|
-
import { SuiClient } from "@mysten/sui
|
|
21
|
+
} from "@mysten/sui/transactions";
|
|
22
|
+
import { SuiClient } from "@mysten/sui/client";
|
|
23
23
|
import {
|
|
24
24
|
transactionArgumentOrObject,
|
|
25
25
|
transactionArgumentOrPure,
|
|
@@ -282,7 +282,7 @@ export namespace clob {
|
|
|
282
282
|
|
|
283
283
|
export namespace builder {
|
|
284
284
|
export function accountBalance<T0 = any, T1 = any>(
|
|
285
|
-
tx:
|
|
285
|
+
tx: Transaction,
|
|
286
286
|
args: [
|
|
287
287
|
string | TransactionObjectArgument | TransactionArgument,
|
|
288
288
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -308,7 +308,7 @@ export namespace clob {
|
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
310
|
export function batchCancelOrder<T0 = any, T1 = any>(
|
|
311
|
-
tx:
|
|
311
|
+
tx: Transaction,
|
|
312
312
|
args: [
|
|
313
313
|
string | TransactionObjectArgument | TransactionArgument,
|
|
314
314
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
@@ -337,7 +337,7 @@ export namespace clob {
|
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
export function cancelAllOrders<T0 = any, T1 = any>(
|
|
340
|
-
tx:
|
|
340
|
+
tx: Transaction,
|
|
341
341
|
args: [
|
|
342
342
|
string | TransactionObjectArgument | TransactionArgument,
|
|
343
343
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -363,7 +363,7 @@ export namespace clob {
|
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
export function cancelOrder<T0 = any, T1 = any>(
|
|
366
|
-
tx:
|
|
366
|
+
tx: Transaction,
|
|
367
367
|
args: [
|
|
368
368
|
string | TransactionObjectArgument | TransactionArgument,
|
|
369
369
|
bigint | TransactionArgument,
|
|
@@ -392,7 +392,7 @@ export namespace clob {
|
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
394
|
export function createAccount(
|
|
395
|
-
tx:
|
|
395
|
+
tx: Transaction,
|
|
396
396
|
args: [],
|
|
397
397
|
): TransactionArgument & [] {
|
|
398
398
|
const _args: any[] = [];
|
|
@@ -404,7 +404,7 @@ export namespace clob {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
export function createPool<T0 = any, T1 = any>(
|
|
407
|
-
tx:
|
|
407
|
+
tx: Transaction,
|
|
408
408
|
args: [
|
|
409
409
|
bigint | TransactionArgument,
|
|
410
410
|
bigint | TransactionArgument,
|
|
@@ -433,7 +433,7 @@ export namespace clob {
|
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
export function depositBase<T0 = any, T1 = any>(
|
|
436
|
-
tx:
|
|
436
|
+
tx: Transaction,
|
|
437
437
|
args: [
|
|
438
438
|
string | TransactionObjectArgument | TransactionArgument,
|
|
439
439
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
@@ -462,7 +462,7 @@ export namespace clob {
|
|
|
462
462
|
});
|
|
463
463
|
}
|
|
464
464
|
export function depositQuote<T0 = any, T1 = any>(
|
|
465
|
-
tx:
|
|
465
|
+
tx: Transaction,
|
|
466
466
|
args: [
|
|
467
467
|
string | TransactionObjectArgument | TransactionArgument,
|
|
468
468
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
@@ -491,7 +491,7 @@ export namespace clob {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
export function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
494
|
-
tx:
|
|
494
|
+
tx: Transaction,
|
|
495
495
|
args: [
|
|
496
496
|
string | TransactionObjectArgument | TransactionArgument,
|
|
497
497
|
bigint | TransactionArgument,
|
|
@@ -527,7 +527,7 @@ export namespace clob {
|
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
529
|
export function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
530
|
-
tx:
|
|
530
|
+
tx: Transaction,
|
|
531
531
|
args: [
|
|
532
532
|
string | TransactionObjectArgument | TransactionArgument,
|
|
533
533
|
bigint | TransactionArgument,
|
|
@@ -563,7 +563,7 @@ export namespace clob {
|
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
565
|
export function getMarketPrice<T0 = any, T1 = any>(
|
|
566
|
-
tx:
|
|
566
|
+
tx: Transaction,
|
|
567
567
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
568
568
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
569
569
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -585,7 +585,7 @@ export namespace clob {
|
|
|
585
585
|
});
|
|
586
586
|
}
|
|
587
587
|
export function getOrderStatus<T0 = any, T1 = any>(
|
|
588
|
-
tx:
|
|
588
|
+
tx: Transaction,
|
|
589
589
|
args: [
|
|
590
590
|
string | TransactionObjectArgument | TransactionArgument,
|
|
591
591
|
bigint | TransactionArgument,
|
|
@@ -614,7 +614,7 @@ export namespace clob {
|
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
616
|
export function listOpenOrders<T0 = any, T1 = any>(
|
|
617
|
-
tx:
|
|
617
|
+
tx: Transaction,
|
|
618
618
|
args: [
|
|
619
619
|
string | TransactionObjectArgument | TransactionArgument,
|
|
620
620
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -640,7 +640,7 @@ export namespace clob {
|
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
642
|
export function placeLimitOrder<T0 = any, T1 = any>(
|
|
643
|
-
tx:
|
|
643
|
+
tx: Transaction,
|
|
644
644
|
args: [
|
|
645
645
|
string | TransactionObjectArgument | TransactionArgument,
|
|
646
646
|
bigint | TransactionArgument,
|
|
@@ -688,7 +688,7 @@ export namespace clob {
|
|
|
688
688
|
});
|
|
689
689
|
}
|
|
690
690
|
export function placeMarketOrder<T0 = any, T1 = any>(
|
|
691
|
-
tx:
|
|
691
|
+
tx: Transaction,
|
|
692
692
|
args: [
|
|
693
693
|
string | TransactionObjectArgument | TransactionArgument,
|
|
694
694
|
bigint | TransactionArgument,
|
|
@@ -730,7 +730,7 @@ export namespace clob {
|
|
|
730
730
|
});
|
|
731
731
|
}
|
|
732
732
|
export function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
733
|
-
tx:
|
|
733
|
+
tx: Transaction,
|
|
734
734
|
args: [
|
|
735
735
|
string | TransactionObjectArgument | TransactionArgument,
|
|
736
736
|
bigint | TransactionArgument,
|
|
@@ -769,7 +769,7 @@ export namespace clob {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
export function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
772
|
-
tx:
|
|
772
|
+
tx: Transaction,
|
|
773
773
|
args: [
|
|
774
774
|
string | TransactionObjectArgument | TransactionArgument,
|
|
775
775
|
bigint | TransactionArgument,
|
|
@@ -805,7 +805,7 @@ export namespace clob {
|
|
|
805
805
|
});
|
|
806
806
|
}
|
|
807
807
|
export function withdrawBase<T0 = any, T1 = any>(
|
|
808
|
-
tx:
|
|
808
|
+
tx: Transaction,
|
|
809
809
|
args: [
|
|
810
810
|
string | TransactionObjectArgument | TransactionArgument,
|
|
811
811
|
bigint | TransactionArgument,
|
|
@@ -834,7 +834,7 @@ export namespace clob {
|
|
|
834
834
|
});
|
|
835
835
|
}
|
|
836
836
|
export function withdrawQuote<T0 = any, T1 = any>(
|
|
837
|
-
tx:
|
|
837
|
+
tx: Transaction,
|
|
838
838
|
args: [
|
|
839
839
|
string | TransactionObjectArgument | TransactionArgument,
|
|
840
840
|
bigint | TransactionArgument,
|
|
@@ -872,7 +872,7 @@ export namespace clob {
|
|
|
872
872
|
],
|
|
873
873
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
874
874
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
875
|
-
const tx = new
|
|
875
|
+
const tx = new Transaction();
|
|
876
876
|
builder.accountBalance(tx, args, typeArguments);
|
|
877
877
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
878
878
|
transactionBlock: tx,
|
|
@@ -892,7 +892,7 @@ export namespace clob {
|
|
|
892
892
|
],
|
|
893
893
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
894
894
|
): Promise<TypedDevInspectResults<[]>> {
|
|
895
|
-
const tx = new
|
|
895
|
+
const tx = new Transaction();
|
|
896
896
|
builder.batchCancelOrder(tx, args, typeArguments);
|
|
897
897
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
898
898
|
transactionBlock: tx,
|
|
@@ -911,7 +911,7 @@ export namespace clob {
|
|
|
911
911
|
],
|
|
912
912
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
913
913
|
): Promise<TypedDevInspectResults<[]>> {
|
|
914
|
-
const tx = new
|
|
914
|
+
const tx = new Transaction();
|
|
915
915
|
builder.cancelAllOrders(tx, args, typeArguments);
|
|
916
916
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
917
917
|
transactionBlock: tx,
|
|
@@ -931,7 +931,7 @@ export namespace clob {
|
|
|
931
931
|
],
|
|
932
932
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
933
933
|
): Promise<TypedDevInspectResults<[]>> {
|
|
934
|
-
const tx = new
|
|
934
|
+
const tx = new Transaction();
|
|
935
935
|
builder.cancelOrder(tx, args, typeArguments);
|
|
936
936
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
937
937
|
transactionBlock: tx,
|
|
@@ -946,7 +946,7 @@ export namespace clob {
|
|
|
946
946
|
client: SuiClient,
|
|
947
947
|
args: [],
|
|
948
948
|
): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
|
|
949
|
-
const tx = new
|
|
949
|
+
const tx = new Transaction();
|
|
950
950
|
builder.createAccount(tx, args);
|
|
951
951
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
952
952
|
transactionBlock: tx,
|
|
@@ -966,7 +966,7 @@ export namespace clob {
|
|
|
966
966
|
],
|
|
967
967
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
968
968
|
): Promise<TypedDevInspectResults<[]>> {
|
|
969
|
-
const tx = new
|
|
969
|
+
const tx = new Transaction();
|
|
970
970
|
builder.createPool(tx, args, typeArguments);
|
|
971
971
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
972
972
|
transactionBlock: tx,
|
|
@@ -986,7 +986,7 @@ export namespace clob {
|
|
|
986
986
|
],
|
|
987
987
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
988
988
|
): Promise<TypedDevInspectResults<[]>> {
|
|
989
|
-
const tx = new
|
|
989
|
+
const tx = new Transaction();
|
|
990
990
|
builder.depositBase(tx, args, typeArguments);
|
|
991
991
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
992
992
|
transactionBlock: tx,
|
|
@@ -1006,7 +1006,7 @@ export namespace clob {
|
|
|
1006
1006
|
],
|
|
1007
1007
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1008
1008
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1009
|
-
const tx = new
|
|
1009
|
+
const tx = new Transaction();
|
|
1010
1010
|
builder.depositQuote(tx, args, typeArguments);
|
|
1011
1011
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1012
1012
|
transactionBlock: tx,
|
|
@@ -1027,7 +1027,7 @@ export namespace clob {
|
|
|
1027
1027
|
],
|
|
1028
1028
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1029
1029
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
1030
|
-
const tx = new
|
|
1030
|
+
const tx = new Transaction();
|
|
1031
1031
|
builder.getLevel2BookStatusAskSide(tx, args, typeArguments);
|
|
1032
1032
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1033
1033
|
transactionBlock: tx,
|
|
@@ -1048,7 +1048,7 @@ export namespace clob {
|
|
|
1048
1048
|
],
|
|
1049
1049
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1050
1050
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
1051
|
-
const tx = new
|
|
1051
|
+
const tx = new Transaction();
|
|
1052
1052
|
builder.getLevel2BookStatusBidSide(tx, args, typeArguments);
|
|
1053
1053
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1054
1054
|
transactionBlock: tx,
|
|
@@ -1064,7 +1064,7 @@ export namespace clob {
|
|
|
1064
1064
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1065
1065
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1066
1066
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
1067
|
-
const tx = new
|
|
1067
|
+
const tx = new Transaction();
|
|
1068
1068
|
builder.getMarketPrice(tx, args, typeArguments);
|
|
1069
1069
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1070
1070
|
transactionBlock: tx,
|
|
@@ -1084,7 +1084,7 @@ export namespace clob {
|
|
|
1084
1084
|
],
|
|
1085
1085
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1086
1086
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1087
|
-
const tx = new
|
|
1087
|
+
const tx = new Transaction();
|
|
1088
1088
|
builder.getOrderStatus(tx, args, typeArguments);
|
|
1089
1089
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1090
1090
|
transactionBlock: tx,
|
|
@@ -1103,7 +1103,7 @@ export namespace clob {
|
|
|
1103
1103
|
],
|
|
1104
1104
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1105
1105
|
): Promise<TypedDevInspectResults<[clob.Order[]]>> {
|
|
1106
|
-
const tx = new
|
|
1106
|
+
const tx = new Transaction();
|
|
1107
1107
|
builder.listOpenOrders(tx, args, typeArguments);
|
|
1108
1108
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1109
1109
|
transactionBlock: tx,
|
|
@@ -1128,7 +1128,7 @@ export namespace clob {
|
|
|
1128
1128
|
],
|
|
1129
1129
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1130
1130
|
): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
|
|
1131
|
-
const tx = new
|
|
1131
|
+
const tx = new Transaction();
|
|
1132
1132
|
builder.placeLimitOrder(tx, args, typeArguments);
|
|
1133
1133
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1134
1134
|
transactionBlock: tx,
|
|
@@ -1153,7 +1153,7 @@ export namespace clob {
|
|
|
1153
1153
|
): Promise<
|
|
1154
1154
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>]>
|
|
1155
1155
|
> {
|
|
1156
|
-
const tx = new
|
|
1156
|
+
const tx = new Transaction();
|
|
1157
1157
|
builder.placeMarketOrder(tx, args, typeArguments);
|
|
1158
1158
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1159
1159
|
transactionBlock: tx,
|
|
@@ -1177,7 +1177,7 @@ export namespace clob {
|
|
|
1177
1177
|
): Promise<
|
|
1178
1178
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]>
|
|
1179
1179
|
> {
|
|
1180
|
-
const tx = new
|
|
1180
|
+
const tx = new Transaction();
|
|
1181
1181
|
builder.swapExactBaseForQuote(tx, args, typeArguments);
|
|
1182
1182
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1183
1183
|
transactionBlock: tx,
|
|
@@ -1200,7 +1200,7 @@ export namespace clob {
|
|
|
1200
1200
|
): Promise<
|
|
1201
1201
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]>
|
|
1202
1202
|
> {
|
|
1203
|
-
const tx = new
|
|
1203
|
+
const tx = new Transaction();
|
|
1204
1204
|
builder.swapExactQuoteForBase(tx, args, typeArguments);
|
|
1205
1205
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1206
1206
|
transactionBlock: tx,
|
|
@@ -1220,7 +1220,7 @@ export namespace clob {
|
|
|
1220
1220
|
],
|
|
1221
1221
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1222
1222
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
1223
|
-
const tx = new
|
|
1223
|
+
const tx = new Transaction();
|
|
1224
1224
|
builder.withdrawBase(tx, args, typeArguments);
|
|
1225
1225
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1226
1226
|
transactionBlock: tx,
|
|
@@ -1240,7 +1240,7 @@ export namespace clob {
|
|
|
1240
1240
|
],
|
|
1241
1241
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1242
1242
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
1243
|
-
const tx = new
|
|
1243
|
+
const tx = new Transaction();
|
|
1244
1244
|
builder.withdrawQuote(tx, args, typeArguments);
|
|
1245
1245
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1246
1246
|
transactionBlock: tx,
|
|
@@ -1505,7 +1505,7 @@ export namespace clob_v2 {
|
|
|
1505
1505
|
|
|
1506
1506
|
export namespace builder {
|
|
1507
1507
|
export function accountBalance<T0 = any, T1 = any>(
|
|
1508
|
-
tx:
|
|
1508
|
+
tx: Transaction,
|
|
1509
1509
|
args: [
|
|
1510
1510
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1511
1511
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -1531,7 +1531,7 @@ export namespace clob_v2 {
|
|
|
1531
1531
|
});
|
|
1532
1532
|
}
|
|
1533
1533
|
export function batchCancelOrder<T0 = any, T1 = any>(
|
|
1534
|
-
tx:
|
|
1534
|
+
tx: Transaction,
|
|
1535
1535
|
args: [
|
|
1536
1536
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1537
1537
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
@@ -1560,7 +1560,7 @@ export namespace clob_v2 {
|
|
|
1560
1560
|
});
|
|
1561
1561
|
}
|
|
1562
1562
|
export function cancelAllOrders<T0 = any, T1 = any>(
|
|
1563
|
-
tx:
|
|
1563
|
+
tx: Transaction,
|
|
1564
1564
|
args: [
|
|
1565
1565
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1566
1566
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -1586,7 +1586,7 @@ export namespace clob_v2 {
|
|
|
1586
1586
|
});
|
|
1587
1587
|
}
|
|
1588
1588
|
export function cancelOrder<T0 = any, T1 = any>(
|
|
1589
|
-
tx:
|
|
1589
|
+
tx: Transaction,
|
|
1590
1590
|
args: [
|
|
1591
1591
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1592
1592
|
bigint | TransactionArgument,
|
|
@@ -1615,7 +1615,7 @@ export namespace clob_v2 {
|
|
|
1615
1615
|
});
|
|
1616
1616
|
}
|
|
1617
1617
|
export function cleanUpExpiredOrders<T0 = any, T1 = any>(
|
|
1618
|
-
tx:
|
|
1618
|
+
tx: Transaction,
|
|
1619
1619
|
args: [
|
|
1620
1620
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1621
1621
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -1651,7 +1651,7 @@ export namespace clob_v2 {
|
|
|
1651
1651
|
});
|
|
1652
1652
|
}
|
|
1653
1653
|
export function createAccount(
|
|
1654
|
-
tx:
|
|
1654
|
+
tx: Transaction,
|
|
1655
1655
|
args: [],
|
|
1656
1656
|
): TransactionArgument & [] {
|
|
1657
1657
|
const _args: any[] = [];
|
|
@@ -1663,7 +1663,7 @@ export namespace clob_v2 {
|
|
|
1663
1663
|
});
|
|
1664
1664
|
}
|
|
1665
1665
|
export function createPool<T0 = any, T1 = any>(
|
|
1666
|
-
tx:
|
|
1666
|
+
tx: Transaction,
|
|
1667
1667
|
args: [
|
|
1668
1668
|
bigint | TransactionArgument,
|
|
1669
1669
|
bigint | TransactionArgument,
|
|
@@ -1692,7 +1692,7 @@ export namespace clob_v2 {
|
|
|
1692
1692
|
});
|
|
1693
1693
|
}
|
|
1694
1694
|
export function depositBase<T0 = any, T1 = any>(
|
|
1695
|
-
tx:
|
|
1695
|
+
tx: Transaction,
|
|
1696
1696
|
args: [
|
|
1697
1697
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1698
1698
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
@@ -1721,7 +1721,7 @@ export namespace clob_v2 {
|
|
|
1721
1721
|
});
|
|
1722
1722
|
}
|
|
1723
1723
|
export function depositQuote<T0 = any, T1 = any>(
|
|
1724
|
-
tx:
|
|
1724
|
+
tx: Transaction,
|
|
1725
1725
|
args: [
|
|
1726
1726
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1727
1727
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
@@ -1750,7 +1750,7 @@ export namespace clob_v2 {
|
|
|
1750
1750
|
});
|
|
1751
1751
|
}
|
|
1752
1752
|
export function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
1753
|
-
tx:
|
|
1753
|
+
tx: Transaction,
|
|
1754
1754
|
args: [
|
|
1755
1755
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1756
1756
|
bigint | TransactionArgument,
|
|
@@ -1786,7 +1786,7 @@ export namespace clob_v2 {
|
|
|
1786
1786
|
});
|
|
1787
1787
|
}
|
|
1788
1788
|
export function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
1789
|
-
tx:
|
|
1789
|
+
tx: Transaction,
|
|
1790
1790
|
args: [
|
|
1791
1791
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1792
1792
|
bigint | TransactionArgument,
|
|
@@ -1822,7 +1822,7 @@ export namespace clob_v2 {
|
|
|
1822
1822
|
});
|
|
1823
1823
|
}
|
|
1824
1824
|
export function getMarketPrice<T0 = any, T1 = any>(
|
|
1825
|
-
tx:
|
|
1825
|
+
tx: Transaction,
|
|
1826
1826
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1827
1827
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1828
1828
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -1844,7 +1844,7 @@ export namespace clob_v2 {
|
|
|
1844
1844
|
});
|
|
1845
1845
|
}
|
|
1846
1846
|
export function getOrderStatus<T0 = any, T1 = any>(
|
|
1847
|
-
tx:
|
|
1847
|
+
tx: Transaction,
|
|
1848
1848
|
args: [
|
|
1849
1849
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1850
1850
|
bigint | TransactionArgument,
|
|
@@ -1873,7 +1873,7 @@ export namespace clob_v2 {
|
|
|
1873
1873
|
});
|
|
1874
1874
|
}
|
|
1875
1875
|
export function listOpenOrders<T0 = any, T1 = any>(
|
|
1876
|
-
tx:
|
|
1876
|
+
tx: Transaction,
|
|
1877
1877
|
args: [
|
|
1878
1878
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1879
1879
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -1899,7 +1899,7 @@ export namespace clob_v2 {
|
|
|
1899
1899
|
});
|
|
1900
1900
|
}
|
|
1901
1901
|
export function placeLimitOrder<T0 = any, T1 = any>(
|
|
1902
|
-
tx:
|
|
1902
|
+
tx: Transaction,
|
|
1903
1903
|
args: [
|
|
1904
1904
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1905
1905
|
bigint | TransactionArgument,
|
|
@@ -1953,7 +1953,7 @@ export namespace clob_v2 {
|
|
|
1953
1953
|
});
|
|
1954
1954
|
}
|
|
1955
1955
|
export function placeMarketOrder<T0 = any, T1 = any>(
|
|
1956
|
-
tx:
|
|
1956
|
+
tx: Transaction,
|
|
1957
1957
|
args: [
|
|
1958
1958
|
string | TransactionObjectArgument | TransactionArgument,
|
|
1959
1959
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -2001,7 +2001,7 @@ export namespace clob_v2 {
|
|
|
2001
2001
|
});
|
|
2002
2002
|
}
|
|
2003
2003
|
export function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
2004
|
-
tx:
|
|
2004
|
+
tx: Transaction,
|
|
2005
2005
|
args: [
|
|
2006
2006
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2007
2007
|
bigint | TransactionArgument,
|
|
@@ -2046,7 +2046,7 @@ export namespace clob_v2 {
|
|
|
2046
2046
|
});
|
|
2047
2047
|
}
|
|
2048
2048
|
export function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
2049
|
-
tx:
|
|
2049
|
+
tx: Transaction,
|
|
2050
2050
|
args: [
|
|
2051
2051
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2052
2052
|
bigint | TransactionArgument,
|
|
@@ -2088,7 +2088,7 @@ export namespace clob_v2 {
|
|
|
2088
2088
|
});
|
|
2089
2089
|
}
|
|
2090
2090
|
export function withdrawBase<T0 = any, T1 = any>(
|
|
2091
|
-
tx:
|
|
2091
|
+
tx: Transaction,
|
|
2092
2092
|
args: [
|
|
2093
2093
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2094
2094
|
bigint | TransactionArgument,
|
|
@@ -2117,7 +2117,7 @@ export namespace clob_v2 {
|
|
|
2117
2117
|
});
|
|
2118
2118
|
}
|
|
2119
2119
|
export function withdrawQuote<T0 = any, T1 = any>(
|
|
2120
|
-
tx:
|
|
2120
|
+
tx: Transaction,
|
|
2121
2121
|
args: [
|
|
2122
2122
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2123
2123
|
bigint | TransactionArgument,
|
|
@@ -2155,7 +2155,7 @@ export namespace clob_v2 {
|
|
|
2155
2155
|
],
|
|
2156
2156
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2157
2157
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
2158
|
-
const tx = new
|
|
2158
|
+
const tx = new Transaction();
|
|
2159
2159
|
builder.accountBalance(tx, args, typeArguments);
|
|
2160
2160
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2161
2161
|
transactionBlock: tx,
|
|
@@ -2175,7 +2175,7 @@ export namespace clob_v2 {
|
|
|
2175
2175
|
],
|
|
2176
2176
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2177
2177
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2178
|
-
const tx = new
|
|
2178
|
+
const tx = new Transaction();
|
|
2179
2179
|
builder.batchCancelOrder(tx, args, typeArguments);
|
|
2180
2180
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2181
2181
|
transactionBlock: tx,
|
|
@@ -2194,7 +2194,7 @@ export namespace clob_v2 {
|
|
|
2194
2194
|
],
|
|
2195
2195
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2196
2196
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2197
|
-
const tx = new
|
|
2197
|
+
const tx = new Transaction();
|
|
2198
2198
|
builder.cancelAllOrders(tx, args, typeArguments);
|
|
2199
2199
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2200
2200
|
transactionBlock: tx,
|
|
@@ -2214,7 +2214,7 @@ export namespace clob_v2 {
|
|
|
2214
2214
|
],
|
|
2215
2215
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2216
2216
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2217
|
-
const tx = new
|
|
2217
|
+
const tx = new Transaction();
|
|
2218
2218
|
builder.cancelOrder(tx, args, typeArguments);
|
|
2219
2219
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2220
2220
|
transactionBlock: tx,
|
|
@@ -2235,7 +2235,7 @@ export namespace clob_v2 {
|
|
|
2235
2235
|
],
|
|
2236
2236
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2237
2237
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2238
|
-
const tx = new
|
|
2238
|
+
const tx = new Transaction();
|
|
2239
2239
|
builder.cleanUpExpiredOrders(tx, args, typeArguments);
|
|
2240
2240
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2241
2241
|
transactionBlock: tx,
|
|
@@ -2250,7 +2250,7 @@ export namespace clob_v2 {
|
|
|
2250
2250
|
client: SuiClient,
|
|
2251
2251
|
args: [],
|
|
2252
2252
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
2253
|
-
const tx = new
|
|
2253
|
+
const tx = new Transaction();
|
|
2254
2254
|
builder.createAccount(tx, args);
|
|
2255
2255
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2256
2256
|
transactionBlock: tx,
|
|
@@ -2270,7 +2270,7 @@ export namespace clob_v2 {
|
|
|
2270
2270
|
],
|
|
2271
2271
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2272
2272
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2273
|
-
const tx = new
|
|
2273
|
+
const tx = new Transaction();
|
|
2274
2274
|
builder.createPool(tx, args, typeArguments);
|
|
2275
2275
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2276
2276
|
transactionBlock: tx,
|
|
@@ -2290,7 +2290,7 @@ export namespace clob_v2 {
|
|
|
2290
2290
|
],
|
|
2291
2291
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2292
2292
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2293
|
-
const tx = new
|
|
2293
|
+
const tx = new Transaction();
|
|
2294
2294
|
builder.depositBase(tx, args, typeArguments);
|
|
2295
2295
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2296
2296
|
transactionBlock: tx,
|
|
@@ -2310,7 +2310,7 @@ export namespace clob_v2 {
|
|
|
2310
2310
|
],
|
|
2311
2311
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2312
2312
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2313
|
-
const tx = new
|
|
2313
|
+
const tx = new Transaction();
|
|
2314
2314
|
builder.depositQuote(tx, args, typeArguments);
|
|
2315
2315
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2316
2316
|
transactionBlock: tx,
|
|
@@ -2331,7 +2331,7 @@ export namespace clob_v2 {
|
|
|
2331
2331
|
],
|
|
2332
2332
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2333
2333
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
2334
|
-
const tx = new
|
|
2334
|
+
const tx = new Transaction();
|
|
2335
2335
|
builder.getLevel2BookStatusAskSide(tx, args, typeArguments);
|
|
2336
2336
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2337
2337
|
transactionBlock: tx,
|
|
@@ -2352,7 +2352,7 @@ export namespace clob_v2 {
|
|
|
2352
2352
|
],
|
|
2353
2353
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2354
2354
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
2355
|
-
const tx = new
|
|
2355
|
+
const tx = new Transaction();
|
|
2356
2356
|
builder.getLevel2BookStatusBidSide(tx, args, typeArguments);
|
|
2357
2357
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2358
2358
|
transactionBlock: tx,
|
|
@@ -2372,7 +2372,7 @@ export namespace clob_v2 {
|
|
|
2372
2372
|
[_0x1.option.Option<bigint>, _0x1.option.Option<bigint>]
|
|
2373
2373
|
>
|
|
2374
2374
|
> {
|
|
2375
|
-
const tx = new
|
|
2375
|
+
const tx = new Transaction();
|
|
2376
2376
|
builder.getMarketPrice(tx, args, typeArguments);
|
|
2377
2377
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2378
2378
|
transactionBlock: tx,
|
|
@@ -2392,7 +2392,7 @@ export namespace clob_v2 {
|
|
|
2392
2392
|
],
|
|
2393
2393
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2394
2394
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2395
|
-
const tx = new
|
|
2395
|
+
const tx = new Transaction();
|
|
2396
2396
|
builder.getOrderStatus(tx, args, typeArguments);
|
|
2397
2397
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2398
2398
|
transactionBlock: tx,
|
|
@@ -2411,7 +2411,7 @@ export namespace clob_v2 {
|
|
|
2411
2411
|
],
|
|
2412
2412
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2413
2413
|
): Promise<TypedDevInspectResults<[clob_v2.Order[]]>> {
|
|
2414
|
-
const tx = new
|
|
2414
|
+
const tx = new Transaction();
|
|
2415
2415
|
builder.listOpenOrders(tx, args, typeArguments);
|
|
2416
2416
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2417
2417
|
transactionBlock: tx,
|
|
@@ -2438,7 +2438,7 @@ export namespace clob_v2 {
|
|
|
2438
2438
|
],
|
|
2439
2439
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2440
2440
|
): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
|
|
2441
|
-
const tx = new
|
|
2441
|
+
const tx = new Transaction();
|
|
2442
2442
|
builder.placeLimitOrder(tx, args, typeArguments);
|
|
2443
2443
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2444
2444
|
transactionBlock: tx,
|
|
@@ -2465,7 +2465,7 @@ export namespace clob_v2 {
|
|
|
2465
2465
|
): Promise<
|
|
2466
2466
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>]>
|
|
2467
2467
|
> {
|
|
2468
|
-
const tx = new
|
|
2468
|
+
const tx = new Transaction();
|
|
2469
2469
|
builder.placeMarketOrder(tx, args, typeArguments);
|
|
2470
2470
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2471
2471
|
transactionBlock: tx,
|
|
@@ -2491,7 +2491,7 @@ export namespace clob_v2 {
|
|
|
2491
2491
|
): Promise<
|
|
2492
2492
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]>
|
|
2493
2493
|
> {
|
|
2494
|
-
const tx = new
|
|
2494
|
+
const tx = new Transaction();
|
|
2495
2495
|
builder.swapExactBaseForQuote(tx, args, typeArguments);
|
|
2496
2496
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2497
2497
|
transactionBlock: tx,
|
|
@@ -2516,7 +2516,7 @@ export namespace clob_v2 {
|
|
|
2516
2516
|
): Promise<
|
|
2517
2517
|
TypedDevInspectResults<[_0x2.coin.Coin<T0>, _0x2.coin.Coin<T1>, bigint]>
|
|
2518
2518
|
> {
|
|
2519
|
-
const tx = new
|
|
2519
|
+
const tx = new Transaction();
|
|
2520
2520
|
builder.swapExactQuoteForBase(tx, args, typeArguments);
|
|
2521
2521
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2522
2522
|
transactionBlock: tx,
|
|
@@ -2536,7 +2536,7 @@ export namespace clob_v2 {
|
|
|
2536
2536
|
],
|
|
2537
2537
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2538
2538
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
2539
|
-
const tx = new
|
|
2539
|
+
const tx = new Transaction();
|
|
2540
2540
|
builder.withdrawBase(tx, args, typeArguments);
|
|
2541
2541
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2542
2542
|
transactionBlock: tx,
|
|
@@ -2556,7 +2556,7 @@ export namespace clob_v2 {
|
|
|
2556
2556
|
],
|
|
2557
2557
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2558
2558
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
2559
|
-
const tx = new
|
|
2559
|
+
const tx = new Transaction();
|
|
2560
2560
|
builder.withdrawQuote(tx, args, typeArguments);
|
|
2561
2561
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2562
2562
|
transactionBlock: tx,
|
|
@@ -2630,7 +2630,7 @@ export namespace critbit {
|
|
|
2630
2630
|
|
|
2631
2631
|
export namespace builder {
|
|
2632
2632
|
export function borrowLeafByIndex<T0 = any>(
|
|
2633
|
-
tx:
|
|
2633
|
+
tx: Transaction,
|
|
2634
2634
|
args: [
|
|
2635
2635
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2636
2636
|
bigint | TransactionArgument,
|
|
@@ -2653,7 +2653,7 @@ export namespace critbit {
|
|
|
2653
2653
|
});
|
|
2654
2654
|
}
|
|
2655
2655
|
export function borrowLeafByKey<T0 = any>(
|
|
2656
|
-
tx:
|
|
2656
|
+
tx: Transaction,
|
|
2657
2657
|
args: [
|
|
2658
2658
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2659
2659
|
bigint | TransactionArgument,
|
|
@@ -2676,7 +2676,7 @@ export namespace critbit {
|
|
|
2676
2676
|
});
|
|
2677
2677
|
}
|
|
2678
2678
|
export function borrowMutLeafByIndex<T0 = any>(
|
|
2679
|
-
tx:
|
|
2679
|
+
tx: Transaction,
|
|
2680
2680
|
args: [
|
|
2681
2681
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2682
2682
|
bigint | TransactionArgument,
|
|
@@ -2699,7 +2699,7 @@ export namespace critbit {
|
|
|
2699
2699
|
});
|
|
2700
2700
|
}
|
|
2701
2701
|
export function destroyEmpty<T0 = any>(
|
|
2702
|
-
tx:
|
|
2702
|
+
tx: Transaction,
|
|
2703
2703
|
args: [critbit.CritbitTree<T0> | TransactionArgument],
|
|
2704
2704
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2705
2705
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -2718,7 +2718,7 @@ export namespace critbit {
|
|
|
2718
2718
|
});
|
|
2719
2719
|
}
|
|
2720
2720
|
export function drop<T0 = any>(
|
|
2721
|
-
tx:
|
|
2721
|
+
tx: Transaction,
|
|
2722
2722
|
args: [critbit.CritbitTree<T0> | TransactionArgument],
|
|
2723
2723
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2724
2724
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -2737,7 +2737,7 @@ export namespace critbit {
|
|
|
2737
2737
|
});
|
|
2738
2738
|
}
|
|
2739
2739
|
export function findClosestKey<T0 = any>(
|
|
2740
|
-
tx:
|
|
2740
|
+
tx: Transaction,
|
|
2741
2741
|
args: [
|
|
2742
2742
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2743
2743
|
bigint | TransactionArgument,
|
|
@@ -2760,7 +2760,7 @@ export namespace critbit {
|
|
|
2760
2760
|
});
|
|
2761
2761
|
}
|
|
2762
2762
|
export function findLeaf<T0 = any>(
|
|
2763
|
-
tx:
|
|
2763
|
+
tx: Transaction,
|
|
2764
2764
|
args: [
|
|
2765
2765
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2766
2766
|
bigint | TransactionArgument,
|
|
@@ -2783,7 +2783,7 @@ export namespace critbit {
|
|
|
2783
2783
|
});
|
|
2784
2784
|
}
|
|
2785
2785
|
export function insertLeaf<T0 = any>(
|
|
2786
|
-
tx:
|
|
2786
|
+
tx: Transaction,
|
|
2787
2787
|
args: [
|
|
2788
2788
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2789
2789
|
bigint | TransactionArgument,
|
|
@@ -2809,7 +2809,7 @@ export namespace critbit {
|
|
|
2809
2809
|
});
|
|
2810
2810
|
}
|
|
2811
2811
|
export function isEmpty<T0 = any>(
|
|
2812
|
-
tx:
|
|
2812
|
+
tx: Transaction,
|
|
2813
2813
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2814
2814
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2815
2815
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -2828,7 +2828,7 @@ export namespace critbit {
|
|
|
2828
2828
|
});
|
|
2829
2829
|
}
|
|
2830
2830
|
export function maxLeaf<T0 = any>(
|
|
2831
|
-
tx:
|
|
2831
|
+
tx: Transaction,
|
|
2832
2832
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2833
2833
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2834
2834
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -2847,7 +2847,7 @@ export namespace critbit {
|
|
|
2847
2847
|
});
|
|
2848
2848
|
}
|
|
2849
2849
|
export function minLeaf<T0 = any>(
|
|
2850
|
-
tx:
|
|
2850
|
+
tx: Transaction,
|
|
2851
2851
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2852
2852
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2853
2853
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -2866,7 +2866,7 @@ export namespace critbit {
|
|
|
2866
2866
|
});
|
|
2867
2867
|
}
|
|
2868
2868
|
export function new_<T0 = any>(
|
|
2869
|
-
tx:
|
|
2869
|
+
tx: Transaction,
|
|
2870
2870
|
args: [],
|
|
2871
2871
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2872
2872
|
): TransactionArgument & [] {
|
|
@@ -2884,7 +2884,7 @@ export namespace critbit {
|
|
|
2884
2884
|
});
|
|
2885
2885
|
}
|
|
2886
2886
|
export function nextLeaf<T0 = any>(
|
|
2887
|
-
tx:
|
|
2887
|
+
tx: Transaction,
|
|
2888
2888
|
args: [
|
|
2889
2889
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2890
2890
|
bigint | TransactionArgument,
|
|
@@ -2907,7 +2907,7 @@ export namespace critbit {
|
|
|
2907
2907
|
});
|
|
2908
2908
|
}
|
|
2909
2909
|
export function previousLeaf<T0 = any>(
|
|
2910
|
-
tx:
|
|
2910
|
+
tx: Transaction,
|
|
2911
2911
|
args: [
|
|
2912
2912
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2913
2913
|
bigint | TransactionArgument,
|
|
@@ -2930,7 +2930,7 @@ export namespace critbit {
|
|
|
2930
2930
|
});
|
|
2931
2931
|
}
|
|
2932
2932
|
export function removeLeafByIndex<T0 = any>(
|
|
2933
|
-
tx:
|
|
2933
|
+
tx: Transaction,
|
|
2934
2934
|
args: [
|
|
2935
2935
|
string | TransactionObjectArgument | TransactionArgument,
|
|
2936
2936
|
bigint | TransactionArgument,
|
|
@@ -2953,7 +2953,7 @@ export namespace critbit {
|
|
|
2953
2953
|
});
|
|
2954
2954
|
}
|
|
2955
2955
|
export function size<T0 = any>(
|
|
2956
|
-
tx:
|
|
2956
|
+
tx: Transaction,
|
|
2957
2957
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2958
2958
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2959
2959
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -2981,7 +2981,7 @@ export namespace critbit {
|
|
|
2981
2981
|
],
|
|
2982
2982
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
2983
2983
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2984
|
-
const tx = new
|
|
2984
|
+
const tx = new Transaction();
|
|
2985
2985
|
builder.borrowLeafByIndex(tx, args, typeArguments);
|
|
2986
2986
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2987
2987
|
transactionBlock: tx,
|
|
@@ -3000,7 +3000,7 @@ export namespace critbit {
|
|
|
3000
3000
|
],
|
|
3001
3001
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3002
3002
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3003
|
-
const tx = new
|
|
3003
|
+
const tx = new Transaction();
|
|
3004
3004
|
builder.borrowLeafByKey(tx, args, typeArguments);
|
|
3005
3005
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3006
3006
|
transactionBlock: tx,
|
|
@@ -3019,7 +3019,7 @@ export namespace critbit {
|
|
|
3019
3019
|
],
|
|
3020
3020
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3021
3021
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3022
|
-
const tx = new
|
|
3022
|
+
const tx = new Transaction();
|
|
3023
3023
|
builder.borrowMutLeafByIndex(tx, args, typeArguments);
|
|
3024
3024
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3025
3025
|
transactionBlock: tx,
|
|
@@ -3035,7 +3035,7 @@ export namespace critbit {
|
|
|
3035
3035
|
args: [critbit.CritbitTree<T0> | TransactionArgument],
|
|
3036
3036
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3037
3037
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3038
|
-
const tx = new
|
|
3038
|
+
const tx = new Transaction();
|
|
3039
3039
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
3040
3040
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3041
3041
|
transactionBlock: tx,
|
|
@@ -3051,7 +3051,7 @@ export namespace critbit {
|
|
|
3051
3051
|
args: [critbit.CritbitTree<T0> | TransactionArgument],
|
|
3052
3052
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3053
3053
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3054
|
-
const tx = new
|
|
3054
|
+
const tx = new Transaction();
|
|
3055
3055
|
builder.drop(tx, args, typeArguments);
|
|
3056
3056
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3057
3057
|
transactionBlock: tx,
|
|
@@ -3070,7 +3070,7 @@ export namespace critbit {
|
|
|
3070
3070
|
],
|
|
3071
3071
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3072
3072
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3073
|
-
const tx = new
|
|
3073
|
+
const tx = new Transaction();
|
|
3074
3074
|
builder.findClosestKey(tx, args, typeArguments);
|
|
3075
3075
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3076
3076
|
transactionBlock: tx,
|
|
@@ -3089,7 +3089,7 @@ export namespace critbit {
|
|
|
3089
3089
|
],
|
|
3090
3090
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3091
3091
|
): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
|
|
3092
|
-
const tx = new
|
|
3092
|
+
const tx = new Transaction();
|
|
3093
3093
|
builder.findLeaf(tx, args, typeArguments);
|
|
3094
3094
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3095
3095
|
transactionBlock: tx,
|
|
@@ -3109,7 +3109,7 @@ export namespace critbit {
|
|
|
3109
3109
|
],
|
|
3110
3110
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3111
3111
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3112
|
-
const tx = new
|
|
3112
|
+
const tx = new Transaction();
|
|
3113
3113
|
builder.insertLeaf(tx, args, typeArguments);
|
|
3114
3114
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3115
3115
|
transactionBlock: tx,
|
|
@@ -3125,7 +3125,7 @@ export namespace critbit {
|
|
|
3125
3125
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
3126
3126
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3127
3127
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
3128
|
-
const tx = new
|
|
3128
|
+
const tx = new Transaction();
|
|
3129
3129
|
builder.isEmpty(tx, args, typeArguments);
|
|
3130
3130
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3131
3131
|
transactionBlock: tx,
|
|
@@ -3141,7 +3141,7 @@ export namespace critbit {
|
|
|
3141
3141
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
3142
3142
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3143
3143
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3144
|
-
const tx = new
|
|
3144
|
+
const tx = new Transaction();
|
|
3145
3145
|
builder.maxLeaf(tx, args, typeArguments);
|
|
3146
3146
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3147
3147
|
transactionBlock: tx,
|
|
@@ -3157,7 +3157,7 @@ export namespace critbit {
|
|
|
3157
3157
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
3158
3158
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3159
3159
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3160
|
-
const tx = new
|
|
3160
|
+
const tx = new Transaction();
|
|
3161
3161
|
builder.minLeaf(tx, args, typeArguments);
|
|
3162
3162
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3163
3163
|
transactionBlock: tx,
|
|
@@ -3173,7 +3173,7 @@ export namespace critbit {
|
|
|
3173
3173
|
args: [],
|
|
3174
3174
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3175
3175
|
): Promise<TypedDevInspectResults<[critbit.CritbitTree<T0>]>> {
|
|
3176
|
-
const tx = new
|
|
3176
|
+
const tx = new Transaction();
|
|
3177
3177
|
builder.new_(tx, args, typeArguments);
|
|
3178
3178
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3179
3179
|
transactionBlock: tx,
|
|
@@ -3192,7 +3192,7 @@ export namespace critbit {
|
|
|
3192
3192
|
],
|
|
3193
3193
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3194
3194
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3195
|
-
const tx = new
|
|
3195
|
+
const tx = new Transaction();
|
|
3196
3196
|
builder.nextLeaf(tx, args, typeArguments);
|
|
3197
3197
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3198
3198
|
transactionBlock: tx,
|
|
@@ -3211,7 +3211,7 @@ export namespace critbit {
|
|
|
3211
3211
|
],
|
|
3212
3212
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3213
3213
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3214
|
-
const tx = new
|
|
3214
|
+
const tx = new Transaction();
|
|
3215
3215
|
builder.previousLeaf(tx, args, typeArguments);
|
|
3216
3216
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3217
3217
|
transactionBlock: tx,
|
|
@@ -3230,7 +3230,7 @@ export namespace critbit {
|
|
|
3230
3230
|
],
|
|
3231
3231
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3232
3232
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
3233
|
-
const tx = new
|
|
3233
|
+
const tx = new Transaction();
|
|
3234
3234
|
builder.removeLeafByIndex(tx, args, typeArguments);
|
|
3235
3235
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3236
3236
|
transactionBlock: tx,
|
|
@@ -3246,7 +3246,7 @@ export namespace critbit {
|
|
|
3246
3246
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
3247
3247
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3248
3248
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3249
|
-
const tx = new
|
|
3249
|
+
const tx = new Transaction();
|
|
3250
3250
|
builder.size(tx, args, typeArguments);
|
|
3251
3251
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3252
3252
|
transactionBlock: tx,
|
|
@@ -3311,7 +3311,7 @@ export namespace custodian {
|
|
|
3311
3311
|
|
|
3312
3312
|
export namespace builder {
|
|
3313
3313
|
export function accountAvailableBalance<T0 = any>(
|
|
3314
|
-
tx:
|
|
3314
|
+
tx: Transaction,
|
|
3315
3315
|
args: [
|
|
3316
3316
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3317
3317
|
_0x2.object_.ID | TransactionArgument,
|
|
@@ -3334,7 +3334,7 @@ export namespace custodian {
|
|
|
3334
3334
|
});
|
|
3335
3335
|
}
|
|
3336
3336
|
export function accountBalance<T0 = any>(
|
|
3337
|
-
tx:
|
|
3337
|
+
tx: Transaction,
|
|
3338
3338
|
args: [
|
|
3339
3339
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3340
3340
|
_0x2.object_.ID | TransactionArgument,
|
|
@@ -3357,7 +3357,7 @@ export namespace custodian {
|
|
|
3357
3357
|
});
|
|
3358
3358
|
}
|
|
3359
3359
|
export function accountLockedBalance<T0 = any>(
|
|
3360
|
-
tx:
|
|
3360
|
+
tx: Transaction,
|
|
3361
3361
|
args: [
|
|
3362
3362
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3363
3363
|
_0x2.object_.ID | TransactionArgument,
|
|
@@ -3380,7 +3380,7 @@ export namespace custodian {
|
|
|
3380
3380
|
});
|
|
3381
3381
|
}
|
|
3382
3382
|
export function decreaseUserAvailableBalance<T0 = any>(
|
|
3383
|
-
tx:
|
|
3383
|
+
tx: Transaction,
|
|
3384
3384
|
args: [
|
|
3385
3385
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3386
3386
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -3406,7 +3406,7 @@ export namespace custodian {
|
|
|
3406
3406
|
});
|
|
3407
3407
|
}
|
|
3408
3408
|
export function decreaseUserLockedBalance<T0 = any>(
|
|
3409
|
-
tx:
|
|
3409
|
+
tx: Transaction,
|
|
3410
3410
|
args: [
|
|
3411
3411
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3412
3412
|
_0x2.object_.ID | TransactionArgument,
|
|
@@ -3432,7 +3432,7 @@ export namespace custodian {
|
|
|
3432
3432
|
});
|
|
3433
3433
|
}
|
|
3434
3434
|
export function increaseUserAvailableBalance<T0 = any>(
|
|
3435
|
-
tx:
|
|
3435
|
+
tx: Transaction,
|
|
3436
3436
|
args: [
|
|
3437
3437
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3438
3438
|
_0x2.object_.ID | TransactionArgument,
|
|
@@ -3458,7 +3458,7 @@ export namespace custodian {
|
|
|
3458
3458
|
});
|
|
3459
3459
|
}
|
|
3460
3460
|
export function increaseUserLockedBalance<T0 = any>(
|
|
3461
|
-
tx:
|
|
3461
|
+
tx: Transaction,
|
|
3462
3462
|
args: [
|
|
3463
3463
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3464
3464
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -3484,7 +3484,7 @@ export namespace custodian {
|
|
|
3484
3484
|
});
|
|
3485
3485
|
}
|
|
3486
3486
|
export function lockBalance<T0 = any>(
|
|
3487
|
-
tx:
|
|
3487
|
+
tx: Transaction,
|
|
3488
3488
|
args: [
|
|
3489
3489
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3490
3490
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -3510,7 +3510,7 @@ export namespace custodian {
|
|
|
3510
3510
|
});
|
|
3511
3511
|
}
|
|
3512
3512
|
export function mintAccountCap(
|
|
3513
|
-
tx:
|
|
3513
|
+
tx: Transaction,
|
|
3514
3514
|
args: [],
|
|
3515
3515
|
): TransactionArgument & [] {
|
|
3516
3516
|
const _args: any[] = [];
|
|
@@ -3522,7 +3522,7 @@ export namespace custodian {
|
|
|
3522
3522
|
});
|
|
3523
3523
|
}
|
|
3524
3524
|
export function new_<T0 = any>(
|
|
3525
|
-
tx:
|
|
3525
|
+
tx: Transaction,
|
|
3526
3526
|
args: [],
|
|
3527
3527
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3528
3528
|
): TransactionArgument & [] {
|
|
@@ -3540,7 +3540,7 @@ export namespace custodian {
|
|
|
3540
3540
|
});
|
|
3541
3541
|
}
|
|
3542
3542
|
export function unlockBalance<T0 = any>(
|
|
3543
|
-
tx:
|
|
3543
|
+
tx: Transaction,
|
|
3544
3544
|
args: [
|
|
3545
3545
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3546
3546
|
_0x2.object_.ID | TransactionArgument,
|
|
@@ -3566,7 +3566,7 @@ export namespace custodian {
|
|
|
3566
3566
|
});
|
|
3567
3567
|
}
|
|
3568
3568
|
export function withdrawAsset<T0 = any>(
|
|
3569
|
-
tx:
|
|
3569
|
+
tx: Transaction,
|
|
3570
3570
|
args: [
|
|
3571
3571
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3572
3572
|
bigint | TransactionArgument,
|
|
@@ -3601,7 +3601,7 @@ export namespace custodian {
|
|
|
3601
3601
|
],
|
|
3602
3602
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3603
3603
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3604
|
-
const tx = new
|
|
3604
|
+
const tx = new Transaction();
|
|
3605
3605
|
builder.accountAvailableBalance(tx, args, typeArguments);
|
|
3606
3606
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3607
3607
|
transactionBlock: tx,
|
|
@@ -3620,7 +3620,7 @@ export namespace custodian {
|
|
|
3620
3620
|
],
|
|
3621
3621
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3622
3622
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
3623
|
-
const tx = new
|
|
3623
|
+
const tx = new Transaction();
|
|
3624
3624
|
builder.accountBalance(tx, args, typeArguments);
|
|
3625
3625
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3626
3626
|
transactionBlock: tx,
|
|
@@ -3639,7 +3639,7 @@ export namespace custodian {
|
|
|
3639
3639
|
],
|
|
3640
3640
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3641
3641
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3642
|
-
const tx = new
|
|
3642
|
+
const tx = new Transaction();
|
|
3643
3643
|
builder.accountLockedBalance(tx, args, typeArguments);
|
|
3644
3644
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3645
3645
|
transactionBlock: tx,
|
|
@@ -3659,7 +3659,7 @@ export namespace custodian {
|
|
|
3659
3659
|
],
|
|
3660
3660
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3661
3661
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
3662
|
-
const tx = new
|
|
3662
|
+
const tx = new Transaction();
|
|
3663
3663
|
builder.decreaseUserAvailableBalance(tx, args, typeArguments);
|
|
3664
3664
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3665
3665
|
transactionBlock: tx,
|
|
@@ -3679,7 +3679,7 @@ export namespace custodian {
|
|
|
3679
3679
|
],
|
|
3680
3680
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3681
3681
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
3682
|
-
const tx = new
|
|
3682
|
+
const tx = new Transaction();
|
|
3683
3683
|
builder.decreaseUserLockedBalance(tx, args, typeArguments);
|
|
3684
3684
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3685
3685
|
transactionBlock: tx,
|
|
@@ -3699,7 +3699,7 @@ export namespace custodian {
|
|
|
3699
3699
|
],
|
|
3700
3700
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3701
3701
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3702
|
-
const tx = new
|
|
3702
|
+
const tx = new Transaction();
|
|
3703
3703
|
builder.increaseUserAvailableBalance(tx, args, typeArguments);
|
|
3704
3704
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3705
3705
|
transactionBlock: tx,
|
|
@@ -3719,7 +3719,7 @@ export namespace custodian {
|
|
|
3719
3719
|
],
|
|
3720
3720
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3721
3721
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3722
|
-
const tx = new
|
|
3722
|
+
const tx = new Transaction();
|
|
3723
3723
|
builder.increaseUserLockedBalance(tx, args, typeArguments);
|
|
3724
3724
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3725
3725
|
transactionBlock: tx,
|
|
@@ -3739,7 +3739,7 @@ export namespace custodian {
|
|
|
3739
3739
|
],
|
|
3740
3740
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3741
3741
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3742
|
-
const tx = new
|
|
3742
|
+
const tx = new Transaction();
|
|
3743
3743
|
builder.lockBalance(tx, args, typeArguments);
|
|
3744
3744
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3745
3745
|
transactionBlock: tx,
|
|
@@ -3754,7 +3754,7 @@ export namespace custodian {
|
|
|
3754
3754
|
client: SuiClient,
|
|
3755
3755
|
args: [],
|
|
3756
3756
|
): Promise<TypedDevInspectResults<[custodian.AccountCap]>> {
|
|
3757
|
-
const tx = new
|
|
3757
|
+
const tx = new Transaction();
|
|
3758
3758
|
builder.mintAccountCap(tx, args);
|
|
3759
3759
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3760
3760
|
transactionBlock: tx,
|
|
@@ -3770,7 +3770,7 @@ export namespace custodian {
|
|
|
3770
3770
|
args: [],
|
|
3771
3771
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3772
3772
|
): Promise<TypedDevInspectResults<[custodian.Custodian<T0>]>> {
|
|
3773
|
-
const tx = new
|
|
3773
|
+
const tx = new Transaction();
|
|
3774
3774
|
builder.new_(tx, args, typeArguments);
|
|
3775
3775
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3776
3776
|
transactionBlock: tx,
|
|
@@ -3790,7 +3790,7 @@ export namespace custodian {
|
|
|
3790
3790
|
],
|
|
3791
3791
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3792
3792
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3793
|
-
const tx = new
|
|
3793
|
+
const tx = new Transaction();
|
|
3794
3794
|
builder.unlockBalance(tx, args, typeArguments);
|
|
3795
3795
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3796
3796
|
transactionBlock: tx,
|
|
@@ -3810,7 +3810,7 @@ export namespace custodian {
|
|
|
3810
3810
|
],
|
|
3811
3811
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3812
3812
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
3813
|
-
const tx = new
|
|
3813
|
+
const tx = new Transaction();
|
|
3814
3814
|
builder.withdrawAsset(tx, args, typeArguments);
|
|
3815
3815
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3816
3816
|
transactionBlock: tx,
|
|
@@ -3876,7 +3876,7 @@ export namespace custodian_v2 {
|
|
|
3876
3876
|
|
|
3877
3877
|
export namespace builder {
|
|
3878
3878
|
export function accountAvailableBalance<T0 = any>(
|
|
3879
|
-
tx:
|
|
3879
|
+
tx: Transaction,
|
|
3880
3880
|
args: [
|
|
3881
3881
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3882
3882
|
string | TransactionArgument,
|
|
@@ -3899,7 +3899,7 @@ export namespace custodian_v2 {
|
|
|
3899
3899
|
});
|
|
3900
3900
|
}
|
|
3901
3901
|
export function accountBalance<T0 = any>(
|
|
3902
|
-
tx:
|
|
3902
|
+
tx: Transaction,
|
|
3903
3903
|
args: [
|
|
3904
3904
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3905
3905
|
string | TransactionArgument,
|
|
@@ -3922,7 +3922,7 @@ export namespace custodian_v2 {
|
|
|
3922
3922
|
});
|
|
3923
3923
|
}
|
|
3924
3924
|
export function accountLockedBalance<T0 = any>(
|
|
3925
|
-
tx:
|
|
3925
|
+
tx: Transaction,
|
|
3926
3926
|
args: [
|
|
3927
3927
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3928
3928
|
string | TransactionArgument,
|
|
@@ -3945,7 +3945,7 @@ export namespace custodian_v2 {
|
|
|
3945
3945
|
});
|
|
3946
3946
|
}
|
|
3947
3947
|
export function accountOwner(
|
|
3948
|
-
tx:
|
|
3948
|
+
tx: Transaction,
|
|
3949
3949
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
3950
3950
|
): TransactionArgument & [TransactionArgument] {
|
|
3951
3951
|
const _args: any[] = [];
|
|
@@ -3958,7 +3958,7 @@ export namespace custodian_v2 {
|
|
|
3958
3958
|
});
|
|
3959
3959
|
}
|
|
3960
3960
|
export function createChildAccountCap(
|
|
3961
|
-
tx:
|
|
3961
|
+
tx: Transaction,
|
|
3962
3962
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
3963
3963
|
): TransactionArgument & [TransactionArgument] {
|
|
3964
3964
|
const _args: any[] = [];
|
|
@@ -3971,7 +3971,7 @@ export namespace custodian_v2 {
|
|
|
3971
3971
|
});
|
|
3972
3972
|
}
|
|
3973
3973
|
export function decreaseUserAvailableBalance<T0 = any>(
|
|
3974
|
-
tx:
|
|
3974
|
+
tx: Transaction,
|
|
3975
3975
|
args: [
|
|
3976
3976
|
string | TransactionObjectArgument | TransactionArgument,
|
|
3977
3977
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -3997,7 +3997,7 @@ export namespace custodian_v2 {
|
|
|
3997
3997
|
});
|
|
3998
3998
|
}
|
|
3999
3999
|
export function decreaseUserLockedBalance<T0 = any>(
|
|
4000
|
-
tx:
|
|
4000
|
+
tx: Transaction,
|
|
4001
4001
|
args: [
|
|
4002
4002
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4003
4003
|
string | TransactionArgument,
|
|
@@ -4023,7 +4023,7 @@ export namespace custodian_v2 {
|
|
|
4023
4023
|
});
|
|
4024
4024
|
}
|
|
4025
4025
|
export function deleteAccountCap(
|
|
4026
|
-
tx:
|
|
4026
|
+
tx: Transaction,
|
|
4027
4027
|
args: [custodian_v2.AccountCap | TransactionArgument],
|
|
4028
4028
|
): TransactionArgument & [TransactionArgument] {
|
|
4029
4029
|
const _args: any[] = [];
|
|
@@ -4036,7 +4036,7 @@ export namespace custodian_v2 {
|
|
|
4036
4036
|
});
|
|
4037
4037
|
}
|
|
4038
4038
|
export function increaseUserAvailableBalance<T0 = any>(
|
|
4039
|
-
tx:
|
|
4039
|
+
tx: Transaction,
|
|
4040
4040
|
args: [
|
|
4041
4041
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4042
4042
|
string | TransactionArgument,
|
|
@@ -4062,7 +4062,7 @@ export namespace custodian_v2 {
|
|
|
4062
4062
|
});
|
|
4063
4063
|
}
|
|
4064
4064
|
export function increaseUserLockedBalance<T0 = any>(
|
|
4065
|
-
tx:
|
|
4065
|
+
tx: Transaction,
|
|
4066
4066
|
args: [
|
|
4067
4067
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4068
4068
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -4088,7 +4088,7 @@ export namespace custodian_v2 {
|
|
|
4088
4088
|
});
|
|
4089
4089
|
}
|
|
4090
4090
|
export function lockBalance<T0 = any>(
|
|
4091
|
-
tx:
|
|
4091
|
+
tx: Transaction,
|
|
4092
4092
|
args: [
|
|
4093
4093
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4094
4094
|
string | TransactionObjectArgument | TransactionArgument,
|
|
@@ -4114,7 +4114,7 @@ export namespace custodian_v2 {
|
|
|
4114
4114
|
});
|
|
4115
4115
|
}
|
|
4116
4116
|
export function mintAccountCap(
|
|
4117
|
-
tx:
|
|
4117
|
+
tx: Transaction,
|
|
4118
4118
|
args: [],
|
|
4119
4119
|
): TransactionArgument & [] {
|
|
4120
4120
|
const _args: any[] = [];
|
|
@@ -4126,7 +4126,7 @@ export namespace custodian_v2 {
|
|
|
4126
4126
|
});
|
|
4127
4127
|
}
|
|
4128
4128
|
export function new_<T0 = any>(
|
|
4129
|
-
tx:
|
|
4129
|
+
tx: Transaction,
|
|
4130
4130
|
args: [],
|
|
4131
4131
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4132
4132
|
): TransactionArgument & [] {
|
|
@@ -4144,7 +4144,7 @@ export namespace custodian_v2 {
|
|
|
4144
4144
|
});
|
|
4145
4145
|
}
|
|
4146
4146
|
export function unlockBalance<T0 = any>(
|
|
4147
|
-
tx:
|
|
4147
|
+
tx: Transaction,
|
|
4148
4148
|
args: [
|
|
4149
4149
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4150
4150
|
string | TransactionArgument,
|
|
@@ -4170,7 +4170,7 @@ export namespace custodian_v2 {
|
|
|
4170
4170
|
});
|
|
4171
4171
|
}
|
|
4172
4172
|
export function withdrawAsset<T0 = any>(
|
|
4173
|
-
tx:
|
|
4173
|
+
tx: Transaction,
|
|
4174
4174
|
args: [
|
|
4175
4175
|
string | TransactionObjectArgument | TransactionArgument,
|
|
4176
4176
|
bigint | TransactionArgument,
|
|
@@ -4205,7 +4205,7 @@ export namespace custodian_v2 {
|
|
|
4205
4205
|
],
|
|
4206
4206
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4207
4207
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4208
|
-
const tx = new
|
|
4208
|
+
const tx = new Transaction();
|
|
4209
4209
|
builder.accountAvailableBalance(tx, args, typeArguments);
|
|
4210
4210
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4211
4211
|
transactionBlock: tx,
|
|
@@ -4224,7 +4224,7 @@ export namespace custodian_v2 {
|
|
|
4224
4224
|
],
|
|
4225
4225
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4226
4226
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
4227
|
-
const tx = new
|
|
4227
|
+
const tx = new Transaction();
|
|
4228
4228
|
builder.accountBalance(tx, args, typeArguments);
|
|
4229
4229
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4230
4230
|
transactionBlock: tx,
|
|
@@ -4243,7 +4243,7 @@ export namespace custodian_v2 {
|
|
|
4243
4243
|
],
|
|
4244
4244
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4245
4245
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4246
|
-
const tx = new
|
|
4246
|
+
const tx = new Transaction();
|
|
4247
4247
|
builder.accountLockedBalance(tx, args, typeArguments);
|
|
4248
4248
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4249
4249
|
transactionBlock: tx,
|
|
@@ -4258,7 +4258,7 @@ export namespace custodian_v2 {
|
|
|
4258
4258
|
client: SuiClient,
|
|
4259
4259
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
4260
4260
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4261
|
-
const tx = new
|
|
4261
|
+
const tx = new Transaction();
|
|
4262
4262
|
builder.accountOwner(tx, args);
|
|
4263
4263
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4264
4264
|
transactionBlock: tx,
|
|
@@ -4273,7 +4273,7 @@ export namespace custodian_v2 {
|
|
|
4273
4273
|
client: SuiClient,
|
|
4274
4274
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
4275
4275
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
4276
|
-
const tx = new
|
|
4276
|
+
const tx = new Transaction();
|
|
4277
4277
|
builder.createChildAccountCap(tx, args);
|
|
4278
4278
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4279
4279
|
transactionBlock: tx,
|
|
@@ -4293,7 +4293,7 @@ export namespace custodian_v2 {
|
|
|
4293
4293
|
],
|
|
4294
4294
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4295
4295
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
4296
|
-
const tx = new
|
|
4296
|
+
const tx = new Transaction();
|
|
4297
4297
|
builder.decreaseUserAvailableBalance(tx, args, typeArguments);
|
|
4298
4298
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4299
4299
|
transactionBlock: tx,
|
|
@@ -4313,7 +4313,7 @@ export namespace custodian_v2 {
|
|
|
4313
4313
|
],
|
|
4314
4314
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4315
4315
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
4316
|
-
const tx = new
|
|
4316
|
+
const tx = new Transaction();
|
|
4317
4317
|
builder.decreaseUserLockedBalance(tx, args, typeArguments);
|
|
4318
4318
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4319
4319
|
transactionBlock: tx,
|
|
@@ -4328,7 +4328,7 @@ export namespace custodian_v2 {
|
|
|
4328
4328
|
client: SuiClient,
|
|
4329
4329
|
args: [custodian_v2.AccountCap | TransactionArgument],
|
|
4330
4330
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4331
|
-
const tx = new
|
|
4331
|
+
const tx = new Transaction();
|
|
4332
4332
|
builder.deleteAccountCap(tx, args);
|
|
4333
4333
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4334
4334
|
transactionBlock: tx,
|
|
@@ -4348,7 +4348,7 @@ export namespace custodian_v2 {
|
|
|
4348
4348
|
],
|
|
4349
4349
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4350
4350
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4351
|
-
const tx = new
|
|
4351
|
+
const tx = new Transaction();
|
|
4352
4352
|
builder.increaseUserAvailableBalance(tx, args, typeArguments);
|
|
4353
4353
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4354
4354
|
transactionBlock: tx,
|
|
@@ -4368,7 +4368,7 @@ export namespace custodian_v2 {
|
|
|
4368
4368
|
],
|
|
4369
4369
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4370
4370
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4371
|
-
const tx = new
|
|
4371
|
+
const tx = new Transaction();
|
|
4372
4372
|
builder.increaseUserLockedBalance(tx, args, typeArguments);
|
|
4373
4373
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4374
4374
|
transactionBlock: tx,
|
|
@@ -4388,7 +4388,7 @@ export namespace custodian_v2 {
|
|
|
4388
4388
|
],
|
|
4389
4389
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4390
4390
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4391
|
-
const tx = new
|
|
4391
|
+
const tx = new Transaction();
|
|
4392
4392
|
builder.lockBalance(tx, args, typeArguments);
|
|
4393
4393
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4394
4394
|
transactionBlock: tx,
|
|
@@ -4403,7 +4403,7 @@ export namespace custodian_v2 {
|
|
|
4403
4403
|
client: SuiClient,
|
|
4404
4404
|
args: [],
|
|
4405
4405
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
4406
|
-
const tx = new
|
|
4406
|
+
const tx = new Transaction();
|
|
4407
4407
|
builder.mintAccountCap(tx, args);
|
|
4408
4408
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4409
4409
|
transactionBlock: tx,
|
|
@@ -4419,7 +4419,7 @@ export namespace custodian_v2 {
|
|
|
4419
4419
|
args: [],
|
|
4420
4420
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4421
4421
|
): Promise<TypedDevInspectResults<[custodian_v2.Custodian<T0>]>> {
|
|
4422
|
-
const tx = new
|
|
4422
|
+
const tx = new Transaction();
|
|
4423
4423
|
builder.new_(tx, args, typeArguments);
|
|
4424
4424
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4425
4425
|
transactionBlock: tx,
|
|
@@ -4439,7 +4439,7 @@ export namespace custodian_v2 {
|
|
|
4439
4439
|
],
|
|
4440
4440
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4441
4441
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4442
|
-
const tx = new
|
|
4442
|
+
const tx = new Transaction();
|
|
4443
4443
|
builder.unlockBalance(tx, args, typeArguments);
|
|
4444
4444
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4445
4445
|
transactionBlock: tx,
|
|
@@ -4459,7 +4459,7 @@ export namespace custodian_v2 {
|
|
|
4459
4459
|
],
|
|
4460
4460
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
4461
4461
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
4462
|
-
const tx = new
|
|
4462
|
+
const tx = new Transaction();
|
|
4463
4463
|
builder.withdrawAsset(tx, args, typeArguments);
|
|
4464
4464
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4465
4465
|
transactionBlock: tx,
|
|
@@ -4476,7 +4476,7 @@ export namespace custodian_v2 {
|
|
|
4476
4476
|
export namespace math {
|
|
4477
4477
|
export namespace builder {
|
|
4478
4478
|
export function countLeadingZeros(
|
|
4479
|
-
tx:
|
|
4479
|
+
tx: Transaction,
|
|
4480
4480
|
args: [bigint | TransactionArgument],
|
|
4481
4481
|
): TransactionArgument & [TransactionArgument] {
|
|
4482
4482
|
const _args: any[] = [];
|
|
@@ -4489,7 +4489,7 @@ export namespace math {
|
|
|
4489
4489
|
});
|
|
4490
4490
|
}
|
|
4491
4491
|
export function divRound(
|
|
4492
|
-
tx:
|
|
4492
|
+
tx: Transaction,
|
|
4493
4493
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4494
4494
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4495
4495
|
const _args: any[] = [];
|
|
@@ -4503,7 +4503,7 @@ export namespace math {
|
|
|
4503
4503
|
});
|
|
4504
4504
|
}
|
|
4505
4505
|
export function mul(
|
|
4506
|
-
tx:
|
|
4506
|
+
tx: Transaction,
|
|
4507
4507
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4508
4508
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4509
4509
|
const _args: any[] = [];
|
|
@@ -4517,7 +4517,7 @@ export namespace math {
|
|
|
4517
4517
|
});
|
|
4518
4518
|
}
|
|
4519
4519
|
export function mulRound(
|
|
4520
|
-
tx:
|
|
4520
|
+
tx: Transaction,
|
|
4521
4521
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4522
4522
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4523
4523
|
const _args: any[] = [];
|
|
@@ -4531,7 +4531,7 @@ export namespace math {
|
|
|
4531
4531
|
});
|
|
4532
4532
|
}
|
|
4533
4533
|
export function unsafeDiv(
|
|
4534
|
-
tx:
|
|
4534
|
+
tx: Transaction,
|
|
4535
4535
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4536
4536
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4537
4537
|
const _args: any[] = [];
|
|
@@ -4545,7 +4545,7 @@ export namespace math {
|
|
|
4545
4545
|
});
|
|
4546
4546
|
}
|
|
4547
4547
|
export function unsafeDivRound(
|
|
4548
|
-
tx:
|
|
4548
|
+
tx: Transaction,
|
|
4549
4549
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4550
4550
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4551
4551
|
const _args: any[] = [];
|
|
@@ -4559,7 +4559,7 @@ export namespace math {
|
|
|
4559
4559
|
});
|
|
4560
4560
|
}
|
|
4561
4561
|
export function unsafeMul(
|
|
4562
|
-
tx:
|
|
4562
|
+
tx: Transaction,
|
|
4563
4563
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4564
4564
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4565
4565
|
const _args: any[] = [];
|
|
@@ -4573,7 +4573,7 @@ export namespace math {
|
|
|
4573
4573
|
});
|
|
4574
4574
|
}
|
|
4575
4575
|
export function unsafeMulRound(
|
|
4576
|
-
tx:
|
|
4576
|
+
tx: Transaction,
|
|
4577
4577
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4578
4578
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
4579
4579
|
const _args: any[] = [];
|
|
@@ -4592,7 +4592,7 @@ export namespace math {
|
|
|
4592
4592
|
client: SuiClient,
|
|
4593
4593
|
args: [bigint | TransactionArgument],
|
|
4594
4594
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
4595
|
-
const tx = new
|
|
4595
|
+
const tx = new Transaction();
|
|
4596
4596
|
builder.countLeadingZeros(tx, args);
|
|
4597
4597
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4598
4598
|
transactionBlock: tx,
|
|
@@ -4607,7 +4607,7 @@ export namespace math {
|
|
|
4607
4607
|
client: SuiClient,
|
|
4608
4608
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4609
4609
|
): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
|
|
4610
|
-
const tx = new
|
|
4610
|
+
const tx = new Transaction();
|
|
4611
4611
|
builder.divRound(tx, args);
|
|
4612
4612
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4613
4613
|
transactionBlock: tx,
|
|
@@ -4622,7 +4622,7 @@ export namespace math {
|
|
|
4622
4622
|
client: SuiClient,
|
|
4623
4623
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4624
4624
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4625
|
-
const tx = new
|
|
4625
|
+
const tx = new Transaction();
|
|
4626
4626
|
builder.mul(tx, args);
|
|
4627
4627
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4628
4628
|
transactionBlock: tx,
|
|
@@ -4637,7 +4637,7 @@ export namespace math {
|
|
|
4637
4637
|
client: SuiClient,
|
|
4638
4638
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4639
4639
|
): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
|
|
4640
|
-
const tx = new
|
|
4640
|
+
const tx = new Transaction();
|
|
4641
4641
|
builder.mulRound(tx, args);
|
|
4642
4642
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4643
4643
|
transactionBlock: tx,
|
|
@@ -4652,7 +4652,7 @@ export namespace math {
|
|
|
4652
4652
|
client: SuiClient,
|
|
4653
4653
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4654
4654
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4655
|
-
const tx = new
|
|
4655
|
+
const tx = new Transaction();
|
|
4656
4656
|
builder.unsafeDiv(tx, args);
|
|
4657
4657
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4658
4658
|
transactionBlock: tx,
|
|
@@ -4667,7 +4667,7 @@ export namespace math {
|
|
|
4667
4667
|
client: SuiClient,
|
|
4668
4668
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4669
4669
|
): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
|
|
4670
|
-
const tx = new
|
|
4670
|
+
const tx = new Transaction();
|
|
4671
4671
|
builder.unsafeDivRound(tx, args);
|
|
4672
4672
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4673
4673
|
transactionBlock: tx,
|
|
@@ -4682,7 +4682,7 @@ export namespace math {
|
|
|
4682
4682
|
client: SuiClient,
|
|
4683
4683
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4684
4684
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4685
|
-
const tx = new
|
|
4685
|
+
const tx = new Transaction();
|
|
4686
4686
|
builder.unsafeMul(tx, args);
|
|
4687
4687
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4688
4688
|
transactionBlock: tx,
|
|
@@ -4697,7 +4697,7 @@ export namespace math {
|
|
|
4697
4697
|
client: SuiClient,
|
|
4698
4698
|
args: [bigint | TransactionArgument, bigint | TransactionArgument],
|
|
4699
4699
|
): Promise<TypedDevInspectResults<[Boolean, bigint]>> {
|
|
4700
|
-
const tx = new
|
|
4700
|
+
const tx = new Transaction();
|
|
4701
4701
|
builder.unsafeMulRound(tx, args);
|
|
4702
4702
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4703
4703
|
transactionBlock: tx,
|