@mysten/deepbook-v3 2.7.0 → 2.8.2

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 (70) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/PREDICT.md +15 -10
  3. package/dist/contracts/account/account.d.mts +23 -23
  4. package/dist/contracts/account/account_events.d.mts +20 -20
  5. package/dist/contracts/account/account_registry.d.mts +19 -19
  6. package/dist/contracts/deepbook/account.d.mts +18 -18
  7. package/dist/contracts/deepbook/balances.d.mts +4 -4
  8. package/dist/contracts/deepbook/deep_price.d.mts +3 -3
  9. package/dist/contracts/deepbook/order.d.mts +12 -12
  10. package/dist/contracts/deepbook_predict/admin.d.mts +4 -4
  11. package/dist/contracts/deepbook_predict/admin.d.mts.map +1 -1
  12. package/dist/contracts/deepbook_predict/builder_code.d.mts +11 -11
  13. package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
  14. package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
  15. package/dist/contracts/deepbook_predict/config_events.d.mts +80 -80
  16. package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
  17. package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
  18. package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
  19. package/dist/contracts/deepbook_predict/order_events.d.mts +50 -50
  20. package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
  21. package/dist/contracts/deepbook_predict/plp.d.mts +74 -74
  22. package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts +5 -5
  23. package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
  24. package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
  25. package/dist/contracts/deepbook_predict/pricing.d.mts +67 -67
  26. package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
  27. package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
  28. package/dist/contracts/deepbook_predict/registry.d.mts +28 -28
  29. package/dist/contracts/deepbook_predict/vault_events.d.mts +131 -131
  30. package/dist/contracts/deepbook_predict_math/lazer_price.d.mts +13 -13
  31. package/dist/contracts/deepbook_predict_math/math.d.mts +14 -14
  32. package/dist/contracts/deepbook_predict_orders/delayed_execution_config.d.mts +30 -30
  33. package/dist/contracts/deepbook_predict_orders/desk.d.mts +28 -28
  34. package/dist/contracts/deepbook_predict_orders/desk.d.mts.map +1 -1
  35. package/dist/contracts/deepbook_predict_orders/order_queue.d.mts +187 -187
  36. package/dist/contracts/deepbook_predict_orders/queue.d.mts +49 -49
  37. package/dist/contracts/deepbook_predict_orders/queue.d.mts.map +1 -1
  38. package/dist/contracts/deepbook_predict_orders/queue_events.d.mts +140 -140
  39. package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
  40. package/dist/contracts/deepbook_sessions/session_config.d.mts.map +1 -1
  41. package/dist/contracts/deepbook_sessions/sessions.d.mts +27 -27
  42. package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
  43. package/dist/deployments/mainnet.mjs +7 -4
  44. package/dist/deployments/mainnet.mjs.map +1 -1
  45. package/dist/deployments/testnet.mjs +5 -4
  46. package/dist/deployments/testnet.mjs.map +1 -1
  47. package/dist/predict/bindings/expiry-market.d.mts +5 -5
  48. package/dist/predict/bindings/expiry-market.d.mts.map +1 -1
  49. package/dist/predict/bindings/protocol-config.d.mts +3 -3
  50. package/dist/predict/config/mainnet.mjs +11 -3
  51. package/dist/predict/config/mainnet.mjs.map +1 -1
  52. package/dist/predict/reads/pricing.d.mts +0 -1
  53. package/dist/predict/reads/pricing.d.mts.map +1 -1
  54. package/dist/predict/reads/queue.d.mts +0 -1
  55. package/dist/predict/reads/queue.d.mts.map +1 -1
  56. package/dist/sessions.mjs.map +1 -1
  57. package/dist/transactions/balanceManager.d.mts +12 -12
  58. package/dist/transactions/deepbook.d.mts +20 -20
  59. package/dist/transactions/deepbookAdmin.d.mts +4 -4
  60. package/dist/transactions/marginAdmin.d.mts +7 -7
  61. package/dist/transactions/marginMaintainer.d.mts +5 -5
  62. package/dist/transactions/marginManager.d.mts +32 -32
  63. package/dist/transactions/marginPool.d.mts +18 -18
  64. package/dist/transactions/marginTPSL.d.mts +10 -10
  65. package/dist/transactions/poolProxy.d.mts +8 -8
  66. package/package.json +5 -5
  67. package/src/deployments/mainnet.ts +7 -2
  68. package/src/deployments/testnet.ts +5 -4
  69. package/src/predict/config/mainnet.ts +16 -7
  70. package/src/sessions.ts +2 -2
@@ -1,100 +1,100 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs237 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs266 from "@mysten/sui/bcs";
3
3
 
4
4
  //#region src/contracts/deepbook_predict/order_events.d.ts
5
5
  declare namespace order_events_d_exports {
6
6
  export { LiveOrderRedeemed, OrderMinted, SettledOrderRedeemed };
7
7
  }
8
8
  declare const OrderMinted: MoveStruct<{
9
- expiry_market_id: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
- account_id: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
- order_id: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u256">;
9
+ expiry_market_id: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
+ account_id: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ order_id: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u256">;
12
12
  /**
13
13
  * Stable economic-position handle: the original mint's `order_id`, carried forward
14
14
  * unchanged across partial-close replacements. Equals `order_id` here.
15
15
  */
16
- position_root_id: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u256">;
17
- owner: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
16
+ position_root_id: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u256">;
17
+ owner: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
18
18
  /**
19
19
  * Canonical strike range as absolute ticks: `lower_tick` (`0` = `-inf`) and
20
20
  * `higher_tick` (`pos_inf_tick` = `+inf`). Raw strikes are the derived display
21
21
  * form, `tick * tick_size` with the `tick_size` from `MarketCreated`.
22
22
  */
23
- lower_tick: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
24
- higher_tick: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** 1e9-scaled range probability quoted at entry. */
25
- entry_probability: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
26
- quantity: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** Premium the user paid into LP backing, in USDC base units. */
27
- premium: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** Full trading fee assessed for the mint, including any sponsor-paid subsidy. */
28
- trading_fee: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** Portion of `trading_fee` paid from expiry-local fee incentives. */
29
- fee_incentive_subsidy: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
30
- builder_fee: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge assessed for the mint, in USDC base units. */
31
- penalty_fee: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
23
+ lower_tick: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
24
+ higher_tick: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** 1e9-scaled range probability quoted at entry. */
25
+ entry_probability: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
26
+ quantity: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** Premium the user paid into LP backing, in USDC base units. */
27
+ premium: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** Full trading fee assessed for the mint, including any sponsor-paid subsidy. */
28
+ trading_fee: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** Portion of `trading_fee` paid from expiry-local fee incentives. */
29
+ fee_incentive_subsidy: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
30
+ builder_fee: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge assessed for the mint, in USDC base units. */
31
+ penalty_fee: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
32
32
  /**
33
33
  * Portion of the trader-paid trading fee and congestion surcharge delivered to the
34
34
  * referrer.
35
35
  */
36
- referral_fee: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact charge escrowed for live-close rebates. */
37
- inventory_impact_charge: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
36
+ referral_fee: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact charge escrowed for live-close rebates. */
37
+ inventory_impact_charge: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
38
38
  /**
39
39
  * Builder credited for `builder_fee`; `none` when no builder fee was paid
40
40
  * (attribution follows the fee — applied once, in the emit helper).
41
41
  */
42
- builder_code_id: _mysten_sui_bcs237.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">; /** Referrer recorded on the minting account, independent of the fee paid. */
43
- referrer_account_id: _mysten_sui_bcs237.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
44
- onchain_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
42
+ builder_code_id: _mysten_sui_bcs266.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">; /** Referrer recorded on the minting account, independent of the fee paid. */
43
+ referrer_account_id: _mysten_sui_bcs266.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
44
+ onchain_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
45
45
  /**
46
46
  * Oracle source timestamps present when this mint was priced: Pyth's canonical
47
47
  * source time and the Block Scholes per-update source times used for freshness.
48
48
  * The SVI one is also the roll-down anchor. Pyth is `0` only when unusable.
49
49
  */
50
- pyth_spot_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
51
- block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
52
- block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
53
- block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
50
+ pyth_spot_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
51
+ block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
52
+ block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
53
+ block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
54
54
  }, "@local-pkg/deepbook_predict::order_events::OrderMinted">;
55
55
  declare const LiveOrderRedeemed: MoveStruct<{
56
- expiry_market_id: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
57
- account_id: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
58
- order_id: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u256">;
56
+ expiry_market_id: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
57
+ account_id: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
58
+ order_id: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u256">;
59
59
  /**
60
60
  * Stable economic-position handle, constant across the replacement chain. On a
61
61
  * partial close the replacement inherits this same root.
62
62
  */
63
- position_root_id: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u256">;
64
- owner: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
65
- quantity_closed: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** `0` means the position was fully closed. */
66
- remaining_quantity: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** New order ID minted to carry the remainder on a partial live close. */
67
- replacement_order_id: _mysten_sui_bcs237.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u256>">; /** Redeem value before fees. */
68
- redeem_amount: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
69
- trading_fee: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
70
- builder_fee: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge retained by the pool, in USDC base units. */
71
- penalty_fee: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact rebate paid from its isolated escrow. */
72
- inventory_impact_rebate: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
63
+ position_root_id: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u256">;
64
+ owner: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
65
+ quantity_closed: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** `0` means the position was fully closed. */
66
+ remaining_quantity: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** New order ID minted to carry the remainder on a partial live close. */
67
+ replacement_order_id: _mysten_sui_bcs266.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u256>">; /** Redeem value before fees. */
68
+ redeem_amount: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
69
+ trading_fee: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
70
+ builder_fee: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge retained by the pool, in USDC base units. */
71
+ penalty_fee: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact rebate paid from its isolated escrow. */
72
+ inventory_impact_rebate: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
73
73
  /**
74
74
  * Builder credited for `builder_fee`; `none` when no builder fee was paid
75
75
  * (attribution follows the fee — applied once, in the emit helper).
76
76
  */
77
- builder_code_id: _mysten_sui_bcs237.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
78
- onchain_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
77
+ builder_code_id: _mysten_sui_bcs266.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
78
+ onchain_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
79
79
  /**
80
80
  * Oracle source timestamps present when this redemption was priced: Pyth's
81
81
  * canonical source time and the Block Scholes per-update source times used for
82
82
  * freshness. The SVI one is also the roll-down anchor. Pyth is `0` only when
83
83
  * unusable.
84
84
  */
85
- pyth_spot_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
86
- block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
87
- block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
88
- block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
85
+ pyth_spot_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
86
+ block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
87
+ block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
88
+ block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
89
89
  }, "@local-pkg/deepbook_predict::order_events::LiveOrderRedeemed">;
90
90
  declare const SettledOrderRedeemed: MoveStruct<{
91
- expiry_market_id: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
92
- account_id: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
93
- order_id: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u256">; /** Stable economic-position handle, constant across the replacement chain. */
94
- position_root_id: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u256">;
95
- owner: _mysten_sui_bcs237.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
96
- payout_amount: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
97
- onchain_timestamp_ms: _mysten_sui_bcs237.BcsType<bigint, string | number | bigint, "u64">;
91
+ expiry_market_id: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
92
+ account_id: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
93
+ order_id: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u256">; /** Stable economic-position handle, constant across the replacement chain. */
94
+ position_root_id: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u256">;
95
+ owner: _mysten_sui_bcs266.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
96
+ payout_amount: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
97
+ onchain_timestamp_ms: _mysten_sui_bcs266.BcsType<bigint, string | number | bigint, "u64">;
98
98
  }, "@local-pkg/deepbook_predict::order_events::SettledOrderRedeemed">;
99
99
  //#endregion
100
100
  export { order_events_d_exports };
@@ -1,6 +1,6 @@
1
1
  import { MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs25 from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions21 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_bcs54 from "@mysten/sui/bcs";
3
+ import * as _mysten_sui_transactions49 from "@mysten/sui/transactions";
4
4
  import { Transaction } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/contracts/deepbook_predict/pause_cap.d.ts
@@ -8,7 +8,7 @@ declare namespace pause_cap_d_exports {
8
8
  export { DestroyArguments, DestroyOptions, IdArguments, IdOptions, PauseCap, destroy, id };
9
9
  }
10
10
  declare const PauseCap: MoveStruct<{
11
- id: _mysten_sui_bcs25.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ id: _mysten_sui_bcs54.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
12
12
  }, "@local-pkg/deepbook_predict::pause_cap::PauseCap">;
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) => _mysten_sui_transactions21.TransactionResult;
24
+ declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions49.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 `PauseCap` the holder no longer needs. */
36
- declare function destroy(options: DestroyOptions): (tx: Transaction) => _mysten_sui_transactions21.TransactionResult;
36
+ declare function destroy(options: DestroyOptions): (tx: Transaction) => _mysten_sui_transactions49.TransactionResult;
37
37
  //#endregion
38
38
  export { pause_cap_d_exports };
39
39
  //# sourceMappingURL=pause_cap.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { ConfigValue, MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs26 from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions23 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_bcs55 from "@mysten/sui/bcs";
3
+ import * as _mysten_sui_transactions51 from "@mysten/sui/transactions";
4
4
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/contracts/deepbook_predict/plp.d.ts
@@ -8,22 +8,22 @@ declare namespace plp_d_exports {
8
8
  export { ActiveExpiryMarketsArguments, ActiveExpiryMarketsOptions, ActiveLiveExpiryCountArguments, ActiveLiveExpiryCountOptions, AddUsdcToPlpArguments, AddUsdcToPlpOptions, CancelSupplyRequestArguments, CancelSupplyRequestOptions, CancelWithdrawRequestArguments, CancelWithdrawRequestOptions, FeeIncentiveReserveArguments, FeeIncentiveReserveOptions, FinishFlushArguments, FinishFlushOptions, IdArguments, IdOptions, IdleBalanceArguments, IdleBalanceOptions, LockCapitalArguments, LockCapitalOptions, PLP, PendingProtocolProfitArguments, PendingProtocolProfitOptions, PlpTotalSupplyArguments, PlpTotalSupplyOptions, PoolValuation, PoolValuationProof, PoolVault, ProfitBasisCreditsArguments, ProfitBasisCreditsOptions, ProfitBasisDebitsArguments, ProfitBasisDebitsOptions, ProtocolReserveBalanceArguments, ProtocolReserveBalanceOptions, RebalanceExpiryCashArguments, RebalanceExpiryCashOptions, RequestSupplyArguments, RequestSupplyOptions, RequestWithdrawArguments, RequestWithdrawOptions, SealValuationSnapshotArguments, SealValuationSnapshotOptions, SnapshotExpiryPricerArguments, SnapshotExpiryPricerOptions, SnapshotStage, SponsorFeeIncentivesArguments, SponsorFeeIncentivesOptions, StartPoolValuationArguments, StartPoolValuationOptions, SupplyRequestsPendingArguments, SupplyRequestsPendingOptions, ValueExpiryArguments, ValueExpiryOptions, WithdrawFeeIncentivesArguments, WithdrawFeeIncentivesOptions, WithdrawRequestsPendingArguments, WithdrawRequestsPendingOptions, activeExpiryMarkets, activeLiveExpiryCount, addUsdcToPlp, cancelSupplyRequest, cancelWithdrawRequest, feeIncentiveReserve, finishFlush, id, idleBalance, lockCapital, pendingProtocolProfit, plpTotalSupply, profitBasisCredits, profitBasisDebits, protocolReserveBalance, rebalanceExpiryCash, requestSupply, requestWithdraw, sealValuationSnapshot, snapshotExpiryPricer, sponsorFeeIncentives, startPoolValuation, supplyRequestsPending, valueExpiry, withdrawFeeIncentives, withdrawRequestsPending };
9
9
  }
10
10
  declare const PLP: MoveStruct<{
11
- dummy_field: _mysten_sui_bcs26.BcsType<boolean, boolean, "bool">;
11
+ dummy_field: _mysten_sui_bcs55.BcsType<boolean, boolean, "bool">;
12
12
  }, "@local-pkg/deepbook_predict::plp::PLP">;
13
13
  declare const PoolValuationProof: MoveStruct<{
14
- dummy_field: _mysten_sui_bcs26.BcsType<boolean, boolean, "bool">;
14
+ dummy_field: _mysten_sui_bcs55.BcsType<boolean, boolean, "bool">;
15
15
  }, "@local-pkg/deepbook_predict::plp::PoolValuationProof">;
16
16
  declare const SnapshotStage: MoveStruct<{
17
- dummy_field: _mysten_sui_bcs26.BcsType<boolean, boolean, "bool">;
17
+ dummy_field: _mysten_sui_bcs55.BcsType<boolean, boolean, "bool">;
18
18
  }, "@local-pkg/deepbook_predict::plp::SnapshotStage">;
19
19
  declare const PoolValuation: MoveStruct<{
20
- /** Active expiry markets snapshotted at start; every one must be valued. */expected_expiry_markets: _mysten_sui_bcs26.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
20
+ /** Active expiry markets snapshotted at start; every one must be valued. */expected_expiry_markets: _mysten_sui_bcs55.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
21
21
  length: number;
22
22
  }, string>; /** Markets valued so far this flush; folded against `expected` at finish. */
23
- valued_expiry_markets: _mysten_sui_bcs26.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
23
+ valued_expiry_markets: _mysten_sui_bcs55.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
24
24
  length: number;
25
25
  }, string>; /** Running Σ of each valued market's snapshot NAV (settled markets contribute 0). */
26
- total_nav: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
26
+ total_nav: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
27
27
  /**
28
28
  * Oracle state frozen during the snapshot stage, one entry per expected market.
29
29
  * Keyed by market id so a `Pricer` can never be applied to the wrong market.
@@ -33,7 +33,7 @@ declare const PoolValuation: MoveStruct<{
33
33
  * clock or oracle state can change a market's contribution.
34
34
  */
35
35
  frozen_pricers: MoveStruct<{
36
- contents: _mysten_sui_bcs26.BcsType<{
36
+ contents: _mysten_sui_bcs55.BcsType<{
37
37
  key: string;
38
38
  value: {
39
39
  expiry_market_id: string;
@@ -89,22 +89,22 @@ declare const PoolValuation: MoveStruct<{
89
89
  * Set by `seal_valuation_snapshot`; no market may be valued before it. Nothing may
90
90
  * be snapshotted after it because sealing consumes the `SnapshotStage`.
91
91
  */
92
- sealed: _mysten_sui_bcs26.BcsType<boolean, boolean, "bool">; /** Clock time the flush was started, for the stuck-flush deadline. */
93
- started_at_ms: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
92
+ sealed: _mysten_sui_bcs55.BcsType<boolean, boolean, "bool">; /** Clock time the flush was started, for the stuck-flush deadline. */
93
+ started_at_ms: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
94
94
  /**
95
95
  * Drain budgets committed at start (the cap owner's choice), bounding how many
96
96
  * requests each queue processes at finish. `finish_flush` takes no budget, so the
97
97
  * flush operator who completes it drains at exactly these.
98
98
  */
99
- supply_budget: _mysten_sui_bcs26.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
100
- withdraw_budget: _mysten_sui_bcs26.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
99
+ supply_budget: _mysten_sui_bcs55.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
100
+ withdraw_budget: _mysten_sui_bcs55.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
101
101
  /**
102
102
  * Each LP queue's `next_index` at the snapshot instant: the drain fills only
103
103
  * requests indexed strictly below these, so nobody can watch the frozen mark form
104
104
  * and then submit against a price they already know is stale.
105
105
  */
106
- supply_request_cutoff: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
107
- withdraw_request_cutoff: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
106
+ supply_request_cutoff: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
107
+ withdraw_request_cutoff: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
108
108
  /**
109
109
  * Vault-side figures captured by `seal_valuation_snapshot`. With every market's
110
110
  * cash frozen in its stamp and these frozen here, the mark is a pure function of
@@ -113,69 +113,69 @@ declare const PoolValuation: MoveStruct<{
113
113
  * during the snapshot stage, so their recoverable cash sits inside
114
114
  * `frozen_idle_balance`.
115
115
  */
116
- frozen_idle_balance: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
117
- frozen_profit_basis_credits: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
118
- frozen_profit_basis_debits: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
119
- frozen_pending_protocol_profit: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
116
+ frozen_idle_balance: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
117
+ frozen_profit_basis_credits: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
118
+ frozen_profit_basis_debits: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
119
+ frozen_pending_protocol_profit: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
120
120
  }, "@local-pkg/deepbook_predict::plp::PoolValuation">;
121
121
  declare const PoolVault: MoveStruct<{
122
- id: _mysten_sui_bcs26.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
122
+ id: _mysten_sui_bcs55.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
123
123
  /**
124
124
  * Protocol-owned USDC excluded from PLP redemption. No package entrypoint
125
125
  * withdraws this balance.
126
126
  */
127
127
  protocol_reserve_balance: MoveStruct<{
128
- value: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
128
+ value: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
129
129
  }, "0x2::balance::Balance<phantom T>">;
130
130
  /**
131
131
  * Sponsor-funded USDC reserved for taker fee sponsorship, excluded from PLP NAV.
132
132
  * Admin may reclaim it through `withdraw_fee_incentives`.
133
133
  */
134
134
  fee_incentive_reserve: MoveStruct<{
135
- value: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
135
+ value: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
136
136
  }, "0x2::balance::Balance<phantom T>">; /** PLP share issuance plus queued supply/withdraw escrow. */
137
137
  lp: MoveStruct<{
138
138
  treasury_cap: MoveStruct<{
139
- id: _mysten_sui_bcs26.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
139
+ id: _mysten_sui_bcs55.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
140
140
  total_supply: MoveStruct<{
141
- value: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
141
+ value: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
142
142
  }, "0x2::balance::Supply<phantom T>">;
143
143
  }, "0x2::coin::TreasuryCap<phantom T>">;
144
144
  supply_queue: MoveStruct<{
145
145
  pages: MoveStruct<{
146
- id: _mysten_sui_bcs26.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
147
- size: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
146
+ id: _mysten_sui_bcs55.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
147
+ size: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
148
148
  }, "0x2::table::Table<phantom K, phantom V>">;
149
- head_page_id: _mysten_sui_bcs26.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
150
- tail_page_id: _mysten_sui_bcs26.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
151
- next_index: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
152
- pending: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
149
+ head_page_id: _mysten_sui_bcs55.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
150
+ tail_page_id: _mysten_sui_bcs55.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
151
+ next_index: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
152
+ pending: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
153
153
  escrow: MoveStruct<{
154
- value: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
154
+ value: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
155
155
  }, "0x2::balance::Balance<phantom T>">;
156
156
  }, "@local-pkg/deepbook_predict::lp_book::RequestQueue<phantom T>">;
157
157
  withdraw_queue: MoveStruct<{
158
158
  pages: MoveStruct<{
159
- id: _mysten_sui_bcs26.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
160
- size: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
159
+ id: _mysten_sui_bcs55.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
160
+ size: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
161
161
  }, "0x2::table::Table<phantom K, phantom V>">;
162
- head_page_id: _mysten_sui_bcs26.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
163
- tail_page_id: _mysten_sui_bcs26.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
164
- next_index: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
165
- pending: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
162
+ head_page_id: _mysten_sui_bcs55.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
163
+ tail_page_id: _mysten_sui_bcs55.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
164
+ next_index: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
165
+ pending: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
166
166
  escrow: MoveStruct<{
167
- value: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
167
+ value: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
168
168
  }, "0x2::balance::Balance<phantom T>">;
169
169
  }, "@local-pkg/deepbook_predict::lp_book::RequestQueue<phantom T>">;
170
170
  locked_lp: MoveStruct<{
171
- value: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
171
+ value: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
172
172
  }, "0x2::balance::Balance<phantom T>">;
173
173
  }, "@local-pkg/deepbook_predict::lp_book::LpBook<phantom LP>">; /** Idle USDC custody, registered expiries, and per-expiry cash-flow rows. */
174
174
  expiry_accounting: MoveStruct<{
175
175
  idle_balance: MoveStruct<{
176
- value: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
176
+ value: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
177
177
  }, "0x2::balance::Balance<phantom T>">;
178
- active_expiry_markets: _mysten_sui_bcs26.BcsType<{
178
+ active_expiry_markets: _mysten_sui_bcs55.BcsType<{
179
179
  expiry_market_id: string;
180
180
  expiry_ms: bigint;
181
181
  }[], Iterable<{
@@ -185,19 +185,19 @@ declare const PoolVault: MoveStruct<{
185
185
  length: number;
186
186
  }, string>;
187
187
  registered_expiries: MoveStruct<{
188
- id: _mysten_sui_bcs26.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
189
- size: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
188
+ id: _mysten_sui_bcs55.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
189
+ size: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
190
190
  }, "0x2::table::Table<phantom K, phantom V>">;
191
- profit_basis_debits: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
192
- profit_basis_credits: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
193
- net_losses_to_fill: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
194
- pending_protocol_profit: _mysten_sui_bcs26.BcsType<bigint, string | number | bigint, "u64">;
191
+ profit_basis_debits: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
192
+ profit_basis_credits: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
193
+ net_losses_to_fill: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
194
+ pending_protocol_profit: _mysten_sui_bcs55.BcsType<bigint, string | number | bigint, "u64">;
195
195
  }, "@local-pkg/deepbook_predict::pool_accounting::Ledger">;
196
196
  /**
197
197
  * In-flight full-pool valuation, held across transactions. `Some` exactly while
198
198
  * the `ProtocolConfig` valuation flag is engaged.
199
199
  */
200
- valuation: _mysten_sui_bcs26.BcsType<{
200
+ valuation: _mysten_sui_bcs55.BcsType<{
201
201
  expected_expiry_markets: string[];
202
202
  valued_expiry_markets: string[];
203
203
  total_nav: bigint;
@@ -299,7 +299,7 @@ interface IdOptions {
299
299
  };
300
300
  }
301
301
  /** Return the pool vault object ID for external discovery and PTB construction. */
302
- declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
302
+ declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
303
303
  interface IdleBalanceArguments {
304
304
  vault?: RawTransactionArgument<string>;
305
305
  }
@@ -312,7 +312,7 @@ interface IdleBalanceOptions {
312
312
  };
313
313
  }
314
314
  /** Return idle USDC for SDK and devInspect state reads. */
315
- declare function idleBalance(options: IdleBalanceOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
315
+ declare function idleBalance(options: IdleBalanceOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
316
316
  interface ProtocolReserveBalanceArguments {
317
317
  vault?: RawTransactionArgument<string>;
318
318
  }
@@ -325,7 +325,7 @@ interface ProtocolReserveBalanceOptions {
325
325
  };
326
326
  }
327
327
  /** Return protocol-owned USDC for SDK and devInspect state reads. */
328
- declare function protocolReserveBalance(options: ProtocolReserveBalanceOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
328
+ declare function protocolReserveBalance(options: ProtocolReserveBalanceOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
329
329
  interface FeeIncentiveReserveArguments {
330
330
  vault?: RawTransactionArgument<string>;
331
331
  }
@@ -338,7 +338,7 @@ interface FeeIncentiveReserveOptions {
338
338
  };
339
339
  }
340
340
  /** Return sponsor-funded fee reserves for SDK and devInspect state reads. */
341
- declare function feeIncentiveReserve(options: FeeIncentiveReserveOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
341
+ declare function feeIncentiveReserve(options: FeeIncentiveReserveOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
342
342
  interface PlpTotalSupplyArguments {
343
343
  vault?: RawTransactionArgument<string>;
344
344
  }
@@ -351,7 +351,7 @@ interface PlpTotalSupplyOptions {
351
351
  };
352
352
  }
353
353
  /** Return total PLP supply for SDK and devInspect state reads. */
354
- declare function plpTotalSupply(options: PlpTotalSupplyOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
354
+ declare function plpTotalSupply(options: PlpTotalSupplyOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
355
355
  interface SupplyRequestsPendingArguments {
356
356
  vault?: RawTransactionArgument<string>;
357
357
  }
@@ -364,7 +364,7 @@ interface SupplyRequestsPendingOptions {
364
364
  };
365
365
  }
366
366
  /** Return pending LP supply count for SDK and devInspect queue reads. */
367
- declare function supplyRequestsPending(options: SupplyRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
367
+ declare function supplyRequestsPending(options: SupplyRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
368
368
  interface WithdrawRequestsPendingArguments {
369
369
  vault?: RawTransactionArgument<string>;
370
370
  }
@@ -377,7 +377,7 @@ interface WithdrawRequestsPendingOptions {
377
377
  };
378
378
  }
379
379
  /** Return pending LP withdrawal count for SDK and devInspect queue reads. */
380
- declare function withdrawRequestsPending(options: WithdrawRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
380
+ declare function withdrawRequestsPending(options: WithdrawRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
381
381
  interface ActiveExpiryMarketsArguments {
382
382
  vault?: RawTransactionArgument<string>;
383
383
  }
@@ -390,7 +390,7 @@ interface ActiveExpiryMarketsOptions {
390
390
  };
391
391
  }
392
392
  /** Return active expiry IDs for external PTB construction and pool inspection. */
393
- declare function activeExpiryMarkets(options: ActiveExpiryMarketsOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
393
+ declare function activeExpiryMarkets(options: ActiveExpiryMarketsOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
394
394
  interface ActiveLiveExpiryCountArguments {
395
395
  vault?: RawTransactionArgument<string>;
396
396
  }
@@ -403,7 +403,7 @@ interface ActiveLiveExpiryCountOptions {
403
403
  };
404
404
  }
405
405
  /** Return the pre-expiry active count for SDK and devInspect capacity reads. */
406
- declare function activeLiveExpiryCount(options: ActiveLiveExpiryCountOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
406
+ declare function activeLiveExpiryCount(options: ActiveLiveExpiryCountOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
407
407
  interface ProfitBasisDebitsArguments {
408
408
  vault?: RawTransactionArgument<string>;
409
409
  }
@@ -416,7 +416,7 @@ interface ProfitBasisDebitsOptions {
416
416
  };
417
417
  }
418
418
  /** Return the profit-basis debits for external accounting observability. */
419
- declare function profitBasisDebits(options: ProfitBasisDebitsOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
419
+ declare function profitBasisDebits(options: ProfitBasisDebitsOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
420
420
  interface ProfitBasisCreditsArguments {
421
421
  vault?: RawTransactionArgument<string>;
422
422
  }
@@ -429,7 +429,7 @@ interface ProfitBasisCreditsOptions {
429
429
  };
430
430
  }
431
431
  /** Return the profit-basis credits for external accounting observability. */
432
- declare function profitBasisCredits(options: ProfitBasisCreditsOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
432
+ declare function profitBasisCredits(options: ProfitBasisCreditsOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
433
433
  interface PendingProtocolProfitArguments {
434
434
  vault?: RawTransactionArgument<string>;
435
435
  }
@@ -442,7 +442,7 @@ interface PendingProtocolProfitOptions {
442
442
  };
443
443
  }
444
444
  /** Return deferred protocol profit for external accounting observability. */
445
- declare function pendingProtocolProfit(options: PendingProtocolProfitOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
445
+ declare function pendingProtocolProfit(options: PendingProtocolProfitOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
446
446
  interface StartPoolValuationArguments {
447
447
  config?: RawTransactionArgument<string>;
448
448
  vault?: RawTransactionArgument<string>;
@@ -467,7 +467,7 @@ interface StartPoolValuationOptions {
467
467
  * snapshot stage: freeze every active market's pricer under the returned
468
468
  * `SnapshotStage`, then seal it in the same transaction.
469
469
  */
470
- declare function startPoolValuation(options: StartPoolValuationOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
470
+ declare function startPoolValuation(options: StartPoolValuationOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
471
471
  interface SnapshotExpiryPricerArguments {
472
472
  vault?: RawTransactionArgument<string>;
473
473
  Stage: TransactionArgument;
@@ -510,7 +510,7 @@ interface SnapshotExpiryPricerOptions {
510
510
  * flag is never left engaged. Settle it first, then start the flush; settlement is
511
511
  * never blocked by a flush, so that ordering is always available.
512
512
  */
513
- declare function snapshotExpiryPricer(options: SnapshotExpiryPricerOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
513
+ declare function snapshotExpiryPricer(options: SnapshotExpiryPricerOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
514
514
  interface SealValuationSnapshotArguments {
515
515
  vault?: RawTransactionArgument<string>;
516
516
  stage: TransactionArgument;
@@ -538,7 +538,7 @@ interface SealValuationSnapshotOptions {
538
538
  * land between a stamp and this capture. Valuation may then resume across as many
539
539
  * transactions as it needs.
540
540
  */
541
- declare function sealValuationSnapshot(options: SealValuationSnapshotOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
541
+ declare function sealValuationSnapshot(options: SealValuationSnapshotOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
542
542
  interface ValueExpiryArguments {
543
543
  vault?: RawTransactionArgument<string>;
544
544
  market: RawTransactionArgument<string>;
@@ -568,7 +568,7 @@ interface ValueExpiryOptions {
568
568
  * mid-window is valued at its frozen pre-expiry mark; its settlement does not wait
569
569
  * for this call, because settlement is never blocked by a flush.
570
570
  */
571
- declare function valueExpiry(options: ValueExpiryOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
571
+ declare function valueExpiry(options: ValueExpiryOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
572
572
  interface FinishFlushArguments {
573
573
  vault?: RawTransactionArgument<string>;
574
574
  config?: RawTransactionArgument<string>;
@@ -617,7 +617,7 @@ interface FinishFlushOptions {
617
617
  * completes a flush keeps idle predictable for the keeper that funds markets for
618
618
  * queued orders.
619
619
  */
620
- declare function finishFlush(options: FinishFlushOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
620
+ declare function finishFlush(options: FinishFlushOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
621
621
  interface RebalanceExpiryCashArguments {
622
622
  vault?: RawTransactionArgument<string>;
623
623
  market: RawTransactionArgument<string>;
@@ -653,7 +653,7 @@ interface RebalanceExpiryCashOptions {
653
653
  * between a market's stamp and the seal's vault capture would skew the frozen
654
654
  * figures, so it is structurally rejected rather than corrected for.
655
655
  */
656
- declare function rebalanceExpiryCash(options: RebalanceExpiryCashOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
656
+ declare function rebalanceExpiryCash(options: RebalanceExpiryCashOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
657
657
  interface SponsorFeeIncentivesArguments {
658
658
  vault?: RawTransactionArgument<string>;
659
659
  config?: RawTransactionArgument<string>;
@@ -675,7 +675,7 @@ interface SponsorFeeIncentivesOptions {
675
675
  * sponsor: admin can withdraw any of the reserve through
676
676
  * `withdraw_fee_incentives`.
677
677
  */
678
- declare function sponsorFeeIncentives(options: SponsorFeeIncentivesOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
678
+ declare function sponsorFeeIncentives(options: SponsorFeeIncentivesOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
679
679
  interface WithdrawFeeIncentivesArguments {
680
680
  vault?: RawTransactionArgument<string>;
681
681
  AdminCap: RawTransactionArgument<string>;
@@ -707,7 +707,7 @@ interface WithdrawFeeIncentivesOptions {
707
707
  * excluded from PLP NAV and no flush figure, frozen or live, reads it, so a
708
708
  * withdrawal cannot reach the mark.
709
709
  */
710
- declare function withdrawFeeIncentives(options: WithdrawFeeIncentivesOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
710
+ declare function withdrawFeeIncentives(options: WithdrawFeeIncentivesOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
711
711
  interface AddUsdcToPlpArguments {
712
712
  vault?: RawTransactionArgument<string>;
713
713
  config?: RawTransactionArgument<string>;
@@ -765,7 +765,7 @@ interface AddUsdcToPlpOptions {
765
765
  * gate. `rebalance_expiry_cash` may run mid-window because it only moves cash
766
766
  * between two figures the seal already froze; new value is different.
767
767
  */
768
- declare function addUsdcToPlp(options: AddUsdcToPlpOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
768
+ declare function addUsdcToPlp(options: AddUsdcToPlpOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
769
769
  interface LockCapitalArguments {
770
770
  vault?: RawTransactionArgument<string>;
771
771
  config?: RawTransactionArgument<string>;
@@ -790,7 +790,7 @@ interface LockCapitalOptions {
790
790
  * Supply, withdrawal, and flush flows remain disabled until the locked liquidity
791
791
  * has been created.
792
792
  */
793
- declare function lockCapital(options: LockCapitalOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
793
+ declare function lockCapital(options: LockCapitalOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
794
794
  interface RequestSupplyArguments {
795
795
  vault?: RawTransactionArgument<string>;
796
796
  wrapper: RawTransactionArgument<string>;
@@ -823,7 +823,7 @@ interface RequestSupplyOptions {
823
823
  * that many flushes first. Returns the queue index, the handle used to cancel
824
824
  * before the flush.
825
825
  */
826
- declare function requestSupply(options: RequestSupplyOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
826
+ declare function requestSupply(options: RequestSupplyOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
827
827
  interface RequestWithdrawArguments {
828
828
  vault?: RawTransactionArgument<string>;
829
829
  wrapper: RawTransactionArgument<string>;
@@ -855,7 +855,7 @@ interface RequestWithdrawOptions {
855
855
  * there and then; a higher configured count lets it rest and retry that many
856
856
  * flushes first. Returns the queue index used to cancel before the flush.
857
857
  */
858
- declare function requestWithdraw(options: RequestWithdrawOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
858
+ declare function requestWithdraw(options: RequestWithdrawOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
859
859
  interface CancelSupplyRequestArguments {
860
860
  vault?: RawTransactionArgument<string>;
861
861
  wrapper: RawTransactionArgument<string>;
@@ -876,7 +876,7 @@ interface CancelSupplyRequestOptions {
876
876
  * Cancel a still-pending supply request, refunding its escrowed USDC straight into
877
877
  * the requesting account. `account` must be the request's recorded recipient.
878
878
  */
879
- declare function cancelSupplyRequest(options: CancelSupplyRequestOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
879
+ declare function cancelSupplyRequest(options: CancelSupplyRequestOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
880
880
  interface CancelWithdrawRequestArguments {
881
881
  vault?: RawTransactionArgument<string>;
882
882
  wrapper: RawTransactionArgument<string>;
@@ -897,7 +897,7 @@ interface CancelWithdrawRequestOptions {
897
897
  * Cancel a still-pending withdraw request, refunding its escrowed PLP straight
898
898
  * into the requesting account. `account` must be the request's recorded recipient.
899
899
  */
900
- declare function cancelWithdrawRequest(options: CancelWithdrawRequestOptions): (tx: Transaction) => _mysten_sui_transactions23.TransactionResult;
900
+ declare function cancelWithdrawRequest(options: CancelWithdrawRequestOptions): (tx: Transaction) => _mysten_sui_transactions51.TransactionResult;
901
901
  //#endregion
902
902
  export { plp_d_exports };
903
903
  //# sourceMappingURL=plp.d.mts.map