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:0x91ed92024f418d94795ad4bc8611ecbef21070a6|verified:true|block:23744234|tx:0x3487d51b7b090675c3b89f10a1ad8ab3f026f566ebd40249624f791ae050a49d|first_check:1762512459

Submitted on: 2025-11-07 11:47:40

Comments

Log in to comment.

No comments yet.