Skip to content
Verified contractPartial

Wallet

Address0x5bd51b93fd1584011b6b26b5d59ff97db9ff4c8d
Balance

0 ETH

 

Transactions

2

 

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,901
Creation transaction
0xfc1905651b…82b1be897d
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.