The Modulus Blockchain Explorer

Contract Address Details

0xeDD161d286b79863A241d74d572Ed30a0ef94059

Overview

CULT BALANCE

0 CULT

USD VALUE

More Info

CONTRACT CREATOR

TOKEN TRACKER

Multi Chain

MULTICHAIN ADDRESSES

Contract name:

DeterministicDeployFactory

Optimization enabled

true

Compiler version

v0.8.9+commit.e5eed63a

Optimization runs

999999

EVM Version

default

Verified at

2023-08-31T13:41:42.239487Z

contracts/user/DeterministicDeployFactory.sol
// 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);
    }
}
          
Contract ABI
[{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deploy","inputs":[{"type":"bytes","name":"bytecode","internalType":"bytes"},{"type":"uint256","name":"_salt","internalType":"uint256"}]},{"type":"event","name":"Deploy","inputs":[{"type":"address","name":"addr","indexed":false}],"anonymous":false}]
              
Contract Creation Code

Contracts that self destruct in their constructors have no contract code published and cannot be verified.

Displaying the init data provided of the creating transaction.

0x608060405234801561001057600080fd5b506101e4806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80639c4ae2d014610030575b600080fd5b61004361003e3660046100db565b610045565b005b6000818351602085016000f59050803b61005e57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff821681527f55ea6c6b31543d8e2ec6a72f71a79c0f4b72ed0d4757172b043d8f4f4cd848489060200160405180910390a1505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156100ee57600080fd5b823567ffffffffffffffff8082111561010657600080fd5b818501915085601f83011261011a57600080fd5b81358181111561012c5761012c6100ac565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610172576101726100ac565b8160405282815288602084870101111561018b57600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea264697066735822122086b28bf6619e16a38c234ec82f3dcd8c9c0dcfda865c2fc1774d1adccea25fc864736f6c63430008090033