Component: Utility contracts
Description
The AssetDeployer contract is used for the deployment and configuration of markets. The Addresses contract serves as a repository for managing contract addresses across different networks for the deployment. The MarketState contract shows information about all active markets, including current operational status such as LTV, TVL, and interest rate.
Invariants
AssetDeployer should create and configure markets securely.
Addresses should manage contract addresses correctly.
MarketState should show correct information about all active markets.
Test coverage
Cases covered
Create a market contract.
Configure a new market and mint tToken.
Successfully be able to harvest rewards.
Attack surface
The market may be vulnerable to an inflation attack.