From 054dd5973ec44e3d2e0de188a5cc0527e13746cd Mon Sep 17 00:00:00 2001 From: The3D Date: Tue, 1 Jun 2021 20:24:51 +0200 Subject: [PATCH] fix: changed event name --- contracts/interfaces/ILendingPool.sol | 2 +- contracts/protocol/lendingpool/LendingPool.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } } }