CreditManager

Verified contract

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

No balances found for "CreditManager"

0x22863d734bdb431f003d21593831b1a8e7b4dc98d7168f32f039d827aec2c08e
0xeb316f542b98aa82a0f71910fdf41b72f040b0456d7d319710f03b0a78a51d72
0x84f24d448508b3ff89bc03c082530370b1902fd2765f9ef684b0e99daec89a58
From
0x41f9279699c72fcc745e9df6dab2670786092ecdface317643b75061b2ab26ea
0x1a8c6e7df8a6eb29c42763634182330ed95d7508b2802115687fe04d04160cc9
0xf6b92c93e7ae422cd74dd2fb1b19406b79cbf9696385fd24b8632d5cd641da64
0xcb9c886a896813e418f9413b5d8703211429a1a0de19a58e0ffdd21f56f25c82
0x509b44fe4ede197d446eda7b6f82f5ef7e07847ed8b3314870f457006db25031
0x836357f5071cd4d4196215967ae4df1730b7e267e62a991ca522780d339c0037
0x61e98d8016cd67198055040596d4e1d588a596e9abdf68f3a2d994b4a7f2dc0c

Functions
Getter at block 20857830
creditFilter(view returns (address)
0x301e7ed8ac816747a65cf67d8901659e637a4383
defaultSwapContract(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
feeInterest(view returns (uint256)
1000
feeLiquidation(view returns (uint256)
200
liquidationDiscount(view returns (uint256)
9500
maxAmount(view returns (uint256)
125000000000
maxLeverageFactor(view returns (uint256)
300
minAmount(view returns (uint256)
1000000000
minHealthFactor(view returns (uint256)
12400
paused(view returns (bool)
true
poolService(view returns (address)
0x86130bdd69143d8a4e5fc50bf4323d48049e98e4
underlyingToken(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
version(view returns (uint256)
1
wethAddress(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
wethGateway(view returns (address)
0x4f952c4c5415b2609899abdc2f8f352f600d14d6
Read-only
_calcClosePayments(address creditAccountuint256 totalValuebool isLiquidatedview returns (uint256 _borrowedAmountuint256 amountToPooluint256 remainingFundsuint256 profituint256 loss)
_calcClosePaymentsPure(uint256 totalValuebool isLiquidateduint256 borrowedAmountuint256 cumulativeIndexAtCreditAccountOpen_RAYuint256 cumulativeIndexNow_RAYview returns (uint256 _borrowedAmountuint256 amountToPooluint256 remainingFundsuint256 profituint256 loss)
calcRepayAmount(address borrowerbool isLiquidatedview returns (uint256)
creditAccounts(addressview returns (address)
getCreditAccountOrRevert(address borrowerview returns (address)
hasOpenedCreditAccount(address borrowerview returns (bool)
State-modifying
addCollateral(address onBehalfOfaddress tokenuint256 amount
approve(address targetContractaddress token
closeCreditAccount(address tostruct DataTypesExchange[] paths
executeOrder(address borroweraddress targetbytes datareturns (bytes)
increaseBorrowedAmount(uint256 amount
liquidateCreditAccount(address borroweraddress tobool force
openCreditAccount(uint256 amountaddress onBehalfOfuint256 leverageFactoruint256 referralCode
pause(
provideCreditAccountAllowance(address creditAccountaddress targetContractaddress token
repayCreditAccount(address to
repayCreditAccountETH(address borroweraddress toreturns (uint256)
setParams(uint256 _minAmountuint256 _maxAmountuint256 _maxLeverageFactoruint256 _feeInterestuint256 _feeLiquidationuint256 _liquidationDiscount
transferAccountOwnership(address newOwner
unpause(
Events
AddCollateral(address indexed onBehalfOfaddress indexed tokenuint256 value
CloseCreditAccount(address indexed owneraddress indexed touint256 remainingFunds
ExecuteOrder(address indexed borroweraddress indexed target
IncreaseBorrowedAmount(address indexed borroweruint256 amount
LiquidateCreditAccount(address indexed owneraddress indexed liquidatoruint256 remainingFunds
NewParameters(uint256 minAmountuint256 maxAmountuint256 maxLeverageuint256 feeInterestuint256 feeLiquidationuint256 liquidationDiscount
OpenCreditAccount(address indexed senderaddress indexed onBehalfOfaddress indexed creditAccountuint256 amountuint256 borrowAmountuint256 referralCode
Paused(address account
RepayCreditAccount(address indexed owneraddress indexed to
TransferAccount(address indexed oldOwneraddress indexed newOwner
Unpaused(address account
Constructor
constructor(address _addressProvideruint256 _minAmountuint256 _maxAmountuint256 _maxLeverageaddress _poolServiceaddress _creditFilterAddressaddress _defaultSwapContract
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.