Verified contractPartial
DepositWallet
Address0xc7d91a6c4c56dd9ffae00d9b3bf813983d60ea69
- Balance
0.104804 ETH
- Transactions
139
- Compiler
solc 0.4.4
- Same code
798 more contracts
Details
- Compiler
- solc 0.4.4+commit.4633f3de
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 3,665,242
- Creation transaction
- 0x6d1d5f07c6…4be006109f
- Main copy (most transactions)
- 0x1066355c…fb1f0ecd
DepositWallet.sol
// Submitted by EthereumHistory (ethereumhistory.com)
contract Token {
function transfer(address to, uint256 value);
}
contract DepositWallet {
address owner;
function DepositWallet() { owner = msg.sender; }
event Deposit(address indexed from, uint256 value, uint256 indexed data);
function() payable { if (msg.value > 0) Deposit(msg.sender, msg.value, 88); }
function collectToken(address token, address to, uint256 amount) {
if (msg.sender == owner) {
var t = Token(token);
t.transfer(to, amount);
}
}
function kill() { if (msg.sender == owner) suicide(owner); }
function collect() { if (msg.sender == owner) owner.send(this.balance); }
}
Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.