LendingPool

Verified contract

Active on Ethereum with 616 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $533.49
ERC-20
--
0xe37e0220c3198489a4e9c307db032ad6e928b49cee31a65fb54c0e63f1fbac7b
0xd7db73009b3396ef7fb671ea1c744716a4449ae3fc63039734f6e91165be883c
0xca05a6dbc7ea8f8af84f163b8682fff5695cfb5e5e4c01bf57084f6bbfd4e34d
0x9abcfd4b9662a174c2c45619ae91ea430f2dce8e782088bc83514d82d78ab237
0x745e037a68b76508bea52ac3b6f18226863a0883215408fe5a3399677927f5e7
0xed94526995424a1c7cee26aecaf4b2f84fa82e9a935d40af120bc36b3413586d
0x3e7ee922ccc77bd3a86b99e2b4fe03c5802057971bb3850cfc642d64f6499882
0x2ed0b37790d9f2ad6f432fd020b71e5016d4bd8c73eb416a2775ecdf63b896a2
0xf140738c650b7c62cb05cf400f0a026e913daf42222f6d203d7a5976886ef743
0xd28bd9246bdbdfea253b02c7126870573bb188605a4084d2cbdaaa5692073ff6

Functions
Getter at block 21159753
borrowAPRMax(view returns (uint32)
1500
borrowAPRMin(view returns (uint32)
200
borrowInitFee(view returns (uint32)
200
 
calculateBorrowAPR(view returns (uint256)
custodian(view returns (address)
0x1781077acaea50b9e8fbd634a87b3e04e3c80264
enabled(view returns (bool)
true
 
getAllWhitelistedPools(view returns (address[])
liquidationLTV(view returns (uint32)
9200
loanNFT(view returns (address)
0xe69e34b9f90bbd31ff72c3c4fa006d7e21897177
maxLTVOverall(view returns (uint32)
6000
maxLiquidationsPerUpkeep(view returns (uint32)
10
owner(view returns (address)
0x47c7c921adf8b09e24efac584e2064e34cbb1b6f
Read-only
calculateAPRFees(uint256 _amountETHBorroweduint256 _aprStartview returns (uint256)
checkUpkeep(bytesview returns (bool upkeepNeededbytes performData)
getETHBalance(address _walletview returns (uint256)
getLTVX96(uint256 _tokenIdview returns (uint256 ltvX96uint256 ltvWithFeesX96uint256 amountETHDepositedX96uint256 amountETHBorrowedX96)
loans(uint256view returns (uint256 createdaddress createdByuint256 aprStartaddress collateralPooluint256 amountDepositeduint256 amountETHBorrowed)
maxLTVOverride(addressview returns (uint32)
shouldLiquidateLoan(uint256 _tokenIdview returns (bool)
whitelistPools(addressview returns (bool)
State-modifying
borrow(uint256 _tokenIduint256 _amountETHBorrowing
deposit(uint256 _tokenIdaddress _pooluint256 _amount
depositAndBorrow(uint256 _tokenIdaddress _pooluint256 _amountDepositinguint256 _amountETHBorrowing
payBackLoan(uint256 _tokenIdpayable 
payBackLoanAndClose(uint256 _tokenIdpayable 
performUpkeep(bytes performData
renounceOwnership(
setBorrowAPRMax(uint32 _apr
setBorrowAPRMin(uint32 _apr
setBorrowInitFee(uint32 _fee
setEnabled(bool _enabled
setLiquidationLTV(uint32 _ltv
setMaxLTVOverall(uint32 _ltv
setMaxLTVOverride(address _pooluint32 _ltv
setMaxLiquidationsPerUpkeep(uint32 _max
toggleWhitelistCollateralPool(address _pool
transferOwnership(address newOwner
withdraw(uint256 _tokenIduint256 _amount
Events
Borrow(address indexed walletuint256 indexed tokenIduint256 amountETH
DeleteLoan(uint256 indexed tokenId
Deposit(address indexed walletuint256 indexed tokenIduint256 amountCollateral
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PayBackLoan(address indexed walletuint256 indexed tokenIduint256 amountDesireduint256 amountFees
Withdraw(address indexed walletuint256 indexed tokenIduint256 amountCollateral
Constructor
constructor(string _baseTokenURIaddress __hypeaddress __twapUtilsaddress __lendingRewardsaddress __WETH
Fallback and receive
receive(
Errors

This contract contains no error objects.