This roadmap outlines the steps needed to evolve CillarCoin into a fully enterprise-grade, CertiK-audit-passing, production-ready smart contract system.
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.
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.
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.
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.
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.
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
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