Description:
Smart contract deployed on Ethereum with Factory features.
Blockchain: Ethereum
Source Code: View Code On The Blockchain
Solidity Source Code:
{{
"language": "Solidity",
"sources": {
".sol": {
"content": "// SPDX-License-Identifier: UNLICENSED\r
pragma solidity ^0.8.13;\r
\r
contract Counter {\r
uint256 public number;\r
\r
function setNumber(uint256 newNumber) public {\r
number = newNumber;\r
}\r
\r
function increment() public {\r
number++;\r
}\r
\r
\r
function getCounter() public view returns (uint256) {\r
return number;\r
}\r
}"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}
}}
Submitted on: 2025-11-02 12:45:02
Comments
Log in to comment.
No comments yet.