flow-pie/chamaa.api

Smart contract for Loan approvals

Open

#83 aberto em 9 de nov. de 2025

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)HTML (4 forks)auto 404
good first issue

Métricas do repositório

Stars
 (3 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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)

Guia do colaborador