Skip to content
Verified contractPartial

Wallet

Address0xf6aff9d4529b680ed7dd2ee5d83c145caeaefab0
Balance

0 ETH

 

Transactions

8

 

Compiler

solc 0.4.21

 

Same code

10,766 more contracts

 

Details

Compiler
solc 0.4.21+commit.dfe3193c
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
7,084,781
Creation transaction
0x941acf3c0d…9000bf8268
Main copy (most transactions)
0x37ed5c50…625eb5bc

Wallet.sol

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

contract Wallet {
    address public owner;
    bool public allowance = true;

    function Wallet() public {
        owner = msg.sender;
    }

    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    function () public payable {
        require(allowance);
    }

    function withdrawal(address to, uint256 amount) public onlyOwner {
        to.transfer(amount);
    }

    function SetAllowance(bool _allowance) public onlyOwner {
        if (_allowance != allowance) {
            allowance = _allowance;
        }
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.