RHFactory

0x32a00df7c511a882f3a7a18bcd69367880239726

Verification
Verified
v0.8.26+commit.8a97fa7a
Type
Contract
130 bytes
ABI entries
7
0 read · 0 write
License
none

Contract information

Address
0x32a00df7c511a882f3a7a18bcd69367880239726
Chain
Robinhood Chain (4663)
Compiler
v0.8.26+commit.8a97fa7a
Optimization
Enabled
Creation tx
0xf8688b6860…ceab298be8

Token

Not a token

This contract does not expose ERC-20 metadata.

Read contract (0)

No read functions

The ABI is unavailable or exposes no view functions.

Events (1)

Upgraded

ABI

[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_logic",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "target",
        "type": "address"
      }
    ],
    "name": "AddressEmptyCode",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "implementation",
        "type": "address"
      }
    ],
    "name": "ERC1967InvalidImplementation",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "ERC1967NonPayable",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "FailedCall",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "implementation",
        "type": "address"
      }
    ],
    "name": "Upgraded",
    "type": "event"
  },
  {
    "stateMutability": "payable",
    "type": "fallback"
  }
]

Source code

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";

contract RHFactory is ERC1967Proxy {
    bytes32 internal immutable name;

    constructor(address _logic) ERC1967Proxy(_logic, "") {
        // added to create unique bytecode for this contract
        // so that it can be properly verified as its own contract.
        name = keccak256("RHFactory");
    }
}
Chain explorer3388msChain node89ms