@typemove/sui 1.5.4 → 1.5.5
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 +129 -130
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +956 -957
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +291 -292
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +3 -4
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +129 -130
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +956 -957
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +291 -292
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +3 -4
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +4 -4
- package/src/builtin/0x1.ts +129 -129
- package/src/builtin/0x2.ts +956 -956
- package/src/builtin/0x3.ts +291 -291
- package/src/codegen/codegen.ts +3 -4
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +9 -9
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +127 -127
- package/src/tests/types/testnet/0xdee9.ts +161 -161
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +537 -537
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
TransactionBlock,
|
|
19
19
|
TransactionArgument,
|
|
20
|
+
TransactionObjectArgument,
|
|
20
21
|
} from "@mysten/sui.js/transactions";
|
|
21
22
|
import { SuiClient } from "@mysten/sui.js/client";
|
|
22
|
-
import { type ObjectCallArg } from "@mysten/sui.js/dist/esm/builder/Inputs.js";
|
|
23
23
|
import {
|
|
24
24
|
transactionArgumentOrObject,
|
|
25
25
|
transactionArgumentOrPure,
|
|
@@ -284,8 +284,8 @@ export namespace clob {
|
|
|
284
284
|
export function accountBalance<T0 = any, T1 = any>(
|
|
285
285
|
tx: TransactionBlock,
|
|
286
286
|
args: [
|
|
287
|
-
string |
|
|
288
|
-
string |
|
|
287
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
288
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
289
289
|
],
|
|
290
290
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
291
291
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
@@ -310,9 +310,9 @@ export namespace clob {
|
|
|
310
310
|
export function batchCancelOrder<T0 = any, T1 = any>(
|
|
311
311
|
tx: TransactionBlock,
|
|
312
312
|
args: [
|
|
313
|
-
string |
|
|
314
|
-
(string |
|
|
315
|
-
string |
|
|
313
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
314
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
315
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
316
316
|
],
|
|
317
317
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
318
318
|
): TransactionArgument &
|
|
@@ -339,8 +339,8 @@ export namespace clob {
|
|
|
339
339
|
export function cancelAllOrders<T0 = any, T1 = any>(
|
|
340
340
|
tx: TransactionBlock,
|
|
341
341
|
args: [
|
|
342
|
-
string |
|
|
343
|
-
string |
|
|
342
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
343
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
344
344
|
],
|
|
345
345
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
346
346
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
@@ -365,9 +365,9 @@ export namespace clob {
|
|
|
365
365
|
export function cancelOrder<T0 = any, T1 = any>(
|
|
366
366
|
tx: TransactionBlock,
|
|
367
367
|
args: [
|
|
368
|
-
string |
|
|
368
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
369
369
|
bigint | TransactionArgument,
|
|
370
|
-
string |
|
|
370
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
371
371
|
],
|
|
372
372
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
373
373
|
): TransactionArgument &
|
|
@@ -435,9 +435,9 @@ export namespace clob {
|
|
|
435
435
|
export function depositBase<T0 = any, T1 = any>(
|
|
436
436
|
tx: TransactionBlock,
|
|
437
437
|
args: [
|
|
438
|
-
string |
|
|
438
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
439
439
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
440
|
-
string |
|
|
440
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
441
441
|
],
|
|
442
442
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
443
443
|
): TransactionArgument &
|
|
@@ -464,9 +464,9 @@ export namespace clob {
|
|
|
464
464
|
export function depositQuote<T0 = any, T1 = any>(
|
|
465
465
|
tx: TransactionBlock,
|
|
466
466
|
args: [
|
|
467
|
-
string |
|
|
467
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
468
468
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
469
|
-
string |
|
|
469
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
470
470
|
],
|
|
471
471
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
472
472
|
): TransactionArgument &
|
|
@@ -493,10 +493,10 @@ export namespace clob {
|
|
|
493
493
|
export function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
494
494
|
tx: TransactionBlock,
|
|
495
495
|
args: [
|
|
496
|
-
string |
|
|
496
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
497
497
|
bigint | TransactionArgument,
|
|
498
498
|
bigint | TransactionArgument,
|
|
499
|
-
string |
|
|
499
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
500
500
|
],
|
|
501
501
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
502
502
|
): TransactionArgument &
|
|
@@ -529,10 +529,10 @@ export namespace clob {
|
|
|
529
529
|
export function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
530
530
|
tx: TransactionBlock,
|
|
531
531
|
args: [
|
|
532
|
-
string |
|
|
532
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
533
533
|
bigint | TransactionArgument,
|
|
534
534
|
bigint | TransactionArgument,
|
|
535
|
-
string |
|
|
535
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
536
536
|
],
|
|
537
537
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
538
538
|
): TransactionArgument &
|
|
@@ -564,7 +564,7 @@ export namespace clob {
|
|
|
564
564
|
}
|
|
565
565
|
export function getMarketPrice<T0 = any, T1 = any>(
|
|
566
566
|
tx: TransactionBlock,
|
|
567
|
-
args: [string |
|
|
567
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
568
568
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
569
569
|
): TransactionArgument & [TransactionArgument] {
|
|
570
570
|
const _args: any[] = [];
|
|
@@ -587,9 +587,9 @@ export namespace clob {
|
|
|
587
587
|
export function getOrderStatus<T0 = any, T1 = any>(
|
|
588
588
|
tx: TransactionBlock,
|
|
589
589
|
args: [
|
|
590
|
-
string |
|
|
590
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
591
591
|
bigint | TransactionArgument,
|
|
592
|
-
string |
|
|
592
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
593
593
|
],
|
|
594
594
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
595
595
|
): TransactionArgument &
|
|
@@ -616,8 +616,8 @@ export namespace clob {
|
|
|
616
616
|
export function listOpenOrders<T0 = any, T1 = any>(
|
|
617
617
|
tx: TransactionBlock,
|
|
618
618
|
args: [
|
|
619
|
-
string |
|
|
620
|
-
string |
|
|
619
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
620
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
621
621
|
],
|
|
622
622
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
623
623
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
@@ -642,14 +642,14 @@ export namespace clob {
|
|
|
642
642
|
export function placeLimitOrder<T0 = any, T1 = any>(
|
|
643
643
|
tx: TransactionBlock,
|
|
644
644
|
args: [
|
|
645
|
-
string |
|
|
645
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
646
646
|
bigint | TransactionArgument,
|
|
647
647
|
bigint | TransactionArgument,
|
|
648
648
|
Boolean | TransactionArgument,
|
|
649
649
|
bigint | TransactionArgument,
|
|
650
650
|
number | TransactionArgument,
|
|
651
|
-
string |
|
|
652
|
-
string |
|
|
651
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
652
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
653
653
|
],
|
|
654
654
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
655
655
|
): TransactionArgument &
|
|
@@ -690,12 +690,12 @@ export namespace clob {
|
|
|
690
690
|
export function placeMarketOrder<T0 = any, T1 = any>(
|
|
691
691
|
tx: TransactionBlock,
|
|
692
692
|
args: [
|
|
693
|
-
string |
|
|
693
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
694
694
|
bigint | TransactionArgument,
|
|
695
695
|
Boolean | TransactionArgument,
|
|
696
696
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
697
697
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
698
|
-
string |
|
|
698
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
699
699
|
],
|
|
700
700
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
701
701
|
): TransactionArgument &
|
|
@@ -732,11 +732,11 @@ export namespace clob {
|
|
|
732
732
|
export function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
733
733
|
tx: TransactionBlock,
|
|
734
734
|
args: [
|
|
735
|
-
string |
|
|
735
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
736
736
|
bigint | TransactionArgument,
|
|
737
737
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
738
738
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
739
|
-
string |
|
|
739
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
740
740
|
],
|
|
741
741
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
742
742
|
): TransactionArgument &
|
|
@@ -771,9 +771,9 @@ export namespace clob {
|
|
|
771
771
|
export function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
772
772
|
tx: TransactionBlock,
|
|
773
773
|
args: [
|
|
774
|
-
string |
|
|
774
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
775
775
|
bigint | TransactionArgument,
|
|
776
|
-
string |
|
|
776
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
777
777
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
778
778
|
],
|
|
779
779
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
@@ -807,9 +807,9 @@ export namespace clob {
|
|
|
807
807
|
export function withdrawBase<T0 = any, T1 = any>(
|
|
808
808
|
tx: TransactionBlock,
|
|
809
809
|
args: [
|
|
810
|
-
string |
|
|
810
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
811
811
|
bigint | TransactionArgument,
|
|
812
|
-
string |
|
|
812
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
813
813
|
],
|
|
814
814
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
815
815
|
): TransactionArgument &
|
|
@@ -836,9 +836,9 @@ export namespace clob {
|
|
|
836
836
|
export function withdrawQuote<T0 = any, T1 = any>(
|
|
837
837
|
tx: TransactionBlock,
|
|
838
838
|
args: [
|
|
839
|
-
string |
|
|
839
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
840
840
|
bigint | TransactionArgument,
|
|
841
|
-
string |
|
|
841
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
842
842
|
],
|
|
843
843
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
844
844
|
): TransactionArgument &
|
|
@@ -867,8 +867,8 @@ export namespace clob {
|
|
|
867
867
|
export async function accountBalance<T0 = any, T1 = any>(
|
|
868
868
|
client: SuiClient,
|
|
869
869
|
args: [
|
|
870
|
-
string |
|
|
871
|
-
string |
|
|
870
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
871
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
872
872
|
],
|
|
873
873
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
874
874
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
@@ -886,9 +886,9 @@ export namespace clob {
|
|
|
886
886
|
export async function batchCancelOrder<T0 = any, T1 = any>(
|
|
887
887
|
client: SuiClient,
|
|
888
888
|
args: [
|
|
889
|
-
string |
|
|
890
|
-
(string |
|
|
891
|
-
string |
|
|
889
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
890
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
891
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
892
892
|
],
|
|
893
893
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
894
894
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -906,8 +906,8 @@ export namespace clob {
|
|
|
906
906
|
export async function cancelAllOrders<T0 = any, T1 = any>(
|
|
907
907
|
client: SuiClient,
|
|
908
908
|
args: [
|
|
909
|
-
string |
|
|
910
|
-
string |
|
|
909
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
910
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
911
911
|
],
|
|
912
912
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
913
913
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -925,9 +925,9 @@ export namespace clob {
|
|
|
925
925
|
export async function cancelOrder<T0 = any, T1 = any>(
|
|
926
926
|
client: SuiClient,
|
|
927
927
|
args: [
|
|
928
|
-
string |
|
|
928
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
929
929
|
bigint | TransactionArgument,
|
|
930
|
-
string |
|
|
930
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
931
931
|
],
|
|
932
932
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
933
933
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -980,9 +980,9 @@ export namespace clob {
|
|
|
980
980
|
export async function depositBase<T0 = any, T1 = any>(
|
|
981
981
|
client: SuiClient,
|
|
982
982
|
args: [
|
|
983
|
-
string |
|
|
983
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
984
984
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
985
|
-
string |
|
|
985
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
986
986
|
],
|
|
987
987
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
988
988
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -1000,9 +1000,9 @@ export namespace clob {
|
|
|
1000
1000
|
export async function depositQuote<T0 = any, T1 = any>(
|
|
1001
1001
|
client: SuiClient,
|
|
1002
1002
|
args: [
|
|
1003
|
-
string |
|
|
1003
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1004
1004
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1005
|
-
string |
|
|
1005
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1006
1006
|
],
|
|
1007
1007
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1008
1008
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -1020,10 +1020,10 @@ export namespace clob {
|
|
|
1020
1020
|
export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
1021
1021
|
client: SuiClient,
|
|
1022
1022
|
args: [
|
|
1023
|
-
string |
|
|
1023
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1024
1024
|
bigint | TransactionArgument,
|
|
1025
1025
|
bigint | TransactionArgument,
|
|
1026
|
-
string |
|
|
1026
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1027
1027
|
],
|
|
1028
1028
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1029
1029
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -1041,10 +1041,10 @@ export namespace clob {
|
|
|
1041
1041
|
export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
1042
1042
|
client: SuiClient,
|
|
1043
1043
|
args: [
|
|
1044
|
-
string |
|
|
1044
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1045
1045
|
bigint | TransactionArgument,
|
|
1046
1046
|
bigint | TransactionArgument,
|
|
1047
|
-
string |
|
|
1047
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1048
1048
|
],
|
|
1049
1049
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1050
1050
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -1061,7 +1061,7 @@ export namespace clob {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
export async function getMarketPrice<T0 = any, T1 = any>(
|
|
1063
1063
|
client: SuiClient,
|
|
1064
|
-
args: [string |
|
|
1064
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1065
1065
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1066
1066
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
1067
1067
|
const tx = new TransactionBlock();
|
|
@@ -1078,9 +1078,9 @@ export namespace clob {
|
|
|
1078
1078
|
export async function getOrderStatus<T0 = any, T1 = any>(
|
|
1079
1079
|
client: SuiClient,
|
|
1080
1080
|
args: [
|
|
1081
|
-
string |
|
|
1081
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1082
1082
|
bigint | TransactionArgument,
|
|
1083
|
-
string |
|
|
1083
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1084
1084
|
],
|
|
1085
1085
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1086
1086
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
@@ -1098,8 +1098,8 @@ export namespace clob {
|
|
|
1098
1098
|
export async function listOpenOrders<T0 = any, T1 = any>(
|
|
1099
1099
|
client: SuiClient,
|
|
1100
1100
|
args: [
|
|
1101
|
-
string |
|
|
1102
|
-
string |
|
|
1101
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1102
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1103
1103
|
],
|
|
1104
1104
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1105
1105
|
): Promise<TypedDevInspectResults<[clob.Order[]]>> {
|
|
@@ -1117,14 +1117,14 @@ export namespace clob {
|
|
|
1117
1117
|
export async function placeLimitOrder<T0 = any, T1 = any>(
|
|
1118
1118
|
client: SuiClient,
|
|
1119
1119
|
args: [
|
|
1120
|
-
string |
|
|
1120
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1121
1121
|
bigint | TransactionArgument,
|
|
1122
1122
|
bigint | TransactionArgument,
|
|
1123
1123
|
Boolean | TransactionArgument,
|
|
1124
1124
|
bigint | TransactionArgument,
|
|
1125
1125
|
number | TransactionArgument,
|
|
1126
|
-
string |
|
|
1127
|
-
string |
|
|
1126
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1127
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1128
1128
|
],
|
|
1129
1129
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1130
1130
|
): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
|
|
@@ -1142,12 +1142,12 @@ export namespace clob {
|
|
|
1142
1142
|
export async function placeMarketOrder<T0 = any, T1 = any>(
|
|
1143
1143
|
client: SuiClient,
|
|
1144
1144
|
args: [
|
|
1145
|
-
string |
|
|
1145
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1146
1146
|
bigint | TransactionArgument,
|
|
1147
1147
|
Boolean | TransactionArgument,
|
|
1148
1148
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
1149
1149
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1150
|
-
string |
|
|
1150
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1151
1151
|
],
|
|
1152
1152
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1153
1153
|
): Promise<
|
|
@@ -1167,11 +1167,11 @@ export namespace clob {
|
|
|
1167
1167
|
export async function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
1168
1168
|
client: SuiClient,
|
|
1169
1169
|
args: [
|
|
1170
|
-
string |
|
|
1170
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1171
1171
|
bigint | TransactionArgument,
|
|
1172
1172
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
1173
1173
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1174
|
-
string |
|
|
1174
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1175
1175
|
],
|
|
1176
1176
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1177
1177
|
): Promise<
|
|
@@ -1191,9 +1191,9 @@ export namespace clob {
|
|
|
1191
1191
|
export async function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
1192
1192
|
client: SuiClient,
|
|
1193
1193
|
args: [
|
|
1194
|
-
string |
|
|
1194
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1195
1195
|
bigint | TransactionArgument,
|
|
1196
|
-
string |
|
|
1196
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1197
1197
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1198
1198
|
],
|
|
1199
1199
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
@@ -1214,9 +1214,9 @@ export namespace clob {
|
|
|
1214
1214
|
export async function withdrawBase<T0 = any, T1 = any>(
|
|
1215
1215
|
client: SuiClient,
|
|
1216
1216
|
args: [
|
|
1217
|
-
string |
|
|
1217
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1218
1218
|
bigint | TransactionArgument,
|
|
1219
|
-
string |
|
|
1219
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1220
1220
|
],
|
|
1221
1221
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1222
1222
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -1234,9 +1234,9 @@ export namespace clob {
|
|
|
1234
1234
|
export async function withdrawQuote<T0 = any, T1 = any>(
|
|
1235
1235
|
client: SuiClient,
|
|
1236
1236
|
args: [
|
|
1237
|
-
string |
|
|
1237
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1238
1238
|
bigint | TransactionArgument,
|
|
1239
|
-
string |
|
|
1239
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1240
1240
|
],
|
|
1241
1241
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1242
1242
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
@@ -1507,8 +1507,8 @@ export namespace clob_v2 {
|
|
|
1507
1507
|
export function accountBalance<T0 = any, T1 = any>(
|
|
1508
1508
|
tx: TransactionBlock,
|
|
1509
1509
|
args: [
|
|
1510
|
-
string |
|
|
1511
|
-
string |
|
|
1510
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1511
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1512
1512
|
],
|
|
1513
1513
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1514
1514
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
@@ -1533,9 +1533,9 @@ export namespace clob_v2 {
|
|
|
1533
1533
|
export function batchCancelOrder<T0 = any, T1 = any>(
|
|
1534
1534
|
tx: TransactionBlock,
|
|
1535
1535
|
args: [
|
|
1536
|
-
string |
|
|
1537
|
-
(string |
|
|
1538
|
-
string |
|
|
1536
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1537
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1538
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1539
1539
|
],
|
|
1540
1540
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1541
1541
|
): TransactionArgument &
|
|
@@ -1562,8 +1562,8 @@ export namespace clob_v2 {
|
|
|
1562
1562
|
export function cancelAllOrders<T0 = any, T1 = any>(
|
|
1563
1563
|
tx: TransactionBlock,
|
|
1564
1564
|
args: [
|
|
1565
|
-
string |
|
|
1566
|
-
string |
|
|
1565
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1566
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1567
1567
|
],
|
|
1568
1568
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1569
1569
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
@@ -1588,9 +1588,9 @@ export namespace clob_v2 {
|
|
|
1588
1588
|
export function cancelOrder<T0 = any, T1 = any>(
|
|
1589
1589
|
tx: TransactionBlock,
|
|
1590
1590
|
args: [
|
|
1591
|
-
string |
|
|
1591
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1592
1592
|
bigint | TransactionArgument,
|
|
1593
|
-
string |
|
|
1593
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1594
1594
|
],
|
|
1595
1595
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1596
1596
|
): TransactionArgument &
|
|
@@ -1617,10 +1617,10 @@ export namespace clob_v2 {
|
|
|
1617
1617
|
export function cleanUpExpiredOrders<T0 = any, T1 = any>(
|
|
1618
1618
|
tx: TransactionBlock,
|
|
1619
1619
|
args: [
|
|
1620
|
-
string |
|
|
1621
|
-
string |
|
|
1622
|
-
(string |
|
|
1623
|
-
(string |
|
|
1620
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1621
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1622
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1623
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1624
1624
|
],
|
|
1625
1625
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1626
1626
|
): TransactionArgument &
|
|
@@ -1694,9 +1694,9 @@ export namespace clob_v2 {
|
|
|
1694
1694
|
export function depositBase<T0 = any, T1 = any>(
|
|
1695
1695
|
tx: TransactionBlock,
|
|
1696
1696
|
args: [
|
|
1697
|
-
string |
|
|
1697
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1698
1698
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
1699
|
-
string |
|
|
1699
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1700
1700
|
],
|
|
1701
1701
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1702
1702
|
): TransactionArgument &
|
|
@@ -1723,9 +1723,9 @@ export namespace clob_v2 {
|
|
|
1723
1723
|
export function depositQuote<T0 = any, T1 = any>(
|
|
1724
1724
|
tx: TransactionBlock,
|
|
1725
1725
|
args: [
|
|
1726
|
-
string |
|
|
1726
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1727
1727
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1728
|
-
string |
|
|
1728
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1729
1729
|
],
|
|
1730
1730
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1731
1731
|
): TransactionArgument &
|
|
@@ -1752,10 +1752,10 @@ export namespace clob_v2 {
|
|
|
1752
1752
|
export function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
1753
1753
|
tx: TransactionBlock,
|
|
1754
1754
|
args: [
|
|
1755
|
-
string |
|
|
1755
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1756
1756
|
bigint | TransactionArgument,
|
|
1757
1757
|
bigint | TransactionArgument,
|
|
1758
|
-
string |
|
|
1758
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1759
1759
|
],
|
|
1760
1760
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1761
1761
|
): TransactionArgument &
|
|
@@ -1788,10 +1788,10 @@ export namespace clob_v2 {
|
|
|
1788
1788
|
export function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
1789
1789
|
tx: TransactionBlock,
|
|
1790
1790
|
args: [
|
|
1791
|
-
string |
|
|
1791
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1792
1792
|
bigint | TransactionArgument,
|
|
1793
1793
|
bigint | TransactionArgument,
|
|
1794
|
-
string |
|
|
1794
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1795
1795
|
],
|
|
1796
1796
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1797
1797
|
): TransactionArgument &
|
|
@@ -1823,7 +1823,7 @@ export namespace clob_v2 {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
export function getMarketPrice<T0 = any, T1 = any>(
|
|
1825
1825
|
tx: TransactionBlock,
|
|
1826
|
-
args: [string |
|
|
1826
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
1827
1827
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1828
1828
|
): TransactionArgument & [TransactionArgument] {
|
|
1829
1829
|
const _args: any[] = [];
|
|
@@ -1846,9 +1846,9 @@ export namespace clob_v2 {
|
|
|
1846
1846
|
export function getOrderStatus<T0 = any, T1 = any>(
|
|
1847
1847
|
tx: TransactionBlock,
|
|
1848
1848
|
args: [
|
|
1849
|
-
string |
|
|
1849
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1850
1850
|
bigint | TransactionArgument,
|
|
1851
|
-
string |
|
|
1851
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1852
1852
|
],
|
|
1853
1853
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1854
1854
|
): TransactionArgument &
|
|
@@ -1875,8 +1875,8 @@ export namespace clob_v2 {
|
|
|
1875
1875
|
export function listOpenOrders<T0 = any, T1 = any>(
|
|
1876
1876
|
tx: TransactionBlock,
|
|
1877
1877
|
args: [
|
|
1878
|
-
string |
|
|
1879
|
-
string |
|
|
1878
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1879
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1880
1880
|
],
|
|
1881
1881
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1882
1882
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
@@ -1901,7 +1901,7 @@ export namespace clob_v2 {
|
|
|
1901
1901
|
export function placeLimitOrder<T0 = any, T1 = any>(
|
|
1902
1902
|
tx: TransactionBlock,
|
|
1903
1903
|
args: [
|
|
1904
|
-
string |
|
|
1904
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1905
1905
|
bigint | TransactionArgument,
|
|
1906
1906
|
bigint | TransactionArgument,
|
|
1907
1907
|
bigint | TransactionArgument,
|
|
@@ -1909,8 +1909,8 @@ export namespace clob_v2 {
|
|
|
1909
1909
|
Boolean | TransactionArgument,
|
|
1910
1910
|
bigint | TransactionArgument,
|
|
1911
1911
|
number | TransactionArgument,
|
|
1912
|
-
string |
|
|
1913
|
-
string |
|
|
1912
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1913
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1914
1914
|
],
|
|
1915
1915
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1916
1916
|
): TransactionArgument &
|
|
@@ -1955,14 +1955,14 @@ export namespace clob_v2 {
|
|
|
1955
1955
|
export function placeMarketOrder<T0 = any, T1 = any>(
|
|
1956
1956
|
tx: TransactionBlock,
|
|
1957
1957
|
args: [
|
|
1958
|
-
string |
|
|
1959
|
-
string |
|
|
1958
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1959
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1960
1960
|
bigint | TransactionArgument,
|
|
1961
1961
|
bigint | TransactionArgument,
|
|
1962
1962
|
Boolean | TransactionArgument,
|
|
1963
1963
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
1964
1964
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
1965
|
-
string |
|
|
1965
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
1966
1966
|
],
|
|
1967
1967
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
1968
1968
|
): TransactionArgument &
|
|
@@ -2003,13 +2003,13 @@ export namespace clob_v2 {
|
|
|
2003
2003
|
export function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
2004
2004
|
tx: TransactionBlock,
|
|
2005
2005
|
args: [
|
|
2006
|
-
string |
|
|
2006
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2007
2007
|
bigint | TransactionArgument,
|
|
2008
|
-
string |
|
|
2008
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2009
2009
|
bigint | TransactionArgument,
|
|
2010
2010
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2011
2011
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2012
|
-
string |
|
|
2012
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2013
2013
|
],
|
|
2014
2014
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2015
2015
|
): TransactionArgument &
|
|
@@ -2048,11 +2048,11 @@ export namespace clob_v2 {
|
|
|
2048
2048
|
export function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
2049
2049
|
tx: TransactionBlock,
|
|
2050
2050
|
args: [
|
|
2051
|
-
string |
|
|
2051
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2052
2052
|
bigint | TransactionArgument,
|
|
2053
|
-
string |
|
|
2053
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2054
2054
|
bigint | TransactionArgument,
|
|
2055
|
-
string |
|
|
2055
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2056
2056
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2057
2057
|
],
|
|
2058
2058
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
@@ -2090,9 +2090,9 @@ export namespace clob_v2 {
|
|
|
2090
2090
|
export function withdrawBase<T0 = any, T1 = any>(
|
|
2091
2091
|
tx: TransactionBlock,
|
|
2092
2092
|
args: [
|
|
2093
|
-
string |
|
|
2093
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2094
2094
|
bigint | TransactionArgument,
|
|
2095
|
-
string |
|
|
2095
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2096
2096
|
],
|
|
2097
2097
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2098
2098
|
): TransactionArgument &
|
|
@@ -2119,9 +2119,9 @@ export namespace clob_v2 {
|
|
|
2119
2119
|
export function withdrawQuote<T0 = any, T1 = any>(
|
|
2120
2120
|
tx: TransactionBlock,
|
|
2121
2121
|
args: [
|
|
2122
|
-
string |
|
|
2122
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2123
2123
|
bigint | TransactionArgument,
|
|
2124
|
-
string |
|
|
2124
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2125
2125
|
],
|
|
2126
2126
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2127
2127
|
): TransactionArgument &
|
|
@@ -2150,8 +2150,8 @@ export namespace clob_v2 {
|
|
|
2150
2150
|
export async function accountBalance<T0 = any, T1 = any>(
|
|
2151
2151
|
client: SuiClient,
|
|
2152
2152
|
args: [
|
|
2153
|
-
string |
|
|
2154
|
-
string |
|
|
2153
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2154
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2155
2155
|
],
|
|
2156
2156
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2157
2157
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
@@ -2169,9 +2169,9 @@ export namespace clob_v2 {
|
|
|
2169
2169
|
export async function batchCancelOrder<T0 = any, T1 = any>(
|
|
2170
2170
|
client: SuiClient,
|
|
2171
2171
|
args: [
|
|
2172
|
-
string |
|
|
2173
|
-
(string |
|
|
2174
|
-
string |
|
|
2172
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2173
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2174
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2175
2175
|
],
|
|
2176
2176
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2177
2177
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2189,8 +2189,8 @@ export namespace clob_v2 {
|
|
|
2189
2189
|
export async function cancelAllOrders<T0 = any, T1 = any>(
|
|
2190
2190
|
client: SuiClient,
|
|
2191
2191
|
args: [
|
|
2192
|
-
string |
|
|
2193
|
-
string |
|
|
2192
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2193
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2194
2194
|
],
|
|
2195
2195
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2196
2196
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2208,9 +2208,9 @@ export namespace clob_v2 {
|
|
|
2208
2208
|
export async function cancelOrder<T0 = any, T1 = any>(
|
|
2209
2209
|
client: SuiClient,
|
|
2210
2210
|
args: [
|
|
2211
|
-
string |
|
|
2211
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2212
2212
|
bigint | TransactionArgument,
|
|
2213
|
-
string |
|
|
2213
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2214
2214
|
],
|
|
2215
2215
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2216
2216
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2228,10 +2228,10 @@ export namespace clob_v2 {
|
|
|
2228
2228
|
export async function cleanUpExpiredOrders<T0 = any, T1 = any>(
|
|
2229
2229
|
client: SuiClient,
|
|
2230
2230
|
args: [
|
|
2231
|
-
string |
|
|
2232
|
-
string |
|
|
2233
|
-
(string |
|
|
2234
|
-
(string |
|
|
2231
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2232
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2233
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2234
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2235
2235
|
],
|
|
2236
2236
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2237
2237
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2284,9 +2284,9 @@ export namespace clob_v2 {
|
|
|
2284
2284
|
export async function depositBase<T0 = any, T1 = any>(
|
|
2285
2285
|
client: SuiClient,
|
|
2286
2286
|
args: [
|
|
2287
|
-
string |
|
|
2287
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2288
2288
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2289
|
-
string |
|
|
2289
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2290
2290
|
],
|
|
2291
2291
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2292
2292
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2304,9 +2304,9 @@ export namespace clob_v2 {
|
|
|
2304
2304
|
export async function depositQuote<T0 = any, T1 = any>(
|
|
2305
2305
|
client: SuiClient,
|
|
2306
2306
|
args: [
|
|
2307
|
-
string |
|
|
2307
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2308
2308
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2309
|
-
string |
|
|
2309
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2310
2310
|
],
|
|
2311
2311
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2312
2312
|
): Promise<TypedDevInspectResults<[]>> {
|
|
@@ -2324,10 +2324,10 @@ export namespace clob_v2 {
|
|
|
2324
2324
|
export async function getLevel2BookStatusAskSide<T0 = any, T1 = any>(
|
|
2325
2325
|
client: SuiClient,
|
|
2326
2326
|
args: [
|
|
2327
|
-
string |
|
|
2327
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2328
2328
|
bigint | TransactionArgument,
|
|
2329
2329
|
bigint | TransactionArgument,
|
|
2330
|
-
string |
|
|
2330
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2331
2331
|
],
|
|
2332
2332
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2333
2333
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -2345,10 +2345,10 @@ export namespace clob_v2 {
|
|
|
2345
2345
|
export async function getLevel2BookStatusBidSide<T0 = any, T1 = any>(
|
|
2346
2346
|
client: SuiClient,
|
|
2347
2347
|
args: [
|
|
2348
|
-
string |
|
|
2348
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2349
2349
|
bigint | TransactionArgument,
|
|
2350
2350
|
bigint | TransactionArgument,
|
|
2351
|
-
string |
|
|
2351
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2352
2352
|
],
|
|
2353
2353
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2354
2354
|
): Promise<TypedDevInspectResults<[bigint[], bigint[]]>> {
|
|
@@ -2365,7 +2365,7 @@ export namespace clob_v2 {
|
|
|
2365
2365
|
}
|
|
2366
2366
|
export async function getMarketPrice<T0 = any, T1 = any>(
|
|
2367
2367
|
client: SuiClient,
|
|
2368
|
-
args: [string |
|
|
2368
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2369
2369
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2370
2370
|
): Promise<
|
|
2371
2371
|
TypedDevInspectResults<
|
|
@@ -2386,9 +2386,9 @@ export namespace clob_v2 {
|
|
|
2386
2386
|
export async function getOrderStatus<T0 = any, T1 = any>(
|
|
2387
2387
|
client: SuiClient,
|
|
2388
2388
|
args: [
|
|
2389
|
-
string |
|
|
2389
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2390
2390
|
bigint | TransactionArgument,
|
|
2391
|
-
string |
|
|
2391
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2392
2392
|
],
|
|
2393
2393
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2394
2394
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
@@ -2406,8 +2406,8 @@ export namespace clob_v2 {
|
|
|
2406
2406
|
export async function listOpenOrders<T0 = any, T1 = any>(
|
|
2407
2407
|
client: SuiClient,
|
|
2408
2408
|
args: [
|
|
2409
|
-
string |
|
|
2410
|
-
string |
|
|
2409
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2410
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2411
2411
|
],
|
|
2412
2412
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2413
2413
|
): Promise<TypedDevInspectResults<[clob_v2.Order[]]>> {
|
|
@@ -2425,7 +2425,7 @@ export namespace clob_v2 {
|
|
|
2425
2425
|
export async function placeLimitOrder<T0 = any, T1 = any>(
|
|
2426
2426
|
client: SuiClient,
|
|
2427
2427
|
args: [
|
|
2428
|
-
string |
|
|
2428
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2429
2429
|
bigint | TransactionArgument,
|
|
2430
2430
|
bigint | TransactionArgument,
|
|
2431
2431
|
bigint | TransactionArgument,
|
|
@@ -2433,8 +2433,8 @@ export namespace clob_v2 {
|
|
|
2433
2433
|
Boolean | TransactionArgument,
|
|
2434
2434
|
bigint | TransactionArgument,
|
|
2435
2435
|
number | TransactionArgument,
|
|
2436
|
-
string |
|
|
2437
|
-
string |
|
|
2436
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2437
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2438
2438
|
],
|
|
2439
2439
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2440
2440
|
): Promise<TypedDevInspectResults<[bigint, bigint, Boolean, bigint]>> {
|
|
@@ -2452,14 +2452,14 @@ export namespace clob_v2 {
|
|
|
2452
2452
|
export async function placeMarketOrder<T0 = any, T1 = any>(
|
|
2453
2453
|
client: SuiClient,
|
|
2454
2454
|
args: [
|
|
2455
|
-
string |
|
|
2456
|
-
string |
|
|
2455
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2456
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2457
2457
|
bigint | TransactionArgument,
|
|
2458
2458
|
bigint | TransactionArgument,
|
|
2459
2459
|
Boolean | TransactionArgument,
|
|
2460
2460
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2461
2461
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2462
|
-
string |
|
|
2462
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2463
2463
|
],
|
|
2464
2464
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2465
2465
|
): Promise<
|
|
@@ -2479,13 +2479,13 @@ export namespace clob_v2 {
|
|
|
2479
2479
|
export async function swapExactBaseForQuote<T0 = any, T1 = any>(
|
|
2480
2480
|
client: SuiClient,
|
|
2481
2481
|
args: [
|
|
2482
|
-
string |
|
|
2482
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2483
2483
|
bigint | TransactionArgument,
|
|
2484
|
-
string |
|
|
2484
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2485
2485
|
bigint | TransactionArgument,
|
|
2486
2486
|
_0x2.coin.Coin<T0> | TransactionArgument,
|
|
2487
2487
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2488
|
-
string |
|
|
2488
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2489
2489
|
],
|
|
2490
2490
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2491
2491
|
): Promise<
|
|
@@ -2505,11 +2505,11 @@ export namespace clob_v2 {
|
|
|
2505
2505
|
export async function swapExactQuoteForBase<T0 = any, T1 = any>(
|
|
2506
2506
|
client: SuiClient,
|
|
2507
2507
|
args: [
|
|
2508
|
-
string |
|
|
2508
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2509
2509
|
bigint | TransactionArgument,
|
|
2510
|
-
string |
|
|
2510
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2511
2511
|
bigint | TransactionArgument,
|
|
2512
|
-
string |
|
|
2512
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2513
2513
|
_0x2.coin.Coin<T1> | TransactionArgument,
|
|
2514
2514
|
],
|
|
2515
2515
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
@@ -2530,9 +2530,9 @@ export namespace clob_v2 {
|
|
|
2530
2530
|
export async function withdrawBase<T0 = any, T1 = any>(
|
|
2531
2531
|
client: SuiClient,
|
|
2532
2532
|
args: [
|
|
2533
|
-
string |
|
|
2533
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2534
2534
|
bigint | TransactionArgument,
|
|
2535
|
-
string |
|
|
2535
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2536
2536
|
],
|
|
2537
2537
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2538
2538
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T0>]>> {
|
|
@@ -2550,9 +2550,9 @@ export namespace clob_v2 {
|
|
|
2550
2550
|
export async function withdrawQuote<T0 = any, T1 = any>(
|
|
2551
2551
|
client: SuiClient,
|
|
2552
2552
|
args: [
|
|
2553
|
-
string |
|
|
2553
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2554
2554
|
bigint | TransactionArgument,
|
|
2555
|
-
string |
|
|
2555
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2556
2556
|
],
|
|
2557
2557
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
2558
2558
|
): Promise<TypedDevInspectResults<[_0x2.coin.Coin<T1>]>> {
|
|
@@ -2632,7 +2632,7 @@ export namespace critbit {
|
|
|
2632
2632
|
export function previousLeaf<T0 = any>(
|
|
2633
2633
|
tx: TransactionBlock,
|
|
2634
2634
|
args: [
|
|
2635
|
-
string |
|
|
2635
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2636
2636
|
bigint | TransactionArgument,
|
|
2637
2637
|
],
|
|
2638
2638
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -2657,7 +2657,7 @@ export namespace critbit {
|
|
|
2657
2657
|
export async function previousLeaf<T0 = any>(
|
|
2658
2658
|
client: SuiClient,
|
|
2659
2659
|
args: [
|
|
2660
|
-
string |
|
|
2660
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
2661
2661
|
bigint | TransactionArgument,
|
|
2662
2662
|
],
|
|
2663
2663
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -2811,7 +2811,7 @@ export namespace custodian_v2 {
|
|
|
2811
2811
|
export namespace builder {
|
|
2812
2812
|
export function accountOwner(
|
|
2813
2813
|
tx: TransactionBlock,
|
|
2814
|
-
args: [string |
|
|
2814
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2815
2815
|
): TransactionArgument & [TransactionArgument] {
|
|
2816
2816
|
const _args: any[] = [];
|
|
2817
2817
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2824,7 +2824,7 @@ export namespace custodian_v2 {
|
|
|
2824
2824
|
}
|
|
2825
2825
|
export function createChildAccountCap(
|
|
2826
2826
|
tx: TransactionBlock,
|
|
2827
|
-
args: [string |
|
|
2827
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2828
2828
|
): TransactionArgument & [TransactionArgument] {
|
|
2829
2829
|
const _args: any[] = [];
|
|
2830
2830
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2853,7 +2853,7 @@ export namespace custodian_v2 {
|
|
|
2853
2853
|
export namespace view {
|
|
2854
2854
|
export async function accountOwner(
|
|
2855
2855
|
client: SuiClient,
|
|
2856
|
-
args: [string |
|
|
2856
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2857
2857
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2858
2858
|
const tx = new TransactionBlock();
|
|
2859
2859
|
builder.accountOwner(tx, args);
|
|
@@ -2868,7 +2868,7 @@ export namespace custodian_v2 {
|
|
|
2868
2868
|
}
|
|
2869
2869
|
export async function createChildAccountCap(
|
|
2870
2870
|
client: SuiClient,
|
|
2871
|
-
args: [string |
|
|
2871
|
+
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
2872
2872
|
): Promise<TypedDevInspectResults<[custodian_v2.AccountCap]>> {
|
|
2873
2873
|
const tx = new TransactionBlock();
|
|
2874
2874
|
builder.createChildAccountCap(tx, args);
|