ETH Price: $3,172.81 (-3.45%)

Contract

0xd26e4A8Ea2C3f558a4D0D4a96860134e8e33c893
 
Transaction Hash
Method
Block
From
To
Claim Bulk204199942024-07-30 14:33:59105 days ago1722350039IN
0xd26e4A8E...e8e33c893
0 ETH0.0019291113.7721427
Claim Bulk200829132024-06-13 12:30:47152 days ago1718281847IN
0xd26e4A8E...e8e33c893
0 ETH0.0010599414.09333212
Claim Bulk199940412024-06-01 2:39:35165 days ago1717209575IN
0xd26e4A8E...e8e33c893
0 ETH0.000682155.54630321
Claim Bulk199309502024-05-23 7:00:11174 days ago1716447611IN
0xd26e4A8E...e8e33c893
0 ETH0.000386545.13823454
Claim Bulk198706572024-05-14 20:38:59182 days ago1715719139IN
0xd26e4A8E...e8e33c893
0 ETH0.000488566.49248923
Claim Bulk198029962024-05-05 9:27:59192 days ago1714901279IN
0xd26e4A8E...e8e33c893
0 ETH0.00069775.67430247
Claim Bulk196232992024-04-10 5:59:35217 days ago1712728775IN
0xd26e4A8E...e8e33c893
0 ETH0.0016975313.9151109
Claim Bulk196023992024-04-07 7:42:23220 days ago1712475743IN
0xd26e4A8E...e8e33c893
0 ETH0.0012518313.56167956
Claim Bulk188839102023-12-28 11:47:47320 days ago1703764067IN
0xd26e4A8E...e8e33c893
0 ETH0.003569824.88413543
Claim Bulk184270532023-10-25 11:48:59384 days ago1698234539IN
0xd26e4A8E...e8e33c893
0 ETH0.0019291915.26634938
Claim Bulk183990632023-10-21 13:44:59388 days ago1697895899IN
0xd26e4A8E...e8e33c893
0 ETH0.001180778.23236991
Claim Bulk181439082023-09-15 20:14:35424 days ago1694808875IN
0xd26e4A8E...e8e33c893
0 ETH0.0010990113.97958273
Claim Bulk180985662023-09-09 11:34:35431 days ago1694259275IN
0xd26e4A8E...e8e33c893
0 ETH0.0015048810.48938878
Claim Bulk179906872023-08-25 9:02:47446 days ago1692954167IN
0xd26e4A8E...e8e33c893
0 ETH0.0013416117.05419302
Claim Bulk177014242023-07-15 21:26:59486 days ago1689456419IN
0xd26e4A8E...e8e33c893
0 ETH0.0013705717.43197871
Claim Bulk176742282023-07-12 1:28:59490 days ago1689125339IN
0xd26e4A8E...e8e33c893
0 ETH0.0018001512.54138978
Claim Bulk176478512023-07-08 8:26:35494 days ago1688804795IN
0xd26e4A8E...e8e33c893
0 ETH0.0021989428.3343903
Claim Bulk175829992023-06-29 5:52:47503 days ago1688017967IN
0xd26e4A8E...e8e33c893
0 ETH0.0022786715.89087363
Claim Bulk175703882023-06-27 11:24:35505 days ago1687865075IN
0xd26e4A8E...e8e33c893
0 ETH0.0017989112.62404401
Claim Bulk172833492023-05-18 2:03:35545 days ago1684375415IN
0xd26e4A8E...e8e33c893
0 ETH0.0062515143.89337886
Claim Bulk169502392023-03-31 22:46:11592 days ago1680302771IN
0xd26e4A8E...e8e33c893
0 ETH0.0030456921.22123122
Claim Bulk169150442023-03-27 0:04:35597 days ago1679875475IN
0xd26e4A8E...e8e33c893
0 ETH0.0018349714.51573625
Claim Bulk168755552023-03-21 10:55:35603 days ago1679396135IN
0xd26e4A8E...e8e33c893
0 ETH0.0016572111.54973911
Claim Bulk167882252023-03-09 4:18:59615 days ago1678335539IN
0xd26e4A8E...e8e33c893
0 ETH0.002298229.23706379
Claim Bulk167564942023-03-04 17:15:23619 days ago1677950123IN
0xd26e4A8E...e8e33c893
0 ETH0.0022691424.69735642
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:
Airdrop

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Airdrop.sol
// SPDX-License-Identifier: AGPL-3.0-or-later

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract Airdrop is Ownable, Pausable {
    using SafeERC20 for IERC20;

    /// @notice address of USDC token
    address public immutable tokenUSDC;

    /// @notice address of BUMP token
    address public immutable tokenBUMP;

    /// @notice Merkle tree root hash
    /// @dev Should be computed off-chain and be passed to contract
    ///      every time, when data, stored in tree nodes (address and amount of BUMP/USDC)
    ///      changes
    bytes32 public merkleRoot;

    /// @notice Packed array of booleans.
    /// @dev Value should be set using _setClaimed() function
    ///      Value should be taken using isClaimed() function
    mapping(uint256 => uint256) private claimedBitMap;

    // This event is triggered whenever a claim succeeds
    event Claimed(
        uint256 index,
        address indexed account,
        uint256 amountUSDC,
        uint256 amountBUMP,
        uint256 timestamp
    );

    /// @param _tokenUSDC USDC token address
    /// @param _tokenBUMP BUMP token address
    /// @param _merkleRoot Initial hash root of merle tree
    constructor(
        address _tokenUSDC,
        address _tokenBUMP,
        bytes32 _merkleRoot
    ) {
        require(_tokenUSDC != address(0), "Zero USDC address");
        require(_tokenBUMP != address(0), "Zero BUMP address");

        tokenUSDC = _tokenUSDC;
        tokenBUMP = _tokenBUMP;
        merkleRoot = _merkleRoot;

        // contract is paused by default
        _pause();
    }

    /// @notice Pauses contract
    function pause() external onlyOwner {
        _pause();
    }

    /// @notice Unpauses contract
    function unpause() external onlyOwner {
        _unpause();
    }

    /// @notice Claim a specific amount of tokens.
    /// @param index Unique idendifier of tree record. Records with same index are not allowed
    /// @param account Air-droped tokens owner
    /// @param amountUSDC Amount of USDC tokens to claim
    /// @param amountBUMP Amount of BUMP tokens to claim
    /// @param merkleProof  Proof of data accuracy
    function claim(
        uint256 index,
        address account,
        uint256 amountUSDC,
        uint256 amountBUMP,
        bytes32[] calldata merkleProof
    ) external whenNotPaused {
        _claim(index, account, amountUSDC, amountBUMP, merkleProof);
    }

    /// @notice Bulk token claim.
    /// @dev Can only be invoked if the escrow is NOT paused.
    /// @param claimArgs array encoded values (index, account, amount, timestamp, merkleProof)
    function claimBulk(bytes[] calldata claimArgs) external whenNotPaused {
        for (uint256 i = 0; i < claimArgs.length; i++) {
            (uint256 index, address account, uint256 amountUSDC, uint256 amountBUMP, bytes32[] memory merkleProof) = abi.decode(
                    claimArgs[i],
                (uint256, address, uint256, uint256, bytes32[])
            );
            _claim(index, account, amountUSDC, amountBUMP, merkleProof);
        }
    }

    /// @notice Claim a specific amount of tokens.
    /// @param index Unique idendifier of tree record. Records with same index are not allowed
    /// @param account Air-droped tokens owner
    /// @param amountUSDC Amount of USDC tokens to claim
    /// @param amountBUMP Amount of BUMP tokens to claim
    /// @param merkleProof  Proof of data accuracy
    function _claim(
        uint256 index,
        address account,
        uint256 amountUSDC,
        uint256 amountBUMP,
        bytes32[] memory merkleProof
    ) internal {
        require(merkleRoot != bytes32(0), "Merkle root not set");
        require(!isClaimed(index), "Drop already claimed");

        // Verify the merkle proof.
        bytes32 node = keccak256(
            abi.encodePacked(index, account, amountUSDC, amountBUMP)
        );
        require(
            MerkleProof.verify(merkleProof, merkleRoot, node),
            "Invalid proof"
        );

        // Mark it claimed and send the token.
        _setClaimed(index);

        if (amountUSDC > 0) {
            IERC20(tokenUSDC).safeTransfer(account, amountUSDC);
        }

        if (amountBUMP > 0) {
            IERC20(tokenBUMP).safeTransfer(account, amountBUMP);
        }

        emit Claimed(index, account, amountUSDC, amountBUMP, block.timestamp);
    }

    /// @notice Withdraws tokens, stored on this contract to address
    function withdraw(
        address _to,
        address _token,
        uint256 _amount
    ) external onlyOwner {
        IERC20(_token).safeTransfer(_to, _amount);
    }

    /// @notice Updates merkle tree root hash
    function setMerkleRoot(bytes32 root) external onlyOwner {
        merkleRoot = root;
    }

    /// @notice Check for index been claimed or not
    function isClaimed(uint256 index) public view returns (bool) {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        uint256 claimedWord = claimedBitMap[claimedWordIndex];
        uint256 mask = (1 << claimedBitIndex);
        return claimedWord & mask == mask;
    }

    /// @dev set claimedBitMap mapping value to `true`
    function _setClaimed(uint256 index) private {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        claimedBitMap[claimedWordIndex] =
            claimedBitMap[claimedWordIndex] |
            (1 << claimedBitIndex);
    }
}

File 2 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @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);
}

File 3 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../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;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 8 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 8 : Pausable.sol
// SPDX-License-Identifier: MIT

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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

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

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        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 7 of 8 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @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, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * 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.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @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`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenUSDC","type":"address"},{"internalType":"address","name":"_tokenBUMP","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountUSDC","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountBUMP","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amountUSDC","type":"uint256"},{"internalType":"uint256","name":"amountBUMP","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"claimArgs","type":"bytes[]"}],"name":"claimBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenBUMP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenUSDC","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b506040516200133938038062001339833981016040819052620000349162000236565b6200003f336200011a565b6000805460ff60a01b191690556001600160a01b0383166200009c5760405162461bcd60e51b81526020600482015260116024820152705a65726f2055534443206164647265737360781b60448201526064015b60405180910390fd5b6001600160a01b038216620000e85760405162461bcd60e51b81526020600482015260116024820152705a65726f2042554d50206164647265737360781b604482015260640162000093565b6001600160601b0319606084811b821660805283901b1660a0526001819055620001116200016a565b50505062000276565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200017e600054600160a01b900460ff1690565b15620001c05760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000093565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001fc3390565b6040516001600160a01b03909116815260200160405180910390a1565b80516001600160a01b03811681146200023157600080fd5b919050565b6000806000606084860312156200024b578283fd5b620002568462000219565b9250620002666020850162000219565b9150604084015190509250925092565b60805160601c60a05160601c611089620002b0600039600081816101f301526106b30152600081816101a6015261067901526110896000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c578063d9caed1211610066578063d9caed12146101c8578063ea57ff94146101db578063ea856940146101ee578063f2fde38b1461021557600080fd5b80638da5cb5b146101695780639e34070f1461018e578063c86d4040146101a157600080fd5b80635c975abb116100c85780635c975abb14610128578063715018a6146101465780637cb647591461014e5780638456cb591461016157600080fd5b80632eb4a7ab146100ef5780633e4fcb211461010b5780633f4ba83a14610120575b600080fd5b6100f860015481565b6040519081526020015b60405180910390f35b61011e610119366004610e2f565b610228565b005b61011e6102a3565b600054600160a01b900460ff165b6040519015158152602001610102565b61011e6102d7565b61011e61015c366004610d25565b61030b565b61011e61033a565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b61013661019c366004610d25565b61036c565b6101767f000000000000000000000000000000000000000000000000000000000000000081565b61011e6101d6366004610c85565b6103ad565b61011e6101e9366004610cc5565b6103f0565b6101767f000000000000000000000000000000000000000000000000000000000000000081565b61011e610223366004610c69565b61049b565b600054600160a01b900460ff161561025b5760405162461bcd60e51b815260040161025290610eef565b60405180910390fd5b61029b8686868686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061053692505050565b505050505050565b6000546001600160a01b031633146102cd5760405162461bcd60e51b815260040161025290610f19565b6102d5610734565b565b6000546001600160a01b031633146103015760405162461bcd60e51b815260040161025290610f19565b6102d560006107d1565b6000546001600160a01b031633146103355760405162461bcd60e51b815260040161025290610f19565b600155565b6000546001600160a01b031633146103645760405162461bcd60e51b815260040161025290610f19565b6102d5610821565b60008061037b61010084610f93565b9050600061038b61010085610ffe565b60009283526002602052604090922054600190921b9182169091149392505050565b6000546001600160a01b031633146103d75760405162461bcd60e51b815260040161025290610f19565b6103eb6001600160a01b0383168483610886565b505050565b600054600160a01b900460ff161561041a5760405162461bcd60e51b815260040161025290610eef565b60005b818110156103eb57600080600080600087878781811061044d57634e487b7160e01b600052603260045260246000fd5b905060200281019061045f9190610f4e565b81019061046c9190610d3d565b945094509450945094506104838585858585610536565b5050505050808061049390610fd7565b91505061041d565b6000546001600160a01b031633146104c55760405162461bcd60e51b815260040161025290610f19565b6001600160a01b03811661052a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610252565b610533816107d1565b50565b60015461057b5760405162461bcd60e51b815260206004820152601360248201527213595c9adb19481c9bdbdd081b9bdd081cd95d606a1b6044820152606401610252565b6105848561036c565b156105c85760405162461bcd60e51b8152602060048201526014602482015273111c9bdc08185b1c9958591e4818db185a5b595960621b6044820152606401610252565b604080516020808201889052606087901b6bffffffffffffffffffffffff1916828401526054820186905260748083018690528351808403909101815260949092019092528051910120600154610621908390836108d8565b61065d5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610252565b61066686610997565b83156106a0576106a06001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168686610886565b82156106da576106da6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168685610886565b60408051878152602081018690529081018490524260608201526001600160a01b038616907f528937b330082d892a98d4e428ab2dcca7844b51d227a1c0ae67f0b5261acbd99060800160405180910390a2505050505050565b600054600160a01b900460ff166107845760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610252565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600054600160a01b900460ff161561084b5760405162461bcd60e51b815260040161025290610eef565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586107b43390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526103eb9084906109d5565b600081815b855181101561098a57600086828151811061090857634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161094a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610977565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061098281610fd7565b9150506108dd565b50831490505b9392505050565b60006109a561010083610f93565b905060006109b561010084610ffe565b6000928352600260205260409092208054600190931b9092179091555050565b6000610a2a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aa79092919063ffffffff16565b8051909150156103eb5780806020019051810190610a489190610d05565b6103eb5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610252565b6060610ab68484600085610abe565b949350505050565b606082471015610b1f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610252565b843b610b6d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610252565b600080866001600160a01b03168587604051610b899190610ea0565b60006040518083038185875af1925050503d8060008114610bc6576040519150601f19603f3d011682016040523d82523d6000602084013e610bcb565b606091505b5091509150610bdb828286610be6565b979650505050505050565b60608315610bf5575081610990565b825115610c055782518084602001fd5b8160405162461bcd60e51b81526004016102529190610ebc565b60008083601f840112610c30578081fd5b50813567ffffffffffffffff811115610c47578182fd5b6020830191508360208260051b8501011115610c6257600080fd5b9250929050565b600060208284031215610c7a578081fd5b81356109908161103e565b600080600060608486031215610c99578182fd5b8335610ca48161103e565b92506020840135610cb48161103e565b929592945050506040919091013590565b60008060208385031215610cd7578182fd5b823567ffffffffffffffff811115610ced578283fd5b610cf985828601610c1f565b90969095509350505050565b600060208284031215610d16578081fd5b81518015158114610990578182fd5b600060208284031215610d36578081fd5b5035919050565b600080600080600060a08688031215610d54578081fd5b85359450602080870135610d678161103e565b94506040870135935060608701359250608087013567ffffffffffffffff80821115610d91578384fd5b818901915089601f830112610da4578384fd5b813581811115610db657610db6611028565b8060051b604051601f19603f83011681018181108582111715610ddb57610ddb611028565b604052828152858101935084860182860187018e1015610df9578788fd5b8795505b83861015610e1b578035855260019590950194938601938601610dfd565b508096505050505050509295509295909350565b60008060008060008060a08789031215610e47578081fd5b863595506020870135610e598161103e565b94506040870135935060608701359250608087013567ffffffffffffffff811115610e82578182fd5b610e8e89828a01610c1f565b979a9699509497509295939492505050565b60008251610eb2818460208701610fa7565b9190910192915050565b6020815260008251806020840152610edb816040850160208701610fa7565b601f01601f19169190910160400192915050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e19843603018112610f64578283fd5b83018035915067ffffffffffffffff821115610f7e578283fd5b602001915036819003821315610c6257600080fd5b600082610fa257610fa2611012565b500490565b60005b83811015610fc2578181015183820152602001610faa565b83811115610fd1576000848401525b50505050565b6000600019821415610ff757634e487b7160e01b81526011600452602481fd5b5060010190565b60008261100d5761100d611012565b500690565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461053357600080fdfea264697066735822122056e0dcab9ecd141419483e80ff7c59aa7fd8ca1f7c3c235bbf79625715859f3c64736f6c63430008040033000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000785c34312dfa6b74f6f1829f79ade3904222216897d5fae66d91fadc9e2efd8f7e7f12306cb2797f9d8655e7a93a081dfe0c2766

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c578063d9caed1211610066578063d9caed12146101c8578063ea57ff94146101db578063ea856940146101ee578063f2fde38b1461021557600080fd5b80638da5cb5b146101695780639e34070f1461018e578063c86d4040146101a157600080fd5b80635c975abb116100c85780635c975abb14610128578063715018a6146101465780637cb647591461014e5780638456cb591461016157600080fd5b80632eb4a7ab146100ef5780633e4fcb211461010b5780633f4ba83a14610120575b600080fd5b6100f860015481565b6040519081526020015b60405180910390f35b61011e610119366004610e2f565b610228565b005b61011e6102a3565b600054600160a01b900460ff165b6040519015158152602001610102565b61011e6102d7565b61011e61015c366004610d25565b61030b565b61011e61033a565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b61013661019c366004610d25565b61036c565b6101767f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b61011e6101d6366004610c85565b6103ad565b61011e6101e9366004610cc5565b6103f0565b6101767f000000000000000000000000785c34312dfa6b74f6f1829f79ade3904222216881565b61011e610223366004610c69565b61049b565b600054600160a01b900460ff161561025b5760405162461bcd60e51b815260040161025290610eef565b60405180910390fd5b61029b8686868686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061053692505050565b505050505050565b6000546001600160a01b031633146102cd5760405162461bcd60e51b815260040161025290610f19565b6102d5610734565b565b6000546001600160a01b031633146103015760405162461bcd60e51b815260040161025290610f19565b6102d560006107d1565b6000546001600160a01b031633146103355760405162461bcd60e51b815260040161025290610f19565b600155565b6000546001600160a01b031633146103645760405162461bcd60e51b815260040161025290610f19565b6102d5610821565b60008061037b61010084610f93565b9050600061038b61010085610ffe565b60009283526002602052604090922054600190921b9182169091149392505050565b6000546001600160a01b031633146103d75760405162461bcd60e51b815260040161025290610f19565b6103eb6001600160a01b0383168483610886565b505050565b600054600160a01b900460ff161561041a5760405162461bcd60e51b815260040161025290610eef565b60005b818110156103eb57600080600080600087878781811061044d57634e487b7160e01b600052603260045260246000fd5b905060200281019061045f9190610f4e565b81019061046c9190610d3d565b945094509450945094506104838585858585610536565b5050505050808061049390610fd7565b91505061041d565b6000546001600160a01b031633146104c55760405162461bcd60e51b815260040161025290610f19565b6001600160a01b03811661052a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610252565b610533816107d1565b50565b60015461057b5760405162461bcd60e51b815260206004820152601360248201527213595c9adb19481c9bdbdd081b9bdd081cd95d606a1b6044820152606401610252565b6105848561036c565b156105c85760405162461bcd60e51b8152602060048201526014602482015273111c9bdc08185b1c9958591e4818db185a5b595960621b6044820152606401610252565b604080516020808201889052606087901b6bffffffffffffffffffffffff1916828401526054820186905260748083018690528351808403909101815260949092019092528051910120600154610621908390836108d8565b61065d5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610252565b61066686610997565b83156106a0576106a06001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48168686610886565b82156106da576106da6001600160a01b037f000000000000000000000000785c34312dfa6b74f6f1829f79ade39042222168168685610886565b60408051878152602081018690529081018490524260608201526001600160a01b038616907f528937b330082d892a98d4e428ab2dcca7844b51d227a1c0ae67f0b5261acbd99060800160405180910390a2505050505050565b600054600160a01b900460ff166107845760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610252565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600054600160a01b900460ff161561084b5760405162461bcd60e51b815260040161025290610eef565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586107b43390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526103eb9084906109d5565b600081815b855181101561098a57600086828151811061090857634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161094a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610977565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061098281610fd7565b9150506108dd565b50831490505b9392505050565b60006109a561010083610f93565b905060006109b561010084610ffe565b6000928352600260205260409092208054600190931b9092179091555050565b6000610a2a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aa79092919063ffffffff16565b8051909150156103eb5780806020019051810190610a489190610d05565b6103eb5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610252565b6060610ab68484600085610abe565b949350505050565b606082471015610b1f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610252565b843b610b6d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610252565b600080866001600160a01b03168587604051610b899190610ea0565b60006040518083038185875af1925050503d8060008114610bc6576040519150601f19603f3d011682016040523d82523d6000602084013e610bcb565b606091505b5091509150610bdb828286610be6565b979650505050505050565b60608315610bf5575081610990565b825115610c055782518084602001fd5b8160405162461bcd60e51b81526004016102529190610ebc565b60008083601f840112610c30578081fd5b50813567ffffffffffffffff811115610c47578182fd5b6020830191508360208260051b8501011115610c6257600080fd5b9250929050565b600060208284031215610c7a578081fd5b81356109908161103e565b600080600060608486031215610c99578182fd5b8335610ca48161103e565b92506020840135610cb48161103e565b929592945050506040919091013590565b60008060208385031215610cd7578182fd5b823567ffffffffffffffff811115610ced578283fd5b610cf985828601610c1f565b90969095509350505050565b600060208284031215610d16578081fd5b81518015158114610990578182fd5b600060208284031215610d36578081fd5b5035919050565b600080600080600060a08688031215610d54578081fd5b85359450602080870135610d678161103e565b94506040870135935060608701359250608087013567ffffffffffffffff80821115610d91578384fd5b818901915089601f830112610da4578384fd5b813581811115610db657610db6611028565b8060051b604051601f19603f83011681018181108582111715610ddb57610ddb611028565b604052828152858101935084860182860187018e1015610df9578788fd5b8795505b83861015610e1b578035855260019590950194938601938601610dfd565b508096505050505050509295509295909350565b60008060008060008060a08789031215610e47578081fd5b863595506020870135610e598161103e565b94506040870135935060608701359250608087013567ffffffffffffffff811115610e82578182fd5b610e8e89828a01610c1f565b979a9699509497509295939492505050565b60008251610eb2818460208701610fa7565b9190910192915050565b6020815260008251806020840152610edb816040850160208701610fa7565b601f01601f19169190910160400192915050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000808335601e19843603018112610f64578283fd5b83018035915067ffffffffffffffff821115610f7e578283fd5b602001915036819003821315610c6257600080fd5b600082610fa257610fa2611012565b500490565b60005b83811015610fc2578181015183820152602001610faa565b83811115610fd1576000848401525b50505050565b6000600019821415610ff757634e487b7160e01b81526011600452602481fd5b5060010190565b60008261100d5761100d611012565b500690565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461053357600080fdfea264697066735822122056e0dcab9ecd141419483e80ff7c59aa7fd8ca1f7c3c235bbf79625715859f3c64736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000785c34312dfa6b74f6f1829f79ade3904222216897d5fae66d91fadc9e2efd8f7e7f12306cb2797f9d8655e7a93a081dfe0c2766

-----Decoded View---------------
Arg [0] : _tokenUSDC (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [1] : _tokenBUMP (address): 0x785c34312dfA6B74F6f1829f79ADe39042222168
Arg [2] : _merkleRoot (bytes32): 0x97d5fae66d91fadc9e2efd8f7e7f12306cb2797f9d8655e7a93a081dfe0c2766

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [1] : 000000000000000000000000785c34312dfa6b74f6f1829f79ade39042222168
Arg [2] : 97d5fae66d91fadc9e2efd8f7e7f12306cb2797f9d8655e7a93a081dfe0c2766


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.