Skip to content

feat: unified inventory service#613

Closed
liu-zhipeng wants to merge 4 commits intostagingfrom
unified-inventory
Closed

feat: unified inventory service#613
liu-zhipeng wants to merge 4 commits intostagingfrom
unified-inventory

Conversation

@liu-zhipeng
Copy link
Copy Markdown
Collaborator

No description provided.

Key changes:
- Create reservation before earmark in on-demand rebalancing
- Query inventory balance in getEarmarkedBalance() with DB fallback
- Acquire nonce from inventory service before tx submission
- Report nonce confirm/fail after tx result
- Register pending inbound after successful bridge operations
- Create MARK_PURCHASE reservations before intent submission
- Create REBALANCE_THRESHOLD reservations before regular rebalancing
- All inventory calls are non-blocking with graceful fallback
- Enabled via config.unifiedInventoryEnabled (uses everclearApiUrl)
@liu-zhipeng liu-zhipeng marked this pull request as draft March 27, 2026 13:47
@preethamr preethamr deleted the branch staging March 31, 2026 21:22
@preethamr preethamr closed this Mar 31, 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.

2 participants