Contracts
There are currently 2 tokens in the Alchemist DeFiVerse, and as such there are 2 contracts. One for MIST and another for AURUM.
There are 3 contract types, Token, Masterchef and Timelock. Below is a description
Token Contract
This contract is the creator of the MIST token, the contract creates new MIST tokens and also controls the transfer process. The token contract itself is owned by the MIST Masterchef, which means that only the masterchef can now mint new tokens.
Always make sure when you interact with the project that you check the token contract ID. Scammers can easily create tokens that look like the original and trick you into buying fake tokens.
Masterchef Contract
The masterchef contract is the core of the functionality that is provided by the project. It controls emmission rates, minting, pools, deposit fees etc. As this contract owns the Token contract, it can mint new MIST based on the emission paramaters outlined in the contract configuration. The masterchef is owned by the timelock, which means that all major changes to the masterchef need to go through the timelock first.
When doing your own research, check to confirm that the masterchef is the owner of the token, and that the masterchef is owned by the timelock contract. You can also check and confirm the dev wallet and fee address in the masterchef.
Timelock Contract
A timelock contract serves one function, that is to ensure that changes being made to the masterchef have to be staged and executed before they come into effect. The minimum time set for this timelock is technically 6 hours, but our project mandate is to run 8 hour updates.
Timelock contracts have 3 main functions. Queue, Execute and Cancel. These functions are used to interact with the masterchef. In order for a change to be made the owner of the timelock contract has to "queue" a change first. Then wait for the time listed in the epochtime to complete before the execute function can be called.
Last modified 4mo ago
Copy link