We want to have a security fuse that will be triggered if any onchain attack is detected by a service like Hypernative.
Currently the following contract methods are available to public:
In case of hight severity security alerts detected by Hypernative we can automatically disable all deposits to all vaults that will make the attack much harder or most likely infeasible.
We can disable the deposits using stageDepositsLock
and commitDepositsLock
. The delay between calling two methods is 1 hour. So we do the following actions:
TimelockController
by OpenZeppelin with 0 delay https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/governance/TimelockController.sol. We need that for having the audited contract that can do multicalls, have access control and can be easily triggered by external transactionstageDepositsLock
for all vaults via Lido/Mellow multisig (in a usual flow, without Timelock OZ)commitDepositsLock
for all Vaults to Timelock OZ using scheduleBatch
methodexecuteBatch
on security alertNote as part of the Operator Role TimelockController
will also have an access to the following methods:
ManagedValidator
role mechanics)ManagedValidator
role mechanics)