StrategyControllerV2
Verified contract
Active on
Ethereum with 6 txns
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 "StrategyControllerV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11955895 | 4 years ago | | | 0 | 0.082905143 | |
| 11922561 | 4 years ago | | | 0 | 0.029210400 | |
| 11922559 | 4 years ago | | | 0 | 0.010279800 | |
| 11922557 | 4 years ago | | | 0 | 0.0073222500 | |
| 11922555 | 4 years ago | | | 0 | 0.0073222500 | |
| 11922554 | 4 years ago | | | 0 | 0.0073222500 |
ABI
ABI objects
Getter at block 21307371
globalInvestEnabled() view returns (bool)
true
investEnabled() view returns (bool)
false
maxStrategies() view returns (uint256)
10
vaultManager() view returns (address)
0x443ed48f975e02ea67ca0d2be0b4d4806d1e31f2
Read-only
balanceOf(address _token) view returns (uint256 _balance)
converters(address, address) view returns (address)
getBestStrategyEarn(address _token, uint256 _amount) view returns (address _strategy)
getBestStrategyWithdraw(address _token, uint256 _amount) view returns (address[] _strategies, uint256[] _amounts)
getCap(address _token, address _strategy) view returns (uint256)
strategies(address _token) view returns (address[])
strategyTokens(address) view returns (address)
vaultTokens(address) view returns (address)
vaults(address) view returns (address)
want(address _token) view returns (address)
withdrawFee(address, uint256 _amount) view returns (uint256 _fee)
State-modifying
Events addStrategy(address _token, address _strategy, uint256 _cap, address _converter, bool _canHarvest, uint256 _timeout)
claimInsurance(address _vault)
earn(address _token, uint256 _amount)
harvestStrategy(address _strategy)
inCaseStrategyGetStuck(address _strategy, address _token)
inCaseTokensGetStuck(address _token, uint256 _amount)
removeStrategy(address _token, address _strategy, uint256 _timeout)
reorderStrategies(address _token, address _strategy1, address _strategy2)
setCap(address _token, address _strategy, uint256 _cap)
setConverter(address _input, address _output, address _converter)
setInvestEnabled(bool _investEnabled)
setMaxStrategies(uint256 _maxStrategies)
setVault(address _token, address _vault)
setVaultManager(address _vaultManager)
withdraw(address _token, uint256 _amount)
withdrawAll(address _strategy)
Earn(address indexed strategy)
Harvest(address indexed strategy)
InsuranceClaimed(address indexed vault)
SetConverter(address input, address output, address converter)
SetVaultManager(address vaultManager)
StrategiesReordered(address indexed token, address indexed strategy1, address indexed strategy2)
StrategyAdded(address indexed token, address indexed strategy, uint256 cap)
StrategyRemoved(address indexed token, address indexed strategy)
constructor(address _vaultManager)
This contract contains no fallback and receive objects.
This contract contains no error objects.