Skip to content

Latest commit

Β 

History

History
159 lines (80 loc) Β· 3.16 KB

File metadata and controls

159 lines (80 loc) Β· 3.16 KB

πŸ“ CillarCoin Enterprise Development Roadmap

This roadmap outlines the steps needed to evolve CillarCoin into a fully enterprise-grade, CertiK-audit-passing, production-ready smart contract system.


βœ… PHASE 1: Governance & Upgradeability (Week 1–2)

Task

Description

πŸ” Implement UUPS Proxy

Refactor CillarCoin.sol and CillarVesting.sol using OpenZeppelin’s UUPSUpgradeable pattern.

🧬 Split Logic & Storage

Separate logic contracts from storage layout for upgrade compatibility.

πŸ”‘ Add initialize()

Replace constructors with initialize() in all upgradeable contracts.

πŸ” Protect with initializer modifier

Prevent re-initialization and enforce upgrade flow.


πŸ” PHASE 2: Role Granularity & DAO Hooks (Week 2–3)

Task

Description

🎭 Add Role Hierarchy

Define FARE_MANAGER_ROLE, REWARD_ADMIN_ROLE, KYC_ADMIN_ROLE, etc. using AccessControl.

πŸ—³ DAO-ready Voting Skeleton

Scaffold upgrade hooks and settings (e.g., reward rate, price ceiling) to be future-controlled via token-based DAO.

🧱 Create Governance Interfaces

Prepare interfaces for off-chain governance platforms like Snapshot or Aragon integration.


πŸ›‘ PHASE 3: Security, Monitoring & DevOps (Week 3–4)

Task

Description

βœ… Unit Tests

Write full tests for all contracts (Hardhat + Mocha/Chai). Aim for 100% coverage.

🧠 Static Analysis

Run slither, mythx, and solhint to detect vulnerabilities. Fix all critical/medium issues.

βš™οΈ CI/CD Pipelines

GitHub Actions to auto-build, lint, test, deploy, and verify.

🧯 Runtime Monitoring

Add Tenderly or Forta to track execution anomalies on testnet and mainnet.


πŸ”— PHASE 4: Treasury & Compliance Architecture (Week 5–6)

Task

Description

πŸ› TreasuryManager.sol

Move treasury logic out of CillarCoin.sol into a dedicated contract. Add withdraw roles and multisig control.

🧾 KYC Registry Contract

Build or integrate an ERC-734/735-compatible registry to manage on-chain verified identities.

πŸ” Verification Metadata

Add verification links, tags, and metadata to BscScan after deployment.


🌍 PHASE 5: Testnet Simulation & Governance UX (Week 7–8)

Task

Description

🌐 Deploy to BNB Testnet

Deploy full suite and run multi-user simulation of rides, refunds, rewards, vesting, etc.

πŸ“Š Track Gas Reports

Monitor and optimize expensive functions (e.g., ride payments, batch seed).

πŸ§ͺ DAO Simulation

Run mock votes (off-chain via Snapshot or simulated on-chain) for parameters like rewardThreshold.


πŸ“¦ BONUS PHASE: Tokenomics & Docs (Ongoing)

Task

Description

πŸ“– Whitepaper Update

Expand tokenomics and usage examples to reflect on-chain reward logic and DAO governance.

πŸ“¦ GitHub Package

Publish as NPM-compatible Solidity package (optional).

🏷️ Version Tags

Create semver tags and CHANGELOG entries for each milestone.


πŸš€ Milestone Targets

Milestone

Target Date

🧱 Contracts Upgradeable & Modular

Week 2

πŸ” Role & Treasury Secure

Week 4

βœ… Security Audit & CI/CD Integrated

Week 6

🌐 Testnet Deployment Simulated

Week 8

🏁 Mainnet Deployment Ready

Week 9