Verified contractPartial
Wallet
Address0xef379c610d6bc8b319800fa32d312a73c301bfce
- Balance
0 ETH
- Transactions
16
- Compiler
solc 0.4.23
- Same code
173 more contracts
Details
- Compiler
- solc 0.4.23+commit.124ca40d
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,271,225
- Creation transaction
- 0x2c976c7e62…34e698b5fa
Wallet.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.22;
contract ERC20 {
function transfer(address to, uint256 value) public returns (bool);
}
contract Wallet {
address owner;
constructor() public {
owner = msg.sender;
}
function() public payable {
owner.transfer(msg.value);
}
function transfer(address to, uint256 value) public {
require(msg.sender == owner);
to.transfer(value);
}
function transferToken(address to, uint256 value, address token) public returns (bool) {
require(msg.sender == owner);
ERC20 t = ERC20(token);
require(t.transfer(to, value));
return true;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.