dexbot 1.5.2 → 1.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 +79 -0
- package/README.md +4 -3
- package/analysis/README.md +1 -2
- package/analysis/ama_fitting/fetch_lp_candles.ts +1 -9
- package/analysis/ama_fitting/package.json +1 -1
- package/analysis/analyze_derivatives.ts +1 -1
- package/analysis/bot_usage/discover_bot_accounts.ts +12 -6
- package/analysis/resolve_source.ts +11 -1
- package/analysis/results/ama_sweep_results_lp_pool_133_1h.json +2455 -0
- package/analysis/results/bot_fitting_results_lp_pool_133_1h.json +218 -0
- package/analysis/tradingview/README.md +32 -10
- package/analysis/tradingview/analyze_tradingview.ts +118 -3
- package/analysis/tradingview/h-bts_tradingview.html +1570 -0
- package/analysis/tradingview/t-bts_tradingview.html +1570 -0
- package/analysis/tradingview/tradingview_uplot_chart_generator.ts +1392 -125
- package/analysis/trend_detection/package.json +1 -1
- package/claw/docs/DEXBOT2_TUNING_CHEAT_SHEET.md +1 -1
- package/claw/modules/dexbot_profiles.ts +22 -2
- package/claw/package.json +1 -1
- package/claw/runtimes/openclaw-plugin/openclaw.plugin.json +1 -1
- package/claw/runtimes/openclaw-plugin/package.json +1 -1
- package/claw/skills/launcher-ops/references/launcher-workflow.md +1 -1
- package/claw/tests/test_claw_mcp_transport.ts +2 -2
- package/claw/tests/test_dexbot_profiles.ts +65 -0
- package/dist/analysis/ama_fitting/fetch_lp_candles.js +1 -9
- package/dist/analysis/ama_fitting/fetch_lp_candles.js.map +1 -1
- package/dist/analysis/analyze_derivatives.js +1 -1
- package/dist/analysis/bot_usage/discover_bot_accounts.js +11 -6
- package/dist/analysis/bot_usage/discover_bot_accounts.js.map +1 -1
- package/dist/analysis/bot_usage/kibana_bot_queries.d.ts +2 -0
- package/dist/analysis/bot_usage/kibana_bot_queries.d.ts.map +1 -1
- package/dist/analysis/resolve_source.d.ts +1 -0
- package/dist/analysis/resolve_source.d.ts.map +1 -1
- package/dist/analysis/resolve_source.js +8 -1
- package/dist/analysis/resolve_source.js.map +1 -1
- package/dist/analysis/tradingview/analyze_tradingview.d.ts +8 -0
- package/dist/analysis/tradingview/analyze_tradingview.d.ts.map +1 -1
- package/dist/analysis/tradingview/analyze_tradingview.js +137 -3
- package/dist/analysis/tradingview/analyze_tradingview.js.map +1 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts +5 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts.map +1 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js +1387 -125
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js.map +1 -1
- package/dist/bot.js +1 -1
- package/dist/bot.js.map +1 -1
- package/dist/dexbot.js +3 -3
- package/dist/dexbot.js.map +1 -1
- package/dist/market_adapter/ama_signal_runner.js +2 -2
- package/dist/market_adapter/candle_utils.d.ts +6 -0
- package/dist/market_adapter/candle_utils.d.ts.map +1 -1
- package/dist/market_adapter/candle_utils.js +6 -0
- package/dist/market_adapter/candle_utils.js.map +1 -1
- package/dist/market_adapter/core/asymmetric_bounds.d.ts +33 -1
- package/dist/market_adapter/core/asymmetric_bounds.d.ts.map +1 -1
- package/dist/market_adapter/core/asymmetric_bounds.js +38 -1
- package/dist/market_adapter/core/asymmetric_bounds.js.map +1 -1
- package/dist/market_adapter/core/kibana_candles.d.ts +17 -1
- package/dist/market_adapter/core/kibana_candles.d.ts.map +1 -1
- package/dist/market_adapter/core/kibana_candles.js +101 -19
- package/dist/market_adapter/core/kibana_candles.js.map +1 -1
- package/dist/market_adapter/core/kibana_client.d.ts +2 -0
- package/dist/market_adapter/core/kibana_client.d.ts.map +1 -1
- package/dist/market_adapter/core/kibana_client.js +31 -4
- package/dist/market_adapter/core/kibana_client.js.map +1 -1
- package/dist/market_adapter/core/market_adapter_service.d.ts.map +1 -1
- package/dist/market_adapter/core/market_adapter_service.js +0 -6
- package/dist/market_adapter/core/market_adapter_service.js.map +1 -1
- package/dist/market_adapter/inputs/fetch_book_data.d.ts +14 -0
- package/dist/market_adapter/inputs/fetch_book_data.d.ts.map +1 -0
- package/dist/market_adapter/inputs/fetch_book_data.js +138 -0
- package/dist/market_adapter/inputs/fetch_book_data.js.map +1 -0
- package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js +1 -1
- package/dist/market_adapter/inputs/fetch_lp_data.d.ts +16 -2
- package/dist/market_adapter/inputs/fetch_lp_data.d.ts.map +1 -1
- package/dist/market_adapter/inputs/fetch_lp_data.js +109 -281
- package/dist/market_adapter/inputs/fetch_lp_data.js.map +1 -1
- package/dist/market_adapter/inputs/kibana_feed_source.d.ts +87 -0
- package/dist/market_adapter/inputs/kibana_feed_source.d.ts.map +1 -0
- package/dist/market_adapter/inputs/kibana_feed_source.js +570 -0
- package/dist/market_adapter/inputs/kibana_feed_source.js.map +1 -0
- package/dist/market_adapter/inputs/kibana_source.d.ts.map +1 -1
- package/dist/market_adapter/inputs/kibana_source.js +10 -5
- package/dist/market_adapter/inputs/kibana_source.js.map +1 -1
- package/dist/market_adapter/inputs/window_cache.d.ts +166 -0
- package/dist/market_adapter/inputs/window_cache.d.ts.map +1 -0
- package/dist/market_adapter/inputs/window_cache.js +500 -0
- package/dist/market_adapter/inputs/window_cache.js.map +1 -0
- package/dist/market_adapter/interval_utils.d.ts +8 -1
- package/dist/market_adapter/interval_utils.d.ts.map +1 -1
- package/dist/market_adapter/interval_utils.js +14 -1
- package/dist/market_adapter/interval_utils.js.map +1 -1
- package/dist/modules/account_bots.d.ts +1 -0
- package/dist/modules/account_bots.d.ts.map +1 -1
- package/dist/modules/account_bots.js +21 -5
- package/dist/modules/account_bots.js.map +1 -1
- package/dist/modules/account_orders.d.ts +25 -4
- package/dist/modules/account_orders.d.ts.map +1 -1
- package/dist/modules/account_orders.js +67 -4
- package/dist/modules/account_orders.js.map +1 -1
- package/dist/modules/bitshares-native/chain_client.d.ts +2 -0
- package/dist/modules/bitshares-native/chain_client.d.ts.map +1 -1
- package/dist/modules/bitshares-native/chain_client.js +3 -1
- package/dist/modules/bitshares-native/chain_client.js.map +1 -1
- package/dist/modules/bitshares-native/subscriptions.d.ts.map +1 -1
- package/dist/modules/bitshares-native/subscriptions.js +13 -3
- package/dist/modules/bitshares-native/subscriptions.js.map +1 -1
- package/dist/modules/bitshares-native/transport.d.ts +2 -0
- package/dist/modules/bitshares-native/transport.d.ts.map +1 -1
- package/dist/modules/bitshares-native/transport.js +122 -28
- package/dist/modules/bitshares-native/transport.js.map +1 -1
- package/dist/modules/bitshares_client.d.ts.map +1 -1
- package/dist/modules/bitshares_client.js +59 -8
- package/dist/modules/bitshares_client.js.map +1 -1
- package/dist/modules/bot_settings.d.ts.map +1 -1
- package/dist/modules/bot_settings.js +11 -0
- package/dist/modules/bot_settings.js.map +1 -1
- package/dist/modules/constants.d.ts +13 -0
- package/dist/modules/constants.d.ts.map +1 -1
- package/dist/modules/constants.js +68 -4
- package/dist/modules/constants.js.map +1 -1
- package/dist/modules/dexbot_class.d.ts +10 -18
- package/dist/modules/dexbot_class.d.ts.map +1 -1
- package/dist/modules/dexbot_class.js +57 -2
- package/dist/modules/dexbot_class.js.map +1 -1
- package/dist/modules/dexbot_cow_runtime.d.ts +62 -37
- package/dist/modules/dexbot_cow_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_cow_runtime.js +797 -569
- package/dist/modules/dexbot_cow_runtime.js.map +1 -1
- package/dist/modules/dexbot_fill_runtime.d.ts +41 -1
- package/dist/modules/dexbot_fill_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_fill_runtime.js +135 -5
- package/dist/modules/dexbot_fill_runtime.js.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.d.ts +79 -12
- package/dist/modules/dexbot_maintenance_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.js +585 -97
- package/dist/modules/dexbot_maintenance_runtime.js.map +1 -1
- package/dist/modules/dexbot_startup_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_startup_runtime.js +13 -0
- package/dist/modules/dexbot_startup_runtime.js.map +1 -1
- package/dist/modules/dexbot_state_recovery.d.ts +15 -1
- package/dist/modules/dexbot_state_recovery.d.ts.map +1 -1
- package/dist/modules/dexbot_state_recovery.js +36 -7
- package/dist/modules/dexbot_state_recovery.js.map +1 -1
- package/dist/modules/fund_registry.d.ts +1 -1
- package/dist/modules/fund_registry.js +1 -1
- package/dist/modules/node_connect_policy.d.ts +52 -0
- package/dist/modules/node_connect_policy.d.ts.map +1 -0
- package/dist/modules/node_connect_policy.js +35 -0
- package/dist/modules/node_connect_policy.js.map +1 -0
- package/dist/modules/node_manager.d.ts +32 -0
- package/dist/modules/node_manager.d.ts.map +1 -1
- package/dist/modules/node_manager.js +76 -9
- package/dist/modules/node_manager.js.map +1 -1
- package/dist/modules/order/accounting.d.ts +30 -0
- package/dist/modules/order/accounting.d.ts.map +1 -1
- package/dist/modules/order/accounting.js +176 -3
- package/dist/modules/order/accounting.js.map +1 -1
- package/dist/modules/order/export.d.ts.map +1 -1
- package/dist/modules/order/export.js +1 -0
- package/dist/modules/order/export.js.map +1 -1
- package/dist/modules/order/grid.d.ts.map +1 -1
- package/dist/modules/order/grid.js +170 -51
- package/dist/modules/order/grid.js.map +1 -1
- package/dist/modules/order/grid_reconcile.d.ts.map +1 -1
- package/dist/modules/order/grid_reconcile.js +5 -3
- package/dist/modules/order/grid_reconcile.js.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.d.ts.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.js +182 -6
- package/dist/modules/order/grid_reconcile_internal.js.map +1 -1
- package/dist/modules/order/manager.d.ts +66 -3
- package/dist/modules/order/manager.d.ts.map +1 -1
- package/dist/modules/order/manager.js +238 -12
- package/dist/modules/order/manager.js.map +1 -1
- package/dist/modules/order/strategy.d.ts +3 -0
- package/dist/modules/order/strategy.d.ts.map +1 -1
- package/dist/modules/order/strategy.js +79 -7
- package/dist/modules/order/strategy.js.map +1 -1
- package/dist/modules/order/sync_engine.d.ts.map +1 -1
- package/dist/modules/order/sync_engine.js +90 -1
- package/dist/modules/order/sync_engine.js.map +1 -1
- package/dist/modules/order/utils/math.d.ts +20 -12
- package/dist/modules/order/utils/math.d.ts.map +1 -1
- package/dist/modules/order/utils/math.js +33 -12
- package/dist/modules/order/utils/math.js.map +1 -1
- package/dist/modules/order/utils/order.d.ts +308 -28
- package/dist/modules/order/utils/order.d.ts.map +1 -1
- package/dist/modules/order/utils/order.js +862 -38
- package/dist/modules/order/utils/order.js.map +1 -1
- package/dist/modules/order/utils/system.d.ts +37 -30
- package/dist/modules/order/utils/system.d.ts.map +1 -1
- package/dist/modules/order/utils/system.js +130 -101
- package/dist/modules/order/utils/system.js.map +1 -1
- package/dist/modules/order/utils/validate.d.ts +3 -2
- package/dist/modules/order/utils/validate.d.ts.map +1 -1
- package/dist/modules/order/utils/validate.js +11 -3
- package/dist/modules/order/utils/validate.js.map +1 -1
- package/dist/modules/paths.d.ts +2 -0
- package/dist/modules/paths.d.ts.map +1 -1
- package/dist/modules/paths.js +1 -0
- package/dist/modules/paths.js.map +1 -1
- package/dist/modules/runtime_settings.d.ts +13 -0
- package/dist/modules/runtime_settings.d.ts.map +1 -1
- package/dist/modules/runtime_settings.js +20 -0
- package/dist/modules/runtime_settings.js.map +1 -1
- package/dist/modules/utils/errors.d.ts +16 -0
- package/dist/modules/utils/errors.d.ts.map +1 -1
- package/dist/modules/utils/errors.js +31 -0
- package/dist/modules/utils/errors.js.map +1 -1
- package/dist/pm2.js +7 -7
- package/dist/scripts/analyze-credit.d.ts.map +1 -1
- package/dist/scripts/analyze-credit.js +13 -3
- package/dist/scripts/analyze-credit.js.map +1 -1
- package/dist/scripts/analyze-orders.js +2 -2
- package/dist/scripts/analyze-orders.js.map +1 -1
- package/dist/scripts/diagnose-kibana-candles.d.ts.map +1 -1
- package/dist/scripts/diagnose-kibana-candles.js +0 -1
- package/dist/scripts/diagnose-kibana-candles.js.map +1 -1
- package/dist/scripts/test-credit-renewal.js +1 -1
- package/dist/scripts/test-credit-renewal.js.map +1 -1
- package/dist/scripts/tv.d.ts +24 -2
- package/dist/scripts/tv.d.ts.map +1 -1
- package/dist/scripts/tv.js +190 -65
- package/dist/scripts/tv.js.map +1 -1
- package/docs/BITSHARES_ONBOARDING.md +9 -2
- package/docs/COW_INVARIANTS.md +18 -1
- package/docs/DEXBOT_COMPARISON.md +3 -3
- package/docs/EVOLUTION.md +9 -7
- package/docs/FUND_MOVEMENT_AND_ACCOUNTING.md +21 -9
- package/docs/GRID_RECALCULATION.md +5 -6
- package/docs/GRID_RECONCILE.md +12 -2
- package/docs/MPA_CREDIT_USAGE.md +2 -2
- package/docs/README.md +5 -6
- package/docs/architecture.md +0 -58
- package/docs/developer_guide.md +2 -1
- package/docs/docker.md +1 -1
- package/market_adapter/README.md +4 -0
- package/modules/README.md +1 -1
- package/package.json +1 -1
- package/scripts/README.md +5 -3
- package/tests/README.md +2 -2
|
@@ -138,24 +138,17 @@ declare function findChainOrderForSlot(bot: any, chainOrders: any, slotId: any,
|
|
|
138
138
|
* @param {Object} [options]
|
|
139
139
|
* @returns {Promise<Object>}
|
|
140
140
|
*/
|
|
141
|
-
declare function reconcileAfterUncertainBroadcast(bot: any, err: any, opContexts: any, options?: Record<string, any>): Promise<
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
} | {
|
|
153
|
-
executed: boolean;
|
|
154
|
-
hadRotation: boolean;
|
|
155
|
-
uncertain: boolean;
|
|
156
|
-
adoptedCount: number;
|
|
157
|
-
discardedCount: number;
|
|
158
|
-
}>;
|
|
141
|
+
declare function reconcileAfterUncertainBroadcast(bot: any, err: any, opContexts: any, options?: Record<string, any>): Promise<any>;
|
|
142
|
+
/**
|
|
143
|
+
* Restore discarded CREATE slots to creation-uncertain state and clear
|
|
144
|
+
* their pending entries; residual pending entries that survive the
|
|
145
|
+
* decide phase are cleaned defensively.
|
|
146
|
+
* @param {import('./dexbot_class.js').DEXBot} bot
|
|
147
|
+
* @param {Array} discarded
|
|
148
|
+
* @param {Array} opContexts
|
|
149
|
+
* @returns {Promise<number>} discardedCount
|
|
150
|
+
*/
|
|
151
|
+
declare function restoreDiscardedCreates(bot: any, discarded: any[], opContexts: any): Promise<number>;
|
|
159
152
|
/**
|
|
160
153
|
* Reconcile a broadcast whose chain state is unknown (implementation).
|
|
161
154
|
* @param {import('./dexbot_class.js').DEXBot} bot
|
|
@@ -164,24 +157,7 @@ declare function reconcileAfterUncertainBroadcast(bot: any, err: any, opContexts
|
|
|
164
157
|
* @param {Object} options
|
|
165
158
|
* @returns {Promise<Object>}
|
|
166
159
|
*/
|
|
167
|
-
declare function reconcileAfterUncertainBroadcastImpl(bot: any, err: any, opContexts: any, _options: any): Promise<
|
|
168
|
-
executed: boolean;
|
|
169
|
-
hadRotation: boolean;
|
|
170
|
-
uncertain: boolean;
|
|
171
|
-
ambiguousRead: boolean;
|
|
172
|
-
} | {
|
|
173
|
-
executed: boolean;
|
|
174
|
-
hadRotation: boolean;
|
|
175
|
-
uncertain: boolean;
|
|
176
|
-
adoptedCount?: undefined;
|
|
177
|
-
discardedCount?: undefined;
|
|
178
|
-
} | {
|
|
179
|
-
executed: boolean;
|
|
180
|
-
hadRotation: boolean;
|
|
181
|
-
uncertain: boolean;
|
|
182
|
-
adoptedCount: number;
|
|
183
|
-
discardedCount: number;
|
|
184
|
-
}>;
|
|
160
|
+
declare function reconcileAfterUncertainBroadcastImpl(bot: any, err: any, opContexts: any, _options: any): Promise<any>;
|
|
185
161
|
/**
|
|
186
162
|
* Auto-cancel one unmatched orphan (price-drift orphan) per cycle.
|
|
187
163
|
* @param {import('./dexbot_class.js').DEXBot} bot
|
|
@@ -399,6 +375,7 @@ declare function buildActionsFromPlan(_bot: any, plan: any): any[];
|
|
|
399
375
|
* @returns {{workingGrid: any, workingIndexes: Object, workingBoundary: number, actions: Array}}
|
|
400
376
|
*/
|
|
401
377
|
declare function buildCowResultFromPlan(bot: any, plan: any): {
|
|
378
|
+
refillSlotIds?: any;
|
|
402
379
|
workingGrid: any;
|
|
403
380
|
workingIndexes: any;
|
|
404
381
|
workingBoundary: any;
|
|
@@ -434,6 +411,50 @@ declare function pollChainForConfirmation(bot: any, opContexts: any, options?: a
|
|
|
434
411
|
unconfirmed: any[];
|
|
435
412
|
confirmedChainIds: string[];
|
|
436
413
|
}>;
|
|
414
|
+
/**
|
|
415
|
+
* Normalize a producer-supplied refillSlotIds wire into a Set.
|
|
416
|
+
* Absent/empty/non-array => empty (guarded default, never fail-open).
|
|
417
|
+
*/
|
|
418
|
+
declare function toRefillSlotIdSet(refillSlotIds: any): Set<string>;
|
|
419
|
+
/**
|
|
420
|
+
* Boundary-hold decision for guard-skipped refills.
|
|
421
|
+
* When a skipped slot is one of the plan's refill slots — a hole-CREATE that
|
|
422
|
+
* justified the planned boundary shift — the committed boundary is kept: the
|
|
423
|
+
* slot was never placed (CREATE skip) or restored to master (UPDATE skip), so
|
|
424
|
+
* committing the planned boundary would strand empty rail holes past it
|
|
425
|
+
* (91->94 with 91-94 empty self-legalizes via resolveGapBand).
|
|
426
|
+
* Unrelated vetoes (skip ids outside the refill set) never pin geometry.
|
|
427
|
+
* The grid still commits; only the boundary value is held (same discipline
|
|
428
|
+
* as the overrun-hold in validateBoundaryCommit).
|
|
429
|
+
*/
|
|
430
|
+
declare function resolveRefillBoundaryHold(workingBoundary: any, committedBoundary: any, skippedUpdateSlotIds: any, clampedUpdateSlotIds: any, refillSlotIds: any, skippedCreateSlotIds?: any): {
|
|
431
|
+
effectiveBoundary: any;
|
|
432
|
+
heldRefillSlotIds: string[];
|
|
433
|
+
};
|
|
434
|
+
/**
|
|
435
|
+
* Track consecutive boundary-hold batches on the manager (ops visibility).
|
|
436
|
+
*
|
|
437
|
+
* A single hold is normal maker discipline: the guard vetoed stale-priced
|
|
438
|
+
* refills, so the committed boundary stays instead of advancing past
|
|
439
|
+
* stranded rail holes. A growing run means the grid is trailing the market
|
|
440
|
+
* (plans keep pricing refills against a racing guard pivot, typically while
|
|
441
|
+
* fill batches run on backlogged state) and only fresh fills unstick it —
|
|
442
|
+
* worth escalating so it cannot hide inside per-batch warns.
|
|
443
|
+
*
|
|
444
|
+
* Also records a hold signature (`_lastHeldPlanSignature`) for the
|
|
445
|
+
* identical-held-plan suppression in `performSafeRebalance`, and the caller
|
|
446
|
+
* escalates a long run to a guard-aware structural re-center. A fill-less
|
|
447
|
+
* re-plan from unchanged master re-derives the identical plan and re-hits
|
|
448
|
+
* the identical guard blocks, so it is suppressed rather than re-broadcast;
|
|
449
|
+
* the heal path is a fresh fill-driven plan or the re-center.
|
|
450
|
+
* @param {any} manager - Order manager (mutable tracking fields)
|
|
451
|
+
* @param {boolean} held - Whether this batch held the boundary
|
|
452
|
+
* @param {any} keptBoundary - Committed boundary that was kept
|
|
453
|
+
* @param {any} plannedBoundary - Boundary the plan wanted
|
|
454
|
+
* @param {string[]} heldSlotIds - Refill slots skipped this batch
|
|
455
|
+
* @returns {number} Consecutive-hold count after this batch (0 when clear)
|
|
456
|
+
*/
|
|
457
|
+
declare function trackBoundaryHold(manager: any, held: boolean, keptBoundary: any, plannedBoundary: any, heldSlotIds: any): number;
|
|
437
458
|
/**
|
|
438
459
|
* Restore skipped update slots in the working grid to master state.
|
|
439
460
|
* @param {import('./dexbot_class.js').DEXBot} bot
|
|
@@ -457,7 +478,8 @@ declare function processBatchResults(bot: any, result: any, opContexts: any): Pr
|
|
|
457
478
|
hadRotation: boolean;
|
|
458
479
|
updateOperationCount: number;
|
|
459
480
|
}>;
|
|
460
|
-
export { isLastFillGuardBlocked, refreshLastFillPivotFromQueue, buildOutsideInPairGroupsForOrders, buildOutsideInPairGroupsForCreateEntries, extractOperationResults, findMissingCreateResultContexts, markMissingCreateResultsAsStructuralBlocker, formatUnmatchedChainOrderForLog, recordPendingBroadcast, clearPendingBroadcasts, clearPendingBroadcastsForSlots, popPushedWorkingGrid, buildChainOrderFingerprint, normalizeChainOrderForPendingMatch, findChainOrderForSlot, reconcileAfterUncertainBroadcast, reconcileAfterUncertainBroadcastImpl, autoCancelOneUnmatchedOrphan, shouldExecuteCreatePairMode, executeWithRetryOnUncertain, executeChunkedWithRetryOnUncertain, formatPartialBroadcastSummary, executeOperationsWithStrategy, validateOperationFunds, resolveIdealSizeForValidation, validateOrderSizeForExecution, buildActionsFromPlan, buildCowResultFromPlan, restoreSkippedUpdateSlotsInWorkingGrid, applyRotationTransitionsToWorkingGrid, pollChainForConfirmation, updateOrdersOnChainBatchCOW, processBatchResults, adoptPlacedBatchFromChain };
|
|
481
|
+
export { isLastFillGuardBlocked, refreshLastFillPivotFromQueue, buildOutsideInPairGroupsForOrders, buildOutsideInPairGroupsForCreateEntries, extractOperationResults, findMissingCreateResultContexts, markMissingCreateResultsAsStructuralBlocker, formatUnmatchedChainOrderForLog, recordPendingBroadcast, clearPendingBroadcasts, clearPendingBroadcastsForSlots, popPushedWorkingGrid, buildChainOrderFingerprint, normalizeChainOrderForPendingMatch, findChainOrderForSlot, reconcileAfterUncertainBroadcast, reconcileAfterUncertainBroadcastImpl, autoCancelOneUnmatchedOrphan, shouldExecuteCreatePairMode, executeWithRetryOnUncertain, executeChunkedWithRetryOnUncertain, formatPartialBroadcastSummary, executeOperationsWithStrategy, validateOperationFunds, resolveIdealSizeForValidation, validateOrderSizeForExecution, buildActionsFromPlan, buildCowResultFromPlan, restoreSkippedUpdateSlotsInWorkingGrid, applyRotationTransitionsToWorkingGrid, pollChainForConfirmation, updateOrdersOnChainBatchCOW, processBatchResults, adoptPlacedBatchFromChain, resolveRefillBoundaryHold, toRefillSlotIdSet, trackBoundaryHold };
|
|
482
|
+
export { restoreDiscardedCreates };
|
|
461
483
|
declare const _default: {
|
|
462
484
|
buildOutsideInPairGroupsForOrders: typeof buildOutsideInPairGroupsForOrders;
|
|
463
485
|
buildOutsideInPairGroupsForCreateEntries: typeof buildOutsideInPairGroupsForCreateEntries;
|
|
@@ -486,6 +508,9 @@ declare const _default: {
|
|
|
486
508
|
buildActionsFromPlan: typeof buildActionsFromPlan;
|
|
487
509
|
buildCowResultFromPlan: typeof buildCowResultFromPlan;
|
|
488
510
|
restoreSkippedUpdateSlotsInWorkingGrid: typeof restoreSkippedUpdateSlotsInWorkingGrid;
|
|
511
|
+
resolveRefillBoundaryHold: typeof resolveRefillBoundaryHold;
|
|
512
|
+
toRefillSlotIdSet: typeof toRefillSlotIdSet;
|
|
513
|
+
trackBoundaryHold: typeof trackBoundaryHold;
|
|
489
514
|
applyRotationTransitionsToWorkingGrid: typeof applyRotationTransitionsToWorkingGrid;
|
|
490
515
|
pollChainForConfirmation: typeof pollChainForConfirmation;
|
|
491
516
|
updateOrdersOnChainBatchCOW: typeof updateOrdersOnChainBatchCOW;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dexbot_cow_runtime.d.ts","sourceRoot":"","sources":["../../modules/dexbot_cow_runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"dexbot_cow_runtime.d.ts","sourceRoot":"","sources":["../../modules/dexbot_cow_runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA4BH;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,OAAO,CAarI;AAwCD;;;;GAIG;AACH,iBAAS,iCAAiC,CAAC,MAAM,EAAE,GAAG,OAErD;AAED;;;;GAIG;AACH,iBAAS,wCAAwC,CAAC,aAAa,EAAE,GAAG,OAEnE;AA4HD;;;;;;GAMG;AACH,iBAAS,uBAAuB,CAAC,MAAM,EAAE,GAAG,EAAE,WAAW,GAAE,GAAQ,EAAE,KAAK,GAAE,QAAQ,GAAG,IAAW,S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