SMCATIdentityRegistry

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/SMCATIdentityRegistry.sol": {
      "content": "/**\r
 *Submitted for verification at Etherscan.io on 2025-11-05\r
*/\r
\r
// SPDX-License-Identifier: MIT\r
pragma solidity ^0.8.22;\r
\r
/**\r
 * @title SMCATIdentityRegistry – Identity Registry for MayaCat Regulated Security Token\r
 * @dev Mirrors the original IdentityRegistry pattern used for SMPRA.\r
 * Stores and manages KYC/AML verified addresses for ERC-3643 compliance.\r
 *\r
 * This registry is referenced by the main SMCAT token via the IIdentityRegistry\r
 * interface, which reads the public isVerified mapping.\r
 *\r
 * Creator / Developer : UK Financial LTD (United Kingdom)\r
 * Token               : MayaCat Regulated Security Token (SMCAT)\r
 */\r
\r
contract SMCATIdentityRegistry {\r
    address public owner;\r
    mapping(address => bool) public isVerified; // auto-getter: isVerified(address) -> bool\r
\r
    constructor() {\r
        owner = msg.sender;\r
    }\r
\r
    modifier onlyOwner() {\r
        require(msg.sender == owner, "Not authorized");\r
        _;\r
    }\r
\r
    /**\r
     * @notice Registers a verified identity (KYC/AML approved).\r
     * @param user The address to mark as verified.\r
     */\r
    function registerIdentity(address user) external onlyOwner {\r
        isVerified[user] = true;\r
    }\r
\r
    /**\r
     * @notice Revokes a previously verified identity.\r
     * @param user The address to un-verify.\r
     */\r
    function revokeIdentity(address user) external onlyOwner {\r
        isVerified[user] = false;\r
    }\r
\r
    /**\r
     * @notice Convenience view to check if a user is registered.\r
     * @param user The address to query.\r
     * @return bool True if user is verified, false otherwise.\r
     */\r
    function isRegistered(address user) external view returns (bool) {\r
        return isVerified[user];\r
    }\r
}"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "remappings": []
  }
}}

Tags:
Factory|addr:0x46e4a2327b0a851acd824a268744da44342fe842|verified:true|block:23738562|tx:0x7baa989c5a034795827afa87668453eda973833889147833714faa9fef6f8b78|first_check:1762427249

Submitted on: 2025-11-06 12:07:30

Comments

Log in to comment.

No comments yet.