Verified contractPartial
Wallet
Address0xe261078e0921216b30776c2df8e40fb49ea488f0
- Balance
0 ETH
- Transactions
14
- Compiler
solc 0.5.5
- Same code
9,191 more contracts
Details
- Compiler
- solc 0.5.5+commit.47a71e8f
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- byzantium
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 7,969,230
- Creation transaction
- 0xc821fbb6df…4d83627d35
- Main copy (most transactions)
- 0xc5458e43…fc7942b1
Wallet.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.5.0;
contract Token {
function transfer(address to, uint256 value) public returns (bool);
}
contract Wallet {
address payable owner;
event DepositFrom(address from, uint256 value);
constructor() public {
owner = msg.sender;
}
function () external payable {
require(msg.data.length == 0);
owner.transfer(msg.value);
emit DepositFrom(msg.sender, msg.value);
}
function getOwner() public view returns (address) {
return owner;
}
function flushTokens(address token, uint256 amount) public {
require(msg.sender == owner);
Token t = Token(token);
t.transfer(owner, amount);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "byzantium"
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.