MyContract

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

{{
  "language": "Solidity",
  "sources": {
    "contracts/MyContract.sol": {
      "content": "// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
contract MyContract {
    uint256 private value;
    event ValueChanged(uint256 v, address indexed by);
    constructor(uint256 initial) { value = initial; emit ValueChanged(initial, msg.sender); }
    function setValue(uint256 v) external { value = v; emit ValueChanged(v, msg.sender); }
    function getValue() external view returns (uint256) { return value; }
}
"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "evmVersion": "paris",
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    }
  }
}}

Tags:
Factory|addr:0x5493cb1b084c3a32573977e2c337a72f2871c28d|verified:true|block:23744255|tx:0x38e3e037834ac8588b87ca64cff9549e325bceec7be0fc5fb5d46ebdbb9dda5e|first_check:1762512533

Submitted on: 2025-11-07 11:48:54

Comments

Log in to comment.

No comments yet.