Contracts, components and interactions
Actors
We have the following actors in the system:
- Lido/Mellow multisig - admin multisig that manages the vaults
- Stake Bot - external bot that manages pushing ether to Obol in Lido
- Curator Admin - can convert some WETH to WstETH on the vault balance (in case of excessive WETH on the vault not earning yield). A safe multisig by governed by the Curator.
- Curator Operator - Curator bot / multisig for processing withdrawals.
Roles
There are two types of role mechanics in the system:
DefaultAccessControl
role mechanics
ManagedValidator
role mechanics
DefaultAccessControl
DefaultAccessControl is used in three contracts:
- Vault
- VaultConfigurator
- SimpleDVTStakingStrategy
Vault and SimpleDVTStakingStrategy
have independent set of roles, VaultConfigurator
inherits it’s role model from Vault
.
DefaultAccessControl
has 3 roles: ADMIN
, ADMIN_DELEGATE
, OPERATOR
.