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:0xbaf2e2e4be0f58ebfbb4df37ac9bcc7a21bf0702|verified:true|block:23744226|tx:0x6b45b2aabddca7313d873fb051f344d6d942b964508ffc8766c6e71ef15f4ffd|first_check:1762512413

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

Comments

Log in to comment.

No comments yet.