@mysten/deepbook-v3 2.6.4 → 2.8.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 +153 -0
- package/PREDICT.md +389 -61
- 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 +13 -13
- 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/order.d.mts +12 -12
- 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_events.d.mts +10 -10
- package/dist/contracts/deepbook_predict/config_events.d.mts +93 -68
- package/dist/contracts/deepbook_predict/config_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/config_events.mjs +45 -1
- package/dist/contracts/deepbook_predict/config_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/deps/std/type_name.mjs +17 -0
- package/dist/contracts/deepbook_predict/deps/std/type_name.mjs.map +1 -0
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +652 -235
- package/dist/contracts/deepbook_predict/expiry_market.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.mjs +652 -186
- package/dist/contracts/deepbook_predict/expiry_market.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/lp_book.mjs +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/order_events.d.mts +50 -50
- package/dist/contracts/deepbook_predict/order_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/order_events.mjs +3 -1
- package/dist/contracts/deepbook_predict/order_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/plp.d.mts +184 -82
- package/dist/contracts/deepbook_predict/plp.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/plp.mjs +126 -7
- package/dist/contracts/deepbook_predict/plp.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/pool_accounting.mjs +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 +91 -58
- package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/pricing.mjs +30 -3
- package/dist/contracts/deepbook_predict/pricing.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/pricing_config.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/protocol_config.d.mts +400 -92
- package/dist/contracts/deepbook_predict/protocol_config.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/protocol_config.mjs +451 -61
- package/dist/contracts/deepbook_predict/protocol_config.mjs.map +1 -1
- 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 +1 -1
- package/dist/contracts/deepbook_predict/strike_payout_tree.mjs +17 -12
- package/dist/contracts/deepbook_predict/strike_payout_tree.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/vault_events.d.mts +154 -106
- package/dist/contracts/deepbook_predict/vault_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/vault_events.mjs +57 -1
- package/dist/contracts/deepbook_predict/vault_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict_math/config-arguments.d.mts +10 -0
- package/dist/contracts/deepbook_predict_math/config-arguments.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_math/lazer_price.d.mts +106 -0
- package/dist/contracts/deepbook_predict_math/lazer_price.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_math/lazer_price.mjs +125 -0
- package/dist/contracts/deepbook_predict_math/lazer_price.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_math/math.d.mts +284 -0
- package/dist/contracts/deepbook_predict_math/math.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_math/math.mjs +364 -0
- package/dist/contracts/deepbook_predict_math/math.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/config-arguments.d.mts +13 -0
- package/dist/contracts/deepbook_predict_orders/config-arguments.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_orders/delayed_execution_config.d.mts +215 -0
- package/dist/contracts/deepbook_predict_orders/delayed_execution_config.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_orders/delayed_execution_config.mjs +215 -0
- package/dist/contracts/deepbook_predict_orders/delayed_execution_config.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/deps/deepbook_predict/expiry_market.mjs +87 -0
- package/dist/contracts/deepbook_predict_orders/deps/deepbook_predict/expiry_market.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/deps/deepbook_predict/pricing.mjs +52 -0
- package/dist/contracts/deepbook_predict_orders/deps/deepbook_predict/pricing.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/deps/fixed_math/i64.mjs +25 -0
- package/dist/contracts/deepbook_predict_orders/deps/fixed_math/i64.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/deps/sui/balance.mjs +21 -0
- package/dist/contracts/deepbook_predict_orders/deps/sui/balance.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/deps/sui/table.mjs +39 -0
- package/dist/contracts/deepbook_predict_orders/deps/sui/table.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/desk.d.mts +187 -0
- package/dist/contracts/deepbook_predict_orders/desk.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_orders/desk.mjs +261 -0
- package/dist/contracts/deepbook_predict_orders/desk.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/order_queue.d.mts +1042 -0
- package/dist/contracts/deepbook_predict_orders/order_queue.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_orders/order_queue.mjs +849 -0
- package/dist/contracts/deepbook_predict_orders/order_queue.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/queue.d.mts +683 -0
- package/dist/contracts/deepbook_predict_orders/queue.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_orders/queue.mjs +912 -0
- package/dist/contracts/deepbook_predict_orders/queue.mjs.map +1 -0
- package/dist/contracts/deepbook_predict_orders/queue_events.d.mts +195 -0
- package/dist/contracts/deepbook_predict_orders/queue_events.d.mts.map +1 -0
- package/dist/contracts/deepbook_predict_orders/queue_events.mjs +187 -0
- package/dist/contracts/deepbook_predict_orders/queue_events.mjs.map +1 -0
- package/dist/contracts/deepbook_sessions/session_config.d.mts +8 -8
- package/dist/contracts/deepbook_sessions/sessions.d.mts +163 -28
- package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.mjs +234 -5
- package/dist/contracts/deepbook_sessions/sessions.mjs.map +1 -1
- package/dist/deployments/mainnet.mjs +7 -4
- package/dist/deployments/mainnet.mjs.map +1 -1
- package/dist/deployments/testnet.mjs +7 -4
- package/dist/deployments/testnet.mjs.map +1 -1
- package/dist/predict/bindings/expiry-market.d.mts +77 -0
- package/dist/predict/bindings/expiry-market.d.mts.map +1 -0
- package/dist/predict/bindings/expiry-market.mjs +139 -0
- package/dist/predict/bindings/expiry-market.mjs.map +1 -0
- package/dist/predict/bindings/protocol-config.d.mts +39 -0
- package/dist/predict/bindings/protocol-config.d.mts.map +1 -0
- package/dist/predict/bindings/protocol-config.mjs +90 -0
- package/dist/predict/bindings/protocol-config.mjs.map +1 -0
- package/dist/predict/bindings/rename.mjs +9 -0
- package/dist/predict/bindings/rename.mjs.map +1 -0
- package/dist/predict/client.d.mts +595 -16
- package/dist/predict/client.d.mts.map +1 -1
- package/dist/predict/client.mjs +986 -10
- package/dist/predict/client.mjs.map +1 -1
- package/dist/predict/config/generated.d.mts +22 -1
- package/dist/predict/config/generated.d.mts.map +1 -1
- package/dist/predict/config/generated.mjs +30 -1
- package/dist/predict/config/generated.mjs.map +1 -1
- package/dist/predict/config/mainnet.mjs +11 -3
- package/dist/predict/config/mainnet.mjs.map +1 -1
- package/dist/predict/config/testnet.mjs +11 -3
- package/dist/predict/config/testnet.mjs.map +1 -1
- package/dist/predict/config/types.d.mts +50 -1
- package/dist/predict/config/types.d.mts.map +1 -1
- package/dist/predict/cost.d.mts +38 -11
- package/dist/predict/cost.d.mts.map +1 -1
- package/dist/predict/cost.mjs +37 -11
- package/dist/predict/cost.mjs.map +1 -1
- package/dist/predict/decode.d.mts +251 -1
- package/dist/predict/decode.d.mts.map +1 -1
- package/dist/predict/decode.mjs +342 -4
- package/dist/predict/decode.mjs.map +1 -1
- package/dist/predict/errors.d.mts +69 -6
- package/dist/predict/errors.d.mts.map +1 -1
- package/dist/predict/errors.mjs +277 -4
- package/dist/predict/errors.mjs.map +1 -1
- package/dist/predict/index.d.mts +21 -10
- package/dist/predict/index.mjs +24 -12
- package/dist/predict/queue-id.d.mts +13 -0
- package/dist/predict/queue-id.d.mts.map +1 -0
- package/dist/predict/queue-id.mjs +19 -0
- package/dist/predict/queue-id.mjs.map +1 -0
- package/dist/predict/queue.d.mts +505 -0
- package/dist/predict/queue.d.mts.map +1 -0
- package/dist/predict/queue.mjs +774 -0
- package/dist/predict/queue.mjs.map +1 -0
- package/dist/predict/reads/balances.mjs +1 -1
- package/dist/predict/reads/markets.mjs +46 -5
- package/dist/predict/reads/markets.mjs.map +1 -1
- package/dist/predict/reads/pool.mjs +1 -1
- package/dist/predict/reads/pricing.d.mts +1 -1
- package/dist/predict/reads/queue.d.mts +105 -0
- package/dist/predict/reads/queue.d.mts.map +1 -0
- package/dist/predict/reads/queue.mjs +445 -0
- package/dist/predict/reads/queue.mjs.map +1 -0
- package/dist/predict/ticks.d.mts +9 -1
- package/dist/predict/ticks.d.mts.map +1 -1
- package/dist/predict/ticks.mjs +18 -1
- package/dist/predict/ticks.mjs.map +1 -1
- package/dist/predict/tx/authed.mjs +1 -1
- package/dist/predict/tx/common.d.mts.map +1 -1
- package/dist/predict/tx/common.mjs +12 -1
- package/dist/predict/tx/common.mjs.map +1 -1
- package/dist/predict/tx/queue.d.mts +220 -0
- package/dist/predict/tx/queue.d.mts.map +1 -0
- package/dist/predict/tx/queue.mjs +399 -0
- package/dist/predict/tx/queue.mjs.map +1 -0
- package/dist/predict/tx/trade.d.mts.map +1 -1
- package/dist/predict/tx/trade.mjs +61 -43
- package/dist/predict/tx/trade.mjs.map +1 -1
- package/dist/sessions.d.mts +90 -2
- package/dist/sessions.d.mts.map +1 -1
- package/dist/sessions.mjs +107 -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/deepbook.d.mts.map +1 -1
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/deepbookAdmin.d.mts.map +1 -1
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginAdmin.d.mts.map +1 -1
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginMaintainer.d.mts.map +1 -1
- package/dist/transactions/marginManager.d.mts +32 -32
- package/dist/transactions/marginManager.d.mts.map +1 -1
- package/dist/transactions/marginPool.d.mts +18 -18
- 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 +4 -4
- package/src/contracts/deepbook_predict/config_events.ts +39 -0
- package/src/contracts/deepbook_predict/deps/std/type_name.ts +24 -0
- package/src/contracts/deepbook_predict/expiry_market.ts +960 -169
- package/src/contracts/deepbook_predict/order_events.ts +3 -1
- package/src/contracts/deepbook_predict/plp.ts +150 -9
- package/src/contracts/deepbook_predict/pricing.ts +46 -7
- package/src/contracts/deepbook_predict/pricing_config.ts +3 -1
- package/src/contracts/deepbook_predict/protocol_config.ts +648 -33
- package/src/contracts/deepbook_predict/strike_payout_tree.ts +25 -21
- package/src/contracts/deepbook_predict/vault_events.ts +65 -0
- package/src/contracts/deepbook_predict_math/config-arguments.ts +6 -0
- package/src/contracts/deepbook_predict_math/lazer_price.ts +196 -0
- package/src/contracts/deepbook_predict_math/math.ts +553 -0
- package/src/contracts/deepbook_predict_orders/config-arguments.ts +11 -0
- package/src/contracts/deepbook_predict_orders/delayed_execution_config.ts +430 -0
- package/src/contracts/deepbook_predict_orders/deps/deepbook_predict/expiry_market.ts +108 -0
- package/src/contracts/deepbook_predict_orders/deps/deepbook_predict/pricing.ts +58 -0
- package/src/contracts/deepbook_predict_orders/deps/fixed_math/i64.ts +21 -0
- package/src/contracts/deepbook_predict_orders/deps/sui/balance.ts +19 -0
- package/src/contracts/deepbook_predict_orders/deps/sui/table.ts +37 -0
- package/src/contracts/deepbook_predict_orders/desk.ts +419 -0
- package/src/contracts/deepbook_predict_orders/order_flow.ts +19 -0
- package/src/contracts/deepbook_predict_orders/order_queue.ts +1670 -0
- package/src/contracts/deepbook_predict_orders/queue.ts +1394 -0
- package/src/contracts/deepbook_predict_orders/queue_events.ts +189 -0
- package/src/contracts/deepbook_sessions/sessions.ts +355 -4
- package/src/deployments/mainnet.ts +7 -2
- package/src/deployments/testnet.ts +7 -2
- package/src/deployments/types.ts +14 -1
- package/src/predict/bindings/expiry-market.ts +127 -0
- package/src/predict/bindings/protocol-config.ts +59 -0
- package/src/predict/bindings/rename.ts +14 -0
- package/src/predict/client.ts +2076 -13
- package/src/predict/config/generated.ts +50 -0
- package/src/predict/config/mainnet.ts +16 -2
- package/src/predict/config/testnet.ts +16 -2
- package/src/predict/config/types.ts +51 -1
- package/src/predict/cost.ts +62 -14
- package/src/predict/decode.ts +691 -2
- package/src/predict/errors.ts +391 -14
- package/src/predict/index.ts +87 -6
- package/src/predict/queue-id.ts +22 -0
- package/src/predict/queue.ts +1231 -0
- package/src/predict/reads/markets.ts +30 -0
- package/src/predict/reads/queue.ts +606 -0
- package/src/predict/ticks.ts +35 -0
- package/src/predict/tx/common.ts +25 -1
- package/src/predict/tx/queue.ts +525 -0
- package/src/predict/tx/trade.ts +80 -49
- package/src/sessions.ts +206 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { ConfigValue, MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs128 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions180 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/plp.d.ts
|
|
7
7
|
declare namespace plp_d_exports {
|
|
8
|
-
export { ActiveExpiryMarketsArguments, ActiveExpiryMarketsOptions, ActiveLiveExpiryCountArguments, ActiveLiveExpiryCountOptions, CancelSupplyRequestArguments, CancelSupplyRequestOptions, CancelWithdrawRequestArguments, CancelWithdrawRequestOptions, FeeIncentiveReserveArguments, FeeIncentiveReserveOptions, FinishFlushArguments, FinishFlushOptions, IdArguments, IdOptions, IdleBalanceArguments, IdleBalanceOptions, LockCapitalArguments, LockCapitalOptions, PLP, PendingProtocolProfitArguments, PendingProtocolProfitOptions, PlpTotalSupplyArguments, PlpTotalSupplyOptions, PoolValuation, PoolValuationProof, PoolVault, ProfitBasisCreditsArguments, ProfitBasisCreditsOptions, ProfitBasisDebitsArguments, ProfitBasisDebitsOptions, ProtocolReserveBalanceArguments, ProtocolReserveBalanceOptions, RebalanceExpiryCashArguments, RebalanceExpiryCashOptions, RequestSupplyArguments, RequestSupplyOptions, RequestWithdrawArguments, RequestWithdrawOptions, SealValuationSnapshotArguments, SealValuationSnapshotOptions, SnapshotExpiryPricerArguments, SnapshotExpiryPricerOptions, SnapshotStage, SponsorFeeIncentivesArguments, SponsorFeeIncentivesOptions, StartPoolValuationArguments, StartPoolValuationOptions, SupplyRequestsPendingArguments, SupplyRequestsPendingOptions, ValueExpiryArguments, ValueExpiryOptions, WithdrawRequestsPendingArguments, WithdrawRequestsPendingOptions, activeExpiryMarkets, activeLiveExpiryCount, cancelSupplyRequest, cancelWithdrawRequest, feeIncentiveReserve, finishFlush, id, idleBalance, lockCapital, pendingProtocolProfit, plpTotalSupply, profitBasisCredits, profitBasisDebits, protocolReserveBalance, rebalanceExpiryCash, requestSupply, requestWithdraw, sealValuationSnapshot, snapshotExpiryPricer, sponsorFeeIncentives, startPoolValuation, supplyRequestsPending, valueExpiry, withdrawRequestsPending };
|
|
8
|
+
export { ActiveExpiryMarketsArguments, ActiveExpiryMarketsOptions, ActiveLiveExpiryCountArguments, ActiveLiveExpiryCountOptions, AddUsdcToPlpArguments, AddUsdcToPlpOptions, CancelSupplyRequestArguments, CancelSupplyRequestOptions, CancelWithdrawRequestArguments, CancelWithdrawRequestOptions, FeeIncentiveReserveArguments, FeeIncentiveReserveOptions, FinishFlushArguments, FinishFlushOptions, IdArguments, IdOptions, IdleBalanceArguments, IdleBalanceOptions, LockCapitalArguments, LockCapitalOptions, PLP, PendingProtocolProfitArguments, PendingProtocolProfitOptions, PlpTotalSupplyArguments, PlpTotalSupplyOptions, PoolValuation, PoolValuationProof, PoolVault, ProfitBasisCreditsArguments, ProfitBasisCreditsOptions, ProfitBasisDebitsArguments, ProfitBasisDebitsOptions, ProtocolReserveBalanceArguments, ProtocolReserveBalanceOptions, RebalanceExpiryCashArguments, RebalanceExpiryCashOptions, RequestSupplyArguments, RequestSupplyOptions, RequestWithdrawArguments, RequestWithdrawOptions, SealValuationSnapshotArguments, SealValuationSnapshotOptions, SnapshotExpiryPricerArguments, SnapshotExpiryPricerOptions, SnapshotStage, SponsorFeeIncentivesArguments, SponsorFeeIncentivesOptions, StartPoolValuationArguments, StartPoolValuationOptions, SupplyRequestsPendingArguments, SupplyRequestsPendingOptions, ValueExpiryArguments, ValueExpiryOptions, WithdrawFeeIncentivesArguments, WithdrawFeeIncentivesOptions, WithdrawRequestsPendingArguments, WithdrawRequestsPendingOptions, activeExpiryMarkets, activeLiveExpiryCount, addUsdcToPlp, cancelSupplyRequest, cancelWithdrawRequest, feeIncentiveReserve, finishFlush, id, idleBalance, lockCapital, pendingProtocolProfit, plpTotalSupply, profitBasisCredits, profitBasisDebits, protocolReserveBalance, rebalanceExpiryCash, requestSupply, requestWithdraw, sealValuationSnapshot, snapshotExpiryPricer, sponsorFeeIncentives, startPoolValuation, supplyRequestsPending, valueExpiry, withdrawFeeIncentives, withdrawRequestsPending };
|
|
9
9
|
}
|
|
10
10
|
declare const PLP: MoveStruct<{
|
|
11
|
-
dummy_field:
|
|
11
|
+
dummy_field: _mysten_sui_bcs128.BcsType<boolean, boolean, "bool">;
|
|
12
12
|
}, "@local-pkg/deepbook_predict::plp::PLP">;
|
|
13
13
|
declare const PoolValuationProof: MoveStruct<{
|
|
14
|
-
dummy_field:
|
|
14
|
+
dummy_field: _mysten_sui_bcs128.BcsType<boolean, boolean, "bool">;
|
|
15
15
|
}, "@local-pkg/deepbook_predict::plp::PoolValuationProof">;
|
|
16
16
|
declare const SnapshotStage: MoveStruct<{
|
|
17
|
-
dummy_field:
|
|
17
|
+
dummy_field: _mysten_sui_bcs128.BcsType<boolean, boolean, "bool">;
|
|
18
18
|
}, "@local-pkg/deepbook_predict::plp::SnapshotStage">;
|
|
19
19
|
declare const PoolValuation: MoveStruct<{
|
|
20
|
-
/** Active expiry markets snapshotted at start; every one must be valued. */expected_expiry_markets:
|
|
20
|
+
/** Active expiry markets snapshotted at start; every one must be valued. */expected_expiry_markets: _mysten_sui_bcs128.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
21
21
|
length: number;
|
|
22
22
|
}, string>; /** Markets valued so far this flush; folded against `expected` at finish. */
|
|
23
|
-
valued_expiry_markets:
|
|
23
|
+
valued_expiry_markets: _mysten_sui_bcs128.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
24
24
|
length: number;
|
|
25
25
|
}, string>; /** Running Σ of each valued market's snapshot NAV (settled markets contribute 0). */
|
|
26
|
-
total_nav:
|
|
26
|
+
total_nav: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
27
27
|
/**
|
|
28
28
|
* Oracle state frozen during the snapshot stage, one entry per expected market.
|
|
29
29
|
* Keyed by market id so a `Pricer` can never be applied to the wrong market.
|
|
@@ -33,7 +33,7 @@ declare const PoolValuation: MoveStruct<{
|
|
|
33
33
|
* clock or oracle state can change a market's contribution.
|
|
34
34
|
*/
|
|
35
35
|
frozen_pricers: MoveStruct<{
|
|
36
|
-
contents:
|
|
36
|
+
contents: _mysten_sui_bcs128.BcsType<{
|
|
37
37
|
key: string;
|
|
38
38
|
value: {
|
|
39
39
|
expiry_market_id: string;
|
|
@@ -89,24 +89,22 @@ declare const PoolValuation: MoveStruct<{
|
|
|
89
89
|
* Set by `seal_valuation_snapshot`; no market may be valued before it. Nothing may
|
|
90
90
|
* be snapshotted after it because sealing consumes the `SnapshotStage`.
|
|
91
91
|
*/
|
|
92
|
-
sealed:
|
|
93
|
-
started_at_ms:
|
|
92
|
+
sealed: _mysten_sui_bcs128.BcsType<boolean, boolean, "bool">; /** Clock time the flush was started, for the stuck-flush deadline. */
|
|
93
|
+
started_at_ms: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
94
94
|
/**
|
|
95
95
|
* Drain budgets committed at start (the cap owner's choice), bounding how many
|
|
96
|
-
* requests each queue processes at finish.
|
|
97
|
-
*
|
|
98
|
-
* but only ever drains at these budgets, so completion can help LPs, never starve
|
|
99
|
-
* them by finishing with a zero budget.
|
|
96
|
+
* requests each queue processes at finish. `finish_flush` takes no budget, so the
|
|
97
|
+
* flush operator who completes it drains at exactly these.
|
|
100
98
|
*/
|
|
101
|
-
supply_budget:
|
|
102
|
-
withdraw_budget:
|
|
99
|
+
supply_budget: _mysten_sui_bcs128.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
100
|
+
withdraw_budget: _mysten_sui_bcs128.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
103
101
|
/**
|
|
104
102
|
* Each LP queue's `next_index` at the snapshot instant: the drain fills only
|
|
105
103
|
* requests indexed strictly below these, so nobody can watch the frozen mark form
|
|
106
104
|
* and then submit against a price they already know is stale.
|
|
107
105
|
*/
|
|
108
|
-
supply_request_cutoff:
|
|
109
|
-
withdraw_request_cutoff:
|
|
106
|
+
supply_request_cutoff: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
107
|
+
withdraw_request_cutoff: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
110
108
|
/**
|
|
111
109
|
* Vault-side figures captured by `seal_valuation_snapshot`. With every market's
|
|
112
110
|
* cash frozen in its stamp and these frozen here, the mark is a pure function of
|
|
@@ -115,65 +113,69 @@ declare const PoolValuation: MoveStruct<{
|
|
|
115
113
|
* during the snapshot stage, so their recoverable cash sits inside
|
|
116
114
|
* `frozen_idle_balance`.
|
|
117
115
|
*/
|
|
118
|
-
frozen_idle_balance:
|
|
119
|
-
frozen_profit_basis_credits:
|
|
120
|
-
frozen_profit_basis_debits:
|
|
121
|
-
frozen_pending_protocol_profit:
|
|
116
|
+
frozen_idle_balance: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
117
|
+
frozen_profit_basis_credits: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
118
|
+
frozen_profit_basis_debits: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
119
|
+
frozen_pending_protocol_profit: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
122
120
|
}, "@local-pkg/deepbook_predict::plp::PoolValuation">;
|
|
123
121
|
declare const PoolVault: MoveStruct<{
|
|
124
|
-
id:
|
|
122
|
+
id: _mysten_sui_bcs128.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
125
123
|
/**
|
|
126
124
|
* Protocol-owned USDC excluded from PLP redemption. No package entrypoint
|
|
127
125
|
* withdraws this balance.
|
|
128
126
|
*/
|
|
129
127
|
protocol_reserve_balance: MoveStruct<{
|
|
130
|
-
value:
|
|
131
|
-
}, "0x2::balance::Balance<phantom T>">;
|
|
128
|
+
value: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
129
|
+
}, "0x2::balance::Balance<phantom T>">;
|
|
130
|
+
/**
|
|
131
|
+
* Sponsor-funded USDC reserved for taker fee sponsorship, excluded from PLP NAV.
|
|
132
|
+
* Admin may reclaim it through `withdraw_fee_incentives`.
|
|
133
|
+
*/
|
|
132
134
|
fee_incentive_reserve: MoveStruct<{
|
|
133
|
-
value:
|
|
135
|
+
value: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
134
136
|
}, "0x2::balance::Balance<phantom T>">; /** PLP share issuance plus queued supply/withdraw escrow. */
|
|
135
137
|
lp: MoveStruct<{
|
|
136
138
|
treasury_cap: MoveStruct<{
|
|
137
|
-
id:
|
|
139
|
+
id: _mysten_sui_bcs128.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
138
140
|
total_supply: MoveStruct<{
|
|
139
|
-
value:
|
|
141
|
+
value: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
140
142
|
}, "0x2::balance::Supply<phantom T>">;
|
|
141
143
|
}, "0x2::coin::TreasuryCap<phantom T>">;
|
|
142
144
|
supply_queue: MoveStruct<{
|
|
143
145
|
pages: MoveStruct<{
|
|
144
|
-
id:
|
|
145
|
-
size:
|
|
146
|
+
id: _mysten_sui_bcs128.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
147
|
+
size: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
146
148
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
147
|
-
head_page_id:
|
|
148
|
-
tail_page_id:
|
|
149
|
-
next_index:
|
|
150
|
-
pending:
|
|
149
|
+
head_page_id: _mysten_sui_bcs128.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
150
|
+
tail_page_id: _mysten_sui_bcs128.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
151
|
+
next_index: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
152
|
+
pending: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
151
153
|
escrow: MoveStruct<{
|
|
152
|
-
value:
|
|
154
|
+
value: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
153
155
|
}, "0x2::balance::Balance<phantom T>">;
|
|
154
156
|
}, "@local-pkg/deepbook_predict::lp_book::RequestQueue<phantom T>">;
|
|
155
157
|
withdraw_queue: MoveStruct<{
|
|
156
158
|
pages: MoveStruct<{
|
|
157
|
-
id:
|
|
158
|
-
size:
|
|
159
|
+
id: _mysten_sui_bcs128.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
160
|
+
size: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
159
161
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
160
|
-
head_page_id:
|
|
161
|
-
tail_page_id:
|
|
162
|
-
next_index:
|
|
163
|
-
pending:
|
|
162
|
+
head_page_id: _mysten_sui_bcs128.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
163
|
+
tail_page_id: _mysten_sui_bcs128.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
164
|
+
next_index: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
165
|
+
pending: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
164
166
|
escrow: MoveStruct<{
|
|
165
|
-
value:
|
|
167
|
+
value: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
166
168
|
}, "0x2::balance::Balance<phantom T>">;
|
|
167
169
|
}, "@local-pkg/deepbook_predict::lp_book::RequestQueue<phantom T>">;
|
|
168
170
|
locked_lp: MoveStruct<{
|
|
169
|
-
value:
|
|
171
|
+
value: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
170
172
|
}, "0x2::balance::Balance<phantom T>">;
|
|
171
173
|
}, "@local-pkg/deepbook_predict::lp_book::LpBook<phantom LP>">; /** Idle USDC custody, registered expiries, and per-expiry cash-flow rows. */
|
|
172
174
|
expiry_accounting: MoveStruct<{
|
|
173
175
|
idle_balance: MoveStruct<{
|
|
174
|
-
value:
|
|
176
|
+
value: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
175
177
|
}, "0x2::balance::Balance<phantom T>">;
|
|
176
|
-
active_expiry_markets:
|
|
178
|
+
active_expiry_markets: _mysten_sui_bcs128.BcsType<{
|
|
177
179
|
expiry_market_id: string;
|
|
178
180
|
expiry_ms: bigint;
|
|
179
181
|
}[], Iterable<{
|
|
@@ -183,19 +185,19 @@ declare const PoolVault: MoveStruct<{
|
|
|
183
185
|
length: number;
|
|
184
186
|
}, string>;
|
|
185
187
|
registered_expiries: MoveStruct<{
|
|
186
|
-
id:
|
|
187
|
-
size:
|
|
188
|
+
id: _mysten_sui_bcs128.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
189
|
+
size: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
188
190
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
189
|
-
profit_basis_debits:
|
|
190
|
-
profit_basis_credits:
|
|
191
|
-
net_losses_to_fill:
|
|
192
|
-
pending_protocol_profit:
|
|
191
|
+
profit_basis_debits: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
192
|
+
profit_basis_credits: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
193
|
+
net_losses_to_fill: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
194
|
+
pending_protocol_profit: _mysten_sui_bcs128.BcsType<bigint, string | number | bigint, "u64">;
|
|
193
195
|
}, "@local-pkg/deepbook_predict::pool_accounting::Ledger">;
|
|
194
196
|
/**
|
|
195
197
|
* In-flight full-pool valuation, held across transactions. `Some` exactly while
|
|
196
198
|
* the `ProtocolConfig` valuation flag is engaged.
|
|
197
199
|
*/
|
|
198
|
-
valuation:
|
|
200
|
+
valuation: _mysten_sui_bcs128.BcsType<{
|
|
199
201
|
expected_expiry_markets: string[];
|
|
200
202
|
valued_expiry_markets: string[];
|
|
201
203
|
total_nav: bigint;
|
|
@@ -297,7 +299,7 @@ interface IdOptions {
|
|
|
297
299
|
};
|
|
298
300
|
}
|
|
299
301
|
/** Return the pool vault object ID for external discovery and PTB construction. */
|
|
300
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
302
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
301
303
|
interface IdleBalanceArguments {
|
|
302
304
|
vault?: RawTransactionArgument<string>;
|
|
303
305
|
}
|
|
@@ -310,7 +312,7 @@ interface IdleBalanceOptions {
|
|
|
310
312
|
};
|
|
311
313
|
}
|
|
312
314
|
/** Return idle USDC for SDK and devInspect state reads. */
|
|
313
|
-
declare function idleBalance(options: IdleBalanceOptions): (tx: Transaction) =>
|
|
315
|
+
declare function idleBalance(options: IdleBalanceOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
314
316
|
interface ProtocolReserveBalanceArguments {
|
|
315
317
|
vault?: RawTransactionArgument<string>;
|
|
316
318
|
}
|
|
@@ -323,7 +325,7 @@ interface ProtocolReserveBalanceOptions {
|
|
|
323
325
|
};
|
|
324
326
|
}
|
|
325
327
|
/** Return protocol-owned USDC for SDK and devInspect state reads. */
|
|
326
|
-
declare function protocolReserveBalance(options: ProtocolReserveBalanceOptions): (tx: Transaction) =>
|
|
328
|
+
declare function protocolReserveBalance(options: ProtocolReserveBalanceOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
327
329
|
interface FeeIncentiveReserveArguments {
|
|
328
330
|
vault?: RawTransactionArgument<string>;
|
|
329
331
|
}
|
|
@@ -336,7 +338,7 @@ interface FeeIncentiveReserveOptions {
|
|
|
336
338
|
};
|
|
337
339
|
}
|
|
338
340
|
/** Return sponsor-funded fee reserves for SDK and devInspect state reads. */
|
|
339
|
-
declare function feeIncentiveReserve(options: FeeIncentiveReserveOptions): (tx: Transaction) =>
|
|
341
|
+
declare function feeIncentiveReserve(options: FeeIncentiveReserveOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
340
342
|
interface PlpTotalSupplyArguments {
|
|
341
343
|
vault?: RawTransactionArgument<string>;
|
|
342
344
|
}
|
|
@@ -349,7 +351,7 @@ interface PlpTotalSupplyOptions {
|
|
|
349
351
|
};
|
|
350
352
|
}
|
|
351
353
|
/** Return total PLP supply for SDK and devInspect state reads. */
|
|
352
|
-
declare function plpTotalSupply(options: PlpTotalSupplyOptions): (tx: Transaction) =>
|
|
354
|
+
declare function plpTotalSupply(options: PlpTotalSupplyOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
353
355
|
interface SupplyRequestsPendingArguments {
|
|
354
356
|
vault?: RawTransactionArgument<string>;
|
|
355
357
|
}
|
|
@@ -362,7 +364,7 @@ interface SupplyRequestsPendingOptions {
|
|
|
362
364
|
};
|
|
363
365
|
}
|
|
364
366
|
/** Return pending LP supply count for SDK and devInspect queue reads. */
|
|
365
|
-
declare function supplyRequestsPending(options: SupplyRequestsPendingOptions): (tx: Transaction) =>
|
|
367
|
+
declare function supplyRequestsPending(options: SupplyRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
366
368
|
interface WithdrawRequestsPendingArguments {
|
|
367
369
|
vault?: RawTransactionArgument<string>;
|
|
368
370
|
}
|
|
@@ -375,7 +377,7 @@ interface WithdrawRequestsPendingOptions {
|
|
|
375
377
|
};
|
|
376
378
|
}
|
|
377
379
|
/** Return pending LP withdrawal count for SDK and devInspect queue reads. */
|
|
378
|
-
declare function withdrawRequestsPending(options: WithdrawRequestsPendingOptions): (tx: Transaction) =>
|
|
380
|
+
declare function withdrawRequestsPending(options: WithdrawRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
379
381
|
interface ActiveExpiryMarketsArguments {
|
|
380
382
|
vault?: RawTransactionArgument<string>;
|
|
381
383
|
}
|
|
@@ -388,7 +390,7 @@ interface ActiveExpiryMarketsOptions {
|
|
|
388
390
|
};
|
|
389
391
|
}
|
|
390
392
|
/** Return active expiry IDs for external PTB construction and pool inspection. */
|
|
391
|
-
declare function activeExpiryMarkets(options: ActiveExpiryMarketsOptions): (tx: Transaction) =>
|
|
393
|
+
declare function activeExpiryMarkets(options: ActiveExpiryMarketsOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
392
394
|
interface ActiveLiveExpiryCountArguments {
|
|
393
395
|
vault?: RawTransactionArgument<string>;
|
|
394
396
|
}
|
|
@@ -401,7 +403,7 @@ interface ActiveLiveExpiryCountOptions {
|
|
|
401
403
|
};
|
|
402
404
|
}
|
|
403
405
|
/** Return the pre-expiry active count for SDK and devInspect capacity reads. */
|
|
404
|
-
declare function activeLiveExpiryCount(options: ActiveLiveExpiryCountOptions): (tx: Transaction) =>
|
|
406
|
+
declare function activeLiveExpiryCount(options: ActiveLiveExpiryCountOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
405
407
|
interface ProfitBasisDebitsArguments {
|
|
406
408
|
vault?: RawTransactionArgument<string>;
|
|
407
409
|
}
|
|
@@ -414,7 +416,7 @@ interface ProfitBasisDebitsOptions {
|
|
|
414
416
|
};
|
|
415
417
|
}
|
|
416
418
|
/** Return the profit-basis debits for external accounting observability. */
|
|
417
|
-
declare function profitBasisDebits(options: ProfitBasisDebitsOptions): (tx: Transaction) =>
|
|
419
|
+
declare function profitBasisDebits(options: ProfitBasisDebitsOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
418
420
|
interface ProfitBasisCreditsArguments {
|
|
419
421
|
vault?: RawTransactionArgument<string>;
|
|
420
422
|
}
|
|
@@ -427,7 +429,7 @@ interface ProfitBasisCreditsOptions {
|
|
|
427
429
|
};
|
|
428
430
|
}
|
|
429
431
|
/** Return the profit-basis credits for external accounting observability. */
|
|
430
|
-
declare function profitBasisCredits(options: ProfitBasisCreditsOptions): (tx: Transaction) =>
|
|
432
|
+
declare function profitBasisCredits(options: ProfitBasisCreditsOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
431
433
|
interface PendingProtocolProfitArguments {
|
|
432
434
|
vault?: RawTransactionArgument<string>;
|
|
433
435
|
}
|
|
@@ -440,7 +442,7 @@ interface PendingProtocolProfitOptions {
|
|
|
440
442
|
};
|
|
441
443
|
}
|
|
442
444
|
/** Return deferred protocol profit for external accounting observability. */
|
|
443
|
-
declare function pendingProtocolProfit(options: PendingProtocolProfitOptions): (tx: Transaction) =>
|
|
445
|
+
declare function pendingProtocolProfit(options: PendingProtocolProfitOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
444
446
|
interface StartPoolValuationArguments {
|
|
445
447
|
config?: RawTransactionArgument<string>;
|
|
446
448
|
vault?: RawTransactionArgument<string>;
|
|
@@ -465,7 +467,7 @@ interface StartPoolValuationOptions {
|
|
|
465
467
|
* snapshot stage: freeze every active market's pricer under the returned
|
|
466
468
|
* `SnapshotStage`, then seal it in the same transaction.
|
|
467
469
|
*/
|
|
468
|
-
declare function startPoolValuation(options: StartPoolValuationOptions): (tx: Transaction) =>
|
|
470
|
+
declare function startPoolValuation(options: StartPoolValuationOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
469
471
|
interface SnapshotExpiryPricerArguments {
|
|
470
472
|
vault?: RawTransactionArgument<string>;
|
|
471
473
|
Stage: TransactionArgument;
|
|
@@ -498,8 +500,8 @@ interface SnapshotExpiryPricerOptions {
|
|
|
498
500
|
* a payout tree — so all markets fit one PTB regardless of book size.
|
|
499
501
|
*
|
|
500
502
|
* The oracle feeding this stage must have been written in an EARLIER transaction:
|
|
501
|
-
* `pricing::
|
|
502
|
-
*
|
|
503
|
+
* `pricing::resolve_live` refuses a read stamped with the current transaction
|
|
504
|
+
* digest (RP-24), so a keeper cannot refresh and snapshot in one PTB.
|
|
503
505
|
*
|
|
504
506
|
* A market already settled at snapshot time is recorded with no pricer, gets no
|
|
505
507
|
* stamp (settled flows never touch live NAV), and contributes 0. An
|
|
@@ -508,7 +510,7 @@ interface SnapshotExpiryPricerOptions {
|
|
|
508
510
|
* flag is never left engaged. Settle it first, then start the flush; settlement is
|
|
509
511
|
* never blocked by a flush, so that ordering is always available.
|
|
510
512
|
*/
|
|
511
|
-
declare function snapshotExpiryPricer(options: SnapshotExpiryPricerOptions): (tx: Transaction) =>
|
|
513
|
+
declare function snapshotExpiryPricer(options: SnapshotExpiryPricerOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
512
514
|
interface SealValuationSnapshotArguments {
|
|
513
515
|
vault?: RawTransactionArgument<string>;
|
|
514
516
|
stage: TransactionArgument;
|
|
@@ -536,7 +538,7 @@ interface SealValuationSnapshotOptions {
|
|
|
536
538
|
* land between a stamp and this capture. Valuation may then resume across as many
|
|
537
539
|
* transactions as it needs.
|
|
538
540
|
*/
|
|
539
|
-
declare function sealValuationSnapshot(options: SealValuationSnapshotOptions): (tx: Transaction) =>
|
|
541
|
+
declare function sealValuationSnapshot(options: SealValuationSnapshotOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
540
542
|
interface ValueExpiryArguments {
|
|
541
543
|
vault?: RawTransactionArgument<string>;
|
|
542
544
|
market: RawTransactionArgument<string>;
|
|
@@ -566,7 +568,7 @@ interface ValueExpiryOptions {
|
|
|
566
568
|
* mid-window is valued at its frozen pre-expiry mark; its settlement does not wait
|
|
567
569
|
* for this call, because settlement is never blocked by a flush.
|
|
568
570
|
*/
|
|
569
|
-
declare function valueExpiry(options: ValueExpiryOptions): (tx: Transaction) =>
|
|
571
|
+
declare function valueExpiry(options: ValueExpiryOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
570
572
|
interface FinishFlushArguments {
|
|
571
573
|
vault?: RawTransactionArgument<string>;
|
|
572
574
|
config?: RawTransactionArgument<string>;
|
|
@@ -609,8 +611,13 @@ interface FinishFlushOptions {
|
|
|
609
611
|
* Because queueing is permissionless and a refunded request returns its escrow in
|
|
610
612
|
* the same transaction, an operator should bound both budgets in production rather
|
|
611
613
|
* than rely on queue length staying small — see RP-12.
|
|
614
|
+
*
|
|
615
|
+
* Only an allowlisted flush operator may call it
|
|
616
|
+
* (`protocol_config::ENotFlushOperator`). Fills move idle cash, so restricting who
|
|
617
|
+
* completes a flush keeps idle predictable for the keeper that funds markets for
|
|
618
|
+
* queued orders.
|
|
612
619
|
*/
|
|
613
|
-
declare function finishFlush(options: FinishFlushOptions): (tx: Transaction) =>
|
|
620
|
+
declare function finishFlush(options: FinishFlushOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
614
621
|
interface RebalanceExpiryCashArguments {
|
|
615
622
|
vault?: RawTransactionArgument<string>;
|
|
616
623
|
market: RawTransactionArgument<string>;
|
|
@@ -631,7 +638,10 @@ interface RebalanceExpiryCashOptions {
|
|
|
631
638
|
* Permissionless and standalone: anyone may call it at any cadence. Handles all
|
|
632
639
|
* three per-market cases — initial funding of a freshly registered (unfunded)
|
|
633
640
|
* market, ongoing live rebalance/surplus-sweep toward target, and the
|
|
634
|
-
* settled-market sweep (deactivate, return all free cash, materialize profit).
|
|
641
|
+
* settled-market sweep (deactivate, return all free cash, materialize profit). The
|
|
642
|
+
* live target covers the market's queued orders' cash need (the waiting cash need
|
|
643
|
+
* in `expiry_market::order_flow_state`), so the keeper calls this after each
|
|
644
|
+
* enqueue to fund those orders' fills, and a sweep never takes that cash back.
|
|
635
645
|
* Call `expiry_market::try_settle` first in the same PTB when settlement may be
|
|
636
646
|
* due. An expired unsettled market is a no-op until that transition succeeds. Mint
|
|
637
647
|
* asserts backing but never pulls pool cash, so this is what makes a market
|
|
@@ -643,7 +653,7 @@ interface RebalanceExpiryCashOptions {
|
|
|
643
653
|
* between a market's stamp and the seal's vault capture would skew the frozen
|
|
644
654
|
* figures, so it is structurally rejected rather than corrected for.
|
|
645
655
|
*/
|
|
646
|
-
declare function rebalanceExpiryCash(options: RebalanceExpiryCashOptions): (tx: Transaction) =>
|
|
656
|
+
declare function rebalanceExpiryCash(options: RebalanceExpiryCashOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
647
657
|
interface SponsorFeeIncentivesArguments {
|
|
648
658
|
vault?: RawTransactionArgument<string>;
|
|
649
659
|
config?: RawTransactionArgument<string>;
|
|
@@ -661,9 +671,101 @@ interface SponsorFeeIncentivesOptions {
|
|
|
661
671
|
/**
|
|
662
672
|
* Sponsor taker fee incentives with USDC. Anyone may contribute; the payment joins
|
|
663
673
|
* a pool-level reserve that is excluded from PLP NAV and later allocated to expiry
|
|
664
|
-
* markets by the normal rebalance flow.
|
|
674
|
+
* markets by the normal rebalance flow. A contribution is not earmarked to its
|
|
675
|
+
* sponsor: admin can withdraw any of the reserve through
|
|
676
|
+
* `withdraw_fee_incentives`.
|
|
677
|
+
*/
|
|
678
|
+
declare function sponsorFeeIncentives(options: SponsorFeeIncentivesOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
679
|
+
interface WithdrawFeeIncentivesArguments {
|
|
680
|
+
vault?: RawTransactionArgument<string>;
|
|
681
|
+
AdminCap: RawTransactionArgument<string>;
|
|
682
|
+
config?: RawTransactionArgument<string>;
|
|
683
|
+
amount: RawTransactionArgument<number | bigint>;
|
|
684
|
+
}
|
|
685
|
+
interface WithdrawFeeIncentivesOptions {
|
|
686
|
+
package?: string;
|
|
687
|
+
arguments: WithdrawFeeIncentivesArguments;
|
|
688
|
+
config?: {
|
|
689
|
+
poolVault: ConfigValue;
|
|
690
|
+
protocolConfig: ConfigValue;
|
|
691
|
+
predictPackageId?: string;
|
|
692
|
+
};
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* Withdraw `amount` USDC of sponsor-funded fee incentives from the pool-level
|
|
696
|
+
* reserve, for sponsorship the protocol no longer wants to spend. Admin-only.
|
|
697
|
+
*
|
|
698
|
+
* Reaches the reserve only. Incentives already allocated to a live market stay in
|
|
699
|
+
* that market's `fee_incentive_balance` and return to the reserve when its
|
|
700
|
+
* settled-market sweep runs, after which they can be withdrawn here; setting
|
|
701
|
+
* `protocol_config::set_fee_incentive_subsidy_rate` to zero stops them being spent
|
|
702
|
+
* in the meantime. The per-expiry lifetime allocation counters are not credited
|
|
703
|
+
* back: they bound what a market may ever receive, and a withdrawal does not
|
|
704
|
+
* change what a market already received.
|
|
705
|
+
*
|
|
706
|
+
* Not gated on the valuation flag, in either stage of a flush: the reserve is
|
|
707
|
+
* excluded from PLP NAV and no flush figure, frozen or live, reads it, so a
|
|
708
|
+
* withdrawal cannot reach the mark.
|
|
709
|
+
*/
|
|
710
|
+
declare function withdrawFeeIncentives(options: WithdrawFeeIncentivesOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
711
|
+
interface AddUsdcToPlpArguments {
|
|
712
|
+
vault?: RawTransactionArgument<string>;
|
|
713
|
+
config?: RawTransactionArgument<string>;
|
|
714
|
+
payment: RawTransactionArgument<string>;
|
|
715
|
+
}
|
|
716
|
+
interface AddUsdcToPlpOptions {
|
|
717
|
+
package?: string;
|
|
718
|
+
arguments: AddUsdcToPlpArguments;
|
|
719
|
+
config?: {
|
|
720
|
+
poolVault: ConfigValue;
|
|
721
|
+
protocolConfig: ConfigValue;
|
|
722
|
+
predictPackageId?: string;
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* Add USDC straight to pool idle liquidity without minting any PLP. Anyone may
|
|
727
|
+
* call it; the payment is an outright gift to the existing share base, so the
|
|
728
|
+
* caller receives nothing back and no share of it is recoverable.
|
|
729
|
+
*
|
|
730
|
+
* This is the incentive/top-up path: because no shares are issued, the whole
|
|
731
|
+
* `payment` lands inside the value the next flush's mark divides by an unchanged
|
|
732
|
+
* `total_supply`, which raises NAV per PLP for every current holder. It
|
|
733
|
+
* deliberately does not touch the profit basis — the basis tracks cash sent to and
|
|
734
|
+
* returned from expiries, so an outside contribution is neither a debit nor a
|
|
735
|
+
* credit, and the protocol reserve therefore takes no cut of it (`pool_value`
|
|
736
|
+
* leaves `exclusion` unchanged while `gross_pool_value` grows). Sending the same
|
|
737
|
+
* USDC through `request_supply` instead mints shares against it, so only the
|
|
738
|
+
* supply fee would reach existing holders — zero as shipped.
|
|
739
|
+
*
|
|
740
|
+
* Three gates, each closing a state this entrypoint would otherwise manufacture:
|
|
741
|
+
*
|
|
742
|
+
* - **Bootstrapped pool.** At `total_supply == 0` there is no share base to
|
|
743
|
+
* credit; the USDC would only inflate the genesis lock's non-withdrawable stake.
|
|
744
|
+
* - **Contribution price ceiling.** Pool cash after the contribution — idle plus
|
|
745
|
+
* the net cash deployed into active expiries — may price at most
|
|
746
|
+
* `contribution_price_ceiling_factor` USDC per PLP, a tenth of the band a flush
|
|
747
|
+
* mark needs to be fillable. Above the band every supply and withdraw head is
|
|
748
|
+
* refunded (RP-2) and `total_supply` grows only through a supply fill, so
|
|
749
|
+
* nothing brings the price back down — a terminal state that an unbounded
|
|
750
|
+
* contribution against a small share base would otherwise reach for the price of
|
|
751
|
+
* the contribution. The ceiling sits well inside the band because later fills
|
|
752
|
+
* only push the price up (rounding and retained fees stay in the pool), so a
|
|
753
|
+
* pool left exactly at the band would leave it on the next uneven or fee-charged
|
|
754
|
+
* fill. The test is one-sided because a contribution can only move the price up.
|
|
755
|
+
* It reads pool cash rather than pool NAV — NAV needs a flush — and counts
|
|
756
|
+
* deployed cash because the mark does: `rebalance_expiry_cash` is
|
|
757
|
+
* permissionless, so an idle-only test could be emptied into a market and passed
|
|
758
|
+
* again. Cash is exactly the protocol-controlled share: the guard forbids this
|
|
759
|
+
* entrypoint from _manufacturing_ the degenerate ratio and leaves market-driven
|
|
760
|
+
* NAV moves (trader premiums and P&L) to RP-1/RP-2, which own them.
|
|
761
|
+
* - **No flush in flight.** The seal freezes idle mid-flush, so an ungated
|
|
762
|
+
* contribution would land on one side or the other of that capture depending
|
|
763
|
+
* only on when the contributor's transaction executed — either paying that
|
|
764
|
+
* flush's queued withdrawals or not. `sponsor_fee_incentives` takes the same
|
|
765
|
+
* gate. `rebalance_expiry_cash` may run mid-window because it only moves cash
|
|
766
|
+
* between two figures the seal already froze; new value is different.
|
|
665
767
|
*/
|
|
666
|
-
declare function
|
|
768
|
+
declare function addUsdcToPlp(options: AddUsdcToPlpOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
667
769
|
interface LockCapitalArguments {
|
|
668
770
|
vault?: RawTransactionArgument<string>;
|
|
669
771
|
config?: RawTransactionArgument<string>;
|
|
@@ -688,7 +790,7 @@ interface LockCapitalOptions {
|
|
|
688
790
|
* Supply, withdrawal, and flush flows remain disabled until the locked liquidity
|
|
689
791
|
* has been created.
|
|
690
792
|
*/
|
|
691
|
-
declare function lockCapital(options: LockCapitalOptions): (tx: Transaction) =>
|
|
793
|
+
declare function lockCapital(options: LockCapitalOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
692
794
|
interface RequestSupplyArguments {
|
|
693
795
|
vault?: RawTransactionArgument<string>;
|
|
694
796
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -721,7 +823,7 @@ interface RequestSupplyOptions {
|
|
|
721
823
|
* that many flushes first. Returns the queue index, the handle used to cancel
|
|
722
824
|
* before the flush.
|
|
723
825
|
*/
|
|
724
|
-
declare function requestSupply(options: RequestSupplyOptions): (tx: Transaction) =>
|
|
826
|
+
declare function requestSupply(options: RequestSupplyOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
725
827
|
interface RequestWithdrawArguments {
|
|
726
828
|
vault?: RawTransactionArgument<string>;
|
|
727
829
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -753,7 +855,7 @@ interface RequestWithdrawOptions {
|
|
|
753
855
|
* there and then; a higher configured count lets it rest and retry that many
|
|
754
856
|
* flushes first. Returns the queue index used to cancel before the flush.
|
|
755
857
|
*/
|
|
756
|
-
declare function requestWithdraw(options: RequestWithdrawOptions): (tx: Transaction) =>
|
|
858
|
+
declare function requestWithdraw(options: RequestWithdrawOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
757
859
|
interface CancelSupplyRequestArguments {
|
|
758
860
|
vault?: RawTransactionArgument<string>;
|
|
759
861
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -774,7 +876,7 @@ interface CancelSupplyRequestOptions {
|
|
|
774
876
|
* Cancel a still-pending supply request, refunding its escrowed USDC straight into
|
|
775
877
|
* the requesting account. `account` must be the request's recorded recipient.
|
|
776
878
|
*/
|
|
777
|
-
declare function cancelSupplyRequest(options: CancelSupplyRequestOptions): (tx: Transaction) =>
|
|
879
|
+
declare function cancelSupplyRequest(options: CancelSupplyRequestOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
778
880
|
interface CancelWithdrawRequestArguments {
|
|
779
881
|
vault?: RawTransactionArgument<string>;
|
|
780
882
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -795,7 +897,7 @@ interface CancelWithdrawRequestOptions {
|
|
|
795
897
|
* Cancel a still-pending withdraw request, refunding its escrowed PLP straight
|
|
796
898
|
* into the requesting account. `account` must be the request's recorded recipient.
|
|
797
899
|
*/
|
|
798
|
-
declare function cancelWithdrawRequest(options: CancelWithdrawRequestOptions): (tx: Transaction) =>
|
|
900
|
+
declare function cancelWithdrawRequest(options: CancelWithdrawRequestOptions): (tx: Transaction) => _mysten_sui_transactions180.TransactionResult;
|
|
799
901
|
//#endregion
|
|
800
902
|
export { plp_d_exports };
|
|
801
903
|
//# sourceMappingURL=plp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plp.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/plp.ts"],"mappings":";;;;;;;;;cAkCa,GAAA,EAAG,UAAA;eAKd,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,kBAAA,EAAkB,UAAA;eAK7B,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,aAAA,EAAa,UAAA;eAKxB,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,aAAA,EAAa,UAAA
|
|
1
|
+
{"version":3,"file":"plp.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/plp.ts"],"mappings":";;;;;;;;;cAkCa,GAAA,EAAG,UAAA;eAKd,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,kBAAA,EAAkB,UAAA;eAK7B,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,aAAA,EAAa,UAAA;eAKxB,kBAAA,CAAA,OAAA;AAAA;AAAA,cACW,aAAA,EAAa,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAZ1B;;;gEAA+B;;;;;AAM/B;;;;EAA0B;;;;;;;;;;;;;;;;;;;;cA2Db,SAAA,EAAS,UAAA;;;;;;;;;;;;;;;0CArDI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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