StrategyHandlerFinal
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "StrategyHandlerFinal"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StrategyHandlerFinal"
ABI
ABI objects
Getter at block 21081702
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADER_ROLE() view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
booster() view returns (address)
0x0000000000000000000000000000000000000000
exchangeAddress() view returns (address)
0x0000000000000000000000000000000000000000
executor() view returns (address)
0x0000000000000000000000000000000000000000
getCurrentDeployed() view returns (uint256[] amounts)
[]
getLatestDeployed() view returns (uint256[] amounts)
[]
gnosis() view returns (address)
0x0000000000000000000000000000000000000000
lastTimeCalculated() view returns (uint256)
0
numberOfAssets() view returns (uint8)
0
priceFeed() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
upgradeStatus() view returns (bool)
false
Read-only
directionNameToId(string) view returns (uint256)
getAssetAmount(uint256 _id) view returns (uint256)
getAssetIdByDirectionId(uint256 _id) view returns (uint256)
getDirectionFullInfoById(uint256 _id) view returns (address, struct StrategyHandlerFinalLiquidityDirection)
getDirectionIdByName(string _codeName) view returns (uint256)
getDirectionLatestAmount(uint256 _id) view returns (uint256)
getLiquidityDirectionById(uint256 _id) view returns (struct StrategyHandlerFinalLiquidityDirection)
getLiquidityDirectionByName(string _codeName) view returns (uint256, address, struct StrategyHandlerFinalLiquidityDirection)
getPrimaryTokenByAssetId(uint256 _id, uint256 _chainId) view returns (address)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
liquidityDirection(uint256) view returns (address strategyAddress, address entryToken, uint256 assetId, uint256 chainId, bytes entryData, bytes exitData, bytes rewardsData, uint256 latestAmount)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addToActiveDirections(uint256 _directionId)
adjustTreasury(int256 _delta)
calculateAll()
calculateOnlyLp()
changeAssetInfo(uint256 _assetId, uint256[] _chainIds, address[] _chainIdToPrimaryToken, address _ibAlluo)
changeNumberOfAssets(uint8 _newNumber)
changeUpgradeStatus(bool _status)
grantRole(bytes32 role, address account)
initialize(address _multiSigWallet, address _priceFeed, address _executor)
removeFromActiveDirections(uint256 _directionId)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAssetAmount(uint256 _id, uint256 amount)
setBoosterAddress(address _newBooster)
setExchangeAddress(address _newExchange)
setExecutorAddress(address _newExecutor)
setGnosis(address _gnosisAddress)
setLiquidityDirection(string _codeName, uint256 _directionId, address _strategyAddress, address _entryToken, uint256 _assetId, uint256 _chainId, bytes _entryData, bytes _exitData, bytes _rewardsData)
updateLastTime()
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Initialized(uint8 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.