@mysten/deepbook-v3 2.9.1 → 2.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/client.d.mts +2 -2
- package/dist/contracts/account/account.d.mts +23 -23
- package/dist/contracts/account/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 +19 -19
- package/dist/contracts/account/account_registry.d.mts.map +1 -1
- 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 +83 -83
- 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/pause_cap.d.mts +5 -5
- 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/predict_account.d.mts +14 -14
- 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/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/registry.d.mts +32 -32
- 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/order_queue.d.mts +187 -187
- package/dist/contracts/deepbook_predict_orders/queue.d.mts +49 -49
- 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/predict/bindings/expiry-market.d.mts +5 -5
- package/dist/predict/bindings/protocol-config.d.mts +3 -3
- package/dist/predict/reads/pricing.d.mts +1 -0
- package/dist/predict/reads/pricing.d.mts.map +1 -1
- package/dist/predict/reads/queue.d.mts +1 -0
- package/dist/predict/reads/queue.d.mts.map +1 -1
- package/dist/transactions/balanceManager.d.mts +12 -12
- package/dist/transactions/balanceManager.d.mts.map +1 -1
- package/dist/transactions/deepbook.d.mts +20 -20
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- 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/marginTPSL.d.mts +10 -10
- package/dist/transactions/marginTPSL.d.mts.map +1 -1
- package/dist/transactions/poolProxy.d.mts +8 -8
- package/package.json +2 -2
|
@@ -1,194 +1,194 @@
|
|
|
1
1
|
import { MoveStruct } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs593 from "@mysten/sui/bcs";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/deepbook_predict_orders/queue_events.d.ts
|
|
5
5
|
declare namespace queue_events_d_exports {
|
|
6
6
|
export { CohortCommitted, DelayedExecutionPolicyUpdated, MarketPayoutsCompleted, OpenRecordPayoutSkipped, OpenRecordSettled, OrderEnqueued, QueuedOrderFilled, QueuedOrderRefunded, QueuedOrdersCleaned, RecordFundsClaimed, RecordFundsParked };
|
|
7
7
|
}
|
|
8
8
|
declare const OrderEnqueued: MoveStruct<{
|
|
9
|
-
expiry_market_id:
|
|
10
|
-
record_id:
|
|
11
|
-
account_id:
|
|
12
|
-
kind:
|
|
9
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
10
|
+
record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
11
|
+
account_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">; /** An `order_queue` kind code. */
|
|
12
|
+
kind: _mysten_sui_bcs593.BcsType<number, number, "u8">;
|
|
13
13
|
request: MoveStruct<{
|
|
14
|
-
lower_tick:
|
|
15
|
-
higher_tick:
|
|
16
|
-
quantity:
|
|
17
|
-
max_premium:
|
|
18
|
-
min_quantity:
|
|
19
|
-
max_cost:
|
|
20
|
-
max_probability:
|
|
21
|
-
min_probability:
|
|
22
|
-
min_proceeds:
|
|
14
|
+
lower_tick: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
15
|
+
higher_tick: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
16
|
+
quantity: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
17
|
+
max_premium: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
18
|
+
min_quantity: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
19
|
+
max_cost: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
20
|
+
max_probability: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
21
|
+
min_probability: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
22
|
+
min_proceeds: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
23
23
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderRequest">; /** The position a sell moved into the record; zero for a mint. */
|
|
24
24
|
position: MoveStruct<{
|
|
25
|
-
order_id:
|
|
26
|
-
root_id:
|
|
27
|
-
opened_at_ms:
|
|
25
|
+
order_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u256">;
|
|
26
|
+
root_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u256">;
|
|
27
|
+
opened_at_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
28
28
|
}, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">;
|
|
29
29
|
timing: MoveStruct<{
|
|
30
|
-
placed_at_ms:
|
|
31
|
-
earliest_price_ms:
|
|
32
|
-
tau_ms:
|
|
33
|
-
deadline_ms:
|
|
34
|
-
cutoff_ms:
|
|
35
|
-
pyth_channel:
|
|
30
|
+
placed_at_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
31
|
+
earliest_price_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
32
|
+
tau_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
33
|
+
deadline_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
34
|
+
cutoff_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
35
|
+
pyth_channel: _mysten_sui_bcs593.BcsType<number, number, "u8">;
|
|
36
36
|
}, "@local-pkg/deepbook_predict_orders::order_queue::OrderTiming">;
|
|
37
37
|
vol: MoveStruct<{
|
|
38
|
-
pyth_source_id:
|
|
39
|
-
bs_spot:
|
|
40
|
-
bs_forward:
|
|
38
|
+
pyth_source_id: _mysten_sui_bcs593.BcsType<number, number, "u32">;
|
|
39
|
+
bs_spot: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
40
|
+
bs_forward: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
41
41
|
svi_a: MoveStruct<{
|
|
42
|
-
magnitude:
|
|
43
|
-
is_negative:
|
|
42
|
+
magnitude: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
43
|
+
is_negative: _mysten_sui_bcs593.BcsType<boolean, boolean, "bool">;
|
|
44
44
|
}, "fixed_math::i64::I64">;
|
|
45
|
-
svi_b:
|
|
45
|
+
svi_b: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
46
46
|
svi_rho: MoveStruct<{
|
|
47
|
-
magnitude:
|
|
48
|
-
is_negative:
|
|
47
|
+
magnitude: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
48
|
+
is_negative: _mysten_sui_bcs593.BcsType<boolean, boolean, "bool">;
|
|
49
49
|
}, "fixed_math::i64::I64">;
|
|
50
50
|
svi_m: MoveStruct<{
|
|
51
|
-
magnitude:
|
|
52
|
-
is_negative:
|
|
51
|
+
magnitude: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
52
|
+
is_negative: _mysten_sui_bcs593.BcsType<boolean, boolean, "bool">;
|
|
53
53
|
}, "fixed_math::i64::I64">;
|
|
54
|
-
svi_sigma:
|
|
55
|
-
bs_spot_source_timestamp_ms:
|
|
56
|
-
bs_forward_source_timestamp_ms:
|
|
57
|
-
svi_source_timestamp_ms:
|
|
54
|
+
svi_sigma: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
55
|
+
bs_spot_source_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
56
|
+
bs_forward_source_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
57
|
+
svi_source_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
58
58
|
}, "deepbook_predict::pricing::VolSnapshot">;
|
|
59
|
-
budget:
|
|
60
|
-
order_fee:
|
|
61
|
-
cash_need:
|
|
62
|
-
subsidy_bound:
|
|
63
|
-
builder_code_id:
|
|
64
|
-
referrer_account_id:
|
|
65
|
-
source_record_id:
|
|
66
|
-
market_cash:
|
|
67
|
-
required_cash:
|
|
68
|
-
waiting_cash_need:
|
|
69
|
-
onchain_timestamp_ms:
|
|
59
|
+
budget: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
60
|
+
order_fee: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">; /** The order's worst-case cash need, added to the waiting total. */
|
|
61
|
+
cash_need: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
62
|
+
subsidy_bound: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
63
|
+
builder_code_id: _mysten_sui_bcs593.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
|
|
64
|
+
referrer_account_id: _mysten_sui_bcs593.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">; /** The Open record a sell took its position from. `none` for a mint. */
|
|
65
|
+
source_record_id: _mysten_sui_bcs593.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">; /** The market's cash, required cash, and waiting cash need after the call. */
|
|
66
|
+
market_cash: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
67
|
+
required_cash: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
68
|
+
waiting_cash_need: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
69
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
70
70
|
}, "@local-pkg/deepbook_predict_orders::queue_events::OrderEnqueued">;
|
|
71
71
|
declare const CohortCommitted: MoveStruct<{
|
|
72
|
-
expiry_market_id:
|
|
73
|
-
tau_ms:
|
|
74
|
-
tick_ms:
|
|
75
|
-
first_record_id:
|
|
76
|
-
last_record_id:
|
|
77
|
-
spot:
|
|
78
|
-
generation_us:
|
|
79
|
-
pyth_source_id:
|
|
80
|
-
pyth_channel:
|
|
81
|
-
sender:
|
|
82
|
-
onchain_timestamp_ms:
|
|
72
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
73
|
+
tau_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">; /** The update's envelope in ms: τ, or the backup tick one channel tick later. */
|
|
74
|
+
tick_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
75
|
+
first_record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
76
|
+
last_record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">; /** The committed price of the cohort's first order, normalized to 1e9. */
|
|
77
|
+
spot: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">; /** That price's own update time, in µs. */
|
|
78
|
+
generation_us: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
79
|
+
pyth_source_id: _mysten_sui_bcs593.BcsType<number, number, "u32">;
|
|
80
|
+
pyth_channel: _mysten_sui_bcs593.BcsType<number, number, "u8">; /** The transaction sender, so monitoring sees commits by third parties. */
|
|
81
|
+
sender: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
82
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
83
83
|
}, "@local-pkg/deepbook_predict_orders::queue_events::CohortCommitted">;
|
|
84
84
|
declare const QueuedOrderFilled: MoveStruct<{
|
|
85
|
-
/** The market's cash, required cash, and waiting cash need after the call. */market_cash:
|
|
86
|
-
required_cash:
|
|
87
|
-
waiting_cash_need:
|
|
88
|
-
expiry_market_id:
|
|
89
|
-
record_id:
|
|
90
|
-
account_id:
|
|
91
|
-
kind:
|
|
92
|
-
quantity:
|
|
93
|
-
amount:
|
|
94
|
-
trading_fee:
|
|
95
|
-
builder_fee:
|
|
96
|
-
referral_fee:
|
|
97
|
-
order_fee:
|
|
98
|
-
subsidy_used:
|
|
99
|
-
inventory_impact:
|
|
100
|
-
tau_ms:
|
|
101
|
-
tick_ms:
|
|
85
|
+
/** The market's cash, required cash, and waiting cash need after the call. */market_cash: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
86
|
+
required_cash: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
87
|
+
waiting_cash_need: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
88
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
89
|
+
record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
90
|
+
account_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
91
|
+
kind: _mysten_sui_bcs593.BcsType<number, number, "u8">; /** Filled quantity (mint) or closed quantity (sell). */
|
|
92
|
+
quantity: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">; /** Cost paid (mint) or proceeds (sell). */
|
|
93
|
+
amount: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
94
|
+
trading_fee: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
95
|
+
builder_fee: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
96
|
+
referral_fee: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
97
|
+
order_fee: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">; /** Reserved fee subsidy the fill used. */
|
|
98
|
+
subsidy_used: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
99
|
+
inventory_impact: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
100
|
+
tau_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
101
|
+
tick_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
102
102
|
/**
|
|
103
103
|
* The position the record now holds: a mint's new position or a partial sell's
|
|
104
104
|
* replacement; zero after a full close.
|
|
105
105
|
*/
|
|
106
106
|
position: MoveStruct<{
|
|
107
|
-
order_id:
|
|
108
|
-
root_id:
|
|
109
|
-
opened_at_ms:
|
|
107
|
+
order_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u256">;
|
|
108
|
+
root_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u256">;
|
|
109
|
+
opened_at_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
110
110
|
}, "@local-pkg/deepbook_predict_orders::order_queue::HeldPosition">;
|
|
111
|
-
sender:
|
|
112
|
-
onchain_timestamp_ms:
|
|
111
|
+
sender: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
112
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
113
113
|
}, "@local-pkg/deepbook_predict_orders::queue_events::QueuedOrderFilled">;
|
|
114
114
|
declare const QueuedOrderRefunded: MoveStruct<{
|
|
115
|
-
/** The market's cash, required cash, and waiting cash need after the call. */market_cash:
|
|
116
|
-
required_cash:
|
|
117
|
-
waiting_cash_need:
|
|
118
|
-
expiry_market_id:
|
|
119
|
-
record_id:
|
|
120
|
-
account_id:
|
|
121
|
-
kind:
|
|
122
|
-
reason:
|
|
123
|
-
escrow_returned:
|
|
124
|
-
order_fee_returned:
|
|
125
|
-
subsidy_returned:
|
|
126
|
-
position_returned:
|
|
127
|
-
sender:
|
|
128
|
-
onchain_timestamp_ms:
|
|
115
|
+
/** The market's cash, required cash, and waiting cash need after the call. */market_cash: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
116
|
+
required_cash: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
117
|
+
waiting_cash_need: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
118
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
119
|
+
record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
120
|
+
account_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
121
|
+
kind: _mysten_sui_bcs593.BcsType<number, number, "u8">; /** An `order_queue` reason code. */
|
|
122
|
+
reason: _mysten_sui_bcs593.BcsType<number, number, "u8">;
|
|
123
|
+
escrow_returned: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
124
|
+
order_fee_returned: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
125
|
+
subsidy_returned: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">; /** True when a sell's record went back to Open holding its position. */
|
|
126
|
+
position_returned: _mysten_sui_bcs593.BcsType<boolean, boolean, "bool">;
|
|
127
|
+
sender: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
128
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
129
129
|
}, "@local-pkg/deepbook_predict_orders::queue_events::QueuedOrderRefunded">;
|
|
130
130
|
declare const QueuedOrdersCleaned: MoveStruct<{
|
|
131
|
-
expiry_market_id:
|
|
132
|
-
record_ids:
|
|
131
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
132
|
+
record_ids: _mysten_sui_bcs593.BcsType<bigint[], Iterable<string | number | bigint> & {
|
|
133
133
|
length: number;
|
|
134
134
|
}, string>;
|
|
135
|
-
onchain_timestamp_ms:
|
|
135
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
136
136
|
}, "@local-pkg/deepbook_predict_orders::queue_events::QueuedOrdersCleaned">;
|
|
137
137
|
declare const OpenRecordSettled: MoveStruct<{
|
|
138
|
-
expiry_market_id:
|
|
139
|
-
record_id:
|
|
140
|
-
account_id:
|
|
141
|
-
order_id:
|
|
142
|
-
payout:
|
|
143
|
-
onchain_timestamp_ms:
|
|
138
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
139
|
+
record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
140
|
+
account_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
141
|
+
order_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u256">;
|
|
142
|
+
payout: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
143
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
144
144
|
}, "@local-pkg/deepbook_predict_orders::queue_events::OpenRecordSettled">;
|
|
145
145
|
declare const OpenRecordPayoutSkipped: MoveStruct<{
|
|
146
|
-
expiry_market_id:
|
|
147
|
-
record_id:
|
|
148
|
-
account_id:
|
|
149
|
-
order_id:
|
|
150
|
-
payout:
|
|
151
|
-
onchain_timestamp_ms:
|
|
146
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
147
|
+
record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
148
|
+
account_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
149
|
+
order_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u256">;
|
|
150
|
+
payout: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
151
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
152
152
|
}, "@local-pkg/deepbook_predict_orders::queue_events::OpenRecordPayoutSkipped">;
|
|
153
153
|
declare const RecordFundsParked: MoveStruct<{
|
|
154
|
-
expiry_market_id:
|
|
155
|
-
record_id:
|
|
156
|
-
account_id:
|
|
157
|
-
receive_address:
|
|
158
|
-
amount:
|
|
159
|
-
onchain_timestamp_ms:
|
|
154
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
155
|
+
record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
156
|
+
account_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
157
|
+
receive_address: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
158
|
+
amount: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
159
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
160
160
|
}, "@local-pkg/deepbook_predict_orders::queue_events::RecordFundsParked">;
|
|
161
161
|
declare const RecordFundsClaimed: MoveStruct<{
|
|
162
|
-
expiry_market_id:
|
|
163
|
-
record_id:
|
|
164
|
-
account_id:
|
|
165
|
-
receive_address:
|
|
166
|
-
amount:
|
|
167
|
-
onchain_timestamp_ms:
|
|
162
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
163
|
+
record_id: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
164
|
+
account_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
165
|
+
receive_address: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
166
|
+
amount: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
167
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
168
168
|
}, "@local-pkg/deepbook_predict_orders::queue_events::RecordFundsClaimed">;
|
|
169
169
|
declare const MarketPayoutsCompleted: MoveStruct<{
|
|
170
|
-
expiry_market_id:
|
|
171
|
-
onchain_timestamp_ms:
|
|
170
|
+
expiry_market_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
171
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
172
172
|
}, "@local-pkg/deepbook_predict_orders::queue_events::MarketPayoutsCompleted">;
|
|
173
173
|
declare const DelayedExecutionPolicyUpdated: MoveStruct<{
|
|
174
|
-
desk_id:
|
|
174
|
+
desk_id: _mysten_sui_bcs593.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
175
175
|
policy: MoveStruct<{
|
|
176
|
-
delay_ms:
|
|
177
|
-
stall_timeout_ms:
|
|
178
|
-
stuck_threshold_ms:
|
|
179
|
-
gap_wait_ms:
|
|
180
|
-
pyth_price_buffer_ms:
|
|
181
|
-
pyth_channel:
|
|
182
|
-
svi_max_age_ms:
|
|
183
|
-
mint_capacity:
|
|
184
|
-
sell_capacity:
|
|
185
|
-
per_account_cap:
|
|
186
|
-
order_fee:
|
|
187
|
-
min_sell_quantity:
|
|
188
|
-
settle_refund_batch:
|
|
189
|
-
settle_payout_batch:
|
|
176
|
+
delay_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
177
|
+
stall_timeout_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
178
|
+
stuck_threshold_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
179
|
+
gap_wait_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
180
|
+
pyth_price_buffer_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
181
|
+
pyth_channel: _mysten_sui_bcs593.BcsType<number, number, "u8">;
|
|
182
|
+
svi_max_age_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
183
|
+
mint_capacity: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
184
|
+
sell_capacity: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
185
|
+
per_account_cap: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
186
|
+
order_fee: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
187
|
+
min_sell_quantity: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
188
|
+
settle_refund_batch: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
189
|
+
settle_payout_batch: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
190
190
|
}, "@local-pkg/deepbook_predict_orders::delayed_execution_config::DelayedExecutionPolicy">;
|
|
191
|
-
onchain_timestamp_ms:
|
|
191
|
+
onchain_timestamp_ms: _mysten_sui_bcs593.BcsType<bigint, string | number | bigint, "u64">;
|
|
192
192
|
}, "@local-pkg/deepbook_predict_orders::queue_events::DelayedExecutionPolicyUpdated">;
|
|
193
193
|
//#endregion
|
|
194
194
|
export { OrderEnqueued, queue_events_d_exports };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigValue, MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs732 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions319 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_sessions/session_config.d.ts
|
|
@@ -8,11 +8,11 @@ declare namespace session_config_d_exports {
|
|
|
8
8
|
export { BumpVersionWatermarkArguments, BumpVersionWatermarkOptions, IdArguments, IdOptions, SessionsAdminCap, SessionsConfig, VersionWatermarkArguments, VersionWatermarkOptions, bumpVersionWatermark, id, versionWatermark };
|
|
9
9
|
}
|
|
10
10
|
declare const SessionsConfig: MoveStruct<{
|
|
11
|
-
id:
|
|
12
|
-
version_watermark:
|
|
11
|
+
id: _mysten_sui_bcs732.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
12
|
+
version_watermark: _mysten_sui_bcs732.BcsType<bigint, string | number | bigint, "u64">;
|
|
13
13
|
}, "@local-pkg/deepbook_sessions::session_config::SessionsConfig">;
|
|
14
14
|
declare const SessionsAdminCap: MoveStruct<{
|
|
15
|
-
id:
|
|
15
|
+
id: _mysten_sui_bcs732.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
16
16
|
}, "@local-pkg/deepbook_sessions::session_config::SessionsAdminCap">;
|
|
17
17
|
interface IdArguments {
|
|
18
18
|
config?: RawTransactionArgument<string>;
|
|
@@ -26,7 +26,7 @@ interface IdOptions {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
/** Return the config object ID for external PTB construction. */
|
|
29
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
29
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions319.TransactionResult;
|
|
30
30
|
interface VersionWatermarkArguments {
|
|
31
31
|
config?: RawTransactionArgument<string>;
|
|
32
32
|
}
|
|
@@ -39,7 +39,7 @@ interface VersionWatermarkOptions {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
/** Return the minimum Sessions package version accepted by gated entrypoints. */
|
|
42
|
-
declare function versionWatermark(options: VersionWatermarkOptions): (tx: Transaction) =>
|
|
42
|
+
declare function versionWatermark(options: VersionWatermarkOptions): (tx: Transaction) => _mysten_sui_transactions319.TransactionResult;
|
|
43
43
|
interface BumpVersionWatermarkArguments {
|
|
44
44
|
config?: RawTransactionArgument<string>;
|
|
45
45
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -57,7 +57,7 @@ interface BumpVersionWatermarkOptions {
|
|
|
57
57
|
* so an upgraded package can retire older versions, and it cannot accept a
|
|
58
58
|
* caller-selected target.
|
|
59
59
|
*/
|
|
60
|
-
declare function bumpVersionWatermark(options: BumpVersionWatermarkOptions): (tx: Transaction) =>
|
|
60
|
+
declare function bumpVersionWatermark(options: BumpVersionWatermarkOptions): (tx: Transaction) => _mysten_sui_transactions319.TransactionResult;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { session_config_d_exports };
|
|
63
63
|
//# sourceMappingURL=session_config.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RawTransactionArgument } from "../../contracts/utils/index.mjs";
|
|
2
2
|
import { AdmissionTickSizeArguments, AdmissionTickSizeOptions, AdmitMintArguments, AdmitMintOptions, AdmitSellArguments, AdmitSellOptions, AllInCostArguments, AllInCostOptions, BackingBufferLambdaArguments, BackingBufferLambdaOptions, BuilderFeeArguments, BuilderFeeOptions, CashBalanceArguments, CashBalanceOptions, CommitArguments, CommitOptions, CurrentNavArguments, CurrentNavOptions, EntryProbabilityArguments, EntryProbabilityOptions, ExpiryArguments, ExpiryFeeMaxMultiplierArguments, ExpiryFeeMaxMultiplierOptions, ExpiryFeeWindowMsArguments, ExpiryFeeWindowMsOptions, ExpiryMarket, ExpiryOptions, FeeIncentiveBalanceArguments, FeeIncentiveBalanceOptions, FeeIncentiveSubsidyArguments, FeeIncentiveSubsidyOptions, IdArguments, IdOptions, InventoryImpactChargeArguments, InventoryImpactChargeOptions, InventoryImpactMaxRateArguments, InventoryImpactMaxRateOptions, InventoryImpactReserveArguments, InventoryImpactReserveOptions, InventoryImpactScaleArguments, InventoryImpactScaleOptions, IsPendingValuationArguments, IsPendingValuationOptions, IsSettledArguments, IsSettledOptions, LiveOrderValueArguments, LiveOrderValueOptions, LoadLivePricerArguments, LoadLivePricerOptions, MintExactAmountOptions as MintExactAmountOptions$1, MintExactCostOptions as MintExactCostOptions$1, MintExactQuantityOptions as MintExactQuantityOptions$1, MintPausedArguments, MintPausedOptions, MintQuote, OrderFlowLedger, OrderFlowLedgerKey, OrderFlowStateArguments, OrderFlowStateOptions, OrderParties, OrderReceipt, PayoutLiabilityArguments, PayoutLiabilityOptions, PenaltyFeeArguments, PenaltyFeeOptions, PremiumArguments, PremiumOptions, PropbookUnderlyingIdArguments, PropbookUnderlyingIdOptions, QuantityArguments, QuantityOptions, QuoteCloseArguments, QuoteCloseOptions, QuoteMintArguments, QuoteMintExactCostForAccountArguments, QuoteMintExactCostForAccountOptions, QuoteMintForAccountArguments, QuoteMintForAccountOptions, QuoteMintOptions, ReceiptInfoArguments, ReceiptInfoOptions, RedeemBuilderFeeArguments, RedeemBuilderFeeOptions, RedeemCloseQuantityArguments, RedeemCloseQuantityOptions, RedeemInventoryImpactRebateArguments, RedeemInventoryImpactRebateOptions, RedeemLiveOptions as RedeemLiveOptions$1, RedeemProbabilityArguments, RedeemProbabilityOptions, RedeemProceedsArguments, RedeemProceedsOptions, RedeemQuote, RedeemSettledArguments, RedeemSettledOptions, RedeemSettledPermissionlessArguments, RedeemSettledPermissionlessOptions, RedeemTradingFeeArguments, RedeemTradingFeeOptions, ReferenceTickArguments, ReferenceTickOptions, ReferenceTickSourceTimestampMsArguments, ReferenceTickSourceTimestampMsOptions, ReleaseArguments, ReleaseOptions, RequiredCashArguments, RequiredCashOptions, SetMintPausedArguments, SetMintPausedOptions, SetReferenceTickArguments, SetReferenceTickOptions, SettledOrderPayoutArguments, SettledOrderPayoutOptions, SettlementPriceArguments, SettlementPriceOptions, TickSizeArguments, TickSizeOptions, TradingFeeArguments, TradingFeeOptions, TryFillArguments, TryFillOptions, TryPaySettledArguments, TryPaySettledOptions, TrySettleArguments, TrySettleOptions, TrySettlementPriceArguments, TrySettlementPriceOptions, ValuationStamp, admissionTickSize, admitMint, admitSell, allInCost, backingBufferLambda, builderFee, cashBalance, commit, currentNav, entryProbability, expiry, expiryFeeMaxMultiplier, expiryFeeWindowMs, feeIncentiveBalance, feeIncentiveSubsidy, id, inventoryImpactCharge, inventoryImpactMaxRate, inventoryImpactReserve, inventoryImpactScale, isPendingValuation, isSettled, liveOrderValue, loadLivePricer, mintPaused, orderFlowState, payoutLiability, penaltyFee, premium, propbookUnderlyingId, quantity, quoteClose, quoteMint, quoteMintExactCostForAccount, quoteMintForAccount, receiptInfo, redeemBuilderFee, redeemCloseQuantity, redeemInventoryImpactRebate, redeemProbability, redeemProceeds, redeemSettled, redeemSettledPermissionless, redeemTradingFee, referenceTick, referenceTickSourceTimestampMs, release, requiredCash, setMintPaused, setReferenceTick, settledOrderPayout, settlementPrice, tickSize, tradingFee, tryFill, tryPaySettled, trySettle, trySettlementPrice } from "../../contracts/deepbook_predict/expiry_market.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _mysten_sui_transactions138 from "@mysten/sui/transactions";
|
|
4
4
|
import { TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/predict/bindings/expiry-market.d.ts
|
|
@@ -28,7 +28,7 @@ interface MintExactQuantityOptions extends Omit<MintExactQuantityOptions$1, 'arg
|
|
|
28
28
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
29
29
|
* (`EDelayedExecutionRequired`). Queue mints through the order-flow package.
|
|
30
30
|
*/
|
|
31
|
-
declare function mintExactQuantity(options: MintExactQuantityOptions): (tx:
|
|
31
|
+
declare function mintExactQuantity(options: MintExactQuantityOptions): (tx: _mysten_sui_transactions138.Transaction) => _mysten_sui_transactions138.TransactionResult;
|
|
32
32
|
interface MintExactAmountArguments extends TradeTarget {
|
|
33
33
|
lowerTick: RawTransactionArgument<number | bigint>;
|
|
34
34
|
higherTick: RawTransactionArgument<number | bigint>;
|
|
@@ -43,7 +43,7 @@ interface MintExactAmountOptions extends Omit<MintExactAmountOptions$1, 'argumen
|
|
|
43
43
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
44
44
|
* (`EDelayedExecutionRequired`). Queue mints through the order-flow package.
|
|
45
45
|
*/
|
|
46
|
-
declare function mintExactAmount(options: MintExactAmountOptions): (tx:
|
|
46
|
+
declare function mintExactAmount(options: MintExactAmountOptions): (tx: _mysten_sui_transactions138.Transaction) => _mysten_sui_transactions138.TransactionResult;
|
|
47
47
|
interface MintExactCostArguments extends TradeTarget {
|
|
48
48
|
lowerTick: RawTransactionArgument<number | bigint>;
|
|
49
49
|
higherTick: RawTransactionArgument<number | bigint>;
|
|
@@ -57,7 +57,7 @@ interface MintExactCostOptions extends Omit<MintExactCostOptions$1, 'arguments'>
|
|
|
57
57
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
58
58
|
* (`EDelayedExecutionRequired`). Queue mints through the order-flow package.
|
|
59
59
|
*/
|
|
60
|
-
declare function mintExactCost(options: MintExactCostOptions): (tx:
|
|
60
|
+
declare function mintExactCost(options: MintExactCostOptions): (tx: _mysten_sui_transactions138.Transaction) => _mysten_sui_transactions138.TransactionResult;
|
|
61
61
|
interface RedeemLiveArguments extends TradeTarget {
|
|
62
62
|
orderId: RawTransactionArgument<number | bigint>;
|
|
63
63
|
closeQuantity: RawTransactionArgument<number | bigint>;
|
|
@@ -71,7 +71,7 @@ interface RedeemLiveOptions extends Omit<RedeemLiveOptions$1, 'arguments'> {
|
|
|
71
71
|
* @deprecated Retired by delayed execution: Predict v4 always aborts it
|
|
72
72
|
* (`EDelayedExecutionRequired`). Sell an Open record through the order-flow package.
|
|
73
73
|
*/
|
|
74
|
-
declare function redeemLive(options: RedeemLiveOptions): (tx:
|
|
74
|
+
declare function redeemLive(options: RedeemLiveOptions): (tx: _mysten_sui_transactions138.Transaction) => _mysten_sui_transactions138.TransactionResult;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { expiry_market_d_exports };
|
|
77
77
|
//# sourceMappingURL=expiry-market.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RawTransactionArgument } from "../../contracts/utils/index.mjs";
|
|
2
2
|
import { AddFlushOperatorArguments, AddFlushOperatorOptions, AddSettledRedeemKeeperArguments, AddSettledRedeemKeeperOptions, 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, SetEwmaEnabledOptions as SetEwmaEnabledOptions$1, SetEwmaParamsOptions as SetEwmaParamsOptions$1, 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, bumpVersionWatermark, feeIncentiveLifetimeCapRate, feeIncentiveLiveTargetRate, feeIncentiveSubsidyRate, frozen, id, isFlushOperator, isOrderFlow, noTradeWindowMs, referralFeeRate, removeFlushOperator, removeSettledRedeemKeeper, setBlockScholesPriceFreshnessMs, setBlockScholesSviFreshnessMs, 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 } from "../../contracts/deepbook_predict/protocol_config.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _mysten_sui_transactions167 from "@mysten/sui/transactions";
|
|
4
4
|
|
|
5
5
|
//#region src/predict/bindings/protocol-config.d.ts
|
|
6
6
|
declare namespace protocol_config_d_exports {
|
|
@@ -20,7 +20,7 @@ interface SetEwmaParamsOptions extends Omit<SetEwmaParamsOptions$1, 'arguments'>
|
|
|
20
20
|
* @deprecated Retired with instant trading: queued fills charge no congestion penalty, and
|
|
21
21
|
* Predict v4 always aborts it (`EEwmaRetired`).
|
|
22
22
|
*/
|
|
23
|
-
declare function setEwmaParams(options: SetEwmaParamsOptions): (tx:
|
|
23
|
+
declare function setEwmaParams(options: SetEwmaParamsOptions): (tx: _mysten_sui_transactions167.Transaction) => _mysten_sui_transactions167.TransactionResult;
|
|
24
24
|
interface SetEwmaEnabledArguments {
|
|
25
25
|
config?: RawTransactionArgument<string>;
|
|
26
26
|
AdminCap: RawTransactionArgument<string>;
|
|
@@ -33,7 +33,7 @@ interface SetEwmaEnabledOptions extends Omit<SetEwmaEnabledOptions$1, 'arguments
|
|
|
33
33
|
* @deprecated Retired with instant trading: queued fills charge no congestion penalty, and
|
|
34
34
|
* Predict v4 always aborts it (`EEwmaRetired`).
|
|
35
35
|
*/
|
|
36
|
-
declare function setEwmaEnabled(options: SetEwmaEnabledOptions): (tx:
|
|
36
|
+
declare function setEwmaEnabled(options: SetEwmaEnabledOptions): (tx: _mysten_sui_transactions167.Transaction) => _mysten_sui_transactions167.TransactionResult;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { protocol_config_d_exports };
|
|
39
39
|
//# sourceMappingURL=protocol-config.d.mts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PricerInputs } from "../pricing.mjs";
|
|
2
2
|
import "../config/generated.mjs";
|
|
3
3
|
import "../tx/trade.mjs";
|
|
4
|
+
import "./inspect.mjs";
|
|
4
5
|
|
|
5
6
|
//#region src/predict/reads/pricing.d.ts
|
|
6
7
|
/** A resolved pricer snapshot read from the chain: the decimal forward + rolled SVI the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing.d.mts","names":[],"sources":["../../../src/predict/reads/pricing.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pricing.d.mts","names":[],"sources":["../../../src/predict/reads/pricing.ts"],"mappings":";;;;;;;;AA2BA;;;UAAiB,cAAA,SAAuB,YAAA;EACvC,OAAA;IACC,UAAA;IACA,kBAAA;IACA,qBAAA;IACA,iBAAA;EAAA;AAAA"}
|
|
@@ -2,6 +2,7 @@ import { DelayedExecutionPolicy, QueueHeads, QueuedOrder } from "../queue.mjs";
|
|
|
2
2
|
import { OrdersGeneratedConfig } from "../config/generated.mjs";
|
|
3
3
|
import "../tx/trade.mjs";
|
|
4
4
|
import "../tx/queue.mjs";
|
|
5
|
+
import "./inspect.mjs";
|
|
5
6
|
import { ClientWithCoreApi } from "@mysten/sui/client";
|
|
6
7
|
|
|
7
8
|
//#region src/predict/reads/queue.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.d.mts","names":[],"sources":["../../../src/predict/reads/queue.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"queue.d.mts","names":[],"sources":["../../../src/predict/reads/queue.ts"],"mappings":";;;;;;;;;iBAsCgB,oBAAA,CACf,MAAA,EAAQ,IAAA,CAAK,qBAAA;AADd;AAAA,UAOiB,gBAAA;EAChB,QAAA;EAPY;EASZ,OAAA;EACA,QAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EAPgB;;;;EAYhB,SAAA;EA0DU;EAxDV,eAAA;EAwDqB;EAtDrB,mBAAA;EAbA;EAeA,mBAAA;EAbA;EAeA,mBAAA;EAbA;EAeA,KAAA;EACA,OAAA;IACC,KAAA;IACA,sBAAA,iBALD;IAOC,oCAAA;EAAA;EAED,KAAA,EAAO,UAAA;EAJN;EAMD,OAAA;IAAW,KAAA;IAAe,KAAA;EAAA;EAAf;;;;EAKX,MAAA;IAAU,MAAA;IAAgB,MAAA;IAAgB,SAAA;EAAA;EAIjC;EAFT,IAAA;IACC,EAAA;IACA,MAAA,EAAQ,sBAAA;IACR,gBAAA;EAAA;EAED,QAAA;IACC,eAAA,UAYA;IAVA,uBAAA;IACA,aAAA;IACA,MAAA,WAmBA;IAjBA,gBAAA;IAoBS;;;AAyLX;;IAvME,gBAAA;EAAA;EAuMuB;EApMxB,OAAA;IACC,SAAA;;;;;IAKA,aAAA;IAEA,YAAA;EAAA;;EAGD,OAAA,GAAU,WAAA;AAAA;;;;;;;;;;;;;;;;;KAyLC,aAAA"}
|