How to repay a loan:
Borrower goes to app.truefi.io
Borrower clicks 'Repay' button shown on loan details
Borrower is first prompted to approve transfer of funds (must complete approve()
on-chain transaction).
Borrower is then prompted to repay
transaction. This transaction transfers funds back to the portfolio and repays the full amount owed on the loan.
Once this transaction is complete, the loan is marked ‘repaid’ automatically and no further action by the borrower is needed.