Verified contractPartial
UserWallet
Address0x6ef90c348174c6610ee67bed38188c2aedaeebb5
- Balance
0 ETH
- Transactions
40
- Compiler
solc 0.4.11
- Same code
275 more contracts
Details
- Compiler
- solc 0.4.11+commit.68ef5810
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 11,718,901
- Creation transaction
- 0x3ed2c171e4…0007232acc
- Main copy (most transactions)
- 0x597d0f7b…6f162240
UserWallet.sol
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.0;
contract Controller {
function destination() returns (address);
function logSweep(address from, address to, address token, uint amount);
function sweeperOf(address _token) returns (address);
}
contract UserWallet {
Controller controller;
function () payable {
address dest = controller.destination();
dest.transfer(msg.value);
controller.logSweep(this, dest, 0, msg.value);
}
function tokenFallback(address _from, uint _value, bytes _data) {
}
function sweep(address _token, uint _amount) returns (bool) {
return controller.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.