Verified contractPartial
Farmer
Address0x46d1d4efc09a5369c4857cb066e3c8cfcb656daf
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.24
- Same code
4 more contracts
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 6,886,879
- Creation transaction
- 0x6b424315b9…56e6ce78b1
Farmer.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity 0.4.24;
interface ERC20 {
function transfer(address to, uint256 value) external returns (bool);
function balanceOf(address who) external view returns (uint256);
}
// Created by Farmer in a loop: claims the airdrop of the token by calling it, sends what it got to the collector,
// and destroys itself in the same transaction.
contract Claimer {
constructor() public {
ERC20 token = ERC20(0x5F0452Bf45C2AD560a4Ac6D663033C50bC04D044);
address(token).call.value(0)();
token.transfer(0xcff4ce4725205cc649f87d8ce1acf9df213db1ba, token.balanceOf(this));
selfdestruct(0x1Bbda03Ff0d7Dea036dF31bDdA8e4D6b0F0d5B83);
}
}
contract Farmer {
constructor() public {
for (int i = 0; i < 40; i++) {
new Claimer();
}
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.