Class Fund / Group Treasury Smart Contract
A simplified, on-chain treasury and group fund management system for collecting recurring contributions and secure withdrawals by a designated treasurer.

Project Summary
This project implements a basic treasury model using Solidity. It allows designated members to contribute funds periodically (pay function), tracks contributions per period, and enables a single treasurer to manage and securely withdraw the total balance. It provides a transparent, immutable ledger for group finances.
My Role
Smart Contract Developer: Responsible for the full development lifecycle, including contract design, implementation of contribution and withdrawal logic, and event logging for transparency.
Challenges
Designing a simple, gas-efficient structure to track contributions against specific "periods" and ensuring that the withdrawal mechanism was restricted only to the authorized treasurer (single-point of control).
Solution & Implementation
Utilized `mapping` for period-based contribution tracking and implemented an `onlyTreasurer` modifier to secure critical functions like `withdraw` and `nextPeriod`, enhancing the contract’s integrity and security.
Main Features
- Period-Based Contribution Tracking
- Designated Treasurer/Single-Sig Authority
- Secure Withdrawal Mechanism
- Transparent On-Chain Events