LendingPool
Similar source code
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
26
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
0x1012…7e25
0x131d…3b77
0x2275…884d
0x13f6…b9ed
Balances ($0.00)
No balances found for "LendingPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11388280 | 4 years ago | | | 0 | 0.0029506544 |
ABI
ABI objects
Getter at block 20857239 getReserves() view returns (address[])
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
parametersProvider() view returns (address)
0x22752ecb8a44b51bfcb7b1bb59df9ba3ff95884d
Read-only
getReserveConfigurationData(address _reserve) view returns (uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, address interestRateStrategyAddress, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive)
getReserveData(address _reserve) view returns (uint256 totalLiquidity, uint256 availableLiquidity, uint256 totalBorrowsStable, uint256 totalBorrowsVariable, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 utilizationRate, uint256 liquidityIndex, uint256 variableBorrowIndex, address aTokenAddress, uint40 lastUpdateTimestamp)
getUserAccountData(address _user) view returns (uint256 totalLiquidityETH, uint256 totalCollateralETH, uint256 totalBorrowsETH, uint256 totalFeesETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)
getUserReserveData(address _reserve, address _user) view returns (uint256 currentATokenBalance, uint256 currentBorrowBalance, uint256 principalBorrowBalance, uint256 borrowRateMode, uint256 borrowRate, uint256 liquidityRate, uint256 originationFee, uint256 variableBorrowIndex, uint256 lastUpdateTimestamp, bool usageAsCollateralEnabled)
State-modifying
Events borrow(address _reserve, uint256 _amount, uint256 _interestRateMode, uint16 _referralCode)
deposit(address _reserve, uint256 _amount, uint16 _referralCode) payable
flashLoan(address _receiver, address _reserve, uint256 _amount, bytes _params)
initialize(address _addressesProvider)
liquidationCall(address _collateral, address _reserve, address _user, uint256 _purchaseAmount, bool _receiveAToken) payable
rebalanceStableBorrowRate(address _reserve, address _user)
redeemUnderlying(address _reserve, address _user, uint256 _amount, uint256 _aTokenBalanceAfterRedeem)
repay(address _reserve, uint256 _amount, address _onBehalfOf) payable
setUserUseReserveAsCollateral(address _reserve, bool _useAsCollateral)
swapBorrowRateMode(address _reserve)
Borrow(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _borrowRateMode, uint256 _borrowRate, uint256 _originationFee, uint256 _borrowBalanceIncrease, uint16 indexed _referral, uint256 _timestamp)
Deposit(address indexed _reserve, address indexed _user, uint256 _amount, uint16 indexed _referral, uint256 _timestamp)
FlashLoan(address indexed _target, address indexed _reserve, uint256 _amount, uint256 _totalFee, uint256 _protocolFee, uint256 _timestamp)
LiquidationCall(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _purchaseAmount, uint256 _liquidatedCollateralAmount, uint256 _accruedBorrowInterest, address _liquidator, bool _receiveAToken, uint256 _timestamp)
OriginationFeeLiquidated(address indexed _collateral, address indexed _reserve, address indexed _user, uint256 _feeLiquidated, uint256 _liquidatedCollateralForFee, uint256 _timestamp)
RebalanceStableBorrowRate(address indexed _reserve, address indexed _user, uint256 _newStableRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)
RedeemUnderlying(address indexed _reserve, address indexed _user, uint256 _amount, uint256 _timestamp)
Repay(address indexed _reserve, address indexed _user, address indexed _repayer, uint256 _amountMinusFees, uint256 _fees, uint256 _borrowBalanceIncrease, uint256 _timestamp)
ReserveUsedAsCollateralDisabled(address indexed _reserve, address indexed _user)
ReserveUsedAsCollateralEnabled(address indexed _reserve, address indexed _user)
Swap(address indexed _reserve, address indexed _user, uint256 _newRateMode, uint256 _newRate, uint256 _borrowBalanceIncrease, uint256 _timestamp)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.