@mysten/deepbook-v3 2.5.1 → 2.6.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 +29 -0
- package/PREDICT.md +160 -12
- package/dist/contracts/account/account.d.mts +23 -23
- 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 +13 -13
- package/dist/contracts/deepbook/balances.d.mts +4 -4
- package/dist/contracts/deepbook/order.d.mts +12 -12
- package/dist/contracts/deepbook_predict/admin.d.mts +4 -4
- package/dist/contracts/deepbook_predict/builder_code.d.mts +11 -11
- package/dist/contracts/deepbook_predict/builder_code.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 +67 -67
- package/dist/contracts/deepbook_predict/expiry_market.d.mts +176 -96
- package/dist/contracts/deepbook_predict/expiry_market.d.mts.map +1 -1
- package/dist/contracts/deepbook_predict/expiry_market.mjs +114 -1
- 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_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 +72 -72
- 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 +53 -53
- package/dist/contracts/deepbook_predict/protocol_config.d.mts +64 -64
- package/dist/contracts/deepbook_predict/range_codec.d.mts +2 -2
- package/dist/contracts/deepbook_predict/registry.d.mts +28 -28
- package/dist/contracts/deepbook_predict/strike_exposure.mjs +12 -0
- package/dist/contracts/deepbook_predict/strike_exposure.mjs.map +1 -1
- package/dist/contracts/deepbook_predict/vault_events.d.mts +105 -105
- package/dist/contracts/deepbook_sessions/session_config.d.mts +4 -4
- package/dist/contracts/deepbook_sessions/sessions.d.mts +35 -10
- package/dist/contracts/deepbook_sessions/sessions.d.mts.map +1 -1
- package/dist/contracts/deepbook_sessions/sessions.mjs +44 -1
- package/dist/contracts/deepbook_sessions/sessions.mjs.map +1 -1
- package/dist/deployments/mainnet.d.mts.map +1 -1
- package/dist/deployments/mainnet.mjs +2 -0
- package/dist/deployments/mainnet.mjs.map +1 -1
- package/dist/deployments/testnet.d.mts.map +1 -1
- package/dist/deployments/testnet.mjs +4 -2
- package/dist/deployments/testnet.mjs.map +1 -1
- package/dist/deployments/types.d.mts +1 -1
- package/dist/predict/client.d.mts +12 -3
- package/dist/predict/client.d.mts.map +1 -1
- package/dist/predict/client.mjs +39 -18
- package/dist/predict/client.mjs.map +1 -1
- package/dist/predict/config/generated.d.mts +3 -2
- 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/types.d.mts +3 -0
- package/dist/predict/config/types.d.mts.map +1 -1
- package/dist/predict/cost.d.mts +353 -0
- package/dist/predict/cost.d.mts.map +1 -0
- package/dist/predict/cost.mjs +555 -0
- package/dist/predict/cost.mjs.map +1 -0
- package/dist/predict/decode.mjs +6 -7
- package/dist/predict/decode.mjs.map +1 -1
- package/dist/predict/index.d.mts +3 -2
- package/dist/predict/index.mjs +2 -1
- package/dist/predict/pricing.mjs +1 -1
- package/dist/predict/reads/positions.mjs +1 -1
- package/dist/predict/reads/positions.mjs.map +1 -1
- package/dist/predict/tx/trade.d.mts.map +1 -1
- package/dist/predict/tx/trade.mjs +18 -2
- package/dist/predict/tx/trade.mjs.map +1 -1
- package/dist/sessions.d.mts +17 -1
- package/dist/sessions.d.mts.map +1 -1
- package/dist/sessions.mjs +22 -2
- package/dist/sessions.mjs.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/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/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/package.json +2 -2
- package/src/contracts/deepbook_predict/expiry_market.ts +160 -0
- package/src/contracts/deepbook_predict/strike_exposure.ts +14 -0
- package/src/contracts/deepbook_sessions/sessions.ts +68 -0
- package/src/deployments/mainnet.ts +4 -1
- package/src/deployments/testnet.ts +6 -3
- package/src/deployments/types.ts +4 -2
- package/src/predict/client.ts +80 -27
- package/src/predict/config/generated.ts +4 -2
- package/src/predict/config/types.ts +3 -0
- package/src/predict/cost.ts +1022 -0
- package/src/predict/decode.ts +8 -8
- package/src/predict/index.ts +9 -0
- package/src/predict/reads/positions.ts +1 -1
- package/src/predict/tx/trade.ts +30 -1
- package/src/sessions.ts +37 -2
|
@@ -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_bcs376 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions269 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/plp.d.ts
|
|
@@ -8,22 +8,22 @@ declare namespace plp_d_exports {
|
|
|
8
8
|
export { ActiveExpiryMarketsArguments, ActiveExpiryMarketsOptions, ActiveLiveExpiryCountArguments, ActiveLiveExpiryCountOptions, CancelSupplyRequestArguments, CancelSupplyRequestOptions, CancelWithdrawRequestArguments, CancelWithdrawRequestOptions, FeeIncentiveReserveArguments, FeeIncentiveReserveOptions, FinishFlushArguments, FinishFlushOptions, IdArguments, IdOptions, IdleBalanceArguments, IdleBalanceOptions, LockCapitalArguments, LockCapitalOptions, PLP, PendingProtocolProfitArguments, PendingProtocolProfitOptions, PlpTotalSupplyArguments, PlpTotalSupplyOptions, PoolValuation, PoolValuationProof, PoolVault, ProfitBasisCreditsArguments, ProfitBasisCreditsOptions, ProfitBasisDebitsArguments, ProfitBasisDebitsOptions, ProtocolReserveBalanceArguments, ProtocolReserveBalanceOptions, RebalanceExpiryCashArguments, RebalanceExpiryCashOptions, RequestSupplyArguments, RequestSupplyOptions, RequestWithdrawArguments, RequestWithdrawOptions, SealValuationSnapshotArguments, SealValuationSnapshotOptions, SnapshotExpiryPricerArguments, SnapshotExpiryPricerOptions, SnapshotStage, SponsorFeeIncentivesArguments, SponsorFeeIncentivesOptions, StartPoolValuationArguments, StartPoolValuationOptions, SupplyRequestsPendingArguments, SupplyRequestsPendingOptions, ValueExpiryArguments, ValueExpiryOptions, WithdrawRequestsPendingArguments, WithdrawRequestsPendingOptions, activeExpiryMarkets, activeLiveExpiryCount, cancelSupplyRequest, cancelWithdrawRequest, feeIncentiveReserve, finishFlush, id, idleBalance, lockCapital, pendingProtocolProfit, plpTotalSupply, profitBasisCredits, profitBasisDebits, protocolReserveBalance, rebalanceExpiryCash, requestSupply, requestWithdraw, sealValuationSnapshot, snapshotExpiryPricer, sponsorFeeIncentives, startPoolValuation, supplyRequestsPending, valueExpiry, withdrawRequestsPending };
|
|
9
9
|
}
|
|
10
10
|
declare const PLP: MoveStruct<{
|
|
11
|
-
dummy_field:
|
|
11
|
+
dummy_field: _mysten_sui_bcs376.BcsType<boolean, boolean, "bool">;
|
|
12
12
|
}, "@local-pkg/deepbook_predict::plp::PLP">;
|
|
13
13
|
declare const PoolValuationProof: MoveStruct<{
|
|
14
|
-
dummy_field:
|
|
14
|
+
dummy_field: _mysten_sui_bcs376.BcsType<boolean, boolean, "bool">;
|
|
15
15
|
}, "@local-pkg/deepbook_predict::plp::PoolValuationProof">;
|
|
16
16
|
declare const SnapshotStage: MoveStruct<{
|
|
17
|
-
dummy_field:
|
|
17
|
+
dummy_field: _mysten_sui_bcs376.BcsType<boolean, boolean, "bool">;
|
|
18
18
|
}, "@local-pkg/deepbook_predict::plp::SnapshotStage">;
|
|
19
19
|
declare const PoolValuation: MoveStruct<{
|
|
20
|
-
/** Active expiry markets snapshotted at start; every one must be valued. */expected_expiry_markets:
|
|
20
|
+
/** Active expiry markets snapshotted at start; every one must be valued. */expected_expiry_markets: _mysten_sui_bcs376.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
21
21
|
length: number;
|
|
22
22
|
}, string>; /** Markets valued so far this flush; folded against `expected` at finish. */
|
|
23
|
-
valued_expiry_markets:
|
|
23
|
+
valued_expiry_markets: _mysten_sui_bcs376.BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
24
24
|
length: number;
|
|
25
25
|
}, string>; /** Running Σ of each valued market's snapshot NAV (settled markets contribute 0). */
|
|
26
|
-
total_nav:
|
|
26
|
+
total_nav: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
27
27
|
/**
|
|
28
28
|
* Oracle state frozen during the snapshot stage, one entry per expected market.
|
|
29
29
|
* Keyed by market id so a `Pricer` can never be applied to the wrong market.
|
|
@@ -33,7 +33,7 @@ declare const PoolValuation: MoveStruct<{
|
|
|
33
33
|
* clock or oracle state can change a market's contribution.
|
|
34
34
|
*/
|
|
35
35
|
frozen_pricers: MoveStruct<{
|
|
36
|
-
contents:
|
|
36
|
+
contents: _mysten_sui_bcs376.BcsType<{
|
|
37
37
|
key: string;
|
|
38
38
|
value: {
|
|
39
39
|
expiry_market_id: string;
|
|
@@ -89,8 +89,8 @@ declare const PoolValuation: MoveStruct<{
|
|
|
89
89
|
* Set by `seal_valuation_snapshot`; no market may be valued before it. Nothing may
|
|
90
90
|
* be snapshotted after it because sealing consumes the `SnapshotStage`.
|
|
91
91
|
*/
|
|
92
|
-
sealed:
|
|
93
|
-
started_at_ms:
|
|
92
|
+
sealed: _mysten_sui_bcs376.BcsType<boolean, boolean, "bool">; /** Clock time the flush was started, for the stuck-flush deadline. */
|
|
93
|
+
started_at_ms: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
94
94
|
/**
|
|
95
95
|
* Drain budgets committed at start (the cap owner's choice), bounding how many
|
|
96
96
|
* requests each queue processes at finish. Committing them here — not at finish —
|
|
@@ -98,15 +98,15 @@ declare const PoolValuation: MoveStruct<{
|
|
|
98
98
|
* but only ever drains at these budgets, so completion can help LPs, never starve
|
|
99
99
|
* them by finishing with a zero budget.
|
|
100
100
|
*/
|
|
101
|
-
supply_budget:
|
|
102
|
-
withdraw_budget:
|
|
101
|
+
supply_budget: _mysten_sui_bcs376.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
102
|
+
withdraw_budget: _mysten_sui_bcs376.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
103
103
|
/**
|
|
104
104
|
* Each LP queue's `next_index` at the snapshot instant: the drain fills only
|
|
105
105
|
* requests indexed strictly below these, so nobody can watch the frozen mark form
|
|
106
106
|
* and then submit against a price they already know is stale.
|
|
107
107
|
*/
|
|
108
|
-
supply_request_cutoff:
|
|
109
|
-
withdraw_request_cutoff:
|
|
108
|
+
supply_request_cutoff: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
109
|
+
withdraw_request_cutoff: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
110
110
|
/**
|
|
111
111
|
* Vault-side figures captured by `seal_valuation_snapshot`. With every market's
|
|
112
112
|
* cash frozen in its stamp and these frozen here, the mark is a pure function of
|
|
@@ -115,65 +115,65 @@ declare const PoolValuation: MoveStruct<{
|
|
|
115
115
|
* during the snapshot stage, so their recoverable cash sits inside
|
|
116
116
|
* `frozen_idle_balance`.
|
|
117
117
|
*/
|
|
118
|
-
frozen_idle_balance:
|
|
119
|
-
frozen_profit_basis_credits:
|
|
120
|
-
frozen_profit_basis_debits:
|
|
121
|
-
frozen_pending_protocol_profit:
|
|
118
|
+
frozen_idle_balance: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
119
|
+
frozen_profit_basis_credits: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
120
|
+
frozen_profit_basis_debits: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
121
|
+
frozen_pending_protocol_profit: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
122
122
|
}, "@local-pkg/deepbook_predict::plp::PoolValuation">;
|
|
123
123
|
declare const PoolVault: MoveStruct<{
|
|
124
|
-
id:
|
|
124
|
+
id: _mysten_sui_bcs376.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
125
125
|
/**
|
|
126
126
|
* Protocol-owned USDC excluded from PLP redemption. No package entrypoint
|
|
127
127
|
* withdraws this balance.
|
|
128
128
|
*/
|
|
129
129
|
protocol_reserve_balance: MoveStruct<{
|
|
130
|
-
value:
|
|
130
|
+
value: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
131
131
|
}, "0x2::balance::Balance<phantom T>">; /** Sponsor-funded USDC reserved for taker fee sponsorship, excluded from PLP NAV. */
|
|
132
132
|
fee_incentive_reserve: MoveStruct<{
|
|
133
|
-
value:
|
|
133
|
+
value: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
134
134
|
}, "0x2::balance::Balance<phantom T>">; /** PLP share issuance plus queued supply/withdraw escrow. */
|
|
135
135
|
lp: MoveStruct<{
|
|
136
136
|
treasury_cap: MoveStruct<{
|
|
137
|
-
id:
|
|
137
|
+
id: _mysten_sui_bcs376.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
138
138
|
total_supply: MoveStruct<{
|
|
139
|
-
value:
|
|
139
|
+
value: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
140
140
|
}, "0x2::balance::Supply<phantom T>">;
|
|
141
141
|
}, "0x2::coin::TreasuryCap<phantom T>">;
|
|
142
142
|
supply_queue: MoveStruct<{
|
|
143
143
|
pages: MoveStruct<{
|
|
144
|
-
id:
|
|
145
|
-
size:
|
|
144
|
+
id: _mysten_sui_bcs376.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
145
|
+
size: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
146
146
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
147
|
-
head_page_id:
|
|
148
|
-
tail_page_id:
|
|
149
|
-
next_index:
|
|
150
|
-
pending:
|
|
147
|
+
head_page_id: _mysten_sui_bcs376.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
148
|
+
tail_page_id: _mysten_sui_bcs376.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
149
|
+
next_index: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
150
|
+
pending: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
151
151
|
escrow: MoveStruct<{
|
|
152
|
-
value:
|
|
152
|
+
value: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
153
153
|
}, "0x2::balance::Balance<phantom T>">;
|
|
154
154
|
}, "@local-pkg/deepbook_predict::lp_book::RequestQueue<phantom T>">;
|
|
155
155
|
withdraw_queue: MoveStruct<{
|
|
156
156
|
pages: MoveStruct<{
|
|
157
|
-
id:
|
|
158
|
-
size:
|
|
157
|
+
id: _mysten_sui_bcs376.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
158
|
+
size: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
159
159
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
160
|
-
head_page_id:
|
|
161
|
-
tail_page_id:
|
|
162
|
-
next_index:
|
|
163
|
-
pending:
|
|
160
|
+
head_page_id: _mysten_sui_bcs376.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
161
|
+
tail_page_id: _mysten_sui_bcs376.BcsType<bigint | null, string | number | bigint | null | undefined, "Option<u64>">;
|
|
162
|
+
next_index: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
163
|
+
pending: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
164
164
|
escrow: MoveStruct<{
|
|
165
|
-
value:
|
|
165
|
+
value: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
166
166
|
}, "0x2::balance::Balance<phantom T>">;
|
|
167
167
|
}, "@local-pkg/deepbook_predict::lp_book::RequestQueue<phantom T>">;
|
|
168
168
|
locked_lp: MoveStruct<{
|
|
169
|
-
value:
|
|
169
|
+
value: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
170
170
|
}, "0x2::balance::Balance<phantom T>">;
|
|
171
171
|
}, "@local-pkg/deepbook_predict::lp_book::LpBook<phantom LP>">; /** Idle USDC custody, registered expiries, and per-expiry cash-flow rows. */
|
|
172
172
|
expiry_accounting: MoveStruct<{
|
|
173
173
|
idle_balance: MoveStruct<{
|
|
174
|
-
value:
|
|
174
|
+
value: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
175
175
|
}, "0x2::balance::Balance<phantom T>">;
|
|
176
|
-
active_expiry_markets:
|
|
176
|
+
active_expiry_markets: _mysten_sui_bcs376.BcsType<{
|
|
177
177
|
expiry_market_id: string;
|
|
178
178
|
expiry_ms: bigint;
|
|
179
179
|
}[], Iterable<{
|
|
@@ -183,19 +183,19 @@ declare const PoolVault: MoveStruct<{
|
|
|
183
183
|
length: number;
|
|
184
184
|
}, string>;
|
|
185
185
|
registered_expiries: MoveStruct<{
|
|
186
|
-
id:
|
|
187
|
-
size:
|
|
186
|
+
id: _mysten_sui_bcs376.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
187
|
+
size: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
188
188
|
}, "0x2::table::Table<phantom K, phantom V>">;
|
|
189
|
-
profit_basis_debits:
|
|
190
|
-
profit_basis_credits:
|
|
191
|
-
net_losses_to_fill:
|
|
192
|
-
pending_protocol_profit:
|
|
189
|
+
profit_basis_debits: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
190
|
+
profit_basis_credits: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
191
|
+
net_losses_to_fill: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
192
|
+
pending_protocol_profit: _mysten_sui_bcs376.BcsType<bigint, string | number | bigint, "u64">;
|
|
193
193
|
}, "@local-pkg/deepbook_predict::pool_accounting::Ledger">;
|
|
194
194
|
/**
|
|
195
195
|
* In-flight full-pool valuation, held across transactions. `Some` exactly while
|
|
196
196
|
* the `ProtocolConfig` valuation flag is engaged.
|
|
197
197
|
*/
|
|
198
|
-
valuation:
|
|
198
|
+
valuation: _mysten_sui_bcs376.BcsType<{
|
|
199
199
|
expected_expiry_markets: string[];
|
|
200
200
|
valued_expiry_markets: string[];
|
|
201
201
|
total_nav: bigint;
|
|
@@ -297,7 +297,7 @@ interface IdOptions {
|
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
299
|
/** Return the pool vault object ID for external discovery and PTB construction. */
|
|
300
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
300
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
301
301
|
interface IdleBalanceArguments {
|
|
302
302
|
vault?: RawTransactionArgument<string>;
|
|
303
303
|
}
|
|
@@ -310,7 +310,7 @@ interface IdleBalanceOptions {
|
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
/** Return idle USDC for SDK and devInspect state reads. */
|
|
313
|
-
declare function idleBalance(options: IdleBalanceOptions): (tx: Transaction) =>
|
|
313
|
+
declare function idleBalance(options: IdleBalanceOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
314
314
|
interface ProtocolReserveBalanceArguments {
|
|
315
315
|
vault?: RawTransactionArgument<string>;
|
|
316
316
|
}
|
|
@@ -323,7 +323,7 @@ interface ProtocolReserveBalanceOptions {
|
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
/** Return protocol-owned USDC for SDK and devInspect state reads. */
|
|
326
|
-
declare function protocolReserveBalance(options: ProtocolReserveBalanceOptions): (tx: Transaction) =>
|
|
326
|
+
declare function protocolReserveBalance(options: ProtocolReserveBalanceOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
327
327
|
interface FeeIncentiveReserveArguments {
|
|
328
328
|
vault?: RawTransactionArgument<string>;
|
|
329
329
|
}
|
|
@@ -336,7 +336,7 @@ interface FeeIncentiveReserveOptions {
|
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
338
|
/** Return sponsor-funded fee reserves for SDK and devInspect state reads. */
|
|
339
|
-
declare function feeIncentiveReserve(options: FeeIncentiveReserveOptions): (tx: Transaction) =>
|
|
339
|
+
declare function feeIncentiveReserve(options: FeeIncentiveReserveOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
340
340
|
interface PlpTotalSupplyArguments {
|
|
341
341
|
vault?: RawTransactionArgument<string>;
|
|
342
342
|
}
|
|
@@ -349,7 +349,7 @@ interface PlpTotalSupplyOptions {
|
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
351
|
/** Return total PLP supply for SDK and devInspect state reads. */
|
|
352
|
-
declare function plpTotalSupply(options: PlpTotalSupplyOptions): (tx: Transaction) =>
|
|
352
|
+
declare function plpTotalSupply(options: PlpTotalSupplyOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
353
353
|
interface SupplyRequestsPendingArguments {
|
|
354
354
|
vault?: RawTransactionArgument<string>;
|
|
355
355
|
}
|
|
@@ -362,7 +362,7 @@ interface SupplyRequestsPendingOptions {
|
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
364
|
/** Return pending LP supply count for SDK and devInspect queue reads. */
|
|
365
|
-
declare function supplyRequestsPending(options: SupplyRequestsPendingOptions): (tx: Transaction) =>
|
|
365
|
+
declare function supplyRequestsPending(options: SupplyRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
366
366
|
interface WithdrawRequestsPendingArguments {
|
|
367
367
|
vault?: RawTransactionArgument<string>;
|
|
368
368
|
}
|
|
@@ -375,7 +375,7 @@ interface WithdrawRequestsPendingOptions {
|
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
377
|
/** Return pending LP withdrawal count for SDK and devInspect queue reads. */
|
|
378
|
-
declare function withdrawRequestsPending(options: WithdrawRequestsPendingOptions): (tx: Transaction) =>
|
|
378
|
+
declare function withdrawRequestsPending(options: WithdrawRequestsPendingOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
379
379
|
interface ActiveExpiryMarketsArguments {
|
|
380
380
|
vault?: RawTransactionArgument<string>;
|
|
381
381
|
}
|
|
@@ -388,7 +388,7 @@ interface ActiveExpiryMarketsOptions {
|
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
/** Return active expiry IDs for external PTB construction and pool inspection. */
|
|
391
|
-
declare function activeExpiryMarkets(options: ActiveExpiryMarketsOptions): (tx: Transaction) =>
|
|
391
|
+
declare function activeExpiryMarkets(options: ActiveExpiryMarketsOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
392
392
|
interface ActiveLiveExpiryCountArguments {
|
|
393
393
|
vault?: RawTransactionArgument<string>;
|
|
394
394
|
}
|
|
@@ -401,7 +401,7 @@ interface ActiveLiveExpiryCountOptions {
|
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
403
|
/** Return the pre-expiry active count for SDK and devInspect capacity reads. */
|
|
404
|
-
declare function activeLiveExpiryCount(options: ActiveLiveExpiryCountOptions): (tx: Transaction) =>
|
|
404
|
+
declare function activeLiveExpiryCount(options: ActiveLiveExpiryCountOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
405
405
|
interface ProfitBasisDebitsArguments {
|
|
406
406
|
vault?: RawTransactionArgument<string>;
|
|
407
407
|
}
|
|
@@ -414,7 +414,7 @@ interface ProfitBasisDebitsOptions {
|
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
416
|
/** Return the profit-basis debits for external accounting observability. */
|
|
417
|
-
declare function profitBasisDebits(options: ProfitBasisDebitsOptions): (tx: Transaction) =>
|
|
417
|
+
declare function profitBasisDebits(options: ProfitBasisDebitsOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
418
418
|
interface ProfitBasisCreditsArguments {
|
|
419
419
|
vault?: RawTransactionArgument<string>;
|
|
420
420
|
}
|
|
@@ -427,7 +427,7 @@ interface ProfitBasisCreditsOptions {
|
|
|
427
427
|
};
|
|
428
428
|
}
|
|
429
429
|
/** Return the profit-basis credits for external accounting observability. */
|
|
430
|
-
declare function profitBasisCredits(options: ProfitBasisCreditsOptions): (tx: Transaction) =>
|
|
430
|
+
declare function profitBasisCredits(options: ProfitBasisCreditsOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
431
431
|
interface PendingProtocolProfitArguments {
|
|
432
432
|
vault?: RawTransactionArgument<string>;
|
|
433
433
|
}
|
|
@@ -440,7 +440,7 @@ interface PendingProtocolProfitOptions {
|
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
442
|
/** Return deferred protocol profit for external accounting observability. */
|
|
443
|
-
declare function pendingProtocolProfit(options: PendingProtocolProfitOptions): (tx: Transaction) =>
|
|
443
|
+
declare function pendingProtocolProfit(options: PendingProtocolProfitOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
444
444
|
interface StartPoolValuationArguments {
|
|
445
445
|
config?: RawTransactionArgument<string>;
|
|
446
446
|
vault?: RawTransactionArgument<string>;
|
|
@@ -465,7 +465,7 @@ interface StartPoolValuationOptions {
|
|
|
465
465
|
* snapshot stage: freeze every active market's pricer under the returned
|
|
466
466
|
* `SnapshotStage`, then seal it in the same transaction.
|
|
467
467
|
*/
|
|
468
|
-
declare function startPoolValuation(options: StartPoolValuationOptions): (tx: Transaction) =>
|
|
468
|
+
declare function startPoolValuation(options: StartPoolValuationOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
469
469
|
interface SnapshotExpiryPricerArguments {
|
|
470
470
|
vault?: RawTransactionArgument<string>;
|
|
471
471
|
Stage: TransactionArgument;
|
|
@@ -508,7 +508,7 @@ interface SnapshotExpiryPricerOptions {
|
|
|
508
508
|
* flag is never left engaged. Settle it first, then start the flush; settlement is
|
|
509
509
|
* never blocked by a flush, so that ordering is always available.
|
|
510
510
|
*/
|
|
511
|
-
declare function snapshotExpiryPricer(options: SnapshotExpiryPricerOptions): (tx: Transaction) =>
|
|
511
|
+
declare function snapshotExpiryPricer(options: SnapshotExpiryPricerOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
512
512
|
interface SealValuationSnapshotArguments {
|
|
513
513
|
vault?: RawTransactionArgument<string>;
|
|
514
514
|
stage: TransactionArgument;
|
|
@@ -536,7 +536,7 @@ interface SealValuationSnapshotOptions {
|
|
|
536
536
|
* land between a stamp and this capture. Valuation may then resume across as many
|
|
537
537
|
* transactions as it needs.
|
|
538
538
|
*/
|
|
539
|
-
declare function sealValuationSnapshot(options: SealValuationSnapshotOptions): (tx: Transaction) =>
|
|
539
|
+
declare function sealValuationSnapshot(options: SealValuationSnapshotOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
540
540
|
interface ValueExpiryArguments {
|
|
541
541
|
vault?: RawTransactionArgument<string>;
|
|
542
542
|
market: RawTransactionArgument<string>;
|
|
@@ -566,7 +566,7 @@ interface ValueExpiryOptions {
|
|
|
566
566
|
* mid-window is valued at its frozen pre-expiry mark; its settlement does not wait
|
|
567
567
|
* for this call, because settlement is never blocked by a flush.
|
|
568
568
|
*/
|
|
569
|
-
declare function valueExpiry(options: ValueExpiryOptions): (tx: Transaction) =>
|
|
569
|
+
declare function valueExpiry(options: ValueExpiryOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
570
570
|
interface FinishFlushArguments {
|
|
571
571
|
vault?: RawTransactionArgument<string>;
|
|
572
572
|
config?: RawTransactionArgument<string>;
|
|
@@ -610,7 +610,7 @@ interface FinishFlushOptions {
|
|
|
610
610
|
* the same transaction, an operator should bound both budgets in production rather
|
|
611
611
|
* than rely on queue length staying small — see RP-12.
|
|
612
612
|
*/
|
|
613
|
-
declare function finishFlush(options: FinishFlushOptions): (tx: Transaction) =>
|
|
613
|
+
declare function finishFlush(options: FinishFlushOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
614
614
|
interface RebalanceExpiryCashArguments {
|
|
615
615
|
vault?: RawTransactionArgument<string>;
|
|
616
616
|
market: RawTransactionArgument<string>;
|
|
@@ -643,7 +643,7 @@ interface RebalanceExpiryCashOptions {
|
|
|
643
643
|
* between a market's stamp and the seal's vault capture would skew the frozen
|
|
644
644
|
* figures, so it is structurally rejected rather than corrected for.
|
|
645
645
|
*/
|
|
646
|
-
declare function rebalanceExpiryCash(options: RebalanceExpiryCashOptions): (tx: Transaction) =>
|
|
646
|
+
declare function rebalanceExpiryCash(options: RebalanceExpiryCashOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
647
647
|
interface SponsorFeeIncentivesArguments {
|
|
648
648
|
vault?: RawTransactionArgument<string>;
|
|
649
649
|
config?: RawTransactionArgument<string>;
|
|
@@ -663,7 +663,7 @@ interface SponsorFeeIncentivesOptions {
|
|
|
663
663
|
* a pool-level reserve that is excluded from PLP NAV and later allocated to expiry
|
|
664
664
|
* markets by the normal rebalance flow.
|
|
665
665
|
*/
|
|
666
|
-
declare function sponsorFeeIncentives(options: SponsorFeeIncentivesOptions): (tx: Transaction) =>
|
|
666
|
+
declare function sponsorFeeIncentives(options: SponsorFeeIncentivesOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
667
667
|
interface LockCapitalArguments {
|
|
668
668
|
vault?: RawTransactionArgument<string>;
|
|
669
669
|
config?: RawTransactionArgument<string>;
|
|
@@ -688,7 +688,7 @@ interface LockCapitalOptions {
|
|
|
688
688
|
* Supply, withdrawal, and flush flows remain disabled until the locked liquidity
|
|
689
689
|
* has been created.
|
|
690
690
|
*/
|
|
691
|
-
declare function lockCapital(options: LockCapitalOptions): (tx: Transaction) =>
|
|
691
|
+
declare function lockCapital(options: LockCapitalOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
692
692
|
interface RequestSupplyArguments {
|
|
693
693
|
vault?: RawTransactionArgument<string>;
|
|
694
694
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -721,7 +721,7 @@ interface RequestSupplyOptions {
|
|
|
721
721
|
* that many flushes first. Returns the queue index, the handle used to cancel
|
|
722
722
|
* before the flush.
|
|
723
723
|
*/
|
|
724
|
-
declare function requestSupply(options: RequestSupplyOptions): (tx: Transaction) =>
|
|
724
|
+
declare function requestSupply(options: RequestSupplyOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
725
725
|
interface RequestWithdrawArguments {
|
|
726
726
|
vault?: RawTransactionArgument<string>;
|
|
727
727
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -753,7 +753,7 @@ interface RequestWithdrawOptions {
|
|
|
753
753
|
* there and then; a higher configured count lets it rest and retry that many
|
|
754
754
|
* flushes first. Returns the queue index used to cancel before the flush.
|
|
755
755
|
*/
|
|
756
|
-
declare function requestWithdraw(options: RequestWithdrawOptions): (tx: Transaction) =>
|
|
756
|
+
declare function requestWithdraw(options: RequestWithdrawOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
757
757
|
interface CancelSupplyRequestArguments {
|
|
758
758
|
vault?: RawTransactionArgument<string>;
|
|
759
759
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -774,7 +774,7 @@ interface CancelSupplyRequestOptions {
|
|
|
774
774
|
* Cancel a still-pending supply request, refunding its escrowed USDC straight into
|
|
775
775
|
* the requesting account. `account` must be the request's recorded recipient.
|
|
776
776
|
*/
|
|
777
|
-
declare function cancelSupplyRequest(options: CancelSupplyRequestOptions): (tx: Transaction) =>
|
|
777
|
+
declare function cancelSupplyRequest(options: CancelSupplyRequestOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
778
778
|
interface CancelWithdrawRequestArguments {
|
|
779
779
|
vault?: RawTransactionArgument<string>;
|
|
780
780
|
wrapper: RawTransactionArgument<string>;
|
|
@@ -795,7 +795,7 @@ interface CancelWithdrawRequestOptions {
|
|
|
795
795
|
* Cancel a still-pending withdraw request, refunding its escrowed PLP straight
|
|
796
796
|
* into the requesting account. `account` must be the request's recorded recipient.
|
|
797
797
|
*/
|
|
798
|
-
declare function cancelWithdrawRequest(options: CancelWithdrawRequestOptions): (tx: Transaction) =>
|
|
798
|
+
declare function cancelWithdrawRequest(options: CancelWithdrawRequestOptions): (tx: Transaction) => _mysten_sui_transactions269.TransactionResult;
|
|
799
799
|
//#endregion
|
|
800
800
|
export { plp_d_exports };
|
|
801
801
|
//# sourceMappingURL=plp.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MoveStruct, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs422 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions293 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/pool_valuation_cap.d.ts
|
|
@@ -8,7 +8,7 @@ declare namespace pool_valuation_cap_d_exports {
|
|
|
8
8
|
export { DestroyArguments, DestroyOptions, IdArguments, IdOptions, PoolValuationCap, destroy, id };
|
|
9
9
|
}
|
|
10
10
|
declare const PoolValuationCap: MoveStruct<{
|
|
11
|
-
id:
|
|
11
|
+
id: _mysten_sui_bcs422.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
12
12
|
}, "@local-pkg/deepbook_predict::pool_valuation_cap::PoolValuationCap">;
|
|
13
13
|
interface IdArguments {
|
|
14
14
|
cap: RawTransactionArgument<string>;
|
|
@@ -21,7 +21,7 @@ interface IdOptions {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
/** Returns the capability identity used by the registry allowlist. */
|
|
24
|
-
declare function id(options: IdOptions): (tx: Transaction) =>
|
|
24
|
+
declare function id(options: IdOptions): (tx: Transaction) => _mysten_sui_transactions293.TransactionResult;
|
|
25
25
|
interface DestroyArguments {
|
|
26
26
|
cap: RawTransactionArgument<string>;
|
|
27
27
|
}
|
|
@@ -33,7 +33,7 @@ interface DestroyOptions {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
/** Destroy a `PoolValuationCap` the holder no longer needs. */
|
|
36
|
-
declare function destroy(options: DestroyOptions): (tx: Transaction) =>
|
|
36
|
+
declare function destroy(options: DestroyOptions): (tx: Transaction) => _mysten_sui_transactions293.TransactionResult;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { pool_valuation_cap_d_exports };
|
|
39
39
|
//# sourceMappingURL=pool_valuation_cap.d.mts.map
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { MoveStruct, MoveTuple, RawTransactionArgument } from "../utils/index.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _mysten_sui_bcs423 from "@mysten/sui/bcs";
|
|
3
|
+
import * as _mysten_sui_transactions295 from "@mysten/sui/transactions";
|
|
4
4
|
import { Transaction, TransactionArgument } from "@mysten/sui/transactions";
|
|
5
5
|
|
|
6
6
|
//#region src/contracts/deepbook_predict/predict_account.d.ts
|
|
7
7
|
declare namespace predict_account_d_exports {
|
|
8
8
|
export { BuilderCodeIdArguments, BuilderCodeIdOptions, HasPositionArguments, HasPositionOptions, Position, PositionKey, PredictApp, PredictData, SetBuilderCodeArguments, SetBuilderCodeOptions, UnsetBuilderCodeArguments, UnsetBuilderCodeOptions, builderCodeId, hasPosition, setBuilderCode, unsetBuilderCode };
|
|
9
9
|
}
|
|
10
|
-
declare const PredictApp: MoveTuple<readonly [
|
|
10
|
+
declare const PredictApp: MoveTuple<readonly [_mysten_sui_bcs423.BcsType<boolean, boolean, "bool">], "@local-pkg/deepbook_predict::predict_account::PredictApp">;
|
|
11
11
|
declare const PositionKey: MoveStruct<{
|
|
12
|
-
expiry_market_id:
|
|
13
|
-
order_id:
|
|
12
|
+
expiry_market_id: _mysten_sui_bcs423.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
13
|
+
order_id: _mysten_sui_bcs423.BcsType<bigint, string | number | bigint, "u256">;
|
|
14
14
|
}, "@local-pkg/deepbook_predict::predict_account::PositionKey">;
|
|
15
15
|
declare const Position: MoveStruct<{
|
|
16
|
-
/** Root order ID, carried forward unchanged across partial-close replacements. */root_id:
|
|
16
|
+
/** Root order ID, carried forward unchanged across partial-close replacements. */root_id: _mysten_sui_bcs423.BcsType<bigint, string | number | bigint, "u256">;
|
|
17
17
|
/**
|
|
18
18
|
* On-chain time (`clock.timestamp_ms()`) the position was opened, carried forward
|
|
19
19
|
* unchanged across partial-close replacements. A live redeem in the same timestamp
|
|
20
20
|
* is rejected, blocking an atomic mint -> oracle-update -> redeem in one
|
|
21
21
|
* transaction.
|
|
22
22
|
*/
|
|
23
|
-
opened_at_ms:
|
|
23
|
+
opened_at_ms: _mysten_sui_bcs423.BcsType<bigint, string | number | bigint, "u64">;
|
|
24
24
|
}, "@local-pkg/deepbook_predict::predict_account::Position">;
|
|
25
25
|
declare const PredictData: MoveStruct<{
|
|
26
26
|
/** Open positions scoped by expiry market. */positions: MoveStruct<{
|
|
27
|
-
id:
|
|
28
|
-
size:
|
|
27
|
+
id: _mysten_sui_bcs423.BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
28
|
+
size: _mysten_sui_bcs423.BcsType<bigint, string | number | bigint, "u64">;
|
|
29
29
|
}, "0x2::table::Table<phantom K, phantom V>">; /** Sticky builder-code attribution for future trades, if set. */
|
|
30
|
-
builder_code_id:
|
|
30
|
+
builder_code_id: _mysten_sui_bcs423.BcsType<string | null, string | Uint8Array<ArrayBufferLike> | null | undefined, "Option<bytes[32]>">;
|
|
31
31
|
}, "@local-pkg/deepbook_predict::predict_account::PredictData">;
|
|
32
32
|
interface HasPositionArguments {
|
|
33
33
|
account: TransactionArgument;
|
|
@@ -42,7 +42,7 @@ interface HasPositionOptions {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
/** Return whether an account holds a position for SDK and devInspect state reads. */
|
|
45
|
-
declare function hasPosition(options: HasPositionOptions): (tx: Transaction) =>
|
|
45
|
+
declare function hasPosition(options: HasPositionOptions): (tx: Transaction) => _mysten_sui_transactions295.TransactionResult;
|
|
46
46
|
interface BuilderCodeIdArguments {
|
|
47
47
|
account: TransactionArgument;
|
|
48
48
|
}
|
|
@@ -54,7 +54,7 @@ interface BuilderCodeIdOptions {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
/** Return the sticky builder-code ID, if set. */
|
|
57
|
-
declare function builderCodeId(options: BuilderCodeIdOptions): (tx: Transaction) =>
|
|
57
|
+
declare function builderCodeId(options: BuilderCodeIdOptions): (tx: Transaction) => _mysten_sui_transactions295.TransactionResult;
|
|
58
58
|
interface SetBuilderCodeArguments {
|
|
59
59
|
wrapper: RawTransactionArgument<string>;
|
|
60
60
|
auth: TransactionArgument;
|
|
@@ -71,7 +71,7 @@ interface SetBuilderCodeOptions {
|
|
|
71
71
|
* Set sticky builder-code attribution for future trades using valid account auth.
|
|
72
72
|
* Owner auth and authorized-app auth both satisfy the account borrow boundary.
|
|
73
73
|
*/
|
|
74
|
-
declare function setBuilderCode(options: SetBuilderCodeOptions): (tx: Transaction) =>
|
|
74
|
+
declare function setBuilderCode(options: SetBuilderCodeOptions): (tx: Transaction) => _mysten_sui_transactions295.TransactionResult;
|
|
75
75
|
interface UnsetBuilderCodeArguments {
|
|
76
76
|
wrapper: RawTransactionArgument<string>;
|
|
77
77
|
auth: TransactionArgument;
|
|
@@ -84,7 +84,7 @@ interface UnsetBuilderCodeOptions {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
/** Clear sticky builder-code attribution using valid owner or authorized-app auth. */
|
|
87
|
-
declare function unsetBuilderCode(options: UnsetBuilderCodeOptions): (tx: Transaction) =>
|
|
87
|
+
declare function unsetBuilderCode(options: UnsetBuilderCodeOptions): (tx: Transaction) => _mysten_sui_transactions295.TransactionResult;
|
|
88
88
|
//#endregion
|
|
89
89
|
export { predict_account_d_exports };
|
|
90
90
|
//# sourceMappingURL=predict_account.d.mts.map
|