Liquidation
In return for repaying the loan, liquidators receive a discounted amount of the borrower's collateral, represented by tToken.The formula to calculate the discounted tToken amount is as follows:
discounted tToken amount = repay amount * liquidation incentive * (price of borrowed token / price of collateral token) / exchange rate
The liquidators is then transferred tTokens, which they may redeem the same as if they had supplied the asset themselves. Now, liquidation incentive is 1.08.
TErc20
|
Tether
|
Solidity
|
Web3 1.0
|
Last updated