Skip to main content
PulseScanner.io

Address

0x3ebe2c6f0f208ee560e6455c74e783fe4e5d53fa
Current Holdings
$0.00
TXs sent
not counted
First Active
2026-06-12
block 26,767,112
Last Active
96 days ago
block 26,768,053
Funded By
0x5b4a…225b

Net worth historyi

2 snapshots · to block 27,488,953coverage change 26 Augcoverage change 27 Augcoverage change 27 Augcoverage change 27 Augcoverage change 27 Aug
exact matchPulseHundredBatchersolc 0.8.34+commit.80d5c536runtime exact · creation exact
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface ITargetContract {
    // Matches your target function selector: 0xcde33b1b
    function executeAndSweepInOneTx() external payable;
}

contract PulseHundredBatcher {
    
    // Your new hardcoded target address
    address public constant TARGET = 0x8c5667f96c2f5De719f2A57f2b9740f44FcF6DFd;

    /**
     * @notice Executes the target function exactly 100 times in a single transaction.
     * @dev To use this, send exactly 1,102,000 PLS (which splits into 11,020 PLS per call).
     */
    function batchHundredExecute() external payable {
        require(msg.value >= 100, "Not enough PLS sent");

        // Takes your total deposit and divides it by 100.
        // For 1,102,000 PLS, this is exactly 11,020 PLS per call.
        uint256 valuePerCall = msg.value / 100; 

        // Gas-optimized loop to handle 100 iterations safely
        for (uint256 i = 0; i < 100; ) {
            ITargetContract(TARGET).executeAndSweepInOneTx{value: valuePerCall}();
            
            // Unchecked increment saves gas on every loop
            unchecked {
                i++;
            }
        }

        // Refund check: Sends any leftover dust or remaining PLS back to you
        uint256 remainingBalance = address(this).balance;
        if (remainingBalance > 0) {
            (bool success, ) = payable(msg.sender).call{value: remainingBalance}("");
            require(success, "Refund failed");
        }
    }

    // Allows your contract to receive any returned or swept PLS safely
    receive() external payable {}
    fallback() external payable {}
}