PoolService

Verified contract

Active on Ethereum with 4,250 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
ERC-20
Value $1,340,715.51
ERC-20
--
ERC-20
--
0x84a668cc2c59b6dd0139cac648928c58cea5302850bfc657b142cd30cd471ed6
0xebff0f24815a12798087e54434cf8158189b06295ad6f43b582535d2ae91d1e9
0x532a5de8b98dca3dc4e8390ebc02d3d6b769cd760e8390dec1612c534e38e1c8
0xddaff81ca13159d42135dfa76071ef4e6e0f61958c715ebb5aca7819be3acd05
0xc36a537131f0d2a478b9672a07260fa05f468f14a243ae7eb5211e577ccfaaf6
0xff2191cc5f7c7986903461db3c6ea114972f962e6dc09167bc7fbe42429d4355
0x8c2296c49f858f3e5799ecddc8275bb35e2173ed4faf833abc184f2b76d7ae95
0x927f2931cf3ad0f0caf21b32b1a04da4d1665b52f7ad36487ea90323f83fefe6
0x6b1f5261303851b0433f469015aa8d4ef78e9851e1c8595879ed85a61b429c2e
0xbcb78fe4627b84175bd1b58059dceab4b0ffd70a240c3838bd1a2798a146ee6c

Functions
Getter at block 21288555
_cumulativeIndex_RAY(view returns (uint256)
1055985367300743685904145637
_expectedLiquidityLU(view returns (uint256)
396643057191887090798
_timestampLU(view returns (uint256)
1732283363
addressProvider(view returns (address)
0xcf64698aff7e5f27a11dff868af228653ba53be0
availableLiquidity(view returns (uint256)
376564228881123373040
borrowAPY_RAY(view returns (uint256)
1446340225744653171428571
calcLinearCumulative_RAY(view returns (uint256)
1056011616995040010869240517
creditManagersCount(view returns (uint256)
3
dieselToken(view returns (address)
0xf21fc650c1b34eb0fde786d52d23da99db3d6278
expectedLiquidity(view returns (uint256)
396643572796720220372
expectedLiquidityLimit(view returns (uint256)
100000000000000000000000
getDieselRate_RAY(view returns (uint256)
1041859573802352910982411129
interestRateModel(view returns (address)
0xf0966d9094334fee8e423c49628d9d06343af06f
paused(view returns (bool)
false
totalBorrowed(view returns (uint256)
20742000000000000000
treasuryAddress(view returns (address)
0x7b065fcb0760df0cea8cfd144e08554f3cea73d1
underlyingToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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.