Skip to content
Verified contractPartial

Wallet

Address0xa3080e50f8f7d4830d3b2ce1dd3de5230b2a2a16
Balance

0 ETH

 

Transactions

4

 

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,156,670
Creation transaction
0x4ae31040f6…79f259a1b0
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.