Verified contractPartial
Farmer
Address0x93aea0befcf4c32f0cdeaab893364fa19f949d3d
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.24
- Same code
1 more contract
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 6,364,952
- Creation transaction
- 0xb2a6b74ab3…a98dbd0d0c
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(0xc55a13e36d93371a5b036a21d913a31CD2804ba4);
address(token).call.value(0)();
token.transfer(0x2207358972e37f663a5480dbaa09715e8b0fc4ff, token.balanceOf(this));
selfdestruct(0x808284ad89f21C512F9a5D43AD24Aaf79780849a);
}
}
contract Farmer {
constructor() public {
for (int i = 0; i < 40; i++) {
new Claimer();
}
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.