CreditManager

Verified contract

Active on Ethereum with 1,235 txns
Deployed by via 0xddcbd743 at 13854993
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CreditManager"

0x300ca6ac7b24256a6738fa83d372b7d538a3cb2ab896534708777d74cc83c24e
0x7c98b15155204d79f706aa8d235e65b48da52a94ae513775f5f1feaf9745d67d
0x556b7dafecbb665bbda0934b0491debd0ce4f7fd3f701d0fc9db32640328ac24
0x7b9ff5f0a6e0b7941c5008bb3bba01a34215d47814d49461bff3dbfb946d6c9c
0x6d64fc2a78e44120f79a74b0d7198f40853636def27587e7e565562e87815a21
0x229ca4eaddeb122838f0134e8a835cd04eebd53c63438e8e6a51ccff1b5e733c
0x67b18b9e33bfd46e2d10474c99278cdf3fe21e0b62028b8b2d4457b95fa05058
0xaa05270db7c33eef534b3645c7f6640ceefb3f826efdd0a525cf64da3e0320fb
From
0x556356d23e88145c92c6e468b975ca72396f45ceefd67d47c6c139986c109ca9
0x57dc88bef7c042a91203232b0721b24dbce4d97613e9f1b722d356d8f88be66b
From

Functions
Getter at block 21161136
creditFilter(view returns (address)
0x790d170c12e62ada6cd2d409a50177680c4ddf29
defaultSwapContract(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
feeInterest(view returns (uint256)
1000
feeLiquidation(view returns (uint256)
200
liquidationDiscount(view returns (uint256)
9500
maxAmount(view returns (uint256)
31250000000000000000
maxLeverageFactor(view returns (uint256)
300
minAmount(view returns (uint256)
300000000000000000
minHealthFactor(view returns (uint256)
12400
paused(view returns (bool)
true
poolService(view returns (address)
0xb03670c20f87f2169a7c4ebe35746007e9575901
underlyingToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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.