Skip to content

feat(intent factory): extend types with if substatus values and deposit#514

Open
glarov95 wants to merge 2 commits intomainfrom
feature/core-203-extend-lifitypes-with-if-substatus-values-and-deposit
Open

feat(intent factory): extend types with if substatus values and deposit#514
glarov95 wants to merge 2 commits intomainfrom
feature/core-203-extend-lifitypes-with-if-substatus-values-and-deposit

Conversation

@glarov95
Copy link
Copy Markdown
Contributor

https://linear.app/lifi-linear/issue/CORE-203/extend-lifitypes-with-if-substatus-values-and-deposit-address-status

Summary

  • Add 5 new INTENT_-prefixed SubstatusPending values for Intent Factory execution stages.
  • Add optional depositAddress field to GetStatusRequest for SCA-based status polling before a deposit tx is confirmed on-chain

Context

The Intent Factory integration in lifi-backend maps 11 IF FSM states to LiFi statuses. Currently, 5 distinct pending states collapse into the generic WAIT_DESTINATION_TRANSACTION substatus, making it impossible for the widget to distinguish between "waiting for funds", "executing", and "retrying after failure". The new typed values let the widget show granular execution progress.

The depositAddress field enables a new status query path where the widget polls by SCA deposit address + fromChain instead of txHash, which is needed before the user's deposit transaction lands on-chain.

@glarov95 glarov95 self-assigned this Mar 30, 2026
@glarov95 glarov95 changed the title Feature/core 203 extend lifitypes with if substatus values and deposit feat(intent factory): extend types with if substatus values and deposit Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant