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:0xd148984a1900132b2f31da6ec8dc11a21a81f5f3|verified:true|block:23719363|tx:0x53db423657ecdf18c60e867c504cdd81b3d33f5e7bab42ce4195dad21e976945|first_check:1762179680

Submitted on: 2025-11-03 15:21:20

Comments

Log in to comment.

No comments yet.