Skip to content
Verified contractPartial

Wallet

Address0xcc46495ad0e5e3f4bfe1b2553a296b19eded12dd
Balance

0 ETH

 

Transactions

14

 

Compiler

solc 0.5.7

 

Same code

1,277 more contracts

 

Details

Compiler
solc 0.5.7+commit.6da8b019
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
7,632,547
Creation transaction
0xd73a2ecb55…f5e3d5e623

Wallet.sol

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

contract Ownable {
    function owner() public view returns (address);
}

contract Token {
    function balanceOf(address who) public view returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
}

contract Wallet {
    address factory;

    constructor(address _factory) public {
        factory = _factory;
    }

    function withdraw(address token, address to) public {
        require(msg.sender == Ownable(factory).owner());
        require(Token(token).transfer(to, Token(token).balanceOf(address(this))));
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.