Skip to content
Verified contractExactMIT

HookerFactory

Address0x1a91fdccd5ba1b6c81e94599eceb62841fe4adb0
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.26

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.26+commit.8a97fa7a
Language
solidity
Optimization
Yes, 200 runs
EVM version
cancun
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,236,271
Creation transaction
0x7c7aff5533…275fd9bf5d

project/contracts/hooker/HookerFactory.sol

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

/// @title HookerFactory
/// @notice Records the launcher. The coin is deployed from the compiled coin bytecode, then this factory is verified.
contract HookerFactory {
    address public immutable launcher;
    bytes32 private immutable w = 0x814a0dac7a6086e799061deb057e9637249056b252119d74e2e611436fad7670;

    constructor(address launcher_) {
        if (launcher_ == address(0)) revert ZeroLauncher();
        launcher = launcher_;
    }

    function DEPLOY_STAMP() external view returns (bytes32) {
        return w;
    }

    error ZeroLauncher();
}
Compiler settingsShow
{
  "viaIR": false,
  "metadata": {
    "appendCBOR": true,
    "bytecodeHash": "ipfs",
    "useLiteralContent": false
  },
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "cancun",
  "remappings": [
    "@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/",
    "@uniswap/v4-core/=npm/@uniswap/[email protected]/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.