@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # @mysten/deepbook-v3
2
2
 
3
+ ## 2.8.2
4
+
5
+ ## 2.8.1
6
+
7
+ ### Patch Changes
8
+
9
+ - 9a31750: Point the Testnet Predict config at the packages relinked to Propbook v2: Predict v6,
10
+ `deepbook_predict_orders` v2 (with `predictOrdersV1` keeping its v1 original ID for event types),
11
+ `deepbook_predict_math` v2 and Sessions v4. Mainnet is unchanged.
12
+
13
+ ## 2.8.0
14
+
15
+ ### Minor Changes
16
+
17
+ - 84b81a4: Record the Mainnet Predict v4 rollout (delayed execution) in the Mainnet config. Mainnet
18
+ Predict trading moves to queued orders, as Testnet did in 2.7.0.
19
+
20
+ - Predict: `0x08fa3ef1…ee53` (v3) →
21
+ `0x98235c5842831c9b5f51dc637cf34c91db2aca5510802eb6ebfec63f5b71a7bb` (v4), which is also
22
+ `packages.predictDelayedExecution`
23
+ - `deepbook_predict_orders`: `0x7cd41de311f8f3efb2c239b38773a4010fce3bef0120cd55f479843077c98903`
24
+ (v1), with its `OrderDesk` `0x87b0a87262aacf58eaff567eed2fb7cb0f9cbc1f5ce33ef79216cd26d13a1b5b`
25
+ and `QueueRegistry` `0x8d4f0c671862f065ac7f2c2cb24abc47cf75ed8fc8e5e52c1d4bdfa53eee164f`
26
+ - `deepbook_predict_math`: `0x19262d18a3ce9f1c304defbacc89f36585152acde73e626231200d10617fb9a7`
27
+ (v1)
28
+ - Pyth Lazer `State`: `0xd0db9c1e9212a98120384bf78d8b8c985d87b9ee6921dffcf9d1394062911573`
29
+ - Sessions: `0xec678aee…0a1a` (v2) →
30
+ `0xfd9ef53ca443517d6a3a4d8742e00eaa1e7f35b0997697caab8c3e62870c0ce5` (v3)
31
+
32
+ `predictV1` and `sessionsPackageIdV1` keep the original IDs.
33
+
34
+ **Move every Mainnet session client to this release before the cutover, spot included.** The
35
+ Mainnet cutover transaction raises the Sessions version watermark to 3. From then on, every call
36
+ into Sessions v1 or v2 aborts with `session_config::EPackageVersionDisabled`. That includes spot
37
+ session-key trading (`sessionsMoveCalls.placeLimitOrder`, `placeMarketOrder`, `cancelLiveOrder`,
38
+ `cancelLiveOrders` and `withdrawSettledAmounts`), `authorizeSession` and the Predict wrappers.
39
+ Older releases call v2. This release calls v3 for every Sessions builder: the `SessionsContract`
40
+ wrappers, and the `sessionsMoveCalls` builders given `getSessionsConfig('mainnet')`. v3 is a
41
+ compatible upgrade, so the spot builders' arguments are unchanged. Only `revokeSession` and
42
+ `sessionExpirationMs` aren't version-gated, so they keep working on every version. Queued Predict
43
+ orders through a session key need v3 too, because the `enqueue*` wrappers exist only there.
44
+
45
+ **Migrate off the immediate trades.** The Mainnet call target is now Predict v4, which always
46
+ aborts them with `EDelayedExecutionRequired`. On Mainnet, `tx.mint`, `tx.mintAmount`,
47
+ `tx.mintCost`, `tx.redeem` and `read.quoteRedeem` stop working, and so do the `SessionsContract`
48
+ wrappers `mintExactQuantity`, `mintExactAmount`, `mintExactCost` and `redeemLive`. Place orders
49
+ with `tx.enqueueMint`, `tx.enqueueMintAmount`, `tx.enqueueMintCost` and `tx.enqueueSell`, or with
50
+ `read.planMint` / `read.planSell` and `tx.enqueuePlan`. Follow each order with `read.order` or
51
+ `read.waitForOutcome`. Session keys use the `SessionsContract` `enqueue*` wrappers.
52
+ `tx.claimSettled` is unchanged. Staying on an older release doesn't keep the immediate trades: the
53
+ cutover raises Predict's version watermark to 4, which retires the v3 package those releases call.
54
+
55
+ `getConfig('mainnet')` now turns on the queued-order surface. Until the cutover, neither path
56
+ trades on Mainnet. Trading is paused, `read.executionMode()` reads `'awaiting-cutover'` until
57
+ Mainnet's version watermark reaches 4, and Predict's admission refuses enqueues until then.
58
+
3
59
  ## 2.7.0
4
60
 
5
61
  ### Minor Changes
package/PREDICT.md CHANGED
@@ -107,10 +107,12 @@ one `MarketQueue`, at an ID derived from the package's single `QueueRegistry` an
107
107
  `deepbook_predict_math` holds the pure pricing math. Every queued-order call goes to
108
108
  `deepbook_predict_orders`, while a fill still emits Predict's `OrderMinted` or `LiveOrderRedeemed`.
109
109
 
110
- > The Testnet config records delayed execution. The Mainnet config doesn't until the Mainnet rollout
111
- > is synced, and until then the queued surface throws `PredictInputError` there. Pass a `config`
112
- > with `packages.predictDelayedExecution`, `packages.predictOrders`, `objects.orderDesk` and
113
- > `objects.queueRegistry` set (a localnet publish) to use it on a network without a record.
110
+ > Both the Testnet and Mainnet configs record delayed execution. On a network without a record the
111
+ > queued surface throws `PredictInputError`. Pass a `config` with
112
+ > `packages.predictDelayedExecution`, `packages.predictOrders`, `objects.orderDesk` and
113
+ > `objects.queueRegistry` set (a localnet publish) to use it there. Until a network's version
114
+ > watermark reaches 4, `read.executionMode()` returns `'awaiting-cutover'` and Predict's admission
115
+ > refuses enqueues.
114
116
 
115
117
  ```ts
116
118
  import { snapStrike } from '@mysten/deepbook-v3/predict';
@@ -326,8 +328,8 @@ the room from the model.
326
328
  enqueue into your own PTB (`queueTx.enqueueExactCost(toOrdersConfig(cfg), …)`), plus the keeper's
327
329
  `createQueue` (registry, desk and market), `commit`, `resolve`, `refund`, `adminRefund`,
328
330
  `settleStep`, `payOpen`, `claimParked` and `cleanup`. `SessionsContract` has the `enqueue*`
329
- session wrappers, which take the `orderDesk` and the `queueRegistry` and need Sessions v3. The
330
- Testnet `getSessionsConfig` records v3, and the Mainnet one doesn't until its rollout is synced.
331
+ session wrappers, which take the `orderDesk` and the `queueRegistry` and need Sessions v3, which
332
+ `getSessionsConfig` records on both networks.
331
333
 
332
334
  #### Queued orders from a session key
333
335
 
@@ -738,16 +740,19 @@ Move-call targets resolve from the config's package ids, so a deployment of your
738
740
  passing `config` — `predict({ network, config })` or
739
741
  `new PredictClient({ client, network, config })` — and `network` is then not consulted.
740
742
 
741
- Mainnet runs Predict **v3** and Testnet Predict **v4**, both built from the same sources; Sessions
742
- is **v2** on both. The Published.toml records are in deepbookv3 through PR #1321. `packages.predict`
743
- and `sessionsPackageId` are the current Move-call targets; `packages.predictV1` and
743
+ Mainnet runs Predict **v4** and Testnet Predict **v5**, both built from the same sources, with
744
+ `deepbook_predict_orders` and `deepbook_predict_math` at v1 on both. Sessions is **v3** on both. The
745
+ Published.toml records are in deepbookv3 through PR #1365. `packages.predict` and
746
+ `sessionsPackageId` are the current Move-call targets; `packages.predictV1` and
744
747
  `sessionsPackageIdV1` retain the original IDs for existing struct types, events and dynamic-field
745
748
  keys. Custom upgraded configs must supply both IDs. The v1 fallback is only for custom deployments
746
749
  that have never been upgraded. A type first introduced in a later version uses that version's
747
750
  defining ID, and version numbers do not line up across networks, so check the defining ID on each
748
751
  one. For example, `MintRange` was introduced in v2 on both networks, and
749
752
  `vault_events::UsdcAddedToPlp` is defined by Mainnet v3 (`0x08fa3ef1…`) and Testnet v3
750
- (`0xb5155d4c…`). The Testnet ID is one version behind that network's current call target.
753
+ (`0xb5155d4c…`), neither of them the current call target. The types and events delayed execution
754
+ added are defined by Mainnet v4 and Testnet v5, which the configs record as
755
+ `packages.predictDelayedExecution`.
751
756
 
752
757
  **Adding USDC to the pool without minting PLP:** `plpMoveCalls.addUsdcToPlp` wraps
753
758
  `add_usdc_to_plp`, which pays a `Coin<USDC>` into the pool's idle cash and mints nothing in return.
@@ -1,6 +1,6 @@
1
1
  import { MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
2
2
  import { BcsType } from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions322 from "@mysten/sui/transactions";
3
+ import * as _mysten_sui_transactions342 from "@mysten/sui/transactions";
4
4
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/contracts/account/account.d.ts
@@ -57,7 +57,7 @@ interface IdOptions {
57
57
  };
58
58
  }
59
59
  /** Returns the wrapper object ID. */
60
- declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
60
+ declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
61
61
  interface LoadAccountArguments {
62
62
  self: RawTransactionArgument<string>;
63
63
  }
@@ -69,7 +69,7 @@ interface LoadAccountOptions {
69
69
  };
70
70
  }
71
71
  /** Borrows the wrapped account for read-only composition. */
72
- declare function loadAccount(options: LoadAccountOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
72
+ declare function loadAccount(options: LoadAccountOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
73
73
  interface BalanceArguments {
74
74
  self: TransactionArgument;
75
75
  }
@@ -85,7 +85,7 @@ interface BalanceOptions {
85
85
  * Returns the total balance of `T` available to the account, including funds
86
86
  * delivered through the ambient accumulator but not yet settled into the account.
87
87
  */
88
- declare function balance(options: BalanceOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
88
+ declare function balance(options: BalanceOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
89
89
  interface OwnerArguments {
90
90
  self: TransactionArgument;
91
91
  }
@@ -100,7 +100,7 @@ interface OwnerOptions {
100
100
  * Returns the account owner address. This may be an EOA address or an
101
101
  * object-ID-as-address.
102
102
  */
103
- declare function owner(options: OwnerOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
103
+ declare function owner(options: OwnerOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
104
104
  interface AccountIdArguments {
105
105
  self: TransactionArgument;
106
106
  }
@@ -112,7 +112,7 @@ interface AccountIdOptions {
112
112
  };
113
113
  }
114
114
  /** Returns the canonical account ID. */
115
- declare function accountId(options: AccountIdOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
115
+ declare function accountId(options: AccountIdOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
116
116
  interface ReferrerAccountIdArguments {
117
117
  self: TransactionArgument;
118
118
  }
@@ -127,7 +127,7 @@ interface ReferrerAccountIdOptions {
127
127
  * Returns the canonical referrer account ID recorded at creation for external Move
128
128
  * composition.
129
129
  */
130
- declare function referrerAccountId(options: ReferrerAccountIdOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
130
+ declare function referrerAccountId(options: ReferrerAccountIdOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
131
131
  interface ReferrerReceiveAddressArguments {
132
132
  self: TransactionArgument;
133
133
  }
@@ -142,7 +142,7 @@ interface ReferrerReceiveAddressOptions {
142
142
  * Returns the referrer's accumulator receive address for external Move
143
143
  * composition.
144
144
  */
145
- declare function referrerReceiveAddress(options: ReferrerReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
145
+ declare function referrerReceiveAddress(options: ReferrerReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
146
146
  interface ReceiveAddressArguments {
147
147
  self: TransactionArgument;
148
148
  }
@@ -154,7 +154,7 @@ interface ReceiveAddressOptions {
154
154
  };
155
155
  }
156
156
  /** Returns the accumulator receive address for this account (the wrapper address). */
157
- declare function receiveAddress(options: ReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
157
+ declare function receiveAddress(options: ReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
158
158
  interface GenerateAuthOptions {
159
159
  package?: string;
160
160
  arguments?: [];
@@ -163,7 +163,7 @@ interface GenerateAuthOptions {
163
163
  };
164
164
  }
165
165
  /** Creates owner authority bound to the transaction sender. */
166
- declare function generateAuth(options?: GenerateAuthOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
166
+ declare function generateAuth(options?: GenerateAuthOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
167
167
  interface GenerateAuthAsObjectArguments {
168
168
  uid: RawTransactionArgument<string>;
169
169
  }
@@ -175,7 +175,7 @@ interface GenerateAuthAsObjectOptions {
175
175
  };
176
176
  }
177
177
  /** Creates owner authority bound to an owning object's address. */
178
- declare function generateAuthAsObject(options: GenerateAuthAsObjectOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
178
+ declare function generateAuthAsObject(options: GenerateAuthAsObjectOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
179
179
  interface ShareArguments {
180
180
  self: RawTransactionArgument<string>;
181
181
  }
@@ -187,7 +187,7 @@ interface ShareOptions {
187
187
  };
188
188
  }
189
189
  /** Shares a newly created account wrapper. */
190
- declare function share(options: ShareOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
190
+ declare function share(options: ShareOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
191
191
  interface LoadAccountMutArguments {
192
192
  self: RawTransactionArgument<string>;
193
193
  auth: TransactionArgument;
@@ -204,7 +204,7 @@ interface LoadAccountMutOptions {
204
204
  * Owner authority must match the stored owner; app authority is package-issued
205
205
  * after registry authorization and carries no owner or operation restriction.
206
206
  */
207
- declare function loadAccountMut(options: LoadAccountMutOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
207
+ declare function loadAccountMut(options: LoadAccountMutOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
208
208
  interface SettleArguments {
209
209
  wrapper: RawTransactionArgument<string>;
210
210
  }
@@ -224,7 +224,7 @@ interface SettleOptions {
224
224
  * address-balance withdrawal; value leaving the account still requires a mutable
225
225
  * borrow through `Auth`.
226
226
  */
227
- declare function settle(options: SettleOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
227
+ declare function settle(options: SettleOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
228
228
  interface DepositArguments {
229
229
  self: TransactionArgument;
230
230
  coin: RawTransactionArgument<string>;
@@ -241,7 +241,7 @@ interface DepositOptions {
241
241
  * Deposits into stored balance only; callers that include accumulator funds must
242
242
  * settle through the wrapper first.
243
243
  */
244
- declare function deposit(options: DepositOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
244
+ declare function deposit(options: DepositOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
245
245
  interface WithdrawArguments {
246
246
  self: TransactionArgument;
247
247
  amount: RawTransactionArgument<number | bigint>;
@@ -258,7 +258,7 @@ interface WithdrawOptions {
258
258
  * Withdraws from stored balance only; callers that include accumulator funds must
259
259
  * settle through the wrapper first.
260
260
  */
261
- declare function withdraw(options: WithdrawOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
261
+ declare function withdraw(options: WithdrawOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
262
262
  interface DepositFundsArguments {
263
263
  wrapper: RawTransactionArgument<string>;
264
264
  auth: TransactionArgument;
@@ -276,7 +276,7 @@ interface DepositFundsOptions {
276
276
  * PTB entrypoint that settles accumulator funds, consumes authority, and deposits
277
277
  * into stored balance in one call.
278
278
  */
279
- declare function depositFunds(options: DepositFundsOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
279
+ declare function depositFunds(options: DepositFundsOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
280
280
  interface WithdrawFundsArguments {
281
281
  wrapper: RawTransactionArgument<string>;
282
282
  auth: TransactionArgument;
@@ -294,7 +294,7 @@ interface WithdrawFundsOptions {
294
294
  * PTB entrypoint that settles accumulator funds, consumes authority, and withdraws
295
295
  * from stored balance in one call.
296
296
  */
297
- declare function withdrawFunds(options: WithdrawFundsOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
297
+ declare function withdrawFunds(options: WithdrawFundsOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
298
298
  interface AttachArguments<Data extends BcsType<any>> {
299
299
  self: TransactionArgument;
300
300
  Permit: TransactionArgument;
@@ -312,7 +312,7 @@ interface AttachOptions<Data extends BcsType<any>> {
312
312
  * Attach an app's `Data` under its witness namespace. Requires `Permit<App>`.
313
313
  * Aborts if `App` already has data attached.
314
314
  */
315
- declare function attach<Data extends BcsType<any>>(options: AttachOptions<Data>): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
315
+ declare function attach<Data extends BcsType<any>>(options: AttachOptions<Data>): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
316
316
  interface HasDataArguments {
317
317
  self: TransactionArgument;
318
318
  }
@@ -325,7 +325,7 @@ interface HasDataOptions {
325
325
  typeArguments: [string];
326
326
  }
327
327
  /** Whether `App` has data attached to this account. */
328
- declare function hasData(options: HasDataOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
328
+ declare function hasData(options: HasDataOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
329
329
  interface BorrowDataArguments {
330
330
  self: TransactionArgument;
331
331
  }
@@ -342,7 +342,7 @@ interface BorrowDataOptions {
342
342
  * `App` and on-chain state is public, so composing apps can read it. Aborts if
343
343
  * nothing is attached.
344
344
  */
345
- declare function borrowData(options: BorrowDataOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
345
+ declare function borrowData(options: BorrowDataOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
346
346
  interface BorrowDataMutArguments {
347
347
  self: TransactionArgument;
348
348
  Permit: TransactionArgument;
@@ -359,7 +359,7 @@ interface BorrowDataMutOptions {
359
359
  * Mutably borrow an app's attached `Data`. Requires `Permit<App>`. Aborts if
360
360
  * nothing is attached.
361
361
  */
362
- declare function borrowDataMut(options: BorrowDataMutOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
362
+ declare function borrowDataMut(options: BorrowDataMutOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
363
363
  interface DetachArguments {
364
364
  self: TransactionArgument;
365
365
  Permit: TransactionArgument;
@@ -376,7 +376,7 @@ interface DetachOptions {
376
376
  * Detach and return an app's `Data`. Requires `Permit<App>`. Aborts if nothing is
377
377
  * attached.
378
378
  */
379
- declare function detach(options: DetachOptions): (tx: Transaction) => _mysten_sui_transactions322.TransactionResult;
379
+ declare function detach(options: DetachOptions): (tx: Transaction) => _mysten_sui_transactions342.TransactionResult;
380
380
  //#endregion
381
381
  export { Account, AccountWrapper, account_d_exports };
382
382
  //# sourceMappingURL=account.d.mts.map
@@ -1,40 +1,40 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs733 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs744 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_bcs733.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
- wrapper_id: _mysten_sui_bcs733.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
- owner: _mysten_sui_bcs733.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
12
- self_owned: _mysten_sui_bcs733.BcsType<boolean, boolean, "bool">;
13
- referrer_account_id: _mysten_sui_bcs733.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
9
+ account_id: _mysten_sui_bcs744.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
10
+ wrapper_id: _mysten_sui_bcs744.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ owner: _mysten_sui_bcs744.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
12
+ self_owned: _mysten_sui_bcs744.BcsType<boolean, boolean, "bool">;
13
+ referrer_account_id: _mysten_sui_bcs744.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_bcs733.BcsType<string, string, "string">;
16
+ /** Fully-qualified `App` witness type name. */app: _mysten_sui_bcs744.BcsType<string, string, "string">;
17
17
  }, "@local-pkg/account::account_events::AppAuthorized">;
18
18
  declare const AppDeauthorized: MoveStruct<{
19
- app: _mysten_sui_bcs733.BcsType<string, string, "string">;
19
+ app: _mysten_sui_bcs744.BcsType<string, string, "string">;
20
20
  }, "@local-pkg/account::account_events::AppDeauthorized">;
21
21
  declare const Deposited: MoveStruct<{
22
- account_id: _mysten_sui_bcs733.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
23
- coin_type: _mysten_sui_bcs733.BcsType<string, string, "string">;
24
- amount: _mysten_sui_bcs733.BcsType<bigint, string | number | bigint, "u64">;
25
- new_balance: _mysten_sui_bcs733.BcsType<bigint, string | number | bigint, "u64">;
22
+ account_id: _mysten_sui_bcs744.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
23
+ coin_type: _mysten_sui_bcs744.BcsType<string, string, "string">;
24
+ amount: _mysten_sui_bcs744.BcsType<bigint, string | number | bigint, "u64">;
25
+ new_balance: _mysten_sui_bcs744.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_bcs733.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
29
- coin_type: _mysten_sui_bcs733.BcsType<string, string, "string">;
30
- amount: _mysten_sui_bcs733.BcsType<bigint, string | number | bigint, "u64">;
31
- new_balance: _mysten_sui_bcs733.BcsType<bigint, string | number | bigint, "u64">;
28
+ account_id: _mysten_sui_bcs744.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
29
+ coin_type: _mysten_sui_bcs744.BcsType<string, string, "string">;
30
+ amount: _mysten_sui_bcs744.BcsType<bigint, string | number | bigint, "u64">;
31
+ new_balance: _mysten_sui_bcs744.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_bcs733.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
35
- coin_type: _mysten_sui_bcs733.BcsType<string, string, "string">;
36
- amount: _mysten_sui_bcs733.BcsType<bigint, string | number | bigint, "u64">;
37
- new_balance: _mysten_sui_bcs733.BcsType<bigint, string | number | bigint, "u64">;
34
+ account_id: _mysten_sui_bcs744.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
35
+ coin_type: _mysten_sui_bcs744.BcsType<string, string, "string">;
36
+ amount: _mysten_sui_bcs744.BcsType<bigint, string | number | bigint, "u64">;
37
+ new_balance: _mysten_sui_bcs744.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,6 +1,6 @@
1
1
  import { ConfigValue, MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs752 from "@mysten/sui/bcs";
3
- import * as _mysten_sui_transactions344 from "@mysten/sui/transactions";
2
+ import * as _mysten_sui_bcs763 from "@mysten/sui/bcs";
3
+ import * as _mysten_sui_transactions364 from "@mysten/sui/transactions";
4
4
  import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
5
5
 
6
6
  //#region src/contracts/account/account_registry.d.ts
@@ -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_bcs752.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
11
+ id: _mysten_sui_bcs763.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_bcs752.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
14
+ id: _mysten_sui_bcs763.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
15
15
  }, "@local-pkg/account::account_registry::AccountRegistry">;
16
- declare const AccountKey: MoveTuple<readonly [_mysten_sui_bcs752.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountKey">;
17
- declare const AccountWrapperKey: MoveTuple<readonly [_mysten_sui_bcs752.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountWrapperKey">;
18
- declare const AppKey: MoveTuple<readonly [_mysten_sui_bcs752.BcsType<boolean, boolean, "bool">], "@local-pkg/account::account_registry::AppKey<phantom App>">;
16
+ declare const AccountKey: MoveTuple<readonly [_mysten_sui_bcs763.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountKey">;
17
+ declare const AccountWrapperKey: MoveTuple<readonly [_mysten_sui_bcs763.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountWrapperKey">;
18
+ declare const AppKey: MoveTuple<readonly [_mysten_sui_bcs763.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>;
@@ -32,7 +32,7 @@ interface DerivedAddressOptions {
32
32
  * Returns the deterministic canonical account address for external discovery and
33
33
  * PTB construction.
34
34
  */
35
- declare function derivedAddress(options: DerivedAddressOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
35
+ declare function derivedAddress(options: DerivedAddressOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
36
36
  interface DerivedWrapperAddressArguments {
37
37
  registry?: RawTransactionArgument<string>;
38
38
  owner: RawTransactionArgument<string>;
@@ -49,7 +49,7 @@ interface DerivedWrapperAddressOptions {
49
49
  * Returns the deterministic wrapper address for external discovery, accumulator
50
50
  * delivery, and PTB construction.
51
51
  */
52
- declare function derivedWrapperAddress(options: DerivedWrapperAddressOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
52
+ declare function derivedWrapperAddress(options: DerivedWrapperAddressOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
53
53
  interface DerivedExistsArguments {
54
54
  registry?: RawTransactionArgument<string>;
55
55
  owner: RawTransactionArgument<string>;
@@ -63,7 +63,7 @@ interface DerivedExistsOptions {
63
63
  };
64
64
  }
65
65
  /** Returns whether the canonical account identity has been claimed. */
66
- declare function derivedExists(options: DerivedExistsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
66
+ declare function derivedExists(options: DerivedExistsOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
67
67
  interface DerivedWrapperExistsArguments {
68
68
  registry?: RawTransactionArgument<string>;
69
69
  owner: RawTransactionArgument<string>;
@@ -77,7 +77,7 @@ interface DerivedWrapperExistsOptions {
77
77
  };
78
78
  }
79
79
  /** Returns whether the canonical wrapper has been claimed. */
80
- declare function derivedWrapperExists(options: DerivedWrapperExistsOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
80
+ declare function derivedWrapperExists(options: DerivedWrapperExistsOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
81
81
  interface NewArguments {
82
82
  registry?: RawTransactionArgument<string>;
83
83
  }
@@ -93,7 +93,7 @@ interface NewOptions {
93
93
  * Creates the sender's canonical account and wrapper, aborting if either derived
94
94
  * ID is already claimed.
95
95
  */
96
- declare function _new(options: NewOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
96
+ declare function _new(options: NewOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
97
97
  interface NewWithReferrerArguments {
98
98
  registry?: RawTransactionArgument<string>;
99
99
  referrer: RawTransactionArgument<string>;
@@ -110,7 +110,7 @@ interface NewWithReferrerOptions {
110
110
  * Creates the sender's canonical account and permanently records the supplied
111
111
  * wrapper's account identity and receive address as its referrer.
112
112
  */
113
- declare function newWithReferrer(options: NewWithReferrerOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
113
+ declare function newWithReferrer(options: NewWithReferrerOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
114
114
  interface NewSelfOwnedArguments {
115
115
  registry?: RawTransactionArgument<string>;
116
116
  ownerUid: RawTransactionArgument<string>;
@@ -127,7 +127,7 @@ interface NewSelfOwnedOptions {
127
127
  * Creates the canonical account owned by `owner_uid`'s object address, aborting if
128
128
  * either derived ID is already claimed.
129
129
  */
130
- declare function newSelfOwned(options: NewSelfOwnedOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
130
+ declare function newSelfOwned(options: NewSelfOwnedOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
131
131
  interface IsAppAuthorizedArguments {
132
132
  registry?: RawTransactionArgument<string>;
133
133
  }
@@ -141,7 +141,7 @@ interface IsAppAuthorizedOptions {
141
141
  typeArguments: [string];
142
142
  }
143
143
  /** Returns whether `App` may request package-issued mutable account authority. */
144
- declare function isAppAuthorized(options: IsAppAuthorizedOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
144
+ declare function isAppAuthorized(options: IsAppAuthorizedOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
145
145
  interface AuthorizeAppArguments {
146
146
  registry?: RawTransactionArgument<string>;
147
147
  Cap: RawTransactionArgument<string>;
@@ -156,7 +156,7 @@ interface AuthorizeAppOptions {
156
156
  typeArguments: [string];
157
157
  }
158
158
  /** Globally authorizes `App` to request mutable authority for account wrappers. */
159
- declare function authorizeApp(options: AuthorizeAppOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
159
+ declare function authorizeApp(options: AuthorizeAppOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
160
160
  interface DeauthorizeAppArguments {
161
161
  registry?: RawTransactionArgument<string>;
162
162
  Cap: RawTransactionArgument<string>;
@@ -171,7 +171,7 @@ interface DeauthorizeAppOptions {
171
171
  typeArguments: [string];
172
172
  }
173
173
  /** Revokes `App` from requesting new mutable account authority. */
174
- declare function deauthorizeApp(options: DeauthorizeAppOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
174
+ declare function deauthorizeApp(options: DeauthorizeAppOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
175
175
  interface AssertAppIsAuthorizedArguments {
176
176
  registry?: RawTransactionArgument<string>;
177
177
  }
@@ -185,7 +185,7 @@ interface AssertAppIsAuthorizedOptions {
185
185
  typeArguments: [string];
186
186
  }
187
187
  /** Aborts unless `App` is currently authorized for app-driven account access. */
188
- declare function assertAppIsAuthorized(options: AssertAppIsAuthorizedOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
188
+ declare function assertAppIsAuthorized(options: AssertAppIsAuthorizedOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
189
189
  interface GenerateAuthAsAppArguments {
190
190
  registry?: RawTransactionArgument<string>;
191
191
  Permit: TransactionArgument;
@@ -204,7 +204,7 @@ interface GenerateAuthAsAppOptions {
204
204
  * whitelist. `Permit<App>` restricts the request to the module that defines `App`;
205
205
  * the returned authority is not bound to an owner, wrapper, or operation.
206
206
  */
207
- declare function generateAuthAsApp(options: GenerateAuthAsAppOptions): (tx: Transaction) => _mysten_sui_transactions344.TransactionResult;
207
+ declare function generateAuthAsApp(options: GenerateAuthAsAppOptions): (tx: Transaction) => _mysten_sui_transactions364.TransactionResult;
208
208
  //#endregion
209
209
  export { account_registry_d_exports };
210
210
  //# sourceMappingURL=account_registry.d.mts.map
@@ -1,35 +1,35 @@
1
1
  import { MoveStruct } from "../utils/index.mjs";
2
- import * as _mysten_sui_bcs818 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs805 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_bcs818.BcsType<string, string | number | bigint, "u64">;
7
+ epoch: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
8
8
  open_orders: MoveStruct<{
9
- contents: _mysten_sui_bcs818.BcsType<string[], Iterable<string | number | bigint> & {
9
+ contents: _mysten_sui_bcs805.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_bcs818.BcsType<string, string | number | bigint, "u128">;
14
- maker_volume: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u128">;
15
- active_stake: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
16
- inactive_stake: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
17
- created_proposal: _mysten_sui_bcs818.BcsType<boolean, boolean, "bool">;
18
- voted_proposal: _mysten_sui_bcs818.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
13
+ taker_volume: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u128">;
14
+ maker_volume: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u128">;
15
+ active_stake: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
16
+ inactive_stake: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
17
+ created_proposal: _mysten_sui_bcs805.BcsType<boolean, boolean, "bool">;
18
+ voted_proposal: _mysten_sui_bcs805.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
19
19
  unclaimed_rebates: MoveStruct<{
20
- base: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
21
- quote: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
22
- deep: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
20
+ base: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
21
+ quote: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
22
+ deep: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
23
23
  }, "@deepbook/core::balances::Balances">;
24
24
  settled_balances: MoveStruct<{
25
- base: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
26
- quote: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
27
- deep: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
25
+ base: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
26
+ quote: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
27
+ deep: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
28
28
  }, "@deepbook/core::balances::Balances">;
29
29
  owed_balances: MoveStruct<{
30
- base: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
31
- quote: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
32
- deep: _mysten_sui_bcs818.BcsType<string, string | number | bigint, "u64">;
30
+ base: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
31
+ quote: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
32
+ deep: _mysten_sui_bcs805.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_bcs867 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs822 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_bcs867.BcsType<string, string | number | bigint, "u64">;
7
- quote: _mysten_sui_bcs867.BcsType<string, string | number | bigint, "u64">;
8
- deep: _mysten_sui_bcs867.BcsType<string, string | number | bigint, "u64">;
6
+ base: _mysten_sui_bcs822.BcsType<string, string | number | bigint, "u64">;
7
+ quote: _mysten_sui_bcs822.BcsType<string, string | number | bigint, "u64">;
8
+ deep: _mysten_sui_bcs822.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_bcs805 from "@mysten/sui/bcs";
2
+ import * as _mysten_sui_bcs825 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_bcs805.BcsType<boolean, boolean, "bool">;
8
- deep_per_asset: _mysten_sui_bcs805.BcsType<string, string | number | bigint, "u64">;
7
+ asset_is_base: _mysten_sui_bcs825.BcsType<boolean, boolean, "bool">;
8
+ deep_per_asset: _mysten_sui_bcs825.BcsType<string, string | number | bigint, "u64">;
9
9
  }, "@deepbook/core::deep_price::OrderDeepPrice">;
10
10
  //#endregion
11
11
  export { OrderDeepPrice };