CLending

Verified contract

Implementation

Active on Ethereum with 2 txns
Deployed by via 0xb0af9ed7 at 14141192
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 51 additional slots

No balances found for "CLending"

0x3cbd248d90d887ab3d6bb2295583cb94dd7ddda35cba12123d4503fe1d9e1e55
0x6a7391abd9b3097f0691b291e3625bc0e3512849fefa61820b7d4fd58bcc8d41

Functions
Getter at block 20904078
CORE_TOKEN(view returns (address)
0x62359ed7505efc61ff1d56fef82158ccaffa23d7
DAI(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
coreDAO(view returns (address)
0x0000000000000000000000000000000000000000
coreDAOTreasury(view returns (address)
0x0000000000000000000000000000000000000000
loanDefaultThresholdPercent(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
yearlyPercentInterest(view returns (uint256)
0
Read-only
accruedInterest(address userview returns (uint256)
collaterabilityOfToken(addressview returns (uint256)
debtorSummary(addressview returns (uint256 timeLastBorrowuint256 amountDAIBorroweduint256 pendingInterests)
isAngel(addressview returns (bool)
liquidationBeneficiaryOfToken(addressview returns (address)
quantityOfTokenForValueInDAI(uint256 quantityOfDAIuint256 tokenCollateralAbilitypure returns (uint256)
userCollateralValue(address userview returns (uint256 collateral)
userCollaterals(address userview returns (struct Collateral[])
userTotalDebt(address userview returns (uint256)
State-modifying
addCollateral(address tokenuint256 amount
addCollateralAndBorrow(address tokenCollateraluint256 amountCollateraluint256 amountBorrow
addNewToken(address tokenaddress liquidationBeneficiaryuint256 collaterabilityInDAIuint256 decimals
borrow(uint256 amount
changeLoanTerms(uint256 _yearlyPercentInterestuint256 _loanDefaultThresholdPercent
editAngels(address _angelbool _isAngel
editTokenCollaterability(address tokenuint256 newCollaterability
editTokenLiquidationBeneficiary(address tokenaddress newBeneficiary
godIsDead(
initialize(address _coreDAOTreasuryaddress _daoTokenuint256 _yearlyPercentInterestuint256 _loanDefaultThresholdPercentuint256 _coreTokenCollaterability
intervenienteHomine(
liquidateDelinquent(address userreturns (uint256 totalDebtuint256 totalCollateral)
reclaimAllCollateral(
renounceOwnership(
repayLoan(address tokenuint256 amount
transferOwnership(address newOwner
Events
CollateralAdded(address tokenuint256 amountuint256 timestampaddress addedBy
CollateralReclaimed(address tokenuint256 amountuint256 timestampaddress byWho
InterestPaid(address paidInTokenuint256 interestAmountInDAIuint256 timestampaddress paidBy
Liquidation(address userWhoWasLiquidateduint256 totalCollateralValueLiquidateduint256 timestampaddress caller
LoanTaken(uint256 amountuint256 timestampaddress takenBy
LoanTermsChanged(uint256 previousYearlyInterstuint256 newYearlyInterstuint256 previousLoanDefaultThresholdPercentuint256 newLoanDefaultThresholdPercentuint256 timestampaddress changedBy
NewTokenAdded(address tokenuint256 collaterabilityaddress liquidationBeneficiaryuint256 timestampaddress addedBy
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Repayment(address tokenuint256 amountTokensuint256 timestampaddress addedBy
TokenCollaterabilityChanged(address tokenuint256 oldCollaterabilityuint256 newCollaterabilityuint256 timestampaddress changedBy
TokenLiquidationBeneficiaryChanged(address tokenaddress oldBeneficiaryaddress newBeneficiaryuint256 timestampaddress changedBy
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.