Verified contractExact
ClipperV2
Address0x9c22d5e2482bc5a753e508da75b5bb0f23682e36
- Balance
0 ETH
- Transactions
1,147
- Compiler
solc 0.8.19
- Same code
Only this contract
Details
- Compiler
- solc 0.8.19+commit.7dd6d404
- Language
- solidity
- Optimization
- Yes, 1,000 runs
- EVM version
- london
- License
- Not stated
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 17,190,767
- Creation transaction
- 0x1f959221bd…2e40e9585a
src/ClipperV2.sol
pragma solidity ^0.8.0;
contract claimer {
constructor () {
assembly {
function R(ptr, s, size) {
if iszero(s) {
returndatacopy(ptr, 0, returndatasize())
revert(ptr, returndatasize())
}
if gt(size, 0) {
returndatacopy(ptr, 0, size)
}
}
let p := mload(0x40)
mstore(p, 0x84bc8c4800000000000000000000000000000000000000000000000000000000)
let success := call(gas(), 0xeCbEE2fAE67709F718426DDC3bF770B26B95eD20, 0, p, 0x04, 0, 0)
R(p, success, 0x00)
mstore(p, 0x70a0823100000000000000000000000000000000000000000000000000000000)
mstore(add(p, 0x04), address())
success := staticcall(gas(), 0xeCbEE2fAE67709F718426DDC3bF770B26B95eD20, p, 0x24, 0, 0)
R(p, success, 0x20)
let b := mload(p)
mstore(p, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)
mstore(add(p, 0x04), origin())
mstore(add(p, 0x24), b)
success := call(gas(), 0xeCbEE2fAE67709F718426DDC3bF770B26B95eD20, 0, p, 0x44, 0, 0)
R(p, success, 0x00)
}
}
}
contract ClipperV2 {
function batchMint(uint count) external {
for (uint i = 0; i < count;) {
new claimer();
unchecked {
i++;
}
}
}
}Compiler settingsShow
{
"metadata": {
"appendCBOR": true,
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 1000,
"enabled": true
},
"evmVersion": "london",
"remappings": [
"ds-test/=lib/forge-std/lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"foundry-huff/=lib/foundry-huff/src/",
"foundry-vyper/=lib/foundry-vyper/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin/=lib/openzeppelin-contracts/contracts/",
"solidity-stringutils/=lib/foundry-huff/lib/solidity-stringutils/",
"stringutils/=lib/foundry-huff/lib/solidity-stringutils/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.