StrategySplitterV2
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
36
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Balances ($0.00)
No balances found for "StrategySplitterV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StrategySplitterV2"
ABI
ABI objects
Getter at block 23220689 maxCheapWithdraw() view returns (uint256) totalAssets() view returns (uint256)
APR_DENOMINATOR() view returns (uint256)
100000
CONTROLLABLE_VERSION() view returns (string)
3.0.1
HARDWORK_DELAY() view returns (uint256)
43200
HARDWORK_LOSS_TOLERANCE() view returns (uint256)
500
HISTORY_DEEP() view returns (uint256)
3
INVEST_LOSS_TOLERANCE() view returns (uint256)
500
SPLITTER_VERSION() view returns (string)
2.1.2
TIME_LOCK() view returns (uint256)
64800
WITHDRAW_LOSS_TOLERANCE() view returns (uint256)
500
allStrategies() view returns (address[])
[]
asset() view returns (address)
0x0000000000000000000000000000000000000000
controller() view returns (address)
0x0000000000000000000000000000000000000000
created() view returns (uint256)
0
createdBlock() view returns (uint256)
0
isHardWorking() view returns (bool)
false
previousImplementation() view returns (address)
0x0000000000000000000000000000000000000000
revision() view returns (uint256)
0
scheduledStrategies() view returns (address[] _strategies, uint256[] locks)
(_strategies=[], locks=[])
strategiesLength() view returns (uint256)
0
vault() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
averageApr(address strategy) view returns (uint256)
computeApr(uint256 tvl, uint256 earned, uint256 duration) pure returns (uint256)
getSlot(uint256 slot) view returns (bytes32 result)
getStrategyCapacity(address strategy) view returns (uint256 capacity)
isController(address _value) view returns (bool)
isGovernance(address _value) view returns (bool)
isValidStrategy(address) view returns (bool)
lastHardWorks(address) view returns (uint256)
pausedStrategies(address) view returns (bool)
strategies(uint256) view returns (address)
strategiesAPR(address) view returns (uint256)
strategiesAPRHistory(address, uint256) view returns (uint256)
strategyAPRHistoryLength(address strategy) view returns (uint256)
strategyCapacity(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addStrategies(address[] _strategies, uint256[] expectedAPR, uint256[] capacities)
continueInvesting(address strategy, uint256 apr)
coverPossibleStrategyLoss(uint256 earned, uint256 lost)
doHardWork()
doHardWorkForStrategy(address strategy, bool push)
increaseRevision(address oldLogic)
init(address controller_, address _asset, address _vault)
investAll()
pauseInvesting(address strategy)
rebalance(uint256 percent, uint256 lossTolerance)
refreshValidStrategies()
removeScheduledStrategies(address[] _strategies)
removeStrategies(address[] strategies_)
scheduleStrategies(address[] _strategies)
setAPRs(address[] _strategies, uint256[] aprs)
setStrategyCapacity(address strategy, uint256 capacity)
withdrawAllToVault()
withdrawToVault(uint256 amount)
ContinueInvesting(address strategy, uint256 apr, address sender)
ContractInitialized(address controller, uint256 ts, uint256 block)
HardWork(address sender, address strategy, uint256 tvl, uint256 earned, uint256 lost, uint256 apr, uint256 avgApr)
Initialized(uint8 version)
InvestFailed(string error)
Invested(address strategy, uint256 amount)
Loss(address strategy, uint256 amount)
ManualAprChanged(address sender, address strategy, uint256 newApr, uint256 oldApr)
Paused(address strategy, address sender)
Rebalance(address topStrategy, address lowStrategy, uint256 percent, uint256 strategyLossOnWithdraw, uint256 strategyLossOnInvest, uint256 lowStrategyBalance)
RevisionIncreased(uint256 value, address oldLogic)
ScheduledStrategyRemove(address strategy)
SetStrategyCapacity(address strategy, uint256 capacity)
StrategyAdded(address strategy, uint256 apr)
StrategyRemoved(address strategy)
StrategyScheduled(address strategy, uint256 startTime, uint256 timeLock)
WithdrawFromStrategy(address strategy)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.