ETH Price: $3,411.64 (+1.70%)

Contract

0xa108149702c14C451B94B242A6C706b5Ad4c2A89
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw All171333792023-04-26 22:31:35610 days ago1682548295IN
0xa1081497...5Ad4c2A89
0 ETH0.001853433.85769575
Swap Commitment171319792023-04-26 17:46:23610 days ago1682531183IN
0xa1081497...5Ad4c2A89
0 ETH0.0042473540.42059722
Swap Commitment171319692023-04-26 17:44:23610 days ago1682531063IN
0xa1081497...5Ad4c2A89
0 ETH0.0041804239.78367656
Swap Commitment171318262023-04-26 17:15:35610 days ago1682529335IN
0xa1081497...5Ad4c2A89
0 ETH0.0041169341.05482776
Withdraw All171316812023-04-26 16:46:23610 days ago1682527583IN
0xa1081497...5Ad4c2A89
0 ETH0.002427644.34713474
Swap Commitment171315472023-04-26 16:18:59610 days ago1682525939IN
0xa1081497...5Ad4c2A89
0 ETH0.0051193148.7186945
Swap Commitment171315032023-04-26 16:09:59610 days ago1682525399IN
0xa1081497...5Ad4c2A89
0 ETH0.0041234346.86839262
Swap Commitment171308742023-04-26 14:03:35610 days ago1682517815IN
0xa1081497...5Ad4c2A89
0 ETH0.0060673668.96376801
Swap Commitment171307562023-04-26 13:39:59610 days ago1682516399IN
0xa1081497...5Ad4c2A89
0 ETH0.0047182644.90204459
Swap Commitment171306772023-04-26 13:24:11610 days ago1682515451IN
0xa1081497...5Ad4c2A89
0 ETH0.0039455644.84669495
Swap Commitment171301992023-04-26 11:48:11611 days ago1682509691IN
0xa1081497...5Ad4c2A89
0 ETH0.0041401939.40077138
Swap Commitment171268502023-04-26 0:31:11611 days ago1682469071IN
0xa1081497...5Ad4c2A89
0 ETH0.0036780935.00314363
Swap Commitment171256932023-04-25 20:37:23611 days ago1682455043IN
0xa1081497...5Ad4c2A89
0 ETH0.003842836.57064304
Swap Commitment171252132023-04-25 19:00:23611 days ago1682449223IN
0xa1081497...5Ad4c2A89
0 ETH0.0035112239.9098512
Swap Commitment171231132023-04-25 11:55:59612 days ago1682423759IN
0xa1081497...5Ad4c2A89
0 ETH0.0027593531.36375823
Swap Commitment171213332023-04-25 5:54:59612 days ago1682402099IN
0xa1081497...5Ad4c2A89
0 ETH0.0039708939.59851809
Swap Commitment171198002023-04-25 0:46:11612 days ago1682383571IN
0xa1081497...5Ad4c2A89
0 ETH0.0040398138.44550135
Swap Commitment171077282023-04-23 8:08:35614 days ago1682237315IN
0xa1081497...5Ad4c2A89
0 ETH0.0038415143.66398824
Swap Commitment171046162023-04-22 21:39:35614 days ago1682199575IN
0xa1081497...5Ad4c2A89
0 ETH0.0047872945.55901094
Swap Commitment170941232023-04-21 10:17:23616 days ago1682072243IN
0xa1081497...5Ad4c2A89
0 ETH0.0045635337.35120795
Withdraw All170914462023-04-21 1:14:59616 days ago1682039699IN
0xa1081497...5Ad4c2A89
0 ETH0.0033689146.89405586
Swap Commitment170907132023-04-20 22:45:47616 days ago1682030747IN
0xa1081497...5Ad4c2A89
0 ETH0.0050092656.93702593
Swap Commitment170905692023-04-20 22:16:23616 days ago1682028983IN
0xa1081497...5Ad4c2A89
0 ETH0.005953456.65642082
Swap Commitment170900072023-04-20 20:20:47616 days ago1682022047IN
0xa1081497...5Ad4c2A89
0 ETH0.0065737974.72003922
Swap Commitment170899452023-04-20 20:08:11616 days ago1682021291IN
0xa1081497...5Ad4c2A89
0 ETH0.0066699866.51432133
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:
BeNFTMintController

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : BeNFTMintController.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./libraries/NftMintingStation.sol";


contract BeNFTMintController is NftMintingStation, Pausable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public USDT; // USDT token

    uint256 public MaxMintPerWallet = 4;
    uint256 public NFT_PRICE = 10000;
    uint256 public TokenDecimal = 1000000;
    uint256 public saleStage = 0; //0 = Not Active, 1 = WL Round 1, 2 = WL Round 2, 3 = WL Round 3, 4 = Public Round, 5 = Mint Round
    uint256 private publicSaleKey;
    uint256 public CurrentSwapIndex = 0;
    uint256 public EndRoundSwapIndex = 50;
    uint256 public MaxSwapIndex = 225;
    bool public mintState= false; //false = Not Ready to mint, true = ready to mint

    uint256 public startTimestamp;
    uint256 public startPublicTimestamp;
    uint256 public endTimestamp;


    address public immutable withdrawWallet1 = 0x65E19Ad8ee339F1bbC65F4E2c0e70a3F5118991C;

    mapping(address => uint256) private _userCommitment;
    mapping(address => uint256) private _userMints;

    event Withdraw(uint256 amount);

    modifier whenValidQuantity(uint256 _quantity) {
        require(availableSupply > 0, "No more supply");
        require(availableSupply >= _quantity, "Not enough supply");
        require(_quantity > 0, "Qty <= 0");
        _;
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    constructor(INftCollection _collection, IERC20 _USDT) NftMintingStation(_collection) {
        USDT = _USDT;
    }


    function setUSDTAddress(IERC20 _address) external onlyOwner {
        USDT = _address;
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function addUserCommitment(address _addresses, uint256 _Quantity) external onlyOwner {       
        _userCommitment[_addresses] = _Quantity;
    }


    function swapCommitment(uint256 _Quantity, uint256 _WL, uint256 _CallerPublicSaleKey) external callerIsUser whenNotPaused {

        uint256 userBalance = USDT.balanceOf(msg.sender);
        uint256 costToMint = NFT_PRICE * TokenDecimal * _Quantity;

        require(publicSaleKey == _CallerPublicSaleKey, "Called with incorrect public sale key");
        require(_userCommitment[msg.sender].add(_Quantity) <= MaxMintPerWallet, "Above quantity allowed");      
        require(costToMint <= userBalance, "User balance is not enough");
        require(saleStage > 0, "Sale is not active at the moment");
        require(CurrentSwapIndex + _Quantity <= EndRoundSwapIndex, "Supply over the mint supply limit");
        if(saleStage == 1) {
            require(_WL <= saleStage, "You're not in WhiteList Round 1");
        }  
        else if(saleStage == 2) {
            require(_WL <= saleStage, "You're not in WhiteList Round 2");
        }
        else if(saleStage == 3) {
            require(_WL <= saleStage, "You're not in WhiteList Round 3");
        }

        USDT.safeTransferFrom(msg.sender, address(this), costToMint);       
        _userCommitment[msg.sender] = _userCommitment[msg.sender] + _Quantity;
        CurrentSwapIndex = CurrentSwapIndex + _Quantity;
    }

    function mint(uint256 _CallerPublicSaleKey) external callerIsUser whenNotPaused{
        require(mintState == true, "Mint is not start yet");
        require(publicSaleKey == _CallerPublicSaleKey, "Called with incorrect public sale key");
        require(_userCommitment[msg.sender] > 0, "User not commitment yet");      
        require(_userMints[msg.sender] < _userCommitment[msg.sender], "User already Minted");

        _mint(msg.sender, _userCommitment[msg.sender]);
        _userMints[msg.sender] = _userCommitment[msg.sender];
    }


    function ownerMint(address _destination, uint256 _quantity) external onlyOwner {
        _mint(_destination, _quantity);
    }


    function _withdraw(uint256 amount) private {
        require(amount <= USDT.balanceOf(address(this)), "amount > balance");
        require(amount > 0, "Empty amount");

        USDT.safeTransfer(withdrawWallet1, amount);
        emit Withdraw(amount);
    }


    function withdraw(uint256 amount) external onlyOwner {
        _withdraw(amount);
    }


    function withdrawAll() external onlyOwner {
        _withdraw(USDT.balanceOf(address(this)));
    }

    function setMaxperWallet(uint256 _MaxMintPerWallet) external onlyOwner {
        MaxMintPerWallet = _MaxMintPerWallet;
    }

    function setMintPrice(uint256 _MintPrice) external onlyOwner {
        NFT_PRICE = _MintPrice;
    }

    function setCurrentSwapIndex(uint256 _Index) external onlyOwner {
        CurrentSwapIndex = _Index;
    }

    function setEndRoundSwapIndex(uint256 _Index) external onlyOwner {
        EndRoundSwapIndex = _Index;
    }

    function setMaxSwapIndex(uint256 _Index) external onlyOwner {
        MaxSwapIndex = _Index;
    }

    function setMintState(bool _state) external onlyOwner {
        mintState = _state;
    }

    function setTokenDecimal(uint256 _tokenDecimal) external onlyOwner {
        TokenDecimal = _tokenDecimal;
    }

    function setSaleStage(uint256 _SaleStage) external onlyOwner {
        saleStage = _SaleStage;
        if(saleStage == 1) {
            NFT_PRICE = 10000;
            EndRoundSwapIndex = 50;
        }  
        else if(saleStage == 2) {
            NFT_PRICE = 10000;
            EndRoundSwapIndex = 100;
        }
        else if(saleStage == 3) {
            NFT_PRICE = 10000;
            EndRoundSwapIndex = 150;
        }
        else {
            NFT_PRICE = 12000;
            EndRoundSwapIndex = 225;
        }  
    }


    function setPublicSaleKey(uint256 _PublicSaleKey) external onlyOwner {
        publicSaleKey = _PublicSaleKey;
    }


    function setMintDates(
        uint256 _startTimestamp,
        uint256 _endTimestamp,
        uint256 _startPublicTimestamp
    ) external onlyOwner {
        require(_endTimestamp == 0 || _startTimestamp < _endTimestamp, "Invalid timestamps");
        require(
            _endTimestamp == 0 || (_startPublicTimestamp < _endTimestamp && _startTimestamp <= _startPublicTimestamp),
            "Invalid public timestamp"
        );
        startTimestamp = _startTimestamp;
        endTimestamp = _endTimestamp;
        startPublicTimestamp = _startPublicTimestamp;
    }


    function mintedTokensCount(address account) public view returns (uint256) {
        return _userMints[account];
    }

    function swapTokensCount(address account) public view returns (uint256) {
        return _userCommitment[account];
    }
}

File 2 of 13 : NftMintingStation.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/INftCollection.sol";
import "./ContractGuard.sol";

/** @title NftMintingStation.
 */
contract NftMintingStation is Ownable, ReentrancyGuard, ContractGuard {
    using Address for address;

    uint256 public maxSupply;
    uint256 public availableSupply;

    INftCollection public nftCollection;

    constructor(INftCollection _nftCollection) {
        nftCollection = _nftCollection;
    }

    function _mint(address _to, uint256 _quantity) internal {
        require(availableSupply >= _quantity, "Not enough supply");
        nftCollection.mint(_to, _quantity);
        availableSupply = availableSupply - _quantity;
    }

    function _syncSupply() internal {
        uint256 totalMint = nftCollection.totalMint();
        maxSupply = nftCollection.maxSupply();
        availableSupply = maxSupply - totalMint;
    }

    function syncSupply() external onlyOwner {
        _syncSupply();
    }
}

File 3 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 subtraction 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 4 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

File 5 of 13 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.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));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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 6 of 13 : ContractGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContractGuard {
    /**
     * @notice Checks if the msg.sender is a contract or a proxy
     */
    modifier notContract() {
        require(!_isContract(msg.sender), "contract not allowed");
        require(msg.sender == tx.origin, "proxy contract not allowed");
        _;
    }

    /**
     * @notice Checks if address is a contract
     * @dev It prevents contract from being targetted
     */
    function _isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }
}

File 7 of 13 : INftCollection.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface INftCollection {
    /**
     * @dev Returns the current supply
     */
    function totalMint() external view returns (uint256);
    

    /**
     * @dev Returns the max total supply
     */
    function maxSupply() external view returns (uint256);
    
    /**
     * @dev Mint NFTs from the NFT contract.
     */ 
    function mint(address _to, uint256 _tokenId) external;
    
}

File 8 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

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

File 10 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

File 11 of 13 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

File 12 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

File 13 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract INftCollection","name":"_collection","type":"address"},{"internalType":"contract IERC20","name":"_USDT","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"CurrentSwapIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EndRoundSwapIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxSwapIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TokenDecimal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDT","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addresses","type":"address"},{"internalType":"uint256","name":"_Quantity","type":"uint256"}],"name":"addUserCommitment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_CallerPublicSaleKey","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"mintedTokensCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftCollection","outputs":[{"internalType":"contract INftCollection","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"saleStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Index","type":"uint256"}],"name":"setCurrentSwapIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Index","type":"uint256"}],"name":"setEndRoundSwapIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Index","type":"uint256"}],"name":"setMaxSwapIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MaxMintPerWallet","type":"uint256"}],"name":"setMaxperWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTimestamp","type":"uint256"},{"internalType":"uint256","name":"_endTimestamp","type":"uint256"},{"internalType":"uint256","name":"_startPublicTimestamp","type":"uint256"}],"name":"setMintDates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicSaleKey","type":"uint256"}],"name":"setPublicSaleKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_SaleStage","type":"uint256"}],"name":"setSaleStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenDecimal","type":"uint256"}],"name":"setTokenDecimal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_address","type":"address"}],"name":"setUSDTAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Quantity","type":"uint256"},{"internalType":"uint256","name":"_WL","type":"uint256"},{"internalType":"uint256","name":"_CallerPublicSaleKey","type":"uint256"}],"name":"swapCommitment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"swapTokensCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"syncSupply","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWallet1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a06040526004600655612710600755620f424060085560006009556000600b556032600c5560e1600d556000600e60006101000a81548160ff0219169083151502179055507365e19ad8ee339f1bbc65f4e2c0e70a3f5118991c73ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff168152503480156200009957600080fd5b50604051620033fc380380620033fc8339818101604052810190620000bf91906200031c565b81620000e0620000d46200018d60201b60201c565b6200019560201b60201c565b6001808190555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506000600460146101000a81548160ff02191690831515021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000363565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200028b826200025e565b9050919050565b60006200029f826200027e565b9050919050565b620002b18162000292565b8114620002bd57600080fd5b50565b600081519050620002d181620002a6565b92915050565b6000620002e4826200027e565b9050919050565b620002f681620002d7565b81146200030257600080fd5b50565b6000815190506200031681620002eb565b92915050565b6000806040838503121562000336576200033562000259565b5b60006200034685828601620002c0565b9250506020620003598582860162000305565b9150509250929050565b608051613076620003866000396000818161139a015261174501526130766000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80637ecc2b5611610146578063c051e38a116100c3578063e6fd48bc11610087578063e6fd48bc1461062b578063e9d5596a14610649578063ea87e0a814610679578063f2fde38b14610697578063f4a0a528146106b3578063fbb88660146106cf5761025e565b8063c051e38a14610595578063c54e44eb146105b3578063ce3be6bb146105d1578063d5abeb01146105ef578063e16213d51461060d5761025e565b80639b0e590a1161010a5780639b0e590a14610505578063a0712d6814610521578063a85adeab1461053d578063a969d1de1461055b578063bc51490e146105795761025e565b80637ecc2b56146104995780638456cb59146104b75780638495fba3146104c1578063853828b6146104dd5780638da5cb5b146104e75761025e565b80634a2bbe3d116101df5780636588103b116101a35780636588103b146103e957806366df45ad14610407578063676dd56314610437578063715018a614610455578063742253f61461045f5780637ce6edb81461047b5761025e565b80634a2bbe3d1461036b5780634aaca86d1461038757806355eba868146103a55780635c975abb146103c15780635df5729b146103df5761025e565b80632a09f2f2116102265780632a09f2f2146102f15780632e1a7d4d1461030d57806330581d8a146103295780633f4ba83a14610345578063484b973c1461034f5761025e565b8063076406901461026357806311f8e6781461027f578063157c56fb1461029b57806320583f47146102b957806326412aca146102d5575b600080fd5b61027d60048036038101906102789190611f46565b6106ed565b005b61029960048036038101906102949190611f99565b610bc8565b005b6102a3610c4e565b6040516102b09190611fd5565b60405180910390f35b6102d360048036038101906102ce9190611f99565b610c54565b005b6102ef60048036038101906102ea9190612028565b610c66565b005b61030b60048036038101906103069190611f99565b610c8b565b005b61032760048036038101906103229190611f99565b610c9d565b005b610343600480360381019061033e9190611f99565b610cb1565b005b61034d610cc3565b005b610369600480360381019061036491906120b3565b610cd5565b005b61038560048036038101906103809190611f99565b610ceb565b005b61038f610cfd565b60405161039c9190611fd5565b60405180910390f35b6103bf60048036038101906103ba9190612131565b610d03565b005b6103c9610d4f565b6040516103d6919061216d565b60405180910390f35b6103e7610d66565b005b6103f1610d78565b6040516103fe91906121e7565b60405180910390f35b610421600480360381019061041c9190612202565b610d9e565b60405161042e9190611fd5565b60405180910390f35b61043f610de7565b60405161044c9190611fd5565b60405180910390f35b61045d610ded565b005b61047960048036038101906104749190611f46565b610e01565b005b610483610ec9565b6040516104909190611fd5565b60405180910390f35b6104a1610ecf565b6040516104ae9190611fd5565b60405180910390f35b6104bf610ed5565b005b6104db60048036038101906104d69190611f99565b610ee7565b005b6104e5610ef9565b005b6104ef610fa7565b6040516104fc919061223e565b60405180910390f35b61051f600480360381019061051a9190611f99565b610fd0565b005b61053b60048036038101906105369190611f99565b610fe2565b005b610545611303565b6040516105529190611fd5565b60405180910390f35b610563611309565b6040516105709190611fd5565b60405180910390f35b610593600480360381019061058e91906120b3565b61130f565b005b61059d61135f565b6040516105aa919061216d565b60405180910390f35b6105bb611372565b6040516105c8919061227a565b60405180910390f35b6105d9611398565b6040516105e6919061223e565b60405180910390f35b6105f76113bc565b6040516106049190611fd5565b60405180910390f35b6106156113c2565b6040516106229190611fd5565b60405180910390f35b6106336113c8565b6040516106409190611fd5565b60405180910390f35b610663600480360381019061065e9190612202565b6113ce565b6040516106709190611fd5565b60405180910390f35b610681611417565b60405161068e9190611fd5565b60405180910390f35b6106b160048036038101906106ac9190612202565b61141d565b005b6106cd60048036038101906106c89190611f99565b6114a0565b005b6106d76114b2565b6040516106e49190611fd5565b60405180910390f35b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461075b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610752906122f2565b60405180910390fd5b6107636114b8565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016107c0919061223e565b602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108019190612327565b90506000846008546007546108169190612383565b6108209190612383565b905082600a5414610866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085d90612437565b60405180910390fd5b6006546108bb86601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461150290919063ffffffff16565b11156108fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f3906124a3565b60405180910390fd5b8181111561093f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109369061250f565b60405180910390fd5b600060095411610984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097b9061257b565b60405180910390fd5b600c5485600b54610995919061259b565b11156109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd90612641565b60405180910390fd5b600160095403610a2a57600954841115610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906126ad565b60405180910390fd5b610ad0565b600260095403610a7e57600954841115610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7090612719565b60405180910390fd5b610acf565b600360095403610ace57600954841115610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490612785565b60405180910390fd5b5b5b5b610b1f333083600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611518909392919063ffffffff16565b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b6a919061259b565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555084600b54610bbb919061259b565b600b819055505050505050565b610bd06115a1565b80600981905550600160095403610bf7576127106007819055506032600c81905550610c4b565b600260095403610c17576127106007819055506064600c81905550610c4a565b600360095403610c37576127106007819055506096600c81905550610c49565b612ee060078190555060e1600c819055505b5b5b50565b600c5481565b610c5c6115a1565b80600b8190555050565b610c6e6115a1565b80600e60006101000a81548160ff02191690831515021790555050565b610c936115a1565b80600a8190555050565b610ca56115a1565b610cae8161161f565b50565b610cb96115a1565b8060088190555050565b610ccb6115a1565b610cd36117e7565b565b610cdd6115a1565b610ce7828261184a565b5050565b610cf36115a1565b8060068190555050565b60095481565b610d0b6115a1565b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600460149054906101000a900460ff16905090565b610d6e6115a1565b610d76611936565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60075481565b610df56115a1565b610dff6000611a79565b565b610e096115a1565b6000821480610e1757508183105b610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d906127f1565b60405180910390fd5b6000821480610e7057508181108015610e6f5750808311155b5b610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea69061285d565b60405180910390fd5b82600f819055508160118190555080601081905550505050565b60065481565b60035481565b610edd6115a1565b610ee5611b3d565b565b610eef6115a1565b80600c8190555050565b610f016115a1565b610fa5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f5f919061223e565b602060405180830381865afa158015610f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa09190612327565b61161f565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fd86115a1565b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611047906122f2565b60405180910390fd5b6110586114b8565b60011515600e60009054906101000a900460ff161515146110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a5906128c9565b60405180910390fd5b80600a54146110f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e990612437565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116b90612935565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b906129a1565b60405180910390fd5b61127d33601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184a565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60115481565b60085481565b6113176115a1565b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600e60009054906101000a900460ff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025481565b600b5481565b600f5481565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6114256115a1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90612a33565b60405180910390fd5b61149d81611a79565b50565b6114a86115a1565b8060078190555050565b600d5481565b6114c0610d4f565b15611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790612a9f565b60405180910390fd5b565b60008183611510919061259b565b905092915050565b61159b846323b872dd60e01b85858560405160240161153993929190612abf565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ba0565b50505050565b6115a9611c67565b73ffffffffffffffffffffffffffffffffffffffff166115c7610fa7565b73ffffffffffffffffffffffffffffffffffffffff161461161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490612b42565b60405180910390fd5b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161167a919061223e565b602060405180830381865afa158015611697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bb9190612327565b8111156116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f490612bae565b60405180910390fd5b60008111611740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173790612c1a565b60405180910390fd5b6117ad7f000000000000000000000000000000000000000000000000000000000000000082600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c6f9092919063ffffffff16565b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d816040516117dc9190611fd5565b60405180910390a150565b6117ef611cf5565b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611833611c67565b604051611840919061223e565b60405180910390a1565b80600354101561188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690612c86565b60405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b81526004016118ec929190612ca6565b600060405180830381600087803b15801561190657600080fd5b505af115801561191a573d6000803e3d6000fd5b505050508060035461192c9190612ccf565b6003819055505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166359a7715a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c99190612327565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d5abeb016040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5c9190612327565b60028190555080600254611a709190612ccf565b60038190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b456114b8565b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b89611c67565b604051611b96919061223e565b60405180910390a1565b6000611c02826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611d3e9092919063ffffffff16565b9050600081511115611c625780806020019051810190611c229190612d18565b611c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5890612db7565b60405180910390fd5b5b505050565b600033905090565b611cf08363a9059cbb60e01b8484604051602401611c8e929190612ca6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ba0565b505050565b611cfd610d4f565b611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390612e23565b60405180910390fd5b565b6060611d4d8484600085611d56565b90509392505050565b606082471015611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290612eb5565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611dc49190612f46565b60006040518083038185875af1925050503d8060008114611e01576040519150601f19603f3d011682016040523d82523d6000602084013e611e06565b606091505b5091509150611e1787838387611e23565b92505050949350505050565b60608315611e85576000835103611e7d57611e3d85611e98565b611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390612fa9565b60405180910390fd5b5b829050611e90565b611e8f8383611ebb565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115611ece5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f02919061301e565b60405180910390fd5b600080fd5b6000819050919050565b611f2381611f10565b8114611f2e57600080fd5b50565b600081359050611f4081611f1a565b92915050565b600080600060608486031215611f5f57611f5e611f0b565b5b6000611f6d86828701611f31565b9350506020611f7e86828701611f31565b9250506040611f8f86828701611f31565b9150509250925092565b600060208284031215611faf57611fae611f0b565b5b6000611fbd84828501611f31565b91505092915050565b611fcf81611f10565b82525050565b6000602082019050611fea6000830184611fc6565b92915050565b60008115159050919050565b61200581611ff0565b811461201057600080fd5b50565b60008135905061202281611ffc565b92915050565b60006020828403121561203e5761203d611f0b565b5b600061204c84828501612013565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061208082612055565b9050919050565b61209081612075565b811461209b57600080fd5b50565b6000813590506120ad81612087565b92915050565b600080604083850312156120ca576120c9611f0b565b5b60006120d88582860161209e565b92505060206120e985828601611f31565b9150509250929050565b60006120fe82612075565b9050919050565b61210e816120f3565b811461211957600080fd5b50565b60008135905061212b81612105565b92915050565b60006020828403121561214757612146611f0b565b5b60006121558482850161211c565b91505092915050565b61216781611ff0565b82525050565b6000602082019050612182600083018461215e565b92915050565b6000819050919050565b60006121ad6121a86121a384612055565b612188565b612055565b9050919050565b60006121bf82612192565b9050919050565b60006121d1826121b4565b9050919050565b6121e1816121c6565b82525050565b60006020820190506121fc60008301846121d8565b92915050565b60006020828403121561221857612217611f0b565b5b60006122268482850161209e565b91505092915050565b61223881612075565b82525050565b6000602082019050612253600083018461222f565b92915050565b6000612264826121b4565b9050919050565b61227481612259565b82525050565b600060208201905061228f600083018461226b565b92915050565b600082825260208201905092915050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006122dc601e83612295565b91506122e7826122a6565b602082019050919050565b6000602082019050818103600083015261230b816122cf565b9050919050565b60008151905061232181611f1a565b92915050565b60006020828403121561233d5761233c611f0b565b5b600061234b84828501612312565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061238e82611f10565b915061239983611f10565b92508282026123a781611f10565b915082820484148315176123be576123bd612354565b5b5092915050565b7f43616c6c6564207769746820696e636f7272656374207075626c69632073616c60008201527f65206b6579000000000000000000000000000000000000000000000000000000602082015250565b6000612421602583612295565b915061242c826123c5565b604082019050919050565b6000602082019050818103600083015261245081612414565b9050919050565b7f41626f7665207175616e7469747920616c6c6f77656400000000000000000000600082015250565b600061248d601683612295565b915061249882612457565b602082019050919050565b600060208201905081810360008301526124bc81612480565b9050919050565b7f557365722062616c616e6365206973206e6f7420656e6f756768000000000000600082015250565b60006124f9601a83612295565b9150612504826124c3565b602082019050919050565b60006020820190508181036000830152612528816124ec565b9050919050565b7f53616c65206973206e6f742061637469766520617420746865206d6f6d656e74600082015250565b6000612565602083612295565b91506125708261252f565b602082019050919050565b6000602082019050818103600083015261259481612558565b9050919050565b60006125a682611f10565b91506125b183611f10565b92508282019050808211156125c9576125c8612354565b5b92915050565b7f537570706c79206f76657220746865206d696e7420737570706c79206c696d6960008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b600061262b602183612295565b9150612636826125cf565b604082019050919050565b6000602082019050818103600083015261265a8161261e565b9050919050565b7f596f75277265206e6f7420696e2057686974654c69737420526f756e64203100600082015250565b6000612697601f83612295565b91506126a282612661565b602082019050919050565b600060208201905081810360008301526126c68161268a565b9050919050565b7f596f75277265206e6f7420696e2057686974654c69737420526f756e64203200600082015250565b6000612703601f83612295565b915061270e826126cd565b602082019050919050565b60006020820190508181036000830152612732816126f6565b9050919050565b7f596f75277265206e6f7420696e2057686974654c69737420526f756e64203300600082015250565b600061276f601f83612295565b915061277a82612739565b602082019050919050565b6000602082019050818103600083015261279e81612762565b9050919050565b7f496e76616c69642074696d657374616d70730000000000000000000000000000600082015250565b60006127db601283612295565b91506127e6826127a5565b602082019050919050565b6000602082019050818103600083015261280a816127ce565b9050919050565b7f496e76616c6964207075626c69632074696d657374616d700000000000000000600082015250565b6000612847601883612295565b915061285282612811565b602082019050919050565b600060208201905081810360008301526128768161283a565b9050919050565b7f4d696e74206973206e6f74207374617274207965740000000000000000000000600082015250565b60006128b3601583612295565b91506128be8261287d565b602082019050919050565b600060208201905081810360008301526128e2816128a6565b9050919050565b7f55736572206e6f7420636f6d6d69746d656e7420796574000000000000000000600082015250565b600061291f601783612295565b915061292a826128e9565b602082019050919050565b6000602082019050818103600083015261294e81612912565b9050919050565b7f5573657220616c7265616479204d696e74656400000000000000000000000000600082015250565b600061298b601383612295565b915061299682612955565b602082019050919050565b600060208201905081810360008301526129ba8161297e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612a1d602683612295565b9150612a28826129c1565b604082019050919050565b60006020820190508181036000830152612a4c81612a10565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612a89601083612295565b9150612a9482612a53565b602082019050919050565b60006020820190508181036000830152612ab881612a7c565b9050919050565b6000606082019050612ad4600083018661222f565b612ae1602083018561222f565b612aee6040830184611fc6565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b2c602083612295565b9150612b3782612af6565b602082019050919050565b60006020820190508181036000830152612b5b81612b1f565b9050919050565b7f616d6f756e74203e2062616c616e636500000000000000000000000000000000600082015250565b6000612b98601083612295565b9150612ba382612b62565b602082019050919050565b60006020820190508181036000830152612bc781612b8b565b9050919050565b7f456d70747920616d6f756e740000000000000000000000000000000000000000600082015250565b6000612c04600c83612295565b9150612c0f82612bce565b602082019050919050565b60006020820190508181036000830152612c3381612bf7565b9050919050565b7f4e6f7420656e6f75676820737570706c79000000000000000000000000000000600082015250565b6000612c70601183612295565b9150612c7b82612c3a565b602082019050919050565b60006020820190508181036000830152612c9f81612c63565b9050919050565b6000604082019050612cbb600083018561222f565b612cc86020830184611fc6565b9392505050565b6000612cda82611f10565b9150612ce583611f10565b9250828203905081811115612cfd57612cfc612354565b5b92915050565b600081519050612d1281611ffc565b92915050565b600060208284031215612d2e57612d2d611f0b565b5b6000612d3c84828501612d03565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612da1602a83612295565b9150612dac82612d45565b604082019050919050565b60006020820190508181036000830152612dd081612d94565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612e0d601483612295565b9150612e1882612dd7565b602082019050919050565b60006020820190508181036000830152612e3c81612e00565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612e9f602683612295565b9150612eaa82612e43565b604082019050919050565b60006020820190508181036000830152612ece81612e92565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612f09578082015181840152602081019050612eee565b60008484015250505050565b6000612f2082612ed5565b612f2a8185612ee0565b9350612f3a818560208601612eeb565b80840191505092915050565b6000612f528284612f15565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612f93601d83612295565b9150612f9e82612f5d565b602082019050919050565b60006020820190508181036000830152612fc281612f86565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000612ff082612fc9565b612ffa8185612295565b935061300a818560208601612eeb565b61301381612fd4565b840191505092915050565b600060208201905081810360008301526130388184612fe5565b90509291505056fea2646970667358221220697b7bc1049fd8628ecb870c99bcd3e9a0307b9c01e8a73c1a06c8e595f7ab6b64736f6c6343000812003300000000000000000000000016ba7cb75697d00167439037d98fb2c2848174d1000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80637ecc2b5611610146578063c051e38a116100c3578063e6fd48bc11610087578063e6fd48bc1461062b578063e9d5596a14610649578063ea87e0a814610679578063f2fde38b14610697578063f4a0a528146106b3578063fbb88660146106cf5761025e565b8063c051e38a14610595578063c54e44eb146105b3578063ce3be6bb146105d1578063d5abeb01146105ef578063e16213d51461060d5761025e565b80639b0e590a1161010a5780639b0e590a14610505578063a0712d6814610521578063a85adeab1461053d578063a969d1de1461055b578063bc51490e146105795761025e565b80637ecc2b56146104995780638456cb59146104b75780638495fba3146104c1578063853828b6146104dd5780638da5cb5b146104e75761025e565b80634a2bbe3d116101df5780636588103b116101a35780636588103b146103e957806366df45ad14610407578063676dd56314610437578063715018a614610455578063742253f61461045f5780637ce6edb81461047b5761025e565b80634a2bbe3d1461036b5780634aaca86d1461038757806355eba868146103a55780635c975abb146103c15780635df5729b146103df5761025e565b80632a09f2f2116102265780632a09f2f2146102f15780632e1a7d4d1461030d57806330581d8a146103295780633f4ba83a14610345578063484b973c1461034f5761025e565b8063076406901461026357806311f8e6781461027f578063157c56fb1461029b57806320583f47146102b957806326412aca146102d5575b600080fd5b61027d60048036038101906102789190611f46565b6106ed565b005b61029960048036038101906102949190611f99565b610bc8565b005b6102a3610c4e565b6040516102b09190611fd5565b60405180910390f35b6102d360048036038101906102ce9190611f99565b610c54565b005b6102ef60048036038101906102ea9190612028565b610c66565b005b61030b60048036038101906103069190611f99565b610c8b565b005b61032760048036038101906103229190611f99565b610c9d565b005b610343600480360381019061033e9190611f99565b610cb1565b005b61034d610cc3565b005b610369600480360381019061036491906120b3565b610cd5565b005b61038560048036038101906103809190611f99565b610ceb565b005b61038f610cfd565b60405161039c9190611fd5565b60405180910390f35b6103bf60048036038101906103ba9190612131565b610d03565b005b6103c9610d4f565b6040516103d6919061216d565b60405180910390f35b6103e7610d66565b005b6103f1610d78565b6040516103fe91906121e7565b60405180910390f35b610421600480360381019061041c9190612202565b610d9e565b60405161042e9190611fd5565b60405180910390f35b61043f610de7565b60405161044c9190611fd5565b60405180910390f35b61045d610ded565b005b61047960048036038101906104749190611f46565b610e01565b005b610483610ec9565b6040516104909190611fd5565b60405180910390f35b6104a1610ecf565b6040516104ae9190611fd5565b60405180910390f35b6104bf610ed5565b005b6104db60048036038101906104d69190611f99565b610ee7565b005b6104e5610ef9565b005b6104ef610fa7565b6040516104fc919061223e565b60405180910390f35b61051f600480360381019061051a9190611f99565b610fd0565b005b61053b60048036038101906105369190611f99565b610fe2565b005b610545611303565b6040516105529190611fd5565b60405180910390f35b610563611309565b6040516105709190611fd5565b60405180910390f35b610593600480360381019061058e91906120b3565b61130f565b005b61059d61135f565b6040516105aa919061216d565b60405180910390f35b6105bb611372565b6040516105c8919061227a565b60405180910390f35b6105d9611398565b6040516105e6919061223e565b60405180910390f35b6105f76113bc565b6040516106049190611fd5565b60405180910390f35b6106156113c2565b6040516106229190611fd5565b60405180910390f35b6106336113c8565b6040516106409190611fd5565b60405180910390f35b610663600480360381019061065e9190612202565b6113ce565b6040516106709190611fd5565b60405180910390f35b610681611417565b60405161068e9190611fd5565b60405180910390f35b6106b160048036038101906106ac9190612202565b61141d565b005b6106cd60048036038101906106c89190611f99565b6114a0565b005b6106d76114b2565b6040516106e49190611fd5565b60405180910390f35b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461075b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610752906122f2565b60405180910390fd5b6107636114b8565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016107c0919061223e565b602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108019190612327565b90506000846008546007546108169190612383565b6108209190612383565b905082600a5414610866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085d90612437565b60405180910390fd5b6006546108bb86601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461150290919063ffffffff16565b11156108fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f3906124a3565b60405180910390fd5b8181111561093f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109369061250f565b60405180910390fd5b600060095411610984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097b9061257b565b60405180910390fd5b600c5485600b54610995919061259b565b11156109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd90612641565b60405180910390fd5b600160095403610a2a57600954841115610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906126ad565b60405180910390fd5b610ad0565b600260095403610a7e57600954841115610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7090612719565b60405180910390fd5b610acf565b600360095403610ace57600954841115610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490612785565b60405180910390fd5b5b5b5b610b1f333083600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611518909392919063ffffffff16565b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b6a919061259b565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555084600b54610bbb919061259b565b600b819055505050505050565b610bd06115a1565b80600981905550600160095403610bf7576127106007819055506032600c81905550610c4b565b600260095403610c17576127106007819055506064600c81905550610c4a565b600360095403610c37576127106007819055506096600c81905550610c49565b612ee060078190555060e1600c819055505b5b5b50565b600c5481565b610c5c6115a1565b80600b8190555050565b610c6e6115a1565b80600e60006101000a81548160ff02191690831515021790555050565b610c936115a1565b80600a8190555050565b610ca56115a1565b610cae8161161f565b50565b610cb96115a1565b8060088190555050565b610ccb6115a1565b610cd36117e7565b565b610cdd6115a1565b610ce7828261184a565b5050565b610cf36115a1565b8060068190555050565b60095481565b610d0b6115a1565b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600460149054906101000a900460ff16905090565b610d6e6115a1565b610d76611936565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60075481565b610df56115a1565b610dff6000611a79565b565b610e096115a1565b6000821480610e1757508183105b610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d906127f1565b60405180910390fd5b6000821480610e7057508181108015610e6f5750808311155b5b610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea69061285d565b60405180910390fd5b82600f819055508160118190555080601081905550505050565b60065481565b60035481565b610edd6115a1565b610ee5611b3d565b565b610eef6115a1565b80600c8190555050565b610f016115a1565b610fa5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f5f919061223e565b602060405180830381865afa158015610f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa09190612327565b61161f565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fd86115a1565b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611047906122f2565b60405180910390fd5b6110586114b8565b60011515600e60009054906101000a900460ff161515146110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a5906128c9565b60405180910390fd5b80600a54146110f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e990612437565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116b90612935565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b906129a1565b60405180910390fd5b61127d33601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184a565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60115481565b60085481565b6113176115a1565b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600e60009054906101000a900460ff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f00000000000000000000000065e19ad8ee339f1bbc65f4e2c0e70a3f5118991c81565b60025481565b600b5481565b600f5481565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6114256115a1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90612a33565b60405180910390fd5b61149d81611a79565b50565b6114a86115a1565b8060078190555050565b600d5481565b6114c0610d4f565b15611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790612a9f565b60405180910390fd5b565b60008183611510919061259b565b905092915050565b61159b846323b872dd60e01b85858560405160240161153993929190612abf565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ba0565b50505050565b6115a9611c67565b73ffffffffffffffffffffffffffffffffffffffff166115c7610fa7565b73ffffffffffffffffffffffffffffffffffffffff161461161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490612b42565b60405180910390fd5b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161167a919061223e565b602060405180830381865afa158015611697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bb9190612327565b8111156116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f490612bae565b60405180910390fd5b60008111611740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173790612c1a565b60405180910390fd5b6117ad7f00000000000000000000000065e19ad8ee339f1bbc65f4e2c0e70a3f5118991c82600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c6f9092919063ffffffff16565b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d816040516117dc9190611fd5565b60405180910390a150565b6117ef611cf5565b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611833611c67565b604051611840919061223e565b60405180910390a1565b80600354101561188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690612c86565b60405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b81526004016118ec929190612ca6565b600060405180830381600087803b15801561190657600080fd5b505af115801561191a573d6000803e3d6000fd5b505050508060035461192c9190612ccf565b6003819055505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166359a7715a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c99190612327565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d5abeb016040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5c9190612327565b60028190555080600254611a709190612ccf565b60038190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b456114b8565b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b89611c67565b604051611b96919061223e565b60405180910390a1565b6000611c02826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611d3e9092919063ffffffff16565b9050600081511115611c625780806020019051810190611c229190612d18565b611c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5890612db7565b60405180910390fd5b5b505050565b600033905090565b611cf08363a9059cbb60e01b8484604051602401611c8e929190612ca6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ba0565b505050565b611cfd610d4f565b611d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3390612e23565b60405180910390fd5b565b6060611d4d8484600085611d56565b90509392505050565b606082471015611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290612eb5565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611dc49190612f46565b60006040518083038185875af1925050503d8060008114611e01576040519150601f19603f3d011682016040523d82523d6000602084013e611e06565b606091505b5091509150611e1787838387611e23565b92505050949350505050565b60608315611e85576000835103611e7d57611e3d85611e98565b611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390612fa9565b60405180910390fd5b5b829050611e90565b611e8f8383611ebb565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115611ece5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f02919061301e565b60405180910390fd5b600080fd5b6000819050919050565b611f2381611f10565b8114611f2e57600080fd5b50565b600081359050611f4081611f1a565b92915050565b600080600060608486031215611f5f57611f5e611f0b565b5b6000611f6d86828701611f31565b9350506020611f7e86828701611f31565b9250506040611f8f86828701611f31565b9150509250925092565b600060208284031215611faf57611fae611f0b565b5b6000611fbd84828501611f31565b91505092915050565b611fcf81611f10565b82525050565b6000602082019050611fea6000830184611fc6565b92915050565b60008115159050919050565b61200581611ff0565b811461201057600080fd5b50565b60008135905061202281611ffc565b92915050565b60006020828403121561203e5761203d611f0b565b5b600061204c84828501612013565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061208082612055565b9050919050565b61209081612075565b811461209b57600080fd5b50565b6000813590506120ad81612087565b92915050565b600080604083850312156120ca576120c9611f0b565b5b60006120d88582860161209e565b92505060206120e985828601611f31565b9150509250929050565b60006120fe82612075565b9050919050565b61210e816120f3565b811461211957600080fd5b50565b60008135905061212b81612105565b92915050565b60006020828403121561214757612146611f0b565b5b60006121558482850161211c565b91505092915050565b61216781611ff0565b82525050565b6000602082019050612182600083018461215e565b92915050565b6000819050919050565b60006121ad6121a86121a384612055565b612188565b612055565b9050919050565b60006121bf82612192565b9050919050565b60006121d1826121b4565b9050919050565b6121e1816121c6565b82525050565b60006020820190506121fc60008301846121d8565b92915050565b60006020828403121561221857612217611f0b565b5b60006122268482850161209e565b91505092915050565b61223881612075565b82525050565b6000602082019050612253600083018461222f565b92915050565b6000612264826121b4565b9050919050565b61227481612259565b82525050565b600060208201905061228f600083018461226b565b92915050565b600082825260208201905092915050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006122dc601e83612295565b91506122e7826122a6565b602082019050919050565b6000602082019050818103600083015261230b816122cf565b9050919050565b60008151905061232181611f1a565b92915050565b60006020828403121561233d5761233c611f0b565b5b600061234b84828501612312565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061238e82611f10565b915061239983611f10565b92508282026123a781611f10565b915082820484148315176123be576123bd612354565b5b5092915050565b7f43616c6c6564207769746820696e636f7272656374207075626c69632073616c60008201527f65206b6579000000000000000000000000000000000000000000000000000000602082015250565b6000612421602583612295565b915061242c826123c5565b604082019050919050565b6000602082019050818103600083015261245081612414565b9050919050565b7f41626f7665207175616e7469747920616c6c6f77656400000000000000000000600082015250565b600061248d601683612295565b915061249882612457565b602082019050919050565b600060208201905081810360008301526124bc81612480565b9050919050565b7f557365722062616c616e6365206973206e6f7420656e6f756768000000000000600082015250565b60006124f9601a83612295565b9150612504826124c3565b602082019050919050565b60006020820190508181036000830152612528816124ec565b9050919050565b7f53616c65206973206e6f742061637469766520617420746865206d6f6d656e74600082015250565b6000612565602083612295565b91506125708261252f565b602082019050919050565b6000602082019050818103600083015261259481612558565b9050919050565b60006125a682611f10565b91506125b183611f10565b92508282019050808211156125c9576125c8612354565b5b92915050565b7f537570706c79206f76657220746865206d696e7420737570706c79206c696d6960008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b600061262b602183612295565b9150612636826125cf565b604082019050919050565b6000602082019050818103600083015261265a8161261e565b9050919050565b7f596f75277265206e6f7420696e2057686974654c69737420526f756e64203100600082015250565b6000612697601f83612295565b91506126a282612661565b602082019050919050565b600060208201905081810360008301526126c68161268a565b9050919050565b7f596f75277265206e6f7420696e2057686974654c69737420526f756e64203200600082015250565b6000612703601f83612295565b915061270e826126cd565b602082019050919050565b60006020820190508181036000830152612732816126f6565b9050919050565b7f596f75277265206e6f7420696e2057686974654c69737420526f756e64203300600082015250565b600061276f601f83612295565b915061277a82612739565b602082019050919050565b6000602082019050818103600083015261279e81612762565b9050919050565b7f496e76616c69642074696d657374616d70730000000000000000000000000000600082015250565b60006127db601283612295565b91506127e6826127a5565b602082019050919050565b6000602082019050818103600083015261280a816127ce565b9050919050565b7f496e76616c6964207075626c69632074696d657374616d700000000000000000600082015250565b6000612847601883612295565b915061285282612811565b602082019050919050565b600060208201905081810360008301526128768161283a565b9050919050565b7f4d696e74206973206e6f74207374617274207965740000000000000000000000600082015250565b60006128b3601583612295565b91506128be8261287d565b602082019050919050565b600060208201905081810360008301526128e2816128a6565b9050919050565b7f55736572206e6f7420636f6d6d69746d656e7420796574000000000000000000600082015250565b600061291f601783612295565b915061292a826128e9565b602082019050919050565b6000602082019050818103600083015261294e81612912565b9050919050565b7f5573657220616c7265616479204d696e74656400000000000000000000000000600082015250565b600061298b601383612295565b915061299682612955565b602082019050919050565b600060208201905081810360008301526129ba8161297e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612a1d602683612295565b9150612a28826129c1565b604082019050919050565b60006020820190508181036000830152612a4c81612a10565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612a89601083612295565b9150612a9482612a53565b602082019050919050565b60006020820190508181036000830152612ab881612a7c565b9050919050565b6000606082019050612ad4600083018661222f565b612ae1602083018561222f565b612aee6040830184611fc6565b949350505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b2c602083612295565b9150612b3782612af6565b602082019050919050565b60006020820190508181036000830152612b5b81612b1f565b9050919050565b7f616d6f756e74203e2062616c616e636500000000000000000000000000000000600082015250565b6000612b98601083612295565b9150612ba382612b62565b602082019050919050565b60006020820190508181036000830152612bc781612b8b565b9050919050565b7f456d70747920616d6f756e740000000000000000000000000000000000000000600082015250565b6000612c04600c83612295565b9150612c0f82612bce565b602082019050919050565b60006020820190508181036000830152612c3381612bf7565b9050919050565b7f4e6f7420656e6f75676820737570706c79000000000000000000000000000000600082015250565b6000612c70601183612295565b9150612c7b82612c3a565b602082019050919050565b60006020820190508181036000830152612c9f81612c63565b9050919050565b6000604082019050612cbb600083018561222f565b612cc86020830184611fc6565b9392505050565b6000612cda82611f10565b9150612ce583611f10565b9250828203905081811115612cfd57612cfc612354565b5b92915050565b600081519050612d1281611ffc565b92915050565b600060208284031215612d2e57612d2d611f0b565b5b6000612d3c84828501612d03565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612da1602a83612295565b9150612dac82612d45565b604082019050919050565b60006020820190508181036000830152612dd081612d94565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612e0d601483612295565b9150612e1882612dd7565b602082019050919050565b60006020820190508181036000830152612e3c81612e00565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612e9f602683612295565b9150612eaa82612e43565b604082019050919050565b60006020820190508181036000830152612ece81612e92565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612f09578082015181840152602081019050612eee565b60008484015250505050565b6000612f2082612ed5565b612f2a8185612ee0565b9350612f3a818560208601612eeb565b80840191505092915050565b6000612f528284612f15565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612f93601d83612295565b9150612f9e82612f5d565b602082019050919050565b60006020820190508181036000830152612fc281612f86565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b6000612ff082612fc9565b612ffa8185612295565b935061300a818560208601612eeb565b61301381612fd4565b840191505092915050565b600060208201905081810360008301526130388184612fe5565b90509291505056fea2646970667358221220697b7bc1049fd8628ecb870c99bcd3e9a0307b9c01e8a73c1a06c8e595f7ab6b64736f6c63430008120033

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

00000000000000000000000016ba7cb75697d00167439037d98fb2c2848174d1000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7

-----Decoded View---------------
Arg [0] : _collection (address): 0x16bA7cB75697D00167439037D98fb2C2848174D1
Arg [1] : _USDT (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000016ba7cb75697d00167439037d98fb2c2848174d1
Arg [1] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7


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.