ethai

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/ethai.sol": {
      "content": "// SPDX-License-Identifier: GPL-3.0\r
\r
pragma solidity >=0.8.2 <0.9.0;\r
\r
/**\r
 * @title ethai\r
 * @dev Store & retrieve value in a variable\r
 * @custom:dev-run-script ./scripts/deploy_with_ethers.ts\r
 */\r
contract ethai {\r
\r
    uint256 number;\r
\r
    /**\r
     * @dev Store value in variable\r
     * @param num value to store\r
     */\r
    function store(uint256 num) public {\r
        number = num;\r
    }\r
\r
    /**\r
     * @dev Return value \r
     * @return value of 'number'\r
     */\r
    function retrieve() public view returns (uint256){\r
        return number;\r
    }\r
}"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "remappings": []
  }
}}

Tags:
Factory|addr:0x38b7abd8c019df7d16625dae343648309d27a3b4|verified:true|block:23704544|tx:0x218ba332fceefb505aa13b85ef86e2e6aefdb8bb0bb00bcd3aa383079d9cfa5e|first_check:1762003051

Submitted on: 2025-11-01 14:17:31

Comments

Log in to comment.

No comments yet.