Verified contractPartial
Vault
Address0xc0681ec5af739d3cfa75a63d6241303bd0cb35fc
- Balance
0 ETH
- Transactions
22
- Compiler
solc 0.4.19
- Same code
441 more contracts
Details
- Compiler
- solc 0.4.19+commit.c4cbbb05
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,239,836
- Creation transaction
- 0xd674d6af56…26e098edcc
Vault.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}
contract Vault is Ownable {
function Vault() public payable { }
function () public payable { }
function claim(address _to) public onlyOwner {
_to.transfer(this.balance);
}
function weiBalance() public constant returns (uint256) {
return this.balance;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.