CreditManager

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0x6e5528da at 15833599
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CreditManager"

No transactions found for "CreditManager"


Functions
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 feeInterestuint16 feeLiquidationuint16 liquidationDiscountuint16 feeLiquidationExpireduint16 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(addressview returns (address)
calcClosePayments(uint256 totalValueuint8 closureActionTypeuint256 borrowedAmountuint256 borrowedAmountWithInterestview returns (uint256 amountToPooluint256 remainingFundsuint256 profituint256 loss)
calcCreditAccountAccruedInterest(address creditAccountview returns (uint256 borrowedAmountuint256 borrowedAmountWithInterestuint256 borrowedAmountWithInterestAndFees)
canLiquidateWhilePaused(addressview returns (bool)
collateralTokens(uint256 idview returns (address tokenuint16 liquidationThreshold)
collateralTokensByMask(uint256 tokenMaskview returns (address tokenuint16 liquidationThreshold)
contractToAdapter(addressview returns (address)
creditAccounts(addressview returns (address)
cumulativeDropAtFastCheckRAY(addressview returns (uint256)
enabledTokensMap(addressview returns (uint256)
getCreditAccountOrRevert(address borrowerview returns (address result)
liquidationThresholds(address tokenview returns (uint16 lt)
tokenMasksMap(address tokenview returns (uint256 mask)
State-modifying
addCollateral(address payeraddress creditAccountaddress tokenuint256 amount
addEmergencyLiquidator(address liquidator
addToken(address token
approveCreditAccount(address borroweraddress targetContractaddress tokenuint256 amount
changeContractAllowance(address adapteraddress targetContract
checkAndEnableToken(address creditAccountaddress token
checkAndOptimizeEnabledTokens(address creditAccount
checkEmergencyPausable(address callerbool statereturns (bool)
closeCreditAccount(address borroweruint8 closureActionTypeuint256 totalValueaddress payeraddress touint256 skipTokenMaskbool convertWETHreturns (uint256 remainingFunds)
disableToken(address creditAccountaddress tokenreturns (bool)
executeOrder(address borroweraddress targetContractbytes datareturns (bytes)
fastCollateralCheck(address creditAccountaddress tokenInaddress tokenOutuint256 balanceInBeforeuint256 balanceOutBefore
fullCollateralCheck(address creditAccount
manageDebt(address creditAccountuint256 amountbool increasereturns (uint256 newBorrowedAmount)
openCreditAccount(uint256 borrowedAmountaddress onBehalfOfreturns (address)
pause(
removeEmergencyLiquidator(address liquidator
setConfigurator(address _creditConfigurator
setForbidMask(uint256 _forbidMask
setLiquidationThreshold(address tokenuint16 liquidationThreshold
setMaxEnabledTokens(uint8 newMaxEnabledTokens
setParams(uint16 _feeInterestuint16 _feeLiquidationuint16 _liquidationDiscountuint16 _feeLiquidationExpireduint16 _liquidationDiscountExpired
transferAccountOwnership(address fromaddress to
unpause(
upgradeCreditFacade(address _creditFacade
upgradePriceOracle(address _priceOracle
Events
ExecuteOrder(address indexed borroweraddress indexed target
NewConfigurator(address indexed newConfigurator
Paused(address account
Unpaused(address account
Constructor
constructor(address _pool
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AdaptersOrCreditFacadeOnlyException(
AllowanceFailedException(
CallerNotPausableAdminException(
CallerNotUnPausableAdminException(
CreditConfiguratorOnlyException(
CreditFacadeOnlyException(
HasNoOpenedAccountException(
NotEnoughCollateralException(
ReentrancyLockException(
TargetContractNotAllowedException(
TokenAlreadyAddedException(
TokenNotAllowedException(
TooManyEnabledTokensException(
TooManyTokensException(
ZeroAddressException(
ZeroAddressOrUserAlreadyHasAccountException(