mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
refactor: changed _mintToTreasury() function name
This commit is contained in:
parent
7395363e59
commit
26a09f2ba8
|
@ -123,7 +123,7 @@ library ReserveLogic {
|
||||||
lastUpdatedTimestamp
|
lastUpdatedTimestamp
|
||||||
);
|
);
|
||||||
|
|
||||||
_mintToTreasury(
|
_accrueToTreasury(
|
||||||
reserve,
|
reserve,
|
||||||
scaledVariableDebt,
|
scaledVariableDebt,
|
||||||
previousVariableBorrowIndex,
|
previousVariableBorrowIndex,
|
||||||
|
@ -271,7 +271,7 @@ library ReserveLogic {
|
||||||
* @param newLiquidityIndex The new liquidity index
|
* @param newLiquidityIndex The new liquidity index
|
||||||
* @param newVariableBorrowIndex The variable borrow index after the last accumulation of the interest
|
* @param newVariableBorrowIndex The variable borrow index after the last accumulation of the interest
|
||||||
**/
|
**/
|
||||||
function _mintToTreasury(
|
function _accrueToTreasury(
|
||||||
DataTypes.ReserveData storage reserve,
|
DataTypes.ReserveData storage reserve,
|
||||||
uint256 scaledVariableDebt,
|
uint256 scaledVariableDebt,
|
||||||
uint256 previousVariableBorrowIndex,
|
uint256 previousVariableBorrowIndex,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user