Verified contractPartial
DepositWallet
Address0x96b9eee7f49ab5ce722dd331c083ab4b7781e3ab
- Balance
0 ETH
- Transactions
132
- 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,523,694
- Creation transaction
- 0xf039975888…94bb2c87eb
- 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.