mirror of
				https://github.com/Instadapp/aave-protocol-v2.git
				synced 2024-07-29 21:47:30 +00:00 
			
		
		
		
	- Changed _paused visibility and added getter.
This commit is contained in:
		
							parent
							
								
									89ca48e0b2
								
							
						
					
					
						commit
						aef8e68ce0
					
				|  | @ -430,5 +430,14 @@ interface ILendingPool { | |||
| 
 | ||||
|   function getReserves() external view returns (address[] memory); | ||||
| 
 | ||||
|   /** | ||||
|    * @dev Set the _pause state | ||||
|    * @param val the boolean value to set the current pause state of LendingPool | ||||
|    */ | ||||
|   function setPause(bool val) external; | ||||
| 
 | ||||
|   /** | ||||
|    * @dev Returns if the LendingPool is paused | ||||
|    */ | ||||
|   function paused() external view returns(bool); | ||||
| } | ||||
|  |  | |||
|  | @ -55,7 +55,7 @@ contract LendingPool is VersionedInitializable, ILendingPool { | |||
|   address[] internal _reservesList; | ||||
| 
 | ||||
|   bool internal _flashLiquidationLocked; | ||||
|   bool public _paused; | ||||
|   bool internal _paused; | ||||
| 
 | ||||
|   /** | ||||
|    * @dev only lending pools configurator can use functions affected by this modifier | ||||
|  | @ -1031,4 +1031,11 @@ contract LendingPool is VersionedInitializable, ILendingPool { | |||
|       emit Unpaused(); | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|   /** | ||||
|    * @dev Returns if the LendingPool is paused | ||||
|    */ | ||||
|   function paused() external view override returns(bool) { | ||||
|     return _paused; | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 eboado
						eboado