CreditFilter
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
0xcf64…3be0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "CreditFilter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CreditFilter"
ABI
ABI objects
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 from, address to) view returns (bool)
allowedAdapters(address) view returns (bool)
allowedContracts(uint256 i) view returns (address)
allowedPlugins(address) view returns (bool)
allowedTokens(uint256) view returns (address)
calcCreditAccountAccruedInterest(address creditAccount) view returns (uint256)
calcCreditAccountHealthFactor(address creditAccount) view returns (uint256)
calcMaxPossibleDrop(uint256 percentage, uint256 times) pure returns (uint256 value)
calcThresholdWeightedValue(address creditAccount) view returns (uint256 total)
calcTotalValue(address creditAccount) view returns (uint256 total)
contractToAdapter(address) view returns (address)
enabledTokens(address) view returns (uint256)
fastCheckCounter(address) view returns (uint256)
getCreditAccountTokenById(address creditAccount, uint256 id) view returns (address token, uint256 balance, uint256 tv, uint256 tvw)
isTokenAllowed(address) view returns (bool)
liquidationThresholds(address) view returns (uint256)
revertIfAccountTransferIsNotAllowed(address owner, address newOwner) view
revertIfCantIncreaseBorrowing(address creditAccount, uint256 minHealthFactor) view
revertIfTokenNotAllowed(address token) view
tokenMasksMap(address) view returns (uint256)
State-modifying
Events allowContract(address targetContract, address adapter)
allowPlugin(address plugin, bool state)
allowToken(address token, uint256 liquidationThreshold)
approveAccountTransfers(address from, bool state)
checkAndEnableToken(address creditAccount, address token)
checkCollateralChange(address creditAccount, address tokenIn, address tokenOut, uint256 amountIn, uint256 amountOut)
checkMultiTokenCollateral(address creditAccount, uint256[] amountIn, uint256[] amountOut, address[] tokenIn, address[] tokenOut)
connectCreditManager(address _creditManager)
forbidContract(address targetContract)
forbidToken(address token)
initEnabledTokens(address creditAccount)
pause()
setFastCheckParameters(uint256 _chiThreshold, uint256 _hfCheckInterval)
unpause()
updateUnderlyingTokenLiquidationThreshold()
upgradePriceOracle()
ContractAllowed(address indexed protocol, address indexed adapter)
ContractForbidden(address indexed protocol)
NewFastCheckParameters(uint256 chiThreshold, uint256 fastCheckDelay)
Paused(address account)
PriceOracleUpdated(address indexed newPriceOracle)
TokenAllowed(address indexed token, uint256 liquidityThreshold)
TokenForbidden(address indexed token)
TransferAccountAllowed(address indexed from, address indexed to, bool state)
TransferPluginAllowed(address indexed pugin, bool state)
Unpaused(address account)
constructor(address _addressProvider, address _underlyingToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.