Skip to content
Verified contractPartial

Wallet

Address0xeff91d9fdd92e5a8dc81a99e299c1307e04ce38c
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.5.11

 

Same code

464 more contracts

 

Details

Compiler
solc 0.5.11+commit.c082d0b4
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
9,047,549
Creation transaction
0x610044036a…4dad26bbc5

Wallet.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.5.11;

interface IERC20 {
    function transfer(address to, uint256 value) external returns (bool);
}

contract Wallet {
    address owner;

    constructor() public {
        owner = msg.sender;
    }

    function () external payable { }

    function sendToken(address token, address to, uint256 amount) public {
        require(owner == msg.sender);
        require(IERC20(token).transfer(to, amount));
    }

    function sendEther(address payable to, uint256 amount) public {
        require(owner == msg.sender);
        to.transfer(amount);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.