ETH Price: $3,094.60 (+0.73%)
Gas: 5 Gwei

Contract

0x3BF7d6ffbdecc0d918e5b7262A8F47fBB97eE9FA
 

Overview

ETH Balance

0.096954641351360489 ETH

Eth Value

$300.04 (@ $3,094.60/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim And Swap T...146123652022-04-19 0:28:53813 days ago1650328133IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.003873324.21012603
Claim145954382022-04-16 9:03:13816 days ago1650099793IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0015268823.39510522
Claim145244122022-04-05 6:59:19827 days ago1649141959IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0038785959.4392819
Claim145138762022-04-03 15:21:05829 days ago1648999265IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0034614753.03069329
Claim144897592022-03-30 20:46:13832 days ago1648673173IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0027944742.82525606
Claim144818072022-03-29 15:06:08834 days ago1648566368IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0028892344.27195799
Claim144751802022-03-28 14:25:23835 days ago1648477523IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0045976570.44600804
Claim144672272022-03-27 8:45:30836 days ago1648370730IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0012304518.85614343
Claim And Swap T...144621782022-03-26 13:47:36837 days ago1648302456IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0036064522.53767737
Claim144613722022-03-26 10:42:03837 days ago1648291323IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0011430417.51975872
Claim144526392022-03-25 2:01:48838 days ago1648173708IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0034764453.26819514
Claim And Swap T...144489312022-03-24 12:20:57839 days ago1648124457IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0035035921.89347705
Claim144486742022-03-24 11:23:55839 days ago1648121035IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.001289719.76466111
Claim144463862022-03-24 2:47:02839 days ago1648090022IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0035944955.04840496
Claim144445362022-03-23 19:48:16840 days ago1648064896IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0021657933.17438947
Claim144439322022-03-23 17:38:07840 days ago1648057087IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.003714356.93209523
Claim144437772022-03-23 16:58:33840 days ago1648054713IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.002329435.68171466
Claim144435892022-03-23 16:18:32840 days ago1648052312IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0031430548.17748317
Claim And Swap T...144151502022-03-19 6:08:07844 days ago1647670087IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0034301621.43171025
Claim143644142022-03-11 8:09:02852 days ago1646986142IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0012977319.88768477
Claim143224722022-03-04 19:43:51859 days ago1646423031IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0025529839.10523529
Claim141217612022-02-01 18:36:14890 days ago1643740574IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.008036123.10993538
Claim139373222022-01-04 6:16:14918 days ago1641276974IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0053106481.3729772
Claim139045902021-12-30 4:28:54923 days ago1640838534IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0055671485.30058345
Claim138866982021-12-27 10:14:31926 days ago1640600071IN
0x3BF7d6ff...BB97eE9FA
0 ETH0.0029774845.60752961
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
146715032022-04-28 7:23:42804 days ago1651130622
0x3BF7d6ff...BB97eE9FA
5 ETH
146123652022-04-19 0:28:53813 days ago1650328133
0x3BF7d6ff...BB97eE9FA
0.0003753 ETH
145954382022-04-16 9:03:13816 days ago1650099793
0x3BF7d6ff...BB97eE9FA
0.00948695 ETH
145244122022-04-05 6:59:19827 days ago1649141959
0x3BF7d6ff...BB97eE9FA
0.04658519 ETH
145138762022-04-03 15:21:05829 days ago1648999265
0x3BF7d6ff...BB97eE9FA
0.01202093 ETH
144897592022-03-30 20:46:13832 days ago1648673173
0x3BF7d6ff...BB97eE9FA
0.00948695 ETH
144818072022-03-29 15:06:08834 days ago1648566368
0x3BF7d6ff...BB97eE9FA
0.01025617 ETH
144751802022-03-28 14:25:23835 days ago1648477523
0x3BF7d6ff...BB97eE9FA
0.05128085 ETH
144672272022-03-27 8:45:30836 days ago1648370730
0x3BF7d6ff...BB97eE9FA
0.00284608 ETH
144621782022-03-26 13:47:36837 days ago1648302456
0x3BF7d6ff...BB97eE9FA
0.01025617 ETH
144613722022-03-26 10:42:03837 days ago1648291323
0x3BF7d6ff...BB97eE9FA
0.00948695 ETH
144526392022-03-25 2:01:48838 days ago1648173708
0x3BF7d6ff...BB97eE9FA
0.00948695 ETH
144489312022-03-24 12:20:57839 days ago1648124457
0x3BF7d6ff...BB97eE9FA
0.00965789 ETH
144486742022-03-24 11:23:55839 days ago1648121035
0x3BF7d6ff...BB97eE9FA
0.01042871 ETH
144463862022-03-24 2:47:02839 days ago1648090022
0x3BF7d6ff...BB97eE9FA
0.18871201 ETH
144445362022-03-23 19:48:16840 days ago1648064896
0x3BF7d6ff...BB97eE9FA
0.01025617 ETH
144439322022-03-23 17:38:07840 days ago1648057087
0x3BF7d6ff...BB97eE9FA
0.00954648 ETH
144437772022-03-23 16:58:33840 days ago1648054713
0x3BF7d6ff...BB97eE9FA
0.02122775 ETH
144435892022-03-23 16:18:32840 days ago1648052312
0x3BF7d6ff...BB97eE9FA
0.03975629 ETH
144151502022-03-19 6:08:07844 days ago1647670087
0x3BF7d6ff...BB97eE9FA
0.05238729 ETH
143644142022-03-11 8:09:02852 days ago1646986142
0x3BF7d6ff...BB97eE9FA
0.00948695 ETH
143224722022-03-04 19:43:51859 days ago1646423031
0x3BF7d6ff...BB97eE9FA
0.00948695 ETH
141217612022-02-01 18:36:14890 days ago1643740574
0x3BF7d6ff...BB97eE9FA
0.1017084 ETH
139373222022-01-04 6:16:14918 days ago1641276974
0x3BF7d6ff...BB97eE9FA
0.03242019 ETH
139045902021-12-30 4:28:54923 days ago1640838534
0x3BF7d6ff...BB97eE9FA
0.03418723 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ETHAirdrop

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 14 : ETHAirdrop.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity =0.8.3;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./uniswapv2/interfaces/IUniswapV2Router01.sol";
import "./uniswapv2/interfaces/IUniswapV2Pair.sol";
import "./uniswapv2/interfaces/IWETH.sol";
import "./uniswapv2/libraries/UniswapV2Library.sol";
import "./MerkleProof.sol";

contract ETHAirdrop is Ownable, MerkleProof {
    using SafeERC20 for IERC20;

    address public immutable levx;
    address public immutable weth;
    address public immutable router;
    mapping(bytes32 => bool) public isValidMerkleRoot;
    mapping(bytes32 => mapping(bytes32 => bool)) internal _hasClaimed;

    event Deposit(uint256 amount, address from);
    event Withdraw(uint256 amount, address to);
    event AddMerkleRoot(bytes32 indexed merkleRoot);
    event Claim(bytes32 indexed merkleRoot, address indexed account, uint256 amount, address to);

    modifier ensure(uint256 deadline) {
        require(deadline >= block.timestamp, "LEVX: EXPIRED");
        _;
    }

    constructor(
        address _owner,
        address _levx,
        address _weth,
        address _router
    ) {
        levx = _levx;
        weth = _weth;
        router = _router;
        _transferOwnership(_owner);
    }

    receive() external payable {
        emit Deposit(msg.value, msg.sender);
    }

    function withdraw(uint256 amount) external onlyOwner {
        payable(msg.sender).transfer(amount);

        emit Withdraw(amount, msg.sender);
    }

    function addMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        require(!isValidMerkleRoot[merkleRoot], "SHOYU: DUPLICATE_ROOT");
        isValidMerkleRoot[merkleRoot] = true;

        emit AddMerkleRoot(merkleRoot);
    }

    function claim(
        bytes32 merkleRoot,
        bytes32[] calldata merkleProof,
        uint256 amount,
        address to
    ) public {
        require(isValidMerkleRoot[merkleRoot], "SHOYU: INVALID_ROOT");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, amount));
        require(!_hasClaimed[merkleRoot][leaf], "SHOYU: FORBIDDEN");
        require(verify(merkleRoot, leaf, merkleProof), "SHOYU: INVALID_PROOF");

        _hasClaimed[merkleRoot][leaf] = true;
        if (to != address(this)) {
            payable(to).transfer(amount);
        }

        emit Claim(merkleRoot, msg.sender, amount, to);
    }

    function batchClaim(
        bytes32[] calldata merkleRoots,
        bytes32[][] calldata merkleProofs,
        uint256[] calldata amounts,
        address to
    ) external {
        for (uint256 i; i < merkleRoots.length; i++) {
            claim(merkleRoots[i], merkleProofs[i], amounts[i], to);
        }
    }

    function claimAndSwapToLevx(
        bytes32 merkleRoot,
        bytes32[] calldata merkleProof,
        uint256 amount,
        uint256 amountOutMin,
        address to,
        uint256 deadline
    ) public ensure(deadline) returns (uint256 amountOut) {
        claim(merkleRoot, merkleProof, amount, address(this));

        address[] memory path = new address[](2);
        path[0] = weth;
        path[1] = levx;
        uint256[] memory amounts = IUniswapV2Router01(router).swapExactETHForTokens{value: amount}(
            amountOutMin,
            path,
            to,
            deadline
        );
        amountOut = amounts[1];
    }

    function batchClaimAndSwapToLevx(
        bytes32[] calldata merkleRoots,
        bytes32[][] calldata merkleProofs,
        uint256[] calldata amounts,
        uint256 amountOutMin,
        address to,
        uint256 deadline
    ) public ensure(deadline) returns (uint256 amountOut) {
        uint256 amountIn;
        for (uint256 i; i < merkleRoots.length; i++) {
            uint256 amount = amounts[i];
            claim(merkleRoots[i], merkleProofs[i], amount, address(this));
            amountIn += amount;
        }

        address[] memory path = new address[](2);
        path[0] = weth;
        path[1] = levx;
        uint256[] memory _amounts = IUniswapV2Router01(router).swapExactETHForTokens{value: amountIn}(
            amountOutMin,
            path,
            to,
            deadline
        );
        amountOut = _amounts[1];
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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 3 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

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 4 of 14 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)

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 5 of 14 : IUniswapV2Router01.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 6 of 14 : IUniswapV2Pair.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 7 of 14 : IWETH.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

File 8 of 14 : UniswapV2Library.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity =0.8.3;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "../interfaces/IUniswapV2Pair.sol";

library UniswapV2Library {
    using SafeMath for uint256;

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, "UniswapV2Library: IDENTICAL_ADDRESSES");
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), "UniswapV2Library: ZERO_ADDRESS");
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(
        address factory,
        address tokenA,
        address tokenB
    ) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(
            uint160(
                uint256(
                    keccak256(
                        abi.encodePacked(
                            hex"ff",
                            factory,
                            keccak256(abi.encodePacked(token0, token1)),
                            hex"e18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303" // init code hash
                        )
                    )
                )
            )
        );
    }

    // fetches and sorts the reserves for a pair
    function getReserves(
        address factory,
        address tokenA,
        address tokenB
    ) internal view returns (uint256 reserveA, uint256 reserveB) {
        (address token0, ) = sortTokens(tokenA, tokenB);
        (uint256 reserve0, uint256 reserve1, ) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) internal pure returns (uint256 amountB) {
        require(amountA > 0, "UniswapV2Library: INSUFFICIENT_AMOUNT");
        require(reserveA > 0 && reserveB > 0, "UniswapV2Library: INSUFFICIENT_LIQUIDITY");
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) internal pure returns (uint256 amountOut) {
        require(amountIn > 0, "UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT");
        require(reserveIn > 0 && reserveOut > 0, "UniswapV2Library: INSUFFICIENT_LIQUIDITY");
        uint256 amountInWithFee = amountIn.mul(997);
        uint256 numerator = amountInWithFee.mul(reserveOut);
        uint256 denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) internal pure returns (uint256 amountIn) {
        require(amountOut > 0, "UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT");
        require(reserveIn > 0 && reserveOut > 0, "UniswapV2Library: INSUFFICIENT_LIQUIDITY");
        uint256 numerator = reserveIn.mul(amountOut).mul(1000);
        uint256 denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(
        address factory,
        uint256 amountIn,
        address[] memory path
    ) internal view returns (uint256[] memory amounts) {
        require(path.length >= 2, "UniswapV2Library: INVALID_PATH");
        amounts = new uint256[](path.length);
        amounts[0] = amountIn;
        for (uint256 i; i < path.length - 1; i++) {
            (uint256 reserveIn, uint256 reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(
        address factory,
        uint256 amountOut,
        address[] memory path
    ) internal view returns (uint256[] memory amounts) {
        require(path.length >= 2, "UniswapV2Library: INVALID_PATH");
        amounts = new uint256[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint256 i = path.length - 1; i > 0; i--) {
            (uint256 reserveIn, uint256 reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

File 9 of 14 : MerkleProof.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity =0.8.3;

contract MerkleProof {
    function verify(
        bytes32 root,
        bytes32 leaf,
        bytes32[] memory proof
    ) public 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 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

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;
    }
}

File 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

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 12 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 13 of 14 : LevxAirdrop.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity =0.8.3;

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

contract LevxAirdrop is Ownable, MerkleProof {
    using SafeERC20 for IERC20;

    address public immutable levx;
    mapping(bytes32 => bool) public isValidMerkleRoot;
    mapping(bytes32 => mapping(bytes32 => bool)) internal _hasClaimed;

    event AddMerkleRoot(bytes32 indexed merkleRoot);
    event Claim(bytes32 indexed merkleRoot, address indexed account, uint256 amount);

    constructor(address _owner, address _levx) {
        levx = _levx;
        _transferOwnership(_owner);
    }

    function addMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        require(!isValidMerkleRoot[merkleRoot], "SHOYU: DUPLICATE_ROOT");
        isValidMerkleRoot[merkleRoot] = true;

        emit AddMerkleRoot(merkleRoot);
    }

    function claim(
        bytes32 merkleRoot,
        bytes32[] calldata merkleProof,
        uint256 amount
    ) external {
        require(isValidMerkleRoot[merkleRoot], "SHOYU: INVALID_ROOT");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, amount));
        require(!_hasClaimed[merkleRoot][leaf], "SHOYU: FORBIDDEN");
        require(verify(merkleRoot, leaf, merkleProof), "SHOYU: INVALID_PROOF");

        _hasClaimed[merkleRoot][leaf] = true;
        IERC20(levx).safeTransferFrom(owner(), msg.sender, amount);

        emit Claim(merkleRoot, msg.sender, amount);
    }
}

File 14 of 14 : IUniswapV2Router02.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_levx","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"AddMerkleRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"from","type":"address"}],"name":"Deposit","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":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"addMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleRoots","type":"bytes32[]"},{"internalType":"bytes32[][]","name":"merkleProofs","type":"bytes32[][]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"address","name":"to","type":"address"}],"name":"batchClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleRoots","type":"bytes32[]"},{"internalType":"bytes32[][]","name":"merkleProofs","type":"bytes32[][]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"batchClaimAndSwapToLevx","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"claimAndSwapToLevx","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"isValidMerkleRoot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","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":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040523480156200001157600080fd5b50604051620015d0380380620015d08339810160408190526200003491620000e3565b6200003f3362000076565b6001600160601b0319606084811b821660805283811b821660a05282901b1660c0526200006c8462000076565b505050506200013f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620000de57600080fd5b919050565b60008060008060808587031215620000f9578384fd5b6200010485620000c6565b93506200011460208601620000c6565b92506200012460408601620000c6565b91506200013460608601620000c6565b905092959194509250565b60805160601c60a05160601c60c05160601c61142e620001a26000396000818161033f0152818161081d0152610a2b01526000818161021c015281816107530152610961015260008181610268015281816107b501526109c3015261142e6000f3fe6080604052600436106100e15760003560e01c806362df34721161007f578063a3f1c8a611610059578063a3f1c8a6146102bd578063e9cd3b37146102dd578063f2fde38b1461030d578063f887ea401461032d57610120565b806362df347214610256578063715018a61461028a5780638da5cb5b1461029f57610120565b80633423e548116100bb5780633423e548146101875780633b274766146101bc5780633b7f6f16146101ea5780633fc8cef31461020a57610120565b806308365497146101255780632e1a7d4d146101475780633323c8071461016757610120565b3661012057604080513481523360208201527f4bcc17093cdf51079c755de089be5a85e70fa374ec656c194480fbdcda224a53910160405180910390a1005b600080fd5b34801561013157600080fd5b50610145610140366004610eca565b610361565b005b34801561015357600080fd5b506101456101623660046110c1565b610411565b34801561017357600080fd5b506101456101823660046110c1565b6104ad565b34801561019357600080fd5b506101a76101a23660046111b6565b610574565b60405190151581526020015b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004610f71565b610632565b6040519081526020016101b3565b3480156101f657600080fd5b506101dc61020536600461113e565b6108ee565b34801561021657600080fd5b5061023e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101b3565b34801561026257600080fd5b5061023e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561029657600080fd5b50610145610af9565b3480156102ab57600080fd5b506000546001600160a01b031661023e565b3480156102c957600080fd5b506101456102d83660046110d9565b610b2f565b3480156102e957600080fd5b506101a76102f83660046110c1565b60016020526000908152604090205460ff1681565b34801561031957600080fd5b50610145610328366004610ea9565b610d58565b34801561033957600080fd5b5061023e7f000000000000000000000000000000000000000000000000000000000000000081565b60005b86811015610407576103f588888381811061038f57634e487b7160e01b600052603260045260246000fd5b905060200201358787848181106103b657634e487b7160e01b600052603260045260246000fd5b90506020028101906103c891906112fc565b8787868181106103e857634e487b7160e01b600052603260045260246000fd5b9050602002013586610b2f565b806103ff816113b1565b915050610364565b5050505050505050565b6000546001600160a01b031633146104445760405162461bcd60e51b815260040161043b9061125e565b60405180910390fd5b604051339082156108fc029083906000818181858888f19350505050158015610471573d6000803e3d6000fd5b50604080518281523360208201527f8353ffcac0876ad14e226d9783c04540bfebf13871e868157d2a391cad98e918910160405180910390a150565b6000546001600160a01b031633146104d75760405162461bcd60e51b815260040161043b9061125e565b60008181526001602052604090205460ff161561052e5760405162461bcd60e51b815260206004820152601560248201527414d213d6554e88111554131250d0551157d493d3d5605a1b604482015260640161043b565b6000818152600160208190526040808320805460ff19169092179091555182917f8335f1ab0fe93a301747e8c2784fbbb5dc7bd3556e84e498c9c9aeac306d5df991a250565b600082815b83518110156106275760008482815181106105a457634e487b7160e01b600052603260045260246000fd5b60200260200101519050808310156105e7576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610614565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061061f816113b1565b915050610579565b509093149392505050565b600081428110156106755760405162461bcd60e51b815260206004820152600d60248201526c131155960e8811561412549151609a1b604482015260640161043b565b6000805b8b81101561072f5760008989838181106106a357634e487b7160e01b600052603260045260246000fd5b90506020020135905061070f8e8e848181106106cf57634e487b7160e01b600052603260045260246000fd5b905060200201358d8d858181106106f657634e487b7160e01b600052603260045260246000fd5b905060200281019061070891906112fc565b8430610b2f565b6107198184611399565b9250508080610727906113b1565b915050610679565b506040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061079357634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106107f557634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152604051637ff36ab560e01b81526000917f00000000000000000000000000000000000000000000000000000000000000001690637ff36ab590859061085a908c9087908d908d90600401611293565b6000604051808303818588803b15801561087357600080fd5b505af1158015610887573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526108b09190810190611029565b9050806001815181106108d357634e487b7160e01b600052603260045260246000fd5b60200260200101519450505050509998505050505050505050565b600081428110156109315760405162461bcd60e51b815260206004820152600d60248201526c131155960e8811561412549151609a1b604482015260640161043b565b61093e8989898930610b2f565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106109a157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610a0357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152604051637ff36ab560e01b81526000917f00000000000000000000000000000000000000000000000000000000000000001690637ff36ab5908a90610a68908b9087908c908c90600401611293565b6000604051808303818588803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610abe9190810190611029565b905080600181518110610ae157634e487b7160e01b600052603260045260246000fd5b60200260200101519350505050979650505050505050565b6000546001600160a01b03163314610b235760405162461bcd60e51b815260040161043b9061125e565b610b2d6000610df3565b565b60008581526001602052604090205460ff16610b835760405162461bcd60e51b815260206004820152601360248201527214d213d6554e881253959053125117d493d3d5606a1b604482015260640161043b565b6040516bffffffffffffffffffffffff193360601b1660208201526034810183905260009060540160408051601f19818403018152918152815160209283012060008981526002845282812082825290935291205490915060ff1615610c1e5760405162461bcd60e51b815260206004820152601060248201526f29a427acaa9d102327a92124a22222a760811b604482015260640161043b565b610c5c868287878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061057492505050565b610c9f5760405162461bcd60e51b815260206004820152601460248201527329a427acaa9d1024a72b20a624a22fa82927a7a360611b604482015260640161043b565b60008681526002602090815260408083208484529091529020805460ff191660011790556001600160a01b0382163014610d0b576040516001600160a01b0383169084156108fc029085906000818181858888f19350505050158015610d09573d6000803e3d6000fd5b505b604080518481526001600160a01b0384166020820152339188917feb39f7e8463e013369dbf61026c50e69b2788ce7a699bda748adb5ae1761233c910160405180910390a3505050505050565b6000546001600160a01b03163314610d825760405162461bcd60e51b815260040161043b9061125e565b6001600160a01b038116610de75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043b565b610df081610df3565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610e5a57600080fd5b919050565b60008083601f840112610e70578182fd5b50813567ffffffffffffffff811115610e87578182fd5b6020830191508360208260051b8501011115610ea257600080fd5b9250929050565b600060208284031215610eba578081fd5b610ec382610e43565b9392505050565b60008060008060008060006080888a031215610ee4578283fd5b873567ffffffffffffffff80821115610efb578485fd5b610f078b838c01610e5f565b909950975060208a0135915080821115610f1f578485fd5b610f2b8b838c01610e5f565b909750955060408a0135915080821115610f43578485fd5b50610f508a828b01610e5f565b9094509250610f63905060608901610e43565b905092959891949750929550565b600080600080600080600080600060c08a8c031215610f8e578182fd5b893567ffffffffffffffff80821115610fa5578384fd5b610fb18d838e01610e5f565b909b50995060208c0135915080821115610fc9578384fd5b610fd58d838e01610e5f565b909950975060408c0135915080821115610fed578384fd5b50610ffa8c828d01610e5f565b90965094505060608a0135925061101360808b01610e43565b915060a08a013590509295985092959850929598565b6000602080838503121561103b578182fd5b825167ffffffffffffffff811115611051578283fd5b8301601f81018513611061578283fd5b805161107461106f82611375565b611344565b80828252848201915084840188868560051b8701011115611093578687fd5b8694505b838510156110b5578051835260019490940193918501918501611097565b50979650505050505050565b6000602082840312156110d2578081fd5b5035919050565b6000806000806000608086880312156110f0578081fd5b85359450602086013567ffffffffffffffff81111561110d578182fd5b61111988828901610e5f565b9095509350506040860135915061113260608701610e43565b90509295509295909350565b600080600080600080600060c0888a031215611158578283fd5b87359650602088013567ffffffffffffffff811115611175578384fd5b6111818a828b01610e5f565b90975095505060408801359350606088013592506111a160808901610e43565b915060a0880135905092959891949750929550565b6000806000606084860312156111ca578081fd5b833592506020808501359250604085013567ffffffffffffffff8111156111ef578283fd5b8501601f810187136111ff578283fd5b803561120d61106f82611375565b8082825284820191508484018a868560051b870101111561122c578687fd5b8694505b8385101561124e578035835260019490940193918501918501611230565b5080955050505050509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060808201868352602060808185015281875180845260a0860191508289019350845b818110156112dc5784516001600160a01b0316835293830193918301916001016112b7565b50506001600160a01b039690961660408501525050506060015292915050565b6000808335601e19843603018112611312578283fd5b83018035915067ffffffffffffffff82111561132c578283fd5b6020019150600581901b3603821315610ea257600080fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561136d5761136d6113e2565b604052919050565b600067ffffffffffffffff82111561138f5761138f6113e2565b5060051b60200190565b600082198211156113ac576113ac6113cc565b500190565b60006000198214156113c5576113c56113cc565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212203fe5de563e3b0ddd36f5216b891ca8c5ff78ec08588139b6f7668915f2114ad164736f6c634300080300330000000000000000000000000903f8892c06a99bf1d68088fab597a0762e0bc8000000000000000000000000f474e526ade9ad2cc2b66ffce528b1a51b91fcdc000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f

Deployed Bytecode

0x6080604052600436106100e15760003560e01c806362df34721161007f578063a3f1c8a611610059578063a3f1c8a6146102bd578063e9cd3b37146102dd578063f2fde38b1461030d578063f887ea401461032d57610120565b806362df347214610256578063715018a61461028a5780638da5cb5b1461029f57610120565b80633423e548116100bb5780633423e548146101875780633b274766146101bc5780633b7f6f16146101ea5780633fc8cef31461020a57610120565b806308365497146101255780632e1a7d4d146101475780633323c8071461016757610120565b3661012057604080513481523360208201527f4bcc17093cdf51079c755de089be5a85e70fa374ec656c194480fbdcda224a53910160405180910390a1005b600080fd5b34801561013157600080fd5b50610145610140366004610eca565b610361565b005b34801561015357600080fd5b506101456101623660046110c1565b610411565b34801561017357600080fd5b506101456101823660046110c1565b6104ad565b34801561019357600080fd5b506101a76101a23660046111b6565b610574565b60405190151581526020015b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004610f71565b610632565b6040519081526020016101b3565b3480156101f657600080fd5b506101dc61020536600461113e565b6108ee565b34801561021657600080fd5b5061023e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6040516001600160a01b0390911681526020016101b3565b34801561026257600080fd5b5061023e7f000000000000000000000000f474e526ade9ad2cc2b66ffce528b1a51b91fcdc81565b34801561029657600080fd5b50610145610af9565b3480156102ab57600080fd5b506000546001600160a01b031661023e565b3480156102c957600080fd5b506101456102d83660046110d9565b610b2f565b3480156102e957600080fd5b506101a76102f83660046110c1565b60016020526000908152604090205460ff1681565b34801561031957600080fd5b50610145610328366004610ea9565b610d58565b34801561033957600080fd5b5061023e7f000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f81565b60005b86811015610407576103f588888381811061038f57634e487b7160e01b600052603260045260246000fd5b905060200201358787848181106103b657634e487b7160e01b600052603260045260246000fd5b90506020028101906103c891906112fc565b8787868181106103e857634e487b7160e01b600052603260045260246000fd5b9050602002013586610b2f565b806103ff816113b1565b915050610364565b5050505050505050565b6000546001600160a01b031633146104445760405162461bcd60e51b815260040161043b9061125e565b60405180910390fd5b604051339082156108fc029083906000818181858888f19350505050158015610471573d6000803e3d6000fd5b50604080518281523360208201527f8353ffcac0876ad14e226d9783c04540bfebf13871e868157d2a391cad98e918910160405180910390a150565b6000546001600160a01b031633146104d75760405162461bcd60e51b815260040161043b9061125e565b60008181526001602052604090205460ff161561052e5760405162461bcd60e51b815260206004820152601560248201527414d213d6554e88111554131250d0551157d493d3d5605a1b604482015260640161043b565b6000818152600160208190526040808320805460ff19169092179091555182917f8335f1ab0fe93a301747e8c2784fbbb5dc7bd3556e84e498c9c9aeac306d5df991a250565b600082815b83518110156106275760008482815181106105a457634e487b7160e01b600052603260045260246000fd5b60200260200101519050808310156105e7576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610614565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061061f816113b1565b915050610579565b509093149392505050565b600081428110156106755760405162461bcd60e51b815260206004820152600d60248201526c131155960e8811561412549151609a1b604482015260640161043b565b6000805b8b81101561072f5760008989838181106106a357634e487b7160e01b600052603260045260246000fd5b90506020020135905061070f8e8e848181106106cf57634e487b7160e01b600052603260045260246000fd5b905060200201358d8d858181106106f657634e487b7160e01b600052603260045260246000fd5b905060200281019061070891906112fc565b8430610b2f565b6107198184611399565b9250508080610727906113b1565b915050610679565b506040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061079357634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000f474e526ade9ad2cc2b66ffce528b1a51b91fcdc816001815181106107f557634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152604051637ff36ab560e01b81526000917f000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f1690637ff36ab590859061085a908c9087908d908d90600401611293565b6000604051808303818588803b15801561087357600080fd5b505af1158015610887573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526108b09190810190611029565b9050806001815181106108d357634e487b7160e01b600052603260045260246000fd5b60200260200101519450505050509998505050505050505050565b600081428110156109315760405162461bcd60e51b815260206004820152600d60248201526c131155960e8811561412549151609a1b604482015260640161043b565b61093e8989898930610b2f565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816000815181106109a157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000f474e526ade9ad2cc2b66ffce528b1a51b91fcdc81600181518110610a0357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152604051637ff36ab560e01b81526000917f000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f1690637ff36ab5908a90610a68908b9087908c908c90600401611293565b6000604051808303818588803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610abe9190810190611029565b905080600181518110610ae157634e487b7160e01b600052603260045260246000fd5b60200260200101519350505050979650505050505050565b6000546001600160a01b03163314610b235760405162461bcd60e51b815260040161043b9061125e565b610b2d6000610df3565b565b60008581526001602052604090205460ff16610b835760405162461bcd60e51b815260206004820152601360248201527214d213d6554e881253959053125117d493d3d5606a1b604482015260640161043b565b6040516bffffffffffffffffffffffff193360601b1660208201526034810183905260009060540160408051601f19818403018152918152815160209283012060008981526002845282812082825290935291205490915060ff1615610c1e5760405162461bcd60e51b815260206004820152601060248201526f29a427acaa9d102327a92124a22222a760811b604482015260640161043b565b610c5c868287878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061057492505050565b610c9f5760405162461bcd60e51b815260206004820152601460248201527329a427acaa9d1024a72b20a624a22fa82927a7a360611b604482015260640161043b565b60008681526002602090815260408083208484529091529020805460ff191660011790556001600160a01b0382163014610d0b576040516001600160a01b0383169084156108fc029085906000818181858888f19350505050158015610d09573d6000803e3d6000fd5b505b604080518481526001600160a01b0384166020820152339188917feb39f7e8463e013369dbf61026c50e69b2788ce7a699bda748adb5ae1761233c910160405180910390a3505050505050565b6000546001600160a01b03163314610d825760405162461bcd60e51b815260040161043b9061125e565b6001600160a01b038116610de75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043b565b610df081610df3565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610e5a57600080fd5b919050565b60008083601f840112610e70578182fd5b50813567ffffffffffffffff811115610e87578182fd5b6020830191508360208260051b8501011115610ea257600080fd5b9250929050565b600060208284031215610eba578081fd5b610ec382610e43565b9392505050565b60008060008060008060006080888a031215610ee4578283fd5b873567ffffffffffffffff80821115610efb578485fd5b610f078b838c01610e5f565b909950975060208a0135915080821115610f1f578485fd5b610f2b8b838c01610e5f565b909750955060408a0135915080821115610f43578485fd5b50610f508a828b01610e5f565b9094509250610f63905060608901610e43565b905092959891949750929550565b600080600080600080600080600060c08a8c031215610f8e578182fd5b893567ffffffffffffffff80821115610fa5578384fd5b610fb18d838e01610e5f565b909b50995060208c0135915080821115610fc9578384fd5b610fd58d838e01610e5f565b909950975060408c0135915080821115610fed578384fd5b50610ffa8c828d01610e5f565b90965094505060608a0135925061101360808b01610e43565b915060a08a013590509295985092959850929598565b6000602080838503121561103b578182fd5b825167ffffffffffffffff811115611051578283fd5b8301601f81018513611061578283fd5b805161107461106f82611375565b611344565b80828252848201915084840188868560051b8701011115611093578687fd5b8694505b838510156110b5578051835260019490940193918501918501611097565b50979650505050505050565b6000602082840312156110d2578081fd5b5035919050565b6000806000806000608086880312156110f0578081fd5b85359450602086013567ffffffffffffffff81111561110d578182fd5b61111988828901610e5f565b9095509350506040860135915061113260608701610e43565b90509295509295909350565b600080600080600080600060c0888a031215611158578283fd5b87359650602088013567ffffffffffffffff811115611175578384fd5b6111818a828b01610e5f565b90975095505060408801359350606088013592506111a160808901610e43565b915060a0880135905092959891949750929550565b6000806000606084860312156111ca578081fd5b833592506020808501359250604085013567ffffffffffffffff8111156111ef578283fd5b8501601f810187136111ff578283fd5b803561120d61106f82611375565b8082825284820191508484018a868560051b870101111561122c578687fd5b8694505b8385101561124e578035835260019490940193918501918501611230565b5080955050505050509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060808201868352602060808185015281875180845260a0860191508289019350845b818110156112dc5784516001600160a01b0316835293830193918301916001016112b7565b50506001600160a01b039690961660408501525050506060015292915050565b6000808335601e19843603018112611312578283fd5b83018035915067ffffffffffffffff82111561132c578283fd5b6020019150600581901b3603821315610ea257600080fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561136d5761136d6113e2565b604052919050565b600067ffffffffffffffff82111561138f5761138f6113e2565b5060051b60200190565b600082198211156113ac576113ac6113cc565b500190565b60006000198214156113c5576113c56113cc565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212203fe5de563e3b0ddd36f5216b891ca8c5ff78ec08588139b6f7668915f2114ad164736f6c63430008030033

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

0000000000000000000000000903f8892c06a99bf1d68088fab597a0762e0bc8000000000000000000000000f474e526ade9ad2cc2b66ffce528b1a51b91fcdc000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f

-----Decoded View---------------
Arg [0] : _owner (address): 0x0903f8892c06A99bf1D68088fAB597a0762e0BC8
Arg [1] : _levx (address): 0xf474E526ADe9aD2CC2B66ffCE528B1A51B91FCdC
Arg [2] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [3] : _router (address): 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000903f8892c06a99bf1d68088fab597a0762e0bc8
Arg [1] : 000000000000000000000000f474e526ade9ad2cc2b66ffce528b1a51b91fcdc
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [3] : 000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f


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  ]
[ 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.