Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 326 Bytes

design_pattern_decisions.md

File metadata and controls

13 lines (7 loc) · 326 Bytes

Design Pattern Decisions

Inheritance and Interfaces

  • Entrance contract inherits from Ownable and VRFConsumerBase

Oracle

  • Entrance uses Chainlink VRF oracle to randomly generate a number

Access Control Design Patterns

  • Ownable design pattern is used to only allow the owner to set blackList status