flow-pie / flow-pie/chamaa.api

Smart contract for Loan approvals

Open
#83 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
HTML
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

**Goal:** Allow members to vote on loan requests transparently on-chain.

**Explanation:**
This automates group-based decision making.
Each member gets a vote. Votes are recorded immutably.

**Key Functions:**

- `requestLoan(uint amount)`

- `voteOnLoan(uint loanId, bool approve)`

- `finalizeLoan(uint loanId)`

**Deliverables:**

- `contracts/LoanVoting.sol`

- Emits `LoanApproved` or `LoanRejected`

- Test: quorum logic (≥50% yes votes)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.