@mysten/deepbook-v3 2.10.0 → 2.10.1
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 +11 -0
- package/dist/account-bindings/account-registry.d.mts +13 -13
- package/dist/account-bindings/account.d.mts +25 -25
- package/dist/account-bindings/account.d.mts.map +1 -1
- package/dist/contracts/account/account_events.d.mts +20 -20
- package/dist/contracts/account/account_events.d.mts.map +1 -1
- package/dist/contracts/account/account_registry.d.mts +6 -6
- 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/admin.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code.d.mts +16 -16
- 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 +85 -85
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +62 -62
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts.map +1 -1
- 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/pause_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/plp.d.mts +74 -74
- 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/pool_valuation_cap.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/predict_account.d.mts +14 -14
- package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/pricing.d.mts +67 -67
- package/dist/contracts/deepbook_predict/pricing.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/protocol_config.d.mts +85 -85
- package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/range_codec.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/registry.d.mts +32 -32
- package/dist/contracts/deepbook_predict/registry.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/vault_events.d.mts +131 -131
- package/dist/contracts/deepbook_predict_math/lazer_price.d.mts +13 -13
- package/dist/contracts/deepbook_predict_math/math.d.mts +14 -14
- package/dist/contracts/deepbook_predict_orders/delayed_execution_config.d.mts +30 -30
- package/dist/contracts/deepbook_predict_orders/desk.d.mts +28 -28
- package/dist/contracts/deepbook_predict_orders/desk.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict_orders/order_queue.d.mts +187 -187
- package/dist/contracts/deepbook_predict_orders/queue.d.mts +54 -54
- package/dist/contracts/deepbook_predict_orders/queue_events.d.mts +140 -140
- 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 +45 -45
- package/dist/predict/bindings/expiry-market.d.mts +8 -8
- package/dist/predict/bindings/expiry-market.d.mts.map +1 -1
- package/dist/predict/bindings/protocol-config.d.mts +3 -3
- package/dist/predict/bindings/protocol-config.d.mts.map +1 -1
- package/dist/predict/bindings/queue.d.mts +2 -2
- package/dist/predict/bindings/queue.d.mts.map +1 -1
- package/dist/transactions/balanceManager.d.mts +12 -12
- 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/marginRegistry.d.mts +16 -16
- package/dist/transactions/marginTPSL.d.mts +10 -10
- package/dist/transactions/poolProxy.d.mts +8 -8
- package/dist/utils/constants.d.mts.map +1 -1
- package/dist/utils/constants.mjs +1 -1
- package/dist/utils/constants.mjs.map +1 -1
- package/package.json +1 -1
- package/src/utils/constants.ts +3 -2
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import { ConfigValue, MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs768 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions528 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/protocol_config.d.ts
|
|
7
7
|
declare const ProtocolConfig: MoveStruct<{
|
|
8
|
-
id:
|
|
8
|
+
id: _mysten_sui_bcs768.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
9
9
|
pricing_config: MoveStruct<{
|
|
10
|
-
use_pyth_spot_for_forward:
|
|
11
|
-
pyth_spot_freshness_ms:
|
|
12
|
-
block_scholes_price_freshness_ms:
|
|
13
|
-
block_scholes_svi_freshness_ms:
|
|
10
|
+
use_pyth_spot_for_forward: _mysten_sui_bcs768.BcsType<boolean, boolean, "bool">;
|
|
11
|
+
pyth_spot_freshness_ms: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
12
|
+
block_scholes_price_freshness_ms: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
13
|
+
block_scholes_svi_freshness_ms: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
14
14
|
}, "@local-pkg/deepbook_predict::pricing_config::PricingConfig">;
|
|
15
15
|
/**
|
|
16
16
|
* Merged protocol + insurance reserve share of materialized terminal profit, in
|
|
17
17
|
* FLOAT_SCALING. The complement accrues to LPs.
|
|
18
18
|
*/
|
|
19
|
-
protocol_reserve_profit_share:
|
|
19
|
+
protocol_reserve_profit_share: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
20
20
|
/**
|
|
21
21
|
* Portion of a referred mint's trader-paid trading fee and congestion surcharge
|
|
22
22
|
* routed to the referrer, in FLOAT_SCALING.
|
|
23
23
|
*/
|
|
24
|
-
referral_fee_rate:
|
|
24
|
+
referral_fee_rate: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
25
25
|
/**
|
|
26
26
|
* Fee charged on an executed PLP supply fill, in FLOAT_SCALING, deducted from the
|
|
27
27
|
* USDC taken in before shares are priced. Ships at zero — a deposit dilutes the
|
|
28
28
|
* pool's risk per dollar rather than concentrating it, so it is not taxed; the
|
|
29
29
|
* knob exists to keep that reversible.
|
|
30
30
|
*/
|
|
31
|
-
plp_supply_fee_rate:
|
|
31
|
+
plp_supply_fee_rate: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
32
32
|
/**
|
|
33
33
|
* Fee charged on an executed PLP withdraw fill, in FLOAT_SCALING, withheld from
|
|
34
34
|
* the marked payout. Retained by the pool, so it accrues to the holders who stay.
|
|
35
35
|
* Both rates are read once per flush into the frozen mark, so every fill in one
|
|
36
36
|
* flush is charged the same pair.
|
|
37
37
|
*/
|
|
38
|
-
plp_withdraw_fee_rate:
|
|
38
|
+
plp_withdraw_fee_rate: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
39
39
|
/**
|
|
40
40
|
* Frozen-mark attempts a queued LP supply/withdraw request gets before the
|
|
41
41
|
* protocol cancels and refunds it. `1` (the default) is fill-or-kill; above that a
|
|
42
42
|
* missing request rests at the queue head and stops that queue for the flush, so
|
|
43
43
|
* this is an LP-queue liveness knob (RP-12).
|
|
44
44
|
*/
|
|
45
|
-
lp_request_limit_flush_attempts:
|
|
45
|
+
lp_request_limit_flush_attempts: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
46
46
|
/**
|
|
47
47
|
* Ceiling on LP-attributable pool value that queued supplies may raise the pool
|
|
48
48
|
* to, enforced at the flush against the frozen mark. Defaults to 500,000 USDC
|
|
49
49
|
* (RP-23).
|
|
50
50
|
*/
|
|
51
|
-
max_lp_pool_value:
|
|
51
|
+
max_lp_pool_value: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
52
52
|
/**
|
|
53
53
|
* Hard staleness bound: `finish_flush` refuses to complete a flush in flight
|
|
54
54
|
* longer than this, so no LP request fills at a mark older than the window; past
|
|
@@ -57,28 +57,28 @@ declare const ProtocolConfig: MoveStruct<{
|
|
|
57
57
|
* continues — so this also bounds LP-fill latency and is tuned alongside flush
|
|
58
58
|
* cadence (RP-29).
|
|
59
59
|
*/
|
|
60
|
-
max_valuation_window_ms:
|
|
60
|
+
max_valuation_window_ms: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
61
61
|
/**
|
|
62
62
|
* Window before a market's expiry in which live quotes, mints, and live redeems
|
|
63
63
|
* abort. Read live at trade time rather than snapshotted per market, so it can be
|
|
64
64
|
* widened on markets already trading. `0` disables.
|
|
65
65
|
*/
|
|
66
|
-
no_trade_window_ms:
|
|
66
|
+
no_trade_window_ms: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
67
67
|
strike_exposure_template_config: MoveStruct<{
|
|
68
|
-
backing_buffer_lambda:
|
|
69
|
-
base_fee:
|
|
70
|
-
min_fee:
|
|
71
|
-
min_entry_probability:
|
|
72
|
-
max_entry_probability:
|
|
73
|
-
expiry_fee_window_ms:
|
|
74
|
-
expiry_fee_max_multiplier:
|
|
75
|
-
inventory_impact_max_rate:
|
|
68
|
+
backing_buffer_lambda: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
69
|
+
base_fee: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
70
|
+
min_fee: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
71
|
+
min_entry_probability: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
72
|
+
max_entry_probability: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
73
|
+
expiry_fee_window_ms: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
74
|
+
expiry_fee_max_multiplier: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
75
|
+
inventory_impact_max_rate: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
76
76
|
}, "@local-pkg/deepbook_predict::strike_exposure_config::StrikeExposureConfig">;
|
|
77
77
|
ewma_config: MoveStruct<{
|
|
78
|
-
alpha:
|
|
79
|
-
z_score_threshold:
|
|
80
|
-
penalty_rate:
|
|
81
|
-
enabled:
|
|
78
|
+
alpha: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
79
|
+
z_score_threshold: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
80
|
+
penalty_rate: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
81
|
+
enabled: _mysten_sui_bcs768.BcsType<boolean, boolean, "bool">;
|
|
82
82
|
}, "@local-pkg/deepbook_predict::ewma_config::EwmaConfig">;
|
|
83
83
|
/**
|
|
84
84
|
* Minimum package version permitted to run version-gated flows. Monotonic;
|
|
@@ -87,8 +87,8 @@ declare const ProtocolConfig: MoveStruct<{
|
|
|
87
87
|
* (`chk_version`). `current_version!()` stays the upgrade-required code constant;
|
|
88
88
|
* this is the runtime floor.
|
|
89
89
|
*/
|
|
90
|
-
version_watermark:
|
|
91
|
-
trading_paused:
|
|
90
|
+
version_watermark: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">; /** Blocks new risk creation while true. */
|
|
91
|
+
trading_paused: _mysten_sui_bcs768.BcsType<boolean, boolean, "bool">;
|
|
92
92
|
/**
|
|
93
93
|
* Emergency hard stop. While true, `chk_version` aborts, halting every
|
|
94
94
|
* version-gated flow (mint, redeem, settlement, valuation, LP supply/withdraw,
|
|
@@ -97,7 +97,7 @@ declare const ProtocolConfig: MoveStruct<{
|
|
|
97
97
|
* Account-package custody withdrawals and builder-fee claims are ungated and stay
|
|
98
98
|
* available (already-earned funds).
|
|
99
99
|
*/
|
|
100
|
-
frozen:
|
|
100
|
+
frozen: _mysten_sui_bcs768.BcsType<boolean, boolean, "bool">;
|
|
101
101
|
/**
|
|
102
102
|
* True for the whole duration of a full-pool valuation, across every transaction
|
|
103
103
|
* it spans. Keeper cash flows, market lifecycle, and config mutations gate on it;
|
|
@@ -105,7 +105,7 @@ declare const ProtocolConfig: MoveStruct<{
|
|
|
105
105
|
* valuation stamp lazily; a pending market's snapshot state is captured, never
|
|
106
106
|
* recorded per trade (see `plp`).
|
|
107
107
|
*/
|
|
108
|
-
valuation_in_progress:
|
|
108
|
+
valuation_in_progress: _mysten_sui_bcs768.BcsType<boolean, boolean, "bool">;
|
|
109
109
|
/**
|
|
110
110
|
* True ONLY while the atomic snapshot stage is open — set by `open_snap` at
|
|
111
111
|
* `start_pool_valuation` and cleared by `end_snapshot` at
|
|
@@ -115,22 +115,22 @@ declare const ProtocolConfig: MoveStruct<{
|
|
|
115
115
|
* would skew the figures the seal freezes. The resumable valuation stage after the
|
|
116
116
|
* seal leaves it false, so trading stays live.
|
|
117
117
|
*/
|
|
118
|
-
snapshot_in_progress:
|
|
118
|
+
snapshot_in_progress: _mysten_sui_bcs768.BcsType<boolean, boolean, "bool">;
|
|
119
119
|
/**
|
|
120
120
|
* Monotonic flush ordinal, bumped by `begin_val`. A market's valuation stamp names
|
|
121
121
|
* the flush that made it; a stamp whose ordinal is not the current one — or held
|
|
122
122
|
* while no valuation is in flight — is stale and is lazily discarded by the next
|
|
123
123
|
* trade, so aborting a flush never has to visit its stamped markets.
|
|
124
124
|
*/
|
|
125
|
-
flush_seq:
|
|
125
|
+
flush_seq: _mysten_sui_bcs768.BcsType<bigint, string | number | bigint, "u64">;
|
|
126
126
|
}, "@local-pkg/deepbook_predict::protocol_config::ProtocolConfig">;
|
|
127
|
-
declare const SettledRedeemKeepersKey: MoveTuple<readonly [
|
|
128
|
-
declare const FeeIncentiveSubsidyRateKey: MoveTuple<readonly [
|
|
129
|
-
declare const FeeIncentiveLiveTargetRateKey: MoveTuple<readonly [
|
|
130
|
-
declare const FeeIncentiveLifetimeCapRateKey: MoveTuple<readonly [
|
|
131
|
-
declare const FlushOperatorsKey: MoveTuple<readonly [
|
|
132
|
-
declare const OrderFlowKey: MoveTuple<readonly [
|
|
133
|
-
declare const BuilderFeeCapKey: MoveTuple<readonly [
|
|
127
|
+
declare const SettledRedeemKeepersKey: MoveTuple<readonly [_mysten_sui_bcs768.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::protocol_config::SettledRedeemKeepersKey">;
|
|
128
|
+
declare const FeeIncentiveSubsidyRateKey: MoveTuple<readonly [_mysten_sui_bcs768.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::protocol_config::FeeIncentiveSubsidyRateKey">;
|
|
129
|
+
declare const FeeIncentiveLiveTargetRateKey: MoveTuple<readonly [_mysten_sui_bcs768.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::protocol_config::FeeIncentiveLiveTargetRateKey">;
|
|
130
|
+
declare const FeeIncentiveLifetimeCapRateKey: MoveTuple<readonly [_mysten_sui_bcs768.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::protocol_config::FeeIncentiveLifetimeCapRateKey">;
|
|
131
|
+
declare const FlushOperatorsKey: MoveTuple<readonly [_mysten_sui_bcs768.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::protocol_config::FlushOperatorsKey">;
|
|
132
|
+
declare const OrderFlowKey: MoveTuple<readonly [_mysten_sui_bcs768.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::protocol_config::OrderFlowKey<phantom W>">;
|
|
133
|
+
declare const BuilderFeeCapKey: MoveTuple<readonly [_mysten_sui_bcs768.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::protocol_config::BuilderFeeCapKey">;
|
|
134
134
|
interface IdArguments {
|
|
135
135
|
config?: RawTransactionArgument<string>;
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ interface IdOptions {
|
|
|
146
146
|
* Return the protocol config object ID for external discovery and PTB
|
|
147
147
|
* construction.
|
|
148
148
|
*/
|
|
149
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
149
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
150
150
|
interface TradingPausedArguments {
|
|
151
151
|
config?: RawTransactionArgument<string>;
|
|
152
152
|
}
|
|
@@ -159,7 +159,7 @@ interface TradingPausedOptions {
|
|
|
159
159
|
};
|
|
160
160
|
}
|
|
161
161
|
/** Return the global trading-pause state for SDK and devInspect reads. */
|
|
162
|
-
declare function tradingPaused(options: TradingPausedOptions): (tx: Transaction) =>
|
|
162
|
+
declare function tradingPaused(options: TradingPausedOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
163
163
|
interface FrozenArguments {
|
|
164
164
|
config?: RawTransactionArgument<string>;
|
|
165
165
|
}
|
|
@@ -172,7 +172,7 @@ interface FrozenOptions {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
/** Return the global protocol-freeze state for SDK and devInspect reads. */
|
|
175
|
-
declare function frozen(options: FrozenOptions): (tx: Transaction) =>
|
|
175
|
+
declare function frozen(options: FrozenOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
176
176
|
interface ValuationInProgressArguments {
|
|
177
177
|
config?: RawTransactionArgument<string>;
|
|
178
178
|
}
|
|
@@ -190,7 +190,7 @@ interface ValuationInProgressOptions {
|
|
|
190
190
|
* reads it to notice a flush it must finish or discard, and an integrator reads it
|
|
191
191
|
* to explain a gated keeper/config transaction. Trading is not gated on it.
|
|
192
192
|
*/
|
|
193
|
-
declare function valuationInProgress(options: ValuationInProgressOptions): (tx: Transaction) =>
|
|
193
|
+
declare function valuationInProgress(options: ValuationInProgressOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
194
194
|
interface ReferralFeeRateArguments {
|
|
195
195
|
config?: RawTransactionArgument<string>;
|
|
196
196
|
}
|
|
@@ -203,7 +203,7 @@ interface ReferralFeeRateOptions {
|
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
/** Return the live referral fee rate for SDK and devInspect reads. */
|
|
206
|
-
declare function referralFeeRate(options: ReferralFeeRateOptions): (tx: Transaction) =>
|
|
206
|
+
declare function referralFeeRate(options: ReferralFeeRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
207
207
|
interface FeeIncentiveSubsidyRateArguments {
|
|
208
208
|
config?: RawTransactionArgument<string>;
|
|
209
209
|
}
|
|
@@ -221,7 +221,7 @@ interface FeeIncentiveSubsidyRateOptions {
|
|
|
221
221
|
* FLOAT_SCALING. `public` for SDK and devInspect reads: the quote already reports
|
|
222
222
|
* the subsidy it applied, but a client needs the rate to explain it.
|
|
223
223
|
*/
|
|
224
|
-
declare function feeIncentiveSubsidyRate(options: FeeIncentiveSubsidyRateOptions): (tx: Transaction) =>
|
|
224
|
+
declare function feeIncentiveSubsidyRate(options: FeeIncentiveSubsidyRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
225
225
|
interface BuilderFeeCapArguments {
|
|
226
226
|
config?: RawTransactionArgument<string>;
|
|
227
227
|
}
|
|
@@ -239,7 +239,7 @@ interface BuilderFeeCapOptions {
|
|
|
239
239
|
* trade's named fee capped at this value. `public` for SDK and devInspect reads,
|
|
240
240
|
* so an app can show the fee a trade will actually pay.
|
|
241
241
|
*/
|
|
242
|
-
declare function builderFeeCap(options: BuilderFeeCapOptions): (tx: Transaction) =>
|
|
242
|
+
declare function builderFeeCap(options: BuilderFeeCapOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
243
243
|
interface FeeIncentiveLiveTargetRateArguments {
|
|
244
244
|
config?: RawTransactionArgument<string>;
|
|
245
245
|
}
|
|
@@ -257,7 +257,7 @@ interface FeeIncentiveLiveTargetRateOptions {
|
|
|
257
257
|
* `public` for SDK and devInspect reads, so a client can tell how much a market
|
|
258
258
|
* can hold before reading its balance.
|
|
259
259
|
*/
|
|
260
|
-
declare function feeIncentiveLiveTargetRate(options: FeeIncentiveLiveTargetRateOptions): (tx: Transaction) =>
|
|
260
|
+
declare function feeIncentiveLiveTargetRate(options: FeeIncentiveLiveTargetRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
261
261
|
interface FeeIncentiveLifetimeCapRateArguments {
|
|
262
262
|
config?: RawTransactionArgument<string>;
|
|
263
263
|
}
|
|
@@ -275,7 +275,7 @@ interface FeeIncentiveLifetimeCapRateOptions {
|
|
|
275
275
|
* sponsor-funded incentives over its life, in FLOAT_SCALING. `public` for SDK and
|
|
276
276
|
* devInspect reads.
|
|
277
277
|
*/
|
|
278
|
-
declare function feeIncentiveLifetimeCapRate(options: FeeIncentiveLifetimeCapRateOptions): (tx: Transaction) =>
|
|
278
|
+
declare function feeIncentiveLifetimeCapRate(options: FeeIncentiveLifetimeCapRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
279
279
|
interface NoTradeWindowMsArguments {
|
|
280
280
|
config?: RawTransactionArgument<string>;
|
|
281
281
|
}
|
|
@@ -293,7 +293,7 @@ interface NoTradeWindowMsOptions {
|
|
|
293
293
|
* only learn the window closed by decoding `ETradeWindowClosed` from a failed
|
|
294
294
|
* quote.
|
|
295
295
|
*/
|
|
296
|
-
declare function noTradeWindowMs(options: NoTradeWindowMsOptions): (tx: Transaction) =>
|
|
296
|
+
declare function noTradeWindowMs(options: NoTradeWindowMsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
297
297
|
interface IsFlushOperatorArguments {
|
|
298
298
|
config?: RawTransactionArgument<string>;
|
|
299
299
|
operator: RawTransactionArgument<string>;
|
|
@@ -310,7 +310,7 @@ interface IsFlushOperatorOptions {
|
|
|
310
310
|
* Whether `operator` may call `plp::finish_flush`. For SDK, keeper, and devInspect
|
|
311
311
|
* reads; `finish_flush` gates through `chk_operator`.
|
|
312
312
|
*/
|
|
313
|
-
declare function isFlushOperator(options: IsFlushOperatorOptions): (tx: Transaction) =>
|
|
313
|
+
declare function isFlushOperator(options: IsFlushOperatorOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
314
314
|
interface IsOrderFlowArguments {
|
|
315
315
|
config?: RawTransactionArgument<string>;
|
|
316
316
|
}
|
|
@@ -328,7 +328,7 @@ interface IsOrderFlowOptions {
|
|
|
328
328
|
* (admission, commit, and fill). For SDK, keeper, and devInspect reads and the
|
|
329
329
|
* companion's setup checks; the primitives gate through `chk_flow`.
|
|
330
330
|
*/
|
|
331
|
-
declare function isOrderFlow(options: IsOrderFlowOptions): (tx: Transaction) =>
|
|
331
|
+
declare function isOrderFlow(options: IsOrderFlowOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
332
332
|
interface VersionWatermarkArguments {
|
|
333
333
|
config?: RawTransactionArgument<string>;
|
|
334
334
|
}
|
|
@@ -345,7 +345,7 @@ interface VersionWatermarkOptions {
|
|
|
345
345
|
* delayed-execution cutover is reached once it is at least 4
|
|
346
346
|
* (`constants::cutover_version!()`).
|
|
347
347
|
*/
|
|
348
|
-
declare function versionWatermark(options: VersionWatermarkOptions): (tx: Transaction) =>
|
|
348
|
+
declare function versionWatermark(options: VersionWatermarkOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
349
349
|
interface SetTemplateBaseFeeArguments {
|
|
350
350
|
config?: RawTransactionArgument<string>;
|
|
351
351
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -360,7 +360,7 @@ interface SetTemplateBaseFeeOptions {
|
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
362
|
/** Set the base fee multiplier snapshotted by newly created expiry markets. */
|
|
363
|
-
declare function setTemplateBaseFee(options: SetTemplateBaseFeeOptions): (tx: Transaction) =>
|
|
363
|
+
declare function setTemplateBaseFee(options: SetTemplateBaseFeeOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
364
364
|
interface SetTemplateMinFeeArguments {
|
|
365
365
|
config?: RawTransactionArgument<string>;
|
|
366
366
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -375,7 +375,7 @@ interface SetTemplateMinFeeOptions {
|
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
377
|
/** Set the minimum fee floor snapshotted by newly created expiry markets. */
|
|
378
|
-
declare function setTemplateMinFee(options: SetTemplateMinFeeOptions): (tx: Transaction) =>
|
|
378
|
+
declare function setTemplateMinFee(options: SetTemplateMinFeeOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
379
379
|
interface SetTemplateExpiryFeeWindowMsArguments {
|
|
380
380
|
config?: RawTransactionArgument<string>;
|
|
381
381
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -390,7 +390,7 @@ interface SetTemplateExpiryFeeWindowMsOptions {
|
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
392
|
/** Set the expiry-fee ramp window snapshotted by newly created expiry markets. */
|
|
393
|
-
declare function setTemplateExpiryFeeWindowMs(options: SetTemplateExpiryFeeWindowMsOptions): (tx: Transaction) =>
|
|
393
|
+
declare function setTemplateExpiryFeeWindowMs(options: SetTemplateExpiryFeeWindowMsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
394
394
|
interface SetTemplateExpiryFeeMaxMultiplierArguments {
|
|
395
395
|
config?: RawTransactionArgument<string>;
|
|
396
396
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -405,7 +405,7 @@ interface SetTemplateExpiryFeeMaxMultiplierOptions {
|
|
|
405
405
|
};
|
|
406
406
|
}
|
|
407
407
|
/** Set the expiry-fee max multiplier snapshotted by newly created expiry markets. */
|
|
408
|
-
declare function setTemplateExpiryFeeMaxMultiplier(options: SetTemplateExpiryFeeMaxMultiplierOptions): (tx: Transaction) =>
|
|
408
|
+
declare function setTemplateExpiryFeeMaxMultiplier(options: SetTemplateExpiryFeeMaxMultiplierOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
409
409
|
interface SetTemplateBackingBufferLambdaArguments {
|
|
410
410
|
config?: RawTransactionArgument<string>;
|
|
411
411
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -420,7 +420,7 @@ interface SetTemplateBackingBufferLambdaOptions {
|
|
|
420
420
|
};
|
|
421
421
|
}
|
|
422
422
|
/** Set the backing-buffer lambda snapshotted by newly created expiry markets. */
|
|
423
|
-
declare function setTemplateBackingBufferLambda(options: SetTemplateBackingBufferLambdaOptions): (tx: Transaction) =>
|
|
423
|
+
declare function setTemplateBackingBufferLambda(options: SetTemplateBackingBufferLambdaOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
424
424
|
interface SetTemplateInventoryImpactMaxRateArguments {
|
|
425
425
|
config?: RawTransactionArgument<string>;
|
|
426
426
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -438,7 +438,7 @@ interface SetTemplateInventoryImpactMaxRateOptions {
|
|
|
438
438
|
* Set the maximum marginal inventory-impact rate snapshotted by newly created
|
|
439
439
|
* expiry markets. `0` (the default) disables both charges and rebates.
|
|
440
440
|
*/
|
|
441
|
-
declare function setTemplateInventoryImpactMaxRate(options: SetTemplateInventoryImpactMaxRateOptions): (tx: Transaction) =>
|
|
441
|
+
declare function setTemplateInventoryImpactMaxRate(options: SetTemplateInventoryImpactMaxRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
442
442
|
interface SetTemplateMinEntryProbabilityArguments {
|
|
443
443
|
config?: RawTransactionArgument<string>;
|
|
444
444
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -456,7 +456,7 @@ interface SetTemplateMinEntryProbabilityOptions {
|
|
|
456
456
|
* Set the minimum raw entry probability snapshotted by newly created expiry
|
|
457
457
|
* markets.
|
|
458
458
|
*/
|
|
459
|
-
declare function setTemplateMinEntryProbability(options: SetTemplateMinEntryProbabilityOptions): (tx: Transaction) =>
|
|
459
|
+
declare function setTemplateMinEntryProbability(options: SetTemplateMinEntryProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
460
460
|
interface SetTemplateMaxEntryProbabilityArguments {
|
|
461
461
|
config?: RawTransactionArgument<string>;
|
|
462
462
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -474,7 +474,7 @@ interface SetTemplateMaxEntryProbabilityOptions {
|
|
|
474
474
|
* Set the maximum raw entry probability snapshotted by newly created expiry
|
|
475
475
|
* markets.
|
|
476
476
|
*/
|
|
477
|
-
declare function setTemplateMaxEntryProbability(options: SetTemplateMaxEntryProbabilityOptions): (tx: Transaction) =>
|
|
477
|
+
declare function setTemplateMaxEntryProbability(options: SetTemplateMaxEntryProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
478
478
|
interface SetUsePythSpotForForwardArguments {
|
|
479
479
|
config?: RawTransactionArgument<string>;
|
|
480
480
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -496,7 +496,7 @@ interface SetUsePythSpotForForwardOptions {
|
|
|
496
496
|
* (`pricing::assert_pyth_spot_fresh`), which is the way to keep mints and live
|
|
497
497
|
* redeems open through a Pyth outage once no valuation is in flight.
|
|
498
498
|
*/
|
|
499
|
-
declare function setUsePythSpotForForward(options: SetUsePythSpotForForwardOptions): (tx: Transaction) =>
|
|
499
|
+
declare function setUsePythSpotForForward(options: SetUsePythSpotForForwardOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
500
500
|
interface SetPythSpotFreshnessMsArguments {
|
|
501
501
|
config?: RawTransactionArgument<string>;
|
|
502
502
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -519,7 +519,7 @@ interface SetPythSpotFreshnessMsOptions {
|
|
|
519
519
|
* update takes to land halts live trading. Locked during valuation, like the
|
|
520
520
|
* source selector.
|
|
521
521
|
*/
|
|
522
|
-
declare function setPythSpotFreshnessMs(options: SetPythSpotFreshnessMsOptions): (tx: Transaction) =>
|
|
522
|
+
declare function setPythSpotFreshnessMs(options: SetPythSpotFreshnessMsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
523
523
|
interface SetBlockScholesPriceFreshnessMsArguments {
|
|
524
524
|
config?: RawTransactionArgument<string>;
|
|
525
525
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -534,7 +534,7 @@ interface SetBlockScholesPriceFreshnessMsOptions {
|
|
|
534
534
|
};
|
|
535
535
|
}
|
|
536
536
|
/** Set the live Block Scholes spot/forward freshness threshold. */
|
|
537
|
-
declare function setBlockScholesPriceFreshnessMs(options: SetBlockScholesPriceFreshnessMsOptions): (tx: Transaction) =>
|
|
537
|
+
declare function setBlockScholesPriceFreshnessMs(options: SetBlockScholesPriceFreshnessMsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
538
538
|
interface SetBlockScholesSviFreshnessMsArguments {
|
|
539
539
|
config?: RawTransactionArgument<string>;
|
|
540
540
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -549,7 +549,7 @@ interface SetBlockScholesSviFreshnessMsOptions {
|
|
|
549
549
|
};
|
|
550
550
|
}
|
|
551
551
|
/** Set the live Block Scholes SVI freshness threshold. */
|
|
552
|
-
declare function setBlockScholesSviFreshnessMs(options: SetBlockScholesSviFreshnessMsOptions): (tx: Transaction) =>
|
|
552
|
+
declare function setBlockScholesSviFreshnessMs(options: SetBlockScholesSviFreshnessMsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
553
553
|
interface SetLpRequestLimitFlushAttemptsArguments {
|
|
554
554
|
config?: RawTransactionArgument<string>;
|
|
555
555
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -569,7 +569,7 @@ interface SetLpRequestLimitFlushAttemptsOptions {
|
|
|
569
569
|
* the head across flushes, which stops that queue each time it misses — see RP-12
|
|
570
570
|
* for the liveness cost that buys.
|
|
571
571
|
*/
|
|
572
|
-
declare function setLpRequestLimitFlushAttempts(options: SetLpRequestLimitFlushAttemptsOptions): (tx: Transaction) =>
|
|
572
|
+
declare function setLpRequestLimitFlushAttempts(options: SetLpRequestLimitFlushAttemptsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
573
573
|
interface SetMaxValuationWindowMsArguments {
|
|
574
574
|
config?: RawTransactionArgument<string>;
|
|
575
575
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -591,7 +591,7 @@ interface SetMaxValuationWindowMsOptions {
|
|
|
591
591
|
* too long and an abandoned one delays queued LP fills for that duration. See
|
|
592
592
|
* RP-29.
|
|
593
593
|
*/
|
|
594
|
-
declare function setMaxValuationWindowMs(options: SetMaxValuationWindowMsOptions): (tx: Transaction) =>
|
|
594
|
+
declare function setMaxValuationWindowMs(options: SetMaxValuationWindowMsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
595
595
|
interface SetMaxLpPoolValueArguments {
|
|
596
596
|
config?: RawTransactionArgument<string>;
|
|
597
597
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -612,7 +612,7 @@ interface SetMaxLpPoolValueOptions {
|
|
|
612
612
|
* unaffected, so lowering this below current pool value closes the pool to new
|
|
613
613
|
* capital rather than forcing anyone out.
|
|
614
614
|
*/
|
|
615
|
-
declare function setMaxLpPoolValue(options: SetMaxLpPoolValueOptions): (tx: Transaction) =>
|
|
615
|
+
declare function setMaxLpPoolValue(options: SetMaxLpPoolValueOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
616
616
|
interface SetEwmaParamsArguments {
|
|
617
617
|
Config?: RawTransactionArgument<string>;
|
|
618
618
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -663,7 +663,7 @@ interface SetNoTradeWindowMsOptions {
|
|
|
663
663
|
* flush must not be able to trap a safety control. Nothing in the flush reads this
|
|
664
664
|
* value, so a mid-valuation change cannot skew a frozen mark.
|
|
665
665
|
*/
|
|
666
|
-
declare function setNoTradeWindowMs(options: SetNoTradeWindowMsOptions): (tx: Transaction) =>
|
|
666
|
+
declare function setNoTradeWindowMs(options: SetNoTradeWindowMsOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
667
667
|
interface SetTradingPausedArguments {
|
|
668
668
|
config?: RawTransactionArgument<string>;
|
|
669
669
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -678,7 +678,7 @@ interface SetTradingPausedOptions {
|
|
|
678
678
|
};
|
|
679
679
|
}
|
|
680
680
|
/** Set whether trading is paused. */
|
|
681
|
-
declare function setTradingPaused(options: SetTradingPausedOptions): (tx: Transaction) =>
|
|
681
|
+
declare function setTradingPaused(options: SetTradingPausedOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
682
682
|
interface SetFrozenArguments {
|
|
683
683
|
config?: RawTransactionArgument<string>;
|
|
684
684
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -699,7 +699,7 @@ interface SetFrozenOptions {
|
|
|
699
699
|
* gate lives inside `chk_version`, so routing this through it would make an
|
|
700
700
|
* engaged freeze unclearable without a package upgrade — defeating the point.
|
|
701
701
|
*/
|
|
702
|
-
declare function setFrozen(options: SetFrozenOptions): (tx: Transaction) =>
|
|
702
|
+
declare function setFrozen(options: SetFrozenOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
703
703
|
interface AddSettledRedeemKeeperArguments {
|
|
704
704
|
config?: RawTransactionArgument<string>;
|
|
705
705
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -717,7 +717,7 @@ interface AddSettledRedeemKeeperOptions {
|
|
|
717
717
|
* Allow `keeper` to call `expiry_market::redeem_settled_permissionless`.
|
|
718
718
|
* Admin-only and version-gated. Aborts if `keeper` is already allowed.
|
|
719
719
|
*/
|
|
720
|
-
declare function addSettledRedeemKeeper(options: AddSettledRedeemKeeperOptions): (tx: Transaction) =>
|
|
720
|
+
declare function addSettledRedeemKeeper(options: AddSettledRedeemKeeperOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
721
721
|
interface RemoveSettledRedeemKeeperArguments {
|
|
722
722
|
config?: RawTransactionArgument<string>;
|
|
723
723
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -737,7 +737,7 @@ interface RemoveSettledRedeemKeeperOptions {
|
|
|
737
737
|
* revocation stays available under the emergency freeze and from a package version
|
|
738
738
|
* below the runtime floor. Aborts if `keeper` is not allowed.
|
|
739
739
|
*/
|
|
740
|
-
declare function removeSettledRedeemKeeper(options: RemoveSettledRedeemKeeperOptions): (tx: Transaction) =>
|
|
740
|
+
declare function removeSettledRedeemKeeper(options: RemoveSettledRedeemKeeperOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
741
741
|
interface AddFlushOperatorArguments {
|
|
742
742
|
config?: RawTransactionArgument<string>;
|
|
743
743
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -756,7 +756,7 @@ interface AddFlushOperatorOptions {
|
|
|
756
756
|
* aborts if `operator` is already allowed. Not gated on an open LP valuation, so
|
|
757
757
|
* an admin can always add an operator to finish a stuck flush.
|
|
758
758
|
*/
|
|
759
|
-
declare function addFlushOperator(options: AddFlushOperatorOptions): (tx: Transaction) =>
|
|
759
|
+
declare function addFlushOperator(options: AddFlushOperatorOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
760
760
|
interface RemoveFlushOperatorArguments {
|
|
761
761
|
config?: RawTransactionArgument<string>;
|
|
762
762
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -776,7 +776,7 @@ interface RemoveFlushOperatorOptions {
|
|
|
776
776
|
* under the emergency freeze and from a package version below the runtime floor.
|
|
777
777
|
* Aborts if `operator` is not allowed.
|
|
778
778
|
*/
|
|
779
|
-
declare function removeFlushOperator(options: RemoveFlushOperatorOptions): (tx: Transaction) =>
|
|
779
|
+
declare function removeFlushOperator(options: RemoveFlushOperatorOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
780
780
|
interface SetOrderFlowArguments {
|
|
781
781
|
config?: RawTransactionArgument<string>;
|
|
782
782
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -801,7 +801,7 @@ interface SetOrderFlowOptions {
|
|
|
801
801
|
* and from a package version below the runtime floor. Setting the state `W`
|
|
802
802
|
* already has changes nothing but still emits `OrderFlowUpdated`.
|
|
803
803
|
*/
|
|
804
|
-
declare function setOrderFlow(options: SetOrderFlowOptions): (tx: Transaction) =>
|
|
804
|
+
declare function setOrderFlow(options: SetOrderFlowOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
805
805
|
interface BumpVersionWatermarkArguments {
|
|
806
806
|
config?: RawTransactionArgument<string>;
|
|
807
807
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -821,7 +821,7 @@ interface BumpVersionWatermarkOptions {
|
|
|
821
821
|
* ungated so an upgraded package can retire older versions; it aborts unless the
|
|
822
822
|
* executing version is strictly greater than the existing floor.
|
|
823
823
|
*/
|
|
824
|
-
declare function bumpVersionWatermark(options: BumpVersionWatermarkOptions): (tx: Transaction) =>
|
|
824
|
+
declare function bumpVersionWatermark(options: BumpVersionWatermarkOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
825
825
|
interface SetProtocolReserveProfitShareArguments {
|
|
826
826
|
config?: RawTransactionArgument<string>;
|
|
827
827
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -839,7 +839,7 @@ interface SetProtocolReserveProfitShareOptions {
|
|
|
839
839
|
* Set the protocol reserve profit share used when materializing aggregate expiry
|
|
840
840
|
* profit. Admin-gated; validated against its config-constants envelope.
|
|
841
841
|
*/
|
|
842
|
-
declare function setProtocolReserveProfitShare(options: SetProtocolReserveProfitShareOptions): (tx: Transaction) =>
|
|
842
|
+
declare function setProtocolReserveProfitShare(options: SetProtocolReserveProfitShareOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
843
843
|
interface SetReferralFeeRateArguments {
|
|
844
844
|
config?: RawTransactionArgument<string>;
|
|
845
845
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -857,7 +857,7 @@ interface SetReferralFeeRateOptions {
|
|
|
857
857
|
* Set the portion of referred mint fees routed to the referrer. The new rate
|
|
858
858
|
* applies to subsequent mints without changing their all-in account withdrawal.
|
|
859
859
|
*/
|
|
860
|
-
declare function setReferralFeeRate(options: SetReferralFeeRateOptions): (tx: Transaction) =>
|
|
860
|
+
declare function setReferralFeeRate(options: SetReferralFeeRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
861
861
|
interface SetFeeIncentiveSubsidyRateArguments {
|
|
862
862
|
config?: RawTransactionArgument<string>;
|
|
863
863
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -894,7 +894,7 @@ interface SetFeeIncentiveSubsidyRateOptions {
|
|
|
894
894
|
* after the snapshot captured that market's cash, so it cannot reach the frozen
|
|
895
895
|
* mark.
|
|
896
896
|
*/
|
|
897
|
-
declare function setFeeIncentiveSubsidyRate(options: SetFeeIncentiveSubsidyRateOptions): (tx: Transaction) =>
|
|
897
|
+
declare function setFeeIncentiveSubsidyRate(options: SetFeeIncentiveSubsidyRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
898
898
|
interface SetBuilderFeeCapArguments {
|
|
899
899
|
config?: RawTransactionArgument<string>;
|
|
900
900
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -919,7 +919,7 @@ interface SetBuilderFeeCapOptions {
|
|
|
919
919
|
* nothing in the flush reads the cap, and a builder fee leaves with the trader's
|
|
920
920
|
* own payment, never market cash.
|
|
921
921
|
*/
|
|
922
|
-
declare function setBuilderFeeCap(options: SetBuilderFeeCapOptions): (tx: Transaction) =>
|
|
922
|
+
declare function setBuilderFeeCap(options: SetBuilderFeeCapOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
923
923
|
interface SetFeeIncentiveLiveTargetRateArguments {
|
|
924
924
|
config?: RawTransactionArgument<string>;
|
|
925
925
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -949,7 +949,7 @@ interface SetFeeIncentiveLiveTargetRateOptions {
|
|
|
949
949
|
* valuation flag: the flush never reads it, and the reserve and market incentive
|
|
950
950
|
* balances it moves between are outside PLP NAV.
|
|
951
951
|
*/
|
|
952
|
-
declare function setFeeIncentiveLiveTargetRate(options: SetFeeIncentiveLiveTargetRateOptions): (tx: Transaction) =>
|
|
952
|
+
declare function setFeeIncentiveLiveTargetRate(options: SetFeeIncentiveLiveTargetRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
953
953
|
interface SetTemplateFeeIncentiveLifetimeCapRateArguments {
|
|
954
954
|
config?: RawTransactionArgument<string>;
|
|
955
955
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -974,7 +974,7 @@ interface SetTemplateFeeIncentiveLifetimeCapRateOptions {
|
|
|
974
974
|
* versions older than 4, which snapshot a fixed 10% whatever this is set to. Not
|
|
975
975
|
* gated on the valuation flag, for the same reason as the live target rate.
|
|
976
976
|
*/
|
|
977
|
-
declare function setTemplateFeeIncentiveLifetimeCapRate(options: SetTemplateFeeIncentiveLifetimeCapRateOptions): (tx: Transaction) =>
|
|
977
|
+
declare function setTemplateFeeIncentiveLifetimeCapRate(options: SetTemplateFeeIncentiveLifetimeCapRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
978
978
|
interface SetPlpSupplyFeeRateArguments {
|
|
979
979
|
config?: RawTransactionArgument<string>;
|
|
980
980
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -993,7 +993,7 @@ interface SetPlpSupplyFeeRateOptions {
|
|
|
993
993
|
* against its config-constants envelope. Locked during valuation so the rate a
|
|
994
994
|
* flush froze into its mark cannot change midway through that flush.
|
|
995
995
|
*/
|
|
996
|
-
declare function setPlpSupplyFeeRate(options: SetPlpSupplyFeeRateOptions): (tx: Transaction) =>
|
|
996
|
+
declare function setPlpSupplyFeeRate(options: SetPlpSupplyFeeRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
997
997
|
interface SetPlpWithdrawFeeRateArguments {
|
|
998
998
|
config?: RawTransactionArgument<string>;
|
|
999
999
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -1011,7 +1011,7 @@ interface SetPlpWithdrawFeeRateOptions {
|
|
|
1011
1011
|
* Set the fee charged on executed PLP withdraw fills. Same gating as the supply
|
|
1012
1012
|
* leg; the two are independent so the exit charge can move without taxing entry.
|
|
1013
1013
|
*/
|
|
1014
|
-
declare function setPlpWithdrawFeeRate(options: SetPlpWithdrawFeeRateOptions): (tx: Transaction) =>
|
|
1014
|
+
declare function setPlpWithdrawFeeRate(options: SetPlpWithdrawFeeRateOptions): (tx: Transaction) => _mysten_sui_transactions528.TransactionResult;
|
|
1015
1015
|
//#endregion
|
|
1016
1016
|
export { AddFlushOperatorArguments, AddFlushOperatorOptions, AddSettledRedeemKeeperArguments, AddSettledRedeemKeeperOptions, BuilderFeeCapArguments, BuilderFeeCapKey, BuilderFeeCapOptions, BumpVersionWatermarkArguments, BumpVersionWatermarkOptions, FeeIncentiveLifetimeCapRateArguments, FeeIncentiveLifetimeCapRateKey, FeeIncentiveLifetimeCapRateOptions, FeeIncentiveLiveTargetRateArguments, FeeIncentiveLiveTargetRateKey, FeeIncentiveLiveTargetRateOptions, FeeIncentiveSubsidyRateArguments, FeeIncentiveSubsidyRateKey, FeeIncentiveSubsidyRateOptions, FlushOperatorsKey, FrozenArguments, FrozenOptions, IdArguments, IdOptions, IsFlushOperatorArguments, IsFlushOperatorOptions, IsOrderFlowArguments, IsOrderFlowOptions, NoTradeWindowMsArguments, NoTradeWindowMsOptions, OrderFlowKey, ProtocolConfig, ReferralFeeRateArguments, ReferralFeeRateOptions, RemoveFlushOperatorArguments, RemoveFlushOperatorOptions, RemoveSettledRedeemKeeperArguments, RemoveSettledRedeemKeeperOptions, SetBlockScholesPriceFreshnessMsArguments, SetBlockScholesPriceFreshnessMsOptions, SetBlockScholesSviFreshnessMsArguments, SetBlockScholesSviFreshnessMsOptions, SetBuilderFeeCapArguments, SetBuilderFeeCapOptions, SetEwmaEnabledOptions, SetEwmaParamsOptions, SetFeeIncentiveLiveTargetRateArguments, SetFeeIncentiveLiveTargetRateOptions, SetFeeIncentiveSubsidyRateArguments, SetFeeIncentiveSubsidyRateOptions, SetFrozenArguments, SetFrozenOptions, SetLpRequestLimitFlushAttemptsArguments, SetLpRequestLimitFlushAttemptsOptions, SetMaxLpPoolValueArguments, SetMaxLpPoolValueOptions, SetMaxValuationWindowMsArguments, SetMaxValuationWindowMsOptions, SetNoTradeWindowMsArguments, SetNoTradeWindowMsOptions, SetOrderFlowArguments, SetOrderFlowOptions, SetPlpSupplyFeeRateArguments, SetPlpSupplyFeeRateOptions, SetPlpWithdrawFeeRateArguments, SetPlpWithdrawFeeRateOptions, SetProtocolReserveProfitShareArguments, SetProtocolReserveProfitShareOptions, SetPythSpotFreshnessMsArguments, SetPythSpotFreshnessMsOptions, SetReferralFeeRateArguments, SetReferralFeeRateOptions, SetTemplateBackingBufferLambdaArguments, SetTemplateBackingBufferLambdaOptions, SetTemplateBaseFeeArguments, SetTemplateBaseFeeOptions, SetTemplateExpiryFeeMaxMultiplierArguments, SetTemplateExpiryFeeMaxMultiplierOptions, SetTemplateExpiryFeeWindowMsArguments, SetTemplateExpiryFeeWindowMsOptions, SetTemplateFeeIncentiveLifetimeCapRateArguments, SetTemplateFeeIncentiveLifetimeCapRateOptions, SetTemplateInventoryImpactMaxRateArguments, SetTemplateInventoryImpactMaxRateOptions, SetTemplateMaxEntryProbabilityArguments, SetTemplateMaxEntryProbabilityOptions, SetTemplateMinEntryProbabilityArguments, SetTemplateMinEntryProbabilityOptions, SetTemplateMinFeeArguments, SetTemplateMinFeeOptions, SetTradingPausedArguments, SetTradingPausedOptions, SetUsePythSpotForForwardArguments, SetUsePythSpotForForwardOptions, SettledRedeemKeepersKey, TradingPausedArguments, TradingPausedOptions, ValuationInProgressArguments, ValuationInProgressOptions, VersionWatermarkArguments, VersionWatermarkOptions, addFlushOperator, addSettledRedeemKeeper, builderFeeCap, bumpVersionWatermark, feeIncentiveLifetimeCapRate, feeIncentiveLiveTargetRate, feeIncentiveSubsidyRate, frozen, id, isFlushOperator, isOrderFlow, noTradeWindowMs, referralFeeRate, removeFlushOperator, removeSettledRedeemKeeper, setBlockScholesPriceFreshnessMs, setBlockScholesSviFreshnessMs, setBuilderFeeCap, setFeeIncentiveLiveTargetRate, setFeeIncentiveSubsidyRate, setFrozen, setLpRequestLimitFlushAttempts, setMaxLpPoolValue, setMaxValuationWindowMs, setNoTradeWindowMs, setOrderFlow, setPlpSupplyFeeRate, setPlpWithdrawFeeRate, setProtocolReserveProfitShare, setPythSpotFreshnessMs, setReferralFeeRate, setTemplateBackingBufferLambda, setTemplateBaseFee, setTemplateExpiryFeeMaxMultiplier, setTemplateExpiryFeeWindowMs, setTemplateFeeIncentiveLifetimeCapRate, setTemplateInventoryImpactMaxRate, setTemplateMaxEntryProbability, setTemplateMinEntryProbability, setTemplateMinFee, setTradingPaused, setUsePythSpotForForward, tradingPaused, valuationInProgress, versionWatermark };
|
|
1017
1017
|
//# sourceMappingURL=protocol_config.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_transactions246 from "@mysten/sui/transactions";
|
|
3
3
|
import { Transaction } from "@mysten/sui/transactions";
|
|
4
4
|
import * as _mysten_bcs0 from "@mysten/bcs";
|
|
5
5
|
|
|
@@ -24,7 +24,7 @@ interface StrikeFromTickOptions {
|
|
|
24
24
|
* Non-sentinel ticks multiply directly by `tick_size`; public PTB and devInspect
|
|
25
25
|
* callers are responsible for supplying the intended market domain.
|
|
26
26
|
*/
|
|
27
|
-
declare function strikeFromTick(options: StrikeFromTickOptions): (tx: Transaction) =>
|
|
27
|
+
declare function strikeFromTick(options: StrikeFromTickOptions): (tx: Transaction) => _mysten_sui_transactions246.TransactionResult;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { range_codec_d_exports };
|
|
30
30
|
//# sourceMappingURL=range_codec.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range_codec.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/range_codec.ts"],"mappings":";;;;;;;;;cAkBa,MAAA,EAAM,SAAA,WAAmE,YAAA,CAAnE,OAAA;AAAA,UACF,uBAAA;EAChB,IAAA,EAAM,sBAAA;EACN,QAAA,EAAU,sBAAA;AAAA;AAAA,UAEM,qBAAA;EAChB,OAAA;EACA,SAAA,EACG,uBAAA,IAEA,IAAA,EAAM,sBAAA,mBACN,QAAA,EAAU,sBAAA;EAEb,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;;iBAQc,cAAA,CAAe,OAAA,EAAS,qBAAA,IAK/B,EAAA,EAAI,WAAA,KAAW,
|
|
1
|
+
{"version":3,"file":"range_codec.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/range_codec.ts"],"mappings":";;;;;;;;;cAkBa,MAAA,EAAM,SAAA,WAAmE,YAAA,CAAnE,OAAA;AAAA,UACF,uBAAA;EAChB,IAAA,EAAM,sBAAA;EACN,QAAA,EAAU,sBAAA;AAAA;AAAA,UAEM,qBAAA;EAChB,OAAA;EACA,SAAA,EACG,uBAAA,IAEA,IAAA,EAAM,sBAAA,mBACN,QAAA,EAAU,sBAAA;EAEb,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;;iBAQc,cAAA,CAAe,OAAA,EAAS,qBAAA,IAK/B,EAAA,EAAI,WAAA,KAAW,2BAAA,CAAA,iBAAA"}
|