Verified contractExactMIT
ClaimFREE
Address0xca7fa8971137692c10aab38c72aa6afedfc25cb5
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.8.34
- Same code
Only this contract
Details
- Compiler
- solc 0.8.34+commit.80d5c536
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,375,597
- Creation transaction
- 0x4bc161b218…b0fa5aacc7
claim/FreeClaim.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.34;
contract Claimer {
constructor(address token, address target, uint256 amount) {
(bool ok, ) = token.call(abi.encodeWithSignature("transfer(address,uint256)", target, amount));
if (!ok) { }
assembly { return(0, 0) }
}
}
contract ClaimFREE {
address internal constant TOKEN = 0xceeF00B74Debbf51a540A3d5076fA5489E165CF0;
uint256 internal constant AMOUNT = 10;
function batchClaim(uint256 count) external {
address token = TOKEN;
uint256 amount = AMOUNT;
address target = msg.sender;
for (uint256 i = 0; i < count; ) {
new Claimer(token, target, amount);
unchecked { ++i; }
}
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.