13 smart contract modules
Overview
Contract Architecture
Core Contracts
Supporting Contracts
ProjectRegistry Contract
Storage
Functions
mintProjectRecord
isPoAIApproved
suspendProject
reactivateProject
Events
CarbonCredit1155 Contract
Storage
Functions
setProjectConfig
mintCredits
retire
balanceOf
_beforeTokenTransfer
Events
Retirement Contract (Optional Separate Contract)
Functions
retireCredits
Events
Governance Contract
Storage
Functions
createProposal
vote
executeProposal
Events
Access Control
Roles
Implementation
Pausable (Optional)
Functions
pause
unpause
Integration
Critical Enforcement Rules
Contract Interactions
Project Onboarding Flow
1
2
3
Retirement Flow
1
2
3
Governance Flow
1
2
3
4
Security Considerations
Reentrancy Protection
Integer Overflow Protection
Access Control
Upgradeability
Gas Optimization
Storage Optimization
Function Optimization
Last updated