Verified contractPartial
Wallet
Address0x7c03b5735d04ef73f58b40aea8a0caa839741dfb
- Balance
0 ETH
- Transactions
5
- Compiler
solc 0.4.14
- Same code
423 more contracts
Details
- Compiler
- solc 0.4.14+commit.c2215d46
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 12,405,249
- Creation transaction
- 0xf4968357da…115d2b8cfc
- Main copy (most transactions)
- 0xcf7c9bc8…999dff29
Wallet.sol
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.11;
contract Wallet {
address owner;
event Deposit(address from, uint256 value);
event Withdraw(address to, uint256 value);
function () public payable {
Deposit(msg.sender, msg.value);
}
function isOwner(address _addr) public constant returns (bool) {
return owner == _addr;
}
modifier onlyOwner() {
require(isOwner(msg.sender));
_;
}
function withdraw(address _to, uint256 _amount, bytes _data) public onlyOwner {
require(_to.call.value(_amount)(_data));
Withdraw(_to, _amount);
}
function kill() public onlyOwner {
selfdestruct(owner);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.