CreditManager

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0xb86c5438 at 15840085
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 20910059
_accountFactory(view returns (address)
0x444cd42baeddeb707eed823f7177b9abcc779c04
_acl(view returns (address)
0x523da3a8961e4dd4f6206dbf7e6c749f51796bb3
collateralTokensCount(view returns (uint256)
43
creditConfigurator(view returns (address)
0xea3b73341a91e5c661cbd54cf80db3458ff05c6f
creditFacade(view returns (address)
0xc9e3453e212a13169aaa66aa39dcce82ae6966b7
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)
0xb03670c20f87f2169a7c4ebe35746007e9575901
poolService(view returns (address)
0xb03670c20f87f2169a7c4ebe35746007e9575901
priceOracle(view returns (address)
0x6385892acb085eaa24b745a712c9e682d80ff681
underlying(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
universalAdapter(view returns (address)
0xced75810d1f0e3a977651b162f6e2d6f7a6a7572
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(