ETH Price: $2,126.42 (-9.80%)
Gas: 1.39 Gwei

Contract

0xD8Ba6cF1756343D3171b25301bAA0719286f7155
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Perform Create2182936922023-10-06 19:57:59510 days ago1696622279IN
0xD8Ba6cF1...9286f7155
0 ETH0.003358367.33119504
Perform Create2182936912023-10-06 19:57:47510 days ago1696622267IN
0xD8Ba6cF1...9286f7155
0 ETH0.024999117.97382715
Perform Create2179932302023-08-25 17:35:11552 days ago1692984911IN
0xD8Ba6cF1...9286f7155
0 ETH0.0114692626.67476084
Perform Create2179932282023-08-25 17:34:47552 days ago1692984887IN
0xD8Ba6cF1...9286f7155
0 ETH0.0717631426.68872071
Perform Create2178605452023-08-07 4:02:11571 days ago1691380931IN
0xD8Ba6cF1...9286f7155
0 ETH0.008941720.37303737
Perform Create2178605432023-08-07 4:01:47571 days ago1691380907IN
0xD8Ba6cF1...9286f7155
0 ETH0.049973218.57324325

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
182936922023-10-06 19:57:59510 days ago1696622279
0xD8Ba6cF1...9286f7155
 Contract Creation0 ETH
182936912023-10-06 19:57:47510 days ago1696622267
0xD8Ba6cF1...9286f7155
 Contract Creation0 ETH
179932302023-08-25 17:35:11552 days ago1692984911
0xD8Ba6cF1...9286f7155
 Contract Creation0 ETH
179932282023-08-25 17:34:47552 days ago1692984887
0xD8Ba6cF1...9286f7155
 Contract Creation0 ETH
178605452023-08-07 4:02:11571 days ago1691380931
0xD8Ba6cF1...9286f7155
 Contract Creation0 ETH
178605432023-08-07 4:01:47571 days ago1691380907
0xD8Ba6cF1...9286f7155
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CreateCall

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2023-08-23
*/

// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;

/// @title Create Call - Allows to use the different create opcodes to deploy a contract
/// @author Richard Meissner - <[email protected]>
contract CreateCall {
    event ContractCreation(address newContract);

    function performCreate2(
        uint256 value,
        bytes memory deploymentData,
        bytes32 salt
    ) public returns (address newContract) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            newContract := create2(value, add(0x20, deploymentData), mload(deploymentData), salt)
        }
        require(newContract != address(0), "Could not deploy contract");
        emit ContractCreation(newContract);
    }

    function performCreate(uint256 value, bytes memory deploymentData) public returns (address newContract) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            newContract := create(value, add(deploymentData, 0x20), mload(deploymentData))
        }
        require(newContract != address(0), "Could not deploy contract");
        emit ContractCreation(newContract);
    }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newContract","type":"address"}],"name":"ContractCreation","type":"event"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"deploymentData","type":"bytes"}],"name":"performCreate","outputs":[{"internalType":"address","name":"newContract","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"deploymentData","type":"bytes"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"performCreate2","outputs":[{"internalType":"address","name":"newContract","type":"address"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506105ad806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634847be6f1461003b5780634c8c9ea11461006b575b600080fd5b610055600480360381019061005091906103d3565b61009b565b6040516100629190610483565b60405180910390f35b6100856004803603810190610080919061049e565b610155565b6040516100929190610483565b60405180910390f35b60008183518460200186f59050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010e90610557565b60405180910390fd5b7f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b511816040516101469190610483565b60405180910390a19392505050565b600081516020830184f09050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101c790610557565b60405180910390fd5b7f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b511816040516101ff9190610483565b60405180910390a192915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61023481610221565b811461023f57600080fd5b50565b6000813590506102518161022b565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6102aa82610261565b810181811067ffffffffffffffff821117156102c9576102c8610272565b5b80604052505050565b60006102dc61020d565b90506102e882826102a1565b919050565b600067ffffffffffffffff82111561030857610307610272565b5b61031182610261565b9050602081019050919050565b82818337600083830152505050565b600061034061033b846102ed565b6102d2565b90508281526020810184848401111561035c5761035b61025c565b5b61036784828561031e565b509392505050565b600082601f83011261038457610383610257565b5b813561039484826020860161032d565b91505092915050565b6000819050919050565b6103b08161039d565b81146103bb57600080fd5b50565b6000813590506103cd816103a7565b92915050565b6000806000606084860312156103ec576103eb610217565b5b60006103fa86828701610242565b935050602084013567ffffffffffffffff81111561041b5761041a61021c565b5b6104278682870161036f565b9250506040610438868287016103be565b9150509250925092565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061046d82610442565b9050919050565b61047d81610462565b82525050565b60006020820190506104986000830184610474565b92915050565b600080604083850312156104b5576104b4610217565b5b60006104c385828601610242565b925050602083013567ffffffffffffffff8111156104e4576104e361021c565b5b6104f08582860161036f565b9150509250929050565b600082825260208201905092915050565b7f436f756c64206e6f74206465706c6f7920636f6e747261637400000000000000600082015250565b60006105416019836104fa565b915061054c8261050b565b602082019050919050565b6000602082019050818103600083015261057081610534565b905091905056fea2646970667358221220da113568c307df616e7169bd622546d9471805f5c763adfc78f84efb86e0fb6564736f6c63430008100033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634847be6f1461003b5780634c8c9ea11461006b575b600080fd5b610055600480360381019061005091906103d3565b61009b565b6040516100629190610483565b60405180910390f35b6100856004803603810190610080919061049e565b610155565b6040516100929190610483565b60405180910390f35b60008183518460200186f59050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010e90610557565b60405180910390fd5b7f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b511816040516101469190610483565b60405180910390a19392505050565b600081516020830184f09050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101c790610557565b60405180910390fd5b7f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b511816040516101ff9190610483565b60405180910390a192915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61023481610221565b811461023f57600080fd5b50565b6000813590506102518161022b565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6102aa82610261565b810181811067ffffffffffffffff821117156102c9576102c8610272565b5b80604052505050565b60006102dc61020d565b90506102e882826102a1565b919050565b600067ffffffffffffffff82111561030857610307610272565b5b61031182610261565b9050602081019050919050565b82818337600083830152505050565b600061034061033b846102ed565b6102d2565b90508281526020810184848401111561035c5761035b61025c565b5b61036784828561031e565b509392505050565b600082601f83011261038457610383610257565b5b813561039484826020860161032d565b91505092915050565b6000819050919050565b6103b08161039d565b81146103bb57600080fd5b50565b6000813590506103cd816103a7565b92915050565b6000806000606084860312156103ec576103eb610217565b5b60006103fa86828701610242565b935050602084013567ffffffffffffffff81111561041b5761041a61021c565b5b6104278682870161036f565b9250506040610438868287016103be565b9150509250925092565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061046d82610442565b9050919050565b61047d81610462565b82525050565b60006020820190506104986000830184610474565b92915050565b600080604083850312156104b5576104b4610217565b5b60006104c385828601610242565b925050602083013567ffffffffffffffff8111156104e4576104e361021c565b5b6104f08582860161036f565b9150509250929050565b600082825260208201905092915050565b7f436f756c64206e6f74206465706c6f7920636f6e747261637400000000000000600082015250565b60006105416019836104fa565b915061054c8261050b565b602082019050919050565b6000602082019050818103600083015261057081610534565b905091905056fea2646970667358221220da113568c307df616e7169bd622546d9471805f5c763adfc78f84efb86e0fb6564736f6c63430008100033

Deployed Bytecode Sourcemap

220:968:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;299:467;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;774:411;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;299:467;431:19;624:4;607:14;601:21;584:14;578:4;574:25;567:5;559:70;544:85;;681:1;658:25;;:11;:25;;;650:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;729:29;746:11;729:29;;;;;;:::i;:::-;;;;;;;;299:467;;;;;:::o;774:411::-;857:19;1032:14;1026:21;1019:4;1003:14;999:25;992:5;985:63;970:78;;1100:1;1077:25;;:11;:25;;;1069:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1148:29;1165:11;1148:29;;;;;;:::i;:::-;;;;;;;;774:411;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:117::-;799:1;796;789:12;813:117;922:1;919;912:12;936:102;977:6;1028:2;1024:7;1019:2;1012:5;1008:14;1004:28;994:38;;936:102;;;:::o;1044:180::-;1092:77;1089:1;1082:88;1189:4;1186:1;1179:15;1213:4;1210:1;1203:15;1230:281;1313:27;1335:4;1313:27;:::i;:::-;1305:6;1301:40;1443:6;1431:10;1428:22;1407:18;1395:10;1392:34;1389:62;1386:88;;;1454:18;;:::i;:::-;1386:88;1494:10;1490:2;1483:22;1273:238;1230:281;;:::o;1517:129::-;1551:6;1578:20;;:::i;:::-;1568:30;;1607:33;1635:4;1627:6;1607:33;:::i;:::-;1517:129;;;:::o;1652:307::-;1713:4;1803:18;1795:6;1792:30;1789:56;;;1825:18;;:::i;:::-;1789:56;1863:29;1885:6;1863:29;:::i;:::-;1855:37;;1947:4;1941;1937:15;1929:23;;1652:307;;;:::o;1965:146::-;2062:6;2057:3;2052;2039:30;2103:1;2094:6;2089:3;2085:16;2078:27;1965:146;;;:::o;2117:423::-;2194:5;2219:65;2235:48;2276:6;2235:48;:::i;:::-;2219:65;:::i;:::-;2210:74;;2307:6;2300:5;2293:21;2345:4;2338:5;2334:16;2383:3;2374:6;2369:3;2365:16;2362:25;2359:112;;;2390:79;;:::i;:::-;2359:112;2480:54;2527:6;2522:3;2517;2480:54;:::i;:::-;2200:340;2117:423;;;;;:::o;2559:338::-;2614:5;2663:3;2656:4;2648:6;2644:17;2640:27;2630:122;;2671:79;;:::i;:::-;2630:122;2788:6;2775:20;2813:78;2887:3;2879:6;2872:4;2864:6;2860:17;2813:78;:::i;:::-;2804:87;;2620:277;2559:338;;;;:::o;2903:77::-;2940:7;2969:5;2958:16;;2903:77;;;:::o;2986:122::-;3059:24;3077:5;3059:24;:::i;:::-;3052:5;3049:35;3039:63;;3098:1;3095;3088:12;3039:63;2986:122;:::o;3114:139::-;3160:5;3198:6;3185:20;3176:29;;3214:33;3241:5;3214:33;:::i;:::-;3114:139;;;;:::o;3259:797::-;3345:6;3353;3361;3410:2;3398:9;3389:7;3385:23;3381:32;3378:119;;;3416:79;;:::i;:::-;3378:119;3536:1;3561:53;3606:7;3597:6;3586:9;3582:22;3561:53;:::i;:::-;3551:63;;3507:117;3691:2;3680:9;3676:18;3663:32;3722:18;3714:6;3711:30;3708:117;;;3744:79;;:::i;:::-;3708:117;3849:62;3903:7;3894:6;3883:9;3879:22;3849:62;:::i;:::-;3839:72;;3634:287;3960:2;3986:53;4031:7;4022:6;4011:9;4007:22;3986:53;:::i;:::-;3976:63;;3931:118;3259:797;;;;;:::o;4062:126::-;4099:7;4139:42;4132:5;4128:54;4117:65;;4062:126;;;:::o;4194:96::-;4231:7;4260:24;4278:5;4260:24;:::i;:::-;4249:35;;4194:96;;;:::o;4296:118::-;4383:24;4401:5;4383:24;:::i;:::-;4378:3;4371:37;4296:118;;:::o;4420:222::-;4513:4;4551:2;4540:9;4536:18;4528:26;;4564:71;4632:1;4621:9;4617:17;4608:6;4564:71;:::i;:::-;4420:222;;;;:::o;4648:652::-;4725:6;4733;4782:2;4770:9;4761:7;4757:23;4753:32;4750:119;;;4788:79;;:::i;:::-;4750:119;4908:1;4933:53;4978:7;4969:6;4958:9;4954:22;4933:53;:::i;:::-;4923:63;;4879:117;5063:2;5052:9;5048:18;5035:32;5094:18;5086:6;5083:30;5080:117;;;5116:79;;:::i;:::-;5080:117;5221:62;5275:7;5266:6;5255:9;5251:22;5221:62;:::i;:::-;5211:72;;5006:287;4648:652;;;;;:::o;5306:169::-;5390:11;5424:6;5419:3;5412:19;5464:4;5459:3;5455:14;5440:29;;5306:169;;;;:::o;5481:175::-;5621:27;5617:1;5609:6;5605:14;5598:51;5481:175;:::o;5662:366::-;5804:3;5825:67;5889:2;5884:3;5825:67;:::i;:::-;5818:74;;5901:93;5990:3;5901:93;:::i;:::-;6019:2;6014:3;6010:12;6003:19;;5662:366;;;:::o;6034:419::-;6200:4;6238:2;6227:9;6223:18;6215:26;;6287:9;6281:4;6277:20;6273:1;6262:9;6258:17;6251:47;6315:131;6441:4;6315:131;:::i;:::-;6307:139;;6034:419;;;:::o

Swarm Source

ipfs://da113568c307df616e7169bd622546d9471805f5c763adfc78f84efb86e0fb65

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.