Verified contractPartial
UserWallet
Address0x2645a6796f3c7082dd5eae8970b0f3d681e3d36c
- Balance
0.0006 ETH
- Transactions
7
- Compiler
solc 0.4.24
- Same code
24 more contracts
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 6,330,334
- Creation transaction
- 0x5e344cc2dd…63d1c3b90c
UserWallet.sol
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.23;
contract AbstractSweeperList {
function sweeperOf(address _token) public returns (address);
}
contract Logger {
function logIncoming(address _from, address _to, uint256 _block, uint256 _value) public;
}
contract UserWallet {
AbstractSweeperList sweeperList;
Logger logger;
constructor(address _sweeperlist, address _logger) public {
sweeperList = AbstractSweeperList(_sweeperlist);
logger = Logger(_logger);
}
function () public payable {
logger.logIncoming(msg.sender, this, block.number, msg.value);
}
function tokenFallback(address _from, uint _value, bytes _data) public {
}
function withdraw(address _token, uint _amount) public returns (bool) {
return sweeperList.sweeperOf(_token).delegatecall(msg.data);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.