PoolService

Verified contract

Active on Ethereum with 5,738 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
ERC-20
Value $97,599.61
ERC-20
Value $0.71
 (#0)
ERC-1555
--
ERC-20
--
ERC-20
--
0xd8723e8de54efda511afb6217796cf3063fb4e4c3ce78771e00ba9bae533bad6
0x191e3d88cee20ab7418df645c0d7008aafc0eeddaed68353c6332fda235a48b4
0x864385b07d867b5e1b461666e6f8d798904478abf583d312e006cefb67a46bfe
0x9d141d15e7645de56b4a87ac84a4caf66c5ec28b9f1416d4f48b44e34f914449
0xbbe3efeb0d201966c0d9e5c551f02c8a5ffd7d36ed886768173da9f13847e9cb
0xb48e372caf1f87e8939b12d6afc9eb965f9ab08275a5c3e17adacd8c2e5d9e44
0x398d4521ab8bed03a5801ede1409bb4131664216462e6f7635ccc466c3862aa9
0xdcf2daaf666b927798d0ca5808f08990785c95d58e8e17c0f74a558a477ac3ae
0xa7b87c6affd95086a0ac35d6237b7ac9a2026e54b1580f7a072d09d140532155
0x711d0825956c84de7d5da31857435b0948292ff32b083b60d1a3ab5fb3261059

Functions
Getter at block 21158109
_cumulativeIndex_RAY(view returns (uint256)
1035391295882447749112145565
_expectedLiquidityLU(view returns (uint256)
111215006304
_timestampLU(view returns (uint256)
1728759311
addressProvider(view returns (address)
0xcf64698aff7e5f27a11dff868af228653ba53be0
availableLiquidity(view returns (uint256)
97502104408
borrowAPY_RAY(view returns (uint256)
1761440339973616957142857
calcLinearCumulative_RAY(view returns (uint256)
1035535441124249835134681723
creditManagersCount(view returns (uint256)
2
dieselToken(view returns (address)
0xc411db5f5eb3f7d552f9b8454b2d74097ccde6e3
expectedLiquidity(view returns (uint256)
111217094575
expectedLiquidityLimit(view returns (uint256)
100000000000000
getDieselRate_RAY(view returns (uint256)
1021524822082604647896030262
interestRateModel(view returns (address)
0x5a08d449322c1b4777f7b0cd878a485cc8761fe9
paused(view returns (bool)
false
totalBorrowed(view returns (uint256)
15000000000
treasuryAddress(view returns (address)
0x7b065fcb0760df0cea8cfd144e08554f3cea73d1
underlyingToken(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
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.