APE Price: $0.41 (-4.71%)

Contract Diff Checker

Contract Name:
Airdrop

Contract Source Code:

<i class='far fa-question-circle text-muted ms-2' data-bs-trigger='hover' data-bs-toggle='tooltip' data-bs-html='true' data-bs-title='Click on the check box to select individual contract to compare. Only 1 contract can be selected from each side.'></i>

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.21;

contract Airdrop {
    function airdrop(address payable[] calldata recipients, uint256 value) external payable {
        for (uint256 i = 0; i < recipients.length; i++) recipients[i].transfer(value);

        uint256 balance = address(this).balance;
        if (balance > 0) payable(msg.sender).transfer(balance);
    }
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):