@mysten/deepbook-v3 2.4.2 → 2.5.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/contracts/account/account.d.mts +23 -23
  3. package/dist/contracts/account/account.d.mts.map +1 -1
  4. package/dist/contracts/account/account_events.d.mts +20 -20
  5. package/dist/contracts/account/account_events.d.mts.map +1 -1
  6. package/dist/contracts/account/account_registry.d.mts +19 -19
  7. package/dist/contracts/account/account_registry.d.mts.map +1 -1
  8. package/dist/contracts/deepbook/account.d.mts +18 -18
  9. package/dist/contracts/deepbook/balances.d.mts +4 -4
  10. package/dist/contracts/deepbook/deep_price.d.mts +3 -3
  11. package/dist/contracts/deepbook/order.d.mts +12 -12
  12. package/dist/contracts/deepbook_predict/admin.d.mts +4 -4
  13. package/dist/contracts/deepbook_predict/admin.d.mts.map +1 -1
  14. package/dist/contracts/deepbook_predict/builder_code.d.mts +11 -11
  15. package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
  16. package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
  17. package/dist/contracts/deepbook_predict/config_events.d.mts +67 -67
  18. package/dist/contracts/deepbook_predict/config_events.d.mts.map +1 -1
  19. package/dist/contracts/deepbook_predict/expiry_market.d.mts +95 -95
  20. package/dist/contracts/deepbook_predict/expiry_market.d.mts.map +1 -1
  21. package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
  22. package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts.map +1 -1
  23. package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
  24. package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
  25. package/dist/contracts/deepbook_predict/order_events.d.mts +50 -50
  26. package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
  27. package/dist/contracts/deepbook_predict/pause_cap.d.mts.map +1 -1
  28. package/dist/contracts/deepbook_predict/plp.d.mts +72 -72
  29. package/dist/contracts/deepbook_predict/plp.d.mts.map +1 -1
  30. package/dist/contracts/deepbook_predict/plp.mjs +1 -1
  31. package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts +5 -5
  32. package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts.map +1 -1
  33. package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
  34. package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
  35. package/dist/contracts/deepbook_predict/pricing.d.mts +92 -51
  36. package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
  37. package/dist/contracts/deepbook_predict/pricing.mjs +57 -7
  38. package/dist/contracts/deepbook_predict/pricing.mjs.map +1 -1
  39. package/dist/contracts/deepbook_predict/protocol_config.d.mts +64 -64
  40. package/dist/contracts/deepbook_predict/protocol_config.d.mts.map +1 -1
  41. package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
  42. package/dist/contracts/deepbook_predict/range_codec.d.mts.map +1 -1
  43. package/dist/contracts/deepbook_predict/registry.d.mts +28 -28
  44. package/dist/contracts/deepbook_predict/strike_exposure.mjs +3 -2
  45. package/dist/contracts/deepbook_predict/strike_exposure.mjs.map +1 -1
  46. package/dist/contracts/deepbook_predict/vault_events.d.mts +105 -105
  47. package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
  48. package/dist/contracts/deepbook_sessions/session_config.d.mts.map +1 -1
  49. package/dist/contracts/deepbook_sessions/sessions.d.mts +22 -22
  50. package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
  51. package/dist/deployments/mainnet.mjs +21 -21
  52. package/dist/deployments/mainnet.mjs.map +1 -1
  53. package/dist/deployments/testnet.mjs +21 -21
  54. package/dist/deployments/testnet.mjs.map +1 -1
  55. package/dist/predict/index.mjs +1 -1
  56. package/dist/predict/reads/markets.mjs +11 -3
  57. package/dist/predict/reads/markets.mjs.map +1 -1
  58. package/dist/predict/reads/pricing.d.mts +0 -1
  59. package/dist/predict/reads/pricing.d.mts.map +1 -1
  60. package/dist/predict/reads/pricing.mjs +1 -1
  61. package/dist/transactions/balanceManager.d.mts +12 -12
  62. package/dist/transactions/balanceManager.d.mts.map +1 -1
  63. package/dist/transactions/deepbook.d.mts +20 -20
  64. package/dist/transactions/deepbook.d.mts.map +1 -1
  65. package/dist/transactions/deepbookAdmin.d.mts +4 -4
  66. package/dist/transactions/marginAdmin.d.mts +7 -7
  67. package/dist/transactions/marginLiquidations.d.mts +3 -3
  68. package/dist/transactions/marginMaintainer.d.mts +5 -5
  69. package/dist/transactions/marginManager.d.mts +32 -32
  70. package/dist/transactions/marginManager.d.mts.map +1 -1
  71. package/dist/transactions/marginPool.d.mts +18 -18
  72. package/dist/transactions/marginRegistry.d.mts +16 -16
  73. package/dist/transactions/marginTPSL.d.mts +10 -10
  74. package/dist/transactions/poolProxy.d.mts +8 -8
  75. package/package.json +2 -2
  76. package/src/contracts/deepbook_predict/pricing.ts +88 -6
  77. package/src/contracts/deepbook_predict/strike_exposure.ts +3 -2
  78. package/src/contracts/propbook/block_scholes_store.ts +34 -0
  79. package/src/contracts/propbook/pyth_feed.ts +3 -1
  80. package/src/deployments/mainnet.ts +22 -22
  81. package/src/deployments/testnet.ts +22 -22
  82. package/src/predict/reads/markets.ts +16 -3
@@ -1,5 +1,5 @@
1
1
  import { DeepBookConfig } from "../utils/config.mjs";
2
- import * as _mysten_sui_transactions142 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_transactions48 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) => _mysten_sui_transactions142.TransactionResult;
24
+ createBalanceManagerWithOwner: (ownerAddress: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
68
+ generateProof: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
74
+ generateProofAsOwner: (managerId: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
81
+ generateProofAsTrader: (managerId: string, tradeCapId: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
87
+ mintTradeCap: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
93
+ mintDepositCap: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
99
+ mintWithdrawalCap: (managerKey: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
115
+ withdrawWithCap: (managerKey: string, coinKey: string, amountToWithdraw: number) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
150
+ balanceManagerReferralOwner: (referralId: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
156
+ balanceManagerReferralPoolId: (referralId: string) => (tx: Transaction) => _mysten_sui_transactions48.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) => _mysten_sui_transactions142.TransactionResult;
163
+ getBalanceManagerReferralId: (managerKey: string, poolKey: string) => (tx: Transaction) => _mysten_sui_transactions48.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
@@ -1 +1 @@
1
- {"version":3,"file":"balanceManager.d.mts","names":[],"sources":["../../src/transactions/balanceManager.ts"],"mappings":";;;;;;;;cAYa,sBAAA;EAAA;;;;cAMA,MAAA,EAAQ,cAAA;EA6BsD;;;;EArB1E,4BAAA,SAAsC,EAAA,EAAI,WAAA;EAyGwB;;;;EApFlE,6BAAA,GAAiC,YAAA,cAA0B,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA;EAuIZ;;;;;EAzH9D,mBAAA,GAAuB,OAAA,EAAS,mBAAA,MAAyB,EAAA,EAAI,WAAA;EAsKJ;;;;;;;EArJzD,kBAAA,GACE,UAAA,UAAoB,OAAA,UAAiB,eAAA,cAA6B,EAAA,EAAI,WAAA;EAmQvB;;;;;;;;EAxOjD,mBAAA,GACE,UAAA,UAAoB,OAAA,UAAiB,gBAAA,UAA0B,SAAA,cAC/D,EAAA,EAAI,WAAA;EA2TsE;;;;;;;EArS5E,sBAAA,GACE,UAAA,UAAoB,OAAA,UAAiB,SAAA,cAAuB,EAAA,EAAI,WAAA;EAjHtD;;;;;;EAqIZ,mBAAA,GAAuB,UAAA,UAAoB,OAAA,cAAqB,EAAA,EAAI,WAAA;EAxGT;;;;;EAyH3D,aAAA,GAAiB,UAAA,cAAwB,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA;EA3GC;;;;;EAyHzD,oBAAA,GAAwB,SAAA,cAAuB,EAAA,EAAI,WAAA,KAAW,2B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{ CanPlaceLimitOrderParams, CanPlaceMarketOrderParams, CreatePermissionlessPoolParams, PlaceLimitOrderParams, PlaceMarketOrderParams, SwapParams, SwapWithManagerParams } from "../types/index.mjs";
2
2
  import { DeepBookConfig } from "../utils/config.mjs";
3
- import * as _mysten_sui_transactions153 from "@mysten/sui/transactions";
3
+ import * as _mysten_sui_transactions90 from "@mysten/sui/transactions";
4
4
  import { Transaction } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/transactions/deepbook.d.ts
@@ -380,40 +380,40 @@ declare class DeepBookContract {
380
380
  * @param {string} referral The referral (DeepBookPoolReferral) to get the balances for
381
381
  * @returns A function that takes a Transaction object
382
382
  */
383
- getPoolReferralBalances: (poolKey: string, referral: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
383
+ getPoolReferralBalances: (poolKey: string, referral: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
384
384
  /**
385
385
  * @description Get the multiplier for a referral (DeepBookPoolReferral)
386
386
  * @param {string} poolKey The key to identify the pool
387
387
  * @param {string} referral The referral (DeepBookPoolReferral) to get the multiplier for
388
388
  * @returns A function that takes a Transaction object
389
389
  */
390
- poolReferralMultiplier: (poolKey: string, referral: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
390
+ poolReferralMultiplier: (poolKey: string, referral: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
391
391
  /**
392
392
  * @description Check if a pool is a stable pool
393
393
  * @param {string} poolKey The key to identify the pool
394
394
  * @returns A function that takes a Transaction object
395
395
  */
396
- stablePool: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
396
+ stablePool: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
397
397
  /**
398
398
  * @description Check if a pool is registered
399
399
  * @param {string} poolKey The key to identify the pool
400
400
  * @returns A function that takes a Transaction object
401
401
  */
402
- registeredPool: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
402
+ registeredPool: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
403
403
  /**
404
404
  * @description Get the quote quantity out for a given base quantity using input token as fee
405
405
  * @param {string} poolKey The key to identify the pool
406
406
  * @param {number} baseQuantity Base quantity to convert
407
407
  * @returns A function that takes a Transaction object
408
408
  */
409
- getQuoteQuantityOutInputFee: (poolKey: string, baseQuantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
409
+ getQuoteQuantityOutInputFee: (poolKey: string, baseQuantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
410
410
  /**
411
411
  * @description Get the base quantity out for a given quote quantity using input token as fee
412
412
  * @param {string} poolKey The key to identify the pool
413
413
  * @param {number} quoteQuantity Quote quantity to convert
414
414
  * @returns A function that takes a Transaction object
415
415
  */
416
- getBaseQuantityOutInputFee: (poolKey: string, quoteQuantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
416
+ getBaseQuantityOutInputFee: (poolKey: string, quoteQuantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
417
417
  /**
418
418
  * @description Get the quantity out for a given base or quote quantity using input token as fee
419
419
  * @param {string} poolKey The key to identify the pool
@@ -421,7 +421,7 @@ declare class DeepBookContract {
421
421
  * @param {number} quoteQuantity Quote quantity to convert
422
422
  * @returns A function that takes a Transaction object
423
423
  */
424
- getQuantityOutInputFee: (poolKey: string, baseQuantity: number | bigint, quoteQuantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
424
+ getQuantityOutInputFee: (poolKey: string, baseQuantity: number | bigint, quoteQuantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
425
425
  /**
426
426
  * @description Get the base quantity needed to receive a target quote quantity
427
427
  * @param {string} poolKey The key to identify the pool
@@ -429,7 +429,7 @@ declare class DeepBookContract {
429
429
  * @param {boolean} payWithDeep Whether to pay fees with DEEP
430
430
  * @returns A function that takes a Transaction object
431
431
  */
432
- getBaseQuantityIn: (poolKey: string, targetQuoteQuantity: number | bigint, payWithDeep: boolean) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
432
+ getBaseQuantityIn: (poolKey: string, targetQuoteQuantity: number | bigint, payWithDeep: boolean) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
433
433
  /**
434
434
  * @description Get the quote quantity needed to receive a target base quantity
435
435
  * @param {string} poolKey The key to identify the pool
@@ -437,14 +437,14 @@ declare class DeepBookContract {
437
437
  * @param {boolean} payWithDeep Whether to pay fees with DEEP
438
438
  * @returns A function that takes a Transaction object
439
439
  */
440
- getQuoteQuantityIn: (poolKey: string, targetBaseQuantity: number | bigint, payWithDeep: boolean) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
440
+ getQuoteQuantityIn: (poolKey: string, targetBaseQuantity: number | bigint, payWithDeep: boolean) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
441
441
  /**
442
442
  * @description Get account order details for a balance manager
443
443
  * @param {string} poolKey The key to identify the pool
444
444
  * @param {string} managerKey Key of the balance manager
445
445
  * @returns A function that takes a Transaction object
446
446
  */
447
- getAccountOrderDetails: (poolKey: string, managerKey: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
447
+ getAccountOrderDetails: (poolKey: string, managerKey: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
448
448
  /**
449
449
  * @description Get the DEEP required for an order
450
450
  * @param {string} poolKey The key to identify the pool
@@ -452,51 +452,51 @@ declare class DeepBookContract {
452
452
  * @param {number} price Price
453
453
  * @returns A function that takes a Transaction object
454
454
  */
455
- getOrderDeepRequired: (poolKey: string, baseQuantity: number | bigint, price: number | bigint) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
455
+ getOrderDeepRequired: (poolKey: string, baseQuantity: number | bigint, price: number | bigint) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
456
456
  /**
457
457
  * @description Check if account exists for a balance manager
458
458
  * @param {string} poolKey The key to identify the pool
459
459
  * @param {string} managerKey Key of the balance manager
460
460
  * @returns A function that takes a Transaction object
461
461
  */
462
- accountExists: (poolKey: string, managerKey: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
462
+ accountExists: (poolKey: string, managerKey: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
463
463
  /**
464
464
  * @description Get the next epoch trade parameters for a pool
465
465
  * @param {string} poolKey The key to identify the pool
466
466
  * @returns A function that takes a Transaction object
467
467
  */
468
- poolTradeParamsNext: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
468
+ poolTradeParamsNext: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
469
469
  /**
470
470
  * @description Get the quorum for a pool
471
471
  * @param {string} poolKey The key to identify the pool
472
472
  * @returns A function that takes a Transaction object
473
473
  */
474
- quorum: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
474
+ quorum: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
475
475
  /**
476
476
  * @description Get the pool ID
477
477
  * @param {string} poolKey The key to identify the pool
478
478
  * @returns A function that takes a Transaction object
479
479
  */
480
- poolId: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
480
+ poolId: (poolKey: string) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
481
481
  /**
482
482
  * @description Check if a limit order can be placed
483
483
  * @param {CanPlaceLimitOrderParams} params Parameters for checking limit order validity
484
484
  * @returns A function that takes a Transaction object
485
485
  */
486
- canPlaceLimitOrder: (params: CanPlaceLimitOrderParams) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
486
+ canPlaceLimitOrder: (params: CanPlaceLimitOrderParams) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
487
487
  /**
488
488
  * @description Check if a market order can be placed
489
489
  * @param {CanPlaceMarketOrderParams} params Parameters for checking market order validity
490
490
  * @returns A function that takes a Transaction object
491
491
  */
492
- canPlaceMarketOrder: (params: CanPlaceMarketOrderParams) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
492
+ canPlaceMarketOrder: (params: CanPlaceMarketOrderParams) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
493
493
  /**
494
494
  * @description Check if market order params are valid
495
495
  * @param {string} poolKey The key to identify the pool
496
496
  * @param {number} quantity Quantity
497
497
  * @returns A function that takes a Transaction object
498
498
  */
499
- checkMarketOrderParams: (poolKey: string, quantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
499
+ checkMarketOrderParams: (poolKey: string, quantity: number | bigint) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
500
500
  /**
501
501
  * @description Check if limit order params are valid
502
502
  * @param {string} poolKey The key to identify the pool
@@ -505,7 +505,7 @@ declare class DeepBookContract {
505
505
  * @param {number} expireTimestamp Expiration timestamp
506
506
  * @returns A function that takes a Transaction object
507
507
  */
508
- checkLimitOrderParams: (poolKey: string, price: number | bigint, quantity: number | bigint, expireTimestamp: number) => (tx: Transaction) => _mysten_sui_transactions153.TransactionResult;
508
+ checkLimitOrderParams: (poolKey: string, price: number | bigint, quantity: number | bigint, expireTimestamp: number) => (tx: Transaction) => _mysten_sui_transactions90.TransactionResult;
509
509
  }
510
510
  //#endregion
511
511
  export { DeepBookContract };
@@ -1 +1 @@
1
- {"version":3,"file":"deepbook.d.mts","names":[],"sources":["../../src/transactions/deepbook.ts"],"mappings":";;;;;;;;;cA8Ba,gBAAA;EAAA;;;;cAMA,MAAA,EAAQ,cAAA;EA2DQ;;;;;EAlD5B,eAAA,GAAmB,MAAA,EAAQ,qBAAA,MAA2B,EAAA,EAAI,WAAA;EAgOgB;;;;;EA9K1E,gBAAA,GAAoB,MAAA,EAAQ,sBAAA,MAA4B,EAAA,EAAI,WAAA;EA6TQ;;;;;;;;EAhRpE,WAAA,GACE,OAAA,UAAiB,iBAAA,UAA2B,OAAA,UAAiB,WA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
  import { CreatePoolAdminParams, SetEwmaParams } from "../types/index.mjs";
2
2
  import { DeepBookConfig } from "../utils/config.mjs";
3
- import * as _mysten_sui_transactions172 from "@mysten/sui/transactions";
3
+ import * as _mysten_sui_transactions115 from "@mysten/sui/transactions";
4
4
  import { Transaction } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/transactions/deepbookAdmin.d.ts
@@ -104,7 +104,7 @@ declare class DeepBookAdminContract {
104
104
  * @description Deauthorize the MarginApp by removing its authorization key
105
105
  * @returns A function that takes a Transaction object and returns a bool
106
106
  */
107
- deauthorizeMarginApp: () => (tx: Transaction) => _mysten_sui_transactions172.TransactionResult;
107
+ deauthorizeMarginApp: () => (tx: Transaction) => _mysten_sui_transactions115.TransactionResult;
108
108
  /**
109
109
  * @description Mint a `DeepbookCorePauseCap`. The new cap's ID is recorded
110
110
  * in the core registry so it can later disable any allowed package version
@@ -112,7 +112,7 @@ declare class DeepBookAdminContract {
112
112
  * `MarginAdminContract.mintPauseCap`.
113
113
  * @returns A function that takes a Transaction object and returns the new pause cap
114
114
  */
115
- mintCorePauseCap: () => (tx: Transaction) => _mysten_sui_transactions172.TransactionResult;
115
+ mintCorePauseCap: () => (tx: Transaction) => _mysten_sui_transactions115.TransactionResult;
116
116
  /**
117
117
  * @description Revoke a previously minted `DeepbookCorePauseCap` by ID.
118
118
  * @param {string} pauseCapId The ID of the core pause cap to revoke
@@ -133,7 +133,7 @@ declare class DeepBookAdminContract {
133
133
  * core registry.
134
134
  * @returns A function that takes a Transaction object and returns a `VecSet<ID>`
135
135
  */
136
- corePauseCaps: () => (tx: Transaction) => _mysten_sui_transactions172.TransactionResult;
136
+ corePauseCaps: () => (tx: Transaction) => _mysten_sui_transactions115.TransactionResult;
137
137
  }
138
138
  //#endregion
139
139
  export { DeepBookAdminContract };
@@ -1,6 +1,6 @@
1
1
  import { PoolConfigParams } from "../types/index.mjs";
2
2
  import { DeepBookConfig } from "../utils/config.mjs";
3
- import * as _mysten_sui_transactions175 from "@mysten/sui/transactions";
3
+ import * as _mysten_sui_transactions109 from "@mysten/sui/transactions";
4
4
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/transactions/marginAdmin.d.ts
@@ -17,7 +17,7 @@ declare class MarginAdminContract {
17
17
  * @description Mint a maintainer cap
18
18
  * @returns A function that takes a Transaction object
19
19
  */
20
- mintMaintainerCap: () => (tx: Transaction) => _mysten_sui_transactions175.TransactionResult;
20
+ mintMaintainerCap: () => (tx: Transaction) => _mysten_sui_transactions109.TransactionResult;
21
21
  /**
22
22
  * @description Revoke a maintainer cap
23
23
  * @returns A function that takes a Transaction object
@@ -121,7 +121,7 @@ declare class MarginAdminContract {
121
121
  * @param {PoolConfigParams} poolConfigParams The parameters for the pool config
122
122
  * @returns A function that takes a Transaction object
123
123
  */
124
- newPoolConfig: (poolKey: string, poolConfigParams: PoolConfigParams) => (tx: Transaction) => _mysten_sui_transactions175.TransactionResult;
124
+ newPoolConfig: (poolKey: string, poolConfigParams: PoolConfigParams) => (tx: Transaction) => _mysten_sui_transactions109.TransactionResult;
125
125
  /**
126
126
  * @description Create a new pool config with leverage
127
127
  * @param {string} poolKey The key to identify the pool
@@ -136,7 +136,7 @@ declare class MarginAdminContract {
136
136
  * @param {number} maxEwmaDifferenceBps The maximum EWMA difference in basis points
137
137
  * @returns A function that takes a Transaction object
138
138
  */
139
- newCoinTypeData: (coinKey: string, maxConfBps: number, maxEwmaDifferenceBps: number) => (tx: Transaction) => _mysten_sui_transactions175.TransactionResult;
139
+ newCoinTypeData: (coinKey: string, maxConfBps: number, maxEwmaDifferenceBps: number) => (tx: Transaction) => _mysten_sui_transactions109.TransactionResult;
140
140
  /**
141
141
  * @description Create a new Pyth config
142
142
  * @param {Array<{coinKey: string, maxConfBps: number, maxEwmaDifferenceBps: number}>} coinSetups The coins with their oracle config to be added to the Pyth config
@@ -147,12 +147,12 @@ declare class MarginAdminContract {
147
147
  coinKey: string;
148
148
  maxConfBps: number;
149
149
  maxEwmaDifferenceBps: number;
150
- }>, maxAgeSeconds: number) => (tx: Transaction) => _mysten_sui_transactions175.TransactionResult;
150
+ }>, maxAgeSeconds: number) => (tx: Transaction) => _mysten_sui_transactions109.TransactionResult;
151
151
  /**
152
152
  * @description Mint a pause cap
153
153
  * @returns A function that takes a Transaction object
154
154
  */
155
- mintPauseCap: () => (tx: Transaction) => _mysten_sui_transactions175.TransactionResult;
155
+ mintPauseCap: () => (tx: Transaction) => _mysten_sui_transactions109.TransactionResult;
156
156
  /**
157
157
  * @description Revoke a pause cap
158
158
  * @param {string} pauseCapId The ID of the pause cap to revoke
@@ -172,7 +172,7 @@ declare class MarginAdminContract {
172
172
  * @param {string} coinKey The key to identify the margin pool
173
173
  * @returns A function that takes a Transaction object and returns a Coin<Asset>
174
174
  */
175
- adminWithdrawDefaultReferralFees: (coinKey: string) => (tx: Transaction) => _mysten_sui_transactions175.TransactionResult;
175
+ adminWithdrawDefaultReferralFees: (coinKey: string) => (tx: Transaction) => _mysten_sui_transactions109.TransactionResult;
176
176
  }
177
177
  //#endregion
178
178
  export { MarginAdminContract };
@@ -1,5 +1,5 @@
1
1
  import { DeepBookConfig } from "../utils/config.mjs";
2
- import * as _mysten_sui_transactions313 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_transactions316 from "@mysten/sui/transactions";
3
3
  import { Transaction } from "@mysten/sui/transactions";
4
4
 
5
5
  //#region src/transactions/marginLiquidations.d.ts
@@ -35,7 +35,7 @@ declare class MarginLiquidationsContract {
35
35
  * @param {number} amount The amount to withdraw
36
36
  * @returns A function that takes a Transaction object and returns the withdrawn coin
37
37
  */
38
- withdraw: (vaultId: string, liquidationAdminCap: string, coinKey: string, amount: number) => (tx: Transaction) => _mysten_sui_transactions313.TransactionResult;
38
+ withdraw: (vaultId: string, liquidationAdminCap: string, coinKey: string, amount: number) => (tx: Transaction) => _mysten_sui_transactions316.TransactionResult;
39
39
  /**
40
40
  * @description Liquidate a margin manager by repaying base debt
41
41
  * @param {string} vaultId The liquidation vault object ID
@@ -60,7 +60,7 @@ declare class MarginLiquidationsContract {
60
60
  * @param {string} coinKey The key to identify the coin type
61
61
  * @returns A function that takes a Transaction object
62
62
  */
63
- balance: (vaultId: string, coinKey: string) => (tx: Transaction) => _mysten_sui_transactions313.TransactionResult;
63
+ balance: (vaultId: string, coinKey: string) => (tx: Transaction) => _mysten_sui_transactions316.TransactionResult;
64
64
  }
65
65
  //#endregion
66
66
  export { MarginLiquidationsContract };
@@ -1,6 +1,6 @@
1
1
  import { InterestConfigParams, MarginPoolConfigParams } from "../types/index.mjs";
2
2
  import { DeepBookConfig } from "../utils/config.mjs";
3
- import * as _mysten_sui_transactions181 from "@mysten/sui/transactions";
3
+ import * as _mysten_sui_transactions118 from "@mysten/sui/transactions";
4
4
  import { Transaction, TransactionArgument, TransactionObjectArgument } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/transactions/marginMaintainer.d.ts
@@ -27,27 +27,27 @@ declare class MarginMaintainerContract {
27
27
  * @param {InterestConfigParams} interestConfig The configuration for the interest
28
28
  * @returns A function that takes a Transaction object
29
29
  */
30
- newProtocolConfig: (coinKey: string, marginPoolConfig: MarginPoolConfigParams, interestConfig: InterestConfigParams) => (tx: Transaction) => _mysten_sui_transactions181.TransactionResult;
30
+ newProtocolConfig: (coinKey: string, marginPoolConfig: MarginPoolConfigParams, interestConfig: InterestConfigParams) => (tx: Transaction) => _mysten_sui_transactions118.TransactionResult;
31
31
  /**
32
32
  * @description Create a new margin pool config
33
33
  * @param {string} coinKey The key to identify the coin
34
34
  * @param {MarginPoolConfigParams} marginPoolConfig The configuration for the margin pool
35
35
  * @returns A function that takes a Transaction object
36
36
  */
37
- newMarginPoolConfig: (coinKey: string, marginPoolConfig: MarginPoolConfigParams) => (tx: Transaction) => _mysten_sui_transactions181.TransactionResult;
37
+ newMarginPoolConfig: (coinKey: string, marginPoolConfig: MarginPoolConfigParams) => (tx: Transaction) => _mysten_sui_transactions118.TransactionResult;
38
38
  /**
39
39
  * @description Create a new margin pool config with rate limit
40
40
  * @param {string} coinKey The key to identify the coin
41
41
  * @param {MarginPoolConfigParams} marginPoolConfig The configuration for the margin pool with rate limit
42
42
  * @returns A function that takes a Transaction object
43
43
  */
44
- newMarginPoolConfigWithRateLimit: (coinKey: string, marginPoolConfig: Required<Pick<MarginPoolConfigParams, "rateLimitCapacity" | "rateLimitRefillRatePerMs" | "rateLimitEnabled">> & MarginPoolConfigParams) => (tx: Transaction) => _mysten_sui_transactions181.TransactionResult;
44
+ newMarginPoolConfigWithRateLimit: (coinKey: string, marginPoolConfig: Required<Pick<MarginPoolConfigParams, "rateLimitCapacity" | "rateLimitRefillRatePerMs" | "rateLimitEnabled">> & MarginPoolConfigParams) => (tx: Transaction) => _mysten_sui_transactions118.TransactionResult;
45
45
  /**
46
46
  * @description Create a new interest config
47
47
  * @param {InterestConfigParams} interestConfig The configuration for the interest
48
48
  * @returns A function that takes a Transaction object
49
49
  */
50
- newInterestConfig: (interestConfig: InterestConfigParams) => (tx: Transaction) => _mysten_sui_transactions181.TransactionResult;
50
+ newInterestConfig: (interestConfig: InterestConfigParams) => (tx: Transaction) => _mysten_sui_transactions118.TransactionResult;
51
51
  /**
52
52
  * @description Enable a deepbook pool for loan
53
53
  * @param {string} deepbookPoolKey The key to identify the deepbook pool