Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 666 Bytes

File metadata and controls

15 lines (10 loc) · 666 Bytes

Flash Loan Implementation TODO

Status: In Progress

Approved Plan Steps:

  • 1. Create contracts/lending_pool/src/flash_loan_receiver.rs with FlashLoanReceiver trait defining execute_operation(env: Env, amount: i128, fee: i128, params: Bytes)
  • 2. Update contracts/lending_pool/src/lib.rs: Add pub mod flash_loan_receiver;, change callback from "flash_cb" to "execute_operation", update docs
  • 3. Update contracts/lending_pool/src/tests.rs: Add full success test with mock receiver
  • 4. Build: cd contracts/lending_pool && soroban contract build
  • 5. Test: cargo test
  • 6. Complete task

Next step: Build and test