LendingPool
Verified contract
Active on
Ethereum with 177 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x1be0…5088
0xeb5d…29a2
0x8522…15da
0x3006…77e4
0xbf18…2366
Balances ($0.00)
No balances found for "LendingPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20068656 | 6 months ago | | | 0 | 0.00028174911 | |
| 20068640 | 6 months ago | | | 0 | 0.00030424468 | |
| 19769143 | 7 months ago | | | 0 | 0.0056852878 | |
| 19766802 | 7 months ago | | | 0 | 0.0028500801 | |
| 19701641 | 7 months ago | | | 0 | 0.0026512587 | |
| 19625745 | 8 months ago | | | 0 | 0.0064154923 | |
| 19619176 | 8 months ago | | | 0.0074919923 | 0.0060413769 | |
| 19619118 | 8 months ago | | | 0.245 | 0.0067303897 | |
| 19341032 | 9 months ago | | | 0 | 0.016402486 | |
| 19334499 | 9 months ago | | | 0 | 0.026690599 |
ABI
ABI objects
Getter at block 21299008 calculateBorrowAPR() view returns (uint256) getAllWhitelistedPools() view returns (address[])
borrowAPRMax() view returns (uint32)
1500
borrowAPRMin() view returns (uint32)
200
borrowInitFee() view returns (uint32)
200
custodian() view returns (address)
0x1be0818163f65b0bbeeca6f17066f6e121d85088
enabled() view returns (bool)
false
liquidateDefaultCapital() view returns (bool)
false
liquidateSlippage() view returns (uint32)
1000
liquidationLTV() view returns (uint32)
10
loanNFT() view returns (address)
0xeb5d3d7d2555f511a079350694d6827469d129a2
maxLTVOverall() view returns (uint32)
6000
maxLiquidationsPerUpkeep() view returns (uint32)
10
owner() view returns (address)
0x47c7c921adf8b09e24efac584e2064e34cbb1b6f
Read-only
calculateAPRFees(uint256 _amountETHBorrowed, uint256 _aprStart) view returns (uint256)
checkUpkeep(bytes) view returns (bool upkeepNeeded, bytes performData)
currentBorrowPerPool(address) view returns (uint256)
getETHBalance(address _wallet) view returns (uint256)
getLTVX96(uint256 _tokenId) view returns (uint256 ltvX96, uint256 ltvWithFeesX96, uint256 amountETHDepositedX96, uint256 amountETHBorrowedX96)
loans(uint256) view returns (uint256 created, address createdBy, uint256 aprStart, address collateralPool, uint256 amountDeposited, uint256 amountETHBorrowed)
maxBorrowPerPool(address) view returns (uint256)
maxLTVOverride(address) view returns (uint32)
shouldLiquidateLoan(uint256 _tokenId) view returns (bool)
whitelistPools(address) view returns (bool)
State-modifying
Events borrow(uint256 _tokenId, uint256 _amountETHBorrowing)
deposit(uint256 _tokenId, address _pool, uint256 _amount)
depositAndBorrow(uint256 _tokenId, address _pool, uint256 _amountDepositing, uint256 _amountETHBorrowing)
payBackLoan(uint256 _tokenId) payable
payBackLoanAndClose(uint256 _tokenId) payable
performUpkeep(bytes performData)
renounceOwnership()
setBorrowAPRMax(uint32 _apr)
setBorrowAPRMin(uint32 _apr)
setBorrowInitFee(uint32 _fee)
setEnabled(bool _enabled)
setLiquidateDefaultCapital(bool _shouldLiq)
setLiquidateSlippage(uint32 _slippage)
setLiquidationLTV(uint32 _ltv)
setMaxBorrowPerPool(address _pool, uint256 _amountETH)
setMaxLTVOverall(uint32 _ltv)
setMaxLTVOverride(address _pool, uint32 _ltv)
setMaxLiquidationsPerUpkeep(uint32 _max)
toggleWhitelistCollateralPool(address _pool)
transferOwnership(address newOwner)
withdraw(uint256 _tokenId, uint256 _amount)
Borrow(address indexed wallet, uint256 indexed tokenId, uint256 amountETH)
DeleteLoan(uint256 indexed tokenId)
Deposit(address indexed wallet, uint256 indexed tokenId, uint256 amountCollateral)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PayBackLoan(address indexed wallet, uint256 indexed tokenId, uint256 amountDesired, uint256 amountFees)
Withdraw(address indexed wallet, uint256 indexed tokenId, uint256 amountCollateral)
constructor(string _baseTokenURI, address __swapRouter, address __hype, address __twapUtils, address __lendingRewards, address __WETH)
receive()
This contract contains no error objects.