@mysten/deepbook-v3 2.10.0 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/account-bindings/account-registry.d.mts +13 -13
- package/dist/account-bindings/account.d.mts +25 -25
- package/dist/account-bindings/account.d.mts.map +1 -1
- package/dist/contracts/account/account_events.d.mts +20 -20
- package/dist/contracts/account/account_events.d.mts.map +1 -1
- package/dist/contracts/account/account_registry.d.mts +6 -6
- package/dist/contracts/deepbook/account.d.mts +18 -18
- package/dist/contracts/deepbook/balances.d.mts +4 -4
- package/dist/contracts/deepbook/deep_price.d.mts +3 -3
- package/dist/contracts/deepbook/order.d.mts +12 -12
- package/dist/contracts/deepbook_predict/admin.d.mts +4 -4
- package/dist/contracts/deepbook_predict/admin.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code.d.mts +16 -16
- package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
- package/dist/contracts/deepbook_predict/config_events.d.mts +85 -85
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +62 -62
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
- package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/order_events.d.mts +50 -50
- package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/pause_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/plp.d.mts +74 -74
- package/dist/contracts/deepbook_predict/plp.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
- package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/pricing.d.mts +67 -67
- package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/protocol_config.d.mts +85 -85
- package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/range_codec.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/registry.d.mts +32 -32
- package/dist/contracts/deepbook_predict/registry.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/vault_events.d.mts +131 -131
- package/dist/contracts/deepbook_predict_math/lazer_price.d.mts +13 -13
- package/dist/contracts/deepbook_predict_math/math.d.mts +14 -14
- package/dist/contracts/deepbook_predict_orders/delayed_execution_config.d.mts +30 -30
- package/dist/contracts/deepbook_predict_orders/desk.d.mts +28 -28
- package/dist/contracts/deepbook_predict_orders/desk.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict_orders/order_queue.d.mts +187 -187
- package/dist/contracts/deepbook_predict_orders/queue.d.mts +54 -54
- package/dist/contracts/deepbook_predict_orders/queue_events.d.mts +140 -140
- package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
- package/dist/contracts/deepbook_sessions/session_config.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.d.mts +45 -45
- package/dist/predict/bindings/expiry-market.d.mts +8 -8
- package/dist/predict/bindings/expiry-market.d.mts.map +1 -1
- package/dist/predict/bindings/protocol-config.d.mts +3 -3
- package/dist/predict/bindings/protocol-config.d.mts.map +1 -1
- package/dist/predict/bindings/queue.d.mts +2 -2
- package/dist/predict/bindings/queue.d.mts.map +1 -1
- package/dist/transactions/balanceManager.d.mts +12 -12
- package/dist/transactions/deepbook.d.mts +20 -20
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginManager.d.mts +32 -32
- package/dist/transactions/marginPool.d.mts +18 -18
- package/dist/transactions/marginRegistry.d.mts +16 -16
- package/dist/transactions/marginTPSL.d.mts +10 -10
- package/dist/transactions/poolProxy.d.mts +8 -8
- package/dist/utils/constants.d.mts.map +1 -1
- package/dist/utils/constants.mjs +1 -1
- package/dist/utils/constants.mjs.map +1 -1
- package/package.json +1 -1
- package/src/utils/constants.ts +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigValue, MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs740 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions400 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_sessions/sessions.d.ts
|
|
@@ -8,11 +8,11 @@ declare namespace sessions_d_exports {
|
|
|
8
8
|
export { ApproveSessionBuilderArguments, ApproveSessionBuilderOptions, ApprovedCodeIdArguments, ApprovedCodeIdOptions, ApprovedMaxFeePerContractArguments, ApprovedMaxFeePerContractOptions, AuthorizeSessionArguments, AuthorizeSessionOptions, CancelLiveOrderArguments, CancelLiveOrderOptions, CancelLiveOrdersArguments, CancelLiveOrdersOptions, EnqueueExactAmountArguments, EnqueueExactAmountOptions, EnqueueExactAmountWithBuilderArguments, EnqueueExactAmountWithBuilderOptions, EnqueueExactCostArguments, EnqueueExactCostOptions, EnqueueExactCostWithBuilderArguments, EnqueueExactCostWithBuilderOptions, EnqueueExactQuantityArguments, EnqueueExactQuantityOptions, EnqueueExactQuantityWithBuilderArguments, EnqueueExactQuantityWithBuilderOptions, EnqueueRedeemOpenArguments, EnqueueRedeemOpenOptions, EnqueueRedeemOpenWithBuilderArguments, EnqueueRedeemOpenWithBuilderOptions, MintExactAmountArguments, MintExactAmountOptions, MintExactCostArguments, MintExactCostOptions, MintExactQuantityArguments, MintExactQuantityOptions, PlaceLimitOrderArguments, PlaceLimitOrderOptions, PlaceMarketOrderArguments, PlaceMarketOrderOptions, RedeemLiveArguments, RedeemLiveOptions, RedeemSettledArguments, RedeemSettledOptions, RevokeSessionArguments, RevokeSessionOptions, SessionAuthorized, SessionBuilder, SessionBuilderApproved, SessionBuilderArguments, SessionBuilderCleared, SessionBuilderOptions, SessionBuilders, SessionBuildersApp, SessionExpirationMsArguments, SessionExpirationMsOptions, SessionRevoked, SessionsApp, SessionsData, WithdrawSettledAmountsArguments, WithdrawSettledAmountsOptions, approveSessionBuilder, approvedCodeId, approvedMaxFeePerContract, authorizeSession, cancelLiveOrder, cancelLiveOrders, enqueueExactAmount, enqueueExactAmountWithBuilder, enqueueExactCost, enqueueExactCostWithBuilder, enqueueExactQuantity, enqueueExactQuantityWithBuilder, enqueueRedeemOpen, enqueueRedeemOpenWithBuilder, mintExactAmount, mintExactCost, mintExactQuantity, placeLimitOrder, placeMarketOrder, redeemLive, redeemSettled, revokeSession, sessionBuilder, sessionExpirationMs, withdrawSettledAmounts };
|
|
9
9
|
}
|
|
10
10
|
declare const SessionsApp: MoveStruct<{
|
|
11
|
-
dummy_field:
|
|
11
|
+
dummy_field: _mysten_sui_bcs740.BcsType<boolean, boolean, "bool">;
|
|
12
12
|
}, "@local-pkg/deepbook_sessions::sessions::SessionsApp">;
|
|
13
13
|
declare const SessionsData: MoveStruct<{
|
|
14
14
|
sessions: MoveStruct<{
|
|
15
|
-
contents:
|
|
15
|
+
contents: _mysten_sui_bcs740.BcsType<{
|
|
16
16
|
key: string;
|
|
17
17
|
value: bigint;
|
|
18
18
|
}[], Iterable<{
|
|
@@ -24,25 +24,25 @@ declare const SessionsData: MoveStruct<{
|
|
|
24
24
|
}, "0x2::vec_map::VecMap<bytes[32], u64>">;
|
|
25
25
|
}, "@local-pkg/deepbook_sessions::sessions::SessionsData">;
|
|
26
26
|
declare const SessionAuthorized: MoveStruct<{
|
|
27
|
-
account_id:
|
|
28
|
-
session:
|
|
29
|
-
expires_at_ms:
|
|
27
|
+
account_id: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
28
|
+
session: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
29
|
+
expires_at_ms: _mysten_sui_bcs740.BcsType<bigint, string | number | bigint, "u64">;
|
|
30
30
|
}, "@local-pkg/deepbook_sessions::sessions::SessionAuthorized">;
|
|
31
31
|
declare const SessionRevoked: MoveStruct<{
|
|
32
|
-
account_id:
|
|
33
|
-
session:
|
|
34
|
-
expires_at_ms:
|
|
32
|
+
account_id: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
33
|
+
session: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
34
|
+
expires_at_ms: _mysten_sui_bcs740.BcsType<bigint, string | number | bigint, "u64">;
|
|
35
35
|
}, "@local-pkg/deepbook_sessions::sessions::SessionRevoked">;
|
|
36
36
|
declare const SessionBuildersApp: MoveStruct<{
|
|
37
|
-
dummy_field:
|
|
37
|
+
dummy_field: _mysten_sui_bcs740.BcsType<boolean, boolean, "bool">;
|
|
38
38
|
}, "@local-pkg/deepbook_sessions::sessions::SessionBuildersApp">;
|
|
39
39
|
declare const SessionBuilder: MoveStruct<{
|
|
40
|
-
code_id:
|
|
41
|
-
max_fee_per_contract:
|
|
40
|
+
code_id: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
41
|
+
max_fee_per_contract: _mysten_sui_bcs740.BcsType<bigint, string | number | bigint, "u64">;
|
|
42
42
|
}, "@local-pkg/deepbook_sessions::sessions::SessionBuilder">;
|
|
43
43
|
declare const SessionBuilders: MoveStruct<{
|
|
44
44
|
approvals: MoveStruct<{
|
|
45
|
-
contents:
|
|
45
|
+
contents: _mysten_sui_bcs740.BcsType<{
|
|
46
46
|
key: string;
|
|
47
47
|
value: {
|
|
48
48
|
code_id: string;
|
|
@@ -60,14 +60,14 @@ declare const SessionBuilders: MoveStruct<{
|
|
|
60
60
|
}, "0x2::vec_map::VecMap<bytes[32], @local-pkg/deepbook_sessions::sessions::SessionBuilder>">;
|
|
61
61
|
}, "@local-pkg/deepbook_sessions::sessions::SessionBuilders">;
|
|
62
62
|
declare const SessionBuilderApproved: MoveStruct<{
|
|
63
|
-
account_id:
|
|
64
|
-
session:
|
|
65
|
-
code_id:
|
|
66
|
-
max_fee_per_contract:
|
|
63
|
+
account_id: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
64
|
+
session: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
65
|
+
code_id: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
66
|
+
max_fee_per_contract: _mysten_sui_bcs740.BcsType<bigint, string | number | bigint, "u64">;
|
|
67
67
|
}, "@local-pkg/deepbook_sessions::sessions::SessionBuilderApproved">;
|
|
68
68
|
declare const SessionBuilderCleared: MoveStruct<{
|
|
69
|
-
account_id:
|
|
70
|
-
session:
|
|
69
|
+
account_id: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
70
|
+
session: _mysten_sui_bcs740.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
71
71
|
}, "@local-pkg/deepbook_sessions::sessions::SessionBuilderCleared">;
|
|
72
72
|
interface SessionExpirationMsArguments {
|
|
73
73
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -81,7 +81,7 @@ interface SessionExpirationMsOptions {
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
/** Return a known session's expiration timestamp for SDK and devInspect reads. */
|
|
84
|
-
declare function sessionExpirationMs(options: SessionExpirationMsOptions): (tx: Transaction) =>
|
|
84
|
+
declare function sessionExpirationMs(options: SessionExpirationMsOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
85
85
|
interface SessionBuilderArguments {
|
|
86
86
|
wrapper: RawTransactionArgument<string>;
|
|
87
87
|
session: RawTransactionArgument<string>;
|
|
@@ -94,7 +94,7 @@ interface SessionBuilderOptions {
|
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
/** Return a session's approved builder, or `none`, for SDK and devInspect reads. */
|
|
97
|
-
declare function sessionBuilder(options: SessionBuilderOptions): (tx: Transaction) =>
|
|
97
|
+
declare function sessionBuilder(options: SessionBuilderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
98
98
|
interface ApprovedCodeIdArguments {
|
|
99
99
|
builder: TransactionArgument;
|
|
100
100
|
}
|
|
@@ -106,7 +106,7 @@ interface ApprovedCodeIdOptions {
|
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
/** Return the builder code an approval allows, for SDK and devInspect reads. */
|
|
109
|
-
declare function approvedCodeId(options: ApprovedCodeIdOptions): (tx: Transaction) =>
|
|
109
|
+
declare function approvedCodeId(options: ApprovedCodeIdOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
110
110
|
interface ApprovedMaxFeePerContractArguments {
|
|
111
111
|
builder: TransactionArgument;
|
|
112
112
|
}
|
|
@@ -118,7 +118,7 @@ interface ApprovedMaxFeePerContractOptions {
|
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
/** Return the most an approval allows per contract, for SDK and devInspect reads. */
|
|
121
|
-
declare function approvedMaxFeePerContract(options: ApprovedMaxFeePerContractOptions): (tx: Transaction) =>
|
|
121
|
+
declare function approvedMaxFeePerContract(options: ApprovedMaxFeePerContractOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
122
122
|
interface AuthorizeSessionArguments {
|
|
123
123
|
wrapper: RawTransactionArgument<string>;
|
|
124
124
|
sessionsConfig?: RawTransactionArgument<string>;
|
|
@@ -140,7 +140,7 @@ interface AuthorizeSessionOptions {
|
|
|
140
140
|
* but was never revoked is still stored, so granting it again is a reauthorization
|
|
141
141
|
* and keeps its approval.
|
|
142
142
|
*/
|
|
143
|
-
declare function authorizeSession(options: AuthorizeSessionOptions): (tx: Transaction) =>
|
|
143
|
+
declare function authorizeSession(options: AuthorizeSessionOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
144
144
|
interface ApproveSessionBuilderArguments {
|
|
145
145
|
wrapper: RawTransactionArgument<string>;
|
|
146
146
|
sessionsConfig?: RawTransactionArgument<string>;
|
|
@@ -166,7 +166,7 @@ interface ApproveSessionBuilderOptions {
|
|
|
166
166
|
* `EBuilderApprovalsNotEnabled` until the `SessionsConfig` watermark reaches the
|
|
167
167
|
* first version that clears stale approvals.
|
|
168
168
|
*/
|
|
169
|
-
declare function approveSessionBuilder(options: ApproveSessionBuilderOptions): (tx: Transaction) =>
|
|
169
|
+
declare function approveSessionBuilder(options: ApproveSessionBuilderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
170
170
|
interface RevokeSessionArguments {
|
|
171
171
|
wrapper: RawTransactionArgument<string>;
|
|
172
172
|
session: RawTransactionArgument<string>;
|
|
@@ -182,7 +182,7 @@ interface RevokeSessionOptions {
|
|
|
182
182
|
* Revoke `session` and its builder approval if present. Only the Account owner may
|
|
183
183
|
* call this function.
|
|
184
184
|
*/
|
|
185
|
-
declare function revokeSession(options: RevokeSessionOptions): (tx: Transaction) =>
|
|
185
|
+
declare function revokeSession(options: RevokeSessionOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
186
186
|
interface PlaceLimitOrderArguments {
|
|
187
187
|
pool: RawTransactionArgument<string>;
|
|
188
188
|
deepbookRegistry: RawTransactionArgument<string>;
|
|
@@ -208,7 +208,7 @@ interface PlaceLimitOrderOptions {
|
|
|
208
208
|
typeArguments: [string, string];
|
|
209
209
|
}
|
|
210
210
|
/** Place a DeepBook spot limit order for an Account with an active session. */
|
|
211
|
-
declare function placeLimitOrder(options: PlaceLimitOrderOptions): (tx: Transaction) =>
|
|
211
|
+
declare function placeLimitOrder(options: PlaceLimitOrderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
212
212
|
interface PlaceMarketOrderArguments {
|
|
213
213
|
pool: RawTransactionArgument<string>;
|
|
214
214
|
deepbookRegistry: RawTransactionArgument<string>;
|
|
@@ -232,7 +232,7 @@ interface PlaceMarketOrderOptions {
|
|
|
232
232
|
typeArguments: [string, string];
|
|
233
233
|
}
|
|
234
234
|
/** Place a DeepBook spot market order for an Account with an active session. */
|
|
235
|
-
declare function placeMarketOrder(options: PlaceMarketOrderOptions): (tx: Transaction) =>
|
|
235
|
+
declare function placeMarketOrder(options: PlaceMarketOrderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
236
236
|
interface CancelLiveOrderArguments {
|
|
237
237
|
pool: RawTransactionArgument<string>;
|
|
238
238
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -250,7 +250,7 @@ interface CancelLiveOrderOptions {
|
|
|
250
250
|
typeArguments: [string, string];
|
|
251
251
|
}
|
|
252
252
|
/** Cancel a DeepBook spot order for an Account with an active session. */
|
|
253
|
-
declare function cancelLiveOrder(options: CancelLiveOrderOptions): (tx: Transaction) =>
|
|
253
|
+
declare function cancelLiveOrder(options: CancelLiveOrderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
254
254
|
interface CancelLiveOrdersArguments {
|
|
255
255
|
pool: RawTransactionArgument<string>;
|
|
256
256
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -268,7 +268,7 @@ interface CancelLiveOrdersOptions {
|
|
|
268
268
|
typeArguments: [string, string];
|
|
269
269
|
}
|
|
270
270
|
/** Cancel multiple DeepBook spot orders for an Account with an active session. */
|
|
271
|
-
declare function cancelLiveOrders(options: CancelLiveOrdersOptions): (tx: Transaction) =>
|
|
271
|
+
declare function cancelLiveOrders(options: CancelLiveOrdersOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
272
272
|
interface WithdrawSettledAmountsArguments {
|
|
273
273
|
pool: RawTransactionArgument<string>;
|
|
274
274
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -285,7 +285,7 @@ interface WithdrawSettledAmountsOptions {
|
|
|
285
285
|
typeArguments: [string, string];
|
|
286
286
|
}
|
|
287
287
|
/** Sweep settled DeepBook spot proceeds into an Account with an active session. */
|
|
288
|
-
declare function withdrawSettledAmounts(options: WithdrawSettledAmountsOptions): (tx: Transaction) =>
|
|
288
|
+
declare function withdrawSettledAmounts(options: WithdrawSettledAmountsOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
289
289
|
interface MintExactQuantityArguments {
|
|
290
290
|
market: RawTransactionArgument<string>;
|
|
291
291
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -312,7 +312,7 @@ interface MintExactQuantityOptions {
|
|
|
312
312
|
* Always aborts through Predict, whose immediate mints are retired; use
|
|
313
313
|
* `enqueue_exact_quantity`.
|
|
314
314
|
*/
|
|
315
|
-
declare function mintExactQuantity(options: MintExactQuantityOptions): (tx: Transaction) =>
|
|
315
|
+
declare function mintExactQuantity(options: MintExactQuantityOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
316
316
|
interface MintExactAmountArguments {
|
|
317
317
|
market: RawTransactionArgument<string>;
|
|
318
318
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -339,7 +339,7 @@ interface MintExactAmountOptions {
|
|
|
339
339
|
* Always aborts through Predict, whose immediate mints are retired; use
|
|
340
340
|
* `enqueue_exact_amount`.
|
|
341
341
|
*/
|
|
342
|
-
declare function mintExactAmount(options: MintExactAmountOptions): (tx: Transaction) =>
|
|
342
|
+
declare function mintExactAmount(options: MintExactAmountOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
343
343
|
interface MintExactCostArguments {
|
|
344
344
|
market: RawTransactionArgument<string>;
|
|
345
345
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -365,7 +365,7 @@ interface MintExactCostOptions {
|
|
|
365
365
|
* session. Always aborts through Predict, whose immediate mints are retired; use
|
|
366
366
|
* `enqueue_exact_cost`.
|
|
367
367
|
*/
|
|
368
|
-
declare function mintExactCost(options: MintExactCostOptions): (tx: Transaction) =>
|
|
368
|
+
declare function mintExactCost(options: MintExactCostOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
369
369
|
interface RedeemLiveArguments {
|
|
370
370
|
market: RawTransactionArgument<string>;
|
|
371
371
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -391,7 +391,7 @@ interface RedeemLiveOptions {
|
|
|
391
391
|
* through Predict, whose live redeem is retired. Early sells of queued positions
|
|
392
392
|
* go through `enqueue_redeem_open`.
|
|
393
393
|
*/
|
|
394
|
-
declare function redeemLive(options: RedeemLiveOptions): (tx: Transaction) =>
|
|
394
|
+
declare function redeemLive(options: RedeemLiveOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
395
395
|
interface RedeemSettledArguments {
|
|
396
396
|
market: RawTransactionArgument<string>;
|
|
397
397
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -409,7 +409,7 @@ interface RedeemSettledOptions {
|
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
411
|
/** Redeem a settled Predict order for an Account with an active session. */
|
|
412
|
-
declare function redeemSettled(options: RedeemSettledOptions): (tx: Transaction) =>
|
|
412
|
+
declare function redeemSettled(options: RedeemSettledOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
413
413
|
interface EnqueueExactQuantityArguments {
|
|
414
414
|
queue: RawTransactionArgument<string>;
|
|
415
415
|
market: RawTransactionArgument<string>;
|
|
@@ -440,7 +440,7 @@ interface EnqueueExactQuantityOptions {
|
|
|
440
440
|
* Queue an exact-quantity Predict mint in `market`'s order-flow queue for an
|
|
441
441
|
* Account with an active session. Returns the queue record ID.
|
|
442
442
|
*/
|
|
443
|
-
declare function enqueueExactQuantity(options: EnqueueExactQuantityOptions): (tx: Transaction) =>
|
|
443
|
+
declare function enqueueExactQuantity(options: EnqueueExactQuantityOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
444
444
|
interface EnqueueExactQuantityWithBuilderArguments {
|
|
445
445
|
queue: RawTransactionArgument<string>;
|
|
446
446
|
market: RawTransactionArgument<string>;
|
|
@@ -475,7 +475,7 @@ interface EnqueueExactQuantityWithBuilderOptions {
|
|
|
475
475
|
* approved fee (`EBuilderNotApproved`, `EBuilderFeeAboveApproved`), after the
|
|
476
476
|
* session checks. Returns the new queue record ID.
|
|
477
477
|
*/
|
|
478
|
-
declare function enqueueExactQuantityWithBuilder(options: EnqueueExactQuantityWithBuilderOptions): (tx: Transaction) =>
|
|
478
|
+
declare function enqueueExactQuantityWithBuilder(options: EnqueueExactQuantityWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
479
479
|
interface EnqueueExactAmountArguments {
|
|
480
480
|
queue: RawTransactionArgument<string>;
|
|
481
481
|
market: RawTransactionArgument<string>;
|
|
@@ -506,7 +506,7 @@ interface EnqueueExactAmountOptions {
|
|
|
506
506
|
* Queue a premium-budget Predict mint in `market`'s order-flow queue for an
|
|
507
507
|
* Account with an active session. Returns the queue record ID.
|
|
508
508
|
*/
|
|
509
|
-
declare function enqueueExactAmount(options: EnqueueExactAmountOptions): (tx: Transaction) =>
|
|
509
|
+
declare function enqueueExactAmount(options: EnqueueExactAmountOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
510
510
|
interface EnqueueExactAmountWithBuilderArguments {
|
|
511
511
|
queue: RawTransactionArgument<string>;
|
|
512
512
|
market: RawTransactionArgument<string>;
|
|
@@ -541,7 +541,7 @@ interface EnqueueExactAmountWithBuilderOptions {
|
|
|
541
541
|
* approved fee (`EBuilderNotApproved`, `EBuilderFeeAboveApproved`), after the
|
|
542
542
|
* session checks. Returns the new queue record ID.
|
|
543
543
|
*/
|
|
544
|
-
declare function enqueueExactAmountWithBuilder(options: EnqueueExactAmountWithBuilderOptions): (tx: Transaction) =>
|
|
544
|
+
declare function enqueueExactAmountWithBuilder(options: EnqueueExactAmountWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
545
545
|
interface EnqueueExactCostArguments {
|
|
546
546
|
queue: RawTransactionArgument<string>;
|
|
547
547
|
market: RawTransactionArgument<string>;
|
|
@@ -571,7 +571,7 @@ interface EnqueueExactCostOptions {
|
|
|
571
571
|
* Queue an all-in-budget Predict mint in `market`'s order-flow queue for an
|
|
572
572
|
* Account with an active session. Returns the queue record ID.
|
|
573
573
|
*/
|
|
574
|
-
declare function enqueueExactCost(options: EnqueueExactCostOptions): (tx: Transaction) =>
|
|
574
|
+
declare function enqueueExactCost(options: EnqueueExactCostOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
575
575
|
interface EnqueueExactCostWithBuilderArguments {
|
|
576
576
|
queue: RawTransactionArgument<string>;
|
|
577
577
|
market: RawTransactionArgument<string>;
|
|
@@ -605,7 +605,7 @@ interface EnqueueExactCostWithBuilderOptions {
|
|
|
605
605
|
* approved fee (`EBuilderNotApproved`, `EBuilderFeeAboveApproved`), after the
|
|
606
606
|
* session checks. Returns the new queue record ID.
|
|
607
607
|
*/
|
|
608
|
-
declare function enqueueExactCostWithBuilder(options: EnqueueExactCostWithBuilderOptions): (tx: Transaction) =>
|
|
608
|
+
declare function enqueueExactCostWithBuilder(options: EnqueueExactCostWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
609
609
|
interface EnqueueRedeemOpenArguments {
|
|
610
610
|
queue: RawTransactionArgument<string>;
|
|
611
611
|
market: RawTransactionArgument<string>;
|
|
@@ -635,7 +635,7 @@ interface EnqueueRedeemOpenOptions {
|
|
|
635
635
|
* Queue an early sell of an Open order-flow queue record for an Account with an
|
|
636
636
|
* active session. Returns the new queue record ID.
|
|
637
637
|
*/
|
|
638
|
-
declare function enqueueRedeemOpen(options: EnqueueRedeemOpenOptions): (tx: Transaction) =>
|
|
638
|
+
declare function enqueueRedeemOpen(options: EnqueueRedeemOpenOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
639
639
|
interface EnqueueRedeemOpenWithBuilderArguments {
|
|
640
640
|
queue: RawTransactionArgument<string>;
|
|
641
641
|
market: RawTransactionArgument<string>;
|
|
@@ -669,7 +669,7 @@ interface EnqueueRedeemOpenWithBuilderOptions {
|
|
|
669
669
|
* approved fee (`EBuilderNotApproved`, `EBuilderFeeAboveApproved`), after the
|
|
670
670
|
* session checks. Returns the new queue record ID.
|
|
671
671
|
*/
|
|
672
|
-
declare function enqueueRedeemOpenWithBuilder(options: EnqueueRedeemOpenWithBuilderOptions): (tx: Transaction) =>
|
|
672
|
+
declare function enqueueRedeemOpenWithBuilder(options: EnqueueRedeemOpenWithBuilderOptions): (tx: Transaction) => _mysten_sui_transactions400.TransactionResult;
|
|
673
673
|
//#endregion
|
|
674
674
|
export { SessionAuthorized, SessionRevoked, SessionsApp, SessionsData, sessions_d_exports };
|
|
675
675
|
//# sourceMappingURL=sessions.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RawTransactionArgument } from "../../contracts/utils/index.mjs";
|
|
2
2
|
import { AdmissionTickSizeArguments, AdmissionTickSizeOptions, AdmitMintArguments, AdmitMintOptions, AdmitMintWithBuilderArguments, AdmitMintWithBuilderOptions, AdmitSellArguments, AdmitSellOptions, AdmitSellWithBuilderArguments, AdmitSellWithBuilderOptions, AllInCostArguments, AllInCostOptions, BackingBufferLambdaArguments, BackingBufferLambdaOptions, BuilderFeeArguments, BuilderFeeOptions, BuilderFeePerContractArguments, BuilderFeePerContractOptions, CashBalanceArguments, CashBalanceOptions, CommitArguments, CommitOptions, CurrentNavArguments, CurrentNavOptions, EntryProbabilityArguments, EntryProbabilityOptions, ExpiryArguments, ExpiryFeeMaxMultiplierArguments, ExpiryFeeMaxMultiplierOptions, ExpiryFeeWindowMsArguments, ExpiryFeeWindowMsOptions, ExpiryMarket, ExpiryOptions, FeeIncentiveBalanceArguments, FeeIncentiveBalanceOptions, FeeIncentiveSubsidyArguments, FeeIncentiveSubsidyOptions, IdArguments, IdOptions, InventoryImpactChargeArguments, InventoryImpactChargeOptions, InventoryImpactMaxRateArguments, InventoryImpactMaxRateOptions, InventoryImpactReserveArguments, InventoryImpactReserveOptions, InventoryImpactScaleArguments, InventoryImpactScaleOptions, IsPendingValuationArguments, IsPendingValuationOptions, IsSettledArguments, IsSettledOptions, LiveOrderValueArguments, LiveOrderValueOptions, LoadLivePricerArguments, LoadLivePricerOptions, MintExactAmountOptions as MintExactAmountOptions$1, MintExactCostOptions as MintExactCostOptions$1, MintExactQuantityOptions as MintExactQuantityOptions$1, MintPausedArguments, MintPausedOptions, MintQuote, OrderFlowLedger, OrderFlowLedgerKey, OrderFlowStateArguments, OrderFlowStateOptions, OrderParties, OrderReceipt, PayoutLiabilityArguments, PayoutLiabilityOptions, PenaltyFeeArguments, PenaltyFeeOptions, PremiumArguments, PremiumOptions, PropbookUnderlyingIdArguments, PropbookUnderlyingIdOptions, QuantityArguments, QuantityOptions, QuoteCloseOptions as QuoteCloseOptions$1, QuoteCloseWithBuilderFeeArguments, QuoteCloseWithBuilderFeeOptions, QuoteMintArguments, QuoteMintExactCostForAccountArguments, QuoteMintExactCostForAccountOptions, QuoteMintExactCostWithBuilderFeeArguments, QuoteMintExactCostWithBuilderFeeOptions, QuoteMintForAccountArguments, QuoteMintForAccountOptions, QuoteMintOptions, QuoteMintWithBuilderFeeArguments, QuoteMintWithBuilderFeeOptions, ReceiptInfoArguments, ReceiptInfoOptions, RedeemBuilderFeeArguments, RedeemBuilderFeeOptions, RedeemCloseQuantityArguments, RedeemCloseQuantityOptions, RedeemInventoryImpactRebateArguments, RedeemInventoryImpactRebateOptions, RedeemLiveOptions as RedeemLiveOptions$1, RedeemProbabilityArguments, RedeemProbabilityOptions, RedeemProceedsArguments, RedeemProceedsOptions, RedeemQuote, RedeemSettledOptions as RedeemSettledOptions$1, RedeemSettledPermissionlessOptions as RedeemSettledPermissionlessOptions$1, RedeemTradingFeeArguments, RedeemTradingFeeOptions, ReferenceTickArguments, ReferenceTickOptions, ReferenceTickSourceTimestampMsArguments, ReferenceTickSourceTimestampMsOptions, ReleaseArguments, ReleaseOptions, RequiredCashArguments, RequiredCashOptions, SetMintPausedArguments, SetMintPausedOptions, SetReferenceTickArguments, SetReferenceTickOptions, SettledOrderPayoutArguments, SettledOrderPayoutOptions, SettlementPriceArguments, SettlementPriceOptions, TickSizeArguments, TickSizeOptions, TradingFeeArguments, TradingFeeOptions, TryFillArguments, TryFillOptions, TryPaySettledArguments, TryPaySettledOptions, TrySettleArguments, TrySettleOptions, TrySettlementPriceArguments, TrySettlementPriceOptions, ValuationStamp, admissionTickSize, admitMint, admitMintWithBuilder, admitSell, admitSellWithBuilder, allInCost, backingBufferLambda, builderFee, builderFeePerContract, cashBalance, commit, currentNav, entryProbability, expiry, expiryFeeMaxMultiplier, expiryFeeWindowMs, feeIncentiveBalance, feeIncentiveSubsidy, id, inventoryImpactCharge, inventoryImpactMaxRate, inventoryImpactReserve, inventoryImpactScale, isPendingValuation, isSettled, liveOrderValue, loadLivePricer, mintPaused, orderFlowState, payoutLiability, penaltyFee, premium, propbookUnderlyingId, quantity, quoteCloseWithBuilderFee, quoteMint, quoteMintExactCostForAccount, quoteMintExactCostWithBuilderFee, quoteMintForAccount, quoteMintWithBuilderFee, receiptInfo, redeemBuilderFee, redeemCloseQuantity, redeemInventoryImpactRebate, redeemProbability, redeemProceeds, redeemTradingFee, referenceTick, referenceTickSourceTimestampMs, release, requiredCash, setMintPaused, setReferenceTick, settledOrderPayout, settlementPrice, tickSize, tradingFee, tryFill, tryPaySettled, trySettle, trySettlementPrice } from "../../contracts/deepbook_predict/expiry_market.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _mysten_sui_transactions107 from "@mysten/sui/transactions";
|
|
4
4
|
import { TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/predict/bindings/expiry-market.d.ts
|
|
@@ -28,7 +28,7 @@ interface MintExactQuantityOptions extends Omit<MintExactQuantityOptions$1, 'arg
|
|
|
28
28
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
29
29
|
* (`EDelayedExecutionRequired`). Queue mints through the order-flow package.
|
|
30
30
|
*/
|
|
31
|
-
declare function mintExactQuantity(options: MintExactQuantityOptions): (tx:
|
|
31
|
+
declare function mintExactQuantity(options: MintExactQuantityOptions): (tx: _mysten_sui_transactions107.Transaction) => _mysten_sui_transactions107.TransactionResult;
|
|
32
32
|
interface MintExactAmountArguments extends TradeTarget {
|
|
33
33
|
lowerTick: RawTransactionArgument<number | bigint>;
|
|
34
34
|
higherTick: RawTransactionArgument<number | bigint>;
|
|
@@ -43,7 +43,7 @@ interface MintExactAmountOptions extends Omit<MintExactAmountOptions$1, 'argumen
|
|
|
43
43
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
44
44
|
* (`EDelayedExecutionRequired`). Queue mints through the order-flow package.
|
|
45
45
|
*/
|
|
46
|
-
declare function mintExactAmount(options: MintExactAmountOptions): (tx:
|
|
46
|
+
declare function mintExactAmount(options: MintExactAmountOptions): (tx: _mysten_sui_transactions107.Transaction) => _mysten_sui_transactions107.TransactionResult;
|
|
47
47
|
interface MintExactCostArguments extends TradeTarget {
|
|
48
48
|
lowerTick: RawTransactionArgument<number | bigint>;
|
|
49
49
|
higherTick: RawTransactionArgument<number | bigint>;
|
|
@@ -57,7 +57,7 @@ interface MintExactCostOptions extends Omit<MintExactCostOptions$1, 'arguments'>
|
|
|
57
57
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
58
58
|
* (`EDelayedExecutionRequired`). Queue mints through the order-flow package.
|
|
59
59
|
*/
|
|
60
|
-
declare function mintExactCost(options: MintExactCostOptions): (tx:
|
|
60
|
+
declare function mintExactCost(options: MintExactCostOptions): (tx: _mysten_sui_transactions107.Transaction) => _mysten_sui_transactions107.TransactionResult;
|
|
61
61
|
interface RedeemLiveArguments extends TradeTarget {
|
|
62
62
|
orderId: RawTransactionArgument<number | bigint>;
|
|
63
63
|
closeQuantity: RawTransactionArgument<number | bigint>;
|
|
@@ -71,7 +71,7 @@ interface RedeemLiveOptions extends Omit<RedeemLiveOptions$1, 'arguments'> {
|
|
|
71
71
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
72
72
|
* (`EDelayedExecutionRequired`). Sell an Open record through the order-flow package.
|
|
73
73
|
*/
|
|
74
|
-
declare function redeemLive(options: RedeemLiveOptions): (tx:
|
|
74
|
+
declare function redeemLive(options: RedeemLiveOptions): (tx: _mysten_sui_transactions107.Transaction) => _mysten_sui_transactions107.TransactionResult;
|
|
75
75
|
type Positional<Options extends {
|
|
76
76
|
arguments: unknown;
|
|
77
77
|
}> = Extract<Options['arguments'], readonly unknown[]>;
|
|
@@ -90,7 +90,7 @@ interface RedeemSettledOptions extends Omit<RedeemSettledOptions$1, 'arguments'>
|
|
|
90
90
|
* `EDelayedExecutionRequired`. A queued fill never enters the account; the order-flow package pays
|
|
91
91
|
* its Open record at settlement. A network whose Predict call target is still v4 runs it as before.
|
|
92
92
|
*/
|
|
93
|
-
declare function redeemSettled(options: RedeemSettledOptions): (tx:
|
|
93
|
+
declare function redeemSettled(options: RedeemSettledOptions): (tx: _mysten_sui_transactions107.Transaction) => _mysten_sui_transactions107.TransactionResult;
|
|
94
94
|
interface RedeemSettledPermissionlessArguments {
|
|
95
95
|
market: RawTransactionArgument<string>;
|
|
96
96
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -105,7 +105,7 @@ interface RedeemSettledPermissionlessOptions extends Omit<RedeemSettledPermissio
|
|
|
105
105
|
* @deprecated Retired with `redeem_settled` in Predict v5: it always aborts
|
|
106
106
|
* `EDelayedExecutionRequired`. A network whose Predict call target is still v4 runs it as before.
|
|
107
107
|
*/
|
|
108
|
-
declare function redeemSettledPermissionless(options: RedeemSettledPermissionlessOptions): (tx:
|
|
108
|
+
declare function redeemSettledPermissionless(options: RedeemSettledPermissionlessOptions): (tx: _mysten_sui_transactions107.Transaction) => _mysten_sui_transactions107.TransactionResult;
|
|
109
109
|
interface QuoteCloseArguments {
|
|
110
110
|
market: RawTransactionArgument<string>;
|
|
111
111
|
pricer: TransactionArgument;
|
|
@@ -121,7 +121,7 @@ interface QuoteCloseOptions extends Omit<QuoteCloseOptions$1, 'arguments'> {
|
|
|
121
121
|
* names no builder, whatever `builderCodeId` names; `quoteCloseWithBuilderFee` quotes one that
|
|
122
122
|
* does. Changes nothing.
|
|
123
123
|
*/
|
|
124
|
-
declare function quoteClose(options: QuoteCloseOptions): (tx:
|
|
124
|
+
declare function quoteClose(options: QuoteCloseOptions): (tx: _mysten_sui_transactions107.Transaction) => _mysten_sui_transactions107.TransactionResult;
|
|
125
125
|
//#endregion
|
|
126
126
|
export { expiry_market_d_exports };
|
|
127
127
|
//# sourceMappingURL=expiry-market.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expiry-market.d.mts","names":[],"sources":["../../../src/predict/bindings/expiry-market.ts"],"mappings":";;;;;;;;;UAgCU,WAAA;EACT,MAAA,EAAQ,sBAAA;EACR,OAAA,EAAS,sBAAA;EACT,IAAA,EAAM,mBAAA;EACN,MAAA,GAAS,sBAAA;EACT,MAAA,EAAQ,mBAAA;AAAA;AAAA,UAGQ,0BAAA,SAAmC,WAAA;EACnD,SAAA,EAAW,sBAAA;EACX,UAAA,EAAY,sBAAA;EACZ,QAAA,EAAU,sBAAA;EACV,OAAA,EAAS,sBAAA;EACT,cAAA,EAAgB,sBAAA;AAAA;AAAA,UAEA,wBAAA,SAAiC,IAAA,CACjD,0BAAA;EAGA,SAAA,EAAW,0BAAA;AAAA;;;;;iBAMI,iBAAA,CAAkB,OAAA,EAAS,wBAAA,IAAwB,EAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"expiry-market.d.mts","names":[],"sources":["../../../src/predict/bindings/expiry-market.ts"],"mappings":";;;;;;;;;UAgCU,WAAA;EACT,MAAA,EAAQ,sBAAA;EACR,OAAA,EAAS,sBAAA;EACT,IAAA,EAAM,mBAAA;EACN,MAAA,GAAS,sBAAA;EACT,MAAA,EAAQ,mBAAA;AAAA;AAAA,UAGQ,0BAAA,SAAmC,WAAA;EACnD,SAAA,EAAW,sBAAA;EACX,UAAA,EAAY,sBAAA;EACZ,QAAA,EAAU,sBAAA;EACV,OAAA,EAAS,sBAAA;EACT,cAAA,EAAgB,sBAAA;AAAA;AAAA,UAEA,wBAAA,SAAiC,IAAA,CACjD,0BAAA;EAGA,SAAA,EAAW,0BAAA;AAAA;;;;;iBAMI,iBAAA,CAAkB,OAAA,EAAS,wBAAA,IAAwB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA;AAAA,UAOlD,wBAAA,SAAiC,WAAA;EACjD,SAAA,EAAW,sBAAA;EACX,UAAA,EAAY,sBAAA;EACZ,UAAA,EAAY,sBAAA;EACZ,WAAA,EAAa,sBAAA;EACb,OAAA,EAAS,sBAAA;AAAA;AAAA,UAEO,sBAAA,SAA+B,IAAA,CAC/C,wBAAA;EAGA,SAAA,EAAW,wBAAA;AAAA;;;;;iBAMI,eAAA,CAAgB,OAAA,EAAS,sBAAA,IAAsB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA;AAAA,UAO9C,sBAAA,SAA+B,WAAA;EAC/C,SAAA,EAAW,sBAAA;EACX,UAAA,EAAY,sBAAA;EACZ,OAAA,EAAS,sBAAA;EACT,WAAA,EAAa,sBAAA;AAAA;AAAA,UAEG,oBAAA,SAA6B,IAAA,CAAK,sBAAA;EAClD,SAAA,EAAW,sBAAA;AAAA;;;;;iBAMI,aAAA,CAAc,OAAA,EAAS,oBAAA,IAAoB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA;AAAA,UAO1C,mBAAA,SAA4B,WAAA;EAC5C,OAAA,EAAS,sBAAA;EACT,aAAA,EAAe,sBAAA;EACf,cAAA,EAAgB,sBAAA;EAChB,WAAA,EAAa,sBAAA;AAAA;AAAA,UAEG,iBAAA,SAA0B,IAAA,CAAK,mBAAA;EAC/C,SAAA,EAAW,mBAAA;AAAA;;;;;iBAMI,UAAA,CAAW,OAAA,EAAS,iBAAA,IAAiB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA;AAAA,KAoBhD,UAAA;EAA6B,SAAA;AAAA,KAAwB,OAAA,CACzD,OAAA;AAAA,UAIgB,sBAAA;EAChB,MAAA,EAAQ,sBAAA;EACR,OAAA,EAAS,sBAAA;EACT,IAAA,EAAM,mBAAA;EACN,MAAA,GAAS,sBAAA;EACT,OAAA,EAAS,sBAAA;AAAA;AAAA,UAEO,oBAAA,SAA6B,IAAA,CAAK,sBAAA;EAClD,SAAA,EAAW,sBAAA,GAAyB,UAAA,CAAW,sBAAA;AAAA;;;;;;iBAOhC,aAAA,CAAc,OAAA,EAAS,oBAAA,IAAoB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA;AAAA,UAO1C,oCAAA;EAChB,MAAA,EAAQ,sBAAA;EACR,eAAA,EAAiB,sBAAA;EACjB,OAAA,EAAS,sBAAA;EACT,MAAA,GAAS,sBAAA;EACT,OAAA,EAAS,sBAAA;AAAA;AAAA,UAEO,kCAAA,SAA2C,IAAA,CAC3D,oCAAA;EAGA,SAAA,EACC,oCAAA,GAAuC,UAAA,CAAW,oCAAA;AAAA;;;;;iBAMpC,2BAAA,CAA4B,OAAA,EAAS,kCAAA,IAAkC,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA;AAAA,UAOtE,mBAAA;EAChB,MAAA,EAAQ,sBAAA;EACR,MAAA,EAAQ,mBAAA;EACR,OAAA,EAAS,mBAAA;EACT,aAAA,EAAe,sBAAA;EACf,aAAA,EAAe,sBAAA;AAAA;AAAA,UAEC,iBAAA,SAA0B,IAAA,CAAK,mBAAA;EAC/C,SAAA,EAAW,mBAAA,GAAsB,UAAA,CAAW,mBAAA;AAAA;;;;;;iBAO7B,UAAA,CAAW,OAAA,EAAS,iBAAA,IAAiB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RawTransactionArgument } from "../../contracts/utils/index.mjs";
|
|
2
2
|
import { AddFlushOperatorArguments, AddFlushOperatorOptions, AddSettledRedeemKeeperArguments, AddSettledRedeemKeeperOptions, BuilderFeeCapArguments, BuilderFeeCapKey, BuilderFeeCapOptions, BumpVersionWatermarkArguments, BumpVersionWatermarkOptions, FeeIncentiveLifetimeCapRateArguments, FeeIncentiveLifetimeCapRateKey, FeeIncentiveLifetimeCapRateOptions, FeeIncentiveLiveTargetRateArguments, FeeIncentiveLiveTargetRateKey, FeeIncentiveLiveTargetRateOptions, FeeIncentiveSubsidyRateArguments, FeeIncentiveSubsidyRateKey, FeeIncentiveSubsidyRateOptions, FlushOperatorsKey, FrozenArguments, FrozenOptions, IdArguments, IdOptions, IsFlushOperatorArguments, IsFlushOperatorOptions, IsOrderFlowArguments, IsOrderFlowOptions, NoTradeWindowMsArguments, NoTradeWindowMsOptions, OrderFlowKey, ProtocolConfig, ReferralFeeRateArguments, ReferralFeeRateOptions, RemoveFlushOperatorArguments, RemoveFlushOperatorOptions, RemoveSettledRedeemKeeperArguments, RemoveSettledRedeemKeeperOptions, SetBlockScholesPriceFreshnessMsArguments, SetBlockScholesPriceFreshnessMsOptions, SetBlockScholesSviFreshnessMsArguments, SetBlockScholesSviFreshnessMsOptions, SetBuilderFeeCapArguments, SetBuilderFeeCapOptions, SetEwmaEnabledOptions as SetEwmaEnabledOptions$1, SetEwmaParamsOptions as SetEwmaParamsOptions$1, SetFeeIncentiveLiveTargetRateArguments, SetFeeIncentiveLiveTargetRateOptions, SetFeeIncentiveSubsidyRateArguments, SetFeeIncentiveSubsidyRateOptions, SetFrozenArguments, SetFrozenOptions, SetLpRequestLimitFlushAttemptsArguments, SetLpRequestLimitFlushAttemptsOptions, SetMaxLpPoolValueArguments, SetMaxLpPoolValueOptions, SetMaxValuationWindowMsArguments, SetMaxValuationWindowMsOptions, SetNoTradeWindowMsArguments, SetNoTradeWindowMsOptions, SetOrderFlowArguments, SetOrderFlowOptions, SetPlpSupplyFeeRateArguments, SetPlpSupplyFeeRateOptions, SetPlpWithdrawFeeRateArguments, SetPlpWithdrawFeeRateOptions, SetProtocolReserveProfitShareArguments, SetProtocolReserveProfitShareOptions, SetPythSpotFreshnessMsArguments, SetPythSpotFreshnessMsOptions, SetReferralFeeRateArguments, SetReferralFeeRateOptions, SetTemplateBackingBufferLambdaArguments, SetTemplateBackingBufferLambdaOptions, SetTemplateBaseFeeArguments, SetTemplateBaseFeeOptions, SetTemplateExpiryFeeMaxMultiplierArguments, SetTemplateExpiryFeeMaxMultiplierOptions, SetTemplateExpiryFeeWindowMsArguments, SetTemplateExpiryFeeWindowMsOptions, SetTemplateFeeIncentiveLifetimeCapRateArguments, SetTemplateFeeIncentiveLifetimeCapRateOptions, SetTemplateInventoryImpactMaxRateArguments, SetTemplateInventoryImpactMaxRateOptions, SetTemplateMaxEntryProbabilityArguments, SetTemplateMaxEntryProbabilityOptions, SetTemplateMinEntryProbabilityArguments, SetTemplateMinEntryProbabilityOptions, SetTemplateMinFeeArguments, SetTemplateMinFeeOptions, SetTradingPausedArguments, SetTradingPausedOptions, SetUsePythSpotForForwardArguments, SetUsePythSpotForForwardOptions, SettledRedeemKeepersKey, TradingPausedArguments, TradingPausedOptions, ValuationInProgressArguments, ValuationInProgressOptions, VersionWatermarkArguments, VersionWatermarkOptions, addFlushOperator, addSettledRedeemKeeper, builderFeeCap, bumpVersionWatermark, feeIncentiveLifetimeCapRate, feeIncentiveLiveTargetRate, feeIncentiveSubsidyRate, frozen, id, isFlushOperator, isOrderFlow, noTradeWindowMs, referralFeeRate, removeFlushOperator, removeSettledRedeemKeeper, setBlockScholesPriceFreshnessMs, setBlockScholesSviFreshnessMs, setBuilderFeeCap, setFeeIncentiveLiveTargetRate, setFeeIncentiveSubsidyRate, setFrozen, setLpRequestLimitFlushAttempts, setMaxLpPoolValue, setMaxValuationWindowMs, setNoTradeWindowMs, setOrderFlow, setPlpSupplyFeeRate, setPlpWithdrawFeeRate, setProtocolReserveProfitShare, setPythSpotFreshnessMs, setReferralFeeRate, setTemplateBackingBufferLambda, setTemplateBaseFee, setTemplateExpiryFeeMaxMultiplier, setTemplateExpiryFeeWindowMs, setTemplateFeeIncentiveLifetimeCapRate, setTemplateInventoryImpactMaxRate, setTemplateMaxEntryProbability, setTemplateMinEntryProbability, setTemplateMinFee, setTradingPaused, setUsePythSpotForForward, tradingPaused, valuationInProgress, versionWatermark } from "../../contracts/deepbook_predict/protocol_config.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _mysten_sui_transactions232 from "@mysten/sui/transactions";
|
|
4
4
|
|
|
5
5
|
//#region src/predict/bindings/protocol-config.d.ts
|
|
6
6
|
declare namespace protocol_config_d_exports {
|
|
@@ -20,7 +20,7 @@ interface SetEwmaParamsOptions extends Omit<SetEwmaParamsOptions$1, 'arguments'>
|
|
|
20
20
|
* @deprecated Retired with instant trading: queued fills charge no congestion penalty, and
|
|
21
21
|
* Predict v4 always aborts it (`EEwmaRetired`).
|
|
22
22
|
*/
|
|
23
|
-
declare function setEwmaParams(options: SetEwmaParamsOptions): (tx:
|
|
23
|
+
declare function setEwmaParams(options: SetEwmaParamsOptions): (tx: _mysten_sui_transactions232.Transaction) => _mysten_sui_transactions232.TransactionResult;
|
|
24
24
|
interface SetEwmaEnabledArguments {
|
|
25
25
|
config?: RawTransactionArgument<string>;
|
|
26
26
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -33,7 +33,7 @@ interface SetEwmaEnabledOptions extends Omit<SetEwmaEnabledOptions$1, 'arguments
|
|
|
33
33
|
* @deprecated Retired with instant trading: queued fills charge no congestion penalty, and
|
|
34
34
|
* Predict v4 always aborts it (`EEwmaRetired`).
|
|
35
35
|
*/
|
|
36
|
-
declare function setEwmaEnabled(options: SetEwmaEnabledOptions): (tx:
|
|
36
|
+
declare function setEwmaEnabled(options: SetEwmaEnabledOptions): (tx: _mysten_sui_transactions232.Transaction) => _mysten_sui_transactions232.TransactionResult;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { protocol_config_d_exports };
|
|
39
39
|
//# sourceMappingURL=protocol-config.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol-config.d.mts","names":[],"sources":["../../../src/predict/bindings/protocol-config.ts"],"mappings":";;;;;;;;UAoBiB,sBAAA;EAChB,MAAA,GAAS,sBAAA;EACT,QAAA,EAAU,sBAAA;EACV,KAAA,EAAO,sBAAA;EACP,eAAA,EAAiB,sBAAA;EACjB,WAAA,EAAa,sBAAA;AAAA;AAAA,UAEG,oBAAA,SAA6B,IAAA,CAAK,sBAAA;EAClD,SAAA,EAAW,sBAAA;AAAA;;;;;iBAMI,aAAA,CAAc,OAAA,EAAS,oBAAA,IAAoB,EAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"protocol-config.d.mts","names":[],"sources":["../../../src/predict/bindings/protocol-config.ts"],"mappings":";;;;;;;;UAoBiB,sBAAA;EAChB,MAAA,GAAS,sBAAA;EACT,QAAA,EAAU,sBAAA;EACV,KAAA,EAAO,sBAAA;EACP,eAAA,EAAiB,sBAAA;EACjB,WAAA,EAAa,sBAAA;AAAA;AAAA,UAEG,oBAAA,SAA6B,IAAA,CAAK,sBAAA;EAClD,SAAA,EAAW,sBAAA;AAAA;;;;;iBAMI,aAAA,CAAc,OAAA,EAAS,oBAAA,IAAoB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA;AAAA,UAO1C,uBAAA;EAChB,MAAA,GAAS,sBAAA;EACT,QAAA,EAAU,sBAAA;EACV,OAAA,EAAS,sBAAA;AAAA;AAAA,UAEO,qBAAA,SAA8B,IAAA,CAAK,uBAAA;EACnD,SAAA,EAAW,uBAAA;AAAA;;;;;iBAMI,cAAA,CAAe,OAAA,EAAS,qBAAA,IAAqB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RawTransactionArgument } from "../../contracts/utils/index.mjs";
|
|
2
2
|
import { AdminRefundArguments, AdminRefundOptions, BuilderFeePerContractArguments, BuilderFeePerContractOptions, ClaimParkedArguments, ClaimParkedOptions, CleanupArguments, CleanupOptions, CommitArguments, CommitOptions, CreateAndShareArguments, CreateAndShareOptions, DeskIdArguments, DeskIdOptions, EnqueueExactAmountArguments, EnqueueExactAmountOptions, EnqueueExactAmountWithBuilderArguments, EnqueueExactAmountWithBuilderOptions, EnqueueExactCostArguments, EnqueueExactCostOptions, EnqueueExactCostWithBuilderArguments, EnqueueExactCostWithBuilderOptions, EnqueueExactQuantityArguments, EnqueueExactQuantityOptions, EnqueueExactQuantityWithBuilderArguments, EnqueueExactQuantityWithBuilderOptions, EnqueueRedeemOpenArguments, EnqueueRedeemOpenOptions, EnqueueRedeemOpenWithBuilderArguments, EnqueueRedeemOpenWithBuilderOptions, ExpiryMarketIdArguments, ExpiryMarketIdOptions, IdArguments, IdOptions, MarketQueue, OldestUnfinishedTauMsArguments, OldestUnfinishedTauMsOptions, OrderArguments, OrderOptions, PayOpenArguments, PayOpenOptions, PayoutProgressArguments, PayoutProgressOptions, PendingCountsArguments, PendingCountsOptions, PhaseDoneOptions, PhaseDrainOptions, PhasePayOptions, QueueHeadsArguments, QueueHeadsOptions, QueueIdArguments, QueueIdOptions, QueueStuckArguments, QueueStuckOptions, QuoteRedeemOpenOptions as QuoteRedeemOpenOptions$1, QuoteRedeemOpenWithBuilderFeeArguments, QuoteRedeemOpenWithBuilderFeeOptions, RefundArguments, RefundOptions, ResolveArguments, ResolveOptions, SettleStepArguments, SettleStepOptions, WaitingCohortsArguments, WaitingCohortsOptions, WaitingOrdersArguments, WaitingOrdersOptions, adminRefund, builderFeePerContract, claimParked, cleanup, commit, createAndShare, deskId, enqueueExactAmount, enqueueExactAmountWithBuilder, enqueueExactCost, enqueueExactCostWithBuilder, enqueueExactQuantity, enqueueExactQuantityWithBuilder, enqueueRedeemOpen, enqueueRedeemOpenWithBuilder, expiryMarketId, id, oldestUnfinishedTauMs, order, payOpen, payoutProgress, pendingCounts, phaseDone, phaseDrain, phasePay, queueHeads, queueId, queueStuck, quoteRedeemOpenWithBuilderFee, refund, resolve, settleStep, waitingCohorts, waitingOrders } from "../../contracts/deepbook_predict_orders/queue.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _mysten_sui_transactions301 from "@mysten/sui/transactions";
|
|
4
4
|
import { TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/predict/bindings/queue.d.ts
|
|
@@ -24,7 +24,7 @@ interface QuoteRedeemOpenOptions extends Omit<QuoteRedeemOpenOptions$1, 'argumen
|
|
|
24
24
|
* `quoteRedeemOpenWithBuilderFee` quotes a sell that names a builder. Changes nothing. The
|
|
25
25
|
* `wrapper` is no longer read, because the fee comes from the trade, not the account.
|
|
26
26
|
*/
|
|
27
|
-
declare function quoteRedeemOpen(options: QuoteRedeemOpenOptions): (tx:
|
|
27
|
+
declare function quoteRedeemOpen(options: QuoteRedeemOpenOptions): (tx: _mysten_sui_transactions301.Transaction) => _mysten_sui_transactions301.TransactionResult;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { queue_d_exports };
|
|
30
30
|
//# sourceMappingURL=queue.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.d.mts","names":[],"sources":["../../../src/predict/bindings/queue.ts"],"mappings":";;;;;;;;;UAciB,wBAAA;EAChB,KAAA,EAAO,sBAAA;EACP,MAAA,EAAQ,sBAAA;EACR,OAAA,EAAS,sBAAA;EACT,MAAA,EAAQ,mBAAA;EACR,QAAA,EAAU,sBAAA;EACV,aAAA,EAAe,sBAAA;AAAA;AAAA,UAEC,sBAAA,SAA+B,IAAA,CAC/C,wBAAA;EAGA,SAAA,EACG,wBAAA,GACA,OAAA,CAAQ,wBAAA;AAAA;;;;;;;iBAQI,eAAA,CAAgB,OAAA,EAAS,sBAAA,IAAsB,EAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"queue.d.mts","names":[],"sources":["../../../src/predict/bindings/queue.ts"],"mappings":";;;;;;;;;UAciB,wBAAA;EAChB,KAAA,EAAO,sBAAA;EACP,MAAA,EAAQ,sBAAA;EACR,OAAA,EAAS,sBAAA;EACT,MAAA,EAAQ,mBAAA;EACR,QAAA,EAAU,sBAAA;EACV,aAAA,EAAe,sBAAA;AAAA;AAAA,UAEC,sBAAA,SAA+B,IAAA,CAC/C,wBAAA;EAGA,SAAA,EACG,wBAAA,GACA,OAAA,CAAQ,wBAAA;AAAA;;;;;;;iBAQI,eAAA,CAAgB,OAAA,EAAS,sBAAA,IAAsB,EAAA,EAAA,2BAAA,CAAA,WAAA,KAAA,2BAAA,CAAA,iBAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeepBookConfig } from "../utils/config.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_transactions131 from "@mysten/sui/transactions";
|
|
3
3
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
4
4
|
|
|
5
5
|
//#region src/transactions/balanceManager.d.ts
|
|
@@ -21,7 +21,7 @@ declare class BalanceManagerContract {
|
|
|
21
21
|
* @description Create a new BalanceManager, manually set the owner. Returns the manager.
|
|
22
22
|
* @returns A function that takes a Transaction object
|
|
23
23
|
*/
|
|
24
|
-
createBalanceManagerWithOwner: (ownerAddress: string) => (tx: Transaction) =>
|
|
24
|
+
createBalanceManagerWithOwner: (ownerAddress: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
25
25
|
/**
|
|
26
26
|
* @description Share the BalanceManager
|
|
27
27
|
* @param {TransactionArgument} manager The BalanceManager to share
|
|
@@ -65,38 +65,38 @@ declare class BalanceManagerContract {
|
|
|
65
65
|
* @param {string} managerKey The key of the BalanceManager
|
|
66
66
|
* @returns A function that takes a Transaction object
|
|
67
67
|
*/
|
|
68
|
-
generateProof: (managerKey: string) => (tx: Transaction) =>
|
|
68
|
+
generateProof: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
69
69
|
/**
|
|
70
70
|
* @description Generate a trade proof as the owner
|
|
71
71
|
* @param {string} managerId The ID of the BalanceManager
|
|
72
72
|
* @returns A function that takes a Transaction object
|
|
73
73
|
*/
|
|
74
|
-
generateProofAsOwner: (managerId: string) => (tx: Transaction) =>
|
|
74
|
+
generateProofAsOwner: (managerId: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
75
75
|
/**
|
|
76
76
|
* @description Generate a trade proof as a trader
|
|
77
77
|
* @param {string} managerId The ID of the BalanceManager
|
|
78
78
|
* @param {string} tradeCapId The ID of the tradeCap
|
|
79
79
|
* @returns A function that takes a Transaction object
|
|
80
80
|
*/
|
|
81
|
-
generateProofAsTrader: (managerId: string, tradeCapId: string) => (tx: Transaction) =>
|
|
81
|
+
generateProofAsTrader: (managerId: string, tradeCapId: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
82
82
|
/**
|
|
83
83
|
* @description Mint a TradeCap
|
|
84
84
|
* @param {string} managerKey The name of the BalanceManager
|
|
85
85
|
* @returns A function that takes a Transaction object
|
|
86
86
|
*/
|
|
87
|
-
mintTradeCap: (managerKey: string) => (tx: Transaction) =>
|
|
87
|
+
mintTradeCap: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
88
88
|
/**
|
|
89
89
|
* @description Mint a DepositCap
|
|
90
90
|
* @param {string} managerKey The name of the BalanceManager
|
|
91
91
|
* @returns A function that takes a Transaction object
|
|
92
92
|
*/
|
|
93
|
-
mintDepositCap: (managerKey: string) => (tx: Transaction) =>
|
|
93
|
+
mintDepositCap: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
94
94
|
/**
|
|
95
95
|
* @description Mint a WithdrawalCap
|
|
96
96
|
* @param {string} managerKey The name of the BalanceManager
|
|
97
97
|
* @returns A function that takes a Transaction object
|
|
98
98
|
*/
|
|
99
|
-
mintWithdrawalCap: (managerKey: string) => (tx: Transaction) =>
|
|
99
|
+
mintWithdrawalCap: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
100
100
|
/**
|
|
101
101
|
* @description Deposit using the DepositCap
|
|
102
102
|
* @param {string} managerKey The name of the BalanceManager
|
|
@@ -112,7 +112,7 @@ declare class BalanceManagerContract {
|
|
|
112
112
|
* @param {number} amountToWithdraw The amount to withdraw
|
|
113
113
|
* @returns A function that takes a Transaction object
|
|
114
114
|
*/
|
|
115
|
-
withdrawWithCap: (managerKey: string, coinKey: string, amountToWithdraw: number) => (tx: Transaction) =>
|
|
115
|
+
withdrawWithCap: (managerKey: string, coinKey: string, amountToWithdraw: number) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
116
116
|
/**
|
|
117
117
|
* @description Set the referral for the BalanceManager for a specific pool
|
|
118
118
|
* @param {string} managerKey The name of the BalanceManager
|
|
@@ -147,20 +147,20 @@ declare class BalanceManagerContract {
|
|
|
147
147
|
* @param {string} referralId The ID of the referral to get the owner of
|
|
148
148
|
* @returns A function that takes a Transaction object
|
|
149
149
|
*/
|
|
150
|
-
balanceManagerReferralOwner: (referralId: string) => (tx: Transaction) =>
|
|
150
|
+
balanceManagerReferralOwner: (referralId: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
151
151
|
/**
|
|
152
152
|
* @description Get the pool ID associated with a referral (DeepBookPoolReferral)
|
|
153
153
|
* @param {string} referralId The ID of the referral to get the pool ID of
|
|
154
154
|
* @returns A function that takes a Transaction object
|
|
155
155
|
*/
|
|
156
|
-
balanceManagerReferralPoolId: (referralId: string) => (tx: Transaction) =>
|
|
156
|
+
balanceManagerReferralPoolId: (referralId: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
157
157
|
/**
|
|
158
158
|
* @description Get the referral ID from the balance manager for a specific pool
|
|
159
159
|
* @param {string} managerKey The name of the BalanceManager
|
|
160
160
|
* @param {string} poolKey Key of the pool to get the referral for
|
|
161
161
|
* @returns A function that takes a Transaction object
|
|
162
162
|
*/
|
|
163
|
-
getBalanceManagerReferralId: (managerKey: string, poolKey: string) => (tx: Transaction) =>
|
|
163
|
+
getBalanceManagerReferralId: (managerKey: string, poolKey: string) => (tx: Transaction) => _mysten_sui_transactions131.TransactionResult;
|
|
164
164
|
/**
|
|
165
165
|
* @description Revoke a TradeCap. This also revokes the associated DepositCap and WithdrawCap.
|
|
166
166
|
* @param {string} managerKey The name of the BalanceManager
|