Verified contractPartial
UserWallet
Address0x25253942fd2df9cdc1825f3076765d40eb5fa250
- Balance
0 ETH
- Transactions
396
- Compiler
solc 0.5.4
- Same code
7,447 more contracts
Details
- Compiler
- solc 0.5.4+commit.9549d8ff
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 7,760,589
- Creation transaction
- 0xc9284e5142…9995c9149e
UserWallet.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.5.0;
contract SweeperRegistry {
function sweeperOf() public returns (address);
}
contract UserWallet {
address registry;
constructor(address _registry) public {
registry = _registry;
}
function () external payable {
}
function sweep(address token, uint256 amount) public returns (bool, bytes memory) {
(bool success, bytes memory data) = token.call(abi.encodeWithSignature("transfer(address,uint256)", SweeperRegistry(registry).sweeperOf(), amount));
return (success, data);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.