Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 429 Bytes

design_pattern_decisions.md

File metadata and controls

9 lines (5 loc) · 429 Bytes

Design patterns used

Access Control Design Patterns

  • Ownable design pattern used in the function encryptReport(). This function does not need to be used by anyone else apart from the contract creator, i.e. the party that is responsible for managing the rental operations.

Inheritance and Interfaces

  • Robin contract inherits the OpenZeppelin Ownable contract to enable ownership for one managing user/party.