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 21212432
MAX_BPS() view returns (uint256)
10000
VERSION() view returns (string)
5.0.0
externalDepositFee() view returns (uint256)
0
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, uint256 externalDepositFee)
totalDebtOf(address _strategy) view returns (uint256)
withdrawQueue(uint256) view returns (address)
State-modifying
Events addStrategy(address _strategy, uint256 _debtRatio, uint256 _externalDepositFee)
decreaseDebt(address _strategy, uint256 _decreaseBy)
init(address _pool)
migrateStrategy(address _old, address _new)
recalculatePoolExternalDepositFee()
removeStrategy(uint256 _index)
reportEarning(address _strategy, uint256 _profit, uint256 _loss, uint256 _payback) returns (uint256 _actualPayback, uint256 _creditLine)
reportLoss(address _strategy, uint256 _loss)
setup()
sweepERC20(address _fromToken)
updateDebtRatio(address _strategy, uint256 _debtRatio)
updateExternalDepositFee(address _strategy, uint256 _externalDepositFee)
updateWithdrawQueue(address[] _withdrawQueue)
EarningReported(address indexed strategy, uint256 profit, uint256 loss, uint256 payback, uint256 strategyDebt, uint256 poolDebt, uint256 creditLine)
LossReported(address indexed strategy, uint256 loss)
StrategyAdded(address indexed strategy, uint256 debtRatio, uint256 externalDepositFee)
StrategyMigrated(address indexed oldStrategy, address indexed newStrategy)
StrategyRemoved(address indexed strategy)
UpdatedExternalDepositFee(address indexed strategy, uint256 oldFee, uint256 newFee)
UpdatedPoolExternalDepositFee(uint256 oldFee, uint256 newFee)
UpdatedStrategyDebtRatio(address indexed strategy, uint256 oldDebtRatio, uint256 newDebtRatio)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.