@mysten/deepbook-v3 2.9.2 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/README.md +21 -0
- package/dist/account-bindings/account-registry.d.mts +109 -0
- package/dist/account-bindings/account-registry.d.mts.map +1 -0
- package/dist/account-bindings/account-registry.mjs +56 -0
- package/dist/account-bindings/account-registry.mjs.map +1 -0
- package/dist/account-bindings/account.d.mts +176 -0
- package/dist/account-bindings/account.d.mts.map +1 -0
- package/dist/account-bindings/account.mjs +94 -0
- package/dist/account-bindings/account.mjs.map +1 -0
- package/dist/account-bindings/latest.d.mts +12 -0
- package/dist/account-bindings/latest.d.mts.map +1 -0
- package/dist/account-bindings/latest.mjs +19 -0
- package/dist/account-bindings/latest.mjs.map +1 -0
- package/dist/account.d.mts +46 -3
- package/dist/account.d.mts.map +1 -1
- package/dist/account.mjs +51 -2
- package/dist/account.mjs.map +1 -1
- package/dist/contracts/account/account.d.mts +25 -97
- package/dist/contracts/account/account.d.mts.map +1 -1
- package/dist/contracts/account/account.mjs +43 -35
- package/dist/contracts/account/account.mjs.map +1 -1
- package/dist/contracts/account/account_events.d.mts +20 -20
- package/dist/contracts/account/account_registry.d.mts +7 -54
- package/dist/contracts/account/account_registry.d.mts.map +1 -1
- package/dist/contracts/account/account_registry.mjs +2 -22
- package/dist/contracts/account/account_registry.mjs.map +1 -1
- package/dist/contracts/deepbook/account.d.mts +18 -18
- package/dist/contracts/deepbook/balances.d.mts +4 -4
- package/dist/contracts/deepbook/deep_price.d.mts +3 -3
- package/dist/contracts/deepbook/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 +60 -13
- package/dist/contracts/deepbook_predict/builder_code.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code.mjs +55 -1
- package/dist/contracts/deepbook_predict/builder_code.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/builder_code_events.d.mts +10 -10
- package/dist/contracts/deepbook_predict/config_events.d.mts +88 -84
- package/dist/contracts/deepbook_predict/config_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/config_events.mjs +8 -0
- package/dist/contracts/deepbook_predict/config_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +262 -101
- package/dist/contracts/deepbook_predict/expiry_market.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.mjs +320 -41
- package/dist/contracts/deepbook_predict/expiry_market.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/market_lifecycle_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/market_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 +56 -54
- package/dist/contracts/deepbook_predict/order_events.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/order_events.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/pause_cap.d.mts +5 -5
- package/dist/contracts/deepbook_predict/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 +22 -17
- package/dist/contracts/deepbook_predict/predict_account.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/predict_account.mjs +12 -6
- package/dist/contracts/deepbook_predict/predict_account.mjs.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 +127 -83
- package/dist/contracts/deepbook_predict/protocol_config.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/protocol_config.mjs +59 -1
- package/dist/contracts/deepbook_predict/protocol_config.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/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/deps/deepbook_predict/expiry_market.mjs +6 -0
- package/dist/contracts/deepbook_predict_orders/deps/deepbook_predict/expiry_market.mjs.map +1 -1
- 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 +240 -62
- package/dist/contracts/deepbook_predict_orders/queue.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict_orders/queue.mjs +306 -41
- package/dist/contracts/deepbook_predict_orders/queue.mjs.map +1 -1
- 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/sessions.d.mts +271 -31
- package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.mjs +363 -3
- package/dist/contracts/deepbook_sessions/sessions.mjs.map +1 -1
- package/dist/deployments/mainnet.mjs.map +1 -1
- package/dist/deployments/testnet.d.mts.map +1 -1
- package/dist/deployments/testnet.mjs +7 -4
- package/dist/deployments/testnet.mjs.map +1 -1
- package/dist/predict/bindings/expiry-market.d.mts +57 -7
- package/dist/predict/bindings/expiry-market.d.mts.map +1 -1
- package/dist/predict/bindings/expiry-market.mjs +48 -2
- package/dist/predict/bindings/expiry-market.mjs.map +1 -1
- package/dist/predict/bindings/protocol-config.d.mts +5 -5
- package/dist/predict/bindings/protocol-config.d.mts.map +1 -1
- package/dist/predict/bindings/protocol-config.mjs +4 -1
- package/dist/predict/bindings/protocol-config.mjs.map +1 -1
- package/dist/predict/bindings/queue.d.mts +30 -0
- package/dist/predict/bindings/queue.d.mts.map +1 -0
- package/dist/predict/bindings/queue.mjs +59 -0
- package/dist/predict/bindings/queue.mjs.map +1 -0
- package/dist/predict/bindings/rename.mjs +5 -1
- package/dist/predict/bindings/rename.mjs.map +1 -1
- package/dist/predict/client.d.mts.map +1 -1
- package/dist/predict/client.mjs +11 -5
- package/dist/predict/client.mjs.map +1 -1
- package/dist/predict/config/generated.d.mts +1 -1
- package/dist/predict/config/generated.d.mts.map +1 -1
- package/dist/predict/config/generated.mjs +1 -0
- package/dist/predict/config/generated.mjs.map +1 -1
- package/dist/predict/config/mainnet.mjs +3 -1
- package/dist/predict/config/mainnet.mjs.map +1 -1
- package/dist/predict/config/testnet.mjs +3 -1
- package/dist/predict/config/testnet.mjs.map +1 -1
- package/dist/predict/config/types.d.mts +23 -0
- package/dist/predict/config/types.d.mts.map +1 -1
- package/dist/predict/cost.d.mts +9 -1
- package/dist/predict/cost.d.mts.map +1 -1
- package/dist/predict/cost.mjs.map +1 -1
- package/dist/predict/errors.d.mts.map +1 -1
- package/dist/predict/errors.mjs +6 -2
- package/dist/predict/errors.mjs.map +1 -1
- package/dist/predict/index.d.mts +1 -1
- package/dist/predict/index.mjs +2 -2
- package/dist/predict/queue.d.mts +8 -4
- package/dist/predict/queue.d.mts.map +1 -1
- package/dist/predict/queue.mjs +8 -4
- package/dist/predict/queue.mjs.map +1 -1
- package/dist/predict/reads/balances.mjs +1 -1
- package/dist/predict/reads/queue.d.mts +3 -2
- package/dist/predict/reads/queue.d.mts.map +1 -1
- package/dist/predict/reads/queue.mjs +5 -4
- package/dist/predict/reads/queue.mjs.map +1 -1
- package/dist/predict/tx/authed.mjs +1 -1
- package/dist/predict/tx/common.d.mts.map +1 -1
- package/dist/predict/tx/common.mjs +3 -2
- package/dist/predict/tx/common.mjs.map +1 -1
- package/dist/predict/tx/trade.d.mts.map +1 -1
- package/dist/predict/tx/trade.mjs +3 -2
- package/dist/predict/tx/trade.mjs.map +1 -1
- package/dist/sessions.d.mts +10 -1
- package/dist/sessions.d.mts.map +1 -1
- package/dist/sessions.mjs.map +1 -1
- package/dist/transactions/balanceManager.d.mts +12 -12
- package/dist/transactions/balanceManager.d.mts.map +1 -1
- package/dist/transactions/deepbook.d.mts +20 -20
- package/dist/transactions/deepbook.d.mts.map +1 -1
- package/dist/transactions/deepbookAdmin.d.mts +4 -4
- package/dist/transactions/deepbookAdmin.d.mts.map +1 -1
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginAdmin.d.mts.map +1 -1
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginMaintainer.d.mts.map +1 -1
- package/dist/transactions/marginManager.d.mts +32 -32
- package/dist/transactions/marginManager.d.mts.map +1 -1
- package/dist/transactions/marginPool.d.mts +18 -18
- package/dist/transactions/marginPool.d.mts.map +1 -1
- package/dist/transactions/marginRegistry.d.mts +16 -16
- package/dist/transactions/marginTPSL.d.mts +10 -10
- package/dist/transactions/marginTPSL.d.mts.map +1 -1
- package/dist/transactions/poolProxy.d.mts +8 -8
- package/dist/transactions/poolProxy.d.mts.map +1 -1
- package/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/account-bindings/account-registry.ts +39 -0
- package/src/account-bindings/account.ts +73 -0
- package/src/account-bindings/latest.ts +41 -0
- package/src/account.ts +89 -5
- package/src/contracts/account/account.ts +73 -4
- package/src/contracts/account/account_registry.ts +1 -1
- package/src/contracts/deepbook_predict/builder_code.ts +94 -2
- package/src/contracts/deepbook_predict/config_events.ts +7 -0
- package/src/contracts/deepbook_predict/expiry_market.ts +490 -44
- package/src/contracts/deepbook_predict/order_events.ts +6 -4
- package/src/contracts/deepbook_predict/predict_account.ts +12 -6
- package/src/contracts/deepbook_predict/protocol_config.ts +85 -0
- package/src/contracts/deepbook_predict_orders/deps/deepbook_predict/expiry_market.ts +14 -0
- package/src/contracts/deepbook_predict_orders/order_flow.ts +4 -0
- package/src/contracts/deepbook_predict_orders/queue.ts +495 -9
- package/src/contracts/deepbook_sessions/sessions.ts +538 -3
- package/src/deployments/mainnet.ts +4 -4
- package/src/deployments/testnet.ts +18 -7
- package/src/deployments/types.ts +14 -0
- package/src/predict/bindings/expiry-market.ts +87 -0
- package/src/predict/bindings/queue.ts +42 -0
- package/src/predict/bindings/rename.ts +5 -1
- package/src/predict/client.ts +25 -3
- package/src/predict/config/generated.ts +3 -0
- package/src/predict/config/mainnet.ts +4 -0
- package/src/predict/config/testnet.ts +4 -0
- package/src/predict/config/types.ts +23 -0
- package/src/predict/cost.ts +9 -1
- package/src/predict/errors.ts +11 -1
- package/src/predict/index.ts +1 -1
- package/src/predict/queue.ts +8 -4
- package/src/predict/reads/queue.ts +7 -4
- package/src/predict/tx/common.ts +2 -0
- package/src/predict/tx/trade.ts +3 -1
- package/src/sessions.ts +10 -1
- package/src/utils/constants.ts +5 -1
|
@@ -12,9 +12,10 @@ import { bcs } from "@mysten/sui/bcs";
|
|
|
12
12
|
* Predict's per-account state, stored as an app-data slot on a shared `Account`
|
|
13
13
|
* (the `account` package).
|
|
14
14
|
*
|
|
15
|
-
* This is Predict's account-local state: open positions and sticky builder
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* This is Predict's account-local state: open positions and a sticky builder code.
|
|
16
|
+
* The sticky code no longer affects fees: a trade names its builder and fee itself
|
|
17
|
+
* (`expiry_market::admit_mint_with_builder`). USDC/PLP custody lives in `Account`.
|
|
18
|
+
* The `PredictApp` witness namespaces this slot, so only Predict writes it.
|
|
18
19
|
*
|
|
19
20
|
* Position mutations are package-internal. Builder-code configuration accepts an
|
|
20
21
|
* account `Auth`; the account package decides which owner or authorized
|
|
@@ -89,8 +90,10 @@ function builderCodeId(options) {
|
|
|
89
90
|
});
|
|
90
91
|
}
|
|
91
92
|
/**
|
|
92
|
-
* Set sticky builder
|
|
93
|
-
*
|
|
93
|
+
* Set the sticky builder code using valid account auth. Owner auth and
|
|
94
|
+
* authorized-app auth both satisfy the account borrow boundary. Kept for
|
|
95
|
+
* compatibility: it no longer affects fees, since a trade names its builder and
|
|
96
|
+
* fee itself.
|
|
94
97
|
*/
|
|
95
98
|
function setBuilderCode(options) {
|
|
96
99
|
const packageAddress = options.package ?? options.config?.predictPackageId ?? "@local-pkg/deepbook_predict";
|
|
@@ -111,7 +114,10 @@ function setBuilderCode(options) {
|
|
|
111
114
|
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames)
|
|
112
115
|
});
|
|
113
116
|
}
|
|
114
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Clear the sticky builder code using valid owner or authorized-app auth. Kept for
|
|
119
|
+
* compatibility: the code no longer affects fees.
|
|
120
|
+
*/
|
|
115
121
|
function unsetBuilderCode(options) {
|
|
116
122
|
const packageAddress = options.package ?? options.config?.predictPackageId ?? "@local-pkg/deepbook_predict";
|
|
117
123
|
const argumentsTypes = [null, null];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"predict_account.mjs","names":["table.Table"],"sources":["../../../src/contracts/deepbook_predict/predict_account.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\n\n/**\n * Predict's per-account state, stored as an app-data slot on a shared `Account`\n * (the `account` package).\n *\n * This is Predict's account-local state: open positions and sticky builder
|
|
1
|
+
{"version":3,"file":"predict_account.mjs","names":["table.Table"],"sources":["../../../src/contracts/deepbook_predict/predict_account.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\n\n/**\n * Predict's per-account state, stored as an app-data slot on a shared `Account`\n * (the `account` package).\n *\n * This is Predict's account-local state: open positions and a sticky builder code.\n * The sticky code no longer affects fees: a trade names its builder and fee itself\n * (`expiry_market::admit_mint_with_builder`). USDC/PLP custody lives in `Account`.\n * The `PredictApp` witness namespaces this slot, so only Predict writes it.\n *\n * Position mutations are package-internal. Builder-code configuration accepts an\n * account `Auth`; the account package decides which owner or authorized\n * application may obtain that mutable borrow.\n */\n\nimport {\n\tMoveTuple,\n\tMoveStruct,\n\tnormalizeMoveArguments,\n\ttype RawTransactionArgument,\n} from '../utils/index.js';\nimport { bcs } from '@mysten/sui/bcs';\nimport { U256, U64 } from '../../bcs/integers.js';\nimport { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';\nimport * as table from './deps/sui/table.js';\nconst $moduleName = '@local-pkg/deepbook_predict::predict_account';\nexport const PredictApp = new MoveTuple({\n\tname: `${$moduleName}::PredictApp`,\n\tfields: [bcs.bool()],\n});\nexport const PositionKey = new MoveStruct({\n\tname: `${$moduleName}::PositionKey`,\n\tfields: {\n\t\texpiry_market_id: bcs.Address,\n\t\torder_id: U256,\n\t},\n});\nexport const Position = new MoveStruct({\n\tname: `${$moduleName}::Position`,\n\tfields: {\n\t\t/** Root order ID, carried forward unchanged across partial-close replacements. */\n\t\troot_id: U256,\n\t\t/**\n\t\t * On-chain time (`clock.timestamp_ms()`) the position was opened, carried forward\n\t\t * unchanged across partial-close replacements. A live redeem in the same timestamp\n\t\t * is rejected, blocking an atomic mint -> oracle-update -> redeem in one\n\t\t * transaction.\n\t\t */\n\t\topened_at_ms: U64,\n\t},\n});\nexport const PredictData = new MoveStruct({\n\tname: `${$moduleName}::PredictData`,\n\tfields: {\n\t\t/** Open positions scoped by expiry market. */\n\t\tpositions: table.Table,\n\t\t/** Sticky builder-code attribution for future trades, if set. */\n\t\tbuilder_code_id: bcs.option(bcs.Address),\n\t},\n});\nexport interface HasPositionArguments {\n\taccount: TransactionArgument;\n\texpiryMarketId: RawTransactionArgument<string>;\n\torderId: RawTransactionArgument<number | bigint>;\n}\nexport interface HasPositionOptions {\n\tpackage?: string;\n\targuments:\n\t\t| HasPositionArguments\n\t\t| [\n\t\t\t\taccount: TransactionArgument,\n\t\t\t\texpiryMarketId: RawTransactionArgument<string>,\n\t\t\t\torderId: RawTransactionArgument<number | bigint>,\n\t\t ];\n\tconfig?: {\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Return whether an account holds a position for SDK and devInspect state reads. */\nexport function hasPosition(options: HasPositionOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, '0x2::object::ID', 'u256'] satisfies (string | null)[];\n\tconst parameterNames = ['account', 'expiryMarketId', 'orderId'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'predict_account',\n\t\t\tfunction: 'has_position',\n\t\t\targuments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),\n\t\t});\n}\nexport interface BuilderCodeIdArguments {\n\taccount: TransactionArgument;\n}\nexport interface BuilderCodeIdOptions {\n\tpackage?: string;\n\targuments: BuilderCodeIdArguments | [account: TransactionArgument];\n\tconfig?: {\n\t\tpredictPackageId?: string;\n\t};\n}\n/** Return the sticky builder-code ID, if set. */\nexport function builderCodeId(options: BuilderCodeIdOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['account'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'predict_account',\n\t\t\tfunction: 'builder_code_id',\n\t\t\targuments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),\n\t\t});\n}\nexport interface SetBuilderCodeArguments {\n\twrapper: RawTransactionArgument<string>;\n\tauth: TransactionArgument;\n\tcode: RawTransactionArgument<string>;\n}\nexport interface SetBuilderCodeOptions {\n\tpackage?: string;\n\targuments:\n\t\t| SetBuilderCodeArguments\n\t\t| [\n\t\t\t\twrapper: RawTransactionArgument<string>,\n\t\t\t\tauth: TransactionArgument,\n\t\t\t\tcode: RawTransactionArgument<string>,\n\t\t ];\n\tconfig?: {\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Set the sticky builder code using valid account auth. Owner auth and\n * authorized-app auth both satisfy the account borrow boundary. Kept for\n * compatibility: it no longer affects fees, since a trade names its builder and\n * fee itself.\n */\nexport function setBuilderCode(options: SetBuilderCodeOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null, null] satisfies (string | null)[];\n\tconst parameterNames = ['wrapper', 'auth', 'code'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'predict_account',\n\t\t\tfunction: 'set_builder_code',\n\t\t\targuments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),\n\t\t});\n}\nexport interface UnsetBuilderCodeArguments {\n\twrapper: RawTransactionArgument<string>;\n\tauth: TransactionArgument;\n}\nexport interface UnsetBuilderCodeOptions {\n\tpackage?: string;\n\targuments:\n\t\t| UnsetBuilderCodeArguments\n\t\t| [wrapper: RawTransactionArgument<string>, auth: TransactionArgument];\n\tconfig?: {\n\t\tpredictPackageId?: string;\n\t};\n}\n/**\n * Clear the sticky builder code using valid owner or authorized-app auth. Kept for\n * compatibility: the code no longer affects fees.\n */\nexport function unsetBuilderCode(options: UnsetBuilderCodeOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.predictPackageId ?? '@local-pkg/deepbook_predict';\n\tconst argumentsTypes = [null, null] satisfies (string | null)[];\n\tconst parameterNames = ['wrapper', 'auth'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'predict_account',\n\t\t\tfunction: 'unset_builder_code',\n\t\t\targuments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),\n\t\t});\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,MAAM,cAAc;AACpB,MAAa,aAAa,IAAI,UAAU;CACvC,MAAM,GAAG,YAAY;CACrB,QAAQ,CAAC,IAAI,MAAM,CAAC;CACpB,CAAC;AACF,MAAa,cAAc,IAAI,WAAW;CACzC,MAAM,GAAG,YAAY;CACrB,QAAQ;EACP,kBAAkB,IAAI;EACtB,UAAU;EACV;CACD,CAAC;AACF,MAAa,WAAW,IAAI,WAAW;CACtC,MAAM,GAAG,YAAY;CACrB,QAAQ;EAEP,SAAS;EAOT,cAAc;EACd;CACD,CAAC;AACF,MAAa,cAAc,IAAI,WAAW;CACzC,MAAM,GAAG,YAAY;CACrB,QAAQ;EAEP,WAAWA;EAEX,iBAAiB,IAAI,OAAO,IAAI,QAAQ;EACxC;CACD,CAAC;;AAoBF,SAAgB,YAAY,SAA6B;CACxD,MAAM,iBACL,QAAQ,WAAW,QAAQ,QAAQ,oBAAoB;CACxD,MAAM,iBAAiB;EAAC;EAAM;EAAmB;EAAO;CACxD,MAAM,iBAAiB;EAAC;EAAW;EAAkB;EAAU;AAC/D,SAAQ,OACP,GAAG,SAAS;EACX,SAAS;EACT,QAAQ;EACR,UAAU;EACV,WAAW,uBAAuB,QAAQ,WAAW,gBAAgB,eAAe;EACpF,CAAC;;;AAaJ,SAAgB,cAAc,SAA+B;CAC5D,MAAM,iBACL,QAAQ,WAAW,QAAQ,QAAQ,oBAAoB;CACxD,MAAM,iBAAiB,CAAC,KAAK;CAC7B,MAAM,iBAAiB,CAAC,UAAU;AAClC,SAAQ,OACP,GAAG,SAAS;EACX,SAAS;EACT,QAAQ;EACR,UAAU;EACV,WAAW,uBAAuB,QAAQ,WAAW,gBAAgB,eAAe;EACpF,CAAC;;;;;;;;AA0BJ,SAAgB,eAAe,SAAgC;CAC9D,MAAM,iBACL,QAAQ,WAAW,QAAQ,QAAQ,oBAAoB;CACxD,MAAM,iBAAiB;EAAC;EAAM;EAAM;EAAK;CACzC,MAAM,iBAAiB;EAAC;EAAW;EAAQ;EAAO;AAClD,SAAQ,OACP,GAAG,SAAS;EACX,SAAS;EACT,QAAQ;EACR,UAAU;EACV,WAAW,uBAAuB,QAAQ,WAAW,gBAAgB,eAAe;EACpF,CAAC;;;;;;AAmBJ,SAAgB,iBAAiB,SAAkC;CAClE,MAAM,iBACL,QAAQ,WAAW,QAAQ,QAAQ,oBAAoB;CACxD,MAAM,iBAAiB,CAAC,MAAM,KAAK;CACnC,MAAM,iBAAiB,CAAC,WAAW,OAAO;AAC1C,SAAQ,OACP,GAAG,SAAS;EACX,SAAS;EACT,QAAQ;EACR,UAAU;EACV,WAAW,uBAAuB,QAAQ,WAAW,gBAAgB,eAAe;EACpF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MoveStruct } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs83 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions64 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/pricing.d.ts
|
|
@@ -12,83 +12,83 @@ declare const VolSnapshot: MoveStruct<{
|
|
|
12
12
|
* Canonical Propbook Pyth source for the market's underlying; commit finds this
|
|
13
13
|
* feed in each Lazer update.
|
|
14
14
|
*/
|
|
15
|
-
pyth_source_id:
|
|
16
|
-
bs_spot:
|
|
17
|
-
bs_forward:
|
|
15
|
+
pyth_source_id: _mysten_sui_bcs83.BcsType<number, number, "u32">; /** The matched Block Scholes spot and forward, narrowed to Predict's width. */
|
|
16
|
+
bs_spot: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
17
|
+
bs_forward: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">; /** Raw SVI parameters before roll-down, at 1e9. */
|
|
18
18
|
svi_a: MoveStruct<{
|
|
19
|
-
magnitude:
|
|
20
|
-
is_negative:
|
|
19
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
20
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
21
21
|
}, "fixed_math::i64::I64">;
|
|
22
|
-
svi_b:
|
|
22
|
+
svi_b: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
23
23
|
svi_rho: MoveStruct<{
|
|
24
|
-
magnitude:
|
|
25
|
-
is_negative:
|
|
24
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
25
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
26
26
|
}, "fixed_math::i64::I64">;
|
|
27
27
|
svi_m: MoveStruct<{
|
|
28
|
-
magnitude:
|
|
29
|
-
is_negative:
|
|
28
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
29
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
30
30
|
}, "fixed_math::i64::I64">;
|
|
31
|
-
svi_sigma:
|
|
31
|
+
svi_sigma: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
32
32
|
/**
|
|
33
33
|
* Provider source timestamps of the three reads. The SVI one is also the roll-down
|
|
34
34
|
* anchor.
|
|
35
35
|
*/
|
|
36
|
-
bs_spot_source_timestamp_ms:
|
|
37
|
-
bs_forward_source_timestamp_ms:
|
|
38
|
-
svi_source_timestamp_ms:
|
|
36
|
+
bs_spot_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
37
|
+
bs_forward_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
38
|
+
svi_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
39
39
|
}, "@local-pkg/deepbook_predict::pricing::VolSnapshot">;
|
|
40
40
|
declare const PricingSVI: MoveStruct<{
|
|
41
|
-
/** Rolled-down SVI `a`, magnitude at 1e18, sign in `a_is_negative`. */a_magnitude:
|
|
42
|
-
a_is_negative:
|
|
43
|
-
b:
|
|
41
|
+
/** Rolled-down SVI `a`, magnitude at 1e18, sign in `a_is_negative`. */a_magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u128">;
|
|
42
|
+
a_is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">; /** Rolled-down SVI `b`, at 1e18. */
|
|
43
|
+
b: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u128">;
|
|
44
44
|
rho: MoveStruct<{
|
|
45
|
-
magnitude:
|
|
46
|
-
is_negative:
|
|
45
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
46
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
47
47
|
}, "fixed_math::i64::I64">;
|
|
48
48
|
m: MoveStruct<{
|
|
49
|
-
magnitude:
|
|
50
|
-
is_negative:
|
|
49
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
50
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
51
51
|
}, "fixed_math::i64::I64">;
|
|
52
|
-
sigma:
|
|
52
|
+
sigma: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
53
53
|
}, "@local-pkg/deepbook_predict::pricing::PricingSVI">;
|
|
54
54
|
declare const FrozenPricer: MoveStruct<{
|
|
55
|
-
expiry_market_id:
|
|
56
|
-
forward:
|
|
55
|
+
expiry_market_id: _mysten_sui_bcs83.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
56
|
+
forward: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
57
57
|
svi: MoveStruct<{
|
|
58
|
-
/** Rolled-down SVI `a`, magnitude at 1e18, sign in `a_is_negative`. */a_magnitude:
|
|
59
|
-
a_is_negative:
|
|
60
|
-
b:
|
|
58
|
+
/** Rolled-down SVI `a`, magnitude at 1e18, sign in `a_is_negative`. */a_magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u128">;
|
|
59
|
+
a_is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">; /** Rolled-down SVI `b`, at 1e18. */
|
|
60
|
+
b: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u128">;
|
|
61
61
|
rho: MoveStruct<{
|
|
62
|
-
magnitude:
|
|
63
|
-
is_negative:
|
|
62
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
63
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
64
64
|
}, "fixed_math::i64::I64">;
|
|
65
65
|
m: MoveStruct<{
|
|
66
|
-
magnitude:
|
|
67
|
-
is_negative:
|
|
66
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
67
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
68
68
|
}, "fixed_math::i64::I64">;
|
|
69
|
-
sigma:
|
|
69
|
+
sigma: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
70
70
|
}, "@local-pkg/deepbook_predict::pricing::PricingSVI">;
|
|
71
|
-
pyth_spot_source_timestamp_ms:
|
|
72
|
-
block_scholes_spot_source_timestamp_ms:
|
|
73
|
-
block_scholes_forward_source_timestamp_ms:
|
|
74
|
-
block_scholes_svi_source_timestamp_ms:
|
|
71
|
+
pyth_spot_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
72
|
+
block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
73
|
+
block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
74
|
+
block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
75
75
|
}, "@local-pkg/deepbook_predict::pricing::FrozenPricer">;
|
|
76
76
|
declare const Pricer: MoveStruct<{
|
|
77
|
-
/** Expiry market this snapshot was loaded for. */expiry_market_id:
|
|
78
|
-
forward:
|
|
77
|
+
/** Expiry market this snapshot was loaded for. */expiry_market_id: _mysten_sui_bcs83.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
78
|
+
forward: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
79
79
|
svi: MoveStruct<{
|
|
80
|
-
/** Rolled-down SVI `a`, magnitude at 1e18, sign in `a_is_negative`. */a_magnitude:
|
|
81
|
-
a_is_negative:
|
|
82
|
-
b:
|
|
80
|
+
/** Rolled-down SVI `a`, magnitude at 1e18, sign in `a_is_negative`. */a_magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u128">;
|
|
81
|
+
a_is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">; /** Rolled-down SVI `b`, at 1e18. */
|
|
82
|
+
b: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u128">;
|
|
83
83
|
rho: MoveStruct<{
|
|
84
|
-
magnitude:
|
|
85
|
-
is_negative:
|
|
84
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
85
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
86
86
|
}, "fixed_math::i64::I64">;
|
|
87
87
|
m: MoveStruct<{
|
|
88
|
-
magnitude:
|
|
89
|
-
is_negative:
|
|
88
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
89
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
90
90
|
}, "fixed_math::i64::I64">;
|
|
91
|
-
sigma:
|
|
91
|
+
sigma: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
92
92
|
}, "@local-pkg/deepbook_predict::pricing::PricingSVI">;
|
|
93
93
|
/**
|
|
94
94
|
* Timestamps of the oracle observations this snapshot validated, as trade events
|
|
@@ -101,30 +101,30 @@ declare const Pricer: MoveStruct<{
|
|
|
101
101
|
* `assert_pyth_spot_fresh` gates live trades on, so it must stay the value the
|
|
102
102
|
* load's forward selection read.
|
|
103
103
|
*/
|
|
104
|
-
pyth_spot_source_timestamp_ms:
|
|
105
|
-
block_scholes_spot_source_timestamp_ms:
|
|
106
|
-
block_scholes_forward_source_timestamp_ms:
|
|
107
|
-
block_scholes_svi_source_timestamp_ms:
|
|
104
|
+
pyth_spot_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
105
|
+
block_scholes_spot_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
106
|
+
block_scholes_forward_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
107
|
+
block_scholes_svi_source_timestamp_ms: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
108
108
|
}, "@local-pkg/deepbook_predict::pricing::Pricer">;
|
|
109
109
|
declare const RangePrice: MoveStruct<{
|
|
110
|
-
lower_up:
|
|
111
|
-
higher_up:
|
|
110
|
+
lower_up: _mysten_sui_bcs83.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
111
|
+
higher_up: _mysten_sui_bcs83.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
112
112
|
}, "@local-pkg/deepbook_predict::pricing::RangePrice">;
|
|
113
113
|
declare const RawSVI: MoveStruct<{
|
|
114
114
|
a: MoveStruct<{
|
|
115
|
-
magnitude:
|
|
116
|
-
is_negative:
|
|
115
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
116
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
117
117
|
}, "fixed_math::i64::I64">;
|
|
118
|
-
b:
|
|
118
|
+
b: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
119
119
|
rho: MoveStruct<{
|
|
120
|
-
magnitude:
|
|
121
|
-
is_negative:
|
|
120
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
121
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
122
122
|
}, "fixed_math::i64::I64">;
|
|
123
123
|
m: MoveStruct<{
|
|
124
|
-
magnitude:
|
|
125
|
-
is_negative:
|
|
124
|
+
magnitude: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
125
|
+
is_negative: _mysten_sui_bcs83.BcsType<boolean, boolean, "bool">;
|
|
126
126
|
}, "fixed_math::i64::I64">;
|
|
127
|
-
sigma:
|
|
127
|
+
sigma: _mysten_sui_bcs83.BcsType<bigint, string | number | bigint, "u64">;
|
|
128
128
|
}, "@local-pkg/deepbook_predict::pricing::RawSVI">;
|
|
129
129
|
interface UpPriceArguments {
|
|
130
130
|
pricer: TransactionArgument;
|
|
@@ -141,7 +141,7 @@ interface UpPriceOptions {
|
|
|
141
141
|
* Return the current UP digital probability for a typed strike. Public PTB and
|
|
142
142
|
* devInspect reads can compose it with a transaction-local `Pricer`.
|
|
143
143
|
*/
|
|
144
|
-
declare function upPrice(options: UpPriceOptions): (tx: Transaction) =>
|
|
144
|
+
declare function upPrice(options: UpPriceOptions): (tx: Transaction) => _mysten_sui_transactions64.TransactionResult;
|
|
145
145
|
interface RangePriceArguments {
|
|
146
146
|
pricer: TransactionArgument;
|
|
147
147
|
lower: TransactionArgument;
|
|
@@ -158,7 +158,7 @@ interface RangePriceOptions {
|
|
|
158
158
|
* Return both boundary probabilities for `(lower, higher]`. Use `probability()`
|
|
159
159
|
* for the combined range probability; absent boundaries are infinite sentinels.
|
|
160
160
|
*/
|
|
161
|
-
declare function rangePrice(options: RangePriceOptions): (tx: Transaction) =>
|
|
161
|
+
declare function rangePrice(options: RangePriceOptions): (tx: Transaction) => _mysten_sui_transactions64.TransactionResult;
|
|
162
162
|
interface LowerUpArguments {
|
|
163
163
|
price: TransactionArgument;
|
|
164
164
|
}
|
|
@@ -169,7 +169,7 @@ interface LowerUpOptions {
|
|
|
169
169
|
predictPackageId?: string;
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
declare function lowerUp(options: LowerUpOptions): (tx: Transaction) =>
|
|
172
|
+
declare function lowerUp(options: LowerUpOptions): (tx: Transaction) => _mysten_sui_transactions64.TransactionResult;
|
|
173
173
|
interface HigherUpArguments {
|
|
174
174
|
price: TransactionArgument;
|
|
175
175
|
}
|
|
@@ -180,7 +180,7 @@ interface HigherUpOptions {
|
|
|
180
180
|
predictPackageId?: string;
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
|
-
declare function higherUp(options: HigherUpOptions): (tx: Transaction) =>
|
|
183
|
+
declare function higherUp(options: HigherUpOptions): (tx: Transaction) => _mysten_sui_transactions64.TransactionResult;
|
|
184
184
|
interface ProbabilityArguments {
|
|
185
185
|
price: TransactionArgument;
|
|
186
186
|
}
|
|
@@ -195,7 +195,7 @@ interface ProbabilityOptions {
|
|
|
195
195
|
* Return the combined probability, floored at zero if approximated boundary prices
|
|
196
196
|
* invert.
|
|
197
197
|
*/
|
|
198
|
-
declare function probability(options: ProbabilityOptions): (tx: Transaction) =>
|
|
198
|
+
declare function probability(options: ProbabilityOptions): (tx: Transaction) => _mysten_sui_transactions64.TransactionResult;
|
|
199
199
|
//#endregion
|
|
200
200
|
export { pricing_d_exports };
|
|
201
201
|
//# sourceMappingURL=pricing.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/pricing.ts"],"mappings":";;;;;;;;;cAiCa,WAAA,EAAW,UAAA;;;AAAxB;;kBAyBE,iBAAA,CAAA,OAAA,yBAAA;;;;;;;;;;;;;;;;;EAzBsB;;;;;;;;cA0BX,UAAA,EAAU,UAAA;sFAYrB,iBAAA,CAAA,OAAA;;;;;;;;;;;;;cACW,YAAA,EAAY,UAAA;;;;;;;;;;;;;;;;;;;;;;cAYZ,MAAA,EAAM,UAAA;;;;IAzBI;;;;;;;;;;;;;;;;;;;;;;;AAavB;;;;;;cAoCa,UAAA,EAAU,UAAA;YAMrB,iBAAA,CAAA,OAAA;;;cACW,MAAA,EAAM,UAAA;;eASjB,iBAAA,CAAA,OAAA;;;;;;;;;;;;;;UACe,gBAAA;EAChB,MAAA,EAAQ,mBAAA;EACR,MAAA,EAAQ,mBAAA;AAAA;AAAA,UAEQ,cAAA;EAChB,OAAA;EACA,SAAA,EAAW,gBAAA,IAAoB,MAAA,EAAQ,mBAAA,EAAqB,MAAA,EAAQ,mBAAA;EACpE,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;iBAOc,OAAA,CAAQ,OAAA,EAAS,cAAA,IAKxB,EAAA,EAAI,WAAA,KAAW,
|
|
1
|
+
{"version":3,"file":"pricing.d.mts","names":[],"sources":["../../../src/contracts/deepbook_predict/pricing.ts"],"mappings":";;;;;;;;;cAiCa,WAAA,EAAW,UAAA;;;AAAxB;;kBAyBE,iBAAA,CAAA,OAAA,yBAAA;;;;;;;;;;;;;;;;;EAzBsB;;;;;;;;cA0BX,UAAA,EAAU,UAAA;sFAYrB,iBAAA,CAAA,OAAA;;;;;;;;;;;;;cACW,YAAA,EAAY,UAAA;;;;;;;;;;;;;;;;;;;;;;cAYZ,MAAA,EAAM,UAAA;;;;IAzBI;;;;;;;;;;;;;;;;;;;;;;;AAavB;;;;;;cAoCa,UAAA,EAAU,UAAA;YAMrB,iBAAA,CAAA,OAAA;;;cACW,MAAA,EAAM,UAAA;;eASjB,iBAAA,CAAA,OAAA;;;;;;;;;;;;;;UACe,gBAAA;EAChB,MAAA,EAAQ,mBAAA;EACR,MAAA,EAAQ,mBAAA;AAAA;AAAA,UAEQ,cAAA;EAChB,OAAA;EACA,SAAA,EAAW,gBAAA,IAAoB,MAAA,EAAQ,mBAAA,EAAqB,MAAA,EAAQ,mBAAA;EACpE,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;iBAOc,OAAA,CAAQ,OAAA,EAAS,cAAA,IAKxB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,mBAAA;EAChB,MAAA,EAAQ,mBAAA;EACR,KAAA,EAAO,mBAAA;EACP,MAAA,EAAQ,mBAAA;AAAA;AAAA,UAEQ,iBAAA;EAChB,OAAA;EACA,SAAA,EACG,mBAAA,IACC,MAAA,EAAQ,mBAAA,EAAqB,KAAA,EAAO,mBAAA,EAAqB,MAAA,EAAQ,mBAAA;EACrE,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;iBAOc,UAAA,CAAW,OAAA,EAAS,iBAAA,IAK3B,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,gBAAA;EAChB,KAAA,EAAO,mBAAA;AAAA;AAAA,UAES,cAAA;EAChB,OAAA;EACA,SAAA,EAAW,gBAAA,IAAoB,KAAA,EAAO,mBAAA;EACtC,MAAA;IACC,gBAAA;EAAA;AAAA;AAAA,iBAGc,OAAA,CAAQ,OAAA,EAAS,cAAA,IAKxB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,iBAAA;EAChB,KAAA,EAAO,mBAAA;AAAA;AAAA,UAES,eAAA;EAChB,OAAA;EACA,SAAA,EAAW,iBAAA,IAAqB,KAAA,EAAO,mBAAA;EACvC,MAAA;IACC,gBAAA;EAAA;AAAA;AAAA,iBAGc,QAAA,CAAS,OAAA,EAAS,eAAA,IAKzB,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA;AAAA,UAQP,oBAAA;EAChB,KAAA,EAAO,mBAAA;AAAA;AAAA,UAES,kBAAA;EAChB,OAAA;EACA,SAAA,EAAW,oBAAA,IAAwB,KAAA,EAAO,mBAAA;EAC1C,MAAA;IACC,gBAAA;EAAA;AAAA;;;;;iBAOc,WAAA,CAAY,OAAA,EAAS,kBAAA,IAK5B,EAAA,EAAI,WAAA,KAAW,0BAAA,CAAA,iBAAA"}
|