Skip to content
Verified contractPartial

Wallet

Address0x37ed5c504e133dea01dff6811a8a72c6625eb5bc
Balance

0 ETH

 

Transactions

31

 

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
6,224,214
Creation transaction
0x3cb1aca447…53be016032

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.