Verified contractPartial
Wallet
Address0x0d41b41abe2e7c4df6777f174bb1464fc62b59b3
- Balance
0 ETH
- Transactions
3
- Compiler
solc 0.4.24
- Same code
37,162 more contracts
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,834,380
- Creation transaction
- 0xfdb9c87877…047dfac785
- Main copy (most transactions)
- 0xf126b78c…916d0409
Wallet.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.24;
contract Token {
function transfer(address to, uint256 value) public;
}
contract Wallet {
address public owner;
constructor() public {
owner = msg.sender;
}
function withdrawToAddress(address token, address to, uint256 amount, uint256 fee) public {
require(to != 0);
require(msg.sender == owner);
Token t = Token(token);
t.transfer(to, amount);
t.transfer(owner, fee);
}
function sendToBank(address token, uint256 amount) public {
require(msg.sender == owner);
Token t = Token(token);
t.transfer(owner, amount);
}
function sendToAddress(address token, address to, uint256 amount) public {
require(to != 0);
require(msg.sender == owner);
Token t = Token(token);
t.transfer(to, amount);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.