22 lines
1.0 KiB
TypeScript
22 lines
1.0 KiB
TypeScript
/**
|
|
* Deposit scanner and crediting service.
|
|
* Credits a unified USDT ledger (USDT_TRC20, 6 decimals) and per-network inventory.
|
|
* Custody scans remain on TRON (TRC20) and BSC (BEP20) deposit addresses.
|
|
*/
|
|
/** Scans TRON + BSC for new USDT deposits and credits confirmed transfers. */
|
|
export declare function processAllDeposits(): Promise<void>;
|
|
/** Scans TRON for new USDT TRC20 deposits and credits confirmed transfers. */
|
|
export declare function processTronDeposits(): Promise<void>;
|
|
/** Scans BSC for new USDT BEP20 deposits; credits unified ledger (6 dec) + BSC inventory. */
|
|
export declare function processBscDeposits(): Promise<void>;
|
|
/**
|
|
* Manually credit a confirmed BSC USDT transfer by tx hash (ops recovery).
|
|
* Safe to re-run: insertDepositIfNew is idempotent on blockchain_tx_id.
|
|
*/
|
|
export declare function creditBscDepositByTxHash(txHash: string): Promise<{
|
|
credited: boolean;
|
|
userId?: string;
|
|
ledgerAmount?: string;
|
|
reason?: string;
|
|
}>;
|
|
//# sourceMappingURL=depositMonitorService.d.ts.map
|