PoolService

Verified contract

Active on Ethereum with 1,865 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
ERC-20
Value $184,477.04
ERC-20
--
ERC-20
--
0x184e84dc247ebf1d126ffcc62e318a1d2231c4de3eeb4594ca8c3a241b40232c
0xb4f966b8da89d338a4e6acc195ee49a5f6deb1f77507de5c40b0550c21a7192d
0x3442a26bd4a1ad3e5c965cd730709b6eeb955f1755b95c6de7427a68211bcaaa
0xc52a21ffe2cea20a06c8a84b4565a7b62fe7a7f1a3f62178b4b97c9657878aed
0x8b9a313ce678c1353b636535c52ec7ae7bd2cbc94dab60a145494f4b93e9e49b
0x63036e48d28aabf2fb78276ae0ff42598b314f2ea7d0bf837da37b33fc608b3e
0x19479915ca94181f20f93dacc7857d72b973b184137c23e9d650cd7ccc77e63b
0x7f85a5168d47b3e58793ed77350451dda22156ba57e1f6aa6dc00790cdfbba97
0x8489b1c6e2467508d02dba6c510621ff3a5446e3c2e0d8362cde8a96d2414e20
0xddbe7b79998faec4749ff8294c0442fa15cfd1c1efc035dd61ebbc6e21e0e5fb

Functions
Getter at block 21294828
_cumulativeIndex_RAY(view returns (uint256)
1001996563077502392826642215
_expectedLiquidityLU(view returns (uint256)
198225658
_timestampLU(view returns (uint256)
1732634915
addressProvider(view returns (address)
0xcf64698aff7e5f27a11dff868af228653ba53be0
availableLiquidity(view returns (uint256)
190006216
borrowAPY_RAY(view returns (uint256)
1184716460873092400000000
calcLinearCumulative_RAY(view returns (uint256)
1002006587323999418354449274
creditManagersCount(view returns (uint256)
2
dieselToken(view returns (address)
0xe753260f1955e8678dcea8887759e07aa57e8c54
expectedLiquidity(view returns (uint256)
198225740
expectedLiquidityLimit(view returns (uint256)
500000000000
getDieselRate_RAY(view returns (uint256)
1000091964223838297309337095
interestRateModel(view returns (address)
0xf0966d9094334fee8e423c49628d9d06343af06f
paused(view returns (bool)
false
totalBorrowed(view returns (uint256)
8205189
treasuryAddress(view returns (address)
0x7b065fcb0760df0cea8cfd144e08554f3cea73d1
underlyingToken(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
version(view returns (uint256)
1
withdrawFee(view returns (uint256)
0
Read-only
calcCumulativeIndexAtBorrowMore(uint256 amountuint256 dAmountuint256 cumulativeIndexAtOpenview returns (uint256)
calcLinearIndex_RAY(uint256 cumulativeIndex_RAYuint256 currentBorrowRate_RAYuint256 timeDifferencepure returns (uint256)
creditManagers(uint256view returns (address)
creditManagersCanBorrow(addressview returns (bool)
creditManagersCanRepay(addressview returns (bool)
fromDiesel(uint256 amountview returns (uint256)
toDiesel(uint256 amountview returns (uint256)
State-modifying
addLiquidity(uint256 amountaddress onBehalfOfuint256 referralCode
connectCreditManager(address _creditManager
forbidCreditManagerToBorrow(address _creditManager
lendCreditAccount(uint256 borrowedAmountaddress creditAccount
pause(
removeLiquidity(uint256 amountaddress toreturns (uint256)
repayCreditAccount(uint256 borrowedAmountuint256 profituint256 loss
setExpectedLiquidityLimit(uint256 newLimit
setWithdrawFee(uint256 fee
unpause(
updateInterestRateModel(address _interestRateModel
Events
AddLiquidity(address indexed senderaddress indexed onBehalfOfuint256 amountuint256 referralCode
Borrow(address indexed creditManageraddress indexed creditAccountuint256 amount
BorrowForbidden(address indexed creditManager
NewCreditManagerConnected(address indexed creditManager
NewExpectedLiquidityLimit(uint256 newLimit
NewInterestRateModel(address indexed newInterestRateModel
NewWithdrawFee(uint256 fee
Paused(address account
RemoveLiquidity(address indexed senderaddress indexed touint256 amount
Repay(address indexed creditManageruint256 borrowedAmountuint256 profituint256 loss
UncoveredLoss(address indexed creditManageruint256 loss
Unpaused(address account
Constructor
constructor(address _addressProvideraddress _underlyingTokenaddress _dieselAddressaddress _interestRateModelAddressuint256 _expectedLiquidityLimit
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.