@mysten/deepbook-v3 2.5.0 → 2.6.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.
- package/CHANGELOG.md +31 -0
- package/PREDICT.md +160 -12
- package/dist/contracts/account/account.d.mts +23 -23
- package/dist/contracts/account/account.d.mts.map +1 -1
- package/dist/contracts/account/account_registry.d.mts +19 -19
- package/dist/contracts/account/account_registry.d.mts.map +1 -1
- package/dist/contracts/deepbook/account.d.mts +18 -18
- package/dist/contracts/deepbook/balances.d.mts +4 -4
- package/dist/contracts/deepbook/deep_price.d.mts +3 -3
- package/dist/contracts/deepbook_predict/admin.d.mts +4 -4
- package/dist/contracts/deepbook_predict/builder_code.d.mts +11 -11
- package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
- package/dist/contracts/deepbook_predict/config_events.d.mts +67 -67
- package/dist/contracts/deepbook_predict/config_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +176 -96
- package/dist/contracts/deepbook_predict/expiry_market.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.mjs +114 -1
- package/dist/contracts/deepbook_predict/expiry_market.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/market_manager.d.mts +27 -27
- package/dist/contracts/deepbook_predict/market_manager.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/order_events.d.mts +50 -50
- package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/plp.d.mts +72 -72
- package/dist/contracts/deepbook_predict/plp.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/pool_valuation_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
- package/dist/contracts/deepbook_predict/pricing.d.mts +53 -53
- package/dist/contracts/deepbook_predict/protocol_config.d.mts +64 -64
- package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/registry.d.mts +28 -28
- package/dist/contracts/deepbook_predict/strike_exposure.mjs +12 -0
- package/dist/contracts/deepbook_predict/strike_exposure.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/vault_events.d.mts +105 -105
- package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
- package/dist/contracts/deepbook_sessions/session_config.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.d.mts +48 -23
- package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.mjs +44 -1
- package/dist/contracts/deepbook_sessions/sessions.mjs.map +1 -1
- package/dist/deployments/mainnet.d.mts.map +1 -1
- package/dist/deployments/mainnet.mjs +2 -0
- package/dist/deployments/mainnet.mjs.map +1 -1
- package/dist/deployments/testnet.d.mts.map +1 -1
- package/dist/deployments/testnet.mjs +4 -2
- package/dist/deployments/testnet.mjs.map +1 -1
- package/dist/deployments/types.d.mts +1 -1
- package/dist/predict/client.d.mts +12 -3
- package/dist/predict/client.d.mts.map +1 -1
- package/dist/predict/client.mjs +39 -18
- package/dist/predict/client.mjs.map +1 -1
- package/dist/predict/config/generated.d.mts +3 -2
- package/dist/predict/config/generated.d.mts.map +1 -1
- package/dist/predict/config/generated.mjs +1 -0
- package/dist/predict/config/generated.mjs.map +1 -1
- package/dist/predict/config/types.d.mts +3 -0
- package/dist/predict/config/types.d.mts.map +1 -1
- package/dist/predict/cost.d.mts +353 -0
- package/dist/predict/cost.d.mts.map +1 -0
- package/dist/predict/cost.mjs +555 -0
- package/dist/predict/cost.mjs.map +1 -0
- package/dist/predict/decode.mjs +6 -7
- package/dist/predict/decode.mjs.map +1 -1
- package/dist/predict/index.d.mts +3 -2
- package/dist/predict/index.mjs +2 -1
- package/dist/predict/pricing.mjs +1 -1
- package/dist/predict/reads/positions.mjs +1 -1
- package/dist/predict/reads/positions.mjs.map +1 -1
- package/dist/predict/tx/trade.d.mts.map +1 -1
- package/dist/predict/tx/trade.mjs +18 -2
- package/dist/predict/tx/trade.mjs.map +1 -1
- package/dist/sessions.d.mts +17 -1
- package/dist/sessions.d.mts.map +1 -1
- package/dist/sessions.mjs +22 -2
- package/dist/sessions.mjs.map +1 -1
- package/dist/transactions/balanceManager.d.mts +12 -12
- package/dist/transactions/balanceManager.d.mts.map +1 -1
- package/dist/transactions/deepbook.d.mts +20 -20
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginManager.d.mts +32 -32
- package/dist/transactions/marginPool.d.mts +18 -18
- package/dist/transactions/marginPool.d.mts.map +1 -1
- package/dist/transactions/marginRegistry.d.mts +16 -16
- package/dist/transactions/marginTPSL.d.mts +10 -10
- package/dist/transactions/marginTPSL.d.mts.map +1 -1
- package/dist/transactions/poolProxy.d.mts +8 -8
- package/dist/transactions/poolProxy.d.mts.map +1 -1
- package/package.json +2 -2
- package/src/contracts/deepbook_predict/expiry_market.ts +160 -0
- package/src/contracts/deepbook_predict/strike_exposure.ts +14 -0
- package/src/contracts/deepbook_sessions/sessions.ts +68 -0
- package/src/deployments/mainnet.ts +4 -1
- package/src/deployments/testnet.ts +6 -3
- package/src/deployments/types.ts +4 -2
- package/src/predict/client.ts +80 -27
- package/src/predict/config/generated.ts +4 -2
- package/src/predict/config/types.ts +3 -0
- package/src/predict/cost.ts +1022 -0
- package/src/predict/decode.ts +8 -8
- package/src/predict/index.ts +9 -0
- package/src/predict/reads/positions.ts +1 -1
- package/src/predict/tx/trade.ts +30 -1
- package/src/sessions.ts +37 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @mysten/deepbook-v3
|
|
2
2
|
|
|
3
|
+
## 2.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 785e9cd: Add `predict.cost`: client-side all-in trade cost for Predict, with no chain call.
|
|
8
|
+
`cost.mintCost` returns the exact debit a mint makes (premium plus the trading, builder,
|
|
9
|
+
congestion and inventory-impact fees, net of any sponsor subsidy), `cost.mintCostForBudget` sizes
|
|
10
|
+
a lot-rounded fill whose all-in cost fits a budget — the `expiry_market::mint_exact_cost` lot
|
|
11
|
+
search, run locally — and `cost.redeemLiveProceeds` returns what closing a live position credits.
|
|
12
|
+
The fee components (`tradingFee`, `builderFee`, `feeIncentiveSubsidy`, `congestionPenaltyRate`,
|
|
13
|
+
`mintInventoryImpact`, `closeInventoryImpact`, `expiryFeeMultiplier`, `bernoulliFeeRate`) and the
|
|
14
|
+
order-ID helpers (`decodeOrderRange`, `orderStrikes`) are exported alongside. The arithmetic is an
|
|
15
|
+
exact integer port of the deployed fee path: matching every execution input yields the same raw
|
|
16
|
+
amounts. Invalid unsigned inputs are rejected, and enabled inventory impact requires book data.
|
|
17
|
+
Budget sizing preserves the contract's best-effort maximum-payout fallback, which can miss a
|
|
18
|
+
larger admissible fill or reject a quantity floor that another fill could meet.
|
|
19
|
+
`exactProbabilities` identifies raw probability inputs, without certifying their source or state
|
|
20
|
+
freshness. These helpers provide local previews; `read.quoteMint` / `read.quoteRedeem` simulate
|
|
21
|
+
the actual transaction against account and market state before submission.
|
|
22
|
+
|
|
23
|
+
Update Testnet Predict/Sessions to v2 and preserve `predictV1` / `sessionsPackageIdV1` for
|
|
24
|
+
existing structs, events and dynamic-field keys. Generate call targets and type origins from
|
|
25
|
+
Published.toml alongside the initial deployment manifest; Mainnet remains v1. Add `tx.mintCost`,
|
|
26
|
+
`read.quoteMintCost`, `SessionsContract.mintExactCost` and regenerated v2 Move bindings.
|
|
27
|
+
|
|
28
|
+
Expose payout multiple and budget/cap/unspent amounts for mint previews, plus net proceeds per
|
|
29
|
+
contract, raw range probability, and optional validated remaining quantity for live-redeem
|
|
30
|
+
previews.
|
|
31
|
+
|
|
32
|
+
## 2.5.1
|
|
33
|
+
|
|
3
34
|
## 2.5.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/PREDICT.md
CHANGED
|
@@ -187,22 +187,23 @@ const tx = await client.predict.tx.mint(
|
|
|
187
187
|
|
|
188
188
|
## What's in the box
|
|
189
189
|
|
|
190
|
-
- **`client.predict.tx`** — `createManager`, `deposit`, `withdraw`, `mint`, `mintAmount`,
|
|
191
|
-
`claimSettled`, `supplyPlp`, `withdrawPlp`, `cancelSupplyPlp`,
|
|
192
|
-
`setBuilderCode`, `unsetBuilderCode`. Market-resolving builders
|
|
193
|
-
(`mint`/`mintAmount`/`redeem`/`claimSettled`) are async: they resolve the market object
|
|
194
|
-
`{ underlying, expiryMs, strike, side }` via the on-chain registry (cached per client).
|
|
190
|
+
- **`client.predict.tx`** — `createManager`, `deposit`, `withdraw`, `mint`, `mintAmount`,
|
|
191
|
+
`mintCost`, `redeem`, `claimSettled`, `supplyPlp`, `withdrawPlp`, `cancelSupplyPlp`,
|
|
192
|
+
`cancelWithdrawPlp`, `setBuilderCode`, `unsetBuilderCode`. Market-resolving builders
|
|
193
|
+
(`mint`/`mintAmount`/`mintCost`/`redeem`/`claimSettled`) are async: they resolve the market object
|
|
194
|
+
from `{ underlying, expiryMs, strike, side }` via the on-chain registry (cached per client).
|
|
195
195
|
- **`client.predict.read`** — `markets()` (summaries of the pool's **active** markets — live and not
|
|
196
196
|
yet settled, so a market past expiry that nobody has settled is still listed and quoting against
|
|
197
197
|
it aborts; filter on `expiryMs` and `mintPaused` before trading: id, expiry, tick size, admission
|
|
198
198
|
tick size, mint-paused, reference price), `market(desc)` (state + live NAV), `price(m)` (anonymous
|
|
199
199
|
both-sides pricing for any strike, one chain call per strike), `pricer(m)` (a **client-side board
|
|
200
200
|
pricer** — one chain read of the resolved pricer, then price every strike locally; see below),
|
|
201
|
-
`quoteMint(owner, m, opts)` / `
|
|
202
|
-
the real code path — and they throw the same typed errors
|
|
203
|
-
as preflight), `balance(owner)`, `plpBalance(owner)`,
|
|
204
|
-
|
|
205
|
-
client's `simulateTransaction`; no
|
|
201
|
+
`quoteMint(owner, m, opts)` / `quoteMintCost(owner, m, opts)` / `quoteRedeem(owner, m, opts)`
|
|
202
|
+
(exact dry-run quotes: real fees from the real code path — and they throw the same typed errors
|
|
203
|
+
the real trade would, so a quote doubles as preflight), `balance(owner)`, `plpBalance(owner)`,
|
|
204
|
+
`pool()`, `positions(owner)` (chain-only enumeration of open positions),
|
|
205
|
+
`hasPosition(owner, marketId, orderId)`. All reads run over the client's `simulateTransaction`; no
|
|
206
|
+
indexer required.
|
|
206
207
|
- **`client.predict.decode`** — pure execution-result decoders (no network): `mint`, `redeem`,
|
|
207
208
|
`claim`, `createManager`, `deposit`, `withdraw`, `plpRequest`, `plpCancel`, `builderCode`. Each
|
|
208
209
|
singular form throws unless exactly one matching event is present; `mints`, `redeems` and `claims`
|
|
@@ -245,6 +246,11 @@ const tx = await client.predict.tx.mint(
|
|
|
245
246
|
tx.add(accountMoveCalls.share({ config, arguments: { self: wrapper } }));
|
|
246
247
|
```
|
|
247
248
|
|
|
249
|
+
- **`cost`** — the deployed FEE math as an exact integer port, so an all-in quote costs no chain
|
|
250
|
+
call: `mintCost` (what a mint debits), `mintCostForBudget` (the `mint_exact_cost` budget search),
|
|
251
|
+
`redeemLiveProceeds` (what a live close credits), plus the components they are built from. See
|
|
252
|
+
below.
|
|
253
|
+
|
|
248
254
|
- **Typed errors** — invalid inputs throw `PredictInputError` before the chain sees them; failed
|
|
249
255
|
simulations throw `PredictMoveError` with the decoded Move abort (`module`, `code`, `abortName`).
|
|
250
256
|
|
|
@@ -289,10 +295,122 @@ const fwd = pricing.forward(pythSpot, bsSpot, bsForward); // Pyth re-anchored by
|
|
|
289
295
|
const rolled = pricing.rollDown(rawSvi, remainingMs, anchorTteMs); // decay a, b toward expiry
|
|
290
296
|
```
|
|
291
297
|
|
|
298
|
+
## Client-side cost (`cost`)
|
|
299
|
+
|
|
300
|
+
`pricing` gives the contract's probability; `cost` turns it into what the chain actually debits and
|
|
301
|
+
credits, with no chain call at all — no `devInspect`, no dry run. It is an exact integer port of the
|
|
302
|
+
deployed fee path: the per-boundary Bernoulli trading fee and its expiry ramp, the builder cut, the
|
|
303
|
+
sponsor subsidy, the congestion surcharge, and the inventory-impact charge and rebate, each rounded
|
|
304
|
+
the way the contract rounds it.
|
|
305
|
+
|
|
306
|
+
```ts
|
|
307
|
+
import { cost } from '@mysten/deepbook-v3/predict';
|
|
308
|
+
|
|
309
|
+
const pricer = await client.predict.read.pricer({ underlying: 'BTC', expiryMs });
|
|
310
|
+
const shape = {
|
|
311
|
+
fees: cost.SHIPPED_FEE_POLICY, // or the market's own MarketCreated snapshot
|
|
312
|
+
expiryMs,
|
|
313
|
+
probabilities: { pricer, lower: 105_000, upper: null }, // an UP order at $105k
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
// 1. What does 100 USDC of payout cost me, all in?
|
|
317
|
+
cost.mintCost({ ...shape, quantity: 100 }).cost; // premium + fees, in USDC
|
|
318
|
+
cost.mintCost({ ...shape, quantity: 100 }).costPerContract; // all-in price, 0..1
|
|
319
|
+
|
|
320
|
+
// 2. I want to spend exactly $50 — how much payout is that? (`mint_exact_cost`, client-side)
|
|
321
|
+
const sized = cost.mintCostForBudget({ ...shape, budget: 50 });
|
|
322
|
+
sized.quantity; // a lot-rounded fill whose ALL-IN cost fits $50
|
|
323
|
+
sized.cost; // actual all-in debit, ≤ 50
|
|
324
|
+
sized.costPerContract; // all-in price per $1 payout
|
|
325
|
+
sized.payoutMultiple; // maximum payout / actual all-in cost
|
|
326
|
+
sized.effectiveBudget; // min(budget, accountBalance), if balance was supplied
|
|
327
|
+
sized.unspentBudget; // requested budget - actual cost, including any balance-cap shortfall
|
|
328
|
+
sized.fees; // trading, subsidy, builder, penalty, impact
|
|
329
|
+
|
|
330
|
+
// 3. What would closing this position credit me?
|
|
331
|
+
const close = cost.redeemLiveProceeds({
|
|
332
|
+
...shape,
|
|
333
|
+
closeQuantity: 40,
|
|
334
|
+
positionQuantity: 100, // optional; validates the close and reports the remaining payout
|
|
335
|
+
});
|
|
336
|
+
close.proceeds; // net credit, including any inventory rebate
|
|
337
|
+
close.gross; // value before fees and rebate
|
|
338
|
+
close.proceedsPerContract; // net credit / closed payout
|
|
339
|
+
close.remainingQuantity; // 60; null if positionQuantity was omitted
|
|
340
|
+
close.fees; // trading, builder, penalty, impactRebate
|
|
341
|
+
close.raw.proceeds; // exact integer amount for min_proceeds (before your slippage buffer)
|
|
342
|
+
close.raw.probability; // raw 1e9 probability for min_probability
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
**Local preview or simulation?** If you already call `read.quoteRedeem`, you do not need a second
|
|
346
|
+
quote for the same close. Use the local helper when a changing input needs an immediate preview; use
|
|
347
|
+
the simulation to check the actual trade before submission.
|
|
348
|
+
|
|
349
|
+
| API | Returns | Reads the chain? |
|
|
350
|
+
| ------------------------------------------------------------ | ------------------------------------------------------------ | ---------------------------------------------------------------------------- |
|
|
351
|
+
| `cost.mintCost` | Cost and fee breakdown for an exact payout quantity | No; uses the supplied snapshot |
|
|
352
|
+
| `cost.mintCostForBudget` | The same result, with quantity sized within an all-in budget | No; uses the supplied snapshot |
|
|
353
|
+
| `cost.redeemLiveProceeds` | Net proceeds, gross value, closed quantity and fee breakdown | No; uses the supplied snapshot |
|
|
354
|
+
| `read.quoteMint` / `read.quoteMintCost` / `read.quoteRedeem` | A simulated trade receipt, including cost or proceeds | Yes; executes the transaction in simulation against account and market state |
|
|
355
|
+
|
|
356
|
+
The `cost` functions return synchronously. Their top-level amounts are human-readable numbers; `raw`
|
|
357
|
+
carries integer amounts as bigints. `quantity` is the mint's maximum potential payout; it is not
|
|
358
|
+
profit. `payoutMultiple` uses the all-in cost, so it includes fee drag. Ratios and human-readable
|
|
359
|
+
numbers are for display; use raw bigints for amount bounds. `remainingQuantity` uses the supplied
|
|
360
|
+
`positionQuantity`, and a partial close's replacement order ID comes from the execution receipt.
|
|
361
|
+
|
|
362
|
+
These calculations do not check account ownership or the on-chain position size (they can validate a
|
|
363
|
+
supplied `positionQuantity`), pauses, the no-trade window, oracle freshness or available cash
|
|
364
|
+
backing. A simulation checks the execution path, but its quote can still change before submission;
|
|
365
|
+
keep the transaction's `maxCost` / `minProceeds` slippage bounds.
|
|
366
|
+
|
|
367
|
+
**Why the budget form exists.** Every fee is charged _on top of_ the premium, and `mintAmount` sizes
|
|
368
|
+
on premium alone — so "spend exactly $X" means quoting, subtracting an estimated fee load, padding
|
|
369
|
+
it so the mint does not abort, and systematically underspending. `mintCostForBudget` runs the same
|
|
370
|
+
lot search the contract's `mint_exact_cost` runs, over the same cost function, so it returns the
|
|
371
|
+
fill that entrypoint would size. On v2 deployments, use
|
|
372
|
+
`tx.mintCost(owner, market, { spend: 50, minQuantity })` to let the chain size the fill against the
|
|
373
|
+
same all-in budget. When only the budget binds, one more lot would exceed it. The maximum-payout
|
|
374
|
+
bound or the lot cap can leave a larger remainder. If the budget fill costs more than its payout,
|
|
375
|
+
the contract uses a best-effort step-down search. Integer rounding makes that condition nonmonotone:
|
|
376
|
+
the fallback can miss a larger admissible fill or throw for `minQuantity` even when another fill
|
|
377
|
+
would satisfy it. The SDK preserves that behavior.
|
|
378
|
+
|
|
379
|
+
**What is exact, and what you must supply.** The integer arithmetic matches the contract when all
|
|
380
|
+
inputs match: probabilities, fee policy, builder attribution, sponsor balance, congestion, book
|
|
381
|
+
state and timestamp. The local float pricer introduces an approximation (~1e-4). You can instead
|
|
382
|
+
pass `{ lowerUp, higherUp }` as raw 1e9 bigints; `read.price` returns decimal numbers, so convert
|
|
383
|
+
its `up` value with the exported `probabilityToRaw` helper first. `exactProbabilities: true` only
|
|
384
|
+
means raw probabilities were supplied. It does not verify their source or certify current chain
|
|
385
|
+
state.
|
|
386
|
+
|
|
387
|
+
When `inventoryImpactMaxRate` is nonzero, `book` is required; omitting it throws instead of quoting
|
|
388
|
+
a zero charge or rebate. The congestion rate defaults to zero (disabled in the shipped template);
|
|
389
|
+
when enabled, supply `penaltyRate`, calculated by `cost.congestionPenaltyRate` from the market's
|
|
390
|
+
gas-price EWMA and the transaction's gas price. Supply `builderCode`, `feeIncentiveBalance` and, for
|
|
391
|
+
account-capped budget sizing, `accountBalance` to reflect the account being quoted. The fee
|
|
392
|
+
**policy** is a per-market snapshot taken at creation — use the market's `MarketCreated` event, or
|
|
393
|
+
`cost.SHIPPED_FEE_POLICY` only for a market created under that template.
|
|
394
|
+
|
|
395
|
+
Invalid raw domains (including negative amounts/rates, probabilities outside `[0, 1e9]`, and invalid
|
|
396
|
+
lot sizes) throw `PredictInputError` before arithmetic. Supplied book totals must also be
|
|
397
|
+
consistent, and enabled inventory impact requires a positive scale.
|
|
398
|
+
|
|
399
|
+
Admission is enforced locally too: the entry-probability band, the `min_premium` floor, the lot
|
|
400
|
+
grid, and the "a contract may never cost more than it can pay out" bound each throw the
|
|
401
|
+
`PredictInputError` naming the abort the chain would have raised. `read.quoteMint` /
|
|
402
|
+
`read.quoteRedeem` remain the authoritative pre-trade quote — they run the real code path against
|
|
403
|
+
real account state; `cost` is what you reach for when you cannot afford a round trip per keystroke.
|
|
404
|
+
|
|
405
|
+
The components are exported too (`tradingFee`, `builderFee`, `feeIncentiveSubsidy`,
|
|
406
|
+
`congestionPenaltyRate`, `mintInventoryImpact`, `closeInventoryImpact`, `expiryFeeMultiplier`,
|
|
407
|
+
`bernoulliFeeRate`), along with `decodeOrderRange` / `orderStrikes` for feeding a position from
|
|
408
|
+
`read.positions` straight into `redeemLiveProceeds`.
|
|
409
|
+
|
|
292
410
|
## Networks & deployments
|
|
293
411
|
|
|
294
|
-
Two deployments are recorded. `getDeployment(network)` names each one and the
|
|
295
|
-
|
|
412
|
+
Two deployments are recorded. `getDeployment(network)` names each one and the source commit of its
|
|
413
|
+
initial deployment; subsequent package upgrades come from `Published.toml`:
|
|
296
414
|
|
|
297
415
|
| Network | Deployment | Chain id | Source commit | `quoteCoinType` |
|
|
298
416
|
| --------- | -------------------------- | ---------- | ------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -311,6 +429,36 @@ Move-call targets resolve from the config's package ids, so a deployment of your
|
|
|
311
429
|
passing `config` — `predict({ network, config })` or
|
|
312
430
|
`new PredictClient({ client, network, config })` — and `network` is then not consulted.
|
|
313
431
|
|
|
432
|
+
Testnet uses Predict and Sessions **v2** from deepbookv3 PR #1311. Mainnet remains **v1**.
|
|
433
|
+
`packages.predict` and `sessionsPackageId` are the current Move-call targets; `packages.predictV1`
|
|
434
|
+
and `sessionsPackageIdV1` retain the original IDs for existing struct types, events and
|
|
435
|
+
dynamic-field keys. Custom upgraded configs must supply both IDs. The v1 fallback is only for custom
|
|
436
|
+
deployments that have never been upgraded. A type first introduced in a later version uses that
|
|
437
|
+
version's defining ID (for example, `MintRange` was introduced in v2).
|
|
438
|
+
|
|
439
|
+
**All-in budget mint (v2 only):** `spend` caps the debit including all trade fees, and `minQuantity`
|
|
440
|
+
is the minimum payout quantity accepted. It may spend less than the budget because of lot rounding,
|
|
441
|
+
balance limits or the contract's sizing constraints. Network gas is separate. `mintAmount` retains
|
|
442
|
+
its existing premium-only budget semantics.
|
|
443
|
+
|
|
444
|
+
```ts
|
|
445
|
+
const quote = await client.predict.read.quoteMintCost(myAddress, desc, {
|
|
446
|
+
spend: 100,
|
|
447
|
+
minQuantity: 0,
|
|
448
|
+
});
|
|
449
|
+
// Render quote.cost, quote.quantity, and quote.fees (including inventoryImpact).
|
|
450
|
+
const tx = await client.predict.tx.mintCost(myAddress, desc, {
|
|
451
|
+
spend: 100,
|
|
452
|
+
minQuantity: Number((quote.quantity * 0.99).toFixed(6)), // 1% payout slippage
|
|
453
|
+
});
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
`read.quoteMintCost` simulates the actual budget mint with the owner's current balance and fees; it
|
|
457
|
+
requires an existing funded account. Sessions callers can compose `SessionsContract.mintExactCost`
|
|
458
|
+
with a live pricer using raw Move units. The generated `expiryMarketMoveCalls` also exposes
|
|
459
|
+
`quoteMintExactCostForAccount` for lower-level PTBs. These new entrypoints require the v2 packages;
|
|
460
|
+
do not use them with the recorded v1 Mainnet deployment.
|
|
461
|
+
|
|
314
462
|
An expired market stays in `read.markets()` until someone settles it — the list is the pool's
|
|
315
463
|
live-and-not-yet-settled set, not a tradeable set. On either network, check `expiryMs` against the
|
|
316
464
|
clock (and `mintPaused`) before quoting rather than assuming the list is tradeable.
|
|
@@ -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
|
|
3
|
+
import * as _mysten_sui_transactions15 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) =>
|
|
60
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
72
|
+
declare function loadAccount(options: LoadAccountOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
88
|
+
declare function balance(options: BalanceOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
103
|
+
declare function owner(options: OwnerOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
115
|
+
declare function accountId(options: AccountIdOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
130
|
+
declare function referrerAccountId(options: ReferrerAccountIdOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
145
|
+
declare function referrerReceiveAddress(options: ReferrerReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
157
|
+
declare function receiveAddress(options: ReceiveAddressOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
166
|
+
declare function generateAuth(options?: GenerateAuthOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
178
|
+
declare function generateAuthAsObject(options: GenerateAuthAsObjectOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
190
|
+
declare function share(options: ShareOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
207
|
+
declare function loadAccountMut(options: LoadAccountMutOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
227
|
+
declare function settle(options: SettleOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
244
|
+
declare function deposit(options: DepositOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
261
|
+
declare function withdraw(options: WithdrawOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
279
|
+
declare function depositFunds(options: DepositFundsOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
297
|
+
declare function withdrawFunds(options: WithdrawFundsOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
315
|
+
declare function attach<Data extends BcsType<any>>(options: AttachOptions<Data>): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
328
|
+
declare function hasData(options: HasDataOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
345
|
+
declare function borrowData(options: BorrowDataOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
362
|
+
declare function borrowDataMut(options: BorrowDataMutOptions): (tx: Transaction) => _mysten_sui_transactions15.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) =>
|
|
379
|
+
declare function detach(options: DetachOptions): (tx: Transaction) => _mysten_sui_transactions15.TransactionResult;
|
|
380
380
|
//#endregion
|
|
381
381
|
export { Account, AccountWrapper, account_d_exports };
|
|
382
382
|
//# sourceMappingURL=account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.mts","names":[],"sources":["../../../src/contracts/account/account.ts"],"mappings":";;;;;;;;;cAyBa,OAAA,EAAO,UAAA;;;;;;;;;;;;;;;cAmBP,cAAA,EAAc,UAAA;;;;;;;;;;;;;;;;;;cAOd,OAAA,EAAO,SAAA,WAAA,OAAA;AAAA,cAIP,OAAA,EAAO,SAAA,WAAA,OAAA;AAAA,cAIP,IAAA,EAAI,UAAA;;;;UAOA,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;AAhDF;AAAA,iBAoDgB,EAAA,CAAG,OAAA,EAAS,SAAA,IAKnB,EAAA,EAAI,WAAA,KAAW,
|
|
1
|
+
{"version":3,"file":"account.d.mts","names":[],"sources":["../../../src/contracts/account/account.ts"],"mappings":";;;;;;;;;cAyBa,OAAA,EAAO,UAAA;;;;;;;;;;;;;;;cAmBP,cAAA,EAAc,UAAA;;;;;;;;;;;;;;;;;;cAOd,OAAA,EAAO,SAAA,WAAA,OAAA;AAAA,cAIP,OAAA,EAAO,SAAA,WAAA,OAAA;AAAA,cAIP,IAAA,EAAI,UAAA;;;;UAOA,WAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,SAAA;EAChB,OA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ChB,OAAA;EACA,SAAA,EAAW,eAAA,IAAmB,IAAA,EAAM,mBAAA,EAAqB,MAAA,EAAQ,mBAAA;EACjE,MAAA;IACC,gBAAA;EAAA;EAED,aAAA;AAAA;;;;;iBAMe,MAAA,CAAO,OAAA,EAAS,aAAA,IAKvB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigValue, MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs29 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions37 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:
|
|
11
|
+
id: _mysten_sui_bcs29.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
12
12
|
}, "@local-pkg/account::account_registry::AccountAdminCap">;
|
|
13
13
|
declare const AccountRegistry: MoveStruct<{
|
|
14
|
-
id:
|
|
14
|
+
id: _mysten_sui_bcs29.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
15
15
|
}, "@local-pkg/account::account_registry::AccountRegistry">;
|
|
16
|
-
declare const AccountKey: MoveTuple<readonly [
|
|
17
|
-
declare const AccountWrapperKey: MoveTuple<readonly [
|
|
18
|
-
declare const AppKey: MoveTuple<readonly [
|
|
16
|
+
declare const AccountKey: MoveTuple<readonly [_mysten_sui_bcs29.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountKey">;
|
|
17
|
+
declare const AccountWrapperKey: MoveTuple<readonly [_mysten_sui_bcs29.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">], "@local-pkg/account::account_registry::AccountWrapperKey">;
|
|
18
|
+
declare const AppKey: MoveTuple<readonly [_mysten_sui_bcs29.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) =>
|
|
35
|
+
declare function derivedAddress(options: DerivedAddressOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
52
|
+
declare function derivedWrapperAddress(options: DerivedWrapperAddressOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
66
|
+
declare function derivedExists(options: DerivedExistsOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
80
|
+
declare function derivedWrapperExists(options: DerivedWrapperExistsOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
96
|
+
declare function _new(options: NewOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
113
|
+
declare function newWithReferrer(options: NewWithReferrerOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
130
|
+
declare function newSelfOwned(options: NewSelfOwnedOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
144
|
+
declare function isAppAuthorized(options: IsAppAuthorizedOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
159
|
+
declare function authorizeApp(options: AuthorizeAppOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
174
|
+
declare function deauthorizeApp(options: DeauthorizeAppOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
188
|
+
declare function assertAppIsAuthorized(options: AssertAppIsAuthorizedOptions): (tx: Transaction) => _mysten_sui_transactions37.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) =>
|
|
207
|
+
declare function generateAuthAsApp(options: GenerateAuthAsAppOptions): (tx: Transaction) => _mysten_sui_transactions37.TransactionResult;
|
|
208
208
|
//#endregion
|
|
209
209
|
export { account_registry_d_exports };
|
|
210
210
|
//# sourceMappingURL=account_registry.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account_registry.d.mts","names":[],"sources":["../../../src/contracts/account/account_registry.ts"],"mappings":";;;;;;;;;cAsBa,eAAA,EAAe,UAAA;;;cAMf,eAAA,EAAe,UAAA;;;cAMf,UAAA,EAAU,SAAA,WAAA,
|
|
1
|
+
{"version":3,"file":"account_registry.d.mts","names":[],"sources":["../../../src/contracts/account/account_registry.ts"],"mappings":";;;;;;;;;cAsBa,eAAA,EAAe,UAAA;;;cAMf,eAAA,EAAe,UAAA;;;cAMf,UAAA,EAAU,SAAA,WAAA,iBAAA,CAAA,OAAA,kBAAA,UAAA,CAAA,eAAA;AAAA,cAIV,iBAAA,EAAiB,SAAA,WAAA,iBAAA,CAAA,OAAA,kBAAA,UAAA,CAAA,eAAA;AAAA,cAIjB,MAAA,EAAM,SAAA,WAGjB,iBAAA,CAHiB,OAAA;AAAA,UAIF,uBAAA;EAChB,QAAA,GAAW,sBAAA;EACX,KAAA,EAAO,sBAAA;AAAA;AAAA,UAES,qBAAA;EAChB,OAAA;EACA,SAAA,EAAW,uBAAA;EACX,MAAA;IACC,eAAA,EAAiB,WAAA;IACjB,gBAAA;EAAA;AAAA;;;;;iBAOc,cAAA,CAAe,OAAA,EAAS,qBAAA,IAK/B,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAeP,8BAAA;EAChB,QAAA,GAAW,sBAAA;EACX,KAAA,EAAO,sBAAA;AAAA;AAAA,UAES,4BAAA;EAChB,OAAA;EACA,SAAA,EAAW,8BAAA;EACX,MAAA;IACC,eAAA,EAAiB,WAAA;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