CreditFacade
Verified contract
Active on
Ethereum with 33 txns
Slot
XX
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 "CreditFacade"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16388038 | 2 years ago | | | 0 | 0.023909064 | |
| 16388009 | 2 years ago | | | 0 | 0.024508118 | |
| 16179669 | 2 years ago | | | 0 | 0.020372670 | |
| 16179661 | 2 years ago | | | 0 | 0.0041103750 | |
| 16179658 | 2 years ago | | | 0 | 0.021529305 | |
| 16174867 | 2 years ago | | | 0 | 0.0051772000 | |
| 16174864 | 2 years ago | | | 0 | 0.022232880 | |
| 16121561 | 2 years ago | | | 0 | 0.018644020 | |
| 16121530 | 2 years ago | | | 0 | 0.0099672715 | |
| 16121527 | 2 years ago | | | 0 | 0.0067089489 |
ABI
ABI objects
Getter at block 21276824
creditManager() view returns (address)
0xe0bce4460795281d39c91da9b0275bca968293de
degenNFT() view returns (address)
0xb829a5b349b01fc71afe46e50dd6ec0222a6e599
expirable() view returns (bool)
false
getTotalBorrowedInBlock() view returns (uint64 blockLastUpdate, uint128 borrowedInBlock)
(blockLastUpdate=0, borrowedInBlock=0)
limits() view returns (uint128 minBorrowedAmount, uint128 maxBorrowedAmount)
(minBorrowedAmount=75000000000000000000, maxBorrowedAmount=600000000000000000000)
params() view returns (uint128 maxBorrowedAmountPerBlock, bool isIncreaseDebtForbidden, uint40 expirationDate)
(maxBorrowedAmountPerBlock=1200000000000000000000, isIncreaseDebtForbidden=false, expirationDate=0)
underlying() view returns (address)
0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
upgradeableContractsList() view returns (address[])
[]
version() view returns (uint256)
2
wethAddress() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
whitelisted() view returns (bool)
true
Read-only
calcCreditAccountHealthFactor(address creditAccount) view returns (uint256 hf)
calcTotalValue(address creditAccount) view returns (uint256 total, uint256 twv)
hasOpenedCreditAccount(address borrower) view returns (bool)
isTokenAllowed(address token) view returns (bool allowed)
isUpgradeableContract(address addr) view returns (bool)
transfersAllowed(address, address) view returns (bool)
State-modifying
Events addCollateral(address onBehalfOf, address token, uint256 amount) payable
approve(address targetContract, address token, uint256 amount)
approveAccountTransfer(address from, bool state)
closeCreditAccount(address to, uint256 skipTokenMask, bool convertWETH, struct MultiCall[] calls) payable
decreaseDebt(uint256 amount)
enableToken(address token)
increaseDebt(uint256 amount)
liquidateCreditAccount(address borrower, address to, uint256 skipTokenMask, bool convertWETH, struct MultiCall[] calls) payable
liquidateExpiredCreditAccount(address borrower, address to, uint256 skipTokenMask, bool convertWETH, struct MultiCall[] calls) payable
multicall(struct MultiCall[] calls) payable
openCreditAccount(uint256 amount, address onBehalfOf, uint16 leverageFactor, uint16 referralCode) payable
openCreditAccountMulticall(uint256 borrowedAmount, address onBehalfOf, struct MultiCall[] calls, uint16 referralCode) payable
setCreditAccountLimits(uint128 _minBorrowedAmount, uint128 _maxBorrowedAmount)
setExpirationDate(uint40 newExpirationDate)
setIncreaseDebtForbidden(bool _mode)
setLimitPerBlock(uint128 newLimit)
setUpgradeable(address addr, bool addOrRemove)
transferAccountOwnership(address to)
AddCollateral(address indexed onBehalfOf, address indexed token, uint256 value)
CloseCreditAccount(address indexed borrower, address indexed to)
DecreaseBorrowedAmount(address indexed borrower, uint256 amount)
IncreaseBorrowedAmount(address indexed borrower, uint256 amount)
LiquidateCreditAccount(address indexed borrower, address indexed liquidator, address indexed to, uint256 remainingFunds)
LiquidateExpiredCreditAccount(address indexed borrower, address indexed liquidator, address indexed to, uint256 remainingFunds)
MultiCallFinished()
MultiCallStarted(address indexed borrower)
OpenCreditAccount(address indexed onBehalfOf, address indexed creditAccount, uint256 borrowAmount, uint16 referralCode)
TokenDisabled(address indexed borrower, address indexed token)
TokenEnabled(address indexed borrower, address indexed token)
TransferAccount(address indexed oldOwner, address indexed newOwner)
TransferAccountAllowed(address indexed from, address indexed to, bool state)
constructor(address _creditManager, address _degenNFT, bool _expirable)
This contract contains no fallback and receive objects.
AccountTransferNotAllowedException()
ActionProhibitedWithForbiddenTokensException()
AdaptersOrCreditFacadeOnlyException()
AllowanceFailedException()
BalanceLessThanMinimumDesiredException(address arg0)
BorrowAmountOutOfLimitsException()
BorrowedBlockLimitException()
CantLiquidateNonExpiredException()
CantLiquidateWithSuchHealthFactorException()
CantTransferLiquidatableAccountException()
CreditConfiguratorOnlyException()
CreditFacadeOnlyException()
ExpectedBalancesAlreadySetException()
ForbiddenDuringClosureException()
HasNoOpenedAccountException()
IncorrectCallDataException()
IncreaseAndDecreaseForbiddenInOneCallException()
IncreaseDebtForbiddenException()
NotAllowedInWhitelistedMode()
NotAllowedWhenNotExpirableException()
NotEnoughCollateralException()
OpenAccountNotAllowedAfterExpirationException()
ReentrancyLockException()
TargetContractNotAllowedException()
TokenAlreadyAddedException()
TokenNotAllowedException()
TooManyEnabledTokensException()
TooManyTokensException()
UnknownMethodException()
ZeroAddressException()
ZeroAddressOrUserAlreadyHasAccountException()