{ | |
"language": "Solidity", | |
"sources": { | |
"contracts/tester.sol": { | |
"content": "// SPDX-License-Identifier: GPL-3.0\n\npragma solidity >=0.8.13;\n\ncontract tester {\n\n string private message;\n\n function mess(string memory newmessage_) public{\n\n message = newmessage_;\n }\n\n function getMessage() public view returns (string memory){\n return message;\n }\n\n function get() public view returns(bytes32){\n return blockhash(block.number -1);\n }\n}" | |
} | |
}, | |
"settings": { | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"outputSelection": { | |
"*": { | |
"*": [ | |
"evm.bytecode", | |
"evm.deployedBytecode", | |
"devdoc", | |
"userdoc", | |
"metadata", | |
"abi" | |
] | |
} | |
} | |
} | |
} |