PoolService
Verified contract
Active on
Ethereum with 4,250 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xcf64…3be0
0xf096…f06f
Balances ($1,340,715.51)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 376.564229 | $3,560.39 |
$1,340,715.51 | |
Shibgun | ERC-20 | 51.618K | -- | -- | |
HQG | ERC-20 | 0.0001 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19234504 | 9 months ago | | | 0 | 0.0062201130 | |
| 18871743 | a year ago | | | 0 | 0.0027663502 | |
| 18848633 | a year ago | | | 0 | 0.0026372078 | |
| 18797310 | a year ago | | | 0 | 0.0046193346 | |
| 18665346 | a year ago | | | 0 | 0.0045741402 | |
| 18592754 | a year ago | | | 0 | 0.0050604123 | |
| 18552929 | a year ago | | | 0 | 0.0026476447 | |
| 18538154 | a year ago | | | 0 | 0.0043256770 | |
| 18446828 | a year ago | | | 0 | 0.0011328272 | |
| 18435349 | a year ago | | | 0 | 0.0030560710 |
ABI
ABI objects
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 amount, uint256 dAmount, uint256 cumulativeIndexAtOpen) view returns (uint256)
calcLinearIndex_RAY(uint256 cumulativeIndex_RAY, uint256 currentBorrowRate_RAY, uint256 timeDifference) pure returns (uint256)
creditManagers(uint256) view returns (address)
creditManagersCanBorrow(address) view returns (bool)
creditManagersCanRepay(address) view returns (bool)
fromDiesel(uint256 amount) view returns (uint256)
toDiesel(uint256 amount) view returns (uint256)
State-modifying
Events addLiquidity(uint256 amount, address onBehalfOf, uint256 referralCode)
connectCreditManager(address _creditManager)
forbidCreditManagerToBorrow(address _creditManager)
lendCreditAccount(uint256 borrowedAmount, address creditAccount)
pause()
removeLiquidity(uint256 amount, address to) returns (uint256)
repayCreditAccount(uint256 borrowedAmount, uint256 profit, uint256 loss)
setExpectedLiquidityLimit(uint256 newLimit)
setWithdrawFee(uint256 fee)
unpause()
updateInterestRateModel(address _interestRateModel)
AddLiquidity(address indexed sender, address indexed onBehalfOf, uint256 amount, uint256 referralCode)
Borrow(address indexed creditManager, address indexed creditAccount, uint256 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 sender, address indexed to, uint256 amount)
Repay(address indexed creditManager, uint256 borrowedAmount, uint256 profit, uint256 loss)
UncoveredLoss(address indexed creditManager, uint256 loss)
Unpaused(address account)
constructor(address _addressProvider, address _underlyingToken, address _dieselAddress, address _interestRateModelAddress, uint256 _expectedLiquidityLimit)
This contract contains no fallback and receive objects.
This contract contains no error objects.