LendingPool
Verified contract
Active on
Ethereum with 616 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x1781…0264
0xe69e…7177
0x8522…15da
0x3006…77e4
0xbf18…2366
Balances ($533.49)
Native
Value
$533.49
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.169567 | $3,146.17 |
$533.49 | |
HQG | ERC-20 | 0.0001 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20752212 | 2 months ago | | | 0 | 0.00038294537 | |
| 20752208 | 2 months ago | | | 0.176 | 0.00026068703 | |
| 20068609 | 5 months ago | | | 0 | 0.0083855769 | |
| 19928750 | 6 months ago | | | 0 | 0.0014634807 | |
| 19928734 | 6 months ago | | | 0.9 | 0.0010405719 | |
| 19459834 | 8 months ago | | | 0 | 0.0062565089 | |
| 19444897 | 8 months ago | | | 0 | 0.010078642 | |
| 19436828 | 8 months ago | | | 0 | 0.0080962910 | |
| 19412407 | 8 months ago | | | 0 | 0.014837236 | |
| 19376094 | 8 months ago | | | 0.21 | 0.010494538 |
ABI
ABI objects
Getter at block 21159753 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)
0x1781077acaea50b9e8fbd634a87b3e04e3c80264
enabled() view returns (bool)
true
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 _amountETHBorrowed, uint256 _aprStart) view returns (uint256)
checkUpkeep(bytes) view returns (bool upkeepNeeded, bytes performData)
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)
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)
setLiquidationLTV(uint32 _ltv)
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 __hype, address __twapUtils, address __lendingRewards, address __WETH)
receive()
This contract contains no error objects.