From 9cf43823b224a543be17290b6639961f2ed20763 Mon Sep 17 00:00:00 2001 From: georgi Date: Mon, 30 Mar 2026 17:15:38 +0300 Subject: [PATCH] feat(intent factory): extend statuses Signed-off-by: georgi --- src/api.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/api.ts b/src/api.ts index 5e0efa39..0e73d80f 100644 --- a/src/api.ts +++ b/src/api.ts @@ -513,6 +513,7 @@ export type GetStatusRequest = { fromChain?: number | string toChain?: number | string transactionId?: string + depositAddress?: string } & ({ txHash: string } | { taskId: string }) export interface BaseTransactionInfo { @@ -566,6 +567,16 @@ const _SubstatusPending = [ 'REFUND_IN_PROGRESS', // We cannot determine the status of the transfer 'UNKNOWN_ERROR', + // Intent is waiting for funds to arrive at the smart contract account + 'INTENT_AWAITING_FUNDS', + // Intent funds detected, preparing execution + 'INTENT_READY', + // Intent is being executed by solver + 'INTENT_EXECUTING', + // Intent execution failed, solver retrying + 'INTENT_FAILED_RETRYABLE', + // Intent simulation failed, solver retrying + 'INTENT_SIMULATION_FAILURE', ] as const export type SubstatusPending = (typeof _SubstatusPending)[number]