DeFi Earn Accounts
Last updated
Last updated
There are 2 types of DeFi Earn Accounts, a Market Market Earn Account which is powered by a and Automated Lending Earn Account which is underpinned by an .
Each of these DeFi Earn Accounts has a Vault Contract Address and a Strategy Contract Address.
A Vault Contract is Smart Contract that acts as a "vault" and is where users deposit their funds into which are then automatically deployed into the Strategy Contract.
A Strategy Contract is a smart contract that controls when, how and where funds are deployed in order to generate yield.
When Users hit deposit, funds are first directed into the Vault Contract and in return Users receive a share of this vault that represents their position within that particular Earn Account.
The Vault Contract then automatically transfers those funds to the Strategy Contract. This contract deploys those funds to generate yield and monitors the position in line with the strategy implemented via the smart contract code.
It’s important to note that BoF does NOT have access to users funds. BoF only has the ability to call a function that withdraws funds from the Strategy Contract (in the event of an emergency) which automatically transfers funds back to the Vault Contract for users to then safely withdraw from at their convenience