LendFlareProxy
Verified contract
Proxy
Active on
Ethereum with 272 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "LendFlareProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16745216 | 2 years ago | | | 0 | 0.050367923 | |
| 16624080 | 2 years ago | | | 0 | 0.018012662 | |
| 16624072 | 2 years ago | | | 0 | 0.017541455 | |
| 16624064 | 2 years ago | | | 0 | 0.018779142 | |
| 16624055 | 2 years ago | | | 0 | 0.019369897 | |
| 16581530 | 2 years ago | | | 0 | 0.034888900 | |
| 16575839 | 2 years ago | | | 175.39339 | 0.027035131 | |
| 16533575 | 2 years ago | | | 0 | 0.026300414 | |
| 16482401 | 2 years ago | | | 0 | 0.024899105 | |
| 16466646 | 2 years ago | | | 17.629375 | 0.017468713 |
ABI
ABI objects
Getter at block 21306110
convexBooster() view returns (address)
0x4c3c78cebc9cc87436deed2782998bc002f2b69f
governance() view returns (address)
0xd6aaba4ef2540a69d8e99cbc8647d194cfd17241
lendingSponsor() view returns (address)
0x807047542431d8a6acf255a52ee815a2a957036d
liquidateThresholdBlockNumbers() view returns (uint256)
50
owner() view returns (address)
0x63d7a70c17a1fca27dc4100bc737a0dbeb52a5b2
poolLength() view returns (uint256)
29
supplyBooster() view returns (address)
0x1fa362339392f910bd69af8e13dd20c5942d446f
version() view returns (uint256)
1
Read-only
borrowBlocks(uint256) view returns (bool)
borrowInfos(bytes32) view returns (uint256 borrowAmount, uint256 supplyAmount)
calculateRepayAmount(bytes32 _lendingId) view returns (uint256)
cursor(uint256 _pid, uint256 _offset, uint256 _size) view returns (bytes32[], uint256)
deposits(uint256, address) view returns (uint256)
generateId(address x, uint256 y, uint256 z) pure returns (bytes32)
getAmplificationFactor(uint256 _utilizationRate) pure returns (uint256)
getCurveCoinId(uint256 _pid, uint256 _supportPid) view returns (int128)
getLendingRate(uint256 _supplyRate, uint256 _amplificationFactor) pure returns (uint256)
getPoolSupportPid(uint256 _pid, uint256 _supportPid) view returns (uint256)
getSupplyRate(uint256 _supplyBlockRate, uint256 n) pure returns (uint256 total)
getUserLending(address _user, uint256 _lendingIndex) view returns (struct LendingMarketV2UserLending)
getUserLendingsLength(address _user) view returns (uint256)
lendings(bytes32) view returns (address user, uint256 pid, uint256 userLendingIndex, uint256 borrowIndex, uint256 startedBlock, uint256 utilizationRate, uint256 supplyRatePerBlock, uint8 state)
myStatistics(bytes32) view returns (uint256 totalCollateral, uint256 totalBorrow, uint256 recentRepayAt)
poolInfo(uint256) view returns (uint256 convexPid, uint256 lendingThreshold, uint256 liquidateThreshold, uint256 borrowIndex)
poolLending(uint256, uint256) view returns (bytes32)
userLendings(address, uint256) view returns (bytes32 lendingId, uint256 token0, uint256 token0Price, uint256 lendingAmount, uint256 borrowAmount, uint256 borrowInterest, uint256 supportPid, int128 curveCoinId, uint256 borrowNumbers)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addMarketPool(uint256 _convexBoosterPid, uint256[] _supplyBoosterPids, int128[] _curveCoinIds, uint256 _lendingThreshold, uint256 _liquidateThreshold)
borrow(uint256 _pid, uint256 _token0, uint256 _borrowBlock, uint256 _supportPid) payable returns (bytes32)
borrowForDeposit(uint256 _pid, uint256 _token0, uint256 _borrowBlock, uint256 _supportPid) payable returns (bytes32)
deposit(uint256 _pid, uint256 _token0)
getLendingInfo(uint256 _token0, uint256 _convexPid, int128 _curveCoinId, uint256 _supplyPid, uint256 _lendingThreshold, uint256 _liquidateThreshold, uint256 _borrowBlocks) returns (struct LendingMarketV2LendingParams)
initialize(address _owner, address _lendingSponsor, address _convexBooster, address _supplyBooster)
liquidate(bytes32 _lendingId, uint256 _extraErc20Amount) payable
multicall(bytes[] data) payable returns (bytes[] results)
protect(bytes32 _lendingId)
repayBorrow(bytes32 _lendingId) payable
repayBorrowAndFreezeTokens(bytes32 _lendingId) payable
repayBorrowERC20(bytes32 _lendingId, uint256 _amount)
repayBorrowERC20AndFreezeTokens(bytes32 _lendingId, uint256 _amount)
setBorrowBlock(uint256 _number, bool _state)
setGovernance(address _governance)
setLendingThreshold(uint256 _pid, uint256 _v)
setLiquidateThreshold(uint256 _pid, uint256 _v)
setLiquidateThresholdBlockNumbers(uint256 _v)
setOwner(address _owner)
triggerDepegShield(uint256 _pid)
updatePoolMapping(uint256 _pid, uint256[] _supplyBoosterPids, int128[] _curveCoinIds)
withdraw(uint256 _pid, uint256 _token0)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AddMarketPool(uint256 convexBoosterPid, uint256[] supplyBoosterPids, int128[] curveCoinIds, uint256 lendingThreshold, uint256 liquidateThreshold)
Borrow(bytes32 indexed lendingId, address indexed user, uint256 pid, uint256 token0, uint256 token0Price, uint256 lendingAmount, uint256 borrowNumber)
Depeg(bytes32 indexed lendingId, uint256 leveragePrice)
Deposit(address user, uint256 pid, uint256 token0)
Initialized(address indexed thisAddress)
LendingBase(bytes32 indexed lendingId, uint256 marketPid, uint256 supplyPid, int128 curveCoinId, uint256 borrowBlocks)
Liquidate(bytes32 indexed lendingId, address user, uint256 liquidateAmount, uint256 gasSpent, uint8 state)
RepayBorrow(bytes32 indexed lendingId, address user, uint8 state)
SetBorrowBlock(uint256 borrowBlock, bool state)
SetGovernance(address governance)
SetLendingThreshold(uint256 pid, uint256 threshold)
SetLiquidateThreshold(uint256 pid, uint256 threshold)
SetLiquidateThresholdBlockNumbers(uint256 blockNumbers)
SetOwner(address owner)
TogglePausedPool(uint256 pid, bool pause)
TriggerDepegShield(uint256 pid, int128 coinId, address underlyingToken, uint256 tokensWhenTriggered)
UpdatePoolMapping(uint256 pid, uint256[] supportPids, int128[] curveCoinIds)
Withdraw(address user, uint256 pid, uint256 token0)
constructor(address logic, address admin, bytes data)
fallback()
receive()
receive()
This contract contains no error objects.