InterestRateCredit.sol
The Line of Credit makes external calls to the setRate() function of Interest Rate Credit contract
This contract stores interest rates and the last time interest was accrued for individual credit positions on a Line of Credit.
It only calculates interest owed. LineOfCredit.sol is responsible for updating balances
Only allows LineOfCredit.sol to call it
It only has one external function, setRate() as mentioned below.
setRate()
: update the interest rates for a credit position (after being called by LineOfCredit.sol)
Last updated
Was this helpful?