ETH Price: $3,357.48 (-2.81%)
Gas: 2 Gwei

Contract

0x76d1adaeD54206714E9af130E3Ef9958272a2b67
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim199554082024-05-26 17:01:2337 days ago1716742883IN
0x76d1adae...8272a2b67
0 ETH0.0007044510.58276717
Claim199251142024-05-22 11:26:3541 days ago1716377195IN
0x76d1adae...8272a2b67
0 ETH0.000612039.1944749
Claim199251142024-05-22 11:26:3541 days ago1716377195IN
0x76d1adae...8272a2b67
0 ETH0.000612559.20216152
Claim199251132024-05-22 11:26:2341 days ago1716377183IN
0x76d1adae...8272a2b67
0 ETH0.000609629.15816548
Claim199251122024-05-22 11:26:1141 days ago1716377171IN
0x76d1adae...8272a2b67
0 ETH0.000595188.94128275
Claim199251112024-05-22 11:25:5941 days ago1716377159IN
0x76d1adae...8272a2b67
0 ETH0.000602569.05221261
Claim199251112024-05-22 11:25:5941 days ago1716377159IN
0x76d1adae...8272a2b67
0 ETH0.000635519.54721261
Claim199251102024-05-22 11:25:4741 days ago1716377147IN
0x76d1adae...8272a2b67
0 ETH0.000603049.05939187
Claim199251092024-05-22 11:25:3541 days ago1716377135IN
0x76d1adae...8272a2b67
0 ETH0.000571928.5918798
Claim199251092024-05-22 11:25:3541 days ago1716377135IN
0x76d1adae...8272a2b67
0 ETH0.000571928.5918798
Claim199251092024-05-22 11:25:3541 days ago1716377135IN
0x76d1adae...8272a2b67
0 ETH0.000571988.59279271
Claim199251092024-05-22 11:25:3541 days ago1716377135IN
0x76d1adae...8272a2b67
0 ETH0.000605289.09302397
Claim199251082024-05-22 11:25:2341 days ago1716377123IN
0x76d1adae...8272a2b67
0 ETH0.000573358.61330559
Claim199251082024-05-22 11:25:2341 days ago1716377123IN
0x76d1adae...8272a2b67
0 ETH0.00060639.10830559
Claim199251082024-05-22 11:25:2341 days ago1716377123IN
0x76d1adae...8272a2b67
0 ETH0.00060639.10830559
Claim199251072024-05-22 11:25:1141 days ago1716377111IN
0x76d1adae...8272a2b67
0 ETH0.000615249.2425913
Claim199251042024-05-22 11:24:3541 days ago1716377075IN
0x76d1adae...8272a2b67
0 ETH0.000583538.76631363
Claim199251042024-05-22 11:24:3541 days ago1716377075IN
0x76d1adae...8272a2b67
0 ETH0.000583538.76631363
Claim199251042024-05-22 11:24:3541 days ago1716377075IN
0x76d1adae...8272a2b67
0 ETH0.000583728.76916947
Claim199251032024-05-22 11:24:2341 days ago1716377063IN
0x76d1adae...8272a2b67
0 ETH0.000609969.16337049
Claim199251022024-05-22 11:24:1141 days ago1716377051IN
0x76d1adae...8272a2b67
0 ETH0.000530827.97444706
Claim199251022024-05-22 11:24:1141 days ago1716377051IN
0x76d1adae...8272a2b67
0 ETH0.000530917.97576044
Claim199251022024-05-22 11:24:1141 days ago1716377051IN
0x76d1adae...8272a2b67
0 ETH0.000530917.97576044
Claim199251022024-05-22 11:24:1141 days ago1716377051IN
0x76d1adae...8272a2b67
0 ETH0.000530917.97576044
Claim199251022024-05-22 11:24:1141 days ago1716377051IN
0x76d1adae...8272a2b67
0 ETH0.000531077.97821581
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MMClaim

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : MMClaim.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import {IERC20, SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import { Address } from "@openzeppelin/contracts/utils/Address.sol";

error NoClaimableTokensForThisAddress();
error AccountIsBlackListed();
error PresaleTokenAddressNotSet();
error InvalidTokenAddress();
error TokenTransferFailed();
error ClaimDisabled();
error ArrayLengthsMismatch(); 

contract MMClaim is Pausable, ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;
	using Address for address;

	mapping(address => uint256) public claimableAmounts;
	mapping(address => bool) public isBlackList;
	address public saleToken;

	event Claimed(address indexed recipient, uint256 amount);
    event TokensWithdrawn(uint256 amount);

	/**
	 * @notice Constructor
	 */
	constructor() Ownable(msg.sender) {
		saleToken = address(0);
	}

	function changeTokenToClaim(address _saleToken) external onlyOwner {
		if (_saleToken == address(0)) {
			revert InvalidTokenAddress();
		}
		saleToken = _saleToken;
	} 
    /**
     * @notice Pause airdrop
     */
    function pauseAirdrop() external onlyOwner whenNotPaused {
        _pause();
    }

    /**
     * @notice Unpause airdrop
     */
    function unpauseAirdrop() external onlyOwner whenPaused {
        _unpause();
    }
 
	function updateClaimableAmounts(
		address[] memory _users,
		uint256[] memory _amounts
	) external onlyOwner {
		if (_users.length != _amounts.length) {
			revert ArrayLengthsMismatch();
		}
		for (uint256 i = 0; i < _users.length; i++) {
			claimableAmounts[_users[i]] += _amounts[i];
		}
	} 
	
	function removeAirdropUsers(
		address[] memory _users
	) external onlyOwner {
		for (uint256 i = 0; i < _users.length; i++) {
			delete claimableAmounts[_users[i]];
		}
	}

	function changeBlacklist(
		address _account,
		bool _isBlacklisted
	) external onlyOwner {
		isBlackList[_account] = _isBlacklisted;
	}

	function claimableAmount(address _account) public view returns (uint256) {
		uint256 amount = claimableAmounts[_account];
		if (amount <= 0) {
			revert NoClaimableTokensForThisAddress();
		}
		return amount;
	}

	function claim() external whenNotPaused nonReentrant {
		if (saleToken == address(0)) {
			revert PresaleTokenAddressNotSet();
		}
		if (isBlackList[msg.sender]) {
			revert AccountIsBlackListed();
		}
		uint256 amount = claimableAmount(msg.sender);

        // Set as claimed
		claimableAmounts[msg.sender] = 0;

        // Transfer tokens
        IERC20(saleToken).safeTransfer(msg.sender, amount); 
		emit Claimed(msg.sender, amount);
	}

    /**
     * @notice Transfer tokens back to owner
     */
    function withdrawTokenRewards() external onlyOwner {
        uint256 balanceToWithdraw = IERC20(saleToken).balanceOf(address(this));
        IERC20(saleToken).safeTransfer(msg.sender, balanceToWithdraw);

        emit TokensWithdrawn(balanceToWithdraw);
    }
}

File 2 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

File 3 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

File 4 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 9 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 7 of 9 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 8 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

File 9 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccountIsBlackListed","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"ArrayLengthsMismatch","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidTokenAddress","type":"error"},{"inputs":[],"name":"NoClaimableTokensForThisAddress","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"PresaleTokenAddressNotSet","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_isBlacklisted","type":"bool"}],"name":"changeBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_saleToken","type":"address"}],"name":"changeTokenToClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"claimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimableAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlackList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"removeAirdropUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"updateClaimableAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTokenRewards","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f80fd5b50335f805f6101000a81548160ff021916908315150217905550600180819055505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036100a0575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161009791906101f7565b60405180910390fd5b6100af816100f560201b60201c565b505f60055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610210565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6101e1826101b8565b9050919050565b6101f1816101d7565b82525050565b5f60208201905061020a5f8301846101e8565b92915050565b61178e8061021d5f395ff3fe608060405234801561000f575f80fd5b50600436106100fe575f3560e01c80638da5cb5b11610095578063e96ad3ad11610064578063e96ad3ad1461024a578063e985e36714610254578063f2fde38b14610272578063f791a94c1461028e576100fe565b80638da5cb5b146101d6578063b36d6919146101f4578063b71376a414610224578063c6afd5bb14610240576100fe565b80634e71d92d116100d15780634e71d92d146101745780635c975abb1461017e578063715018a61461019c57806389885049146101a6576100fe565b80630204113e1461010257806313d46b1c1461011e57806315618acd1461013a5780632bc79c1214610144575b5f80fd5b61011c60048036038101906101179190611060565b6102aa565b005b610138600480360381019061013391906112ce565b61035a565b005b610142610441565b005b61015e60048036038101906101599190611060565b61056b565b60405161016b9190611353565b60405180910390f35b61017c610580565b005b61018661078a565b6040516101939190611386565b60405180910390f35b6101a461079e565b005b6101c060048036038101906101bb9190611060565b6107b1565b6040516101cd9190611353565b60405180910390f35b6101de610835565b6040516101eb91906113ae565b60405180910390f35b61020e60048036038101906102099190611060565b61085d565b60405161021b9190611386565b60405180910390f35b61023e600480360381019061023991906113c7565b61087a565b005b6102486108f8565b005b610252610912565b005b61025c61092c565b60405161026991906113ae565b60405180910390f35b61028c60048036038101906102879190611060565b610951565b005b6102a860048036038101906102a39190611438565b6109d5565b005b6102b2610a35565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610317576040517f1eb00b0600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610362610a35565b805182511461039d576040517f3b800a4600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b825181101561043c578181815181106103bb576103ba611476565b5b602002602001015160035f8584815181106103d9576103d8611476565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461042891906114d0565b92505081905550808060010191505061039f565b505050565b610449610a35565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104a491906113ae565b602060405180830381865afa1580156104bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e39190611517565b9050610531338260055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610abc9092919063ffffffff16565b7f9c6393f251205f9e03559951cab4c9ae71767b6174f77944a5b0c2fa51fbda9f816040516105609190611353565b60405180910390a150565b6003602052805f5260405f205f915090505481565b610588610b3b565b610590610b85565b5f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610616576040517fc945a87300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610697576040517fea60097d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6106a1336107b1565b90505f60035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550610731338260055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610abc9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a826040516107779190611353565b60405180910390a250610788610bd4565b565b5f805f9054906101000a900460ff16905090565b6107a6610a35565b6107af5f610bdd565b565b5f8060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f811161082c576040517f5f7fb79800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004602052805f5260405f205f915054906101000a900460ff1681565b610882610a35565b5f5b81518110156108f45760035f8383815181106108a3576108a2611476565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f90558080600101915050610884565b5050565b610900610a35565b610908610b3b565b610910610ca0565b565b61091a610a35565b610922610d01565b61092a610d4a565b565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610959610a35565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109c9575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109c091906113ae565b60405180910390fd5b6109d281610bdd565b50565b6109dd610a35565b8060045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b610a3d610daa565b73ffffffffffffffffffffffffffffffffffffffff16610a5b610835565b73ffffffffffffffffffffffffffffffffffffffff1614610aba57610a7e610daa565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ab191906113ae565b60405180910390fd5b565b610b36838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401610aef929190611542565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610db1565b505050565b610b4361078a565b15610b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7a906115c3565b60405180910390fd5b565b600260015403610bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc19061162b565b60405180910390fd5b6002600181905550565b60018081905550565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610ca8610b3b565b60015f806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610cea610daa565b604051610cf791906113ae565b60405180910390a1565b610d0961078a565b610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f90611693565b60405180910390fd5b565b610d52610d01565b5f805f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610d93610daa565b604051610da091906113ae565b60405180910390a1565b5f33905090565b5f610ddb828473ffffffffffffffffffffffffffffffffffffffff16610e4690919063ffffffff16565b90505f815114158015610dff575080806020019051810190610dfd91906116c5565b155b15610e4157826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401610e3891906113ae565b60405180910390fd5b505050565b6060610e5383835f610e5b565b905092915050565b606081471015610ea257306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401610e9991906113ae565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff168486604051610eca9190611742565b5f6040518083038185875af1925050503d805f8114610f04576040519150601f19603f3d011682016040523d82523d5f602084013e610f09565b606091505b5091509150610f19868383610f24565b925050509392505050565b606082610f3957610f3482610fb1565b610fa9565b5f8251148015610f5f57505f8473ffffffffffffffffffffffffffffffffffffffff163b145b15610fa157836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401610f9891906113ae565b60405180910390fd5b819050610faa565b5b9392505050565b5f81511115610fc35780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61102f82611006565b9050919050565b61103f81611025565b8114611049575f80fd5b50565b5f8135905061105a81611036565b92915050565b5f6020828403121561107557611074610ffe565b5b5f6110828482850161104c565b91505092915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6110d58261108f565b810181811067ffffffffffffffff821117156110f4576110f361109f565b5b80604052505050565b5f611106610ff5565b905061111282826110cc565b919050565b5f67ffffffffffffffff8211156111315761113061109f565b5b602082029050602081019050919050565b5f80fd5b5f61115861115384611117565b6110fd565b9050808382526020820190506020840283018581111561117b5761117a611142565b5b835b818110156111a45780611190888261104c565b84526020840193505060208101905061117d565b5050509392505050565b5f82601f8301126111c2576111c161108b565b5b81356111d2848260208601611146565b91505092915050565b5f67ffffffffffffffff8211156111f5576111f461109f565b5b602082029050602081019050919050565b5f819050919050565b61121881611206565b8114611222575f80fd5b50565b5f813590506112338161120f565b92915050565b5f61124b611246846111db565b6110fd565b9050808382526020820190506020840283018581111561126e5761126d611142565b5b835b8181101561129757806112838882611225565b845260208401935050602081019050611270565b5050509392505050565b5f82601f8301126112b5576112b461108b565b5b81356112c5848260208601611239565b91505092915050565b5f80604083850312156112e4576112e3610ffe565b5b5f83013567ffffffffffffffff81111561130157611300611002565b5b61130d858286016111ae565b925050602083013567ffffffffffffffff81111561132e5761132d611002565b5b61133a858286016112a1565b9150509250929050565b61134d81611206565b82525050565b5f6020820190506113665f830184611344565b92915050565b5f8115159050919050565b6113808161136c565b82525050565b5f6020820190506113995f830184611377565b92915050565b6113a881611025565b82525050565b5f6020820190506113c15f83018461139f565b92915050565b5f602082840312156113dc576113db610ffe565b5b5f82013567ffffffffffffffff8111156113f9576113f8611002565b5b611405848285016111ae565b91505092915050565b6114178161136c565b8114611421575f80fd5b50565b5f813590506114328161140e565b92915050565b5f806040838503121561144e5761144d610ffe565b5b5f61145b8582860161104c565b925050602061146c85828601611424565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6114da82611206565b91506114e583611206565b92508282019050808211156114fd576114fc6114a3565b5b92915050565b5f815190506115118161120f565b92915050565b5f6020828403121561152c5761152b610ffe565b5b5f61153984828501611503565b91505092915050565b5f6040820190506115555f83018561139f565b6115626020830184611344565b9392505050565b5f82825260208201905092915050565b7f5061757361626c653a20706175736564000000000000000000000000000000005f82015250565b5f6115ad601083611569565b91506115b882611579565b602082019050919050565b5f6020820190508181035f8301526115da816115a1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f611615601f83611569565b9150611620826115e1565b602082019050919050565b5f6020820190508181035f83015261164281611609565b9050919050565b7f5061757361626c653a206e6f74207061757365640000000000000000000000005f82015250565b5f61167d601483611569565b915061168882611649565b602082019050919050565b5f6020820190508181035f8301526116aa81611671565b9050919050565b5f815190506116bf8161140e565b92915050565b5f602082840312156116da576116d9610ffe565b5b5f6116e7848285016116b1565b91505092915050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f61171c826116f0565b61172681856116fa565b9350611736818560208601611704565b80840191505092915050565b5f61174d8284611712565b91508190509291505056fea2646970667358221220ee0e9e24f164342ca1ef6df712d08ca0ff17cf517f3d42d65c76d106ab9ce93464736f6c63430008190033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100fe575f3560e01c80638da5cb5b11610095578063e96ad3ad11610064578063e96ad3ad1461024a578063e985e36714610254578063f2fde38b14610272578063f791a94c1461028e576100fe565b80638da5cb5b146101d6578063b36d6919146101f4578063b71376a414610224578063c6afd5bb14610240576100fe565b80634e71d92d116100d15780634e71d92d146101745780635c975abb1461017e578063715018a61461019c57806389885049146101a6576100fe565b80630204113e1461010257806313d46b1c1461011e57806315618acd1461013a5780632bc79c1214610144575b5f80fd5b61011c60048036038101906101179190611060565b6102aa565b005b610138600480360381019061013391906112ce565b61035a565b005b610142610441565b005b61015e60048036038101906101599190611060565b61056b565b60405161016b9190611353565b60405180910390f35b61017c610580565b005b61018661078a565b6040516101939190611386565b60405180910390f35b6101a461079e565b005b6101c060048036038101906101bb9190611060565b6107b1565b6040516101cd9190611353565b60405180910390f35b6101de610835565b6040516101eb91906113ae565b60405180910390f35b61020e60048036038101906102099190611060565b61085d565b60405161021b9190611386565b60405180910390f35b61023e600480360381019061023991906113c7565b61087a565b005b6102486108f8565b005b610252610912565b005b61025c61092c565b60405161026991906113ae565b60405180910390f35b61028c60048036038101906102879190611060565b610951565b005b6102a860048036038101906102a39190611438565b6109d5565b005b6102b2610a35565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610317576040517f1eb00b0600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610362610a35565b805182511461039d576040517f3b800a4600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b825181101561043c578181815181106103bb576103ba611476565b5b602002602001015160035f8584815181106103d9576103d8611476565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461042891906114d0565b92505081905550808060010191505061039f565b505050565b610449610a35565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104a491906113ae565b602060405180830381865afa1580156104bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e39190611517565b9050610531338260055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610abc9092919063ffffffff16565b7f9c6393f251205f9e03559951cab4c9ae71767b6174f77944a5b0c2fa51fbda9f816040516105609190611353565b60405180910390a150565b6003602052805f5260405f205f915090505481565b610588610b3b565b610590610b85565b5f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610616576040517fc945a87300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610697576040517fea60097d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6106a1336107b1565b90505f60035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550610731338260055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610abc9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a826040516107779190611353565b60405180910390a250610788610bd4565b565b5f805f9054906101000a900460ff16905090565b6107a6610a35565b6107af5f610bdd565b565b5f8060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f811161082c576040517f5f7fb79800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004602052805f5260405f205f915054906101000a900460ff1681565b610882610a35565b5f5b81518110156108f45760035f8383815181106108a3576108a2611476565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f90558080600101915050610884565b5050565b610900610a35565b610908610b3b565b610910610ca0565b565b61091a610a35565b610922610d01565b61092a610d4a565b565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610959610a35565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109c9575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109c091906113ae565b60405180910390fd5b6109d281610bdd565b50565b6109dd610a35565b8060045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b610a3d610daa565b73ffffffffffffffffffffffffffffffffffffffff16610a5b610835565b73ffffffffffffffffffffffffffffffffffffffff1614610aba57610a7e610daa565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ab191906113ae565b60405180910390fd5b565b610b36838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401610aef929190611542565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610db1565b505050565b610b4361078a565b15610b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7a906115c3565b60405180910390fd5b565b600260015403610bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc19061162b565b60405180910390fd5b6002600181905550565b60018081905550565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610ca8610b3b565b60015f806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610cea610daa565b604051610cf791906113ae565b60405180910390a1565b610d0961078a565b610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f90611693565b60405180910390fd5b565b610d52610d01565b5f805f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610d93610daa565b604051610da091906113ae565b60405180910390a1565b5f33905090565b5f610ddb828473ffffffffffffffffffffffffffffffffffffffff16610e4690919063ffffffff16565b90505f815114158015610dff575080806020019051810190610dfd91906116c5565b155b15610e4157826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401610e3891906113ae565b60405180910390fd5b505050565b6060610e5383835f610e5b565b905092915050565b606081471015610ea257306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401610e9991906113ae565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff168486604051610eca9190611742565b5f6040518083038185875af1925050503d805f8114610f04576040519150601f19603f3d011682016040523d82523d5f602084013e610f09565b606091505b5091509150610f19868383610f24565b925050509392505050565b606082610f3957610f3482610fb1565b610fa9565b5f8251148015610f5f57505f8473ffffffffffffffffffffffffffffffffffffffff163b145b15610fa157836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401610f9891906113ae565b60405180910390fd5b819050610faa565b5b9392505050565b5f81511115610fc35780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61102f82611006565b9050919050565b61103f81611025565b8114611049575f80fd5b50565b5f8135905061105a81611036565b92915050565b5f6020828403121561107557611074610ffe565b5b5f6110828482850161104c565b91505092915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6110d58261108f565b810181811067ffffffffffffffff821117156110f4576110f361109f565b5b80604052505050565b5f611106610ff5565b905061111282826110cc565b919050565b5f67ffffffffffffffff8211156111315761113061109f565b5b602082029050602081019050919050565b5f80fd5b5f61115861115384611117565b6110fd565b9050808382526020820190506020840283018581111561117b5761117a611142565b5b835b818110156111a45780611190888261104c565b84526020840193505060208101905061117d565b5050509392505050565b5f82601f8301126111c2576111c161108b565b5b81356111d2848260208601611146565b91505092915050565b5f67ffffffffffffffff8211156111f5576111f461109f565b5b602082029050602081019050919050565b5f819050919050565b61121881611206565b8114611222575f80fd5b50565b5f813590506112338161120f565b92915050565b5f61124b611246846111db565b6110fd565b9050808382526020820190506020840283018581111561126e5761126d611142565b5b835b8181101561129757806112838882611225565b845260208401935050602081019050611270565b5050509392505050565b5f82601f8301126112b5576112b461108b565b5b81356112c5848260208601611239565b91505092915050565b5f80604083850312156112e4576112e3610ffe565b5b5f83013567ffffffffffffffff81111561130157611300611002565b5b61130d858286016111ae565b925050602083013567ffffffffffffffff81111561132e5761132d611002565b5b61133a858286016112a1565b9150509250929050565b61134d81611206565b82525050565b5f6020820190506113665f830184611344565b92915050565b5f8115159050919050565b6113808161136c565b82525050565b5f6020820190506113995f830184611377565b92915050565b6113a881611025565b82525050565b5f6020820190506113c15f83018461139f565b92915050565b5f602082840312156113dc576113db610ffe565b5b5f82013567ffffffffffffffff8111156113f9576113f8611002565b5b611405848285016111ae565b91505092915050565b6114178161136c565b8114611421575f80fd5b50565b5f813590506114328161140e565b92915050565b5f806040838503121561144e5761144d610ffe565b5b5f61145b8582860161104c565b925050602061146c85828601611424565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6114da82611206565b91506114e583611206565b92508282019050808211156114fd576114fc6114a3565b5b92915050565b5f815190506115118161120f565b92915050565b5f6020828403121561152c5761152b610ffe565b5b5f61153984828501611503565b91505092915050565b5f6040820190506115555f83018561139f565b6115626020830184611344565b9392505050565b5f82825260208201905092915050565b7f5061757361626c653a20706175736564000000000000000000000000000000005f82015250565b5f6115ad601083611569565b91506115b882611579565b602082019050919050565b5f6020820190508181035f8301526115da816115a1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f611615601f83611569565b9150611620826115e1565b602082019050919050565b5f6020820190508181035f83015261164281611609565b9050919050565b7f5061757361626c653a206e6f74207061757365640000000000000000000000005f82015250565b5f61167d601483611569565b915061168882611649565b602082019050919050565b5f6020820190508181035f8301526116aa81611671565b9050919050565b5f815190506116bf8161140e565b92915050565b5f602082840312156116da576116d9610ffe565b5b5f6116e7848285016116b1565b91505092915050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f61171c826116f0565b61172681856116fa565b9350611736818560208601611704565b80840191505092915050565b5f61174d8284611712565b91508190509291505056fea2646970667358221220ee0e9e24f164342ca1ef6df712d08ca0ff17cf517f3d42d65c76d106ab9ce93464736f6c63430008190033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.