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