{
    "Function": "getProfit",
    "File": "src/Fed.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IMarket",
        "IDola"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function getProfit(IMarket market) public view returns (uint) {\n        uint marketValue = dola.balanceOf(address(market)) + market.totalDebt();\n        uint supply = supplies[market];\n        if(supply >= marketValue) return 0;\n        return marketValue - supply;\n    }"
}