{
    "Function": "getInterestPerSecond",
    "File": "contracts/Pool/Repayments.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol",
        "contracts/interfaces/IRepayment.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol"
    ],
    "High-Level Calls": [
        "SafeMath",
        "SafeMath",
        "IPool"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "mul",
        "div"
    ],
    "Low-Level Calls": [],
    "Code": "function getInterestPerSecond(address _poolID) public view returns (uint256) {\n        uint256 _activePrincipal = IPool(_poolID).totalSupply();\n        uint256 _interestPerSecond = _activePrincipal.mul(repayConstants[_poolID].borrowRate).div(YEAR_IN_SECONDS);\n        return _interestPerSecond;\n    }"
}