PoolAccountant
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PoolAccountant"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PoolAccountant"
ABI
ABI objects
Getter at block 21405448
MAX_BPS() view returns (uint256)
10000
VERSION() view returns (string)
3.0.5
getStrategies() view returns (address[])
[]
getWithdrawQueue() view returns (address[])
[]
pool() view returns (address)
0x0000000000000000000000000000000000000000
totalDebt() view returns (uint256)
0
totalDebtRatio() view returns (uint256)
0
Read-only
availableCreditLimit(address _strategy) view returns (uint256)
excessDebt(address _strategy) view returns (uint256)
strategies(uint256) view returns (address)
strategy(address) view returns (bool active, uint256 interestFee, uint256 debtRate, uint256 lastRebalance, uint256 totalDebt, uint256 totalLoss, uint256 totalProfit, uint256 debtRatio)
totalDebtOf(address _strategy) view returns (uint256)
withdrawQueue(uint256) view returns (address)
State-modifying
Events addStrategy(address _strategy, uint256 _interestFee, uint256 _debtRatio, uint256 _debtRate)
decreaseDebt(address _strategy, uint256 _decreaseBy)
init(address _pool)
migrateStrategy(address _old, address _new)
removeStrategy(uint256 _index)
reportEarning(address _strategy, uint256 _profit, uint256 _loss, uint256 _payback) returns (uint256 _actualPayback, uint256 _creditLine, uint256 _fee)
reportLoss(address _strategy, uint256 _loss)
sweepERC20(address _fromToken)
updateDebtRate(address _strategy, uint256 _debtRate)
updateDebtRatio(address _strategy, uint256 _debtRatio)
updateInterestFee(address _strategy, uint256 _interestFee)
updateWithdrawQueue(address[] _withdrawQueue)
EarningReported(address indexed strategy, uint256 profit, uint256 loss, uint256 payback, uint256 strategyDebt, uint256 poolDebt, uint256 creditLine)
StrategyAdded(address indexed strategy, uint256 interestFee, uint256 debtRatio, uint256 debtRate)
StrategyMigrated(address indexed oldStrategy, address indexed newStrategy, uint256 interestFee, uint256 debtRatio, uint256 debtRate)
UpdatedInterestFee(address indexed strategy, uint256 interestFee)
UpdatedStrategyDebtParams(address indexed strategy, uint256 debtRatio, uint256 debtRate)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.