StrategyHandler

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xeaaf6a7e at 16668996
Slot
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

No balances found for "StrategyHandler"

No transactions found for "StrategyHandler"


Functions
Getter at block 21081705
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
getAllAssetActiveIds(view returns (uint256[])
[]
getCurrentDeployed(view returns (uint256[] amounts)
[]
getLatestDeployed(view returns (uint256[] amounts)
[]
gnosis(view returns (address)
0x0000000000000000000000000000000000000000
lastDirectionId(view returns (uint256)
0
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(stringview returns (uint256)
getAssetActiveIds(uint256 _assetIdview returns (uint256[])
getAssetAmount(uint256 _idview returns (uint256)
getAssetIdByDirectionId(uint256 _idview returns (uint256)
getDirectionFullInfoById(uint256 _idview returns (addressstruct StrategyHandlerLiquidityDirection)
getDirectionIdByName(string _codeNameview returns (uint256)
getDirectionLatestAmount(uint256 _idview returns (uint256)
getLiquidityDirectionById(uint256 _idview returns (struct StrategyHandlerLiquidityDirection)
getLiquidityDirectionByName(string _codeNameview returns (uint256addressstruct StrategyHandlerLiquidityDirection)
getPrimaryTokenByAssetId(uint256 _iduint256 _chainIdview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
liquidityDirection(uint256view returns (address strategyAddressaddress entryTokenuint256 assetIduint256 chainIdbytes entryDatabytes exitDatabytes rewardsDatauint256 latestAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addLiquidityDirection(string _codeNameaddress _strategyAddressaddress _entryTokenuint256 _assetIduint256 _chainIdbytes _entryDatabytes _exitDatabytes _rewardsData
addToActiveDirections(uint256 _directionId
adjustTreasury(int256 _delta
calculateAll(
calculateOnlyLp(
changeAssetInfo(uint256 _assetIduint256[] _chainIdsaddress[] _chainIdToPrimaryTokenaddress _ibAlluo
changeNumberOfAssets(uint8 _newNumber
changeUpgradeStatus(bool _status
grantRole(bytes32 roleaddress account
initialize(address _multiSigWalletaddress _priceFeedaddress _executor
removeFromActiveDirections(uint256 _directionId
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAssetAmount(uint256 _iduint256 amount
setBoosterAddress(address _newBooster
setExchangeAddress(address _newExchange
setExecutorAddress(address _newExecutor
setGnosis(address _gnosisAddress
setLastDirectionId(uint256 _newNumber
setLiquidityDirection(string _codeNameuint256 _directionIdaddress _strategyAddressaddress _entryTokenuint256 _assetIduint256 _chainIdbytes _entryDatabytes _exitDatabytes _rewardsData
updateLastTime(
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Upgraded(address indexed implementation
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.