mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Merge branch 'fix/136' into 'master'
Resolve "Fix wrong comments" Closes #136 See merge request aave-tech/protocol-v2!148
This commit is contained in:
commit
751ecf6fa3
|
@ -365,11 +365,13 @@ contract LendingPoolConfigurator is VersionedInitializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* @dev configures the reserve collateralization parameters
|
||||
* @dev configures the reserve collateralization parameters.
|
||||
* all the values are expressed in percentages with two decimals of precision. A valid value is 10000, which means 100.00%
|
||||
* @param asset the address of the reserve
|
||||
* @param ltv the loan to value of the asset when used as collateral
|
||||
* @param liquidationThreshold the threshold at which loans using this asset as collateral will be considered undercollateralized
|
||||
* @param liquidationBonus the bonus liquidators receive to liquidate this asset
|
||||
* @param liquidationBonus the bonus liquidators receive to liquidate this asset. The values is always above 100%. A value of 105%
|
||||
* means the liquidator will receive a 5% bonus
|
||||
**/
|
||||
function configureReserveAsCollateral(
|
||||
address asset,
|
||||
|
|
|
@ -86,7 +86,7 @@ library ReserveConfiguration {
|
|||
}
|
||||
|
||||
/**
|
||||
* @dev gets the Loan to Value of the reserve
|
||||
* @dev gets the liquidation threshold of the reserve
|
||||
* @param self the reserve configuration
|
||||
* @return the liquidation threshold
|
||||
**/
|
||||
|
|
|
@ -76,7 +76,7 @@ library ReserveLogic {
|
|||
/**
|
||||
* @dev returns the ongoing normalized income for the reserve.
|
||||
* a value of 1e27 means there is no income. As time passes, the income is accrued.
|
||||
* A value of 2*1e27 means for each unit of assset two units of income have been accrued.
|
||||
* A value of 2*1e27 means for each unit of asset one unit of income has been accrued.
|
||||
* @param reserve the reserve object
|
||||
* @return the normalized income. expressed in ray
|
||||
**/
|
||||
|
|
Loading…
Reference in New Issue
Block a user