Smart Contract Class Diagram - pinocchio61/Architecture GitHub Wiki
To help design the data structure of the smart contract, we have lay out the entity relationship.
Based on the ER diagram, the Contract/Class Diagram is designed to guide us in implementing the real smart contract.
This Class Diagram is different from traditional ones on one point: the modifiers, for example, onlyModifier. This is important in Smart Contract design because it defines the rules, policies or regulations the smart contracts impose.