ETH Price: $3,249.77 (+0.27%)

Contract

0x91ab132713F5B5Ab7a26E4320c07166Cedb6B444
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stop164414502023-01-19 14:28:47722 days ago1674138527IN
0x91ab1327...Cedb6B444
0 ETH0.0005066615.90950433

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OwnerHolder

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2022-10-21
*/

//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

interface SubdomainRegistrar {
    function transferOwnership(address newOwner) external;

    function stop() external;

    function registrarOwner() external view returns (address);
}

contract OwnerHolder {
    address private admin = msg.sender;
    address private immutable subdomainRegistrar =
        0xe65d8AAF34CB91087D1598e0A15B582F57F217d9;

    modifier onlyAdmin() {
        require(msg.sender == admin, "Please don't");
        _;
    }

    function execute(address target, bytes calldata data) external onlyAdmin {
        (bool success, ) = target.call(data);
        require(success, "Call failed");
    }

    function stop() external onlyAdmin {
        SubdomainRegistrar(subdomainRegistrar).stop();
    }

    function transferOwner() external payable {
        require(msg.value >= 100 ether);
        SubdomainRegistrar(subdomainRegistrar).transferOwnership(msg.sender);
        selfdestruct(payable(admin));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferOwner","outputs":[],"stateMutability":"payable","type":"function"}]

60a0604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073e65d8aaf34cb91087d1598e0a15b582f57f217d973ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1660601b81525034801561009a57600080fd5b5060805160601c6106516100c06000396000818161011301526102ee01526106516000f3fe6080604052600436106100345760003560e01c806307da68f5146100395780631cff79cd14610050578063df05f42e14610079575b600080fd5b34801561004557600080fd5b5061004e610083565b005b34801561005c57600080fd5b506100776004803603810190610072919061040f565b610193565b005b6100816102d6565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010890610535565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166307da68f56040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561017957600080fd5b505af115801561018d573d6000803e3d6000fd5b50505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021890610535565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff16838360405161024a9291906104e1565b6000604051808303816000865af19150503d8060008114610287576040519150601f19603f3d011682016040523d82523d6000602084013e61028c565b606091505b50509050806102d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c790610515565b60405180910390fd5b50505050565b68056bc75e2d631000003410156102ec57600080fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b336040518263ffffffff1660e01b815260040161034591906104fa565b600060405180830381600087803b15801561035f57600080fd5b505af1158015610373573d6000803e3d6000fd5b5050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b6000813590506103bf81610604565b92915050565b60008083601f8401126103d757600080fd5b8235905067ffffffffffffffff8111156103f057600080fd5b60208301915083600182028301111561040857600080fd5b9250929050565b60008060006040848603121561042457600080fd5b6000610432868287016103b0565b935050602084013567ffffffffffffffff81111561044f57600080fd5b61045b868287016103c5565b92509250509250925092565b61047081610571565b82525050565b60006104828385610555565b935061048f8385846105a3565b82840190509392505050565b60006104a8600b83610560565b91506104b3826105b2565b602082019050919050565b60006104cb600c83610560565b91506104d6826105db565b602082019050919050565b60006104ee828486610476565b91508190509392505050565b600060208201905061050f6000830184610467565b92915050565b6000602082019050818103600083015261052e8161049b565b9050919050565b6000602082019050818103600083015261054e816104be565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061057c82610583565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b7f43616c6c206661696c6564000000000000000000000000000000000000000000600082015250565b7f506c6561736520646f6e27740000000000000000000000000000000000000000600082015250565b61060d81610571565b811461061857600080fd5b5056fea264697066735822122098f3871b5456d43a2c4e1fdd416fd2797389139b7317c0266683938262fad2d964736f6c63430008040033

Deployed Bytecode

0x6080604052600436106100345760003560e01c806307da68f5146100395780631cff79cd14610050578063df05f42e14610079575b600080fd5b34801561004557600080fd5b5061004e610083565b005b34801561005c57600080fd5b506100776004803603810190610072919061040f565b610193565b005b6100816102d6565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010890610535565b60405180910390fd5b7f000000000000000000000000e65d8aaf34cb91087d1598e0a15b582f57f217d973ffffffffffffffffffffffffffffffffffffffff166307da68f56040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561017957600080fd5b505af115801561018d573d6000803e3d6000fd5b50505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021890610535565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff16838360405161024a9291906104e1565b6000604051808303816000865af19150503d8060008114610287576040519150601f19603f3d011682016040523d82523d6000602084013e61028c565b606091505b50509050806102d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c790610515565b60405180910390fd5b50505050565b68056bc75e2d631000003410156102ec57600080fd5b7f000000000000000000000000e65d8aaf34cb91087d1598e0a15b582f57f217d973ffffffffffffffffffffffffffffffffffffffff1663f2fde38b336040518263ffffffff1660e01b815260040161034591906104fa565b600060405180830381600087803b15801561035f57600080fd5b505af1158015610373573d6000803e3d6000fd5b5050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b6000813590506103bf81610604565b92915050565b60008083601f8401126103d757600080fd5b8235905067ffffffffffffffff8111156103f057600080fd5b60208301915083600182028301111561040857600080fd5b9250929050565b60008060006040848603121561042457600080fd5b6000610432868287016103b0565b935050602084013567ffffffffffffffff81111561044f57600080fd5b61045b868287016103c5565b92509250509250925092565b61047081610571565b82525050565b60006104828385610555565b935061048f8385846105a3565b82840190509392505050565b60006104a8600b83610560565b91506104b3826105b2565b602082019050919050565b60006104cb600c83610560565b91506104d6826105db565b602082019050919050565b60006104ee828486610476565b91508190509392505050565b600060208201905061050f6000830184610467565b92915050565b6000602082019050818103600083015261052e8161049b565b9050919050565b6000602082019050818103600083015261054e816104be565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061057c82610583565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b7f43616c6c206661696c6564000000000000000000000000000000000000000000600082015250565b7f506c6561736520646f6e27740000000000000000000000000000000000000000600082015250565b61060d81610571565b811461061857600080fd5b5056fea264697066735822122098f3871b5456d43a2c4e1fdd416fd2797389139b7317c0266683938262fad2d964736f6c63430008040033

Deployed Bytecode Sourcemap

261:778:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;719:99;;;;;;;;;;;;;:::i;:::-;;541:170;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;826:210;;;:::i;:::-;;719:99;491:5;;;;;;;;;;477:19;;:10;:19;;;469:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;784:18:::1;765:43;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;719:99::o:0;541:170::-;491:5;;;;;;;;;;477:19;;:10;:19;;;469:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;626:12:::1;644:6;:11;;656:4;;644:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;625:36;;;680:7;672:31;;;;;;;;;;;;:::i;:::-;;;;;;;;;524:1;541:170:::0;;;:::o;826:210::-;900:9;887;:22;;879:31;;;;;;940:18;921:56;;;978:10;921:68;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1021:5;;;;;;;;;;1000:28;;;7:139:1;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;165:351::-;222:8;232:6;282:3;275:4;267:6;263:17;259:27;249:2;;300:1;297;290:12;249:2;336:6;323:20;313:30;;366:18;358:6;355:30;352:2;;;398:1;395;388:12;352:2;435:4;427:6;423:17;411:29;;489:3;481:4;473:6;469:17;459:8;455:32;452:41;449:2;;;506:1;503;496:12;449:2;239:277;;;;;:::o;522:538::-;601:6;609;617;666:2;654:9;645:7;641:23;637:32;634:2;;;682:1;679;672:12;634:2;725:1;750:53;795:7;786:6;775:9;771:22;750:53;:::i;:::-;740:63;;696:117;880:2;869:9;865:18;852:32;911:18;903:6;900:30;897:2;;;943:1;940;933:12;897:2;979:64;1035:7;1026:6;1015:9;1011:22;979:64;:::i;:::-;961:82;;;;823:230;624:436;;;;;:::o;1066:118::-;1153:24;1171:5;1153:24;:::i;:::-;1148:3;1141:37;1131:53;;:::o;1212:314::-;1326:3;1347:88;1428:6;1423:3;1347:88;:::i;:::-;1340:95;;1445:43;1481:6;1476:3;1469:5;1445:43;:::i;:::-;1513:6;1508:3;1504:16;1497:23;;1330:196;;;;;:::o;1532:366::-;1674:3;1695:67;1759:2;1754:3;1695:67;:::i;:::-;1688:74;;1771:93;1860:3;1771:93;:::i;:::-;1889:2;1884:3;1880:12;1873:19;;1678:220;;;:::o;1904:366::-;2046:3;2067:67;2131:2;2126:3;2067:67;:::i;:::-;2060:74;;2143:93;2232:3;2143:93;:::i;:::-;2261:2;2256:3;2252:12;2245:19;;2050:220;;;:::o;2276:291::-;2416:3;2438:103;2537:3;2528:6;2520;2438:103;:::i;:::-;2431:110;;2558:3;2551:10;;2420:147;;;;;:::o;2573:222::-;2666:4;2704:2;2693:9;2689:18;2681:26;;2717:71;2785:1;2774:9;2770:17;2761:6;2717:71;:::i;:::-;2671:124;;;;:::o;2801:419::-;2967:4;3005:2;2994:9;2990:18;2982:26;;3054:9;3048:4;3044:20;3040:1;3029:9;3025:17;3018:47;3082:131;3208:4;3082:131;:::i;:::-;3074:139;;2972:248;;;:::o;3226:419::-;3392:4;3430:2;3419:9;3415:18;3407:26;;3479:9;3473:4;3469:20;3465:1;3454:9;3450:17;3443:47;3507:131;3633:4;3507:131;:::i;:::-;3499:139;;3397:248;;;:::o;3651:147::-;3752:11;3789:3;3774:18;;3764:34;;;;:::o;3804:169::-;3888:11;3922:6;3917:3;3910:19;3962:4;3957:3;3953:14;3938:29;;3900:73;;;;:::o;3979:96::-;4016:7;4045:24;4063:5;4045:24;:::i;:::-;4034:35;;4024:51;;;:::o;4081:126::-;4118:7;4158:42;4151:5;4147:54;4136:65;;4126:81;;;:::o;4213:154::-;4297:6;4292:3;4287;4274:30;4359:1;4350:6;4345:3;4341:16;4334:27;4264:103;;;:::o;4373:161::-;4513:13;4509:1;4501:6;4497:14;4490:37;4479:55;:::o;4540:162::-;4680:14;4676:1;4668:6;4664:14;4657:38;4646:56;:::o;4708:122::-;4781:24;4799:5;4781:24;:::i;:::-;4774:5;4771:35;4761:2;;4820:1;4817;4810:12;4761:2;4751:79;:::o

Swarm Source

ipfs://98f3871b5456d43a2c4e1fdd416fd2797389139b7317c0266683938262fad2d9

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  ]

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.