diff --git a/contracts/interfaces/ILendingPool.sol b/contracts/interfaces/ILendingPool.sol index 55cbbedd..98d66538 100644 --- a/contracts/interfaces/ILendingPool.sol +++ b/contracts/interfaces/ILendingPool.sol @@ -172,7 +172,7 @@ interface ILendingPool { * @param reserve the address of the reserve * @param amountMinted the amount minted to the treasury **/ - event TreasuryUpdated( + event MintedToTreasury( address indexed reserve, uint256 amountMinted ); diff --git a/contracts/protocol/lendingpool/LendingPool.sol b/contracts/protocol/lendingpool/LendingPool.sol index d49c98fb..130b62bf 100644 --- a/contracts/protocol/lendingpool/LendingPool.sol +++ b/contracts/protocol/lendingpool/LendingPool.sol @@ -552,7 +552,7 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage IAToken(reserve.aTokenAddress).mintToTreasury(amountToMint, normalizedIncome); reserve.accruedToTreasury = 0; - emit TreasuryUpdated(reserveAddress, amountToMint); + emit MintedToTreasury(reserveAddress, amountToMint); } } }