mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
feat: configurator: added reserveDropped event
This commit is contained in:
parent
18fc7252b6
commit
d2323f8f0e
|
@ -132,6 +132,12 @@ interface ILendingPoolConfigurator {
|
|||
**/
|
||||
event ReserveUnpaused(address indexed asset);
|
||||
|
||||
/**
|
||||
* @dev Emitted when a reserve is dropped
|
||||
* @param asset The address of the underlying asset of the reserve
|
||||
**/
|
||||
event ReserveDropped(address indexed asset);
|
||||
|
||||
/**
|
||||
* @dev Emitted when a reserve factor is updated
|
||||
* @param asset The address of the underlying asset of the reserve
|
||||
|
|
|
@ -163,6 +163,7 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
|
|||
|
||||
function dropReserve(address asset) external onlyPoolAdmin {
|
||||
pool.dropReserve(asset);
|
||||
emit ReserveDropped(asset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user