Missing function

This commit is contained in:
Richard Ramos 2018-11-26 09:12:49 -04:00
parent f874a91308
commit 544706c972
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,12 @@ contract Controlled {
controller = msg.sender;
}
/// @notice Changes the controller of the contract
/// @param _newController The new controller of the contract
function changeController(address _newController) public onlyController {
controller = _newController;
}
function changeControllerAccess(address _controller, bool _access) public onlyController {
controllers[_controller] = _access;
}