Security is at the heart of the development of RDA and its contracts. We've adopted a huge number of protective measures to ensure that the contracts work properly.
The contracts have been developed in Solidity and Yul, and are also highly tested. Code coverage for unit tests is 100% for the Operations Center contract. This means that every function and every line has been fuzzed several times. The contract is also functionally tested to ensure that all use cases have been tested.
Fuzz Runs: 10,000
The contract has also been optimized to keep computing costs as low as possible, using inline assembly (Yul) to reduce gas costs.
Emergency functions are available in case of force majeure, but can be waived at the request of the community. emergencyWithdrawETH & emergencyWithdrawERC20
We use OwnableRoles to manage the different access control roles within the protocol. Modifiers to prevent reentrancy have been set, even though reentrancy on ERC20 does not exist.