@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,21 +1,21 @@
|
|
|
1
1
|
import { MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs22 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions99 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/builder_code.d.ts
|
|
7
7
|
declare namespace builder_code_d_exports {
|
|
8
8
|
export { BuilderCode, BuilderCodeKey, BuilderFee, ClaimAllBuilderFeesArguments, ClaimAllBuilderFeesOptions, ClaimableBuilderFeesArguments, ClaimableBuilderFeesOptions, CodeIdArguments, CodeIdOptions, FeePerContractArguments, FeePerContractOptions, IdArguments, IdOptions, IndexArguments, IndexOptions, NewFeeArguments, NewFeeOptions, OwnerArguments, OwnerOptions, claimAllBuilderFees, claimableBuilderFees, codeId, feePerContract, id, index, newFee, owner };
|
|
9
9
|
}
|
|
10
|
-
declare const BuilderCodeKey: MoveTuple<readonly [
|
|
10
|
+
declare const BuilderCodeKey: MoveTuple<readonly [_mysten_sui_bcs22.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">, _mysten_sui_bcs22.BcsType<bigint, string | number | bigint, "u64">], "@local-pkg/deepbook_predict::builder_code::BuilderCodeKey">;
|
|
11
11
|
declare const BuilderCode: MoveStruct<{
|
|
12
|
-
id:
|
|
13
|
-
owner:
|
|
14
|
-
index:
|
|
12
|
+
id: _mysten_sui_bcs22.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
13
|
+
owner: _mysten_sui_bcs22.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
14
|
+
index: _mysten_sui_bcs22.BcsType<bigint, string | number | bigint, "u64">;
|
|
15
15
|
}, "@local-pkg/deepbook_predict::builder_code::BuilderCode">;
|
|
16
16
|
declare const BuilderFee: MoveStruct<{
|
|
17
|
-
code_id:
|
|
18
|
-
fee_per_contract:
|
|
17
|
+
code_id: _mysten_sui_bcs22.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
18
|
+
fee_per_contract: _mysten_sui_bcs22.BcsType<bigint, string | number | bigint, "u64">;
|
|
19
19
|
}, "@local-pkg/deepbook_predict::builder_code::BuilderFee">;
|
|
20
20
|
interface IdArguments {
|
|
21
21
|
code: RawTransactionArgument<string>;
|
|
@@ -28,7 +28,7 @@ interface IdOptions {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
/** Returns the code identity for trade construction and external discovery. */
|
|
31
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
31
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
32
32
|
interface NewFeeArguments {
|
|
33
33
|
code: RawTransactionArgument<string>;
|
|
34
34
|
feePerContract: RawTransactionArgument<number | bigint>;
|
|
@@ -44,7 +44,7 @@ interface NewFeeOptions {
|
|
|
44
44
|
* Name `code` and its fee per contract for one trade. For PTB construction and the
|
|
45
45
|
* order-flow companion, which pass it to Predict's builder admission.
|
|
46
46
|
*/
|
|
47
|
-
declare function newFee(options: NewFeeOptions): (tx: Transaction) =>
|
|
47
|
+
declare function newFee(options: NewFeeOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
48
48
|
interface CodeIdArguments {
|
|
49
49
|
fee: TransactionArgument;
|
|
50
50
|
}
|
|
@@ -56,7 +56,7 @@ interface CodeIdOptions {
|
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
/** Returns the code a `BuilderFee` pays, for the companion and Sessions' checks. */
|
|
59
|
-
declare function codeId(options: CodeIdOptions): (tx: Transaction) =>
|
|
59
|
+
declare function codeId(options: CodeIdOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
60
60
|
interface FeePerContractArguments {
|
|
61
61
|
fee: TransactionArgument;
|
|
62
62
|
}
|
|
@@ -71,7 +71,7 @@ interface FeePerContractOptions {
|
|
|
71
71
|
* Returns a `BuilderFee`'s uncapped fee per contract, for the companion and
|
|
72
72
|
* Sessions' checks.
|
|
73
73
|
*/
|
|
74
|
-
declare function feePerContract(options: FeePerContractOptions): (tx: Transaction) =>
|
|
74
|
+
declare function feePerContract(options: FeePerContractOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
75
75
|
interface OwnerArguments {
|
|
76
76
|
code: RawTransactionArgument<string>;
|
|
77
77
|
}
|
|
@@ -83,7 +83,7 @@ interface OwnerOptions {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
/** Returns the immutable owner authorized to claim fees. */
|
|
86
|
-
declare function owner(options: OwnerOptions): (tx: Transaction) =>
|
|
86
|
+
declare function owner(options: OwnerOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
87
87
|
interface IndexArguments {
|
|
88
88
|
code: RawTransactionArgument<string>;
|
|
89
89
|
}
|
|
@@ -95,7 +95,7 @@ interface IndexOptions {
|
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
/** Returns the owner-selected derivation index for external discovery. */
|
|
98
|
-
declare function index(options: IndexOptions): (tx: Transaction) =>
|
|
98
|
+
declare function index(options: IndexOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
99
99
|
interface ClaimableBuilderFeesArguments {
|
|
100
100
|
code: RawTransactionArgument<string>;
|
|
101
101
|
}
|
|
@@ -107,7 +107,7 @@ interface ClaimableBuilderFeesOptions {
|
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
109
|
/** Return visible USDC builder fees for SDK and devInspect reads. */
|
|
110
|
-
declare function claimableBuilderFees(options: ClaimableBuilderFeesOptions): (tx: Transaction) =>
|
|
110
|
+
declare function claimableBuilderFees(options: ClaimableBuilderFeesOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
111
111
|
interface ClaimAllBuilderFeesArguments {
|
|
112
112
|
code: RawTransactionArgument<string>;
|
|
113
113
|
}
|
|
@@ -122,7 +122,7 @@ interface ClaimAllBuilderFeesOptions {
|
|
|
122
122
|
* Claims all settled USDC builder fees for the immutable owner; an empty
|
|
123
123
|
* accumulator returns a zero coin.
|
|
124
124
|
*/
|
|
125
|
-
declare function claimAllBuilderFees(options: ClaimAllBuilderFeesOptions): (tx: Transaction) =>
|
|
125
|
+
declare function claimAllBuilderFees(options: ClaimAllBuilderFeesOptions): (tx: Transaction) => _mysten_sui_transactions99.TransactionResult;
|
|
126
126
|
//#endregion
|
|
127
127
|
export { builder_code_d_exports };
|
|
128
128
|
//# sourceMappingURL=builder_code.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder_code.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/builder_code.ts"],"mappings":";;;;;;;;;cAqBa,cAAA,EAAc,SAAA,WAAA,
|
|
1
|
+
{"version":3,"file":"builder_code.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/builder_code.ts"],"mappings":";;;;;;;;;cAqBa,cAAA,EAAc,SAAA,WAAA,iBAAA,CAAA,OAAA,kBAAA,UAAA,CAAA,eAAA,iBAAA,iBAAA,CAAA,OAAA;AAAA,cAId,WAAA,EAAW,UAAA;;;;;cAQX,UAAA,EAAU,UAAA;;;;UAON,WAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,SAAA;EAChB,OAAA;EACA,SAAA,EAAW,WAAA,IAAe,IAAA,EAAM,sBAAA;EAChC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,EAAA,CAAG,OAAA,EAAS,SAAA,IAKnB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,eAAA;EAChB,IAAA,EAAM,sBAAA;EACN,cAAA,EAAgB,sBAAA;AAAA;AAAA,UAEA,aAAA;EAChB,OAAA;EACA,SAAA,EACG,eAAA,IAEA,IAAA,EAAM,sBAAA,UACN,cAAA,EAAgB,sBAAA;EAEnB,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;iBAOc,MAAA,CAAO,OAAA,EAAS,aAAA,IAKvB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,eAAA;EAChB,GAAA,EAAK,mBAAA;AAAA;AAAA,UAEW,aAAA;EAChB,OAAA;EACA,SAAA,EAAW,eAAA,IAAmB,GAAA,EAAK,mBAAA;EACnC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,MAAA,CAAO,OAAA,EAAS,aAAA,IAKvB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,uBAAA;EAChB,GAAA,EAAK,mBAAA;AAAA;AAAA,UAEW,qBAAA;EAChB,OAAA;EACA,SAAA,EAAW,uBAAA,IAA2B,GAAA,EAAK,mBAAA;EAC3C,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;iBAOc,cAAA,CAAe,OAAA,EAAS,qBAAA,IAK/B,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,cAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,YAAA;EAChB,OAAA;EACA,SAAA,EAAW,cAAA,IAAkB,IAAA,EAAM,sBAAA;EACnC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,KAAA,CAAM,OAAA,EAAS,YAAA,IAKtB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,cAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,YAAA;EAChB,OAAA;EACA,SAAA,EAAW,cAAA,IAAkB,IAAA,EAAM,sBAAA;EACnC,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,KAAA,CAAM,OAAA,EAAS,YAAA,IAKtB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,6BAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,2BAAA;EAChB,OAAA;EACA,SAAA,EAAW,6BAAA,IAAiC,IAAA,EAAM,sBAAA;EAClD,MAAA;IACC,gBAAA;EAAA;AAAA;;iBAIc,oBAAA,CAAqB,OAAA,EAAS,2BAAA,IAKrC,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,4BAAA;EAChB,IAAA,EAAM,sBAAA;AAAA;AAAA,UAEU,0BAAA;EAChB,OAAA;EACA,SAAA,EAAW,4BAAA,IAAgC,IAAA,EAAM,sBAAA;EACjD,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;iBAOc,mBAAA,CAAoB,OAAA,EAAS,0BAAA,IAKpC,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { MoveStruct } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs174 from "@mysten/sui/bcs";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/deepbook_predict/builder_code_events.d.ts
|
|
5
5
|
declare namespace builder_code_events_d_exports {
|
|
6
6
|
export { BuilderCodeCreated, BuilderCodeSet, BuilderFeesClaimed };
|
|
7
7
|
}
|
|
8
8
|
declare const BuilderCodeCreated: MoveStruct<{
|
|
9
|
-
builder_code_id:
|
|
10
|
-
owner:
|
|
11
|
-
builder_code_index:
|
|
9
|
+
builder_code_id: _mysten_sui_bcs174.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
10
|
+
owner: _mysten_sui_bcs174.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
11
|
+
builder_code_index: _mysten_sui_bcs174.BcsType<bigint, string | number | bigint, "u64">;
|
|
12
12
|
}, "@local-pkg/deepbook_predict::builder_code_events::BuilderCodeCreated">;
|
|
13
13
|
declare const BuilderCodeSet: MoveStruct<{
|
|
14
|
-
account_id:
|
|
15
|
-
owner:
|
|
16
|
-
builder_code_id:
|
|
14
|
+
account_id: _mysten_sui_bcs174.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
15
|
+
owner: _mysten_sui_bcs174.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
16
|
+
builder_code_id: _mysten_sui_bcs174.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
|
|
17
17
|
}, "@local-pkg/deepbook_predict::builder_code_events::BuilderCodeSet">;
|
|
18
18
|
declare const BuilderFeesClaimed: MoveStruct<{
|
|
19
|
-
builder_code_id:
|
|
20
|
-
owner:
|
|
21
|
-
amount:
|
|
19
|
+
builder_code_id: _mysten_sui_bcs174.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
20
|
+
owner: _mysten_sui_bcs174.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
21
|
+
amount: _mysten_sui_bcs174.BcsType<bigint, string | number | bigint, "u64">;
|
|
22
22
|
}, "@local-pkg/deepbook_predict::builder_code_events::BuilderFeesClaimed">;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { builder_code_events_d_exports };
|
|
@@ -1,137 +1,137 @@
|
|
|
1
1
|
import { MoveStruct } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs183 from "@mysten/sui/bcs";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/deepbook_predict/config_events.d.ts
|
|
5
5
|
declare namespace config_events_d_exports {
|
|
6
6
|
export { BuilderFeeCapUpdated, CadenceAdded, CadenceConfigUpdated, EwmaConfigUpdated, ExpiryMarketMintPausedUpdated, FeeIncentiveAllocationRatesUpdated, FeeIncentiveSubsidyRateUpdated, FlushOperatorUpdated, MarketCreated, MarketSettled, NoTradeWindowUpdated, OrderFlowUpdated, PlpFeeRatesUpdated, PricingConfigUpdated, ProtocolFrozenUpdated, ReferenceTickSet, SettledRedeemKeeperUpdated, StrikeExposureTemplateConfigUpdated, TradingPausedUpdated };
|
|
7
7
|
}
|
|
8
8
|
declare const StrikeExposureTemplateConfigUpdated: MoveStruct<{
|
|
9
|
-
backing_buffer_lambda:
|
|
10
|
-
base_fee:
|
|
11
|
-
min_fee:
|
|
12
|
-
min_entry_probability:
|
|
13
|
-
max_entry_probability:
|
|
14
|
-
expiry_fee_window_ms:
|
|
15
|
-
expiry_fee_max_multiplier:
|
|
16
|
-
inventory_impact_max_rate:
|
|
17
|
-
onchain_timestamp_ms:
|
|
9
|
+
backing_buffer_lambda: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
10
|
+
base_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
11
|
+
min_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
12
|
+
min_entry_probability: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
13
|
+
max_entry_probability: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
14
|
+
expiry_fee_window_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
15
|
+
expiry_fee_max_multiplier: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
16
|
+
inventory_impact_max_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
17
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
18
18
|
}, "@local-pkg/deepbook_predict::config_events::StrikeExposureTemplateConfigUpdated">;
|
|
19
19
|
declare const PricingConfigUpdated: MoveStruct<{
|
|
20
|
-
use_pyth_spot_for_forward:
|
|
21
|
-
pyth_spot_freshness_ms:
|
|
22
|
-
block_scholes_price_freshness_ms:
|
|
23
|
-
block_scholes_svi_freshness_ms:
|
|
24
|
-
onchain_timestamp_ms:
|
|
20
|
+
use_pyth_spot_for_forward: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
21
|
+
pyth_spot_freshness_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
22
|
+
block_scholes_price_freshness_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
23
|
+
block_scholes_svi_freshness_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
24
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
25
25
|
}, "@local-pkg/deepbook_predict::config_events::PricingConfigUpdated">;
|
|
26
26
|
declare const EwmaConfigUpdated: MoveStruct<{
|
|
27
|
-
alpha:
|
|
28
|
-
z_score_threshold:
|
|
29
|
-
penalty_rate:
|
|
30
|
-
enabled:
|
|
31
|
-
onchain_timestamp_ms:
|
|
27
|
+
alpha: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
28
|
+
z_score_threshold: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
29
|
+
penalty_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
30
|
+
enabled: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
31
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
32
32
|
}, "@local-pkg/deepbook_predict::config_events::EwmaConfigUpdated">;
|
|
33
33
|
declare const PlpFeeRatesUpdated: MoveStruct<{
|
|
34
|
-
plp_supply_fee_rate:
|
|
35
|
-
plp_withdraw_fee_rate:
|
|
36
|
-
onchain_timestamp_ms:
|
|
34
|
+
plp_supply_fee_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
35
|
+
plp_withdraw_fee_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
36
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
37
37
|
}, "@local-pkg/deepbook_predict::config_events::PlpFeeRatesUpdated">;
|
|
38
38
|
declare const NoTradeWindowUpdated: MoveStruct<{
|
|
39
|
-
no_trade_window_ms:
|
|
40
|
-
onchain_timestamp_ms:
|
|
39
|
+
no_trade_window_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
40
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
41
41
|
}, "@local-pkg/deepbook_predict::config_events::NoTradeWindowUpdated">;
|
|
42
42
|
declare const FeeIncentiveSubsidyRateUpdated: MoveStruct<{
|
|
43
|
-
fee_incentive_subsidy_rate:
|
|
44
|
-
onchain_timestamp_ms:
|
|
43
|
+
fee_incentive_subsidy_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
44
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
45
45
|
}, "@local-pkg/deepbook_predict::config_events::FeeIncentiveSubsidyRateUpdated">;
|
|
46
46
|
declare const BuilderFeeCapUpdated: MoveStruct<{
|
|
47
|
-
builder_fee_cap:
|
|
48
|
-
onchain_timestamp_ms:
|
|
47
|
+
builder_fee_cap: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
48
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
49
49
|
}, "@local-pkg/deepbook_predict::config_events::BuilderFeeCapUpdated">;
|
|
50
50
|
declare const FeeIncentiveAllocationRatesUpdated: MoveStruct<{
|
|
51
|
-
fee_incentive_live_target_rate:
|
|
52
|
-
fee_incentive_lifetime_cap_rate:
|
|
53
|
-
onchain_timestamp_ms:
|
|
51
|
+
fee_incentive_live_target_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
52
|
+
fee_incentive_lifetime_cap_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
53
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
54
54
|
}, "@local-pkg/deepbook_predict::config_events::FeeIncentiveAllocationRatesUpdated">;
|
|
55
55
|
declare const TradingPausedUpdated: MoveStruct<{
|
|
56
|
-
protocol_config_id:
|
|
57
|
-
paused:
|
|
56
|
+
protocol_config_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
57
|
+
paused: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
58
58
|
}, "@local-pkg/deepbook_predict::config_events::TradingPausedUpdated">;
|
|
59
59
|
declare const ProtocolFrozenUpdated: MoveStruct<{
|
|
60
|
-
protocol_config_id:
|
|
61
|
-
frozen:
|
|
60
|
+
protocol_config_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
61
|
+
frozen: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
62
62
|
}, "@local-pkg/deepbook_predict::config_events::ProtocolFrozenUpdated">;
|
|
63
63
|
declare const SettledRedeemKeeperUpdated: MoveStruct<{
|
|
64
|
-
keeper:
|
|
65
|
-
allowed:
|
|
64
|
+
keeper: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
65
|
+
allowed: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
66
66
|
}, "@local-pkg/deepbook_predict::config_events::SettledRedeemKeeperUpdated">;
|
|
67
67
|
declare const FlushOperatorUpdated: MoveStruct<{
|
|
68
|
-
operator:
|
|
69
|
-
added:
|
|
70
|
-
onchain_timestamp_ms:
|
|
68
|
+
operator: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
69
|
+
added: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
70
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
71
71
|
}, "@local-pkg/deepbook_predict::config_events::FlushOperatorUpdated">;
|
|
72
72
|
declare const OrderFlowUpdated: MoveStruct<{
|
|
73
73
|
order_flow: MoveStruct<{
|
|
74
|
-
name:
|
|
74
|
+
name: _mysten_sui_bcs183.BcsType<string, string, "string">;
|
|
75
75
|
}, "std::type_name::TypeName">;
|
|
76
|
-
enabled:
|
|
77
|
-
onchain_timestamp_ms:
|
|
76
|
+
enabled: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
77
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
78
78
|
}, "@local-pkg/deepbook_predict::config_events::OrderFlowUpdated">;
|
|
79
79
|
declare const MarketCreated: MoveStruct<{
|
|
80
|
-
expiry_market_id:
|
|
81
|
-
pool_vault_id:
|
|
82
|
-
propbook_underlying_id:
|
|
83
|
-
expiry:
|
|
80
|
+
expiry_market_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
81
|
+
pool_vault_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">; /** Propbook underlying this market resolves current oracle bindings through. */
|
|
82
|
+
propbook_underlying_id: _mysten_sui_bcs183.BcsType<number, number, "u32">;
|
|
83
|
+
expiry: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
84
84
|
/**
|
|
85
85
|
* Raw-price-per-tick factor; indexers/SDKs derive raw strikes as
|
|
86
86
|
* `tick * tick_size`.
|
|
87
87
|
*/
|
|
88
|
-
tick_size:
|
|
89
|
-
admission_tick_size:
|
|
90
|
-
max_expiry_allocation:
|
|
91
|
-
initial_expiry_cash:
|
|
92
|
-
backing_buffer_lambda:
|
|
93
|
-
base_fee:
|
|
94
|
-
min_fee:
|
|
95
|
-
min_entry_probability:
|
|
96
|
-
max_entry_probability:
|
|
97
|
-
expiry_fee_window_ms:
|
|
98
|
-
expiry_fee_max_multiplier:
|
|
99
|
-
inventory_impact_max_rate:
|
|
88
|
+
tick_size: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Coarser raw-price step that new finite mint boundaries must align to. */
|
|
89
|
+
admission_tick_size: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** USDC pool allocation cap snapshotted for this expiry. */
|
|
90
|
+
max_expiry_allocation: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Minimum USDC cash target snapshotted for this expiry. */
|
|
91
|
+
initial_expiry_cash: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
92
|
+
backing_buffer_lambda: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
93
|
+
base_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
94
|
+
min_fee: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
95
|
+
min_entry_probability: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
96
|
+
max_entry_probability: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
97
|
+
expiry_fee_window_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
98
|
+
expiry_fee_max_multiplier: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** Maximum marginal inventory-impact rate snapshotted by this market. */
|
|
99
|
+
inventory_impact_max_rate: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
100
100
|
}, "@local-pkg/deepbook_predict::config_events::MarketCreated">;
|
|
101
101
|
declare const CadenceConfigUpdated: MoveStruct<{
|
|
102
|
-
registry_id:
|
|
103
|
-
propbook_underlying_id:
|
|
104
|
-
cadence_id:
|
|
105
|
-
tick_size:
|
|
106
|
-
admission_tick_size:
|
|
107
|
-
max_expiry_allocation:
|
|
108
|
-
initial_expiry_cash:
|
|
109
|
-
window_size:
|
|
102
|
+
registry_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
103
|
+
propbook_underlying_id: _mysten_sui_bcs183.BcsType<number, number, "u32">;
|
|
104
|
+
cadence_id: _mysten_sui_bcs183.BcsType<number, number, "u8">;
|
|
105
|
+
tick_size: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
106
|
+
admission_tick_size: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
107
|
+
max_expiry_allocation: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
108
|
+
initial_expiry_cash: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
109
|
+
window_size: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
110
110
|
}, "@local-pkg/deepbook_predict::config_events::CadenceConfigUpdated">;
|
|
111
111
|
declare const CadenceAdded: MoveStruct<{
|
|
112
|
-
registry_id:
|
|
113
|
-
cadence_id:
|
|
114
|
-
period_ms:
|
|
112
|
+
registry_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
113
|
+
cadence_id: _mysten_sui_bcs183.BcsType<number, number, "u8">;
|
|
114
|
+
period_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
115
115
|
}, "@local-pkg/deepbook_predict::config_events::CadenceAdded">;
|
|
116
116
|
declare const ExpiryMarketMintPausedUpdated: MoveStruct<{
|
|
117
|
-
expiry_market_id:
|
|
118
|
-
paused:
|
|
117
|
+
expiry_market_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
118
|
+
paused: _mysten_sui_bcs183.BcsType<boolean, boolean, "bool">;
|
|
119
119
|
}, "@local-pkg/deepbook_predict::config_events::ExpiryMarketMintPausedUpdated">;
|
|
120
120
|
declare const ReferenceTickSet: MoveStruct<{
|
|
121
|
-
expiry_market_id:
|
|
122
|
-
propbook_underlying_id:
|
|
123
|
-
source_timestamp_ms:
|
|
124
|
-
spot:
|
|
125
|
-
tick:
|
|
126
|
-
onchain_timestamp_ms:
|
|
121
|
+
expiry_market_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
122
|
+
propbook_underlying_id: _mysten_sui_bcs183.BcsType<number, number, "u32">;
|
|
123
|
+
source_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
124
|
+
spot: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
125
|
+
tick: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
126
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
127
127
|
}, "@local-pkg/deepbook_predict::config_events::ReferenceTickSet">;
|
|
128
128
|
declare const MarketSettled: MoveStruct<{
|
|
129
|
-
expiry_market_id:
|
|
130
|
-
propbook_underlying_id:
|
|
131
|
-
expiry:
|
|
132
|
-
settlement_price:
|
|
133
|
-
settlement_source:
|
|
134
|
-
onchain_timestamp_ms:
|
|
129
|
+
expiry_market_id: _mysten_sui_bcs183.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
130
|
+
propbook_underlying_id: _mysten_sui_bcs183.BcsType<number, number, "u32">;
|
|
131
|
+
expiry: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
132
|
+
settlement_price: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">; /** `0` = Pyth and `1` = Block Scholes. */
|
|
133
|
+
settlement_source: _mysten_sui_bcs183.BcsType<number, number, "u8">; /** On-chain landing time of the settlement, `clock.timestamp_ms()`. */
|
|
134
|
+
onchain_timestamp_ms: _mysten_sui_bcs183.BcsType<bigint, string | number | bigint, "u64">;
|
|
135
135
|
}, "@local-pkg/deepbook_predict::config_events::MarketSettled">;
|
|
136
136
|
//#endregion
|
|
137
137
|
export { config_events_d_exports };
|