-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Location: contracts/flash_loan
Labels: smart-contract, soroban, defi, advanced
Estimated Time: 9 hours
Difficulty: Hard
Description
Enable flash loans allowing users to borrow tokens without collateral for single-transaction arbitrage and liquidations.
Tasks
- Design flash loan pool structure
- Implement borrow function with callback
- Add repayment verification in same transaction
- Create fee calculation (0.1-0.3%)
- Implement pool liquidity management
- Add reentrancy protection
- Create flash loan analytics
- Write flash loan tests
- Add maximum loan limits
- Implement emergency pause
Acceptance Criteria
- Loans issued without collateral
- Repayment verified in same transaction
- Fees collected correctly
- Reentrancy prevented
- Analytics track usage
- Contract deployed to testnet
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program