@mysten/deepbook-v3 2.4.2 → 2.5.0

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 +21 -0
  2. package/dist/contracts/account/account_events.d.mts +20 -20
  3. package/dist/contracts/account/account_events.d.mts.map +1 -1
  4. package/dist/contracts/account/account_registry.d.mts +6 -6
  5. package/dist/contracts/deepbook/account.d.mts +18 -18
  6. package/dist/contracts/deepbook/balances.d.mts +4 -4
  7. package/dist/contracts/deepbook/deep_price.d.mts +3 -3
  8. package/dist/contracts/deepbook/order.d.mts +12 -12
  9. package/dist/contracts/deepbook_predict/admin.d.mts +4 -4
  10. package/dist/contracts/deepbook_predict/admin.d.mts.map +1 -1
  11. package/dist/contracts/deepbook_predict/builder_code.d.mts +11 -11
  12. package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
  13. package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
  14. package/dist/contracts/deepbook_predict/config_events.d.mts +67 -67
  15. package/dist/contracts/deepbook_predict/expiry_market.d.mts +46 -46
  16. package/dist/contracts/deepbook_predict/expiry_market.d.mts.map +1 -1
  17. package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +3 -3
  18. package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts.map +1 -1
  19. package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
  20. package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
  21. package/dist/contracts/deepbook_predict/order_events.d.mts +50 -50
  22. package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
  23. package/dist/contracts/deepbook_predict/pause_cap.d.mts.map +1 -1
  24. package/dist/contracts/deepbook_predict/plp.d.mts +72 -72
  25. package/dist/contracts/deepbook_predict/plp.d.mts.map +1 -1
  26. package/dist/contracts/deepbook_predict/plp.mjs +1 -1
  27. package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts +5 -5
  28. package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts.map +1 -1
  29. package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
  30. package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
  31. package/dist/contracts/deepbook_predict/pricing.d.mts +92 -51
  32. package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
  33. package/dist/contracts/deepbook_predict/pricing.mjs +57 -7
  34. package/dist/contracts/deepbook_predict/pricing.mjs.map +1 -1
  35. package/dist/contracts/deepbook_predict/protocol_config.d.mts +64 -64
  36. package/dist/contracts/deepbook_predict/protocol_config.d.mts.map +1 -1
  37. package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
  38. package/dist/contracts/deepbook_predict/range_codec.d.mts.map +1 -1
  39. package/dist/contracts/deepbook_predict/registry.d.mts +28 -28
  40. package/dist/contracts/deepbook_predict/strike_exposure.mjs +3 -2
  41. package/dist/contracts/deepbook_predict/strike_exposure.mjs.map +1 -1
  42. package/dist/contracts/deepbook_predict/vault_events.d.mts +105 -105
  43. package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
  44. package/dist/contracts/deepbook_sessions/sessions.d.mts +22 -22
  45. package/dist/deployments/mainnet.mjs +21 -21
  46. package/dist/deployments/mainnet.mjs.map +1 -1
  47. package/dist/deployments/testnet.mjs +21 -21
  48. package/dist/deployments/testnet.mjs.map +1 -1
  49. package/dist/predict/index.mjs +1 -1
  50. package/dist/predict/reads/markets.mjs +11 -3
  51. package/dist/predict/reads/markets.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/pricing.mjs +1 -1
  55. package/dist/transactions/balanceManager.d.mts +12 -12
  56. package/dist/transactions/balanceManager.d.mts.map +1 -1
  57. package/dist/transactions/deepbook.d.mts +20 -20
  58. package/dist/transactions/deepbook.d.mts.map +1 -1
  59. package/dist/transactions/deepbookAdmin.d.mts +4 -4
  60. package/dist/transactions/deepbookAdmin.d.mts.map +1 -1
  61. package/dist/transactions/marginAdmin.d.mts +7 -7
  62. package/dist/transactions/marginAdmin.d.mts.map +1 -1
  63. package/dist/transactions/marginLiquidations.d.mts +3 -3
  64. package/dist/transactions/marginMaintainer.d.mts +5 -5
  65. package/dist/transactions/marginMaintainer.d.mts.map +1 -1
  66. package/dist/transactions/marginManager.d.mts +32 -32
  67. package/dist/transactions/marginManager.d.mts.map +1 -1
  68. package/dist/transactions/marginPool.d.mts +18 -18
  69. package/dist/transactions/marginPool.d.mts.map +1 -1
  70. package/dist/transactions/marginRegistry.d.mts +16 -16
  71. package/dist/transactions/marginTPSL.d.mts +10 -10
  72. package/dist/transactions/marginTPSL.d.mts.map +1 -1
  73. package/dist/transactions/poolProxy.d.mts +8 -8
  74. package/dist/transactions/poolProxy.d.mts.map +1 -1
  75. package/package.json +1 -1
  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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @mysten/deepbook-v3
2
2
 
3
+ ## 2.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5eda7bd: Point Predict at the fresh Testnet and Mainnet deployments and pick up the per-leg range
8
+ fee.
9
+
10
+ Both networks were redeployed, so every Predict package and object id moved. The deployment
11
+ records are regenerated from the deploy tooling's own manifests rather than hand-edited.
12
+
13
+ `pricing::range_price` now returns a `RangePrice` carrying both boundary probabilities instead of
14
+ a single `u64`, so the chain can charge each leg of a range its own fee and floor. The generated
15
+ bindings gain `RangePrice` with `lower_up`, `higher_up` and `probability` accessors,
16
+ `block_scholes_store` gains `recent_spot_at` over a bounded spot-read ring buffer, and
17
+ `read.price` composes `probability()` onto each `range_price` result. The combined range
18
+ probability is unchanged (`lower_up.saturating_sub(higher_up)`), so `read.price` returns the same
19
+ numbers it always did.
20
+
21
+ Callers using the generated `pricing.rangePrice` binding directly and parsing its return as a
22
+ `u64` must now read `probability()` (or the individual legs) from the returned struct.
23
+
3
24
  ## 2.4.2
4
25
 
5
26
  ## 2.4.1
@@ -1,40 +1,40 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs440 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs0 from "@mysten/sui/bcs";
3
3
 
4
4
  //#region src/contracts/account/account_events.d.ts
5
5
  declare namespace account_events_d_exports {
6
6
  export { AccountCreated, AppAuthorized, AppDeauthorized, Deposited, FundsSettled, Withdrawn };
7
7
  }
8
8
  declare const AccountCreated: MoveStruct<{
9
- account_id: _mysten_sui_bcs440.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
- wrapper_id: _mysten_sui_bcs440.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
- owner: _mysten_sui_bcs440.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
12
- self_owned: _mysten_sui_bcs440.BcsType<boolean, boolean, "bool">;
13
- referrer_account_id: _mysten_sui_bcs440.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
9
+ account_id: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
+ wrapper_id: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ owner: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
12
+ self_owned: _mysten_sui_bcs0.BcsType<boolean, boolean, "bool">;
13
+ referrer_account_id: _mysten_sui_bcs0.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
14
14
  }, "@local-pkg/account::account_events::AccountCreated">;
15
15
  declare const AppAuthorized: MoveStruct<{
16
- /** Fully-qualified `App` witness type name. */app: _mysten_sui_bcs440.BcsType<string, string, "string">;
16
+ /** Fully-qualified `App` witness type name. */app: _mysten_sui_bcs0.BcsType<string, string, "string">;
17
17
  }, "@local-pkg/account::account_events::AppAuthorized">;
18
18
  declare const AppDeauthorized: MoveStruct<{
19
- app: _mysten_sui_bcs440.BcsType<string, string, "string">;
19
+ app: _mysten_sui_bcs0.BcsType<string, string, "string">;
20
20
  }, "@local-pkg/account::account_events::AppDeauthorized">;
21
21
  declare const Deposited: MoveStruct<{
22
- account_id: _mysten_sui_bcs440.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
23
- coin_type: _mysten_sui_bcs440.BcsType<string, string, "string">;
24
- amount: _mysten_sui_bcs440.BcsType<bigint, string | number | bigint, "u64">;
25
- new_balance: _mysten_sui_bcs440.BcsType<bigint, string | number | bigint, "u64">;
22
+ account_id: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
23
+ coin_type: _mysten_sui_bcs0.BcsType<string, string, "string">;
24
+ amount: _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">;
25
+ new_balance: _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">;
26
26
  }, "@local-pkg/account::account_events::Deposited">;
27
27
  declare const Withdrawn: MoveStruct<{
28
- account_id: _mysten_sui_bcs440.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
29
- coin_type: _mysten_sui_bcs440.BcsType<string, string, "string">;
30
- amount: _mysten_sui_bcs440.BcsType<bigint, string | number | bigint, "u64">;
31
- new_balance: _mysten_sui_bcs440.BcsType<bigint, string | number | bigint, "u64">;
28
+ account_id: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
29
+ coin_type: _mysten_sui_bcs0.BcsType<string, string, "string">;
30
+ amount: _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">;
31
+ new_balance: _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">;
32
32
  }, "@local-pkg/account::account_events::Withdrawn">;
33
33
  declare const FundsSettled: MoveStruct<{
34
- account_id: _mysten_sui_bcs440.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
35
- coin_type: _mysten_sui_bcs440.BcsType<string, string, "string">;
36
- amount: _mysten_sui_bcs440.BcsType<bigint, string | number | bigint, "u64">;
37
- new_balance: _mysten_sui_bcs440.BcsType<bigint, string | number | bigint, "u64">;
34
+ account_id: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
35
+ coin_type: _mysten_sui_bcs0.BcsType<string, string, "string">;
36
+ amount: _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">;
37
+ new_balance: _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">;
38
38
  }, "@local-pkg/account::account_events::FundsSettled">;
39
39
  //#endregion
40
40
  export { account_events_d_exports };
@@ -1 +1 @@
1
- {"version":3,"file":"account_events.d.mts","names":[],"sources":["../../../src/contracts/account/account_events.ts"],"mappings":";;;;;;;cAca,cAAA,EAAc,UAAA;;;;;;;cAUd,aAAA,EAAa,UAAA;sDAMxB,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,eAAA,EAAe,UAAA;OAK1B,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,SAAA,EAAS,UAAA;;;;;;cAST,SAAA,EAAS,UAAA;;;;;;cAST,YAAA,EAAY,UAAA"}
1
+ {"version":3,"file":"account_events.d.mts","names":[],"sources":["../../../src/contracts/account/account_events.ts"],"mappings":";;;;;;;cAca,cAAA,EAAc,UAAA;;;;;;;cAUd,aAAA,EAAa,UAAA;sDAMxB,gBAAA,CAAA,OAAA;AAAA;AAAA,cACW,eAAA,EAAe,UAAA;OAK1B,gBAAA,CAAA,OAAA;AAAA;AAAA,cACW,SAAA,EAAS,UAAA;;;;;;cAST,SAAA,EAAS,UAAA;;;;;;cAST,YAAA,EAAY,UAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ConfigValue, MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs462 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs461 from "@mysten/sui/bcs";
3
3
  import * as _mysten_sui_transactions274 from "@mysten/sui/transactions";
4
4
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
5
5
 
@@ -8,14 +8,14 @@ declare namespace account_registry_d_exports {
8
8
  export { AccountAdminCap, AccountKey, AccountRegistry, AccountWrapperKey, AppKey, AssertAppIsAuthorizedArguments, AssertAppIsAuthorizedOptions, AuthorizeAppArguments, AuthorizeAppOptions, DeauthorizeAppArguments, DeauthorizeAppOptions, DerivedAddressArguments, DerivedAddressOptions, DerivedExistsArguments, DerivedExistsOptions, DerivedWrapperAddressArguments, DerivedWrapperAddressOptions, DerivedWrapperExistsArguments, DerivedWrapperExistsOptions, GenerateAuthAsAppArguments, GenerateAuthAsAppOptions, IsAppAuthorizedArguments, IsAppAuthorizedOptions, NewArguments, NewOptions, NewSelfOwnedArguments, NewSelfOwnedOptions, NewWithReferrerArguments, NewWithReferrerOptions, _new, assertAppIsAuthorized, authorizeApp, deauthorizeApp, derivedAddress, derivedExists, derivedWrapperAddress, derivedWrapperExists, generateAuthAsApp, isAppAuthorized, newSelfOwned, newWithReferrer };
9
9
  }
10
10
  declare const AccountAdminCap: MoveStruct<{
11
- id: _mysten_sui_bcs462.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ id: _mysten_sui_bcs461.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
12
12
  }, "@local-pkg/account::account_registry::AccountAdminCap">;
13
13
  declare const AccountRegistry: MoveStruct<{
14
- id: _mysten_sui_bcs462.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
14
+ id: _mysten_sui_bcs461.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
15
15
  }, "@local-pkg/account::account_registry::AccountRegistry">;
16
- declare const AccountKey: MoveTuple<readonly [_mysten_sui_bcs462.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountKey">;
17
- declare const AccountWrapperKey: MoveTuple<readonly [_mysten_sui_bcs462.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountWrapperKey">;
18
- declare const AppKey: MoveTuple<readonly [_mysten_sui_bcs462.BcsType<boolean, boolean, "bool">], "@local-pkg/account::account_registry::AppKey<phantom App>">;
16
+ declare const AccountKey: MoveTuple<readonly [_mysten_sui_bcs461.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountKey">;
17
+ declare const AccountWrapperKey: MoveTuple<readonly [_mysten_sui_bcs461.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountWrapperKey">;
18
+ declare const AppKey: MoveTuple<readonly [_mysten_sui_bcs461.BcsType<boolean, boolean, "bool">], "@local-pkg/account::account_registry::AppKey<phantom App>">;
19
19
  interface DerivedAddressArguments {
20
20
  registry?: RawTransactionArgument<string>;
21
21
  owner: RawTransactionArgument<string>;
@@ -1,35 +1,35 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs475 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs480 from "@mysten/sui/bcs";
3
3
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
4
4
 
5
5
  //#region src/contracts/deepbook/account.d.ts
6
6
  declare const Account: MoveStruct<{
7
- epoch: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
7
+ epoch: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
8
8
  open_orders: MoveStruct<{
9
- contents: _mysten_sui_bcs475.BcsType<string[], Iterable<string | number | bigint> & {
9
+ contents: _mysten_sui_bcs480.BcsType<string[], Iterable<string | number | bigint> & {
10
10
  length: number;
11
11
  }, string>;
12
12
  }, "0x2::vec_set::VecSet<u128>">;
13
- taker_volume: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u128">;
14
- maker_volume: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u128">;
15
- active_stake: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
16
- inactive_stake: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
17
- created_proposal: _mysten_sui_bcs475.BcsType<boolean, boolean, "bool">;
18
- voted_proposal: _mysten_sui_bcs475.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
13
+ taker_volume: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u128">;
14
+ maker_volume: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u128">;
15
+ active_stake: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
16
+ inactive_stake: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
17
+ created_proposal: _mysten_sui_bcs480.BcsType<boolean, boolean, "bool">;
18
+ voted_proposal: _mysten_sui_bcs480.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
19
19
  unclaimed_rebates: MoveStruct<{
20
- base: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
21
- quote: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
22
- deep: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
20
+ base: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
21
+ quote: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
22
+ deep: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
23
23
  }, "@deepbook/core::balances::Balances">;
24
24
  settled_balances: MoveStruct<{
25
- base: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
26
- quote: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
27
- deep: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
25
+ base: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
26
+ quote: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
27
+ deep: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
28
28
  }, "@deepbook/core::balances::Balances">;
29
29
  owed_balances: MoveStruct<{
30
- base: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
31
- quote: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
32
- deep: _mysten_sui_bcs475.BcsType<string, string | number | bigint, "u64">;
30
+ base: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
31
+ quote: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
32
+ deep: _mysten_sui_bcs480.BcsType<string, string | number | bigint, "u64">;
33
33
  }, "@deepbook/core::balances::Balances">;
34
34
  }, "@deepbook/core::account::Account">;
35
35
  //#endregion
@@ -1,11 +1,11 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs492 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs477 from "@mysten/sui/bcs";
3
3
 
4
4
  //#region src/contracts/deepbook/balances.d.ts
5
5
  declare const Balances: MoveStruct<{
6
- base: _mysten_sui_bcs492.BcsType<string, string | number | bigint, "u64">;
7
- quote: _mysten_sui_bcs492.BcsType<string, string | number | bigint, "u64">;
8
- deep: _mysten_sui_bcs492.BcsType<string, string | number | bigint, "u64">;
6
+ base: _mysten_sui_bcs477.BcsType<string, string | number | bigint, "u64">;
7
+ quote: _mysten_sui_bcs477.BcsType<string, string | number | bigint, "u64">;
8
+ deep: _mysten_sui_bcs477.BcsType<string, string | number | bigint, "u64">;
9
9
  }, "@deepbook/core::balances::Balances">;
10
10
  //#endregion
11
11
  export { Balances };
@@ -1,11 +1,11 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs495 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs497 from "@mysten/sui/bcs";
3
3
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
4
4
 
5
5
  //#region src/contracts/deepbook/deep_price.d.ts
6
6
  declare const OrderDeepPrice: MoveStruct<{
7
- asset_is_base: _mysten_sui_bcs495.BcsType<boolean, boolean, "bool">;
8
- deep_per_asset: _mysten_sui_bcs495.BcsType<string, string | number | bigint, "u64">;
7
+ asset_is_base: _mysten_sui_bcs497.BcsType<boolean, boolean, "bool">;
8
+ deep_per_asset: _mysten_sui_bcs497.BcsType<string, string | number | bigint, "u64">;
9
9
  }, "@deepbook/core::deep_price::OrderDeepPrice">;
10
10
  //#endregion
11
11
  export { OrderDeepPrice };
@@ -1,22 +1,22 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs508 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs510 from "@mysten/sui/bcs";
3
3
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
4
4
 
5
5
  //#region src/contracts/deepbook/order.d.ts
6
6
  declare const Order: MoveStruct<{
7
- balance_manager_id: _mysten_sui_bcs508.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
8
- order_id: _mysten_sui_bcs508.BcsType<string, string | number | bigint, "u128">;
9
- client_order_id: _mysten_sui_bcs508.BcsType<string, string | number | bigint, "u64">;
10
- quantity: _mysten_sui_bcs508.BcsType<string, string | number | bigint, "u64">;
11
- filled_quantity: _mysten_sui_bcs508.BcsType<string, string | number | bigint, "u64">;
12
- fee_is_deep: _mysten_sui_bcs508.BcsType<boolean, boolean, "bool">;
7
+ balance_manager_id: _mysten_sui_bcs510.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
8
+ order_id: _mysten_sui_bcs510.BcsType<string, string | number | bigint, "u128">;
9
+ client_order_id: _mysten_sui_bcs510.BcsType<string, string | number | bigint, "u64">;
10
+ quantity: _mysten_sui_bcs510.BcsType<string, string | number | bigint, "u64">;
11
+ filled_quantity: _mysten_sui_bcs510.BcsType<string, string | number | bigint, "u64">;
12
+ fee_is_deep: _mysten_sui_bcs510.BcsType<boolean, boolean, "bool">;
13
13
  order_deep_price: MoveStruct<{
14
- asset_is_base: _mysten_sui_bcs508.BcsType<boolean, boolean, "bool">;
15
- deep_per_asset: _mysten_sui_bcs508.BcsType<string, string | number | bigint, "u64">;
14
+ asset_is_base: _mysten_sui_bcs510.BcsType<boolean, boolean, "bool">;
15
+ deep_per_asset: _mysten_sui_bcs510.BcsType<string, string | number | bigint, "u64">;
16
16
  }, "@deepbook/core::deep_price::OrderDeepPrice">;
17
- epoch: _mysten_sui_bcs508.BcsType<string, string | number | bigint, "u64">;
18
- status: _mysten_sui_bcs508.BcsType<number, number, "u8">;
19
- expire_timestamp: _mysten_sui_bcs508.BcsType<string, string | number | bigint, "u64">;
17
+ epoch: _mysten_sui_bcs510.BcsType<string, string | number | bigint, "u64">;
18
+ status: _mysten_sui_bcs510.BcsType<number, number, "u8">;
19
+ expire_timestamp: _mysten_sui_bcs510.BcsType<string, string | number | bigint, "u64">;
20
20
  }, "@deepbook/core::order::Order">;
21
21
  //#endregion
22
22
  export { Order };
@@ -1,6 +1,6 @@
1
1
  import { MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs4 from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions4 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_bcs18 from "@mysten/sui/bcs";
3
+ import * as _mysten_sui_transactions106 from "@mysten/sui/transactions";
4
4
  import { Transaction } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/contracts/deepbook_predict/admin.d.ts
@@ -8,7 +8,7 @@ declare namespace admin_d_exports {
8
8
  export { AdminCap, IdArguments, IdOptions, id };
9
9
  }
10
10
  declare const AdminCap: MoveStruct<{
11
- id: _mysten_sui_bcs4.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ id: _mysten_sui_bcs18.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
12
12
  }, "@local-pkg/deepbook_predict::admin::AdminCap">;
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 for administration tooling and object discovery. */
24
- declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions4.TransactionResult;
24
+ declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions106.TransactionResult;
25
25
  //#endregion
26
26
  export { admin_d_exports };
27
27
  //# sourceMappingURL=admin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/admin.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,yBAAA,CAAA,iBAAA"}
1
+ {"version":3,"file":"admin.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/admin.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"}
@@ -1,17 +1,17 @@
1
1
  import { MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs0 from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions0 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_bcs19 from "@mysten/sui/bcs";
3
+ import * as _mysten_sui_transactions107 from "@mysten/sui/transactions";
4
4
  import { Transaction } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/contracts/deepbook_predict/builder_code.d.ts
7
7
  declare namespace builder_code_d_exports {
8
8
  export { BuilderCode, BuilderCodeKey, ClaimAllBuilderFeesArguments, ClaimAllBuilderFeesOptions, ClaimableBuilderFeesArguments, ClaimableBuilderFeesOptions, IdArguments, IdOptions, IndexArguments, IndexOptions, OwnerArguments, OwnerOptions, claimAllBuilderFees, claimableBuilderFees, id, index, owner };
9
9
  }
10
- declare const BuilderCodeKey: MoveTuple<readonly [_mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">, _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">], "@local-pkg/deepbook_predict::builder_code::BuilderCodeKey">;
10
+ declare const BuilderCodeKey: MoveTuple<readonly [_mysten_sui_bcs19.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">, _mysten_sui_bcs19.BcsType<bigint, string | number | bigint, "u64">], "@local-pkg/deepbook_predict::builder_code::BuilderCodeKey">;
11
11
  declare const BuilderCode: MoveStruct<{
12
- id: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
13
- owner: _mysten_sui_bcs0.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
14
- index: _mysten_sui_bcs0.BcsType<bigint, string | number | bigint, "u64">;
12
+ id: _mysten_sui_bcs19.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
13
+ owner: _mysten_sui_bcs19.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
14
+ index: _mysten_sui_bcs19.BcsType<bigint, string | number | bigint, "u64">;
15
15
  }, "@local-pkg/deepbook_predict::builder_code::BuilderCode">;
16
16
  interface IdArguments {
17
17
  code: RawTransactionArgument<string>;
@@ -24,7 +24,7 @@ interface IdOptions {
24
24
  };
25
25
  }
26
26
  /** Returns the code identity for trade construction and external discovery. */
27
- declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions0.TransactionResult;
27
+ declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions107.TransactionResult;
28
28
  interface OwnerArguments {
29
29
  code: RawTransactionArgument<string>;
30
30
  }
@@ -36,7 +36,7 @@ interface OwnerOptions {
36
36
  };
37
37
  }
38
38
  /** Returns the immutable owner authorized to claim fees. */
39
- declare function owner(options: OwnerOptions): (tx: Transaction) => _mysten_sui_transactions0.TransactionResult;
39
+ declare function owner(options: OwnerOptions): (tx: Transaction) => _mysten_sui_transactions107.TransactionResult;
40
40
  interface IndexArguments {
41
41
  code: RawTransactionArgument<string>;
42
42
  }
@@ -48,7 +48,7 @@ interface IndexOptions {
48
48
  };
49
49
  }
50
50
  /** Returns the owner-selected derivation index for external discovery. */
51
- declare function index(options: IndexOptions): (tx: Transaction) => _mysten_sui_transactions0.TransactionResult;
51
+ declare function index(options: IndexOptions): (tx: Transaction) => _mysten_sui_transactions107.TransactionResult;
52
52
  interface ClaimableBuilderFeesArguments {
53
53
  code: RawTransactionArgument<string>;
54
54
  }
@@ -60,7 +60,7 @@ interface ClaimableBuilderFeesOptions {
60
60
  };
61
61
  }
62
62
  /** Return visible USDC builder fees for SDK and devInspect reads. */
63
- declare function claimableBuilderFees(options: ClaimableBuilderFeesOptions): (tx: Transaction) => _mysten_sui_transactions0.TransactionResult;
63
+ declare function claimableBuilderFees(options: ClaimableBuilderFeesOptions): (tx: Transaction) => _mysten_sui_transactions107.TransactionResult;
64
64
  interface ClaimAllBuilderFeesArguments {
65
65
  code: RawTransactionArgument<string>;
66
66
  }
@@ -75,7 +75,7 @@ interface ClaimAllBuilderFeesOptions {
75
75
  * Claims all settled USDC builder fees for the immutable owner; an empty
76
76
  * accumulator returns a zero coin.
77
77
  */
78
- declare function claimAllBuilderFees(options: ClaimAllBuilderFeesOptions): (tx: Transaction) => _mysten_sui_transactions0.TransactionResult;
78
+ declare function claimAllBuilderFees(options: ClaimAllBuilderFeesOptions): (tx: Transaction) => _mysten_sui_transactions107.TransactionResult;
79
79
  //#endregion
80
80
  export { builder_code_d_exports };
81
81
  //# sourceMappingURL=builder_code.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"builder_code.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/builder_code.ts"],"mappings":";;;;;;;;;cAoBa,cAAA,EAAc,SAAA,WAAA,gBAAA,CAAA,OAAA,kBAAA,UAAA,CAAA,eAAA,iBAAA,gBAAA,CAAA,OAAA;AAAA,cAId,WAAA,EAAW,UAAA;;;;;UAQP,WAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,SAAA;EAChB,OAAA;EACA,SAAA,EAAW,WAAA,IAAe,IAAA,EAAM,sBAAA;EAChC,MAAA;IACC,gBAAA;EAAA;AAAA;AAnBF;AAAA,iBAuBgB,EAAA,CAAG,OAAA,EAAS,SAAA,IAKnB,EAAA,EAAI,WAAA,KAAW,yBAAA,CAAA,iBAAA;AAAA,UAQP,cAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,YAAA;EAChB,OAAA;EACA,SAAA,EAAW,cAAA,IAAkB,IAAA,EAAM,sBAAA;EACnC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,KAAA,CAAM,OAAA,EAAS,YAAA,IAKtB,EAAA,EAAI,WAAA,KAAW,yBAAA,CAAA,iBAAA;AAAA,UAQP,cAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,YAAA;EAChB,OAAA;EACA,SAAA,EAAW,cAAA,IAAkB,IAAA,EAAM,sBAAA;EACnC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,KAAA,CAAM,OAAA,EAAS,YAAA,IAKtB,EAAA,EAAI,WAAA,KAAW,yBAAA,CAAA,iBAAA;AAAA,UAQP,6BAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,2BAAA;EAChB,OAAA;EACA,SAAA,EAAW,6BAAA,IAAiC,IAAA,EAAM,sBAAA;EAClD,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,oBAAA,CAAqB,OAAA,EAAS,2BAAA,IAKrC,EAAA,EAAI,WAAA,KAAW,yBAAA,CAAA,iBAAA;AAAA,UAQP,4BAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,0BAAA;EAChB,OAAA;EACA,SAAA,EAAW,4BAAA,IAAgC,IAAA,EAAM,sBAAA;EACjD,MAAA;IACC,gBAAA;EAAA;AAAA;AApGF;;;;AAAA,iBA2GgB,mBAAA,CAAoB,OAAA,EAAS,0BAAA,IAKpC,EAAA,EAAI,WAAA,KAAW,yBAAA,CAAA,iBAAA"}
1
+ {"version":3,"file":"builder_code.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/builder_code.ts"],"mappings":";;;;;;;;;cAoBa,cAAA,EAAc,SAAA,WAAA,iBAAA,CAAA,OAAA,kBAAA,UAAA,CAAA,eAAA,iBAAA,iBAAA,CAAA,OAAA;AAAA,cAId,WAAA,EAAW,UAAA;;;;;UAQP,WAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,SAAA;EAChB,OAAA;EACA,SAAA,EAAW,WAAA,IAAe,IAAA,EAAM,sBAAA;EAChC,MAAA;IACC,gBAAA;EAAA;AAAA;AAnBF;AAAA,iBAuBgB,EAAA,CAAG,OAAA,EAAS,SAAA,IAKnB,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA;AAAA,UAQP,cAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,YAAA;EAChB,OAAA;EACA,SAAA,EAAW,cAAA,IAAkB,IAAA,EAAM,sBAAA;EACnC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,KAAA,CAAM,OAAA,EAAS,YAAA,IAKtB,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA;AAAA,UAQP,cAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,YAAA;EAChB,OAAA;EACA,SAAA,EAAW,cAAA,IAAkB,IAAA,EAAM,sBAAA;EACnC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,KAAA,CAAM,OAAA,EAAS,YAAA,IAKtB,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA;AAAA,UAQP,6BAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,2BAAA;EAChB,OAAA;EACA,SAAA,EAAW,6BAAA,IAAiC,IAAA,EAAM,sBAAA;EAClD,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,oBAAA,CAAqB,OAAA,EAAS,2BAAA,IAKrC,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA;AAAA,UAQP,4BAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,0BAAA;EAChB,OAAA;EACA,SAAA,EAAW,4BAAA,IAAgC,IAAA,EAAM,sBAAA;EACjD,MAAA;IACC,gBAAA;EAAA;AAAA;AApGF;;;;AAAA,iBA2GgB,mBAAA,CAAoB,OAAA,EAAS,0BAAA,IAKpC,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA"}
@@ -1,24 +1,24 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs204 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs233 from "@mysten/sui/bcs";
3
3
 
4
4
  //#region src/contracts/deepbook_predict/builder_code_events.d.ts
5
5
  declare namespace builder_code_events_d_exports {
6
6
  export { BuilderCodeCreated, BuilderCodeSet, BuilderFeesClaimed };
7
7
  }
8
8
  declare const BuilderCodeCreated: MoveStruct<{
9
- builder_code_id: _mysten_sui_bcs204.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
- owner: _mysten_sui_bcs204.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
- builder_code_index: _mysten_sui_bcs204.BcsType<bigint, string | number | bigint, "u64">;
9
+ builder_code_id: _mysten_sui_bcs233.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
+ owner: _mysten_sui_bcs233.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ builder_code_index: _mysten_sui_bcs233.BcsType<bigint, string | number | bigint, "u64">;
12
12
  }, "@local-pkg/deepbook_predict::builder_code_events::BuilderCodeCreated">;
13
13
  declare const BuilderCodeSet: MoveStruct<{
14
- account_id: _mysten_sui_bcs204.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
15
- owner: _mysten_sui_bcs204.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
16
- builder_code_id: _mysten_sui_bcs204.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
14
+ account_id: _mysten_sui_bcs233.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
15
+ owner: _mysten_sui_bcs233.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
16
+ builder_code_id: _mysten_sui_bcs233.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
17
17
  }, "@local-pkg/deepbook_predict::builder_code_events::BuilderCodeSet">;
18
18
  declare const BuilderFeesClaimed: MoveStruct<{
19
- builder_code_id: _mysten_sui_bcs204.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
20
- owner: _mysten_sui_bcs204.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
21
- amount: _mysten_sui_bcs204.BcsType<bigint, string | number | bigint, "u64">;
19
+ builder_code_id: _mysten_sui_bcs233.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
20
+ owner: _mysten_sui_bcs233.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
21
+ amount: _mysten_sui_bcs233.BcsType<bigint, string | number | bigint, "u64">;
22
22
  }, "@local-pkg/deepbook_predict::builder_code_events::BuilderFeesClaimed">;
23
23
  //#endregion
24
24
  export { builder_code_events_d_exports };
@@ -1,103 +1,103 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs213 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs242 from "@mysten/sui/bcs";
3
3
 
4
4
  //#region src/contracts/deepbook_predict/config_events.d.ts
5
5
  declare namespace config_events_d_exports {
6
6
  export { CadenceConfigUpdated, EwmaConfigUpdated, ExpiryMarketMintPausedUpdated, MarketCreated, MarketSettled, NoTradeWindowUpdated, PlpFeeRatesUpdated, PricingConfigUpdated, ProtocolFrozenUpdated, ReferenceTickSet, StrikeExposureTemplateConfigUpdated, TradingPausedUpdated };
7
7
  }
8
8
  declare const StrikeExposureTemplateConfigUpdated: MoveStruct<{
9
- backing_buffer_lambda: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
10
- base_fee: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
11
- min_fee: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
12
- min_entry_probability: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
13
- max_entry_probability: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
14
- expiry_fee_window_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
15
- expiry_fee_max_multiplier: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
16
- inventory_impact_max_rate: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
17
- onchain_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
9
+ backing_buffer_lambda: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
10
+ base_fee: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
11
+ min_fee: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
12
+ min_entry_probability: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
13
+ max_entry_probability: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
14
+ expiry_fee_window_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
15
+ expiry_fee_max_multiplier: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
16
+ inventory_impact_max_rate: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
17
+ onchain_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
18
18
  }, "@local-pkg/deepbook_predict::config_events::StrikeExposureTemplateConfigUpdated">;
19
19
  declare const PricingConfigUpdated: MoveStruct<{
20
- use_pyth_spot_for_forward: _mysten_sui_bcs213.BcsType<boolean, boolean, "bool">;
21
- pyth_spot_freshness_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
22
- block_scholes_price_freshness_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
23
- block_scholes_svi_freshness_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
24
- onchain_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
20
+ use_pyth_spot_for_forward: _mysten_sui_bcs242.BcsType<boolean, boolean, "bool">;
21
+ pyth_spot_freshness_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
22
+ block_scholes_price_freshness_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
23
+ block_scholes_svi_freshness_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
24
+ onchain_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
25
25
  }, "@local-pkg/deepbook_predict::config_events::PricingConfigUpdated">;
26
26
  declare const EwmaConfigUpdated: MoveStruct<{
27
- alpha: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
28
- z_score_threshold: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
29
- penalty_rate: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
30
- enabled: _mysten_sui_bcs213.BcsType<boolean, boolean, "bool">;
31
- onchain_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
27
+ alpha: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
28
+ z_score_threshold: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
29
+ penalty_rate: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
30
+ enabled: _mysten_sui_bcs242.BcsType<boolean, boolean, "bool">;
31
+ onchain_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
32
32
  }, "@local-pkg/deepbook_predict::config_events::EwmaConfigUpdated">;
33
33
  declare const PlpFeeRatesUpdated: MoveStruct<{
34
- plp_supply_fee_rate: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
35
- plp_withdraw_fee_rate: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
36
- onchain_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
34
+ plp_supply_fee_rate: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
35
+ plp_withdraw_fee_rate: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
36
+ onchain_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
37
37
  }, "@local-pkg/deepbook_predict::config_events::PlpFeeRatesUpdated">;
38
38
  declare const NoTradeWindowUpdated: MoveStruct<{
39
- no_trade_window_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
40
- onchain_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
39
+ no_trade_window_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
40
+ onchain_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
41
41
  }, "@local-pkg/deepbook_predict::config_events::NoTradeWindowUpdated">;
42
42
  declare const TradingPausedUpdated: MoveStruct<{
43
- protocol_config_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
44
- paused: _mysten_sui_bcs213.BcsType<boolean, boolean, "bool">;
43
+ protocol_config_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
44
+ paused: _mysten_sui_bcs242.BcsType<boolean, boolean, "bool">;
45
45
  }, "@local-pkg/deepbook_predict::config_events::TradingPausedUpdated">;
46
46
  declare const ProtocolFrozenUpdated: MoveStruct<{
47
- protocol_config_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
48
- frozen: _mysten_sui_bcs213.BcsType<boolean, boolean, "bool">;
47
+ protocol_config_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
48
+ frozen: _mysten_sui_bcs242.BcsType<boolean, boolean, "bool">;
49
49
  }, "@local-pkg/deepbook_predict::config_events::ProtocolFrozenUpdated">;
50
50
  declare const MarketCreated: MoveStruct<{
51
- expiry_market_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
52
- pool_vault_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">; /** Propbook underlying this market resolves current oracle bindings through. */
53
- propbook_underlying_id: _mysten_sui_bcs213.BcsType<number, number, "u32">;
54
- expiry: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
51
+ expiry_market_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
52
+ pool_vault_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">; /** Propbook underlying this market resolves current oracle bindings through. */
53
+ propbook_underlying_id: _mysten_sui_bcs242.BcsType<number, number, "u32">;
54
+ expiry: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
55
55
  /**
56
56
  * Raw-price-per-tick factor; indexers/SDKs derive raw strikes as
57
57
  * `tick * tick_size`.
58
58
  */
59
- tick_size: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">; /** Coarser raw-price step that new finite mint boundaries must align to. */
60
- admission_tick_size: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">; /** USDC pool allocation cap snapshotted for this expiry. */
61
- max_expiry_allocation: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">; /** Minimum USDC cash target snapshotted for this expiry. */
62
- initial_expiry_cash: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
63
- backing_buffer_lambda: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
64
- base_fee: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
65
- min_fee: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
66
- min_entry_probability: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
67
- max_entry_probability: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
68
- expiry_fee_window_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
69
- expiry_fee_max_multiplier: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">; /** Maximum marginal inventory-impact rate snapshotted by this market. */
70
- inventory_impact_max_rate: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
59
+ tick_size: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">; /** Coarser raw-price step that new finite mint boundaries must align to. */
60
+ admission_tick_size: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">; /** USDC pool allocation cap snapshotted for this expiry. */
61
+ max_expiry_allocation: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">; /** Minimum USDC cash target snapshotted for this expiry. */
62
+ initial_expiry_cash: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
63
+ backing_buffer_lambda: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
64
+ base_fee: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
65
+ min_fee: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
66
+ min_entry_probability: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
67
+ max_entry_probability: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
68
+ expiry_fee_window_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
69
+ expiry_fee_max_multiplier: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">; /** Maximum marginal inventory-impact rate snapshotted by this market. */
70
+ inventory_impact_max_rate: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
71
71
  }, "@local-pkg/deepbook_predict::config_events::MarketCreated">;
72
72
  declare const CadenceConfigUpdated: MoveStruct<{
73
- registry_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
74
- propbook_underlying_id: _mysten_sui_bcs213.BcsType<number, number, "u32">;
75
- cadence_id: _mysten_sui_bcs213.BcsType<number, number, "u8">;
76
- tick_size: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
77
- admission_tick_size: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
78
- max_expiry_allocation: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
79
- initial_expiry_cash: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
80
- window_size: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
73
+ registry_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
74
+ propbook_underlying_id: _mysten_sui_bcs242.BcsType<number, number, "u32">;
75
+ cadence_id: _mysten_sui_bcs242.BcsType<number, number, "u8">;
76
+ tick_size: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
77
+ admission_tick_size: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
78
+ max_expiry_allocation: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
79
+ initial_expiry_cash: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
80
+ window_size: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
81
81
  }, "@local-pkg/deepbook_predict::config_events::CadenceConfigUpdated">;
82
82
  declare const ExpiryMarketMintPausedUpdated: MoveStruct<{
83
- expiry_market_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
84
- paused: _mysten_sui_bcs213.BcsType<boolean, boolean, "bool">;
83
+ expiry_market_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
84
+ paused: _mysten_sui_bcs242.BcsType<boolean, boolean, "bool">;
85
85
  }, "@local-pkg/deepbook_predict::config_events::ExpiryMarketMintPausedUpdated">;
86
86
  declare const ReferenceTickSet: MoveStruct<{
87
- expiry_market_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
88
- propbook_underlying_id: _mysten_sui_bcs213.BcsType<number, number, "u32">;
89
- source_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
90
- spot: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
91
- tick: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
92
- onchain_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
87
+ expiry_market_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
88
+ propbook_underlying_id: _mysten_sui_bcs242.BcsType<number, number, "u32">;
89
+ source_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
90
+ spot: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
91
+ tick: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
92
+ onchain_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
93
93
  }, "@local-pkg/deepbook_predict::config_events::ReferenceTickSet">;
94
94
  declare const MarketSettled: MoveStruct<{
95
- expiry_market_id: _mysten_sui_bcs213.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
96
- propbook_underlying_id: _mysten_sui_bcs213.BcsType<number, number, "u32">;
97
- expiry: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
98
- settlement_price: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">; /** `0` = Pyth and `1` = Block Scholes. */
99
- settlement_source: _mysten_sui_bcs213.BcsType<number, number, "u8">; /** On-chain landing time of the settlement, `clock.timestamp_ms()`. */
100
- onchain_timestamp_ms: _mysten_sui_bcs213.BcsType<bigint, string | number | bigint, "u64">;
95
+ expiry_market_id: _mysten_sui_bcs242.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
96
+ propbook_underlying_id: _mysten_sui_bcs242.BcsType<number, number, "u32">;
97
+ expiry: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
98
+ settlement_price: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">; /** `0` = Pyth and `1` = Block Scholes. */
99
+ settlement_source: _mysten_sui_bcs242.BcsType<number, number, "u8">; /** On-chain landing time of the settlement, `clock.timestamp_ms()`. */
100
+ onchain_timestamp_ms: _mysten_sui_bcs242.BcsType<bigint, string | number | bigint, "u64">;
101
101
  }, "@local-pkg/deepbook_predict::config_events::MarketSettled">;
102
102
  //#endregion
103
103
  export { config_events_d_exports };