Verified contractPartial
Wallet
Address0x46b57dfa060bbf990a098825219dff68ca51ea91
- Balance
0 ETH
- Transactions
1
- 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
- 8,494,752
- Creation transaction
- 0x9525d756b0…0688f27a41
- 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.