Home - mevu-bet/mevu GitHub Wiki
Welcome to the meVu wiki!
This will be a work in progress as the project goes on so check back frequently for updates.
Overview
The meVu platform is made up of several smart-contracts containing relevant state as well as a higher level of smart-contracts with the authority to change that state and the logic to determine how the state should be changed. There is some mixing of state and logic throughout the platform but the general design principle has been to separate the two where possible. To interact with the platform, the front-end will use the functions in the controller contracts which will then save the necessary state in the state container contracts.
The main state containers are:
The controller contracts are:
Upgrade-ability and Security Precautions
By separating the logic and state it is possible to update a single contract in the platform if a security vulnerability is found without losing vital data. As an additional security measure there is a contractPaused
flag which is global to the platform and can only be set to true by the mevu team. Once the contracts are paused, key functions are disabled and the mevu team will have time to fix any flaws in the event of a security breach before safely restarting the system.