Created
December 27, 2020 21:08
-
-
Save reime005/27bdef5de77595acffdf5c5f4d8b57e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event ContractNameChanged(string previousContractName, string newContractName); | |
/// @notice Owner can change the name of the contract | |
/// @param newContractName The new contract name | |
function changeContractName( | |
string newContractName | |
) public onlyOwner { | |
emit ContractNameChanged(contractName, newContractName); | |
contractName = newContractName; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment