TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 8 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
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 "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16483299 | 2 years ago | | | 0 | 0.00086395415 | |
| 15717604 | 2 years ago | | | 0 | 0.0027119370 | |
| 15469184 | 2 years ago | | | 0 | 0.00042907539 | |
| 13990916 | 3 years ago | | | 0 | 0.0071199348 | |
| 13959631 | 3 years ago | | | 0 | 0.0073732119 | |
| 13959627 | 3 years ago | | | 0 | 0.012979236 | |
| 13954897 | 3 years ago | | | 0 | 0.021216690 | |
| 13954700 | 3 years ago | | | 0 | 0.0046917000 |
ABI
ABI objects
Getter at block 21399738
MAX_BPS() view returns (uint256)
10000
VERSION() view returns (string)
5.0.0
externalDepositFee() view returns (uint256)
0
getStrategies() view returns (address[])
[0xa609820289b0E976B43583b292f21B883563e20E]
getWithdrawQueue() view returns (address[])
[0xa609820289b0E976B43583b292f21B883563e20E]
pool() view returns (address)
0x252c805e999115158174dfc997bf5c1342aadff2
totalDebt() view returns (uint256)
2269
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 admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
constructor(address initialLogic, address initialAdmin, bytes _data)
fallback()
receive()
This contract contains no error objects.