dexbot 1.3.1 → 1.3.3
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/README.md +7 -2
- package/dist/credential-daemon.d.ts.map +1 -1
- package/dist/credential-daemon.js +53 -13
- package/dist/credential-daemon.js.map +1 -1
- package/dist/modules/bitshares-native/serial/types.js +1 -1
- package/dist/modules/bitshares-native/serial/types.js.map +1 -1
- package/dist/modules/chain_keys.js +1 -1
- package/dist/modules/chain_keys.js.map +1 -1
- package/dist/modules/constants.d.ts +4 -0
- package/dist/modules/constants.d.ts.map +1 -1
- package/dist/modules/constants.js +19 -0
- package/dist/modules/constants.js.map +1 -1
- package/dist/modules/credential_policy.js +1 -1
- package/dist/modules/credential_policy.js.map +1 -1
- package/dist/modules/dexbot_class.d.ts +54 -175
- package/dist/modules/dexbot_class.d.ts.map +1 -1
- package/dist/modules/dexbot_class.js +99 -3469
- package/dist/modules/dexbot_class.js.map +1 -1
- package/dist/modules/dexbot_cow_runtime.d.ts +319 -0
- package/dist/modules/dexbot_cow_runtime.d.ts.map +1 -0
- package/dist/modules/dexbot_cow_runtime.js +1764 -0
- package/dist/modules/dexbot_cow_runtime.js.map +1 -0
- package/dist/modules/dexbot_fill_runtime.d.ts +47 -0
- package/dist/modules/dexbot_fill_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_fill_runtime.js +607 -3
- package/dist/modules/dexbot_fill_runtime.js.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.d.ts +69 -0
- package/dist/modules/dexbot_maintenance_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.js +271 -29
- package/dist/modules/dexbot_maintenance_runtime.js.map +1 -1
- package/dist/modules/dexbot_startup_runtime.d.ts +30 -0
- package/dist/modules/dexbot_startup_runtime.d.ts.map +1 -0
- package/dist/modules/dexbot_startup_runtime.js +539 -0
- package/dist/modules/dexbot_startup_runtime.js.map +1 -0
- package/dist/modules/dexbot_state_recovery.d.ts +128 -0
- package/dist/modules/dexbot_state_recovery.d.ts.map +1 -0
- package/dist/modules/dexbot_state_recovery.js +397 -0
- package/dist/modules/dexbot_state_recovery.js.map +1 -0
- package/dist/modules/fund_registry.d.ts.map +1 -1
- package/dist/modules/fund_registry.js +0 -1
- package/dist/modules/fund_registry.js.map +1 -1
- package/dist/modules/general_settings.d.ts.map +1 -1
- package/dist/modules/general_settings.js +0 -1
- package/dist/modules/general_settings.js.map +1 -1
- package/dist/modules/key_store.d.ts.map +1 -1
- package/dist/modules/key_store.js +1 -2
- package/dist/modules/key_store.js.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.d.ts.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.js +0 -1
- package/dist/modules/launcher/market_adapter_runtime.js.map +1 -1
- package/dist/modules/launcher/market_adapter_watchdog.d.ts.map +1 -1
- package/dist/modules/launcher/market_adapter_watchdog.js +1 -2
- package/dist/modules/launcher/market_adapter_watchdog.js.map +1 -1
- package/dist/modules/order/grid.d.ts.map +1 -1
- package/dist/modules/order/grid.js +11 -4
- 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 +0 -1
- package/dist/modules/order/grid_reconcile.js.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.js +2 -2
- package/dist/modules/order/grid_reconcile_internal.js.map +1 -1
- package/dist/modules/order/utils/math.js +1 -1
- package/dist/modules/order/utils/math.js.map +1 -1
- package/dist/modules/order/utils/system.js +1 -1
- package/dist/modules/order/utils/system.js.map +1 -1
- package/dist/modules/order/utils/validate.d.ts.map +1 -1
- package/dist/modules/order/utils/validate.js +0 -1
- 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 +13 -2
- package/dist/modules/paths.js.map +1 -1
- package/dist/scripts/verify-browser-bundle.js +25 -1
- package/dist/scripts/verify-browser-bundle.js.map +1 -1
- package/dist/unlock.js +2 -2
- package/dist/unlock.js.map +1 -1
- package/package.json +7 -2
|
@@ -114,8 +114,9 @@ declare class DEXBot {
|
|
|
114
114
|
_structuralGridResyncRunning: boolean;
|
|
115
115
|
_ghostOrderCancelAttempted: Set<string> | null;
|
|
116
116
|
_dustHealthCheckTimer: any;
|
|
117
|
-
_lastBroadcastHeartbeatAt: number;
|
|
118
|
-
|
|
117
|
+
_lastBroadcastHeartbeatAt: number | undefined;
|
|
118
|
+
_lastDeferredDustCount: number;
|
|
119
|
+
_currentBatchId: string | number | null | undefined;
|
|
119
120
|
/**
|
|
120
121
|
* Create a new DEXBot instance
|
|
121
122
|
* @param {Object} config - Bot configuration from profiles/bots.json
|
|
@@ -151,7 +152,7 @@ declare class DEXBot {
|
|
|
151
152
|
* Used during startup to ensure bot begins in a stable state.
|
|
152
153
|
* @private
|
|
153
154
|
*/
|
|
154
|
-
_persistAndRecoverIfNeeded(): Promise<
|
|
155
|
+
_persistAndRecoverIfNeeded(): Promise<any>;
|
|
155
156
|
/**
|
|
156
157
|
* Snapshot the recently queued fill keys as a plain object for crash-durable persistence.
|
|
157
158
|
* Merges with any existing snapshot to avoid losing keys that were evicted from the
|
|
@@ -159,36 +160,30 @@ declare class DEXBot {
|
|
|
159
160
|
* Only includes entries within the dedup window to avoid writing stale keys.
|
|
160
161
|
* @returns {Record<string, number>}
|
|
161
162
|
*/
|
|
162
|
-
_getRecentFillKeysSnapshot():
|
|
163
|
+
_getRecentFillKeysSnapshot(): any;
|
|
163
164
|
/**
|
|
164
165
|
* Get current pipeline signal state for congestion checks.
|
|
165
166
|
* @returns {{incomingFillQueueLength: number, shadowLocks: number, batchInFlight: boolean, recoveryInFlight: boolean, broadcasting: boolean}}
|
|
166
167
|
*/
|
|
167
|
-
_getPipelineSignals():
|
|
168
|
-
incomingFillQueueLength: number;
|
|
169
|
-
shadowLocks: any;
|
|
170
|
-
batchInFlight: boolean;
|
|
171
|
-
recoveryInFlight: boolean;
|
|
172
|
-
broadcasting: any;
|
|
173
|
-
};
|
|
168
|
+
_getPipelineSignals(): any;
|
|
174
169
|
/**
|
|
175
170
|
* Mark that grid activity occurred (updates idle timer).
|
|
176
171
|
* @param {string} [reason='activity'] - Reason for activity
|
|
177
172
|
* @returns {void}
|
|
178
173
|
*/
|
|
179
|
-
_markGridActivity(reason?: string):
|
|
174
|
+
_markGridActivity(reason?: string): any;
|
|
180
175
|
/**
|
|
181
176
|
* Trigger a full state recovery sync (fetch chain + sync from open orders + persist).
|
|
182
177
|
* @param {string} [reason='state recovery sync'] - Reason for recovery
|
|
183
178
|
* @returns {Promise<void>}
|
|
184
179
|
*/
|
|
185
|
-
_triggerStateRecoverySync(reason?: string): Promise<
|
|
180
|
+
_triggerStateRecoverySync(reason?: string): Promise<any>;
|
|
186
181
|
/**
|
|
187
182
|
* Abort the current flow if an illegal state signal was raised.
|
|
188
183
|
* @param {string} flowContext - Description of the flow being aborted
|
|
189
184
|
* @returns {Promise<boolean>} True if flow was aborted
|
|
190
185
|
*/
|
|
191
|
-
_abortFlowIfIllegalState(flowContext: any): Promise<
|
|
186
|
+
_abortFlowIfIllegalState(flowContext: any): Promise<any>;
|
|
192
187
|
/**
|
|
193
188
|
* Handle a hard abort from batch processing due to illegal state or accounting failure.
|
|
194
189
|
* @param {Error} err - The error that triggered the abort
|
|
@@ -196,15 +191,7 @@ declare class DEXBot {
|
|
|
196
191
|
* @param {number} [opsCount=0] - Number of operations in the batch
|
|
197
192
|
* @returns {Promise<Object>} Abort result object
|
|
198
193
|
*/
|
|
199
|
-
_handleBatchHardAbort(err: any, phase?: string, opsCount?: number): Promise<
|
|
200
|
-
abortedForIllegalState: boolean;
|
|
201
|
-
executed: boolean;
|
|
202
|
-
hadRotation: boolean;
|
|
203
|
-
} | {
|
|
204
|
-
abortedForAccountingFailure: boolean;
|
|
205
|
-
executed: boolean;
|
|
206
|
-
hadRotation: boolean;
|
|
207
|
-
}>;
|
|
194
|
+
_handleBatchHardAbort(err: any, phase?: string, opsCount?: number): Promise<any>;
|
|
208
195
|
/**
|
|
209
196
|
* Apply recoverable grid updates (order virtualisation) after a batch failure.
|
|
210
197
|
* @param {Array<Object>} updates - Array of order update objects
|
|
@@ -218,35 +205,20 @@ declare class DEXBot {
|
|
|
218
205
|
* @param {string} [reason='stale order cleanup'] - Reason for cleanup
|
|
219
206
|
* @returns {Promise<{executed: boolean, hadRotation: boolean, stale: boolean, recoveredByVirtualization?: boolean}>}
|
|
220
207
|
*/
|
|
221
|
-
_recoverExplicitStaleOrders(staleOrderIds: any, reason?: string): Promise<
|
|
222
|
-
executed: boolean;
|
|
223
|
-
hadRotation: boolean;
|
|
224
|
-
stale: boolean;
|
|
225
|
-
recoveredByVirtualization?: undefined;
|
|
226
|
-
} | {
|
|
227
|
-
executed: boolean;
|
|
228
|
-
hadRotation: boolean;
|
|
229
|
-
stale: boolean;
|
|
230
|
-
recoveredByVirtualization: boolean;
|
|
231
|
-
}>;
|
|
208
|
+
_recoverExplicitStaleOrders(staleOrderIds: any, reason?: string): Promise<any>;
|
|
232
209
|
/**
|
|
233
210
|
* Recover from on-chain size drift detected during batch broadcast.
|
|
234
211
|
* @param {Error} err - The size drift error
|
|
235
212
|
* @returns {Promise<{executed: boolean, hadRotation: boolean, recoveredBySync: boolean, reason: string}>}
|
|
236
213
|
*/
|
|
237
|
-
_recoverBatchSizeDrift(err: any, opContexts?: any[]): Promise<
|
|
238
|
-
executed: boolean;
|
|
239
|
-
hadRotation: boolean;
|
|
240
|
-
recoveredBySync: boolean;
|
|
241
|
-
reason: string;
|
|
242
|
-
}>;
|
|
214
|
+
_recoverBatchSizeDrift(err: any, opContexts?: any[]): Promise<any>;
|
|
243
215
|
/**
|
|
244
216
|
* Extract chain order IDs from opContexts for operations that could
|
|
245
217
|
* trigger a size-drift error (size-update and rotation update).
|
|
246
218
|
* @param {Array<Object>} opContexts
|
|
247
219
|
* @returns {string[]} Unique chain order IDs
|
|
248
220
|
*/
|
|
249
|
-
_extractSizeDriftOrderIds(opContexts: any):
|
|
221
|
+
_extractSizeDriftOrderIds(opContexts: any): any;
|
|
250
222
|
/**
|
|
251
223
|
* Reload the entire grid from the persisted on-disk snapshot and reconcile
|
|
252
224
|
* with current chain state. Mirrors the startup recovery path.
|
|
@@ -257,13 +229,7 @@ declare class DEXBot {
|
|
|
257
229
|
*
|
|
258
230
|
* @returns {Promise<{success: boolean, reason?: string}>}
|
|
259
231
|
*/
|
|
260
|
-
_recoverFromPersistedGrid(): Promise<
|
|
261
|
-
success: boolean;
|
|
262
|
-
reason?: undefined;
|
|
263
|
-
} | {
|
|
264
|
-
success: boolean;
|
|
265
|
-
reason: any;
|
|
266
|
-
}>;
|
|
232
|
+
_recoverFromPersistedGrid(): Promise<any>;
|
|
267
233
|
/**
|
|
268
234
|
* Reject a corrupted grid snapshot when catastrophic fund drift is detected.
|
|
269
235
|
* Shared between startup and recovery paths to avoid duplicating the
|
|
@@ -272,7 +238,7 @@ declare class DEXBot {
|
|
|
272
238
|
* @param {'startup'|'recovery'} context - Controls log prefix.
|
|
273
239
|
* @returns {Promise<boolean>} True if the snapshot was rejected (cleared).
|
|
274
240
|
*/
|
|
275
|
-
_rejectCorruptedGridSnapshot(context: any): Promise<
|
|
241
|
+
_rejectCorruptedGridSnapshot(context: any): Promise<any>;
|
|
276
242
|
/**
|
|
277
243
|
* Attempt to repair size-drift for specific order IDs by reading their
|
|
278
244
|
* current on-chain state and correcting the local grid directly.
|
|
@@ -280,20 +246,14 @@ declare class DEXBot {
|
|
|
280
246
|
* @param {string[]} orderIds
|
|
281
247
|
* @returns {Promise<boolean>} True if all affected orders were repaired
|
|
282
248
|
*/
|
|
283
|
-
_targetedOrderRepair(orderIds: any): Promise<
|
|
249
|
+
_targetedOrderRepair(orderIds: any): Promise<any>;
|
|
284
250
|
/**
|
|
285
251
|
* Initialize bot state from storage and blockchain.
|
|
286
252
|
* Consolidates common initialization logic for start() and startWithPrivateKey().
|
|
287
|
-
* @returns {{persistedGrid: Object, persistedBtsFeesOwed: number, persistedBoundaryIdx: number, persistedBtsBalance: number}}
|
|
253
|
+
* @returns {{persistedGrid: Object, persistedBtsFeesOwed: number, persistedBoundaryIdx: number, persistedBtsBalance: number, persistedRecentFillKeys: Object}}
|
|
288
254
|
* @private
|
|
289
255
|
*/
|
|
290
|
-
_initializeStartupState(): Promise<
|
|
291
|
-
persistedGrid: any;
|
|
292
|
-
persistedBtsFeesOwed: any;
|
|
293
|
-
persistedBoundaryIdx: any;
|
|
294
|
-
persistedBtsBalance: any;
|
|
295
|
-
persistedRecentFillKeys: any;
|
|
296
|
-
}>;
|
|
256
|
+
_initializeStartupState(): Promise<any>;
|
|
297
257
|
/**
|
|
298
258
|
* Wire processed fill tracking into the manager.
|
|
299
259
|
* @returns {void}
|
|
@@ -402,7 +362,7 @@ declare class DEXBot {
|
|
|
402
362
|
* @param {Object} startupState - The startup state from _initializeStartupState.
|
|
403
363
|
* @private
|
|
404
364
|
*/
|
|
405
|
-
_finishStartupSequence(startupState: any): Promise<
|
|
365
|
+
_finishStartupSequence(startupState: any): Promise<any>;
|
|
406
366
|
/**
|
|
407
367
|
* Create the fill callback for listenForFills.
|
|
408
368
|
* Separated from start() to allow deferred activation after startup completes.
|
|
@@ -417,12 +377,7 @@ declare class DEXBot {
|
|
|
417
377
|
* @param {string} tag - Context label for logging
|
|
418
378
|
* @returns {Promise<{syncResult: Object|null, aborted: boolean, hasUnmatched: number, openOrders: Array|null}>}
|
|
419
379
|
*/
|
|
420
|
-
_syncOpenOrdersAndProcessFills(tag: any): Promise<
|
|
421
|
-
syncResult: any;
|
|
422
|
-
aborted: boolean;
|
|
423
|
-
hasUnmatched: any;
|
|
424
|
-
openOrders: any;
|
|
425
|
-
}>;
|
|
380
|
+
_syncOpenOrdersAndProcessFills(tag: any): Promise<any>;
|
|
426
381
|
_maxConsecutiveFillConsumerFailures(): any;
|
|
427
382
|
/**
|
|
428
383
|
* Compute the backoff delay for fill-consumer retries after the failure
|
|
@@ -433,7 +388,7 @@ declare class DEXBot {
|
|
|
433
388
|
* @returns {number} Delay in milliseconds before the next retry.
|
|
434
389
|
* @private
|
|
435
390
|
*/
|
|
436
|
-
_computeFillConsumerBackoffMs(failures: any):
|
|
391
|
+
_computeFillConsumerBackoffMs(failures: any): any;
|
|
437
392
|
_scheduleFillConsumerRestart(chainOrders: any): void;
|
|
438
393
|
/**
|
|
439
394
|
* Consume queued fills from incomingFillQueue and rebalance.
|
|
@@ -448,7 +403,7 @@ declare class DEXBot {
|
|
|
448
403
|
* @param {Object} chainOrders - Chain orders module for blockchain operations
|
|
449
404
|
* @private
|
|
450
405
|
*/
|
|
451
|
-
_consumeFillQueue(chainOrders: any): Promise<
|
|
406
|
+
_consumeFillQueue(chainOrders: any): Promise<any>;
|
|
452
407
|
/**
|
|
453
408
|
* Process fills during bootstrap phase using the standard fill pipeline.
|
|
454
409
|
*
|
|
@@ -466,7 +421,7 @@ declare class DEXBot {
|
|
|
466
421
|
* @param {Object} chainOrders - Chain orders instance for broadcasting
|
|
467
422
|
* @returns {Promise<void>}
|
|
468
423
|
*/
|
|
469
|
-
_processFillsWithBootstrapMode(chainOrders: any): Promise<
|
|
424
|
+
_processFillsWithBootstrapMode(chainOrders: any): Promise<any>;
|
|
470
425
|
/**
|
|
471
426
|
* Set up account identifier and configure global context.
|
|
472
427
|
* @param {string} accountName - The name of the account to set up
|
|
@@ -484,7 +439,7 @@ declare class DEXBot {
|
|
|
484
439
|
* Places initial orders on the blockchain.
|
|
485
440
|
* @returns {Promise<void>}
|
|
486
441
|
*/
|
|
487
|
-
placeInitialOrders(): Promise<
|
|
442
|
+
placeInitialOrders(): Promise<any>;
|
|
488
443
|
/**
|
|
489
444
|
* Build outside-in pair groups for initial order placement.
|
|
490
445
|
* @param {Array<Object>} orders - Array of order objects
|
|
@@ -508,7 +463,7 @@ declare class DEXBot {
|
|
|
508
463
|
* @param {string} [warnContext=''] - Context for warning messages
|
|
509
464
|
* @returns {Array} Array of operation result entries
|
|
510
465
|
*/
|
|
511
|
-
_extractOperationResults(result: any, warnContext?: string): any
|
|
466
|
+
_extractOperationResults(result: any, warnContext?: string): any;
|
|
512
467
|
/**
|
|
513
468
|
* Find CREATE operation contexts whose broadcast result did not include a chain order id.
|
|
514
469
|
*
|
|
@@ -516,7 +471,7 @@ declare class DEXBot {
|
|
|
516
471
|
* @param {Array<Object>} opContexts - Operation context metadata aligned with operations.
|
|
517
472
|
* @returns {Array<{index:number, ctx:Object}>} Missing create result contexts.
|
|
518
473
|
*/
|
|
519
|
-
_findMissingCreateResultContexts(operationResults: any, opContexts: any): any
|
|
474
|
+
_findMissingCreateResultContexts(operationResults: any, opContexts: any): any;
|
|
520
475
|
/**
|
|
521
476
|
* Run an immediate chain sync after a successful CREATE broadcast returned incomplete ids.
|
|
522
477
|
*
|
|
@@ -528,7 +483,7 @@ declare class DEXBot {
|
|
|
528
483
|
* @param {string} [reason] - Human-readable recovery context for logs.
|
|
529
484
|
* @returns {Promise<void>}
|
|
530
485
|
*/
|
|
531
|
-
_recoverAfterMissingCreateResults(reason?: string): Promise<
|
|
486
|
+
_recoverAfterMissingCreateResults(reason?: string): Promise<any>;
|
|
532
487
|
/**
|
|
533
488
|
* Restore unresolved missing-create blockers after recovery if sync did not adopt them.
|
|
534
489
|
*
|
|
@@ -536,7 +491,7 @@ declare class DEXBot {
|
|
|
536
491
|
* @param {Object} recoveryResult - Result returned by manager.syncFromOpenOrders.
|
|
537
492
|
* @returns {void}
|
|
538
493
|
*/
|
|
539
|
-
_preserveMissingCreateBlockersAfterRecovery(blockers: any, recoveryResult: any):
|
|
494
|
+
_preserveMissingCreateBlockersAfterRecovery(blockers: any, recoveryResult: any): any;
|
|
540
495
|
/**
|
|
541
496
|
* Merge missing CREATE result contexts into manager._lastUnmatchedChainOrders.
|
|
542
497
|
*
|
|
@@ -548,7 +503,7 @@ declare class DEXBot {
|
|
|
548
503
|
* @param {Array<{index:number, ctx:Object}>} missingCreateResults - Missing CREATE results.
|
|
549
504
|
* @returns {void}
|
|
550
505
|
*/
|
|
551
|
-
_markMissingCreateResultsAsStructuralBlocker(missingCreateResults: any):
|
|
506
|
+
_markMissingCreateResultsAsStructuralBlocker(missingCreateResults: any): any;
|
|
552
507
|
/**
|
|
553
508
|
* Format an unmatched chain order/blocker for COW logs.
|
|
554
509
|
*
|
|
@@ -576,7 +531,7 @@ declare class DEXBot {
|
|
|
576
531
|
* @param {Object} entry.finalInts - { amountToSell, minToReceive, ... } blockchain integers
|
|
577
532
|
* @returns {void}
|
|
578
533
|
*/
|
|
579
|
-
_recordPendingBroadcast(entry: any):
|
|
534
|
+
_recordPendingBroadcast(entry: any): any;
|
|
580
535
|
/**
|
|
581
536
|
* Clear the pending-broadcast cache.
|
|
582
537
|
*
|
|
@@ -585,7 +540,7 @@ declare class DEXBot {
|
|
|
585
540
|
* recovery adoption (matched entries are explicitly removed by
|
|
586
541
|
* _reconcileAfterUncertainBroadcast before calling this).
|
|
587
542
|
*/
|
|
588
|
-
_clearPendingBroadcasts():
|
|
543
|
+
_clearPendingBroadcasts(): any;
|
|
589
544
|
/**
|
|
590
545
|
* Build a fingerprint for an on-chain order so it can be matched against
|
|
591
546
|
* the pending-broadcast cache.
|
|
@@ -606,13 +561,7 @@ declare class DEXBot {
|
|
|
606
561
|
* @param {Object} chainOrder
|
|
607
562
|
* @returns {{side: string, assetA: string, assetB: string, sellInt: number, receiveInt: number}|null}
|
|
608
563
|
*/
|
|
609
|
-
_normalizeChainOrderForPendingMatch(chainOrder: any):
|
|
610
|
-
side: any;
|
|
611
|
-
assetA: any;
|
|
612
|
-
assetB: any;
|
|
613
|
-
sellInt: number;
|
|
614
|
-
receiveInt: number;
|
|
615
|
-
};
|
|
564
|
+
_normalizeChainOrderForPendingMatch(chainOrder: any): any;
|
|
616
565
|
/**
|
|
617
566
|
* Find a chain order that matches a planned slot using price+size proximity.
|
|
618
567
|
*
|
|
@@ -656,19 +605,7 @@ declare class DEXBot {
|
|
|
656
605
|
* @returns {Promise<Object>} Result object compatible with batch return shape
|
|
657
606
|
*/
|
|
658
607
|
_reconcileAfterUncertainBroadcast(err: any, opContexts: any, options?: Record<string, any>): Promise<any>;
|
|
659
|
-
_reconcileAfterUncertainBroadcastImpl(err: any, opContexts: any, options: any): Promise<
|
|
660
|
-
executed: boolean;
|
|
661
|
-
hadRotation: boolean;
|
|
662
|
-
uncertain: boolean;
|
|
663
|
-
adopted?: undefined;
|
|
664
|
-
discarded?: undefined;
|
|
665
|
-
} | {
|
|
666
|
-
executed: boolean;
|
|
667
|
-
hadRotation: boolean;
|
|
668
|
-
uncertain: boolean;
|
|
669
|
-
adopted: any[];
|
|
670
|
-
discarded: any[];
|
|
671
|
-
}>;
|
|
608
|
+
_reconcileAfterUncertainBroadcastImpl(err: any, opContexts: any, options: any): Promise<any>;
|
|
672
609
|
/**
|
|
673
610
|
* Auto-cancel a price-drift orphan from the unmatched-order snapshot.
|
|
674
611
|
*
|
|
@@ -694,48 +631,13 @@ declare class DEXBot {
|
|
|
694
631
|
*
|
|
695
632
|
* @returns {Promise<{cancelled: boolean, orderId?: string, reason?: string}>}
|
|
696
633
|
*/
|
|
697
|
-
_autoCancelOneUnmatchedOrphan(): Promise<
|
|
698
|
-
cancelled: boolean;
|
|
699
|
-
reason: string;
|
|
700
|
-
subCount: number;
|
|
701
|
-
message?: undefined;
|
|
702
|
-
orderId?: undefined;
|
|
703
|
-
error?: undefined;
|
|
704
|
-
} | {
|
|
705
|
-
cancelled: boolean;
|
|
706
|
-
reason: string;
|
|
707
|
-
subCount?: undefined;
|
|
708
|
-
message?: undefined;
|
|
709
|
-
orderId?: undefined;
|
|
710
|
-
error?: undefined;
|
|
711
|
-
} | {
|
|
712
|
-
cancelled: boolean;
|
|
713
|
-
reason: string;
|
|
714
|
-
message: string;
|
|
715
|
-
subCount?: undefined;
|
|
716
|
-
orderId?: undefined;
|
|
717
|
-
error?: undefined;
|
|
718
|
-
} | {
|
|
719
|
-
cancelled: boolean;
|
|
720
|
-
orderId: any;
|
|
721
|
-
reason?: undefined;
|
|
722
|
-
subCount?: undefined;
|
|
723
|
-
message?: undefined;
|
|
724
|
-
error?: undefined;
|
|
725
|
-
} | {
|
|
726
|
-
cancelled: boolean;
|
|
727
|
-
reason: string;
|
|
728
|
-
error: any;
|
|
729
|
-
subCount?: undefined;
|
|
730
|
-
message?: undefined;
|
|
731
|
-
orderId?: undefined;
|
|
732
|
-
}>;
|
|
634
|
+
_autoCancelOneUnmatchedOrphan(): Promise<any>;
|
|
733
635
|
/**
|
|
734
636
|
* Check whether to execute creates in outside-in pair mode (mixed BUY/SELL operations).
|
|
735
637
|
* @param {Array<Object>} opContexts - Operation contexts array
|
|
736
638
|
* @returns {boolean} True if pair mode should be used
|
|
737
639
|
*/
|
|
738
|
-
_shouldExecuteCreatePairMode(opContexts: any):
|
|
640
|
+
_shouldExecuteCreatePairMode(opContexts: any): any;
|
|
739
641
|
/**
|
|
740
642
|
* Execute operations with retry on BroadcastUncertainError.
|
|
741
643
|
* The daemon already retries internally against a 25s deadline.
|
|
@@ -745,20 +647,14 @@ declare class DEXBot {
|
|
|
745
647
|
* execution where earlier groups already committed). Re-broadcasting
|
|
746
648
|
* the full operations array would duplicate those creates on chain.
|
|
747
649
|
*/
|
|
748
|
-
_executeWithRetryOnUncertain(operations: any, opContexts: any): Promise<
|
|
749
|
-
result: any;
|
|
750
|
-
opContexts: any;
|
|
751
|
-
}>;
|
|
650
|
+
_executeWithRetryOnUncertain(operations: any, opContexts: any): Promise<any>;
|
|
752
651
|
/**
|
|
753
652
|
* Execute blockchain operations with appropriate strategy (single batch or pair mode).
|
|
754
653
|
* @param {Array<import('./types').CreatedOperation>} operations - Array of operation objects
|
|
755
654
|
* @param {Array<Object>} opContexts - Array of operation context metadata (1:1 with operations)
|
|
756
655
|
* @returns {Promise<{result: Object, opContexts: Array}>} Execution result with contexts
|
|
757
656
|
*/
|
|
758
|
-
_executeOperationsWithStrategy(operations: any, opContexts: any): Promise<
|
|
759
|
-
result: any;
|
|
760
|
-
opContexts: any;
|
|
761
|
-
}>;
|
|
657
|
+
_executeOperationsWithStrategy(operations: any, opContexts: any): Promise<any>;
|
|
762
658
|
/**
|
|
763
659
|
* Validate that operations can be executed with available funds before broadcasting.
|
|
764
660
|
* Checks sufficient available funds for all operations.
|
|
@@ -768,22 +664,14 @@ declare class DEXBot {
|
|
|
768
664
|
* @returns {Object} { isValid: boolean, summary: string }
|
|
769
665
|
* @private
|
|
770
666
|
*/
|
|
771
|
-
_validateOperationFunds(operations: any, assetA: any, assetB: any):
|
|
772
|
-
isValid: boolean;
|
|
773
|
-
summary: string;
|
|
774
|
-
violations?: undefined;
|
|
775
|
-
} | {
|
|
776
|
-
isValid: boolean;
|
|
777
|
-
summary: string;
|
|
778
|
-
violations: any[];
|
|
779
|
-
};
|
|
667
|
+
_validateOperationFunds(operations: any, assetA: any, assetB: any): any;
|
|
780
668
|
/**
|
|
781
669
|
* Resolve the ideal size from an order-like object with fallback.
|
|
782
670
|
* @param {Object|null} orderLike - Order-like object with optional idealSize/size nested properties
|
|
783
671
|
* @param {number|null} [fallbackSize=null] - Fallback size if none found
|
|
784
672
|
* @returns {number|null} Resolved size or null
|
|
785
673
|
*/
|
|
786
|
-
_resolveIdealSizeForValidation(orderLike: any, fallbackSize?: any):
|
|
674
|
+
_resolveIdealSizeForValidation(orderLike: any, fallbackSize?: any): any;
|
|
787
675
|
/**
|
|
788
676
|
* Validate that an order size is safe to execute (above minimum dust thresholds).
|
|
789
677
|
* @param {number} size - Order size to validate
|
|
@@ -877,18 +765,13 @@ declare class DEXBot {
|
|
|
877
765
|
* @param {Object|Array} plan - Plan object with ordersToPlace/ordersToRotate/ordersToUpdate/ordersToCancel, or array of ordersToPlace
|
|
878
766
|
* @returns {Array<{type: string, id: string, order?: Object, orderId?: string, newSize?: number, newPrice?: number, newGridId?: string}>}
|
|
879
767
|
*/
|
|
880
|
-
_buildActionsFromPlan(plan: any): any
|
|
768
|
+
_buildActionsFromPlan(plan: any): any;
|
|
881
769
|
/**
|
|
882
770
|
* Build a COW result object (workingGrid + actions) from a simple plan.
|
|
883
771
|
* @param {Object|Array} plan - Plan object or array of ordersToPlace
|
|
884
772
|
* @returns {{workingGrid: import('./types').WorkingGrid, workingIndexes: Object, workingBoundary: number, actions: Array}}
|
|
885
773
|
*/
|
|
886
|
-
_buildCowResultFromPlan(plan: any):
|
|
887
|
-
workingGrid: any;
|
|
888
|
-
workingIndexes: any;
|
|
889
|
-
workingBoundary: any;
|
|
890
|
-
actions: any[];
|
|
891
|
-
};
|
|
774
|
+
_buildCowResultFromPlan(plan: any): any;
|
|
892
775
|
/**
|
|
893
776
|
* Restore skipped update slots in the working grid to master state.
|
|
894
777
|
* @param {import('./types').WorkingGrid} workingGrid - Working grid to restore slots into
|
|
@@ -896,7 +779,7 @@ declare class DEXBot {
|
|
|
896
779
|
* @param {number} [skippedCount=0] - Count of skipped actions for logging
|
|
897
780
|
* @returns {void}
|
|
898
781
|
*/
|
|
899
|
-
_restoreSkippedUpdateSlotsInWorkingGrid(workingGrid: any, skippedSlotIds: any, skippedCount?: number):
|
|
782
|
+
_restoreSkippedUpdateSlotsInWorkingGrid(workingGrid: any, skippedSlotIds: any, skippedCount?: number): any;
|
|
900
783
|
/**
|
|
901
784
|
* COW broadcast: Execute blockchain operations and commit working grid on success.
|
|
902
785
|
* Master grid is ONLY updated after successful blockchain confirmation.
|
|
@@ -905,19 +788,7 @@ declare class DEXBot {
|
|
|
905
788
|
* @private
|
|
906
789
|
*/
|
|
907
790
|
_updateOrdersOnChainBatchCOW(cowResult: any): Promise<any>;
|
|
908
|
-
|
|
909
|
-
* Process results from batch transaction execution.
|
|
910
|
-
* Updates order state, synchronizes with chain, and deducts BTS fees.
|
|
911
|
-
* @param {Object} result - Transaction result from executeBatch
|
|
912
|
-
* @param {Array} opContexts - Operation context array with operation metadata (must be 1:1 with result.operation_results)
|
|
913
|
-
* @returns {Object} Result with { executed: boolean, hadRotation: boolean }
|
|
914
|
-
* @private
|
|
915
|
-
*/
|
|
916
|
-
_processBatchResults(result: any, opContexts: any): Promise<{
|
|
917
|
-
executed: boolean;
|
|
918
|
-
hadRotation: boolean;
|
|
919
|
-
updateOperationCount: number;
|
|
920
|
-
}>;
|
|
791
|
+
_processBatchResults(result: any, opContexts: any): Promise<any>;
|
|
921
792
|
/**
|
|
922
793
|
* Perform grid recalculation triggered by trigger file.
|
|
923
794
|
* Reloads config from disk, recalculates grid, resets funds, and removes trigger file.
|
|
@@ -1029,7 +900,7 @@ declare class DEXBot {
|
|
|
1029
900
|
refreshCenterPrice?: boolean;
|
|
1030
901
|
[key: string]: any;
|
|
1031
902
|
}): Promise<any>;
|
|
1032
|
-
_wireStructuralGridResyncRequest():
|
|
903
|
+
_wireStructuralGridResyncRequest(): any;
|
|
1033
904
|
/**
|
|
1034
905
|
* Get current metrics for monitoring and debugging.
|
|
1035
906
|
* @returns {Object} Metrics snapshot
|
|
@@ -1079,14 +950,22 @@ declare class DEXBot {
|
|
|
1079
950
|
buy?: any[];
|
|
1080
951
|
sell?: any[];
|
|
1081
952
|
}): Promise<any>;
|
|
953
|
+
/**
|
|
954
|
+
* Run a single dust health check cycle: inspect grid for partials below the
|
|
955
|
+
* configured dust threshold and cancel them immediately inside the fill-
|
|
956
|
+
* processing lock (with timeout). Safe to call from the periodic timer or
|
|
957
|
+
* once at startup.
|
|
958
|
+
* @private
|
|
959
|
+
*/
|
|
960
|
+
_runDustHealthCheck(): Promise<any>;
|
|
1082
961
|
/**
|
|
1083
962
|
* Set up the periodic dust health check interval.
|
|
1084
963
|
* Catches partials below the dust threshold that were missed by the post-fill
|
|
1085
964
|
* pipeline (e.g. from a prior bot lifetime after crash/restart).
|
|
1086
|
-
*
|
|
965
|
+
* Calls _runDustHealthCheck on each tick.
|
|
1087
966
|
* @private
|
|
1088
967
|
*/
|
|
1089
|
-
_setupDustHealthCheckInterval():
|
|
968
|
+
_setupDustHealthCheckInterval(): any;
|
|
1090
969
|
/**
|
|
1091
970
|
* Perform grid maintenance: fund thresholds, spread condition, grid health, divergence.
|
|
1092
971
|
* Consolidates maintenance checks used during startup, periodic updates, and post-fill.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dexbot_class.d.ts","sourceRoot":"","sources":["../../modules/dexbot_class.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;
|
|
1
|
+
{"version":3,"file":"dexbot_class.d.ts","sourceRoot":"","sources":["../../modules/dexbot_class.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAkCH,cAAM,MAAM;IACR,MAAM,EAAE,GAAG,CAAC;IACZ,uBAAuB,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACvD,OAAO,EAAE,GAAG,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,EAAE,GAAG,CAAC;IACb,aAAa,EAAE,GAAG,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACpC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,4BAA4B,EAAE,MAAM,CAAC;IACrC,8BAA8B,EAAE,MAAM,CAAC;IACvC,mBAAmB,EAAE,GAAG,CAAC;IACzB,uBAAuB,EAAE,GAAG,CAAC;IAC7B,2BAA2B,EAAE,GAAG,CAAC;IACjC,kBAAkB,EAAE,GAAG,EAAE,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC,EAAE,GAAG,CAAC;IACvC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,yBAAyB,EAA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