Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deploy | 18810324 | 249 days ago | IN | 0 ETH | 0.05300927 | ||||
Deploy | 18747754 | 258 days ago | IN | 0 ETH | 0.03798452 | ||||
Deploy | 18661958 | 270 days ago | IN | 0 ETH | 0.03168792 | ||||
Change Owner | 18661928 | 270 days ago | IN | 0 ETH | 0.00054608 | ||||
Deploy | 18661617 | 270 days ago | IN | 0 ETH | 0.04133025 | ||||
Deploy | 18661609 | 270 days ago | IN | 0 ETH | 0.03965502 | ||||
0x60806040 | 18661564 | 270 days ago | IN | 0 ETH | 0.0144919 |
Latest 10 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18810324 | 249 days ago | Contract Creation | 0 ETH | |||
18810324 | 249 days ago | Contract Creation | 0 ETH | |||
18747754 | 258 days ago | Contract Creation | 0 ETH | |||
18747754 | 258 days ago | Contract Creation | 0 ETH | |||
18661958 | 270 days ago | Contract Creation | 0 ETH | |||
18661958 | 270 days ago | Contract Creation | 0 ETH | |||
18661617 | 270 days ago | Contract Creation | 0 ETH | |||
18661617 | 270 days ago | Contract Creation | 0 ETH | |||
18661609 | 270 days ago | Contract Creation | 0 ETH | |||
18661609 | 270 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
factory
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-11-27 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity =0.8.21; contract factory { address _owner; address private _codeAddress; constructor() { _owner = msg.sender; } function changeOwner(address owner) external { require(msg.sender == _owner); _owner = owner; } function deploy(uint salt, bytes memory runtimeCode) external returns(address rtnAddress) { require(msg.sender == _owner); address addr; assembly { addr := create(0, add(runtimeCode, 0x20), mload(runtimeCode)) } _codeAddress = addr; bytes memory bytecode = hex"5860208158601c335a6338cc48318752fa158151803b80938091923cf3"; assembly { rtnAddress := create2(0, add(bytecode, 0x20), mload(bytecode), salt) } } function deploy(uint salt, address codeAddress) external returns(address rtnAddress) { require(msg.sender == _owner); _codeAddress = codeAddress; bytes memory bytecode = hex"5860208158601c335a6338cc48318752fa158151803b80938091923cf3"; assembly { rtnAddress := create2(0, add(bytecode, 0x20), mload(bytecode), salt) } } function getAddress() external view returns(address) { return _codeAddress; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"bytes","name":"runtimeCode","type":"bytes"}],"name":"deploy","outputs":[{"internalType":"address","name":"rtnAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"address","name":"codeAddress","type":"address"}],"name":"deploy","outputs":[{"internalType":"address","name":"rtnAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561000f575f80fd5b50335f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506106758061005c5f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c806338cc48311461004e57806361ff715f1461006c578063a6f9dae11461009c578063df02995d146100b8575b5f80fd5b6100566100e8565b60405161006391906103b9565b60405180910390f35b61008660048036038101906100819190610552565b610110565b60405161009391906103b9565b60405180910390f35b6100b660048036038101906100b191906105d6565b6101ff565b005b6100d260048036038101906100cd9190610601565b610297565b6040516100df91906103b9565b60405180910390f35b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610168575f80fd5b5f8251602084015ff090508060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f6040518060400160405280601d81526020017f5860208158601c335a6338cc48318752fa158151803b80938091923cf30000008152509050848151602083015ff59250505092915050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610255575f80fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102ef575f80fd5b8160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f6040518060400160405280601d81526020017f5860208158601c335a6338cc48318752fa158151803b80938091923cf30000008152509050838151602083015ff591505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6103a38261037a565b9050919050565b6103b381610399565b82525050565b5f6020820190506103cc5f8301846103aa565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6103f5816103e3565b81146103ff575f80fd5b50565b5f81359050610410816103ec565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6104648261041e565b810181811067ffffffffffffffff821117156104835761048261042e565b5b80604052505050565b5f6104956103d2565b90506104a1828261045b565b919050565b5f67ffffffffffffffff8211156104c0576104bf61042e565b5b6104c98261041e565b9050602081019050919050565b828183375f83830152505050565b5f6104f66104f1846104a6565b61048c565b9050828152602081018484840111156105125761051161041a565b5b61051d8482856104d6565b509392505050565b5f82601f83011261053957610538610416565b5b81356105498482602086016104e4565b91505092915050565b5f8060408385031215610568576105676103db565b5b5f61057585828601610402565b925050602083013567ffffffffffffffff811115610596576105956103df565b5b6105a285828601610525565b9150509250929050565b6105b581610399565b81146105bf575f80fd5b50565b5f813590506105d0816105ac565b92915050565b5f602082840312156105eb576105ea6103db565b5b5f6105f8848285016105c2565b91505092915050565b5f8060408385031215610617576106166103db565b5b5f61062485828601610402565b9250506020610635858286016105c2565b915050925092905056fea264697066735822122039bd5540df60635fd9ab7aeb4072f3efca53a554c7be9766953b234dc93b7f7564736f6c63430008150033
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061004a575f3560e01c806338cc48311461004e57806361ff715f1461006c578063a6f9dae11461009c578063df02995d146100b8575b5f80fd5b6100566100e8565b60405161006391906103b9565b60405180910390f35b61008660048036038101906100819190610552565b610110565b60405161009391906103b9565b60405180910390f35b6100b660048036038101906100b191906105d6565b6101ff565b005b6100d260048036038101906100cd9190610601565b610297565b6040516100df91906103b9565b60405180910390f35b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610168575f80fd5b5f8251602084015ff090508060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f6040518060400160405280601d81526020017f5860208158601c335a6338cc48318752fa158151803b80938091923cf30000008152509050848151602083015ff59250505092915050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610255575f80fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102ef575f80fd5b8160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f6040518060400160405280601d81526020017f5860208158601c335a6338cc48318752fa158151803b80938091923cf30000008152509050838151602083015ff591505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6103a38261037a565b9050919050565b6103b381610399565b82525050565b5f6020820190506103cc5f8301846103aa565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6103f5816103e3565b81146103ff575f80fd5b50565b5f81359050610410816103ec565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6104648261041e565b810181811067ffffffffffffffff821117156104835761048261042e565b5b80604052505050565b5f6104956103d2565b90506104a1828261045b565b919050565b5f67ffffffffffffffff8211156104c0576104bf61042e565b5b6104c98261041e565b9050602081019050919050565b828183375f83830152505050565b5f6104f66104f1846104a6565b61048c565b9050828152602081018484840111156105125761051161041a565b5b61051d8482856104d6565b509392505050565b5f82601f83011261053957610538610416565b5b81356105498482602086016104e4565b91505092915050565b5f8060408385031215610568576105676103db565b5b5f61057585828601610402565b925050602083013567ffffffffffffffff811115610596576105956103df565b5b6105a285828601610525565b9150509250929050565b6105b581610399565b81146105bf575f80fd5b50565b5f813590506105d0816105ac565b92915050565b5f602082840312156105eb576105ea6103db565b5b5f6105f8848285016105c2565b91505092915050565b5f8060408385031215610617576106166103db565b5b5f61062485828601610402565b9250506020610635858286016105c2565b915050925092905056fea264697066735822122039bd5540df60635fd9ab7aeb4072f3efca53a554c7be9766953b234dc93b7f7564736f6c63430008150033
Deployed Bytecode Sourcemap
67:1275:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1248:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;335:512;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;209:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;855:385;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1248:91;1292:7;1319:12;;;;;;;;;;;1312:19;;1248:91;:::o;335:512::-;405:18;458:6;;;;;;;;;;;444:20;;:10;:20;;;436:29;;;;;;478:12;573:11;567:18;560:4;547:11;543:22;540:1;533:53;525:61;;622:4;607:12;;:19;;;;;;;;;;;;;;;;;;639:21;:87;;;;;;;;;;;;;;;;;;;824:4;813:8;807:15;800:4;790:8;786:19;783:1;775:54;761:68;;746:94;;335:512;;;;:::o;209:118::-;287:6;;;;;;;;;;273:20;;:10;:20;;;265:29;;;;;;314:5;305:6;;:14;;;;;;;;;;;;;;;;;;209:118;:::o;855:385::-;920:18;973:6;;;;;;;;;;;959:20;;:10;:20;;;951:29;;;;;;1008:11;993:12;;:26;;;;;;;;;;;;;;;;;;1032:21;:87;;;;;;;;;;;;;;;;;;;1217:4;1206:8;1200:15;1193:4;1183:8;1179:19;1176:1;1168:54;1154:68;;1139:94;855:385;;;;:::o;7:126:1:-;44:7;84:42;77:5;73:54;62:65;;7:126;;;:::o;139:96::-;176:7;205:24;223:5;205:24;:::i;:::-;194:35;;139:96;;;:::o;241:118::-;328:24;346:5;328:24;:::i;:::-;323:3;316:37;241:118;;:::o;365:222::-;458:4;496:2;485:9;481:18;473:26;;509:71;577:1;566:9;562:17;553:6;509:71;:::i;:::-;365:222;;;;:::o;593:75::-;626:6;659:2;653:9;643:19;;593:75;:::o;674:117::-;783:1;780;773:12;797:117;906:1;903;896:12;920:77;957:7;986:5;975:16;;920:77;;;:::o;1003:122::-;1076:24;1094:5;1076:24;:::i;:::-;1069:5;1066:35;1056:63;;1115:1;1112;1105:12;1056:63;1003:122;:::o;1131:139::-;1177:5;1215:6;1202:20;1193:29;;1231:33;1258:5;1231:33;:::i;:::-;1131:139;;;;:::o;1276:117::-;1385:1;1382;1375:12;1399:117;1508:1;1505;1498:12;1522:102;1563:6;1614:2;1610:7;1605:2;1598:5;1594:14;1590:28;1580:38;;1522:102;;;:::o;1630:180::-;1678:77;1675:1;1668:88;1775:4;1772:1;1765:15;1799:4;1796:1;1789:15;1816:281;1899:27;1921:4;1899:27;:::i;:::-;1891:6;1887:40;2029:6;2017:10;2014:22;1993:18;1981:10;1978:34;1975:62;1972:88;;;2040:18;;:::i;:::-;1972:88;2080:10;2076:2;2069:22;1859:238;1816:281;;:::o;2103:129::-;2137:6;2164:20;;:::i;:::-;2154:30;;2193:33;2221:4;2213:6;2193:33;:::i;:::-;2103:129;;;:::o;2238:307::-;2299:4;2389:18;2381:6;2378:30;2375:56;;;2411:18;;:::i;:::-;2375:56;2449:29;2471:6;2449:29;:::i;:::-;2441:37;;2533:4;2527;2523:15;2515:23;;2238:307;;;:::o;2551:146::-;2648:6;2643:3;2638;2625:30;2689:1;2680:6;2675:3;2671:16;2664:27;2551:146;;;:::o;2703:423::-;2780:5;2805:65;2821:48;2862:6;2821:48;:::i;:::-;2805:65;:::i;:::-;2796:74;;2893:6;2886:5;2879:21;2931:4;2924:5;2920:16;2969:3;2960:6;2955:3;2951:16;2948:25;2945:112;;;2976:79;;:::i;:::-;2945:112;3066:54;3113:6;3108:3;3103;3066:54;:::i;:::-;2786:340;2703:423;;;;;:::o;3145:338::-;3200:5;3249:3;3242:4;3234:6;3230:17;3226:27;3216:122;;3257:79;;:::i;:::-;3216:122;3374:6;3361:20;3399:78;3473:3;3465:6;3458:4;3450:6;3446:17;3399:78;:::i;:::-;3390:87;;3206:277;3145:338;;;;:::o;3489:652::-;3566:6;3574;3623:2;3611:9;3602:7;3598:23;3594:32;3591:119;;;3629:79;;:::i;:::-;3591:119;3749:1;3774:53;3819:7;3810:6;3799:9;3795:22;3774:53;:::i;:::-;3764:63;;3720:117;3904:2;3893:9;3889:18;3876:32;3935:18;3927:6;3924:30;3921:117;;;3957:79;;:::i;:::-;3921:117;4062:62;4116:7;4107:6;4096:9;4092:22;4062:62;:::i;:::-;4052:72;;3847:287;3489:652;;;;;:::o;4147:122::-;4220:24;4238:5;4220:24;:::i;:::-;4213:5;4210:35;4200:63;;4259:1;4256;4249:12;4200:63;4147:122;:::o;4275:139::-;4321:5;4359:6;4346:20;4337:29;;4375:33;4402:5;4375:33;:::i;:::-;4275:139;;;;:::o;4420:329::-;4479:6;4528:2;4516:9;4507:7;4503:23;4499:32;4496:119;;;4534:79;;:::i;:::-;4496:119;4654:1;4679:53;4724:7;4715:6;4704:9;4700:22;4679:53;:::i;:::-;4669:63;;4625:117;4420:329;;;;:::o;4755:474::-;4823:6;4831;4880:2;4868:9;4859:7;4855:23;4851:32;4848:119;;;4886:79;;:::i;:::-;4848:119;5006:1;5031:53;5076:7;5067:6;5056:9;5052:22;5031:53;:::i;:::-;5021:63;;4977:117;5133:2;5159:53;5204:7;5195:6;5184:9;5180:22;5159:53;:::i;:::-;5149:63;;5104:118;4755:474;;;;;:::o
Swarm Source
ipfs://39bd5540df60635fd9ab7aeb4072f3efca53a554c7be9766953b234dc93b7f75
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.