📜
Contracts
Blueberry Bank Components
- 1.Blueberry Bank Contract: the main contract that stores users` positions and tracks the borrowing of tokens.
- 2.
- 3.Blueberry Spell Contract: the contracts which define the specific deployment of the strategy in the spell. E.g. The contract interacts with DEXes and wrapper contracts to open/close users' positions.
- 4.
- 1.Blueberry SoftVault Contracts: The contracts that allow users to lend tokens (ERC20) and earn lending interest (interest rate is reflected from how much users borrow the token (Active utilization rate)). This is using the underlying Blueberry Money Market (Compound Fork) Lending Protocol
- 2.Blueberry HardVault Contracts: The contracts that allow users to lock LP (ERC1155) tokens as collateral.
- 5.Blueberry Wrapper Contracts: the contracts that handle the farming process (i.e. deposit into Masterchef contract) and wrap/unwrap user's collateral and forward wrapped tokens to bank/spells.
Last modified 6mo ago