Closed Dexaran closed 7 years ago
I dont think that be needed.
It is a potential insecurity. You should do everything that is possible instead of saying "I hope it will not happen" even if the probability is very low.
I don't know if you are going to use multisig or just an externally owned account to manage this contract. It is possible that you will need to replace owner for multiple reasons:
Lack of possibility to replace an owner in contract is potential vulnerability. I think that a simple function to replace owner should exist:
function replaceOwner(address _newOwner) {
if(msg.sender == owner {
owner = _newOwner;
}
}
ICO contract has a single owner. Owner is an address who created ICO contract. There must be a possibility to replace owner with a new address!
Imagine that your account private key got compromised. You spotted this and you need to emergency replace an owner with your new account that is not compromised. You must have an opportunity to do it.