diff --git a/contracts/IContractManager.sol b/contracts/IContractManager.sol index 9fd11a5..9d8bf2d 100644 --- a/contracts/IContractManager.sol +++ b/contracts/IContractManager.sol @@ -20,6 +20,7 @@ */ pragma solidity >=0.6.10 <0.9.0; + interface IContractManager { /** * @dev Emitted when contract is upgraded. @@ -27,6 +28,7 @@ interface IContractManager { event ContractUpgraded(string contractsName, address contractsAddress); function setContractsAddress(string calldata contractsName, address newContractsAddress) external; + function contracts(bytes32 nameHash) external view returns (address); function getDelegationPeriodManager() external view returns (address); function getBounty() external view returns (address); function getValidatorService() external view returns (address);