@typus/typus-perp-sdk 1.1.49 → 1.1.51-upgrade
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/src/api/sentio.d.ts +1 -1
- package/dist/src/api/sentio.js +3 -3
- package/dist/src/client.d.ts +11 -12
- package/dist/src/client.js +16 -44
- package/dist/src/fetch.d.ts +15 -45
- package/dist/src/fetch.js +70 -69
- package/dist/src/generated/typus_perp/admin.d.ts +32 -42
- package/dist/src/generated/typus_perp/admin.js +41 -67
- package/dist/src/generated/typus_perp/competition.d.ts +22 -10
- package/dist/src/generated/typus_perp/competition.js +19 -54
- package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +2 -2
- package/dist/src/generated/typus_perp/deps/std/type_name.js +2 -2
- package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +3 -3
- package/dist/src/generated/typus_perp/deps/sui/balance.js +3 -3
- package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +4 -6
- package/dist/src/generated/typus_perp/deps/sui/object_table.js +4 -38
- package/dist/src/generated/typus_perp/deps/sui/table.d.ts +4 -6
- package/dist/src/generated/typus_perp/deps/sui/table.js +4 -38
- package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +2 -2
- package/dist/src/generated/typus_perp/deps/sui/vec_set.js +2 -2
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +7 -9
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +6 -6
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +6 -10
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +5 -39
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +14 -8
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +13 -39
- package/dist/src/generated/typus_perp/error.d.ts +97 -87
- package/dist/src/generated/typus_perp/error.js +18 -0
- package/dist/src/generated/typus_perp/escrow.d.ts +17 -21
- package/dist/src/generated/typus_perp/escrow.js +10 -22
- package/dist/src/generated/typus_perp/lending.d.ts +47 -0
- package/dist/src/generated/typus_perp/lending.js +40 -0
- package/dist/src/generated/typus_perp/lp_pool.d.ts +718 -397
- package/dist/src/generated/typus_perp/lp_pool.js +485 -365
- package/dist/src/generated/typus_perp/math.d.ts +18 -8
- package/dist/src/generated/typus_perp/math.js +24 -6
- package/dist/src/generated/typus_perp/position.d.ts +207 -185
- package/dist/src/generated/typus_perp/position.js +236 -277
- package/dist/src/generated/typus_perp/profit_vault.d.ts +64 -72
- package/dist/src/generated/typus_perp/profit_vault.js +48 -86
- package/dist/src/generated/typus_perp/symbol.d.ts +6 -6
- package/dist/src/generated/typus_perp/symbol.js +11 -13
- package/dist/src/generated/typus_perp/trading.d.ts +451 -558
- package/dist/src/generated/typus_perp/trading.js +429 -681
- package/dist/src/generated/typus_perp/treasury_caps.d.ts +5 -7
- package/dist/src/generated/typus_perp/treasury_caps.js +8 -45
- package/dist/src/generated/typus_stake_pool/admin.d.ts +13 -122
- package/dist/src/generated/typus_stake_pool/admin.js +19 -103
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +2 -2
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +2 -2
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +2 -2
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +2 -2
- package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +249 -240
- package/dist/src/generated/typus_stake_pool/stake_pool.js +159 -246
- package/dist/src/generated/utils/index.d.ts +21 -2
- package/dist/src/generated/utils/index.js +34 -10
- package/dist/src/user/history.d.ts +3 -2
- package/dist/src/user/history.js +60 -18
- package/dist/src/user/order.d.ts +1 -1
- package/dist/src/user/orderWithBidReceipt.d.ts +1 -1
- package/package.json +8 -15
- package/dist/src/generated/typus_perp/deps/sui/object.d.ts +0 -8
- package/dist/src/generated/typus_perp/deps/sui/object.js +0 -16
- package/dist/src/generated/typus_perp/user_account.d.ts +0 -146
- package/dist/src/generated/typus_perp/user_account.js +0 -221
- package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +0 -8
- package/dist/src/generated/typus_stake_pool/deps/sui/object.js +0 -16
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +0 -30
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +0 -37
- package/dist/src/grpc/graphql.d.ts +0 -26
- package/dist/src/grpc/graphql.js +0 -126
- package/dist/src/grpc/grpc.d.ts +0 -1
- package/dist/src/grpc/grpc.js +0 -38
- package/dist/src/grpc/ledgerService.d.ts +0 -0
- package/dist/src/grpc/ledgerService.js +0 -64
- package/dist/src/grpc/liveDataService.d.ts +0 -0
- package/dist/src/grpc/liveDataService.js +0 -49
|
@@ -10,434 +10,444 @@ export interface PoolInactiveOptions {
|
|
|
10
10
|
package?: string;
|
|
11
11
|
arguments?: [];
|
|
12
12
|
}
|
|
13
|
-
export declare function poolInactive(options?: PoolInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
13
|
+
export declare function poolInactive(options?: PoolInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
14
14
|
export interface PoolAlreadyActiveOptions {
|
|
15
15
|
package?: string;
|
|
16
16
|
arguments?: [];
|
|
17
17
|
}
|
|
18
|
-
export declare function poolAlreadyActive(options?: PoolAlreadyActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
18
|
+
export declare function poolAlreadyActive(options?: PoolAlreadyActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
19
19
|
export interface TokenPoolInactiveOptions {
|
|
20
20
|
package?: string;
|
|
21
21
|
arguments?: [];
|
|
22
22
|
}
|
|
23
|
-
export declare function tokenPoolInactive(options?: TokenPoolInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
23
|
+
export declare function tokenPoolInactive(options?: TokenPoolInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
24
24
|
export interface TokenPoolAlreadyActiveOptions {
|
|
25
25
|
package?: string;
|
|
26
26
|
arguments?: [];
|
|
27
27
|
}
|
|
28
|
-
export declare function tokenPoolAlreadyActive(options?: TokenPoolAlreadyActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
28
|
+
export declare function tokenPoolAlreadyActive(options?: TokenPoolAlreadyActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
29
29
|
export interface LpTokenTypeMismatchedOptions {
|
|
30
30
|
package?: string;
|
|
31
31
|
arguments?: [];
|
|
32
32
|
}
|
|
33
|
-
export declare function lpTokenTypeMismatched(options?: LpTokenTypeMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
33
|
+
export declare function lpTokenTypeMismatched(options?: LpTokenTypeMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
34
34
|
export interface LiquidityTokenNotExistedOptions {
|
|
35
35
|
package?: string;
|
|
36
36
|
arguments?: [];
|
|
37
37
|
}
|
|
38
|
-
export declare function liquidityTokenNotExisted(options?: LiquidityTokenNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
38
|
+
export declare function liquidityTokenNotExisted(options?: LiquidityTokenNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
39
39
|
export interface DepositAmountInsufficientOptions {
|
|
40
40
|
package?: string;
|
|
41
41
|
arguments?: [];
|
|
42
42
|
}
|
|
43
|
-
export declare function depositAmountInsufficient(options?: DepositAmountInsufficientOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
43
|
+
export declare function depositAmountInsufficient(options?: DepositAmountInsufficientOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
44
44
|
export interface OracleMismatchedOptions {
|
|
45
45
|
package?: string;
|
|
46
46
|
arguments?: [];
|
|
47
47
|
}
|
|
48
|
-
export declare function oracleMismatched(options?: OracleMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
48
|
+
export declare function oracleMismatched(options?: OracleMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
49
49
|
export interface InsufficientAmountForMintFeeOptions {
|
|
50
50
|
package?: string;
|
|
51
51
|
arguments?: [];
|
|
52
52
|
}
|
|
53
|
-
export declare function insufficientAmountForMintFee(options?: InsufficientAmountForMintFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
53
|
+
export declare function insufficientAmountForMintFee(options?: InsufficientAmountForMintFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
54
54
|
export interface ZeroTotalSupplyOptions {
|
|
55
55
|
package?: string;
|
|
56
56
|
arguments?: [];
|
|
57
57
|
}
|
|
58
|
-
export declare function zeroTotalSupply(options?: ZeroTotalSupplyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
58
|
+
export declare function zeroTotalSupply(options?: ZeroTotalSupplyOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
59
59
|
export interface TvlNotYetUpdatedOptions {
|
|
60
60
|
package?: string;
|
|
61
61
|
arguments?: [];
|
|
62
62
|
}
|
|
63
|
-
export declare function tvlNotYetUpdated(options?: TvlNotYetUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
63
|
+
export declare function tvlNotYetUpdated(options?: TvlNotYetUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
64
64
|
export interface LiquidityNotEnoughOptions {
|
|
65
65
|
package?: string;
|
|
66
66
|
arguments?: [];
|
|
67
67
|
}
|
|
68
|
-
export declare function liquidityNotEnough(options?: LiquidityNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
68
|
+
export declare function liquidityNotEnough(options?: LiquidityNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
69
69
|
export interface ReachMaxCapacityOptions {
|
|
70
70
|
package?: string;
|
|
71
71
|
arguments?: [];
|
|
72
72
|
}
|
|
73
|
-
export declare function reachMaxCapacity(options?: ReachMaxCapacityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
73
|
+
export declare function reachMaxCapacity(options?: ReachMaxCapacityOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
74
74
|
export interface ReachSlippageThresholdOptions {
|
|
75
75
|
package?: string;
|
|
76
76
|
arguments?: [];
|
|
77
77
|
}
|
|
78
|
-
export declare function reachSlippageThreshold(options?: ReachSlippageThresholdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
78
|
+
export declare function reachSlippageThreshold(options?: ReachSlippageThresholdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
79
79
|
export interface FrictionTooLargeOptions {
|
|
80
80
|
package?: string;
|
|
81
81
|
arguments?: [];
|
|
82
82
|
}
|
|
83
|
-
export declare function frictionTooLarge(options?: FrictionTooLargeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
83
|
+
export declare function frictionTooLarge(options?: FrictionTooLargeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
84
84
|
export interface InvalidTokenTypeOptions {
|
|
85
85
|
package?: string;
|
|
86
86
|
arguments?: [];
|
|
87
87
|
}
|
|
88
|
-
export declare function invalidTokenType(options?: InvalidTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
88
|
+
export declare function invalidTokenType(options?: InvalidTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
89
89
|
export interface DeactivatingSharesAlreadyExistedOptions {
|
|
90
90
|
package?: string;
|
|
91
91
|
arguments?: [];
|
|
92
92
|
}
|
|
93
|
-
export declare function deactivatingSharesAlreadyExisted(options?: DeactivatingSharesAlreadyExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
93
|
+
export declare function deactivatingSharesAlreadyExisted(options?: DeactivatingSharesAlreadyExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
94
94
|
export interface UserDeactivatingSharesNotExistedOptions {
|
|
95
95
|
package?: string;
|
|
96
96
|
arguments?: [];
|
|
97
97
|
}
|
|
98
|
-
export declare function userDeactivatingSharesNotExisted(options?: UserDeactivatingSharesNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
98
|
+
export declare function userDeactivatingSharesNotExisted(options?: UserDeactivatingSharesNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
99
99
|
export interface LiquidityTokenExistedOptions {
|
|
100
100
|
package?: string;
|
|
101
101
|
arguments?: [];
|
|
102
102
|
}
|
|
103
|
-
export declare function liquidityTokenExisted(options?: LiquidityTokenExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
103
|
+
export declare function liquidityTokenExisted(options?: LiquidityTokenExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
104
104
|
export interface InvalidConfigRangeOptions {
|
|
105
105
|
package?: string;
|
|
106
106
|
arguments?: [];
|
|
107
107
|
}
|
|
108
|
-
export declare function invalidConfigRange(options?: InvalidConfigRangeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
108
|
+
export declare function invalidConfigRange(options?: InvalidConfigRangeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
109
109
|
export interface PoolIndexMismatchedOptions {
|
|
110
110
|
package?: string;
|
|
111
111
|
arguments?: [];
|
|
112
112
|
}
|
|
113
|
-
export declare function poolIndexMismatched(options?: PoolIndexMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
113
|
+
export declare function poolIndexMismatched(options?: PoolIndexMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
114
114
|
export interface ReserveBookkeepingErrorOptions {
|
|
115
115
|
package?: string;
|
|
116
116
|
arguments?: [];
|
|
117
117
|
}
|
|
118
|
-
export declare function reserveBookkeepingError(options?: ReserveBookkeepingErrorOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
118
|
+
export declare function reserveBookkeepingError(options?: ReserveBookkeepingErrorOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
119
119
|
export interface RebalanceProcessFieldMismatchedOptions {
|
|
120
120
|
package?: string;
|
|
121
121
|
arguments?: [];
|
|
122
122
|
}
|
|
123
|
-
export declare function rebalanceProcessFieldMismatched(options?: RebalanceProcessFieldMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
123
|
+
export declare function rebalanceProcessFieldMismatched(options?: RebalanceProcessFieldMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
124
124
|
export interface ExceedRebalanceCostThresholdOptions {
|
|
125
125
|
package?: string;
|
|
126
126
|
arguments?: [];
|
|
127
127
|
}
|
|
128
|
-
export declare function exceedRebalanceCostThreshold(options?: ExceedRebalanceCostThresholdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
128
|
+
export declare function exceedRebalanceCostThreshold(options?: ExceedRebalanceCostThresholdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
129
129
|
export interface ProcessShouldRemovePositionOptions {
|
|
130
130
|
package?: string;
|
|
131
131
|
arguments?: [];
|
|
132
132
|
}
|
|
133
|
-
export declare function processShouldRemovePosition(options?: ProcessShouldRemovePositionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
133
|
+
export declare function processShouldRemovePosition(options?: ProcessShouldRemovePositionOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
134
134
|
export interface ProcessShouldRemoveOrderOptions {
|
|
135
135
|
package?: string;
|
|
136
136
|
arguments?: [];
|
|
137
137
|
}
|
|
138
|
-
export declare function processShouldRemoveOrder(options?: ProcessShouldRemoveOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
138
|
+
export declare function processShouldRemoveOrder(options?: ProcessShouldRemoveOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
139
139
|
export interface ProcessShouldSwapOptions {
|
|
140
140
|
package?: string;
|
|
141
141
|
arguments?: [];
|
|
142
142
|
}
|
|
143
|
-
export declare function processShouldSwap(options?: ProcessShouldSwapOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
143
|
+
export declare function processShouldSwap(options?: ProcessShouldSwapOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
144
144
|
export interface ProcessShouldRepayLiquidityOptions {
|
|
145
145
|
package?: string;
|
|
146
146
|
arguments?: [];
|
|
147
147
|
}
|
|
148
|
-
export declare function processShouldRepayLiquidity(options?: ProcessShouldRepayLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
148
|
+
export declare function processShouldRepayLiquidity(options?: ProcessShouldRepayLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
149
149
|
export interface UnsupportedProcessStatusCodeOptions {
|
|
150
150
|
package?: string;
|
|
151
151
|
arguments?: [];
|
|
152
152
|
}
|
|
153
|
-
export declare function unsupportedProcessStatusCode(options?: UnsupportedProcessStatusCodeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
153
|
+
export declare function unsupportedProcessStatusCode(options?: UnsupportedProcessStatusCodeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
154
154
|
export interface ZeroPriceOptions {
|
|
155
155
|
package?: string;
|
|
156
156
|
arguments?: [];
|
|
157
157
|
}
|
|
158
|
-
export declare function zeroPrice(options?: ZeroPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
158
|
+
export declare function zeroPrice(options?: ZeroPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
159
159
|
export interface AuthorityAlreadyExistedOptions {
|
|
160
160
|
package?: string;
|
|
161
161
|
arguments?: [];
|
|
162
162
|
}
|
|
163
|
-
export declare function authorityAlreadyExisted(options?: AuthorityAlreadyExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
163
|
+
export declare function authorityAlreadyExisted(options?: AuthorityAlreadyExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
164
164
|
export interface AuthorityDoestNotExistOptions {
|
|
165
165
|
package?: string;
|
|
166
166
|
arguments?: [];
|
|
167
167
|
}
|
|
168
|
-
export declare function authorityDoestNotExist(options?: AuthorityDoestNotExistOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
168
|
+
export declare function authorityDoestNotExist(options?: AuthorityDoestNotExistOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
169
169
|
export interface AuthorityEmptyOptions {
|
|
170
170
|
package?: string;
|
|
171
171
|
arguments?: [];
|
|
172
172
|
}
|
|
173
|
-
export declare function authorityEmpty(options?: AuthorityEmptyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
173
|
+
export declare function authorityEmpty(options?: AuthorityEmptyOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
174
174
|
export interface InvalidVersionOptions {
|
|
175
175
|
package?: string;
|
|
176
176
|
arguments?: [];
|
|
177
177
|
}
|
|
178
|
-
export declare function invalidVersion(options?: InvalidVersionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
178
|
+
export declare function invalidVersion(options?: InvalidVersionOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
179
179
|
export interface UnauthorizedOptions {
|
|
180
180
|
package?: string;
|
|
181
181
|
arguments?: [];
|
|
182
182
|
}
|
|
183
|
-
export declare function unauthorized(options?: UnauthorizedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
183
|
+
export declare function unauthorized(options?: UnauthorizedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
184
184
|
export interface NotReduceOnlyExecutionOptions {
|
|
185
185
|
package?: string;
|
|
186
186
|
arguments?: [];
|
|
187
187
|
}
|
|
188
|
-
export declare function notReduceOnlyExecution(options?: NotReduceOnlyExecutionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
188
|
+
export declare function notReduceOnlyExecution(options?: NotReduceOnlyExecutionOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
189
189
|
export interface WrongCollateralTypeOptions {
|
|
190
190
|
package?: string;
|
|
191
191
|
arguments?: [];
|
|
192
192
|
}
|
|
193
|
-
export declare function wrongCollateralType(options?: WrongCollateralTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
193
|
+
export declare function wrongCollateralType(options?: WrongCollateralTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
194
194
|
export interface InvalidBidReceiptsInputOptions {
|
|
195
195
|
package?: string;
|
|
196
196
|
arguments?: [];
|
|
197
197
|
}
|
|
198
|
-
export declare function invalidBidReceiptsInput(options?: InvalidBidReceiptsInputOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
198
|
+
export declare function invalidBidReceiptsInput(options?: InvalidBidReceiptsInputOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
199
199
|
export interface DepositTokenMismatchedOptions {
|
|
200
200
|
package?: string;
|
|
201
201
|
arguments?: [];
|
|
202
202
|
}
|
|
203
|
-
export declare function depositTokenMismatched(options?: DepositTokenMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
203
|
+
export declare function depositTokenMismatched(options?: DepositTokenMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
204
204
|
export interface LinkedOrderIdNotExistedOptions {
|
|
205
205
|
package?: string;
|
|
206
206
|
arguments?: [];
|
|
207
207
|
}
|
|
208
|
-
export declare function linkedOrderIdNotExisted(options?: LinkedOrderIdNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
208
|
+
export declare function linkedOrderIdNotExisted(options?: LinkedOrderIdNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
209
209
|
export interface PortfolioIndexMismatchedOptions {
|
|
210
210
|
package?: string;
|
|
211
211
|
arguments?: [];
|
|
212
212
|
}
|
|
213
|
-
export declare function portfolioIndexMismatched(options?: PortfolioIndexMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
213
|
+
export declare function portfolioIndexMismatched(options?: PortfolioIndexMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
214
214
|
export interface NotOptionCollateralOrderOptions {
|
|
215
215
|
package?: string;
|
|
216
216
|
arguments?: [];
|
|
217
217
|
}
|
|
218
|
-
export declare function notOptionCollateralOrder(options?: NotOptionCollateralOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
218
|
+
export declare function notOptionCollateralOrder(options?: NotOptionCollateralOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
219
219
|
export interface NotOptionCollateralPositionOptions {
|
|
220
220
|
package?: string;
|
|
221
221
|
arguments?: [];
|
|
222
222
|
}
|
|
223
|
-
export declare function notOptionCollateralPosition(options?: NotOptionCollateralPositionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
223
|
+
export declare function notOptionCollateralPosition(options?: NotOptionCollateralPositionOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
224
224
|
export interface NotTokenCollateralPositionOptions {
|
|
225
225
|
package?: string;
|
|
226
226
|
arguments?: [];
|
|
227
227
|
}
|
|
228
|
-
export declare function notTokenCollateralPosition(options?: NotTokenCollateralPositionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
228
|
+
export declare function notTokenCollateralPosition(options?: NotTokenCollateralPositionOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
229
229
|
export interface TooManyLinkedOrdersOptions {
|
|
230
230
|
package?: string;
|
|
231
231
|
arguments?: [];
|
|
232
232
|
}
|
|
233
|
-
export declare function tooManyLinkedOrders(options?: TooManyLinkedOrdersOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
233
|
+
export declare function tooManyLinkedOrders(options?: TooManyLinkedOrdersOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
234
|
+
export interface PositionCoolDownThresholdOptions {
|
|
235
|
+
package?: string;
|
|
236
|
+
arguments?: [];
|
|
237
|
+
}
|
|
238
|
+
export declare function positionCoolDownThreshold(options?: PositionCoolDownThresholdOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
234
239
|
export interface TradingSymbolExistedOptions {
|
|
235
240
|
package?: string;
|
|
236
241
|
arguments?: [];
|
|
237
242
|
}
|
|
238
|
-
export declare function tradingSymbolExisted(options?: TradingSymbolExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
243
|
+
export declare function tradingSymbolExisted(options?: TradingSymbolExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
239
244
|
export interface TradingSymbolNotExistedOptions {
|
|
240
245
|
package?: string;
|
|
241
246
|
arguments?: [];
|
|
242
247
|
}
|
|
243
|
-
export declare function tradingSymbolNotExisted(options?: TradingSymbolNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
248
|
+
export declare function tradingSymbolNotExisted(options?: TradingSymbolNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
244
249
|
export interface MarketsInactiveOptions {
|
|
245
250
|
package?: string;
|
|
246
251
|
arguments?: [];
|
|
247
252
|
}
|
|
248
|
-
export declare function marketsInactive(options?: MarketsInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
253
|
+
export declare function marketsInactive(options?: MarketsInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
249
254
|
export interface TradingSymbolInactiveOptions {
|
|
250
255
|
package?: string;
|
|
251
256
|
arguments?: [];
|
|
252
257
|
}
|
|
253
|
-
export declare function tradingSymbolInactive(options?: TradingSymbolInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
258
|
+
export declare function tradingSymbolInactive(options?: TradingSymbolInactiveOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
254
259
|
export interface ActiveTradingSymbolOptions {
|
|
255
260
|
package?: string;
|
|
256
261
|
arguments?: [];
|
|
257
262
|
}
|
|
258
|
-
export declare function activeTradingSymbol(options?: ActiveTradingSymbolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
263
|
+
export declare function activeTradingSymbol(options?: ActiveTradingSymbolOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
259
264
|
export interface OrderNotFoundOptions {
|
|
260
265
|
package?: string;
|
|
261
266
|
arguments?: [];
|
|
262
267
|
}
|
|
263
|
-
export declare function orderNotFound(options?: OrderNotFoundOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
268
|
+
export declare function orderNotFound(options?: OrderNotFoundOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
264
269
|
export interface UnsupportedOrderTypeTagOptions {
|
|
265
270
|
package?: string;
|
|
266
271
|
arguments?: [];
|
|
267
272
|
}
|
|
268
|
-
export declare function unsupportedOrderTypeTag(options?: UnsupportedOrderTypeTagOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
273
|
+
export declare function unsupportedOrderTypeTag(options?: UnsupportedOrderTypeTagOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
269
274
|
export interface ExceedMaxLeverageOptions {
|
|
270
275
|
package?: string;
|
|
271
276
|
arguments?: [];
|
|
272
277
|
}
|
|
273
|
-
export declare function exceedMaxLeverage(options?: ExceedMaxLeverageOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
278
|
+
export declare function exceedMaxLeverage(options?: ExceedMaxLeverageOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
274
279
|
export interface CollateralTokenTypeMismatchedOptions {
|
|
275
280
|
package?: string;
|
|
276
281
|
arguments?: [];
|
|
277
282
|
}
|
|
278
|
-
export declare function collateralTokenTypeMismatched(options?: CollateralTokenTypeMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
283
|
+
export declare function collateralTokenTypeMismatched(options?: CollateralTokenTypeMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
279
284
|
export interface BidReceiptHasBeenExpiredOptions {
|
|
280
285
|
package?: string;
|
|
281
286
|
arguments?: [];
|
|
282
287
|
}
|
|
283
|
-
export declare function bidReceiptHasBeenExpired(options?: BidReceiptHasBeenExpiredOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
288
|
+
export declare function bidReceiptHasBeenExpired(options?: BidReceiptHasBeenExpiredOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
284
289
|
export interface BidReceiptNotExpiredOptions {
|
|
285
290
|
package?: string;
|
|
286
291
|
arguments?: [];
|
|
287
292
|
}
|
|
288
|
-
export declare function bidReceiptNotExpired(options?: BidReceiptNotExpiredOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
293
|
+
export declare function bidReceiptNotExpired(options?: BidReceiptNotExpiredOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
289
294
|
export interface BidReceiptNotItmOptions {
|
|
290
295
|
package?: string;
|
|
291
296
|
arguments?: [];
|
|
292
297
|
}
|
|
293
|
-
export declare function bidReceiptNotItm(options?: BidReceiptNotItmOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
298
|
+
export declare function bidReceiptNotItm(options?: BidReceiptNotItmOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
294
299
|
export interface InvalidOrderSideOptions {
|
|
295
300
|
package?: string;
|
|
296
301
|
arguments?: [];
|
|
297
302
|
}
|
|
298
|
-
export declare function invalidOrderSide(options?: InvalidOrderSideOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
303
|
+
export declare function invalidOrderSide(options?: InvalidOrderSideOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
299
304
|
export interface InvalidOrderSizeOptions {
|
|
300
305
|
package?: string;
|
|
301
306
|
arguments?: [];
|
|
302
307
|
}
|
|
303
|
-
export declare function invalidOrderSize(options?: InvalidOrderSizeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
308
|
+
export declare function invalidOrderSize(options?: InvalidOrderSizeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
304
309
|
export interface AddSizeNotAllowedOptions {
|
|
305
310
|
package?: string;
|
|
306
311
|
arguments?: [];
|
|
307
312
|
}
|
|
308
|
-
export declare function addSizeNotAllowed(options?: AddSizeNotAllowedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
313
|
+
export declare function addSizeNotAllowed(options?: AddSizeNotAllowedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
309
314
|
export interface BaseTokenMismatchedOptions {
|
|
310
315
|
package?: string;
|
|
311
316
|
arguments?: [];
|
|
312
317
|
}
|
|
313
|
-
export declare function baseTokenMismatched(options?: BaseTokenMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
318
|
+
export declare function baseTokenMismatched(options?: BaseTokenMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
314
319
|
export interface UserMismatchedOptions {
|
|
315
320
|
package?: string;
|
|
316
321
|
arguments?: [];
|
|
317
322
|
}
|
|
318
|
-
export declare function userMismatched(options?: UserMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
323
|
+
export declare function userMismatched(options?: UserMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
319
324
|
export interface TokenCollateralNotEnoughOptions {
|
|
320
325
|
package?: string;
|
|
321
326
|
arguments?: [];
|
|
322
327
|
}
|
|
323
|
-
export declare function tokenCollateralNotEnough(options?: TokenCollateralNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
328
|
+
export declare function tokenCollateralNotEnough(options?: TokenCollateralNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
324
329
|
export interface OptionCollateralNotEnoughOptions {
|
|
325
330
|
package?: string;
|
|
326
331
|
arguments?: [];
|
|
327
332
|
}
|
|
328
|
-
export declare function optionCollateralNotEnough(options?: OptionCollateralNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
333
|
+
export declare function optionCollateralNotEnough(options?: OptionCollateralNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
329
334
|
export interface RemainingCollateralNotEnoughOptions {
|
|
330
335
|
package?: string;
|
|
331
336
|
arguments?: [];
|
|
332
337
|
}
|
|
333
|
-
export declare function remainingCollateralNotEnough(options?: RemainingCollateralNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
338
|
+
export declare function remainingCollateralNotEnough(options?: RemainingCollateralNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
334
339
|
export interface ReachMaxSingleOrderReserveUsageOptions {
|
|
335
340
|
package?: string;
|
|
336
341
|
arguments?: [];
|
|
337
342
|
}
|
|
338
|
-
export declare function reachMaxSingleOrderReserveUsage(options?: ReachMaxSingleOrderReserveUsageOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
343
|
+
export declare function reachMaxSingleOrderReserveUsage(options?: ReachMaxSingleOrderReserveUsageOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
339
344
|
export interface OptionCollateralOrderNotFilledOptions {
|
|
340
345
|
package?: string;
|
|
341
346
|
arguments?: [];
|
|
342
347
|
}
|
|
343
|
-
export declare function optionCollateralOrderNotFilled(options?: OptionCollateralOrderNotFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
348
|
+
export declare function optionCollateralOrderNotFilled(options?: OptionCollateralOrderNotFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
344
349
|
export interface OrderNotFilledImmediatelyOptions {
|
|
345
350
|
package?: string;
|
|
346
351
|
arguments?: [];
|
|
347
352
|
}
|
|
348
|
-
export declare function orderNotFilledImmediately(options?: OrderNotFilledImmediatelyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
353
|
+
export declare function orderNotFilledImmediately(options?: OrderNotFilledImmediatelyOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
349
354
|
export interface LpPoolReserveNotEnoughOptions {
|
|
350
355
|
package?: string;
|
|
351
356
|
arguments?: [];
|
|
352
357
|
}
|
|
353
|
-
export declare function lpPoolReserveNotEnough(options?: LpPoolReserveNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
358
|
+
export declare function lpPoolReserveNotEnough(options?: LpPoolReserveNotEnoughOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
354
359
|
export interface PerpPositionLossesOptions {
|
|
355
360
|
package?: string;
|
|
356
361
|
arguments?: [];
|
|
357
362
|
}
|
|
358
|
-
export declare function perpPositionLosses(options?: PerpPositionLossesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
363
|
+
export declare function perpPositionLosses(options?: PerpPositionLossesOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
359
364
|
export interface InvalidTradingFeeConfigOptions {
|
|
360
365
|
package?: string;
|
|
361
366
|
arguments?: [];
|
|
362
367
|
}
|
|
363
|
-
export declare function invalidTradingFeeConfig(options?: InvalidTradingFeeConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
368
|
+
export declare function invalidTradingFeeConfig(options?: InvalidTradingFeeConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
364
369
|
export interface OrderOrPositionSizeNotZeroOptions {
|
|
365
370
|
package?: string;
|
|
366
371
|
arguments?: [];
|
|
367
372
|
}
|
|
368
|
-
export declare function orderOrPositionSizeNotZero(options?: OrderOrPositionSizeNotZeroOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
373
|
+
export declare function orderOrPositionSizeNotZero(options?: OrderOrPositionSizeNotZeroOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
369
374
|
export interface BalanceNotEnoughForPayingFeeOptions {
|
|
370
375
|
package?: string;
|
|
371
376
|
arguments?: [];
|
|
372
377
|
}
|
|
373
|
-
export declare function balanceNotEnoughForPayingFee(options?: BalanceNotEnoughForPayingFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
378
|
+
export declare function balanceNotEnoughForPayingFee(options?: BalanceNotEnoughForPayingFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
374
379
|
export interface PositionIdNeededWithReduceOnlyOrderOptions {
|
|
375
380
|
package?: string;
|
|
376
381
|
arguments?: [];
|
|
377
382
|
}
|
|
378
|
-
export declare function positionIdNeededWithReduceOnlyOrder(options?: PositionIdNeededWithReduceOnlyOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
383
|
+
export declare function positionIdNeededWithReduceOnlyOrder(options?: PositionIdNeededWithReduceOnlyOrderOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
379
384
|
export interface AuctionNotYetEndedOptions {
|
|
380
385
|
package?: string;
|
|
381
386
|
arguments?: [];
|
|
382
387
|
}
|
|
383
|
-
export declare function auctionNotYetEnded(options?: AuctionNotYetEndedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
388
|
+
export declare function auctionNotYetEnded(options?: AuctionNotYetEndedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
384
389
|
export interface BidTokenMismatchedOptions {
|
|
385
390
|
package?: string;
|
|
386
391
|
arguments?: [];
|
|
387
392
|
}
|
|
388
|
-
export declare function bidTokenMismatched(options?: BidTokenMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
393
|
+
export declare function bidTokenMismatched(options?: BidTokenMismatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
389
394
|
export interface ExceedMaxOpenInterestOptions {
|
|
390
395
|
package?: string;
|
|
391
396
|
arguments?: [];
|
|
392
397
|
}
|
|
393
|
-
export declare function exceedMaxOpenInterest(options?: ExceedMaxOpenInterestOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
398
|
+
export declare function exceedMaxOpenInterest(options?: ExceedMaxOpenInterestOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
394
399
|
export interface InvalidOrderPriceOptions {
|
|
395
400
|
package?: string;
|
|
396
401
|
arguments?: [];
|
|
397
402
|
}
|
|
398
|
-
export declare function invalidOrderPrice(options?: InvalidOrderPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
403
|
+
export declare function invalidOrderPrice(options?: InvalidOrderPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
399
404
|
export interface InvalidUserAccountOptions {
|
|
400
405
|
package?: string;
|
|
401
406
|
arguments?: [];
|
|
402
407
|
}
|
|
403
|
-
export declare function invalidUserAccount(options?: InvalidUserAccountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
408
|
+
export declare function invalidUserAccount(options?: InvalidUserAccountOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
409
|
+
export interface OptionCollateralPositionNotSupportedOptions {
|
|
410
|
+
package?: string;
|
|
411
|
+
arguments?: [];
|
|
412
|
+
}
|
|
413
|
+
export declare function optionCollateralPositionNotSupported(options?: OptionCollateralPositionNotSupportedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
404
414
|
export interface NotUserAccountOwnerOptions {
|
|
405
415
|
package?: string;
|
|
406
416
|
arguments?: [];
|
|
407
417
|
}
|
|
408
|
-
export declare function notUserAccountOwner(options?: NotUserAccountOwnerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
418
|
+
export declare function notUserAccountOwner(options?: NotUserAccountOwnerOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
409
419
|
export interface NoBalanceOptions {
|
|
410
420
|
package?: string;
|
|
411
421
|
arguments?: [];
|
|
412
422
|
}
|
|
413
|
-
export declare function noBalance(options?: NoBalanceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
423
|
+
export declare function noBalance(options?: NoBalanceOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
414
424
|
export interface NotUserAccountCapOptions {
|
|
415
425
|
package?: string;
|
|
416
426
|
arguments?: [];
|
|
417
427
|
}
|
|
418
|
-
export declare function notUserAccountCap(options?: NotUserAccountCapOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
428
|
+
export declare function notUserAccountCap(options?: NotUserAccountCapOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
419
429
|
export interface NotEmptySymbolsOptions {
|
|
420
430
|
package?: string;
|
|
421
431
|
arguments?: [];
|
|
422
432
|
}
|
|
423
|
-
export declare function notEmptySymbols(options?: NotEmptySymbolsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
433
|
+
export declare function notEmptySymbols(options?: NotEmptySymbolsOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
424
434
|
export interface InvalidBoostBpArrayLengthOptions {
|
|
425
435
|
package?: string;
|
|
426
436
|
arguments?: [];
|
|
427
437
|
}
|
|
428
|
-
export declare function invalidBoostBpArrayLength(options?: InvalidBoostBpArrayLengthOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
438
|
+
export declare function invalidBoostBpArrayLength(options?: InvalidBoostBpArrayLengthOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
429
439
|
export interface InvalidIdxOptions {
|
|
430
440
|
package?: string;
|
|
431
441
|
arguments?: [];
|
|
432
442
|
}
|
|
433
|
-
export declare function invalidIdx(options?: InvalidIdxOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
443
|
+
export declare function invalidIdx(options?: InvalidIdxOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
434
444
|
export interface WhitelistAlreadyExistedOptions {
|
|
435
445
|
package?: string;
|
|
436
446
|
arguments?: [];
|
|
437
447
|
}
|
|
438
|
-
export declare function whitelistAlreadyExisted(options?: WhitelistAlreadyExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
448
|
+
export declare function whitelistAlreadyExisted(options?: WhitelistAlreadyExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
439
449
|
export interface WhitelistNotExistedOptions {
|
|
440
450
|
package?: string;
|
|
441
451
|
arguments?: [];
|
|
442
452
|
}
|
|
443
|
-
export declare function whitelistNotExisted(options?: WhitelistNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
453
|
+
export declare function whitelistNotExisted(options?: WhitelistNotExistedOptions): (tx: Transaction) => import("@mysten/sui/transactions", { with: { "resolution-mode": "import" } }).TransactionResult;
|
|
@@ -48,6 +48,7 @@ exports.notOptionCollateralOrder = notOptionCollateralOrder;
|
|
|
48
48
|
exports.notOptionCollateralPosition = notOptionCollateralPosition;
|
|
49
49
|
exports.notTokenCollateralPosition = notTokenCollateralPosition;
|
|
50
50
|
exports.tooManyLinkedOrders = tooManyLinkedOrders;
|
|
51
|
+
exports.positionCoolDownThreshold = positionCoolDownThreshold;
|
|
51
52
|
exports.tradingSymbolExisted = tradingSymbolExisted;
|
|
52
53
|
exports.tradingSymbolNotExisted = tradingSymbolNotExisted;
|
|
53
54
|
exports.marketsInactive = marketsInactive;
|
|
@@ -82,6 +83,7 @@ exports.bidTokenMismatched = bidTokenMismatched;
|
|
|
82
83
|
exports.exceedMaxOpenInterest = exceedMaxOpenInterest;
|
|
83
84
|
exports.invalidOrderPrice = invalidOrderPrice;
|
|
84
85
|
exports.invalidUserAccount = invalidUserAccount;
|
|
86
|
+
exports.optionCollateralPositionNotSupported = optionCollateralPositionNotSupported;
|
|
85
87
|
exports.notUserAccountOwner = notUserAccountOwner;
|
|
86
88
|
exports.noBalance = noBalance;
|
|
87
89
|
exports.notUserAccountCap = notUserAccountCap;
|
|
@@ -450,6 +452,14 @@ function tooManyLinkedOrders(options = {}) {
|
|
|
450
452
|
function: "too_many_linked_orders",
|
|
451
453
|
});
|
|
452
454
|
}
|
|
455
|
+
function positionCoolDownThreshold(options = {}) {
|
|
456
|
+
const packageAddress = options.package ?? "@typus/perp";
|
|
457
|
+
return (tx) => tx.moveCall({
|
|
458
|
+
package: packageAddress,
|
|
459
|
+
module: "error",
|
|
460
|
+
function: "position_cool_down_threshold",
|
|
461
|
+
});
|
|
462
|
+
}
|
|
453
463
|
function tradingSymbolExisted(options = {}) {
|
|
454
464
|
const packageAddress = options.package ?? "@typus/perp";
|
|
455
465
|
return (tx) => tx.moveCall({
|
|
@@ -722,6 +732,14 @@ function invalidUserAccount(options = {}) {
|
|
|
722
732
|
function: "invalid_user_account",
|
|
723
733
|
});
|
|
724
734
|
}
|
|
735
|
+
function optionCollateralPositionNotSupported(options = {}) {
|
|
736
|
+
const packageAddress = options.package ?? "@typus/perp";
|
|
737
|
+
return (tx) => tx.moveCall({
|
|
738
|
+
package: packageAddress,
|
|
739
|
+
module: "error",
|
|
740
|
+
function: "option_collateral_position_not_supported",
|
|
741
|
+
});
|
|
742
|
+
}
|
|
725
743
|
function notUserAccountOwner(options = {}) {
|
|
726
744
|
const packageAddress = options.package ?? "@typus/perp";
|
|
727
745
|
return (tx) => tx.moveCall({
|