The purpose of this page is to provide a comprehensive overview of the architecture of our BakerFi protocol. This includes a detailed description of the system components, interactions, data flow, security considerations, and scalability aspects.
For BakerFi to operate, it integrates with several decentralized protocols to achieve its maximum efficiency, namely:
The modular smart contract design allows the system to easily integrate with DeFi protocols that provide liquidity and security to our staking strategies.
The purpose of a vault smart contract is to deploy specific strategies to maximize the yield or returns generated by the assets held within the vault. This is a smart contract where the users deposit their ETH and receive a share of the pool <x>brETH.
A share of the pool is an ERC-20 Token (transferable) and could be used later to withdraw their owned amount of the pool that could contain (Assets + Yield ). This vault could use a customized Strategy to deploy the capital and harvest a yield.
The Vault is Pausable by the governor and uses the Settings contract to retrieve base performance, withdraw fees, and other settings.
The Contract is upgradeable and can use a BakerProxy in front of it.
This contract implements a strategy that could be used to deploy an asset that is amplified and harvest a yield.