Verified contractPartial
Wallet
Address0x08ded31dfd007595767395bb64cd8997fba3a8ac
- Balance
0 ETH
- Transactions
6
- Compiler
solc 0.4.12
- Same code
1,621 more contracts
Details
- Compiler
- solc 0.4.12+commit.194ff033
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,176,265
- Creation transaction
- 0xeed80de9c5…ae7c8c3e8a
- Main copy (most transactions)
- 0xcfddcdb6…fde39671
Wallet.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.11;
contract Token {
function transfer(address to, uint256 value);
}
contract Wallet {
address owner;
event Deposit(address indexed from, address indexed to, uint256 value);
function Wallet() {
owner = msg.sender;
}
function() payable {
if (msg.value > 0) {
Deposit(msg.sender, 0x58, msg.value);
}
}
function collectToken(address token, address to, uint256 amount) {
if (msg.sender == owner) {
Token t = Token(token);
t.transfer(to, amount);
}
}
function kill() {
if (msg.sender == owner) {
selfdestruct(owner);
}
}
function collect() {
if (msg.sender == owner) {
if (!owner.send(this.balance)) throw;
}
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.