mirror of
https://github.com/status-im/hackathon-registration-dapp.git
synced 2025-01-12 05:44:08 +00:00
Missing function
This commit is contained in:
parent
f874a91308
commit
544706c972
@ -18,6 +18,12 @@ contract Controlled {
|
|||||||
controller = msg.sender;
|
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 {
|
function changeControllerAccess(address _controller, bool _access) public onlyController {
|
||||||
controllers[_controller] = _access;
|
controllers[_controller] = _access;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user