PoolAccountant

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xad0ad054 at 14837465
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "PoolAccountant"

No transactions found for "PoolAccountant"


Functions
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 _strategyview returns (uint256)
excessDebt(address _strategyview returns (uint256)
strategies(uint256view returns (address)
strategy(addressview returns (bool activeuint256 interestFeeuint256 debtRateuint256 lastRebalanceuint256 totalDebtuint256 totalLossuint256 totalProfituint256 debtRatiouint256 externalDepositFee)
totalDebtOf(address _strategyview returns (uint256)
withdrawQueue(uint256view returns (address)
State-modifying
addStrategy(address _strategyuint256 _debtRatiouint256 _externalDepositFee
decreaseDebt(address _strategyuint256 _decreaseBy
init(address _pool
migrateStrategy(address _oldaddress _new
recalculatePoolExternalDepositFee(
removeStrategy(uint256 _index
reportEarning(address _strategyuint256 _profituint256 _lossuint256 _paybackreturns (uint256 _actualPaybackuint256 _creditLine)
reportLoss(address _strategyuint256 _loss
setup(
sweepERC20(address _fromToken
updateDebtRatio(address _strategyuint256 _debtRatio
updateExternalDepositFee(address _strategyuint256 _externalDepositFee
updateWithdrawQueue(address[] _withdrawQueue
Events
EarningReported(address indexed strategyuint256 profituint256 lossuint256 paybackuint256 strategyDebtuint256 poolDebtuint256 creditLine
LossReported(address indexed strategyuint256 loss
StrategyAdded(address indexed strategyuint256 debtRatiouint256 externalDepositFee
StrategyMigrated(address indexed oldStrategyaddress indexed newStrategy
StrategyRemoved(address indexed strategy
UpdatedExternalDepositFee(address indexed strategyuint256 oldFeeuint256 newFee
UpdatedPoolExternalDepositFee(uint256 oldFeeuint256 newFee
UpdatedStrategyDebtRatio(address indexed strategyuint256 oldDebtRatiouint256 newDebtRatio
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.