Problem
The withdraw form on Sponsors page has no actual
transaction signing. Sponsors cannot withdraw their
funds.
What To Build
When sponsor submits withdrawal shares amount:
- Show preview: shares -> USDC calculation
- Call POST /liquidity/withdraw with shares
- API returns unsigned XDR
- Pass XDR to Freighter signTransaction()
- Submit signed XDR to Stellar
- Show success with amount returned and profit
Files To Touch
- src/pages/Sponsors.tsx
- src/services/sponsors.service.ts
- src/hooks/useTransaction.ts
Acceptance Criteria
Mandatory Checks Before PR
Problem
The withdraw form on Sponsors page has no actual
transaction signing. Sponsors cannot withdraw their
funds.
What To Build
When sponsor submits withdrawal shares amount:
Files To Touch
Acceptance Criteria
Mandatory Checks Before PR