LendingPool

Similar source code

Implementation

Active on Ethereum with 1 txns
Deployed by via 0x122be42f at 10094941
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots

No balances found for "LendingPool"

0x714d19c1057de00921836a9edbb24319f3ff64e4499bf80c6f86bdf57cbe852b
From

Functions
Getter at block 20857873
LENDINGPOOL_REVISION(view returns (uint256)
2
UINT_MAX_VALUE(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
addressesProvider(view returns (address)
0x7fd53085b9a29d236235d6fc593b47c9c33429f1
core(view returns (address)
0x1012cff81a1582ddd0616517efb97d02c5c17e25
dataProvider(view returns (address)
0x131ddc4343073b3287ba6016d048a5df6d5c3b77
 
getReserves(view returns (address[])
parametersProvider(view returns (address)
0x22752ecb8a44b51bfcb7b1bb59df9ba3ff95884d
Read-only
getReserveConfigurationData(address _reserveview returns (uint256 ltvuint256 liquidationThresholduint256 liquidationBonusaddress interestRateStrategyAddressbool usageAsCollateralEnabledbool borrowingEnabledbool stableBorrowRateEnabledbool isActive)
getReserveData(address _reserveview returns (uint256 totalLiquidityuint256 availableLiquidityuint256 totalBorrowsStableuint256 totalBorrowsVariableuint256 liquidityRateuint256 variableBorrowRateuint256 stableBorrowRateuint256 averageStableBorrowRateuint256 utilizationRateuint256 liquidityIndexuint256 variableBorrowIndexaddress aTokenAddressuint40 lastUpdateTimestamp)
getUserAccountData(address _userview returns (uint256 totalLiquidityETHuint256 totalCollateralETHuint256 totalBorrowsETHuint256 totalFeesETHuint256 availableBorrowsETHuint256 currentLiquidationThresholduint256 ltvuint256 healthFactor)
getUserReserveData(address _reserveaddress _userview returns (uint256 currentATokenBalanceuint256 currentBorrowBalanceuint256 principalBorrowBalanceuint256 borrowRateModeuint256 borrowRateuint256 liquidityRateuint256 originationFeeuint256 variableBorrowIndexuint256 lastUpdateTimestampbool usageAsCollateralEnabled)
State-modifying
borrow(address _reserveuint256 _amountuint256 _interestRateModeuint16 _referralCode
deposit(address _reserveuint256 _amountuint16 _referralCodepayable 
flashLoan(address _receiveraddress _reserveuint256 _amountbytes _params
initialize(address _addressesProvider
liquidationCall(address _collateraladdress _reserveaddress _useruint256 _purchaseAmountbool _receiveATokenpayable 
rebalanceStableBorrowRate(address _reserveaddress _user
redeemUnderlying(address _reserveaddress _useruint256 _amountuint256 _aTokenBalanceAfterRedeem
repay(address _reserveuint256 _amountaddress _onBehalfOfpayable 
setUserUseReserveAsCollateral(address _reservebool _useAsCollateral
swapBorrowRateMode(address _reserve
Events
Borrow(address indexed _reserveaddress indexed _useruint256 _amountuint256 _borrowRateModeuint256 _borrowRateuint256 _originationFeeuint256 _borrowBalanceIncreaseuint16 indexed _referraluint256 _timestamp
Deposit(address indexed _reserveaddress indexed _useruint256 _amountuint16 indexed _referraluint256 _timestamp
FlashLoan(address indexed _targetaddress indexed _reserveuint256 _amountuint256 _totalFeeuint256 _protocolFeeuint256 _timestamp
LiquidationCall(address indexed _collateraladdress indexed _reserveaddress indexed _useruint256 _purchaseAmountuint256 _liquidatedCollateralAmountuint256 _accruedBorrowInterestaddress _liquidatorbool _receiveATokenuint256 _timestamp
OriginationFeeLiquidated(address indexed _collateraladdress indexed _reserveaddress indexed _useruint256 _feeLiquidateduint256 _liquidatedCollateralForFeeuint256 _timestamp
RebalanceStableBorrowRate(address indexed _reserveaddress indexed _useruint256 _newStableRateuint256 _borrowBalanceIncreaseuint256 _timestamp
RedeemUnderlying(address indexed _reserveaddress indexed _useruint256 _amountuint256 _timestamp
Repay(address indexed _reserveaddress indexed _useraddress indexed _repayeruint256 _amountMinusFeesuint256 _feesuint256 _borrowBalanceIncreaseuint256 _timestamp
ReserveUsedAsCollateralDisabled(address indexed _reserveaddress indexed _user
ReserveUsedAsCollateralEnabled(address indexed _reserveaddress indexed _user
Swap(address indexed _reserveaddress indexed _useruint256 _newRateModeuint256 _newRateuint256 _borrowBalanceIncreaseuint256 _timestamp
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.