docs: added fixes to the docs

This commit is contained in:
emilio 2021-06-15 19:05:16 +02:00
parent bc31fe63d9
commit b88385f209

View File

@ -402,7 +402,7 @@ interface ILendingPool {
* @param asset The address of the underlying asset of the reserve * @param asset The address of the underlying asset of the reserve
* @param aTokenAddress The address of the aToken that will be assigned to the reserve * @param aTokenAddress The address of the aToken that will be assigned to the reserve
* @param stableDebtAddress The address of the StableDebtToken that will be assigned to the reserve * @param stableDebtAddress The address of the StableDebtToken that will be assigned to the reserve
* @param aTokenAddress The address of the VariableDebtToken that will be assigned to the reserve * @param variableDebtAddress The address of the VariableDebtToken that will be assigned to the reserve
* @param interestRateStrategyAddress The address of the interest rate strategy contract * @param interestRateStrategyAddress The address of the interest rate strategy contract
**/ **/
function initReserve( function initReserve(
@ -520,7 +520,8 @@ interface ILendingPool {
function paused() external view returns (bool); function paused() external view returns (bool);
/** /**
* @dev Authorizes/Unauthorizes a flash borrower. Authorized borrowers pay no flash loan premium * @dev Authorizes/Unauthorizes a flash borrower. Authorized borrowers pay no flash loan premium.
* Only callable by the LendingPoolConfigurator contract
* @param flashBorrower address of the flash borrower * @param flashBorrower address of the flash borrower
* @param authorized `true` to authorize, `false` to unauthorize * @param authorized `true` to authorize, `false` to unauthorize
*/ */
@ -538,6 +539,7 @@ interface ILendingPool {
* flash loan premium consist in 2 parts * flash loan premium consist in 2 parts
* - A part is sent to aToken holders as extra balance * - A part is sent to aToken holders as extra balance
* - A part is collected by the protocol reserves * - A part is collected by the protocol reserves
* Only callable by the LendingPoolConfigurator contract
* @param flashLoanPremiumTotal total premium in bps * @param flashLoanPremiumTotal total premium in bps
* @param flashLoanPremiumToProtocol part of the premium sent to protocol * @param flashLoanPremiumToProtocol part of the premium sent to protocol
*/ */