informalsystems / informalsystems/hydro

Inflow vault - withdrawal partial fills

Open
#369 3 comments 0 reactions 0 assignees View on GitHub
prio:low wontfix
Dominant language
Rust
Stars
11
Forks
10
Avg merge
17h 45m
Merged PRs (30d)
4

Description

### Current Behavior

Withdrawals from Inflow vaults are all-or-nothing:
- If sufficient funds available -> user receives full amount immediately
- If insufficient funds -> entire amount queued, user receives nothing

### Proposed Change

Implement partial withdrawals: immediately transfer available funds to user, then queue only the remaining amount.

**Benefit:** Improved UX by reducing wait times when liquidity is partially available.

**Note:** It will require parallel front-end work

Contributor guide

Open the contributing guide

Research direction

Start with the Inflow vault withdrawal flow and its existing all-or-nothing queueing behavior; the issue names no files or tests, so trace the relevant backend entry point and coordinate the parallel front-end work. Done means available funds transfer immediately, only the remainder is queued, and both partial- and insufficient-liquidity paths are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.