@mysten/deepbook-v3 2.8.2 → 2.9.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 +28 -0
- package/PREDICT.md +26 -13
- package/dist/client.d.mts +2 -2
- package/dist/contracts/account/account.d.mts +23 -23
- package/dist/contracts/account/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 +19 -19
- package/dist/contracts/account/account_registry.d.mts.map +1 -1
- 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 +11 -11
- 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 +86 -81
- package/dist/contracts/deepbook_predict/config_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/config_events.mjs +9 -0
- package/dist/contracts/deepbook_predict/config_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +59 -59
- 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 +33 -28
- package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/market_manager.mjs +5 -3
- package/dist/contracts/deepbook_predict/market_manager.mjs.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 +82 -82
- 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 +108 -36
- package/dist/contracts/deepbook_predict/registry.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/registry.mjs +111 -7
- package/dist/contracts/deepbook_predict/registry.mjs.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 +49 -49
- 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 +27 -27
- package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
- package/dist/deployments/testnet.mjs +1 -1
- package/dist/deployments/testnet.mjs.map +1 -1
- package/dist/predict/bindings/expiry-market.d.mts +5 -5
- 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/transactions/balanceManager.d.mts +12 -12
- package/dist/transactions/balanceManager.d.mts.map +1 -1
- package/dist/transactions/deepbook.d.mts +20 -20
- package/dist/transactions/deepbook.d.mts.map +1 -1
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/deepbookAdmin.d.mts.map +1 -1
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginAdmin.d.mts.map +1 -1
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginMaintainer.d.mts.map +1 -1
- package/dist/transactions/marginManager.d.mts +32 -32
- package/dist/transactions/marginPool.d.mts +18 -18
- package/dist/transactions/marginPool.d.mts.map +1 -1
- 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/transactions/poolProxy.d.mts.map +1 -1
- package/dist/utils/constants.d.mts.map +1 -1
- package/dist/utils/constants.mjs +14 -4
- package/dist/utils/constants.mjs.map +1 -1
- package/package.json +1 -1
- package/src/contracts/deepbook_predict/config_events.ts +8 -0
- package/src/contracts/deepbook_predict/market_manager.ts +11 -5
- package/src/contracts/deepbook_predict/registry.ts +162 -6
- package/src/contracts/propbook/block_scholes_store.ts +48 -3
- package/src/contracts/propbook/registry.ts +45 -0
- package/src/deployments/testnet.ts +1 -1
- package/src/utils/constants.ts +24 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigValue, MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
2
|
import { BcsType } from "@mysten/sui/bcs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _mysten_sui_transactions418 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/expiry_market.d.ts
|
|
@@ -216,7 +216,7 @@ interface IdOptions {
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
/** Return the market object ID for external discovery and PTB construction. */
|
|
219
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
219
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
220
220
|
interface PropbookUnderlyingIdArguments {
|
|
221
221
|
market: RawTransactionArgument<string>;
|
|
222
222
|
}
|
|
@@ -228,7 +228,7 @@ interface PropbookUnderlyingIdOptions {
|
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
/** Return the Propbook underlying for SDK and devInspect market reads. */
|
|
231
|
-
declare function propbookUnderlyingId(options: PropbookUnderlyingIdOptions): (tx: Transaction) =>
|
|
231
|
+
declare function propbookUnderlyingId(options: PropbookUnderlyingIdOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
232
232
|
interface ExpiryArguments {
|
|
233
233
|
market: RawTransactionArgument<string>;
|
|
234
234
|
}
|
|
@@ -240,7 +240,7 @@ interface ExpiryOptions {
|
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
242
|
/** Return the expiry timestamp for SDK and devInspect market reads. */
|
|
243
|
-
declare function expiry(options: ExpiryOptions): (tx: Transaction) =>
|
|
243
|
+
declare function expiry(options: ExpiryOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
244
244
|
interface SettlementPriceArguments {
|
|
245
245
|
market: RawTransactionArgument<string>;
|
|
246
246
|
}
|
|
@@ -252,7 +252,7 @@ interface SettlementPriceOptions {
|
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
/** Return the recorded settlement price. Aborts if the market is not settled. */
|
|
255
|
-
declare function settlementPrice(options: SettlementPriceOptions): (tx: Transaction) =>
|
|
255
|
+
declare function settlementPrice(options: SettlementPriceOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
256
256
|
interface IsSettledArguments {
|
|
257
257
|
market: RawTransactionArgument<string>;
|
|
258
258
|
}
|
|
@@ -267,7 +267,7 @@ interface IsSettledOptions {
|
|
|
267
267
|
* Return whether terminal settlement has been recorded for this market. Public
|
|
268
268
|
* read for SDK/devInspect settlement-state checks.
|
|
269
269
|
*/
|
|
270
|
-
declare function isSettled(options: IsSettledOptions): (tx: Transaction) =>
|
|
270
|
+
declare function isSettled(options: IsSettledOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
271
271
|
interface TrySettlementPriceArguments {
|
|
272
272
|
market: RawTransactionArgument<string>;
|
|
273
273
|
}
|
|
@@ -282,7 +282,7 @@ interface TrySettlementPriceOptions {
|
|
|
282
282
|
* Return the recorded settlement price, or `none` while the market is live.
|
|
283
283
|
* Non-aborting companion to `settlement_price` for SDK/devInspect reads.
|
|
284
284
|
*/
|
|
285
|
-
declare function trySettlementPrice(options: TrySettlementPriceOptions): (tx: Transaction) =>
|
|
285
|
+
declare function trySettlementPrice(options: TrySettlementPriceOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
286
286
|
interface CashBalanceArguments {
|
|
287
287
|
market: RawTransactionArgument<string>;
|
|
288
288
|
}
|
|
@@ -294,7 +294,7 @@ interface CashBalanceOptions {
|
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
296
|
/** Return expiry USDC custody for SDK and devInspect state reads. */
|
|
297
|
-
declare function cashBalance(options: CashBalanceOptions): (tx: Transaction) =>
|
|
297
|
+
declare function cashBalance(options: CashBalanceOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
298
298
|
interface InventoryImpactReserveArguments {
|
|
299
299
|
market: RawTransactionArgument<string>;
|
|
300
300
|
}
|
|
@@ -306,7 +306,7 @@ interface InventoryImpactReserveOptions {
|
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
308
|
/** Return the isolated inventory-impact escrow for SDK and devInspect state reads. */
|
|
309
|
-
declare function inventoryImpactReserve(options: InventoryImpactReserveOptions): (tx: Transaction) =>
|
|
309
|
+
declare function inventoryImpactReserve(options: InventoryImpactReserveOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
310
310
|
interface FeeIncentiveBalanceArguments {
|
|
311
311
|
market: RawTransactionArgument<string>;
|
|
312
312
|
}
|
|
@@ -318,7 +318,7 @@ interface FeeIncentiveBalanceOptions {
|
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
/** Return local fee incentives for SDK and devInspect state reads. */
|
|
321
|
-
declare function feeIncentiveBalance(options: FeeIncentiveBalanceOptions): (tx: Transaction) =>
|
|
321
|
+
declare function feeIncentiveBalance(options: FeeIncentiveBalanceOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
322
322
|
interface BackingBufferLambdaArguments {
|
|
323
323
|
market: RawTransactionArgument<string>;
|
|
324
324
|
}
|
|
@@ -330,7 +330,7 @@ interface BackingBufferLambdaOptions {
|
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
332
|
/** Return the snapshotted backing-buffer lambda for SDK and devInspect reads. */
|
|
333
|
-
declare function backingBufferLambda(options: BackingBufferLambdaOptions): (tx: Transaction) =>
|
|
333
|
+
declare function backingBufferLambda(options: BackingBufferLambdaOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
334
334
|
interface ExpiryFeeWindowMsArguments {
|
|
335
335
|
market: RawTransactionArgument<string>;
|
|
336
336
|
}
|
|
@@ -342,7 +342,7 @@ interface ExpiryFeeWindowMsOptions {
|
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
344
|
/** Return the snapshotted fee-ramp window for SDK and devInspect reads. */
|
|
345
|
-
declare function expiryFeeWindowMs(options: ExpiryFeeWindowMsOptions): (tx: Transaction) =>
|
|
345
|
+
declare function expiryFeeWindowMs(options: ExpiryFeeWindowMsOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
346
346
|
interface ExpiryFeeMaxMultiplierArguments {
|
|
347
347
|
market: RawTransactionArgument<string>;
|
|
348
348
|
}
|
|
@@ -354,7 +354,7 @@ interface ExpiryFeeMaxMultiplierOptions {
|
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
356
|
/** Return the snapshotted fee-ramp multiplier for SDK and devInspect reads. */
|
|
357
|
-
declare function expiryFeeMaxMultiplier(options: ExpiryFeeMaxMultiplierOptions): (tx: Transaction) =>
|
|
357
|
+
declare function expiryFeeMaxMultiplier(options: ExpiryFeeMaxMultiplierOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
358
358
|
interface InventoryImpactMaxRateArguments {
|
|
359
359
|
market: RawTransactionArgument<string>;
|
|
360
360
|
}
|
|
@@ -369,7 +369,7 @@ interface InventoryImpactMaxRateOptions {
|
|
|
369
369
|
* Return this market's immutable maximum marginal inventory-impact rate for SDK
|
|
370
370
|
* and devInspect state reads.
|
|
371
371
|
*/
|
|
372
|
-
declare function inventoryImpactMaxRate(options: InventoryImpactMaxRateOptions): (tx: Transaction) =>
|
|
372
|
+
declare function inventoryImpactMaxRate(options: InventoryImpactMaxRateOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
373
373
|
interface InventoryImpactScaleArguments {
|
|
374
374
|
market: RawTransactionArgument<string>;
|
|
375
375
|
}
|
|
@@ -384,7 +384,7 @@ interface InventoryImpactScaleOptions {
|
|
|
384
384
|
* Return the immutable USDC scale of this market's inventory-impact curve for SDK
|
|
385
385
|
* and devInspect state reads.
|
|
386
386
|
*/
|
|
387
|
-
declare function inventoryImpactScale(options: InventoryImpactScaleOptions): (tx: Transaction) =>
|
|
387
|
+
declare function inventoryImpactScale(options: InventoryImpactScaleOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
388
388
|
interface TickSizeArguments {
|
|
389
389
|
market: RawTransactionArgument<string>;
|
|
390
390
|
}
|
|
@@ -399,7 +399,7 @@ interface TickSizeOptions {
|
|
|
399
399
|
* Return the strike tick size for SDK and devInspect range construction. Raw
|
|
400
400
|
* strikes are `tick * tick_size`.
|
|
401
401
|
*/
|
|
402
|
-
declare function tickSize(options: TickSizeOptions): (tx: Transaction) =>
|
|
402
|
+
declare function tickSize(options: TickSizeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
403
403
|
interface AdmissionTickSizeArguments {
|
|
404
404
|
market: RawTransactionArgument<string>;
|
|
405
405
|
}
|
|
@@ -411,7 +411,7 @@ interface AdmissionTickSizeOptions {
|
|
|
411
411
|
};
|
|
412
412
|
}
|
|
413
413
|
/** Return the admission-grid step for SDK and devInspect range construction. */
|
|
414
|
-
declare function admissionTickSize(options: AdmissionTickSizeOptions): (tx: Transaction) =>
|
|
414
|
+
declare function admissionTickSize(options: AdmissionTickSizeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
415
415
|
interface ReferenceTickArguments {
|
|
416
416
|
market: RawTransactionArgument<string>;
|
|
417
417
|
}
|
|
@@ -423,7 +423,7 @@ interface ReferenceTickOptions {
|
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
425
|
/** Return the admitted reference tick for SDK and devInspect range construction. */
|
|
426
|
-
declare function referenceTick(options: ReferenceTickOptions): (tx: Transaction) =>
|
|
426
|
+
declare function referenceTick(options: ReferenceTickOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
427
427
|
interface ReferenceTickSourceTimestampMsArguments {
|
|
428
428
|
market: RawTransactionArgument<string>;
|
|
429
429
|
}
|
|
@@ -435,7 +435,7 @@ interface ReferenceTickSourceTimestampMsOptions {
|
|
|
435
435
|
};
|
|
436
436
|
}
|
|
437
437
|
/** Return the reference observation timestamp for SDK and devInspect reads. */
|
|
438
|
-
declare function referenceTickSourceTimestampMs(options: ReferenceTickSourceTimestampMsOptions): (tx: Transaction) =>
|
|
438
|
+
declare function referenceTickSourceTimestampMs(options: ReferenceTickSourceTimestampMsOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
439
439
|
interface PayoutLiabilityArguments {
|
|
440
440
|
market: RawTransactionArgument<string>;
|
|
441
441
|
}
|
|
@@ -450,7 +450,7 @@ interface PayoutLiabilityOptions {
|
|
|
450
450
|
* Return payout reserve or settled liability for external accounting
|
|
451
451
|
* observability.
|
|
452
452
|
*/
|
|
453
|
-
declare function payoutLiability(options: PayoutLiabilityOptions): (tx: Transaction) =>
|
|
453
|
+
declare function payoutLiability(options: PayoutLiabilityOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
454
454
|
interface RequiredCashArguments {
|
|
455
455
|
market: RawTransactionArgument<string>;
|
|
456
456
|
}
|
|
@@ -462,7 +462,7 @@ interface RequiredCashOptions {
|
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
464
|
/** Return required expiry cash for external accounting observability. */
|
|
465
|
-
declare function requiredCash(options: RequiredCashOptions): (tx: Transaction) =>
|
|
465
|
+
declare function requiredCash(options: RequiredCashOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
466
466
|
interface LoadLivePricerArguments {
|
|
467
467
|
market: RawTransactionArgument<string>;
|
|
468
468
|
config?: RawTransactionArgument<string>;
|
|
@@ -492,7 +492,7 @@ interface LoadLivePricerOptions {
|
|
|
492
492
|
* compares observation `writer_digest` to `tx_context::digest()`, not sender
|
|
493
493
|
* identity, and does not prohibit reads of older observations.
|
|
494
494
|
*/
|
|
495
|
-
declare function loadLivePricer(options: LoadLivePricerOptions): (tx: Transaction) =>
|
|
495
|
+
declare function loadLivePricer(options: LoadLivePricerOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
496
496
|
interface IsPendingValuationArguments {
|
|
497
497
|
market: RawTransactionArgument<string>;
|
|
498
498
|
config?: RawTransactionArgument<string>;
|
|
@@ -512,7 +512,7 @@ interface IsPendingValuationOptions {
|
|
|
512
512
|
* settlement-invariant, so a stamped market settles the instant it expires. Do not
|
|
513
513
|
* defer a settlement attempt on this read.
|
|
514
514
|
*/
|
|
515
|
-
declare function isPendingValuation(options: IsPendingValuationOptions): (tx: Transaction) =>
|
|
515
|
+
declare function isPendingValuation(options: IsPendingValuationOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
516
516
|
interface CurrentNavArguments {
|
|
517
517
|
market: RawTransactionArgument<string>;
|
|
518
518
|
pricer: TransactionArgument;
|
|
@@ -530,7 +530,7 @@ interface CurrentNavOptions {
|
|
|
530
530
|
* `Pricer`; an expired but unsettled market cannot be valued through this path.
|
|
531
531
|
* Public for PTB composition and devInspect pool valuation.
|
|
532
532
|
*/
|
|
533
|
-
declare function currentNav(options: CurrentNavOptions): (tx: Transaction) =>
|
|
533
|
+
declare function currentNav(options: CurrentNavOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
534
534
|
interface LiveOrderValueArguments {
|
|
535
535
|
market: RawTransactionArgument<string>;
|
|
536
536
|
pricer: TransactionArgument;
|
|
@@ -548,7 +548,7 @@ interface LiveOrderValueOptions {
|
|
|
548
548
|
* market-bound `Pricer` and does not prove account ownership of `order_id`. Public
|
|
549
549
|
* for SDK, PTB, and devInspect position valuation.
|
|
550
550
|
*/
|
|
551
|
-
declare function liveOrderValue(options: LiveOrderValueOptions): (tx: Transaction) =>
|
|
551
|
+
declare function liveOrderValue(options: LiveOrderValueOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
552
552
|
interface SettledOrderPayoutArguments {
|
|
553
553
|
market: RawTransactionArgument<string>;
|
|
554
554
|
orderId: RawTransactionArgument<number | bigint>;
|
|
@@ -564,7 +564,7 @@ interface SettledOrderPayoutOptions {
|
|
|
564
564
|
* Return one settled order's terminal payout. This function does not prove account
|
|
565
565
|
* ownership of `order_id`. Public for SDK, PTB, and devInspect position valuation.
|
|
566
566
|
*/
|
|
567
|
-
declare function settledOrderPayout(options: SettledOrderPayoutOptions): (tx: Transaction) =>
|
|
567
|
+
declare function settledOrderPayout(options: SettledOrderPayoutOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
568
568
|
interface MintPausedArguments {
|
|
569
569
|
market: RawTransactionArgument<string>;
|
|
570
570
|
}
|
|
@@ -576,7 +576,7 @@ interface MintPausedOptions {
|
|
|
576
576
|
};
|
|
577
577
|
}
|
|
578
578
|
/** Return the market mint-pause state for SDK and devInspect reads. */
|
|
579
|
-
declare function mintPaused(options: MintPausedOptions): (tx: Transaction) =>
|
|
579
|
+
declare function mintPaused(options: MintPausedOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
580
580
|
interface QuoteMintArguments {
|
|
581
581
|
market: RawTransactionArgument<string>;
|
|
582
582
|
config?: RawTransactionArgument<string>;
|
|
@@ -605,7 +605,7 @@ interface QuoteMintOptions {
|
|
|
605
605
|
* (`EInvalidOrderTiming`). Aborts `EOrderFailsLimits` when the mint would be
|
|
606
606
|
* refused at the clock.
|
|
607
607
|
*/
|
|
608
|
-
declare function quoteMint(options: QuoteMintOptions): (tx: Transaction) =>
|
|
608
|
+
declare function quoteMint(options: QuoteMintOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
609
609
|
interface QuoteMintForAccountArguments {
|
|
610
610
|
market: RawTransactionArgument<string>;
|
|
611
611
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -629,7 +629,7 @@ interface QuoteMintForAccountOptions {
|
|
|
629
629
|
* `quote_mint` for the wrapper's account: `max_premium` is capped at the account's
|
|
630
630
|
* balance and the account's builder fee is charged.
|
|
631
631
|
*/
|
|
632
|
-
declare function quoteMintForAccount(options: QuoteMintForAccountOptions): (tx: Transaction) =>
|
|
632
|
+
declare function quoteMintForAccount(options: QuoteMintForAccountOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
633
633
|
interface QuoteMintExactCostForAccountArguments {
|
|
634
634
|
market: RawTransactionArgument<string>;
|
|
635
635
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -654,7 +654,7 @@ interface QuoteMintExactCostForAccountOptions {
|
|
|
654
654
|
* exact-cost fill at the clock. Charges the account's builder fee, and otherwise
|
|
655
655
|
* prices and gates like `quote_mint`.
|
|
656
656
|
*/
|
|
657
|
-
declare function quoteMintExactCostForAccount(options: QuoteMintExactCostForAccountOptions): (tx: Transaction) =>
|
|
657
|
+
declare function quoteMintExactCostForAccount(options: QuoteMintExactCostForAccountOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
658
658
|
interface OrderFlowStateArguments {
|
|
659
659
|
market: RawTransactionArgument<string>;
|
|
660
660
|
}
|
|
@@ -673,7 +673,7 @@ interface OrderFlowStateOptions {
|
|
|
673
673
|
* the snapshotted minimum entry probability the SDK computes a queued mint's cash
|
|
674
674
|
* need from. For SDK, keeper, and devInspect reads.
|
|
675
675
|
*/
|
|
676
|
-
declare function orderFlowState(options: OrderFlowStateOptions): (tx: Transaction) =>
|
|
676
|
+
declare function orderFlowState(options: OrderFlowStateOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
677
677
|
interface ReceiptInfoArguments {
|
|
678
678
|
receipt: TransactionArgument;
|
|
679
679
|
}
|
|
@@ -690,7 +690,7 @@ interface ReceiptInfoOptions {
|
|
|
690
690
|
* For the order-flow companion's queue events and Lazer decoding, and devInspect
|
|
691
691
|
* reads of queue records.
|
|
692
692
|
*/
|
|
693
|
-
declare function receiptInfo(options: ReceiptInfoOptions): (tx: Transaction) =>
|
|
693
|
+
declare function receiptInfo(options: ReceiptInfoOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
694
694
|
interface QuantityArguments {
|
|
695
695
|
quote: TransactionArgument;
|
|
696
696
|
}
|
|
@@ -702,7 +702,7 @@ interface QuantityOptions {
|
|
|
702
702
|
};
|
|
703
703
|
}
|
|
704
704
|
/** Return the sized quantity for SDK and devInspect quote consumers. */
|
|
705
|
-
declare function quantity(options: QuantityOptions): (tx: Transaction) =>
|
|
705
|
+
declare function quantity(options: QuantityOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
706
706
|
interface EntryProbabilityArguments {
|
|
707
707
|
quote: TransactionArgument;
|
|
708
708
|
}
|
|
@@ -714,7 +714,7 @@ interface EntryProbabilityOptions {
|
|
|
714
714
|
};
|
|
715
715
|
}
|
|
716
716
|
/** Return the quoted range probability for SDK and devInspect consumers. */
|
|
717
|
-
declare function entryProbability(options: EntryProbabilityOptions): (tx: Transaction) =>
|
|
717
|
+
declare function entryProbability(options: EntryProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
718
718
|
interface PremiumArguments {
|
|
719
719
|
quote: TransactionArgument;
|
|
720
720
|
}
|
|
@@ -726,7 +726,7 @@ interface PremiumOptions {
|
|
|
726
726
|
};
|
|
727
727
|
}
|
|
728
728
|
/** Return the quoted premium for SDK and devInspect consumers. */
|
|
729
|
-
declare function premium(options: PremiumOptions): (tx: Transaction) =>
|
|
729
|
+
declare function premium(options: PremiumOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
730
730
|
interface TradingFeeArguments {
|
|
731
731
|
quote: TransactionArgument;
|
|
732
732
|
}
|
|
@@ -738,7 +738,7 @@ interface TradingFeeOptions {
|
|
|
738
738
|
};
|
|
739
739
|
}
|
|
740
740
|
/** Return the quoted trading fee before subsidy for SDK and devInspect consumers. */
|
|
741
|
-
declare function tradingFee(options: TradingFeeOptions): (tx: Transaction) =>
|
|
741
|
+
declare function tradingFee(options: TradingFeeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
742
742
|
interface FeeIncentiveSubsidyArguments {
|
|
743
743
|
quote: TransactionArgument;
|
|
744
744
|
}
|
|
@@ -753,7 +753,7 @@ interface FeeIncentiveSubsidyOptions {
|
|
|
753
753
|
* Return the sponsor-funded portion of the quoted fee for SDK and devInspect
|
|
754
754
|
* consumers.
|
|
755
755
|
*/
|
|
756
|
-
declare function feeIncentiveSubsidy(options: FeeIncentiveSubsidyOptions): (tx: Transaction) =>
|
|
756
|
+
declare function feeIncentiveSubsidy(options: FeeIncentiveSubsidyOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
757
757
|
interface BuilderFeeArguments {
|
|
758
758
|
quote: TransactionArgument;
|
|
759
759
|
}
|
|
@@ -765,7 +765,7 @@ interface BuilderFeeOptions {
|
|
|
765
765
|
};
|
|
766
766
|
}
|
|
767
767
|
/** Return the quoted builder fee for SDK and devInspect consumers. */
|
|
768
|
-
declare function builderFee(options: BuilderFeeOptions): (tx: Transaction) =>
|
|
768
|
+
declare function builderFee(options: BuilderFeeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
769
769
|
interface PenaltyFeeArguments {
|
|
770
770
|
quote: TransactionArgument;
|
|
771
771
|
}
|
|
@@ -777,7 +777,7 @@ interface PenaltyFeeOptions {
|
|
|
777
777
|
};
|
|
778
778
|
}
|
|
779
779
|
/** Return the quoted EWMA congestion surcharge for SDK and devInspect consumers. */
|
|
780
|
-
declare function penaltyFee(options: PenaltyFeeOptions): (tx: Transaction) =>
|
|
780
|
+
declare function penaltyFee(options: PenaltyFeeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
781
781
|
interface InventoryImpactChargeArguments {
|
|
782
782
|
quote: TransactionArgument;
|
|
783
783
|
}
|
|
@@ -792,7 +792,7 @@ interface InventoryImpactChargeOptions {
|
|
|
792
792
|
* Return the separate inventory-impact charge for SDK and devInspect quote
|
|
793
793
|
* consumers.
|
|
794
794
|
*/
|
|
795
|
-
declare function inventoryImpactCharge(options: InventoryImpactChargeOptions): (tx: Transaction) =>
|
|
795
|
+
declare function inventoryImpactCharge(options: InventoryImpactChargeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
796
796
|
interface AllInCostArguments {
|
|
797
797
|
quote: TransactionArgument;
|
|
798
798
|
}
|
|
@@ -804,7 +804,7 @@ interface AllInCostOptions {
|
|
|
804
804
|
};
|
|
805
805
|
}
|
|
806
806
|
/** Return the total quoted account withdrawal for SDK and devInspect consumers. */
|
|
807
|
-
declare function allInCost(options: AllInCostOptions): (tx: Transaction) =>
|
|
807
|
+
declare function allInCost(options: AllInCostOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
808
808
|
interface RedeemCloseQuantityArguments {
|
|
809
809
|
quote: TransactionArgument;
|
|
810
810
|
}
|
|
@@ -815,7 +815,7 @@ interface RedeemCloseQuantityOptions {
|
|
|
815
815
|
predictPackageId?: string;
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
|
-
declare function redeemCloseQuantity(options: RedeemCloseQuantityOptions): (tx: Transaction) =>
|
|
818
|
+
declare function redeemCloseQuantity(options: RedeemCloseQuantityOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
819
819
|
interface RedeemProbabilityArguments {
|
|
820
820
|
quote: TransactionArgument;
|
|
821
821
|
}
|
|
@@ -826,7 +826,7 @@ interface RedeemProbabilityOptions {
|
|
|
826
826
|
predictPackageId?: string;
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
|
-
declare function redeemProbability(options: RedeemProbabilityOptions): (tx: Transaction) =>
|
|
829
|
+
declare function redeemProbability(options: RedeemProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
830
830
|
interface RedeemProceedsArguments {
|
|
831
831
|
quote: TransactionArgument;
|
|
832
832
|
}
|
|
@@ -837,7 +837,7 @@ interface RedeemProceedsOptions {
|
|
|
837
837
|
predictPackageId?: string;
|
|
838
838
|
};
|
|
839
839
|
}
|
|
840
|
-
declare function redeemProceeds(options: RedeemProceedsOptions): (tx: Transaction) =>
|
|
840
|
+
declare function redeemProceeds(options: RedeemProceedsOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
841
841
|
interface RedeemTradingFeeArguments {
|
|
842
842
|
quote: TransactionArgument;
|
|
843
843
|
}
|
|
@@ -848,7 +848,7 @@ interface RedeemTradingFeeOptions {
|
|
|
848
848
|
predictPackageId?: string;
|
|
849
849
|
};
|
|
850
850
|
}
|
|
851
|
-
declare function redeemTradingFee(options: RedeemTradingFeeOptions): (tx: Transaction) =>
|
|
851
|
+
declare function redeemTradingFee(options: RedeemTradingFeeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
852
852
|
interface RedeemBuilderFeeArguments {
|
|
853
853
|
quote: TransactionArgument;
|
|
854
854
|
}
|
|
@@ -859,7 +859,7 @@ interface RedeemBuilderFeeOptions {
|
|
|
859
859
|
predictPackageId?: string;
|
|
860
860
|
};
|
|
861
861
|
}
|
|
862
|
-
declare function redeemBuilderFee(options: RedeemBuilderFeeOptions): (tx: Transaction) =>
|
|
862
|
+
declare function redeemBuilderFee(options: RedeemBuilderFeeOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
863
863
|
interface RedeemInventoryImpactRebateArguments {
|
|
864
864
|
quote: TransactionArgument;
|
|
865
865
|
}
|
|
@@ -870,7 +870,7 @@ interface RedeemInventoryImpactRebateOptions {
|
|
|
870
870
|
predictPackageId?: string;
|
|
871
871
|
};
|
|
872
872
|
}
|
|
873
|
-
declare function redeemInventoryImpactRebate(options: RedeemInventoryImpactRebateOptions): (tx: Transaction) =>
|
|
873
|
+
declare function redeemInventoryImpactRebate(options: RedeemInventoryImpactRebateOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
874
874
|
interface QuoteCloseArguments {
|
|
875
875
|
market: RawTransactionArgument<string>;
|
|
876
876
|
pricer: TransactionArgument;
|
|
@@ -895,7 +895,7 @@ interface QuoteCloseOptions {
|
|
|
895
895
|
* be priced (`EOrderFailsLimits`). Public for the order-flow companion's sell
|
|
896
896
|
* preview and SDK reads.
|
|
897
897
|
*/
|
|
898
|
-
declare function quoteClose(options: QuoteCloseOptions): (tx: Transaction) =>
|
|
898
|
+
declare function quoteClose(options: QuoteCloseOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
899
899
|
interface MintExactQuantityArguments {
|
|
900
900
|
Market: RawTransactionArgument<string>;
|
|
901
901
|
Wrapper: RawTransactionArgument<string>;
|
|
@@ -996,7 +996,7 @@ interface RedeemSettledOptions {
|
|
|
996
996
|
* Explicit owner auth remains available when Predict app automation is
|
|
997
997
|
* deauthorized; another authorized app may also supply valid account auth.
|
|
998
998
|
*/
|
|
999
|
-
declare function redeemSettled(options: RedeemSettledOptions): (tx: Transaction) =>
|
|
999
|
+
declare function redeemSettled(options: RedeemSettledOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1000
1000
|
interface RedeemSettledPermissionlessArguments {
|
|
1001
1001
|
market: RawTransactionArgument<string>;
|
|
1002
1002
|
accountRegistry: RawTransactionArgument<string>;
|
|
@@ -1023,7 +1023,7 @@ interface RedeemSettledPermissionlessOptions {
|
|
|
1023
1023
|
* also disables it. Owners can still use `redeem_settled` with owner auth to
|
|
1024
1024
|
* redeem their own settled positions.
|
|
1025
1025
|
*/
|
|
1026
|
-
declare function redeemSettledPermissionless(options: RedeemSettledPermissionlessOptions): (tx: Transaction) =>
|
|
1026
|
+
declare function redeemSettledPermissionless(options: RedeemSettledPermissionlessOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1027
1027
|
interface SetReferenceTickArguments {
|
|
1028
1028
|
market: RawTransactionArgument<string>;
|
|
1029
1029
|
config?: RawTransactionArgument<string>;
|
|
@@ -1047,7 +1047,7 @@ interface SetReferenceTickOptions {
|
|
|
1047
1047
|
* the reference tick shapes mint admission only, and a mint it admits mid-flush is
|
|
1048
1048
|
* invisible to the captured snapshot like any other.
|
|
1049
1049
|
*/
|
|
1050
|
-
declare function setReferenceTick(options: SetReferenceTickOptions): (tx: Transaction) =>
|
|
1050
|
+
declare function setReferenceTick(options: SetReferenceTickOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1051
1051
|
interface SetMintPausedArguments {
|
|
1052
1052
|
market: RawTransactionArgument<string>;
|
|
1053
1053
|
config?: RawTransactionArgument<string>;
|
|
@@ -1067,7 +1067,7 @@ interface SetMintPausedOptions {
|
|
|
1067
1067
|
* version-gated. A `PauseCap` holder can force-engage the pause one-way under a
|
|
1068
1068
|
* version freeze via `registry::pause_expiry_market_mint_pause_cap`.
|
|
1069
1069
|
*/
|
|
1070
|
-
declare function setMintPaused(options: SetMintPausedOptions): (tx: Transaction) =>
|
|
1070
|
+
declare function setMintPaused(options: SetMintPausedOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1071
1071
|
interface TrySettleArguments {
|
|
1072
1072
|
market: RawTransactionArgument<string>;
|
|
1073
1073
|
config?: RawTransactionArgument<string>;
|
|
@@ -1096,7 +1096,7 @@ interface TrySettleOptions {
|
|
|
1096
1096
|
* covers every queue-held position, which lives in the payout tree. The companion
|
|
1097
1097
|
* drains and pays its queue afterwards.
|
|
1098
1098
|
*/
|
|
1099
|
-
declare function trySettle(options: TrySettleOptions): (tx: Transaction) =>
|
|
1099
|
+
declare function trySettle(options: TrySettleOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1100
1100
|
interface AdmitMintArguments<W extends BcsType<any>> {
|
|
1101
1101
|
W: RawTransactionArgument<W>;
|
|
1102
1102
|
market: RawTransactionArgument<string>;
|
|
@@ -1154,7 +1154,7 @@ interface AdmitMintOptions<W extends BcsType<any>> {
|
|
|
1154
1154
|
* then pins both boundary nodes, creating them under the node cap, and adds the
|
|
1155
1155
|
* cash need to the ledger.
|
|
1156
1156
|
*/
|
|
1157
|
-
declare function admitMint<W extends BcsType<any>>(options: AdmitMintOptions<W>): (tx: Transaction) =>
|
|
1157
|
+
declare function admitMint<W extends BcsType<any>>(options: AdmitMintOptions<W>): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1158
1158
|
interface AdmitSellArguments<W extends BcsType<any>> {
|
|
1159
1159
|
W: RawTransactionArgument<W>;
|
|
1160
1160
|
market: RawTransactionArgument<string>;
|
|
@@ -1202,7 +1202,7 @@ interface AdmitSellOptions<W extends BcsType<any>> {
|
|
|
1202
1202
|
* `close_quantity`. There is no spare-cash check. The keeper funds the market
|
|
1203
1203
|
* before τ, and the fill refunds a sell the market cannot cover.
|
|
1204
1204
|
*/
|
|
1205
|
-
declare function admitSell<W extends BcsType<any>>(options: AdmitSellOptions<W>): (tx: Transaction) =>
|
|
1205
|
+
declare function admitSell<W extends BcsType<any>>(options: AdmitSellOptions<W>): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1206
1206
|
interface CommitArguments<W extends BcsType<any>> {
|
|
1207
1207
|
W: RawTransactionArgument<W>;
|
|
1208
1208
|
market: RawTransactionArgument<string>;
|
|
@@ -1235,7 +1235,7 @@ interface CommitOptions<W extends BcsType<any>> {
|
|
|
1235
1235
|
* the receipt is this market's (`EWrongMarket`), admitted with no price yet
|
|
1236
1236
|
* (`EWrongStage`), and before its deadline (`EInvalidOrderTiming`).
|
|
1237
1237
|
*/
|
|
1238
|
-
declare function commit<W extends BcsType<any>>(options: CommitOptions<W>): (tx: Transaction) =>
|
|
1238
|
+
declare function commit<W extends BcsType<any>>(options: CommitOptions<W>): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1239
1239
|
interface TryFillArguments<W extends BcsType<any>> {
|
|
1240
1240
|
W: RawTransactionArgument<W>;
|
|
1241
1241
|
market: RawTransactionArgument<string>;
|
|
@@ -1289,7 +1289,7 @@ interface TryFillOptions<W extends BcsType<any>> {
|
|
|
1289
1289
|
* rest of the escrow, and returns a sell's receipt open or consumes a mint's.
|
|
1290
1290
|
* Every outcome takes the order out of the ledger.
|
|
1291
1291
|
*/
|
|
1292
|
-
declare function tryFill<W extends BcsType<any>>(options: TryFillOptions<W>): (tx: Transaction) =>
|
|
1292
|
+
declare function tryFill<W extends BcsType<any>>(options: TryFillOptions<W>): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1293
1293
|
interface ReleaseArguments {
|
|
1294
1294
|
market: RawTransactionArgument<string>;
|
|
1295
1295
|
config?: RawTransactionArgument<string>;
|
|
@@ -1325,7 +1325,7 @@ interface ReleaseOptions {
|
|
|
1325
1325
|
* (`EWrongMarket`), a receipt not admitted (`EWrongStage`), or `escrow` below
|
|
1326
1326
|
* `budget + order_fee + subsidy_reserved` (`EEscrowMismatch`).
|
|
1327
1327
|
*/
|
|
1328
|
-
declare function release(options: ReleaseOptions): (tx: Transaction) =>
|
|
1328
|
+
declare function release(options: ReleaseOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1329
1329
|
interface TryPaySettledArguments {
|
|
1330
1330
|
market: RawTransactionArgument<string>;
|
|
1331
1331
|
config?: RawTransactionArgument<string>;
|
|
@@ -1350,7 +1350,7 @@ interface TryPaySettledOptions {
|
|
|
1350
1350
|
* Aborts on another market's receipt (`EWrongMarket`), a receipt that is not open
|
|
1351
1351
|
* (`EWrongStage`), or an unsettled market (`EMarketNotSettled`).
|
|
1352
1352
|
*/
|
|
1353
|
-
declare function tryPaySettled(options: TryPaySettledOptions): (tx: Transaction) =>
|
|
1353
|
+
declare function tryPaySettled(options: TryPaySettledOptions): (tx: Transaction) => _mysten_sui_transactions418.TransactionResult;
|
|
1354
1354
|
//#endregion
|
|
1355
1355
|
export { AdmissionTickSizeArguments, AdmissionTickSizeOptions, AdmitMintArguments, AdmitMintOptions, AdmitSellArguments, AdmitSellOptions, AllInCostArguments, AllInCostOptions, BackingBufferLambdaArguments, BackingBufferLambdaOptions, BuilderFeeArguments, BuilderFeeOptions, 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, MintExactCostOptions, MintExactQuantityOptions, MintPausedArguments, MintPausedOptions, MintQuote, OrderFlowLedger, OrderFlowLedgerKey, OrderFlowStateArguments, OrderFlowStateOptions, OrderParties, OrderReceipt, PayoutLiabilityArguments, PayoutLiabilityOptions, PenaltyFeeArguments, PenaltyFeeOptions, PremiumArguments, PremiumOptions, PropbookUnderlyingIdArguments, PropbookUnderlyingIdOptions, QuantityArguments, QuantityOptions, QuoteCloseArguments, QuoteCloseOptions, QuoteMintArguments, QuoteMintExactCostForAccountArguments, QuoteMintExactCostForAccountOptions, QuoteMintForAccountArguments, QuoteMintForAccountOptions, QuoteMintOptions, ReceiptInfoArguments, ReceiptInfoOptions, RedeemBuilderFeeArguments, RedeemBuilderFeeOptions, RedeemCloseQuantityArguments, RedeemCloseQuantityOptions, RedeemInventoryImpactRebateArguments, RedeemInventoryImpactRebateOptions, RedeemLiveOptions, RedeemProbabilityArguments, RedeemProbabilityOptions, RedeemProceedsArguments, RedeemProceedsOptions, RedeemQuote, RedeemSettledArguments, RedeemSettledOptions, RedeemSettledPermissionlessArguments, RedeemSettledPermissionlessOptions, 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, admitSell, allInCost, backingBufferLambda, builderFee, 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, quoteClose, quoteMint, quoteMintExactCostForAccount, quoteMintForAccount, receiptInfo, redeemBuilderFee, redeemCloseQuantity, redeemInventoryImpactRebate, redeemProbability, redeemProceeds, redeemSettled, redeemSettledPermissionless, redeemTradingFee, referenceTick, referenceTickSourceTimestampMs, release, requiredCash, setMintPaused, setReferenceTick, settledOrderPayout, settlementPrice, tickSize, tradingFee, tryFill, tryPaySettled, trySettle, trySettlementPrice };
|
|
1356
1356
|
//# sourceMappingURL=expiry_market.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs29 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions154 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/market_lifecycle_cap.d.ts
|
|
@@ -8,7 +8,7 @@ declare namespace market_lifecycle_cap_d_exports {
|
|
|
8
8
|
export { DestroyArguments, DestroyOptions, IdArguments, IdOptions, MarketLifecycleCap, destroy, id };
|
|
9
9
|
}
|
|
10
10
|
declare const MarketLifecycleCap: MoveStruct<{
|
|
11
|
-
id:
|
|
11
|
+
id: _mysten_sui_bcs29.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
12
12
|
}, "@local-pkg/deepbook_predict::market_lifecycle_cap::MarketLifecycleCap">;
|
|
13
13
|
interface IdArguments {
|
|
14
14
|
cap: RawTransactionArgument<string>;
|
|
@@ -21,7 +21,7 @@ interface IdOptions {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
/** Returns the capability identity used by the registry allowlist. */
|
|
24
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
24
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions154.TransactionResult;
|
|
25
25
|
interface DestroyArguments {
|
|
26
26
|
cap: RawTransactionArgument<string>;
|
|
27
27
|
}
|
|
@@ -33,7 +33,7 @@ interface DestroyOptions {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
/** Destroy a `MarketLifecycleCap` the holder no longer needs. */
|
|
36
|
-
declare function destroy(options: DestroyOptions): (tx: Transaction) =>
|
|
36
|
+
declare function destroy(options: DestroyOptions): (tx: Transaction) => _mysten_sui_transactions154.TransactionResult;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { market_lifecycle_cap_d_exports };
|
|
39
39
|
//# sourceMappingURL=market_lifecycle_cap.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market_lifecycle_cap.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/market_lifecycle_cap.ts"],"mappings":";;;;;;;;;cAca,kBAAA,EAAkB,UAAA;;;UAMd,WAAA;EAChB,GAAA,EAAK,sBAAA;AAAA;AAAA,UAEW,SAAA;EAChB,OAAA;EACA,SAAA,EAAW,WAAA,IAAe,GAAA,EAAK,sBAAA;EAC/B,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,EAAA,CAAG,OAAA,EAAS,SAAA,IAKnB,EAAA,EAAI,WAAA,KAAW,
|
|
1
|
+
{"version":3,"file":"market_lifecycle_cap.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/market_lifecycle_cap.ts"],"mappings":";;;;;;;;;cAca,kBAAA,EAAkB,UAAA;;;UAMd,WAAA;EAChB,GAAA,EAAK,sBAAA;AAAA;AAAA,UAEW,SAAA;EAChB,OAAA;EACA,SAAA,EAAW,WAAA,IAAe,GAAA,EAAK,sBAAA;EAC/B,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,EAAA,CAAG,OAAA,EAAS,SAAA,IAKnB,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA;AAAA,UAQP,gBAAA;EAChB,GAAA,EAAK,sBAAA;AAAA;AAAA,UAEW,cAAA;EAChB,OAAA;EACA,SAAA,EAAW,gBAAA,IAAoB,GAAA,EAAK,sBAAA;EACpC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,OAAA,CAAQ,OAAA,EAAS,cAAA,IAKxB,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA"}
|