CreditFilter

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0xe2053a81 at 13854995
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "CreditFilter"

No transactions found for "CreditFilter"


Functions
Getter at block 21067709
addressProvider(view returns (address)
0xcf64698aff7e5f27a11dff868af228653ba53be0
allowedContractsCount(view returns (uint256)
6
allowedTokensCount(view returns (uint256)
22
chiThreshold(view returns (uint256)
9950
creditManager(view returns (address)
0xc38478b0a4bafe964c3526eeff534d70e1e09017
hfCheckInterval(view returns (uint256)
4
paused(view returns (bool)
false
poolService(view returns (address)
0xb2a015c71c17bcac6af36645dead8c572ba08a08
priceOracle(view returns (address)
0x0e74a08443c5e39108520589176ac12ef65ab080
underlyingToken(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
version(view returns (uint256)
1
wethAddress(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowanceForAccountTransfers(address fromaddress toview returns (bool)
allowedAdapters(addressview returns (bool)
allowedContracts(uint256 iview returns (address)
allowedPlugins(addressview returns (bool)
allowedTokens(uint256view returns (address)
calcCreditAccountAccruedInterest(address creditAccountview returns (uint256)
calcCreditAccountHealthFactor(address creditAccountview returns (uint256)
calcMaxPossibleDrop(uint256 percentageuint256 timespure returns (uint256 value)
calcThresholdWeightedValue(address creditAccountview returns (uint256 total)
calcTotalValue(address creditAccountview returns (uint256 total)
contractToAdapter(addressview returns (address)
enabledTokens(addressview returns (uint256)
fastCheckCounter(addressview returns (uint256)
getCreditAccountTokenById(address creditAccountuint256 idview returns (address tokenuint256 balanceuint256 tvuint256 tvw)
isTokenAllowed(addressview returns (bool)
liquidationThresholds(addressview returns (uint256)
revertIfAccountTransferIsNotAllowed(address owneraddress newOwnerview 
revertIfCantIncreaseBorrowing(address creditAccountuint256 minHealthFactorview 
revertIfTokenNotAllowed(address tokenview 
tokenMasksMap(addressview returns (uint256)
State-modifying
allowContract(address targetContractaddress adapter
allowPlugin(address pluginbool state
allowToken(address tokenuint256 liquidationThreshold
approveAccountTransfers(address frombool state
checkAndEnableToken(address creditAccountaddress token
checkCollateralChange(address creditAccountaddress tokenInaddress tokenOutuint256 amountInuint256 amountOut
checkMultiTokenCollateral(address creditAccountuint256[] amountInuint256[] amountOutaddress[] tokenInaddress[] tokenOut
connectCreditManager(address _creditManager
forbidContract(address targetContract
forbidToken(address token
initEnabledTokens(address creditAccount
pause(
setFastCheckParameters(uint256 _chiThresholduint256 _hfCheckInterval
unpause(
updateUnderlyingTokenLiquidationThreshold(
upgradePriceOracle(
Events
ContractAllowed(address indexed protocoladdress indexed adapter
ContractForbidden(address indexed protocol
NewFastCheckParameters(uint256 chiThresholduint256 fastCheckDelay
Paused(address account
PriceOracleUpdated(address indexed newPriceOracle
TokenAllowed(address indexed tokenuint256 liquidityThreshold
TokenForbidden(address indexed token
TransferAccountAllowed(address indexed fromaddress indexed tobool state
TransferPluginAllowed(address indexed puginbool state
Unpaused(address account
Constructor
constructor(address _addressProvideraddress _underlyingToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.