Description
Implement flash loan functionality that integrates with AMM pools for arbitrage, with proper fee collection and reentrancy protection.
Acceptance Criteria
Technical Scope
- stellar-lend/contracts/lending/src/flash_loan.rs
- stellar-lend/contracts/amm/src/
- stellar-lend/contracts/hello-world/src/flash_loan.rs
- Edge: callback reentrancy, gas limit on complex callbacks, price impact
Description
Implement flash loan functionality that integrates with AMM pools for arbitrage, with proper fee collection and reentrancy protection.
Acceptance Criteria
Technical Scope