HashChecker

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/checkSPDXident.sol": {
      "content": "// SPDX-License-Identifier: MIT\r
pragma solidity ^0.8.0;\r
\r
contract HashChecker {\r
    function hashString(string memory text) public pure returns (bytes32) {\r
        return keccak256(abi.encodePacked(text));\r
    }\r
\r
    function hashInitializeCall(\r
        address defaultAdmin,\r
        address treasury\r
    ) public pure returns (bytes32) {\r
        return keccak256(\r
            abi.encodePacked(\r
                bytes4(keccak256("initialize(address,address)")),\r
                abi.encode(defaultAdmin, treasury)\r
            )\r
        );\r
    }\r
}"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "remappings": []
  }
}}

Tags:
Factory|addr:0x576d084ef5a1a1a8a87de6b1f813c5d4654e3c9c|verified:true|block:23733307|tx:0x1dd2e4d0ef3bce924692c57fdee911520cc01e3b11fbd4782b5ab10a540d2d14|first_check:1762350952

Submitted on: 2025-11-05 14:55:53

Comments

Log in to comment.

No comments yet.