CreditManager
Verified contract
Active on
Ethereum with 0 txns
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 "CreditManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CreditManager"
ABI
ABI objects
Getter at block 21314007
_accountFactory() view returns (address)
0x444cd42baeddeb707eed823f7177b9abcc779c04
_acl() view returns (address)
0x523da3a8961e4dd4f6206dbf7e6c749f51796bb3
collateralTokensCount() view returns (uint256)
43
creditConfigurator() view returns (address)
0x403404eefd0d0c9e9268da80a5ba08a02e23ffb7
creditFacade() view returns (address)
0x34ee4eed88bcd2b5cdc3ef9a9dd0582ee538e541
emergencyLiquidation() view returns (bool)
false
fees() view returns (uint16 feeInterest, uint16 feeLiquidation, uint16 liquidationDiscount, uint16 feeLiquidationExpired, uint16 liquidationDiscountExpired)
(feeInterest=5000, feeLiquidation=150, liquidationDiscount=9600, feeLiquidationExpired=100, liquidationDiscountExpired=9800)
forbiddenTokenMask() view returns (uint256)
824633720896
maxAllowedEnabledTokenLength() view returns (uint8)
4
paused() view returns (bool)
true
pool() view returns (address)
0x86130bdd69143d8a4e5fc50bf4323d48049e98e4
poolService() view returns (address)
0x86130bdd69143d8a4e5fc50bf4323d48049e98e4
priceOracle() view returns (address)
0x6385892acb085eaa24b745a712c9e682d80ff681
underlying() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
universalAdapter() view returns (address)
0xbe7b6fa3405c5ccccdfa6ef00ec874c46df96f0b
version() view returns (uint256)
2
wethAddress() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
wethGateway() view returns (address)
0x4f952c4c5415b2609899abdc2f8f352f600d14d6
Read-only
adapterToContract(address) view returns (address)
calcClosePayments(uint256 totalValue, uint8 closureActionType, uint256 borrowedAmount, uint256 borrowedAmountWithInterest) view returns (uint256 amountToPool, uint256 remainingFunds, uint256 profit, uint256 loss)
calcCreditAccountAccruedInterest(address creditAccount) view returns (uint256 borrowedAmount, uint256 borrowedAmountWithInterest, uint256 borrowedAmountWithInterestAndFees)
canLiquidateWhilePaused(address) view returns (bool)
collateralTokens(uint256 id) view returns (address token, uint16 liquidationThreshold)
collateralTokensByMask(uint256 tokenMask) view returns (address token, uint16 liquidationThreshold)
contractToAdapter(address) view returns (address)
creditAccounts(address) view returns (address)
cumulativeDropAtFastCheckRAY(address) view returns (uint256)
enabledTokensMap(address) view returns (uint256)
getCreditAccountOrRevert(address borrower) view returns (address result)
liquidationThresholds(address token) view returns (uint16 lt)
tokenMasksMap(address token) view returns (uint256 mask)
State-modifying
Events addCollateral(address payer, address creditAccount, address token, uint256 amount)
addEmergencyLiquidator(address liquidator)
addToken(address token)
approveCreditAccount(address borrower, address targetContract, address token, uint256 amount)
changeContractAllowance(address adapter, address targetContract)
checkAndEnableToken(address creditAccount, address token)
checkAndOptimizeEnabledTokens(address creditAccount)
checkEmergencyPausable(address caller, bool state) returns (bool)
closeCreditAccount(address borrower, uint8 closureActionType, uint256 totalValue, address payer, address to, uint256 skipTokenMask, bool convertWETH) returns (uint256 remainingFunds)
disableToken(address creditAccount, address token) returns (bool)
executeOrder(address borrower, address targetContract, bytes data) returns (bytes)
fastCollateralCheck(address creditAccount, address tokenIn, address tokenOut, uint256 balanceInBefore, uint256 balanceOutBefore)
fullCollateralCheck(address creditAccount)
manageDebt(address creditAccount, uint256 amount, bool increase) returns (uint256 newBorrowedAmount)
openCreditAccount(uint256 borrowedAmount, address onBehalfOf) returns (address)
pause()
removeEmergencyLiquidator(address liquidator)
setConfigurator(address _creditConfigurator)
setForbidMask(uint256 _forbidMask)
setLiquidationThreshold(address token, uint16 liquidationThreshold)
setMaxEnabledTokens(uint8 newMaxEnabledTokens)
setParams(uint16 _feeInterest, uint16 _feeLiquidation, uint16 _liquidationDiscount, uint16 _feeLiquidationExpired, uint16 _liquidationDiscountExpired)
transferAccountOwnership(address from, address to)
unpause()
upgradeCreditFacade(address _creditFacade)
upgradePriceOracle(address _priceOracle)
ExecuteOrder(address indexed borrower, address indexed target)
NewConfigurator(address indexed newConfigurator)
Paused(address account)
Unpaused(address account)
constructor(address _pool)
This contract contains no fallback and receive objects.
AdaptersOrCreditFacadeOnlyException()
AllowanceFailedException()
CallerNotPausableAdminException()
CallerNotUnPausableAdminException()
CreditConfiguratorOnlyException()
CreditFacadeOnlyException()
HasNoOpenedAccountException()
NotEnoughCollateralException()
ReentrancyLockException()
TargetContractNotAllowedException()
TokenAlreadyAddedException()
TokenNotAllowedException()
TooManyEnabledTokensException()
TooManyTokensException()
ZeroAddressException()
ZeroAddressOrUserAlreadyHasAccountException()