The Modulus Blockchain Explorer

Contract Address Details

0x03a312C87E1F05F39F84CbB7eddB0eC2B6a59d95

Overview

CULT BALANCE

0 CULT

USD VALUE

More Info

CONTRACT CREATOR

TOKEN TRACKER

Multi Chain

MULTICHAIN ADDRESSES

Contract is not verified. However, we found a verified contract with the same bytecode in Blockscout DB 0xedd161d286b79863a241d74d572ed30a0ef94059.
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button

Contract name:

DeterministicDeployFactory

Optimization enabled

true

Compiler version

v0.8.9+commit.e5eed63a

Optimization runs

999999

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.

0x6080604052346103c457610aae80380380610019816103c9565b9283398101906040818303126103c45780516001600160401b0381116103c457826100459183016103ee565b60208201519092906001600160401b0381116103c45761006592016103ee565b81516001600160401b0381116102cf57600354600181811c911680156103ba575b60208210146102af57601f8111610355575b50602092601f82116001146102f057928192936000926102e5575b50508160011b916000199060031b1c1916176003555b80516001600160401b0381116102cf57600454600181811c911680156102c5575b60208210146102af57601f811161024a575b50602091601f82116001146101e6579181926000926101db575b50508160011b916000199060031b1c1916176004555b33156101c55760025469152d02c7e14af680000081018091116101af576002556000338152806020526040812069152d02c7e14af680000081540190556040519069152d02c7e14af680000082527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a3604051610654908161045a8239f35b634e487b7160e01b600052601160045260246000fd5b63ec442f0560e01b600052600060045260246000fd5b015190503880610116565b601f198216926004600052806000209160005b85811061023257508360019510610219575b505050811b0160045561012c565b015160001960f88460031b161c1916905538808061020b565b919260206001819286850151815501940192016101f9565b60046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c810191602084106102a5575b601f0160051c01905b81811061029957506100fc565b6000815560010161028c565b9091508190610283565b634e487b7160e01b600052602260045260246000fd5b90607f16906100ea565b634e487b7160e01b600052604160045260246000fd5b0151905038806100b3565b601f198216936003600052806000209160005b86811061033d5750836001959610610324575b505050811b016003556100c9565b015160001960f88460031b161c19169055388080610316565b91926020600181928685015181550194019201610303565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c810191602084106103b0575b601f0160051c01905b8181106103a45750610098565b60008155600101610397565b909150819061038e565b90607f1690610086565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176102cf57604052565b81601f820112156103c4578051906001600160401b0382116102cf5761041d601f8301601f19166020016103c9565b92828452602083830101116103c45760005b82811061044457505060206000918301015290565b8060208092840101518282870101520161042f56fe608080604052600436101561001357600080fd5b60003560e01c90816306fdde031461041157508063095ea7b31461038b57806318160ddd1461036d57806323b872dd14610280578063313ce5671461026457806370a082311461022a57806395d89b4114610109578063a9059cbb146100d85763dd62ed3e1461008257600080fd5b346100d35760403660031901126100d35761009b61052d565b6100a3610543565b6001600160a01b039182166000908152600160209081526040808320949093168252928352819020549051908152f35b600080fd5b346100d35760403660031901126100d3576100fe6100f461052d565b6024359033610559565b602060405160018152f35b346100d35760003660031901126100d35760405160006004548060011c90600181168015610220575b60208310811461020c578285529081156101f05750600114610199575b50819003601f01601f191681019067ffffffffffffffff8211818310176101835761017f829182604052826104e4565b0390f35b634e487b7160e01b600052604160045260246000fd5b905060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b6000905b8282106101da5750602091508201018261014f565b60018160209254838588010152019101906101c5565b90506020925060ff191682840152151560051b8201018261014f565b634e487b7160e01b84526022600452602484fd5b91607f1691610132565b346100d35760203660031901126100d3576001600160a01b0361024b61052d565b1660005260006020526020604060002054604051908152f35b346100d35760003660031901126100d357602060405160128152f35b346100d35760603660031901126100d35761029961052d565b6102a1610543565b6001600160a01b03821660008181526001602090815260408083203384529091529020549092604435929160001981106102e1575b506100fe9350610559565b83811061035057841561033a573315610324576100fe946000526001602052604060002060018060a01b03331660005260205283604060002091039055846102d6565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8390637dc7a0d960e11b6000523360045260245260445260646000fd5b346100d35760003660031901126100d3576020600254604051908152f35b346100d35760403660031901126100d3576103a461052d565b60243590331561033a576001600160a01b031690811561032457336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346100d35760003660031901126100d35760006003548060011c906001811680156104da575b60208310811461020c578285529081156101f057506001146104835750819003601f01601f191681019067ffffffffffffffff8211818310176101835761017f829182604052826104e4565b905060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b6000905b8282106104c45750602091508201018261014f565b60018160209254838588010152019101906104af565b91607f1691610437565b91909160208152825180602083015260005b818110610517575060409293506000838284010152601f8019910116010190565b80602080928701015160408286010152016104f6565b600435906001600160a01b03821682036100d357565b602435906001600160a01b03821682036100d357565b6001600160a01b0316908115610608576001600160a01b03169182156105f25760008281528060205260408120548281106105d85791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815280845220818154019055604051908152a3565b916064928463391434e360e21b8452600452602452604452fd5b63ec442f0560e01b600052600060045260246000fd5b634b637e8f60e11b600052600060045260246000fdfea2646970667358221220a4a48daad4b95358300677394461d362f0e75cd3ac5834c3409e0605b7abd13864736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000657656e7061640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357454e0000000000000000000000000000000000000000000000000000000000