Teller is a lending and undercollateralized borrowing protocol on the Ethereum blockchain. Teller is the first protocol to allow zero collateral borrowing for greater than one block.
Adds an optional mgmt fee parameter to PlatformSettings, set at 5% by default. When a loan is repaid, if excess profits were made with the borrowed escrowed lending token, then 5% of those excess profits will be given to the tToken liquidity pool such that 95% of the excess profits will be claimed back to the borrower.
Adds an optional mgmt fee parameter to PlatformSettings, set at 5% by default. When a loan is repaid, if excess profits were made with the borrowed escrowed lending token, then 5% of those excess profits will be given to the tToken liquidity pool such that 95% of the excess profits will be claimed back to the borrower.
Unit tests were added to loans.tests.ts.