Contracts & Security

Contracts

Elements of interest

  1. COMOS Token

    • The owner is Masterchef

    • The mint function has the onlyOwner modifier (thus, it can only be called by Masterchef within the method updatePool)

  2. Masterchef

    It’s the main farm and staking contract (equivalent to Pancake’s Masterchef), with the following added security measures:

    • The owner is Timelock

    • The infamous Migrator function was removed

    • The dev fee is hard-coded and cannot be changed.

  3. Timelock

    • The minimum configurable delay is 6 hours

    • Usually, it will be set to 24h