flow-pie/chamaa.api

Smart contract for Loan approvals

Open

#83 创建于 2025年11月9日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)HTML (4 fork)auto 404
good first issue

仓库指标

Star
 (3 star)
PR 合并指标
 (PR 指标待抓取)

描述

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)

贡献者指南