ohmzeus/Cooler

todos after nic's review

Closed this issue · 0 comments

  • split decimals into: interest rate decimals + collateral decimals.
    uint256 private constant DECIMALS = 1e18;
  • deactivate loan request in rollLoan.
    function rollLoan(uint256 loanID_) external {
  • fix typo
    // Check wether repayment needs to be manually claimed or not.
  • syle > use amount_ instead.
    receivables += loanForCollateral(collateral);
    >>> won't be implemented since it should be amount_ + interest and not only amount.