Verified contractPartialMIT
HelloMutable
Address0x9537fed2b9eff50b03e59e0ac8624cc49c62ea3d
- Balance
0 ETH
- Transactions
41
- Compiler
solc 0.8.34
- Same code
12 more contracts
Details
- Compiler
- solc 0.8.34+commit.80d5c536
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,063,445
- Creation transaction
- 0x7e47d9e54d…349d01e069
contracts/url.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract HelloMutable {
address public owner;
string public message;
constructor(string memory initialMessage) {
owner = msg.sender;
message = initialMessage;
}
function setMessage(string memory newMessage) external {
require(msg.sender == owner, "not owner");
message = newMessage;
}
function getText() public view returns (string memory) {
return message;
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.