Skip to content
Verified contractExactMIT

UTICNode001

Address0x74e44fc0b199d4e3d00a05a413ff48fc669735b5
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.24

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.24+commit.e11b9ed9
Language
solidity
Optimization
Yes, 200 runs
EVM version
shanghai
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
25,958,915
Creation transaction
0xb8e7548645…99c26e8d52

contract-f076283c54.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

/// @title #UTIC Node 001 — Kimberly A. Richert
/// @notice Records the first bounded on-chain instance of the Unified Theory
/// of Independent Creation and its fixed executable-proof reference.
/// @dev This contract records only Node 001. It is not an ERC-721 or ERC-1155
/// token and has no transfer, approval, payment, withdrawal, delegation,
/// upgrade, or external-call functionality. Later UTIC contracts can identify
/// this zero point by chain, contract address, and NODE_ID without changing it.
contract UTICNode001 {
    struct NodeRecord {
        address zeroPointAuthority;
        bytes32 metadataSha256;
        bytes32 provenanceSha256;
        bytes32 proofBundleSha256;
        uint64 recordedAt;
        string publicRecordUri;
    }

    uint256 public constant NODE_ID = 1;
    string public constant DISPLAY_ID = "UTIC Node 001";
    string public constant HASH_ALGORITHM = "sha256";
    string public constant RECORD_SCHEMA = "utic-node/v1";

    bytes32 public constant PROOF_BUNDLE_SHA256 =
        0xeeabe43162ca6e3d5d19c2dd23ab0a9feed06757dd1f3e9ceb17984c7e5d63e2;
    bytes32 public constant SOURCE_MANIFEST_SHA256 =
        0x86fdab6c6b6ac583491006415ce69d68ef1c9cad019d2d8a1c2530d67420aacb;
    bytes32 public constant VERIFICATION_SHA256 =
        0xb1219ce7b60c445ddf449aba18cb890ac631d245218b4994f5fe3d7e9196b183;
    bytes32 public constant CROSS_CHAIN_CORE_SHA256 =
        0x46551bb2c179eb9dcfe4834d357c293265958a276824548fcf1454299ed4f987;

    NodeRecord private node001;

    event UTICNode001Recorded(
        uint256 indexed nodeId,
        address indexed zeroPointAuthority,
        bytes32 indexed proofBundleSha256,
        bytes32 metadataSha256,
        bytes32 provenanceSha256,
        uint64 recordedAt,
        string publicRecordUri
    );

    error InvalidRecord();
    error UnknownNode();

    constructor(
        bytes32 metadataSha256,
        bytes32 provenanceSha256,
        string memory publicRecordUri
    ) {
        if (
            metadataSha256 == bytes32(0) ||
            provenanceSha256 == bytes32(0) ||
            bytes(publicRecordUri).length == 0
        ) revert InvalidRecord();

        uint64 recordedAt = uint64(block.timestamp);
        node001 = NodeRecord({
            zeroPointAuthority: msg.sender,
            metadataSha256: metadataSha256,
            provenanceSha256: provenanceSha256,
            proofBundleSha256: PROOF_BUNDLE_SHA256,
            recordedAt: recordedAt,
            publicRecordUri: publicRecordUri
        });

        emit UTICNode001Recorded(
            NODE_ID,
            msg.sender,
            PROOF_BUNDLE_SHA256,
            metadataSha256,
            provenanceSha256,
            recordedAt,
            publicRecordUri
        );
    }

    function getNode(uint256 nodeId) external view returns (NodeRecord memory) {
        if (nodeId != NODE_ID) revert UnknownNode();
        return node001;
    }

    function nodeExists(uint256 nodeId) external pure returns (bool) {
        return nodeId == NODE_ID;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "shanghai",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.