HelloArchitect

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

{{
  "language": "Solidity",
  "sources": {
    "HelloArchitect.sol": {
      "content": "// SPDX-License-Identifier: MIT\r
pragma solidity ^0.8.30;\r
\r
contract HelloArchitect {\r
    string private greeting;\r
\r
    // Event emitted when the greeting is changed\r
    event GreetingChanged(string newGreeting);\r
\r
    // Constructor that sets the initial greeting to "Hello Architect!"\r
    constructor() {\r
        greeting = "Hello Architect!";\r
    }\r
\r
    // Setter function to update the greeting\r
    function setGreeting(string memory newGreeting) public {\r
        greeting = newGreeting;\r
        emit GreetingChanged(newGreeting);\r
    }\r
\r
    // Getter function to return the current greeting\r
    function getGreeting() public view returns (string memory) {\r
        return greeting;\r
    }\r
}"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "remappings": []
  }
}}

Tags:
Factory|addr:0xe49e8e36bf47b384a91a6dfb3415b1193c02a7e2|verified:true|block:23696592|tx:0x13f1ed86c7d55d68305aae099ad6952c16f11d60c5539c75e5417cf2193a6b18|first_check:1761913684

Submitted on: 2025-10-31 13:28:04

Comments

Log in to comment.

No comments yet.