Counter

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": []
  }
}}

Tags:
Factory|addr:0x0f642de1519b1441cafb21e68a9a3ec06d8b4d41|verified:true|block:23710819|tx:0x39d1a7a602c246a231345c687f72860de0b196c0b290e8de240382b2d36ad973|first_check:1762083900

Submitted on: 2025-11-02 12:45:02

Comments

Log in to comment.

No comments yet.