flow-pie / flow-pie/chamaa.api

Smart contract for saving rules

Open
#82 0 comments 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:** On-chain proof of savings (immutable record of member deposits).

**Explanation:**
This contract handles how much each member contributes, time, and rules like minimum deposit.
Ensures fairness and prevents tampering.

**Key Functions:**

- `deposit()`

- `getMemberSavings(address member)`

- `setMinimumDeposit(uint amount)`

**Deliverables:**

- `contracts/SavingsContract.sol`

- Unit tests: deposit + query savings balance

Contributor guide

Open the contributing guide

Research direction

Start with the requirements in the issue and inspect the existing contracts/ directory before creating contracts/SavingsContract.sol. Define how deposits, member savings queries, minimum deposits, timestamps, and immutable records should behave, then add unit tests covering deposit and savings-balance queries. Done means the contract implements the listed functions and the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.