@mysten/deepbook-v3 2.9.0 → 2.9.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 (80) hide show
  1. package/CHANGELOG.md +20 -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 +83 -83
  18. package/dist/contracts/deepbook_predict/expiry_market.d.mts +59 -59
  19. package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
  20. package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts.map +1 -1
  21. package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
  22. package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
  23. package/dist/contracts/deepbook_predict/order_events.d.mts +50 -50
  24. package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
  25. package/dist/contracts/deepbook_predict/pause_cap.d.mts.map +1 -1
  26. package/dist/contracts/deepbook_predict/plp.d.mts +74 -74
  27. package/dist/contracts/deepbook_predict/plp.d.mts.map +1 -1
  28. package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts +5 -5
  29. package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts.map +1 -1
  30. package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
  31. package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
  32. package/dist/contracts/deepbook_predict/pricing.d.mts +67 -67
  33. package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
  34. package/dist/contracts/deepbook_predict/protocol_config.d.mts +82 -82
  35. package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
  36. package/dist/contracts/deepbook_predict/range_codec.d.mts.map +1 -1
  37. package/dist/contracts/deepbook_predict/registry.d.mts +32 -32
  38. package/dist/contracts/deepbook_predict/registry.d.mts.map +1 -1
  39. package/dist/contracts/deepbook_predict/vault_events.d.mts +131 -131
  40. package/dist/contracts/deepbook_predict_math/lazer_price.d.mts +13 -13
  41. package/dist/contracts/deepbook_predict_math/math.d.mts +14 -14
  42. package/dist/contracts/deepbook_predict_orders/delayed_execution_config.d.mts +30 -30
  43. package/dist/contracts/deepbook_predict_orders/desk.d.mts +28 -28
  44. package/dist/contracts/deepbook_predict_orders/order_queue.d.mts +187 -187
  45. package/dist/contracts/deepbook_predict_orders/queue.d.mts +49 -49
  46. package/dist/contracts/deepbook_predict_orders/queue_events.d.mts +140 -140
  47. package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
  48. package/dist/predict/bindings/expiry-market.d.mts +5 -5
  49. package/dist/predict/bindings/expiry-market.d.mts.map +1 -1
  50. package/dist/predict/bindings/protocol-config.d.mts +3 -3
  51. package/dist/predict/bindings/protocol-config.d.mts.map +1 -1
  52. package/dist/predict/reads/pricing.d.mts +1 -0
  53. package/dist/predict/reads/pricing.d.mts.map +1 -1
  54. package/dist/predict/reads/queue.d.mts +1 -0
  55. package/dist/predict/reads/queue.d.mts.map +1 -1
  56. package/dist/transactions/balanceManager.d.mts +12 -12
  57. package/dist/transactions/balanceManager.d.mts.map +1 -1
  58. package/dist/transactions/deepbook.d.mts +20 -20
  59. package/dist/transactions/deepbook.d.mts.map +1 -1
  60. package/dist/transactions/deepbookAdmin.d.mts +4 -4
  61. package/dist/transactions/deepbookAdmin.d.mts.map +1 -1
  62. package/dist/transactions/marginAdmin.d.mts +7 -7
  63. package/dist/transactions/marginAdmin.d.mts.map +1 -1
  64. package/dist/transactions/marginLiquidations.d.mts +3 -3
  65. package/dist/transactions/marginMaintainer.d.mts +5 -5
  66. package/dist/transactions/marginMaintainer.d.mts.map +1 -1
  67. package/dist/transactions/marginManager.d.mts +32 -32
  68. package/dist/transactions/marginManager.d.mts.map +1 -1
  69. package/dist/transactions/marginPool.d.mts +18 -18
  70. package/dist/transactions/marginPool.d.mts.map +1 -1
  71. package/dist/transactions/marginRegistry.d.mts +16 -16
  72. package/dist/transactions/marginTPSL.d.mts +10 -10
  73. package/dist/transactions/marginTPSL.d.mts.map +1 -1
  74. package/dist/transactions/poolProxy.d.mts +8 -8
  75. package/dist/transactions/poolProxy.d.mts.map +1 -1
  76. package/dist/utils/constants.d.mts.map +1 -1
  77. package/dist/utils/constants.mjs +14 -4
  78. package/dist/utils/constants.mjs.map +1 -1
  79. package/package.json +2 -2
  80. package/src/utils/constants.ts +24 -9
@@ -1,6 +1,6 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs32 from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions53 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_bcs52 from "@mysten/sui/bcs";
3
+ import * as _mysten_sui_transactions148 from "@mysten/sui/transactions";
4
4
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/contracts/deepbook_predict/market_manager.d.ts
@@ -8,58 +8,58 @@ declare namespace market_manager_d_exports {
8
8
  export { CadenceAdmissionTickSizeArguments, CadenceAdmissionTickSizeOptions, CadenceConfig, CadenceEnabledArguments, CadenceEnabledOptions, CadenceInitialExpiryCashArguments, CadenceInitialExpiryCashOptions, CadenceMaxExpiryAllocationArguments, CadenceMaxExpiryAllocationOptions, CadenceTickSizeArguments, CadenceTickSizeOptions, CadenceWindowSizeArguments, CadenceWindowSizeOptions, DeployableMarket, MarketKey, MarketManager, UnderlyingMarketConfig, cadenceAdmissionTickSize, cadenceEnabled, cadenceInitialExpiryCash, cadenceMaxExpiryAllocation, cadenceTickSize, cadenceWindowSize };
9
9
  }
10
10
  declare const MarketKey: MoveStruct<{
11
- propbook_underlying_id: _mysten_sui_bcs32.BcsType<number, number, "u32">;
12
- expiry: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
11
+ propbook_underlying_id: _mysten_sui_bcs52.BcsType<number, number, "u32">;
12
+ expiry: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
13
13
  }, "@local-pkg/deepbook_predict::market_manager::MarketKey">;
14
14
  declare const MarketManager: MoveStruct<{
15
15
  /** Propbook underlying ID -> deployment watermarks. */underlying_configs: MoveStruct<{
16
- id: _mysten_sui_bcs32.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
17
- size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
16
+ id: _mysten_sui_bcs52.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
17
+ size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
18
18
  }, "0x2::table::Table<phantom K, phantom V>">; /** Created markets keyed by `(propbook_underlying_id, expiry)`. */
19
19
  market_ids: MoveStruct<{
20
- id: _mysten_sui_bcs32.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
21
- size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
20
+ id: _mysten_sui_bcs52.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
21
+ size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
22
22
  }, "0x2::table::Table<phantom K, phantom V>">;
23
23
  }, "@local-pkg/deepbook_predict::market_manager::MarketManager">;
24
24
  declare const CadenceConfig: MoveStruct<{
25
- /** Raw-price-per-tick factor snapshotted into each created market. */tick_size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">; /** Coarser raw-price step that new finite mint boundaries must align to. */
26
- admission_tick_size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
25
+ /** Raw-price-per-tick factor snapshotted into each created market. */tick_size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">; /** Coarser raw-price step that new finite mint boundaries must align to. */
26
+ admission_tick_size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
27
27
  /**
28
28
  * USDC pool allocation cap snapshotted into pool accounting for each created
29
29
  * expiry.
30
30
  */
31
- max_expiry_allocation: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
31
+ max_expiry_allocation: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
32
32
  /**
33
33
  * Minimum USDC cash target snapshotted into pool accounting for each created
34
34
  * expiry.
35
35
  */
36
- initial_expiry_cash: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
36
+ initial_expiry_cash: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
37
37
  /**
38
38
  * Number of cadence periods in the rolling future deployment horizon. Zero
39
39
  * disables this cadence.
40
40
  */
41
- window_size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
41
+ window_size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
42
42
  }, "@local-pkg/deepbook_predict::market_manager::CadenceConfig">;
43
43
  declare const DeployableMarket: MoveStruct<{
44
- expiry: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
44
+ expiry: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
45
45
  cadence: MoveStruct<{
46
- /** Raw-price-per-tick factor snapshotted into each created market. */tick_size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">; /** Coarser raw-price step that new finite mint boundaries must align to. */
47
- admission_tick_size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
46
+ /** Raw-price-per-tick factor snapshotted into each created market. */tick_size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">; /** Coarser raw-price step that new finite mint boundaries must align to. */
47
+ admission_tick_size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
48
48
  /**
49
49
  * USDC pool allocation cap snapshotted into pool accounting for each created
50
50
  * expiry.
51
51
  */
52
- max_expiry_allocation: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
52
+ max_expiry_allocation: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
53
53
  /**
54
54
  * Minimum USDC cash target snapshotted into pool accounting for each created
55
55
  * expiry.
56
56
  */
57
- initial_expiry_cash: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
57
+ initial_expiry_cash: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
58
58
  /**
59
59
  * Number of cadence periods in the rolling future deployment horizon. Zero
60
60
  * disables this cadence.
61
61
  */
62
- window_size: _mysten_sui_bcs32.BcsType<bigint, string | number | bigint, "u64">;
62
+ window_size: _mysten_sui_bcs52.BcsType<bigint, string | number | bigint, "u64">;
63
63
  }, "@local-pkg/deepbook_predict::market_manager::CadenceConfig">;
64
64
  }, "@local-pkg/deepbook_predict::market_manager::DeployableMarket">;
65
65
  declare const UnderlyingMarketConfig: MoveStruct<{
@@ -68,7 +68,7 @@ declare const UnderlyingMarketConfig: MoveStruct<{
68
68
  * vector grows past the six built-ins only when an added cadence is set or
69
69
  * created, because package versions before the cadence table abort on longer rows.
70
70
  */
71
- cadences: _mysten_sui_bcs32.BcsType<{
71
+ cadences: _mysten_sui_bcs52.BcsType<{
72
72
  tick_size: bigint;
73
73
  admission_tick_size: bigint;
74
74
  max_expiry_allocation: bigint;
@@ -83,7 +83,7 @@ declare const UnderlyingMarketConfig: MoveStruct<{
83
83
  }> & {
84
84
  length: number;
85
85
  }, string>; /** Highest deployed expiry timestamp indexed by cadence ID; missing rows are 0. */
86
- last_deployed_expiries: _mysten_sui_bcs32.BcsType<bigint[], Iterable<string | number | bigint> & {
86
+ last_deployed_expiries: _mysten_sui_bcs52.BcsType<bigint[], Iterable<string | number | bigint> & {
87
87
  length: number;
88
88
  }, string>;
89
89
  }, "@local-pkg/deepbook_predict::market_manager::UnderlyingMarketConfig">;
@@ -98,7 +98,7 @@ interface CadenceTickSizeOptions {
98
98
  };
99
99
  }
100
100
  /** Return the raw-price-per-tick factor for SDK and devInspect cadence reads. */
101
- declare function cadenceTickSize(options: CadenceTickSizeOptions): (tx: Transaction) => _mysten_sui_transactions53.TransactionResult;
101
+ declare function cadenceTickSize(options: CadenceTickSizeOptions): (tx: Transaction) => _mysten_sui_transactions148.TransactionResult;
102
102
  interface CadenceAdmissionTickSizeArguments {
103
103
  config: TransactionArgument;
104
104
  }
@@ -110,7 +110,7 @@ interface CadenceAdmissionTickSizeOptions {
110
110
  };
111
111
  }
112
112
  /** Return the admission-grid step for SDK and devInspect cadence reads. */
113
- declare function cadenceAdmissionTickSize(options: CadenceAdmissionTickSizeOptions): (tx: Transaction) => _mysten_sui_transactions53.TransactionResult;
113
+ declare function cadenceAdmissionTickSize(options: CadenceAdmissionTickSizeOptions): (tx: Transaction) => _mysten_sui_transactions148.TransactionResult;
114
114
  interface CadenceMaxExpiryAllocationArguments {
115
115
  config: TransactionArgument;
116
116
  }
@@ -122,7 +122,7 @@ interface CadenceMaxExpiryAllocationOptions {
122
122
  };
123
123
  }
124
124
  /** Return the expiry allocation cap for SDK and devInspect cadence reads. */
125
- declare function cadenceMaxExpiryAllocation(options: CadenceMaxExpiryAllocationOptions): (tx: Transaction) => _mysten_sui_transactions53.TransactionResult;
125
+ declare function cadenceMaxExpiryAllocation(options: CadenceMaxExpiryAllocationOptions): (tx: Transaction) => _mysten_sui_transactions148.TransactionResult;
126
126
  interface CadenceInitialExpiryCashArguments {
127
127
  config: TransactionArgument;
128
128
  }
@@ -134,7 +134,7 @@ interface CadenceInitialExpiryCashOptions {
134
134
  };
135
135
  }
136
136
  /** Return the initial expiry cash target for SDK and devInspect cadence reads. */
137
- declare function cadenceInitialExpiryCash(options: CadenceInitialExpiryCashOptions): (tx: Transaction) => _mysten_sui_transactions53.TransactionResult;
137
+ declare function cadenceInitialExpiryCash(options: CadenceInitialExpiryCashOptions): (tx: Transaction) => _mysten_sui_transactions148.TransactionResult;
138
138
  interface CadenceWindowSizeArguments {
139
139
  config: TransactionArgument;
140
140
  }
@@ -146,7 +146,7 @@ interface CadenceWindowSizeOptions {
146
146
  };
147
147
  }
148
148
  /** Return the rolling deployment horizon for SDK and devInspect cadence reads. */
149
- declare function cadenceWindowSize(options: CadenceWindowSizeOptions): (tx: Transaction) => _mysten_sui_transactions53.TransactionResult;
149
+ declare function cadenceWindowSize(options: CadenceWindowSizeOptions): (tx: Transaction) => _mysten_sui_transactions148.TransactionResult;
150
150
  interface CadenceEnabledArguments {
151
151
  config: TransactionArgument;
152
152
  }
@@ -158,7 +158,7 @@ interface CadenceEnabledOptions {
158
158
  };
159
159
  }
160
160
  /** Return whether this cadence is enabled for SDK and devInspect discovery. */
161
- declare function cadenceEnabled(options: CadenceEnabledOptions): (tx: Transaction) => _mysten_sui_transactions53.TransactionResult;
161
+ declare function cadenceEnabled(options: CadenceEnabledOptions): (tx: Transaction) => _mysten_sui_transactions148.TransactionResult;
162
162
  //#endregion
163
163
  export { market_manager_d_exports };
164
164
  //# sourceMappingURL=market_manager.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"market_manager.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/market_manager.ts"],"mappings":";;;;;;;;;cAoBa,SAAA,EAAS,UAAA;0BAMpB,iBAAA,CAAA,OAAA;;;cACW,aAAA,EAAa,UAAA;;;;;;;;;;cASb,aAAA,EAAa,UAAA;mFAuBxB,iBAAA,CAAA,OAAA,2CAjCA;;EAAA;;;;;EANoB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S,qBAAA,IAK/B,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA"}
@@ -1,100 +1,100 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs183 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs259 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_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
- account_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
- order_id: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u256">;
9
+ expiry_market_id: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
+ account_id: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ order_id: _mysten_sui_bcs259.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_bcs183.BcsType<bigint, string | number | bigint, "u256">;
17
- owner: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
16
+ position_root_id: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u256">;
17
+ owner: _mysten_sui_bcs259.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_bcs183.BcsType<bigint, string | number | bigint, "u64">;
24
- higher_tick: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** 1e9-scaled range probability quoted at entry. */
25
- entry_probability: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
26
- quantity: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Premium the user paid into LP backing, in USDC base units. */
27
- premium: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Full trading fee assessed for the mint, including any sponsor-paid subsidy. */
28
- trading_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Portion of `trading_fee` paid from expiry-local fee incentives. */
29
- fee_incentive_subsidy: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
30
- builder_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge assessed for the mint, in USDC base units. */
31
- penalty_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
23
+ lower_tick: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
24
+ higher_tick: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** 1e9-scaled range probability quoted at entry. */
25
+ entry_probability: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
26
+ quantity: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** Premium the user paid into LP backing, in USDC base units. */
27
+ premium: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** Full trading fee assessed for the mint, including any sponsor-paid subsidy. */
28
+ trading_fee: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** Portion of `trading_fee` paid from expiry-local fee incentives. */
29
+ fee_incentive_subsidy: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
30
+ builder_fee: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge assessed for the mint, in USDC base units. */
31
+ penalty_fee: _mysten_sui_bcs259.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_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact charge escrowed for live-close rebates. */
37
- inventory_impact_charge: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
36
+ referral_fee: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact charge escrowed for live-close rebates. */
37
+ inventory_impact_charge: _mysten_sui_bcs259.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_bcs183.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_bcs183.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
44
- onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
42
+ builder_code_id: _mysten_sui_bcs259.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_bcs259.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
44
+ onchain_timestamp_ms: _mysten_sui_bcs259.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_bcs183.BcsType<bigint, string | number | bigint, "u64">;
51
- block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
52
- block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
53
- block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
50
+ pyth_spot_source_timestamp_ms: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
51
+ block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
52
+ block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
53
+ block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs259.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_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
57
- account_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
58
- order_id: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u256">;
56
+ expiry_market_id: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
57
+ account_id: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
58
+ order_id: _mysten_sui_bcs259.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_bcs183.BcsType<bigint, string | number | bigint, "u256">;
64
- owner: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
65
- quantity_closed: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** `0` means the position was fully closed. */
66
- remaining_quantity: _mysten_sui_bcs183.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_bcs183.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u256>">; /** Redeem value before fees. */
68
- redeem_amount: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
69
- trading_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
70
- builder_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge retained by the pool, in USDC base units. */
71
- penalty_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact rebate paid from its isolated escrow. */
72
- inventory_impact_rebate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
63
+ position_root_id: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u256">;
64
+ owner: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
65
+ quantity_closed: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** `0` means the position was fully closed. */
66
+ remaining_quantity: _mysten_sui_bcs259.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_bcs259.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u256>">; /** Redeem value before fees. */
68
+ redeem_amount: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
69
+ trading_fee: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
70
+ builder_fee: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** EWMA gas-price congestion surcharge retained by the pool, in USDC base units. */
71
+ penalty_fee: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">; /** Separate inventory-impact rebate paid from its isolated escrow. */
72
+ inventory_impact_rebate: _mysten_sui_bcs259.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_bcs183.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
78
- onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
77
+ builder_code_id: _mysten_sui_bcs259.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
78
+ onchain_timestamp_ms: _mysten_sui_bcs259.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_bcs183.BcsType<bigint, string | number | bigint, "u64">;
86
- block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
87
- block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
88
- block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
85
+ pyth_spot_source_timestamp_ms: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
86
+ block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
87
+ block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
88
+ block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs259.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_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
92
- account_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
93
- order_id: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u256">; /** Stable economic-position handle, constant across the replacement chain. */
94
- position_root_id: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u256">;
95
- owner: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
96
- payout_amount: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
97
- onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
91
+ expiry_market_id: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
92
+ account_id: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
93
+ order_id: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u256">; /** Stable economic-position handle, constant across the replacement chain. */
94
+ position_root_id: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u256">;
95
+ owner: _mysten_sui_bcs259.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
96
+ payout_amount: _mysten_sui_bcs259.BcsType<bigint, string | number | bigint, "u64">;
97
+ onchain_timestamp_ms: _mysten_sui_bcs259.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_bcs30 from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions49 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_bcs71 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/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_bcs30.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ id: _mysten_sui_bcs71.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_transactions49.TransactionResult;
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 `PauseCap` the holder no longer needs. */
36
- declare function destroy(options: DestroyOptions): (tx: Transaction) => _mysten_sui_transactions49.TransactionResult;
36
+ declare function destroy(options: DestroyOptions): (tx: Transaction) => _mysten_sui_transactions154.TransactionResult;
37
37
  //#endregion
38
38
  export { pause_cap_d_exports };
39
39
  //# sourceMappingURL=pause_cap.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pause_cap.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/pause_cap.ts"],"mappings":";;;;;;;;;cAca,QAAA,EAAQ,UAAA;;;UAMJ,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,0BAAA,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,0BAAA,CAAA,iBAAA"}
1
+ {"version":3,"file":"pause_cap.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/pause_cap.ts"],"mappings":";;;;;;;;;cAca,QAAA,EAAQ,UAAA;;;UAMJ,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"}