Comment on page
In our smart contracts, we made some architectural decisions to reduce our smart contract risks and access control risks:
- The Admin/Multisig does not have access to the principal
- The Admin/Multisig can not permanently freeze funds.
- The contracts are not upgradeable (No malicious upgradability can happen)
- You can leave the position at any point in time
- The Multisig/Admin only has access to the weekly yield. This represents less than 1% of the TVL
- The withdrawal fee can change up to a 10% cap (No malicious attack on fees)
Below we will dive deep into the privileges of each role:
This role is responsible for the functions
endRoundphase, other addresses can not perform deposit or withdrawal actions until the
startRoundfunction is called. In order to avoid the risk of principal funds getting stuck, after a week (~604800 blocks) any address can call the startRound function, enabling withdrawals again.
This role is responsible for setting the:
- VaultController of a certain vault
- Withdraw fee ratio of a certain vault (cap at 10% by the code)
- Migration contract of a certain vault (in case of migration)
- Cap of a certain vault
This role is the one responsible for using 50& of the weekly yield to buy options at the best price. This could be an off-chain exchange, L2 trade, or OTC.