Problem
When a loan is approved, there is no mechanism to
actually pay the vendor. The vendor never receives
funds.
What To Build
- Add vendor_paid flag to Loan struct
- Add pay_vendor() function
- Integrate with approve_loan() flow
Files To Touch
- contracts/creditline-contract/src/lib.rs
- contracts/creditline-contract/src/types.rs
- contracts/creditline-contract/src/events.rs
- contracts/creditline-contract/src/tests.rs
Acceptance Criteria
Mandatory Checks Before PR
Problem
When a loan is approved, there is no mechanism to
actually pay the vendor. The vendor never receives
funds.
What To Build
Files To Touch
Acceptance Criteria
Mandatory Checks Before PR