DeterministicDeployFactory

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

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

contract DeterministicDeployFactory {
    event Deploy(address addr);

    function deploy(bytes memory bytecode, uint _salt) external {
        address addr;
        assembly {
            addr := create2(0, add(bytecode, 0x20), mload(bytecode), _salt)
            if iszero(extcodesize(addr)) {
        revert(0, 0)
      }
    }

    emit Deploy(addr);
    }
}

Tags:
Factory|addr:0x5248504e83bd45bcda35ce684443ed7ca3e40d02|verified:true|block:23720739|tx:0x4744475e78c6824f421af01062d9ed4f748885c5bf3ffc208b5fc1a4e444104a|first_check:1762196471

Submitted on: 2025-11-03 20:01:14

Comments

Log in to comment.

No comments yet.