Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 3 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20414830 | 155 days ago | Contract Creation | 0 ETH | |||
20414830 | 155 days ago | Contract Creation | 0 ETH | |||
20414830 | 155 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
CreateCall
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-07-29 */ // 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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b506103e8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634847be6f1461003b5780634c8c9ea114610077575b600080fd5b61004e61004936600461031b565b61008a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61004e61008536600461036b565b610169565b60008183518460200186f5905073ffffffffffffffffffffffffffffffffffffffff8116610119576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f436f756c64206e6f74206465706c6f7920636f6e74726163740000000000000060448201526064015b60405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff821681527f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b5119060200160405180910390a19392505050565b600081516020830184f0905073ffffffffffffffffffffffffffffffffffffffff81166101f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f436f756c64206e6f74206465706c6f7920636f6e7472616374000000000000006044820152606401610110565b60405173ffffffffffffffffffffffffffffffffffffffff821681527f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b5119060200160405180910390a192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261028157600080fd5b813567ffffffffffffffff8082111561029c5761029c610241565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156102e2576102e2610241565b816040528381528660208588010111156102fb57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561033057600080fd5b83359250602084013567ffffffffffffffff81111561034e57600080fd5b61035a86828701610270565b925050604084013590509250925092565b6000806040838503121561037e57600080fd5b82359150602083013567ffffffffffffffff81111561039c57600080fd5b6103a885828601610270565b915050925092905056fea264697066735822122042370371db1e96deaee6c9ced1f4c9bfd1cf197b295952ee2c28698d7304e8c764736f6c63430008140033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634847be6f1461003b5780634c8c9ea114610077575b600080fd5b61004e61004936600461031b565b61008a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61004e61008536600461036b565b610169565b60008183518460200186f5905073ffffffffffffffffffffffffffffffffffffffff8116610119576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f436f756c64206e6f74206465706c6f7920636f6e74726163740000000000000060448201526064015b60405180910390fd5b60405173ffffffffffffffffffffffffffffffffffffffff821681527f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b5119060200160405180910390a19392505050565b600081516020830184f0905073ffffffffffffffffffffffffffffffffffffffff81166101f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f436f756c64206e6f74206465706c6f7920636f6e7472616374000000000000006044820152606401610110565b60405173ffffffffffffffffffffffffffffffffffffffff821681527f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b5119060200160405180910390a192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261028157600080fd5b813567ffffffffffffffff8082111561029c5761029c610241565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156102e2576102e2610241565b816040528381528660208588010111156102fb57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561033057600080fd5b83359250602084013567ffffffffffffffff81111561034e57600080fd5b61035a86828701610270565b925050604084013590509250925092565b6000806040838503121561037e57600080fd5b82359150602083013567ffffffffffffffff81111561039c57600080fd5b6103a885828601610270565b915050925092905056fea264697066735822122042370371db1e96deaee6c9ced1f4c9bfd1cf197b295952ee2c28698d7304e8c764736f6c63430008140033
Deployed Bytecode Sourcemap
220:957:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;299:456;;;;;;:::i;:::-;;:::i;:::-;;;1622:42:1;1610:55;;;1592:74;;1580:2;1565:18;299:456:0;;;;;;;763:411;;;;;;:::i;:::-;;:::i;299:456::-;415:19;613:4;596:14;590:21;573:14;567:4;563:25;556:5;548:70;533:85;-1:-1:-1;647:25:0;;;639:63;;;;;;;2272:2:1;639:63:0;;;2254:21:1;2311:2;2291:18;;;2284:30;2350:27;2330:18;;;2323:55;2395:18;;639:63:0;;;;;;;;;718:29;;1622:42:1;1610:55;;1592:74;;718:29:0;;1580:2:1;1565:18;718:29:0;;;;;;;299:456;;;;;:::o;763:411::-;846:19;1021:14;1015:21;1008:4;992:14;988:25;981:5;974:63;959:78;-1:-1:-1;1066:25:0;;;1058:63;;;;;;;2272:2:1;1058:63:0;;;2254:21:1;2311:2;2291:18;;;2284:30;2350:27;2330:18;;;2323:55;2395:18;;1058:63:0;2070:349:1;1058:63:0;1137:29;;1622:42:1;1610:55;;1592:74;;1137:29:0;;1580:2:1;1565:18;1137:29:0;;;;;;;763:411;;;;:::o;14:184:1:-;66:77;63:1;56:88;163:4;160:1;153:15;187:4;184:1;177:15;203:777;245:5;298:3;291:4;283:6;279:17;275:27;265:55;;316:1;313;306:12;265:55;352:6;339:20;378:18;415:2;411;408:10;405:36;;;421:18;;:::i;:::-;555:2;549:9;617:4;609:13;;460:66;605:22;;;629:2;601:31;597:40;585:53;;;653:18;;;673:22;;;650:46;647:72;;;699:18;;:::i;:::-;739:10;735:2;728:22;774:2;766:6;759:18;820:3;813:4;808:2;800:6;796:15;792:26;789:35;786:55;;;837:1;834;827:12;786:55;901:2;894:4;886:6;882:17;875:4;867:6;863:17;850:54;948:1;941:4;936:2;928:6;924:15;920:26;913:37;968:6;959:15;;;;;;203:777;;;;:::o;985:456::-;1071:6;1079;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:52;;;1156:1;1153;1146:12;1108:52;1192:9;1179:23;1169:33;;1253:2;1242:9;1238:18;1225:32;1280:18;1272:6;1269:30;1266:50;;;1312:1;1309;1302:12;1266:50;1335:49;1376:7;1367:6;1356:9;1352:22;1335:49;:::i;:::-;1325:59;;;1431:2;1420:9;1416:18;1403:32;1393:42;;985:456;;;;;:::o;1677:388::-;1754:6;1762;1815:2;1803:9;1794:7;1790:23;1786:32;1783:52;;;1831:1;1828;1821:12;1783:52;1867:9;1854:23;1844:33;;1928:2;1917:9;1913:18;1900:32;1955:18;1947:6;1944:30;1941:50;;;1987:1;1984;1977:12;1941:50;2010:49;2051:7;2042:6;2031:9;2027:22;2010:49;:::i;:::-;2000:59;;;1677:388;;;;;:::o
Swarm Source
ipfs://42370371db1e96deaee6c9ced1f4c9bfd1cf197b295952ee2c28698d7304e8c7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.