CRO Price: $0.18 (-5.04%)

Contract

0x89679300771B8E54bD13D1c0a9031E3f3BaD71eF

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo1,648.149588652482272456 CRO

CRO Value

$299.39 (@ $0.18/CRO)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...167780622024-11-16 23:22:2326 days ago1731799343IN
0x89679300...f3BaD71eF
0 CRO0.235896785,047
Set Approval For...165789982024-11-03 22:15:5539 days ago1730672155IN
0x89679300...f3BaD71eF
0 CRO0.2360375,050
Set Approval For...155426662024-08-28 6:18:08106 days ago1724825888IN
0x89679300...f3BaD71eF
0 CRO0.2360375,050
Set Approval For...132350492024-03-29 15:20:42258 days ago1711725642IN
0x89679300...f3BaD71eF
0 CRO0.149576955,048.5
Set Approval For...131737372024-03-25 14:53:19262 days ago1711378399IN
0x89679300...f3BaD71eF
0 CRO0.12515995,041.07898293
Set Approval For...131308382024-03-22 19:45:29265 days ago1711136729IN
0x89679300...f3BaD71eF
0 CRO0.235830875,045.59
Set Approval For...130787472024-03-19 10:23:03268 days ago1710843783IN
0x89679300...f3BaD71eF
0 CRO0.2360375,050
Set Approval For...129659822024-03-12 2:40:11275 days ago1710211211IN
0x89679300...f3BaD71eF
0 CRO0.4674701110,001.5
Set Approval For...123495542024-02-01 3:49:11315 days ago1706759351IN
0x89679300...f3BaD71eF
0 CRO0.4719337810,097
Set Approval For...121114222024-01-16 16:14:30331 days ago1705421670IN
0x89679300...f3BaD71eF
0 CRO0.47207410,100
Set Approval For...120839252024-01-14 21:20:02333 days ago1705267202IN
0x89679300...f3BaD71eF
0 CRO0.47207410,100
Set Approval For...118169042023-12-28 12:42:20350 days ago1703767340IN
0x89679300...f3BaD71eF
0 CRO0.4719337810,097
Set Approval For...118168592023-12-28 12:38:06350 days ago1703767086IN
0x89679300...f3BaD71eF
0 CRO0.4714098810,085.791262
Set Approval For...110550052023-11-08 23:23:31400 days ago1699485811IN
0x89679300...f3BaD71eF
0 CRO0.216242144,626.4900664
Set Approval For...109084232023-10-30 10:41:34409 days ago1698662494IN
0x89679300...f3BaD71eF
0 CRO0.115028984,633.03486219
Set Approval For...107450392023-10-19 18:30:31420 days ago1697740231IN
0x89679300...f3BaD71eF
0 CRO0.216891254,640.3776952
Set Approval For...103201742023-09-22 0:47:09448 days ago1695343629IN
0x89679300...f3BaD71eF
0 CRO0.217720834,658.1265288
Claim All Royalt...102427362023-09-16 23:33:40453 days ago1694907220IN
0x89679300...f3BaD71eF
0 CRO0.278738114,661.64015067
Claim All Royalt...102427302023-09-16 23:33:06453 days ago1694907186IN
0x89679300...f3BaD71eF
0 CRO0.516957274,661.6404186
Claim All Royalt...102427222023-09-16 23:32:21453 days ago1694907141IN
0x89679300...f3BaD71eF
0 CRO0.596671374,661.6408259
Claim All Royalt...102427202023-09-16 23:32:10453 days ago1694907130IN
0x89679300...f3BaD71eF
0 CRO0.596363714,661.640871
Claim All Royalt...102424142023-09-16 23:03:27453 days ago1694905407IN
0x89679300...f3BaD71eF
0 CRO0.318442294,661.65467494
Claim All Royalt...102424032023-09-16 23:02:25453 days ago1694905345IN
0x89679300...f3BaD71eF
0 CRO0.2787394,661.65513305
Claim All Royalt...102346352023-09-16 10:51:56453 days ago1694861516IN
0x89679300...f3BaD71eF
0 CRO0.318466314,662.00631961
Claim All Royalt...101615912023-09-11 16:32:15458 days ago1694449935IN
0x89679300...f3BaD71eF
0 CRO1.272733224,666.83005593
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
102427362023-09-16 23:33:40453 days ago1694907220
0x89679300...f3BaD71eF
6.96995744 CRO
102427302023-09-16 23:33:06453 days ago1694907186
0x89679300...f3BaD71eF
20.90987234 CRO
102427222023-09-16 23:32:21453 days ago1694907141
0x89679300...f3BaD71eF
31.3967234 CRO
102427202023-09-16 23:32:10453 days ago1694907130
0x89679300...f3BaD71eF
25.55651063 CRO
102424142023-09-16 23:03:27453 days ago1694905407
0x89679300...f3BaD71eF
13.14998581 CRO
102424032023-09-16 23:02:25453 days ago1694905345
0x89679300...f3BaD71eF
4.8893617 CRO
102346352023-09-16 10:51:56453 days ago1694861516
0x89679300...f3BaD71eF
8.3400851 CRO
101615912023-09-11 16:32:15458 days ago1694449935
0x89679300...f3BaD71eF
45.63404255 CRO
101511032023-09-11 0:08:39459 days ago1694390919
0x89679300...f3BaD71eF
2.32331914 CRO
100795242023-09-06 8:08:34463 days ago1693987714
0x89679300...f3BaD71eF
3.25957446 CRO
100439892023-09-04 0:31:15466 days ago1693787475
0x89679300...f3BaD71eF
18.27228368 CRO
100243882023-09-02 17:51:46467 days ago1693677106
0x89679300...f3BaD71eF
114.67617021 CRO
100156242023-09-02 4:09:16467 days ago1693627756
0x89679300...f3BaD71eF
6.51914893 CRO
100027522023-09-01 7:59:21468 days ago1693555161
0x89679300...f3BaD71eF
34.84978723 CRO
99981252023-09-01 0:44:14469 days ago1693529054
0x89679300...f3BaD71eF
12.81017021 CRO
99980632023-09-01 0:38:27469 days ago1693528707
0x89679300...f3BaD71eF
5.37012765 CRO
99959922023-08-31 21:23:40469 days ago1693517020
0x89679300...f3BaD71eF
45.46780141 CRO
99948452023-08-31 19:35:47469 days ago1693510547
0x89679300...f3BaD71eF
34.22553191 CRO
99946992023-08-31 19:22:08469 days ago1693509728
0x89679300...f3BaD71eF
2.08502127 CRO
99940762023-08-31 18:23:30469 days ago1693506210
0x89679300...f3BaD71eF
42.89594326 CRO
99898392023-08-31 11:44:47469 days ago1693482287
0x89679300...f3BaD71eF
80.49185815 CRO
99849492023-08-31 4:05:26469 days ago1693454726
0x89679300...f3BaD71eF
24.44680851 CRO
99837562023-08-31 2:13:26469 days ago1693448006
0x89679300...f3BaD71eF
26.07659574 CRO
99836552023-08-31 2:03:56470 days ago1693447436
0x89679300...f3BaD71eF
21.18723404 CRO
99558192023-08-29 6:29:27471 days ago1693290567
0x89679300...f3BaD71eF
18.02087943 CRO
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFT

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : CoreNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

contract NFT is Context, ERC721Enumerable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private currentTokenId;
    using SafeMath for uint256;

    // Events
    event Minted(
        address indexed sender,
        uint256 currentSupply,
        uint256 amount,
        uint256 time,
        uint256 devPrice,
        uint256 ownerAmount
    );
    // Add to whitelist
    event RoyaltiesClaimed(address indexed sender, uint256 amount);
    event RoyaltiesAdded(uint256 amount);

    // Royalties and mint
    uint256 public constant DEV_PERCENT = 15; // Max Mint
    uint256 public totalRoyalties = 0;
    mapping(uint256 => uint256) private claimedRoyalties;
    uint256 private currentRoyalties = 0;
    address devAddress;

    // Public Sale
    uint256 maxSupply = 705; // Max Supply
    uint256 publicPrice = 150 ether;
    uint256 public constant MAX_MINT = 5; // Max Mint
    uint256 public constant MAX_OWN = 33;
    uint256 public publicSaleStart;

    // Whitelist
    uint256 whitelistPrice = 125 ether;
    uint256 public whitelistSaleStart;
    uint256 public constant MAX_OWN_WL = 1;
    uint256 public constant MAX_WL_MINT = 1;
    mapping(address => bool) public whitelist;

    /// @dev Base token URI used as a prefix by tokenURI().
    string public baseTokenURI;

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

    // Mint info for launchpad
    struct MintInfo {
        bool isWhitelisted;
        uint256 minted;
        uint256 maxSupply;
    }

    constructor(
        string memory _baseTokenURI,
        uint256 _whitelistStart,
        uint256 _publicStart
    ) ERC721("Crotech Evolution", "CROTECHEVOLUTION") {
        baseTokenURI = _baseTokenURI;
        whitelistSaleStart = _whitelistStart;
        publicSaleStart = _publicStart;
        devAddress = msg.sender;
    }

    function mintToTransfer(address[] memory to) external payable onlyOwner {
        for (uint256 i = 0; i < to.length; i++) {
            require(currentTokenId.current() < maxSupply, "Max supply reached");
            currentTokenId.increment();
            _safeMint(to[i], currentTokenId.current());
        }
    }

    function mint(uint256 count) external payable callerIsUser {
        // Confirm still left to mint
        require(
            currentTokenId.current() + count <= maxSupply,
            "Max supply reached"
        );

        // Confirm wutelist have started
        require(
            block.timestamp >= whitelistSaleStart,
            "Sale has not started yet"
        );

        uint256 price = publicPrice;
        uint256 max_own_for_mint = MAX_OWN;
        uint256 max_mint = MAX_MINT;

        // Check if whitelist time
        if (isWhitelisted(msg.sender)) {
            if (block.timestamp < publicSaleStart) {
                max_own_for_mint = MAX_OWN_WL;
                max_mint = MAX_WL_MINT;
            }
            price = whitelistPrice;
        } else {
            // Confirm public sale have started
            require(
                block.timestamp >= publicSaleStart,
                "Sale has not started yet"
            );
        }

        // Confirm value sent is correct
        require(msg.value >= price * count, "Not enough CRO sent");

        // Confirm max mint
        require(count <= max_mint, "Maximum mint per transaction surpassed");

        // Confirm wallet does not own more than limit
        require(
            balanceOf(msg.sender) + count <= max_own_for_mint,
            "Max NFTs owned for current stage"
        );

        for (uint256 i = 0; i < count; i++) {
            currentTokenId.increment();
            uint256 newItemId = currentTokenId.current();
            _safeMint(msg.sender, newItemId);
            // Assign default 0 royalty
            claimedRoyalties[currentTokenId.current()] = currentRoyalties;
        }

        uint256 devPrice = price.mul(count).mul(DEV_PERCENT).div(100);
        uint256 ownerShare = price.mul(count).sub(devPrice);

        // Send dev percentage
        payable(devAddress).transfer(devPrice);

        // // send to owner
        payable(owner()).transfer(ownerShare);

        emit Minted(
            msg.sender,
            currentTokenId.current(),
            count,
            block.timestamp,
            devPrice,
            ownerShare
        );
    }

    /// @dev Returns an URI for a given token ID
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    /// @dev Sets the base token URI prefix.
    function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    // add to whitelist
    function addToWhitelist(address[] memory addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            whitelist[addresses[i]] = true;
        }
    }

    // verify whitelist
    function isWhitelisted(address _address) public view returns (bool) {
        return whitelist[_address];
    }

    // add royalties
    function addRewards() external payable {
        require(msg.value > 0, "Amount must be greater than 0");
        require(currentTokenId.current() > 0, "No NFTs minted yet");

        totalRoyalties = totalRoyalties + msg.value;
        currentRoyalties += (msg.value / currentTokenId.current());

        emit RoyaltiesAdded(msg.value);
    }

    // claim royalties
    function claimAllRoyalties() external {
        uint256 rewards = 0;

        uint256 count = balanceOf(_msgSender());
        for (uint256 i = 0; i < count; ) {
            uint256 tokenId = tokenOfOwnerByIndex(_msgSender(), i);
            unchecked {
                rewards += (getRewardsToken(tokenId));
                claimedRoyalties[tokenId] = currentRoyalties;
                ++i;
            }
        }

        payable(_msgSender()).transfer(rewards);

        emit RoyaltiesClaimed(_msgSender(), rewards);
    }

    // get royalties for token
    function getRewardsToken(uint256 id) public view returns (uint256 rewards) {
        rewards += currentRoyalties - claimedRoyalties[id];
    }

    // Get royalties for token
    function getRoyalties() external view returns (uint256) {
        uint256 balance = 0;

        uint256 count = balanceOf(_msgSender());
        for (uint256 i = 0; i < count; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(_msgSender(), i);
            balance += (getRewardsToken(tokenId));
        }
        return balance;
    }

    // withdraw balance
    function withdrawBalance() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function getMintInfo() external view returns (MintInfo memory) {
        return
            MintInfo(
                isWhitelisted(_msgSender()),
                currentTokenId.current(),
                maxSupply
            );
    }

    function updateWLTIme(uint256 _whitelistStart) public onlyOwner {
        whitelistSaleStart = _whitelistStart;
    }

    function updteStartTime(uint256 _publicStart) public onlyOwner {
        publicSaleStart = _publicStart;
    }
}

File 2 of 15 : 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;
    }
}

File 3 of 15 : 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 4 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 5 of 15 : 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 6 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 8 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 functionCall(target, data, "Address: low-level call failed");
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 11 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"uint256","name":"_whitelistStart","type":"uint256"},{"internalType":"uint256","name":"_publicStart","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"currentSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"devPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ownerAmount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltiesAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltiesClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEV_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_OWN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_OWN_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAllRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintInfo","outputs":[{"components":[{"internalType":"bool","name":"isWhitelisted","type":"bool"},{"internalType":"uint256","name":"minted","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"internalType":"struct NFT.MintInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRewardsToken","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"mintToTransfer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistStart","type":"uint256"}],"name":"updateWLTIme","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicStart","type":"uint256"}],"name":"updteStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c556000600e556102c1601055680821ab0d44149800006011556806c6b935b8bbd400006013553480156200003b57600080fd5b5060405162004e8c38038062004e8c833981810160405281019062000061919062000399565b6040518060400160405280601181526020017f43726f746563682045766f6c7574696f6e0000000000000000000000000000008152506040518060400160405280601081526020017f43524f5445434845564f4c5554494f4e000000000000000000000000000000008152508160009080519060200190620000e592919062000260565b508060019080519060200190620000fe92919062000260565b50505062000121620001156200019260201b60201c565b6200019a60201b60201c565b82601690805190602001906200013992919062000260565b50816014819055508060128190555033600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200059c565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200026e90620004a7565b90600052602060002090601f016020900481019282620002925760008555620002de565b82601f10620002ad57805160ff1916838001178555620002de565b82800160010185558215620002de579182015b82811115620002dd578251825591602001919060010190620002c0565b5b509050620002ed9190620002f1565b5090565b5b808211156200030c576000816000905550600101620002f2565b5090565b600062000327620003218462000431565b62000408565b9050828152602081018484840111156200034057600080fd5b6200034d84828562000471565b509392505050565b600082601f8301126200036757600080fd5b81516200037984826020860162000310565b91505092915050565b600081519050620003938162000582565b92915050565b600080600060608486031215620003af57600080fd5b600084015167ffffffffffffffff811115620003ca57600080fd5b620003d88682870162000355565b9350506020620003eb8682870162000382565b9250506040620003fe8682870162000382565b9150509250925092565b60006200041462000427565b9050620004228282620004dd565b919050565b6000604051905090565b600067ffffffffffffffff8211156200044f576200044e62000542565b5b6200045a8262000571565b9050602081019050919050565b6000819050919050565b60005b838110156200049157808201518184015260208101905062000474565b83811115620004a1576000848401525b50505050565b60006002820490506001821680620004c057607f821691505b60208210811415620004d757620004d662000513565b5b50919050565b620004e88262000571565b810181811067ffffffffffffffff821117156200050a576200050962000542565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200058d8162000467565b81146200059957600080fd5b50565b6148e080620005ac6000396000f3fe6080604052600436106102515760003560e01c80636352211e116101395780639b19251a116100b6578063c87b56dd1161007a578063c87b56dd14610877578063d0520c23146108b4578063d547cfb7146108df578063e985e9c51461090a578063f0292a0314610947578063f2fde38b1461097257610251565b80639b19251a146107a15780639fa719b5146107de578063a0712d6814610809578063a22cb46514610825578063b88d4fde1461084e57610251565b8063853282e3116100fd578063853282e3146106db57806386d02608146106f75780638da5cb5b14610722578063928539e01461074d57806395d89b411461077657610251565b80636352211e146105f857806370a0823114610635578063715018a61461067257806376e426b0146106895780637f649783146106b257610251565b80632f745c59116101d25780633cd972ac116101965780633cd972ac146104fc57806342842e0e1461053957806349cbe1b3146105625780634f6ccce71461058d578063547eafd0146105ca5780635fd8c710146105e157610251565b80632f745c591461040357806330176e13146104405780633360caa01461046957806333df048e146104945780633af32abf146104bf57610251565b8063095ea7b311610219578063095ea7b31461035157806314d6aed01461037a57806318160ddd1461038457806323b872dd146103af57806327532d27146103d857610251565b80630109c52e1461025657806301ffc9a714610281578063056b33d1146102be57806306fdde03146102e9578063081812fc14610314575b600080fd5b34801561026257600080fd5b5061026b61099b565b6040516102789190613e24565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190613550565b6109a0565b6040516102b59190613aec565b60405180910390f35b3480156102ca57600080fd5b506102d3610a1a565b6040516102e09190613e24565b60405180910390f35b3480156102f557600080fd5b506102fe610a1f565b60405161030b9190613b07565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906135e3565b610ab1565b6040516103489190613a85565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906134d3565b610af7565b005b610382610c0f565b005b34801561039057600080fd5b50610399610d18565b6040516103a69190613e24565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d191906133cd565b610d25565b005b3480156103e457600080fd5b506103ed610d85565b6040516103fa9190613e24565b60405180910390f35b34801561040f57600080fd5b5061042a600480360381019061042591906134d3565b610d8a565b6040516104379190613e24565b60405180910390f35b34801561044c57600080fd5b50610467600480360381019061046291906135a2565b610e2f565b005b34801561047557600080fd5b5061047e610e51565b60405161048b9190613e24565b60405180910390f35b3480156104a057600080fd5b506104a9610e57565b6040516104b69190613e24565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190613368565b610ec5565b6040516104f39190613aec565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e91906135e3565b610f1b565b6040516105309190613e24565b60405180910390f35b34801561054557600080fd5b50610560600480360381019061055b91906133cd565b610f50565b005b34801561056e57600080fd5b50610577610f70565b6040516105849190613e24565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af91906135e3565b610f75565b6040516105c19190613e24565b60405180910390f35b3480156105d657600080fd5b506105df61100c565b005b3480156105ed57600080fd5b506105f661111c565b005b34801561060457600080fd5b5061061f600480360381019061061a91906135e3565b61116d565b60405161062c9190613a85565b60405180910390f35b34801561064157600080fd5b5061065c60048036038101906106579190613368565b61121f565b6040516106699190613e24565b60405180910390f35b34801561067e57600080fd5b506106876112d7565b005b34801561069557600080fd5b506106b060048036038101906106ab91906135e3565b6112eb565b005b3480156106be57600080fd5b506106d960048036038101906106d4919061350f565b6112fd565b005b6106f560048036038101906106f0919061350f565b6113c0565b005b34801561070357600080fd5b5061070c611495565b6040516107199190613e24565b60405180910390f35b34801561072e57600080fd5b5061073761149b565b6040516107449190613a85565b60405180910390f35b34801561075957600080fd5b50610774600480360381019061076f91906135e3565b6114c5565b005b34801561078257600080fd5b5061078b6114d7565b6040516107989190613b07565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c39190613368565b611569565b6040516107d59190613aec565b60405180910390f35b3480156107ea57600080fd5b506107f3611589565b6040516108009190613e24565b60405180910390f35b610823600480360381019061081e91906135e3565b61158f565b005b34801561083157600080fd5b5061084c60048036038101906108479190613497565b6119ef565b005b34801561085a57600080fd5b506108756004803603810190610870919061341c565b611a05565b005b34801561088357600080fd5b5061089e600480360381019061089991906135e3565b611a67565b6040516108ab9190613b07565b60405180910390f35b3480156108c057600080fd5b506108c9611acf565b6040516108d69190613e09565b60405180910390f35b3480156108eb57600080fd5b506108f4611b13565b6040516109019190613b07565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c9190613391565b611ba1565b60405161093e9190613aec565b60405180910390f35b34801561095357600080fd5b5061095c611c35565b6040516109699190613e24565b60405180910390f35b34801561097e57600080fd5b5061099960048036038101906109949190613368565b611c3a565b005b600181565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a135750610a1282611cbe565b5b9050919050565b600181565b606060008054610a2e90614153565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5a90614153565b8015610aa75780601f10610a7c57610100808354040283529160200191610aa7565b820191906000526020600020905b815481529060010190602001808311610a8a57829003601f168201915b5050505050905090565b6000610abc82611da0565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b028261116d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a90613d69565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b92611deb565b73ffffffffffffffffffffffffffffffffffffffff161480610bc15750610bc081610bbb611deb565b611ba1565b5b610c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf790613ce9565b60405180910390fd5b610c0a8383611df3565b505050565b60003411610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990613be9565b60405180910390fd5b6000610c5e600b611eac565b11610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590613c69565b60405180910390fd5b34600c54610cac9190613f88565b600c81905550610cbc600b611eac565b34610cc79190613fde565b600e6000828254610cd89190613f88565b925050819055507f5a02b40077e797196e633f9dd9c358d21e6c6fce881c924fac5d583fc4359f9734604051610d0e9190613e24565b60405180910390a1565b6000600880549050905090565b610d36610d30611deb565b82611eba565b610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90613dc9565b60405180910390fd5b610d80838383611f4f565b505050565b600f81565b6000610d958361121f565b8210610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd90613b49565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e376121b6565b8060169080519060200190610e4d9291906130d3565b5050565b60125481565b600080600090506000610e70610e6b611deb565b61121f565b905060005b81811015610ebc576000610e90610e8a611deb565b83610d8a565b9050610e9b81610f1b565b84610ea69190613f88565b9350508080610eb4906141b6565b915050610e75565b50819250505090565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600d600083815260200190815260200160002054600e54610f3e9190614069565b81610f499190613f88565b9050919050565b610f6b83838360405180602001604052806000815250611a05565b505050565b602181565b6000610f7f610d18565b8210610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790613da9565b60405180910390fd5b60088281548110610ffa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60008061101f61101a611deb565b61121f565b905060005b8181101561107457600061103f611039611deb565b83610d8a565b905061104a81610f1b565b84019350600e54600d60008381526020019081526020016000208190555081600101915050611024565b5061107d611deb565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156110c2573d6000803e3d6000fd5b506110cb611deb565b73ffffffffffffffffffffffffffffffffffffffff167f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e39888836040516111109190613e24565b60405180910390a25050565b6111246121b6565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561116a573d6000803e3d6000fd5b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90613d49565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790613cc9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112df6121b6565b6112e96000612234565b565b6112f36121b6565b8060148190555050565b6113056121b6565b60005b81518110156113bc57600160156000848481518110611350577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806113b4906141b6565b915050611308565b5050565b6113c86121b6565b60005b8151811015611491576010546113e1600b611eac565b10611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141890613d89565b60405180910390fd5b61142b600b6122fa565b61147e828281518110611467577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611479600b611eac565b612310565b8080611489906141b6565b9150506113cb565b5050565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114cd6121b6565b8060128190555050565b6060600180546114e690614153565b80601f016020809104026020016040519081016040528092919081815260200182805461151290614153565b801561155f5780601f106115345761010080835404028352916020019161155f565b820191906000526020600020905b81548152906001019060200180831161154257829003601f168201915b5050505050905090565b60156020528060005260406000206000915054906101000a900460ff1681565b60145481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490613ca9565b60405180910390fd5b6010548161160b600b611eac565b6116159190613f88565b1115611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90613d89565b60405180910390fd5b60145442101561169b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169290613b29565b60405180910390fd5b600060115490506000602190506000600590506116b733610ec5565b156116d9576012544210156116cf5760019150600190505b601354925061171f565b60125442101561171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171590613b29565b60405180910390fd5b5b838361172b919061400f565b34101561176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490613c49565b60405180910390fd5b808411156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a790613de9565b60405180910390fd5b81846117bb3361121f565b6117c59190613f88565b1115611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90613c89565b60405180910390fd5b60005b8481101561186a5761181b600b6122fa565b6000611827600b611eac565b90506118333382612310565b600e54600d6000611844600b611eac565b815260200190815260200160002081905550508080611862906141b6565b915050611809565b5060006118a66064611898600f61188a898961232e90919063ffffffff16565b61232e90919063ffffffff16565b61234490919063ffffffff16565b905060006118cf826118c1888861232e90919063ffffffff16565b61235a90919063ffffffff16565b9050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611939573d6000803e3d6000fd5b5061194261149b565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611987573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f9045b28c8427bc83571801c0916c82f9ec27d9233ce8c25ac55e60cdf1ba30086119ca600b611eac565b884286866040516119df959493929190613e3f565b60405180910390a2505050505050565b611a016119fa611deb565b8383612370565b5050565b611a16611a10611deb565b83611eba565b611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c90613dc9565b60405180910390fd5b611a61848484846124dd565b50505050565b6060611a7282611da0565b6000611a7c612539565b90506000815111611a9c5760405180602001604052806000815250611ac7565b80611aa6846125cb565b604051602001611ab7929190613a61565b6040516020818303038152906040525b915050919050565b611ad7613159565b6040518060600160405280611af2611aed611deb565b610ec5565b15158152602001611b03600b611eac565b8152602001601054815250905090565b60168054611b2090614153565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4c90614153565b8015611b995780601f10611b6e57610100808354040283529160200191611b99565b820191906000526020600020905b815481529060010190602001808311611b7c57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600581565b611c426121b6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990613b89565b60405180910390fd5b611cbb81612234565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d8957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d995750611d9882612778565b5b9050919050565b611da9816127e2565b611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613d49565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e668361116d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080611ec68361116d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f085750611f078185611ba1565b5b80611f4657508373ffffffffffffffffffffffffffffffffffffffff16611f2e84610ab1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f6f8261116d565b73ffffffffffffffffffffffffffffffffffffffff1614611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc90613ba9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202c90613c09565b60405180910390fd5b61204083838361284e565b61204b600082611df3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209b9190614069565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f29190613f88565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121b1838383612962565b505050565b6121be611deb565b73ffffffffffffffffffffffffffffffffffffffff166121dc61149b565b73ffffffffffffffffffffffffffffffffffffffff1614612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990613d29565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b61232a828260405180602001604052806000815250612967565b5050565b6000818361233c919061400f565b905092915050565b600081836123529190613fde565b905092915050565b600081836123689190614069565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690613c29565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124d09190613aec565b60405180910390a3505050565b6124e8848484611f4f565b6124f4848484846129c2565b612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a90613b69565b60405180910390fd5b50505050565b60606016805461254890614153565b80601f016020809104026020016040519081016040528092919081815260200182805461257490614153565b80156125c15780601f10612596576101008083540402835291602001916125c1565b820191906000526020600020905b8154815290600101906020018083116125a457829003601f168201915b5050505050905090565b60606000821415612613576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612773565b600082905060005b6000821461264557808061262e906141b6565b915050600a8261263e9190613fde565b915061261b565b60008167ffffffffffffffff811115612687577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126b95781602001600182028036833780820191505090505b5090505b6000851461276c576001826126d29190614069565b9150600a856126e191906141ff565b60306126ed9190613f88565b60f81b818381518110612729577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127659190613fde565b94506126bd565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612859838383612b59565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561289c5761289781612b5e565b6128db565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128da576128d98382612ba7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561291e5761291981612d14565b61295d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461295c5761295b8282612e57565b5b5b505050565b505050565b6129718383612ed6565b61297e60008484846129c2565b6129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b490613b69565b60405180910390fd5b505050565b60006129e38473ffffffffffffffffffffffffffffffffffffffff166130b0565b15612b4c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a0c611deb565b8786866040518563ffffffff1660e01b8152600401612a2e9493929190613aa0565b602060405180830381600087803b158015612a4857600080fd5b505af1925050508015612a7957506040513d601f19601f82011682018060405250810190612a769190613579565b60015b612afc573d8060008114612aa9576040519150601f19603f3d011682016040523d82523d6000602084013e612aae565b606091505b50600081511415612af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aeb90613b69565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b51565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bb48461121f565b612bbe9190614069565b9050600060076000848152602001908152602001600020549050818114612ca3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d289190614069565b9050600060096000848152602001908152602001600020549050600060088381548110612d7e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612dc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612e628361121f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90613d09565b60405180910390fd5b612f4f816127e2565b15612f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8690613bc9565b60405180910390fd5b612f9b6000838361284e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612feb9190613f88565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130ac60008383612962565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546130df90614153565b90600052602060002090601f0160209004810192826131015760008555613148565b82601f1061311a57805160ff1916838001178555613148565b82800160010185558215613148579182015b8281111561314757825182559160200191906001019061312c565b5b509050613155919061317c565b5090565b604051806060016040528060001515815260200160008152602001600081525090565b5b8082111561319557600081600090555060010161317d565b5090565b60006131ac6131a784613eb7565b613e92565b905080838252602082019050828560208602820111156131cb57600080fd5b60005b858110156131fb57816131e18882613281565b8452602084019350602083019250506001810190506131ce565b5050509392505050565b600061321861321384613ee3565b613e92565b90508281526020810184848401111561323057600080fd5b61323b848285614111565b509392505050565b600061325661325184613f14565b613e92565b90508281526020810184848401111561326e57600080fd5b613279848285614111565b509392505050565b6000813590506132908161484e565b92915050565b600082601f8301126132a757600080fd5b81356132b7848260208601613199565b91505092915050565b6000813590506132cf81614865565b92915050565b6000813590506132e48161487c565b92915050565b6000815190506132f98161487c565b92915050565b600082601f83011261331057600080fd5b8135613320848260208601613205565b91505092915050565b600082601f83011261333a57600080fd5b813561334a848260208601613243565b91505092915050565b60008135905061336281614893565b92915050565b60006020828403121561337a57600080fd5b600061338884828501613281565b91505092915050565b600080604083850312156133a457600080fd5b60006133b285828601613281565b92505060206133c385828601613281565b9150509250929050565b6000806000606084860312156133e257600080fd5b60006133f086828701613281565b935050602061340186828701613281565b925050604061341286828701613353565b9150509250925092565b6000806000806080858703121561343257600080fd5b600061344087828801613281565b945050602061345187828801613281565b935050604061346287828801613353565b925050606085013567ffffffffffffffff81111561347f57600080fd5b61348b878288016132ff565b91505092959194509250565b600080604083850312156134aa57600080fd5b60006134b885828601613281565b92505060206134c9858286016132c0565b9150509250929050565b600080604083850312156134e657600080fd5b60006134f485828601613281565b925050602061350585828601613353565b9150509250929050565b60006020828403121561352157600080fd5b600082013567ffffffffffffffff81111561353b57600080fd5b61354784828501613296565b91505092915050565b60006020828403121561356257600080fd5b6000613570848285016132d5565b91505092915050565b60006020828403121561358b57600080fd5b6000613599848285016132ea565b91505092915050565b6000602082840312156135b457600080fd5b600082013567ffffffffffffffff8111156135ce57600080fd5b6135da84828501613329565b91505092915050565b6000602082840312156135f557600080fd5b600061360384828501613353565b91505092915050565b6136158161409d565b82525050565b613624816140af565b82525050565b613633816140af565b82525050565b600061364482613f45565b61364e8185613f5b565b935061365e818560208601614120565b613667816142ec565b840191505092915050565b600061367d82613f50565b6136878185613f6c565b9350613697818560208601614120565b6136a0816142ec565b840191505092915050565b60006136b682613f50565b6136c08185613f7d565b93506136d0818560208601614120565b80840191505092915050565b60006136e9601883613f6c565b91506136f4826142fd565b602082019050919050565b600061370c602b83613f6c565b915061371782614326565b604082019050919050565b600061372f603283613f6c565b915061373a82614375565b604082019050919050565b6000613752602683613f6c565b915061375d826143c4565b604082019050919050565b6000613775602583613f6c565b915061378082614413565b604082019050919050565b6000613798601c83613f6c565b91506137a382614462565b602082019050919050565b60006137bb601d83613f6c565b91506137c68261448b565b602082019050919050565b60006137de602483613f6c565b91506137e9826144b4565b604082019050919050565b6000613801601983613f6c565b915061380c82614503565b602082019050919050565b6000613824601383613f6c565b915061382f8261452c565b602082019050919050565b6000613847601283613f6c565b915061385282614555565b602082019050919050565b600061386a602083613f6c565b91506138758261457e565b602082019050919050565b600061388d601e83613f6c565b9150613898826145a7565b602082019050919050565b60006138b0602983613f6c565b91506138bb826145d0565b604082019050919050565b60006138d3603e83613f6c565b91506138de8261461f565b604082019050919050565b60006138f6602083613f6c565b91506139018261466e565b602082019050919050565b6000613919602083613f6c565b915061392482614697565b602082019050919050565b600061393c601883613f6c565b9150613947826146c0565b602082019050919050565b600061395f602183613f6c565b915061396a826146e9565b604082019050919050565b6000613982601283613f6c565b915061398d82614738565b602082019050919050565b60006139a5602c83613f6c565b91506139b082614761565b604082019050919050565b60006139c8602e83613f6c565b91506139d3826147b0565b604082019050919050565b60006139eb602683613f6c565b91506139f6826147ff565b604082019050919050565b606082016000820151613a17600085018261361b565b506020820151613a2a6020850182613a43565b506040820151613a3d6040850182613a43565b50505050565b613a4c81614107565b82525050565b613a5b81614107565b82525050565b6000613a6d82856136ab565b9150613a7982846136ab565b91508190509392505050565b6000602082019050613a9a600083018461360c565b92915050565b6000608082019050613ab5600083018761360c565b613ac2602083018661360c565b613acf6040830185613a52565b8181036060830152613ae18184613639565b905095945050505050565b6000602082019050613b01600083018461362a565b92915050565b60006020820190508181036000830152613b218184613672565b905092915050565b60006020820190508181036000830152613b42816136dc565b9050919050565b60006020820190508181036000830152613b62816136ff565b9050919050565b60006020820190508181036000830152613b8281613722565b9050919050565b60006020820190508181036000830152613ba281613745565b9050919050565b60006020820190508181036000830152613bc281613768565b9050919050565b60006020820190508181036000830152613be28161378b565b9050919050565b60006020820190508181036000830152613c02816137ae565b9050919050565b60006020820190508181036000830152613c22816137d1565b9050919050565b60006020820190508181036000830152613c42816137f4565b9050919050565b60006020820190508181036000830152613c6281613817565b9050919050565b60006020820190508181036000830152613c828161383a565b9050919050565b60006020820190508181036000830152613ca28161385d565b9050919050565b60006020820190508181036000830152613cc281613880565b9050919050565b60006020820190508181036000830152613ce2816138a3565b9050919050565b60006020820190508181036000830152613d02816138c6565b9050919050565b60006020820190508181036000830152613d22816138e9565b9050919050565b60006020820190508181036000830152613d428161390c565b9050919050565b60006020820190508181036000830152613d628161392f565b9050919050565b60006020820190508181036000830152613d8281613952565b9050919050565b60006020820190508181036000830152613da281613975565b9050919050565b60006020820190508181036000830152613dc281613998565b9050919050565b60006020820190508181036000830152613de2816139bb565b9050919050565b60006020820190508181036000830152613e02816139de565b9050919050565b6000606082019050613e1e6000830184613a01565b92915050565b6000602082019050613e396000830184613a52565b92915050565b600060a082019050613e546000830188613a52565b613e616020830187613a52565b613e6e6040830186613a52565b613e7b6060830185613a52565b613e886080830184613a52565b9695505050505050565b6000613e9c613ead565b9050613ea88282614185565b919050565b6000604051905090565b600067ffffffffffffffff821115613ed257613ed16142bd565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613efe57613efd6142bd565b5b613f07826142ec565b9050602081019050919050565b600067ffffffffffffffff821115613f2f57613f2e6142bd565b5b613f38826142ec565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f9382614107565b9150613f9e83614107565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613fd357613fd2614230565b5b828201905092915050565b6000613fe982614107565b9150613ff483614107565b9250826140045761400361425f565b5b828204905092915050565b600061401a82614107565b915061402583614107565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561405e5761405d614230565b5b828202905092915050565b600061407482614107565b915061407f83614107565b92508282101561409257614091614230565b5b828203905092915050565b60006140a8826140e7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561413e578082015181840152602081019050614123565b8381111561414d576000848401525b50505050565b6000600282049050600182168061416b57607f821691505b6020821081141561417f5761417e61428e565b5b50919050565b61418e826142ec565b810181811067ffffffffffffffff821117156141ad576141ac6142bd565b5b80604052505050565b60006141c182614107565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141f4576141f3614230565b5b600182019050919050565b600061420a82614107565b915061421583614107565b9250826142255761422461425f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420656e6f7567682043524f2073656e7400000000000000000000000000600082015250565b7f4e6f204e465473206d696e746564207965740000000000000000000000000000600082015250565b7f4d6178204e465473206f776e656420666f722063757272656e74207374616765600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f4d6178696d756d206d696e7420706572207472616e73616374696f6e2073757260008201527f7061737365640000000000000000000000000000000000000000000000000000602082015250565b6148578161409d565b811461486257600080fd5b50565b61486e816140af565b811461487957600080fd5b50565b614885816140bb565b811461489057600080fd5b50565b61489c81614107565b81146148a757600080fd5b5056fea26469706673582212207e7bb48aca3257430974497ace45fab9cc1ce0ea839acf909a8158b5152a073364736f6c63430008010033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000638a442800000000000000000000000000000000000000000000000000000000638a4b30000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f746865646567656e6572617465642e6d7970696e6174612e636c6f75642f697066732f516d6659524e3734695571776d684a5877313972313572384839506861714d6135797a466f4d41706a684c534d652f000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c80636352211e116101395780639b19251a116100b6578063c87b56dd1161007a578063c87b56dd14610877578063d0520c23146108b4578063d547cfb7146108df578063e985e9c51461090a578063f0292a0314610947578063f2fde38b1461097257610251565b80639b19251a146107a15780639fa719b5146107de578063a0712d6814610809578063a22cb46514610825578063b88d4fde1461084e57610251565b8063853282e3116100fd578063853282e3146106db57806386d02608146106f75780638da5cb5b14610722578063928539e01461074d57806395d89b411461077657610251565b80636352211e146105f857806370a0823114610635578063715018a61461067257806376e426b0146106895780637f649783146106b257610251565b80632f745c59116101d25780633cd972ac116101965780633cd972ac146104fc57806342842e0e1461053957806349cbe1b3146105625780634f6ccce71461058d578063547eafd0146105ca5780635fd8c710146105e157610251565b80632f745c591461040357806330176e13146104405780633360caa01461046957806333df048e146104945780633af32abf146104bf57610251565b8063095ea7b311610219578063095ea7b31461035157806314d6aed01461037a57806318160ddd1461038457806323b872dd146103af57806327532d27146103d857610251565b80630109c52e1461025657806301ffc9a714610281578063056b33d1146102be57806306fdde03146102e9578063081812fc14610314575b600080fd5b34801561026257600080fd5b5061026b61099b565b6040516102789190613e24565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190613550565b6109a0565b6040516102b59190613aec565b60405180910390f35b3480156102ca57600080fd5b506102d3610a1a565b6040516102e09190613e24565b60405180910390f35b3480156102f557600080fd5b506102fe610a1f565b60405161030b9190613b07565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906135e3565b610ab1565b6040516103489190613a85565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906134d3565b610af7565b005b610382610c0f565b005b34801561039057600080fd5b50610399610d18565b6040516103a69190613e24565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d191906133cd565b610d25565b005b3480156103e457600080fd5b506103ed610d85565b6040516103fa9190613e24565b60405180910390f35b34801561040f57600080fd5b5061042a600480360381019061042591906134d3565b610d8a565b6040516104379190613e24565b60405180910390f35b34801561044c57600080fd5b50610467600480360381019061046291906135a2565b610e2f565b005b34801561047557600080fd5b5061047e610e51565b60405161048b9190613e24565b60405180910390f35b3480156104a057600080fd5b506104a9610e57565b6040516104b69190613e24565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190613368565b610ec5565b6040516104f39190613aec565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e91906135e3565b610f1b565b6040516105309190613e24565b60405180910390f35b34801561054557600080fd5b50610560600480360381019061055b91906133cd565b610f50565b005b34801561056e57600080fd5b50610577610f70565b6040516105849190613e24565b60405180910390f35b34801561059957600080fd5b506105b460048036038101906105af91906135e3565b610f75565b6040516105c19190613e24565b60405180910390f35b3480156105d657600080fd5b506105df61100c565b005b3480156105ed57600080fd5b506105f661111c565b005b34801561060457600080fd5b5061061f600480360381019061061a91906135e3565b61116d565b60405161062c9190613a85565b60405180910390f35b34801561064157600080fd5b5061065c60048036038101906106579190613368565b61121f565b6040516106699190613e24565b60405180910390f35b34801561067e57600080fd5b506106876112d7565b005b34801561069557600080fd5b506106b060048036038101906106ab91906135e3565b6112eb565b005b3480156106be57600080fd5b506106d960048036038101906106d4919061350f565b6112fd565b005b6106f560048036038101906106f0919061350f565b6113c0565b005b34801561070357600080fd5b5061070c611495565b6040516107199190613e24565b60405180910390f35b34801561072e57600080fd5b5061073761149b565b6040516107449190613a85565b60405180910390f35b34801561075957600080fd5b50610774600480360381019061076f91906135e3565b6114c5565b005b34801561078257600080fd5b5061078b6114d7565b6040516107989190613b07565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c39190613368565b611569565b6040516107d59190613aec565b60405180910390f35b3480156107ea57600080fd5b506107f3611589565b6040516108009190613e24565b60405180910390f35b610823600480360381019061081e91906135e3565b61158f565b005b34801561083157600080fd5b5061084c60048036038101906108479190613497565b6119ef565b005b34801561085a57600080fd5b506108756004803603810190610870919061341c565b611a05565b005b34801561088357600080fd5b5061089e600480360381019061089991906135e3565b611a67565b6040516108ab9190613b07565b60405180910390f35b3480156108c057600080fd5b506108c9611acf565b6040516108d69190613e09565b60405180910390f35b3480156108eb57600080fd5b506108f4611b13565b6040516109019190613b07565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c9190613391565b611ba1565b60405161093e9190613aec565b60405180910390f35b34801561095357600080fd5b5061095c611c35565b6040516109699190613e24565b60405180910390f35b34801561097e57600080fd5b5061099960048036038101906109949190613368565b611c3a565b005b600181565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a135750610a1282611cbe565b5b9050919050565b600181565b606060008054610a2e90614153565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5a90614153565b8015610aa75780601f10610a7c57610100808354040283529160200191610aa7565b820191906000526020600020905b815481529060010190602001808311610a8a57829003601f168201915b5050505050905090565b6000610abc82611da0565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b028261116d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a90613d69565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b92611deb565b73ffffffffffffffffffffffffffffffffffffffff161480610bc15750610bc081610bbb611deb565b611ba1565b5b610c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf790613ce9565b60405180910390fd5b610c0a8383611df3565b505050565b60003411610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990613be9565b60405180910390fd5b6000610c5e600b611eac565b11610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590613c69565b60405180910390fd5b34600c54610cac9190613f88565b600c81905550610cbc600b611eac565b34610cc79190613fde565b600e6000828254610cd89190613f88565b925050819055507f5a02b40077e797196e633f9dd9c358d21e6c6fce881c924fac5d583fc4359f9734604051610d0e9190613e24565b60405180910390a1565b6000600880549050905090565b610d36610d30611deb565b82611eba565b610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90613dc9565b60405180910390fd5b610d80838383611f4f565b505050565b600f81565b6000610d958361121f565b8210610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd90613b49565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e376121b6565b8060169080519060200190610e4d9291906130d3565b5050565b60125481565b600080600090506000610e70610e6b611deb565b61121f565b905060005b81811015610ebc576000610e90610e8a611deb565b83610d8a565b9050610e9b81610f1b565b84610ea69190613f88565b9350508080610eb4906141b6565b915050610e75565b50819250505090565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600d600083815260200190815260200160002054600e54610f3e9190614069565b81610f499190613f88565b9050919050565b610f6b83838360405180602001604052806000815250611a05565b505050565b602181565b6000610f7f610d18565b8210610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790613da9565b60405180910390fd5b60088281548110610ffa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60008061101f61101a611deb565b61121f565b905060005b8181101561107457600061103f611039611deb565b83610d8a565b905061104a81610f1b565b84019350600e54600d60008381526020019081526020016000208190555081600101915050611024565b5061107d611deb565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156110c2573d6000803e3d6000fd5b506110cb611deb565b73ffffffffffffffffffffffffffffffffffffffff167f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e39888836040516111109190613e24565b60405180910390a25050565b6111246121b6565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561116a573d6000803e3d6000fd5b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90613d49565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790613cc9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112df6121b6565b6112e96000612234565b565b6112f36121b6565b8060148190555050565b6113056121b6565b60005b81518110156113bc57600160156000848481518110611350577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806113b4906141b6565b915050611308565b5050565b6113c86121b6565b60005b8151811015611491576010546113e1600b611eac565b10611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141890613d89565b60405180910390fd5b61142b600b6122fa565b61147e828281518110611467577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611479600b611eac565b612310565b8080611489906141b6565b9150506113cb565b5050565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114cd6121b6565b8060128190555050565b6060600180546114e690614153565b80601f016020809104026020016040519081016040528092919081815260200182805461151290614153565b801561155f5780601f106115345761010080835404028352916020019161155f565b820191906000526020600020905b81548152906001019060200180831161154257829003601f168201915b5050505050905090565b60156020528060005260406000206000915054906101000a900460ff1681565b60145481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490613ca9565b60405180910390fd5b6010548161160b600b611eac565b6116159190613f88565b1115611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90613d89565b60405180910390fd5b60145442101561169b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169290613b29565b60405180910390fd5b600060115490506000602190506000600590506116b733610ec5565b156116d9576012544210156116cf5760019150600190505b601354925061171f565b60125442101561171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171590613b29565b60405180910390fd5b5b838361172b919061400f565b34101561176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490613c49565b60405180910390fd5b808411156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a790613de9565b60405180910390fd5b81846117bb3361121f565b6117c59190613f88565b1115611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90613c89565b60405180910390fd5b60005b8481101561186a5761181b600b6122fa565b6000611827600b611eac565b90506118333382612310565b600e54600d6000611844600b611eac565b815260200190815260200160002081905550508080611862906141b6565b915050611809565b5060006118a66064611898600f61188a898961232e90919063ffffffff16565b61232e90919063ffffffff16565b61234490919063ffffffff16565b905060006118cf826118c1888861232e90919063ffffffff16565b61235a90919063ffffffff16565b9050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611939573d6000803e3d6000fd5b5061194261149b565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611987573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f9045b28c8427bc83571801c0916c82f9ec27d9233ce8c25ac55e60cdf1ba30086119ca600b611eac565b884286866040516119df959493929190613e3f565b60405180910390a2505050505050565b611a016119fa611deb565b8383612370565b5050565b611a16611a10611deb565b83611eba565b611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c90613dc9565b60405180910390fd5b611a61848484846124dd565b50505050565b6060611a7282611da0565b6000611a7c612539565b90506000815111611a9c5760405180602001604052806000815250611ac7565b80611aa6846125cb565b604051602001611ab7929190613a61565b6040516020818303038152906040525b915050919050565b611ad7613159565b6040518060600160405280611af2611aed611deb565b610ec5565b15158152602001611b03600b611eac565b8152602001601054815250905090565b60168054611b2090614153565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4c90614153565b8015611b995780601f10611b6e57610100808354040283529160200191611b99565b820191906000526020600020905b815481529060010190602001808311611b7c57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600581565b611c426121b6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990613b89565b60405180910390fd5b611cbb81612234565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d8957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d995750611d9882612778565b5b9050919050565b611da9816127e2565b611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613d49565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e668361116d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080611ec68361116d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f085750611f078185611ba1565b5b80611f4657508373ffffffffffffffffffffffffffffffffffffffff16611f2e84610ab1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f6f8261116d565b73ffffffffffffffffffffffffffffffffffffffff1614611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc90613ba9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202c90613c09565b60405180910390fd5b61204083838361284e565b61204b600082611df3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209b9190614069565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f29190613f88565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121b1838383612962565b505050565b6121be611deb565b73ffffffffffffffffffffffffffffffffffffffff166121dc61149b565b73ffffffffffffffffffffffffffffffffffffffff1614612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990613d29565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b61232a828260405180602001604052806000815250612967565b5050565b6000818361233c919061400f565b905092915050565b600081836123529190613fde565b905092915050565b600081836123689190614069565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690613c29565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124d09190613aec565b60405180910390a3505050565b6124e8848484611f4f565b6124f4848484846129c2565b612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a90613b69565b60405180910390fd5b50505050565b60606016805461254890614153565b80601f016020809104026020016040519081016040528092919081815260200182805461257490614153565b80156125c15780601f10612596576101008083540402835291602001916125c1565b820191906000526020600020905b8154815290600101906020018083116125a457829003601f168201915b5050505050905090565b60606000821415612613576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612773565b600082905060005b6000821461264557808061262e906141b6565b915050600a8261263e9190613fde565b915061261b565b60008167ffffffffffffffff811115612687577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126b95781602001600182028036833780820191505090505b5090505b6000851461276c576001826126d29190614069565b9150600a856126e191906141ff565b60306126ed9190613f88565b60f81b818381518110612729577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127659190613fde565b94506126bd565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612859838383612b59565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561289c5761289781612b5e565b6128db565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128da576128d98382612ba7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561291e5761291981612d14565b61295d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461295c5761295b8282612e57565b5b5b505050565b505050565b6129718383612ed6565b61297e60008484846129c2565b6129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b490613b69565b60405180910390fd5b505050565b60006129e38473ffffffffffffffffffffffffffffffffffffffff166130b0565b15612b4c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a0c611deb565b8786866040518563ffffffff1660e01b8152600401612a2e9493929190613aa0565b602060405180830381600087803b158015612a4857600080fd5b505af1925050508015612a7957506040513d601f19601f82011682018060405250810190612a769190613579565b60015b612afc573d8060008114612aa9576040519150601f19603f3d011682016040523d82523d6000602084013e612aae565b606091505b50600081511415612af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aeb90613b69565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b51565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612bb48461121f565b612bbe9190614069565b9050600060076000848152602001908152602001600020549050818114612ca3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d289190614069565b9050600060096000848152602001908152602001600020549050600060088381548110612d7e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612dc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612e628361121f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90613d09565b60405180910390fd5b612f4f816127e2565b15612f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8690613bc9565b60405180910390fd5b612f9b6000838361284e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612feb9190613f88565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130ac60008383612962565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546130df90614153565b90600052602060002090601f0160209004810192826131015760008555613148565b82601f1061311a57805160ff1916838001178555613148565b82800160010185558215613148579182015b8281111561314757825182559160200191906001019061312c565b5b509050613155919061317c565b5090565b604051806060016040528060001515815260200160008152602001600081525090565b5b8082111561319557600081600090555060010161317d565b5090565b60006131ac6131a784613eb7565b613e92565b905080838252602082019050828560208602820111156131cb57600080fd5b60005b858110156131fb57816131e18882613281565b8452602084019350602083019250506001810190506131ce565b5050509392505050565b600061321861321384613ee3565b613e92565b90508281526020810184848401111561323057600080fd5b61323b848285614111565b509392505050565b600061325661325184613f14565b613e92565b90508281526020810184848401111561326e57600080fd5b613279848285614111565b509392505050565b6000813590506132908161484e565b92915050565b600082601f8301126132a757600080fd5b81356132b7848260208601613199565b91505092915050565b6000813590506132cf81614865565b92915050565b6000813590506132e48161487c565b92915050565b6000815190506132f98161487c565b92915050565b600082601f83011261331057600080fd5b8135613320848260208601613205565b91505092915050565b600082601f83011261333a57600080fd5b813561334a848260208601613243565b91505092915050565b60008135905061336281614893565b92915050565b60006020828403121561337a57600080fd5b600061338884828501613281565b91505092915050565b600080604083850312156133a457600080fd5b60006133b285828601613281565b92505060206133c385828601613281565b9150509250929050565b6000806000606084860312156133e257600080fd5b60006133f086828701613281565b935050602061340186828701613281565b925050604061341286828701613353565b9150509250925092565b6000806000806080858703121561343257600080fd5b600061344087828801613281565b945050602061345187828801613281565b935050604061346287828801613353565b925050606085013567ffffffffffffffff81111561347f57600080fd5b61348b878288016132ff565b91505092959194509250565b600080604083850312156134aa57600080fd5b60006134b885828601613281565b92505060206134c9858286016132c0565b9150509250929050565b600080604083850312156134e657600080fd5b60006134f485828601613281565b925050602061350585828601613353565b9150509250929050565b60006020828403121561352157600080fd5b600082013567ffffffffffffffff81111561353b57600080fd5b61354784828501613296565b91505092915050565b60006020828403121561356257600080fd5b6000613570848285016132d5565b91505092915050565b60006020828403121561358b57600080fd5b6000613599848285016132ea565b91505092915050565b6000602082840312156135b457600080fd5b600082013567ffffffffffffffff8111156135ce57600080fd5b6135da84828501613329565b91505092915050565b6000602082840312156135f557600080fd5b600061360384828501613353565b91505092915050565b6136158161409d565b82525050565b613624816140af565b82525050565b613633816140af565b82525050565b600061364482613f45565b61364e8185613f5b565b935061365e818560208601614120565b613667816142ec565b840191505092915050565b600061367d82613f50565b6136878185613f6c565b9350613697818560208601614120565b6136a0816142ec565b840191505092915050565b60006136b682613f50565b6136c08185613f7d565b93506136d0818560208601614120565b80840191505092915050565b60006136e9601883613f6c565b91506136f4826142fd565b602082019050919050565b600061370c602b83613f6c565b915061371782614326565b604082019050919050565b600061372f603283613f6c565b915061373a82614375565b604082019050919050565b6000613752602683613f6c565b915061375d826143c4565b604082019050919050565b6000613775602583613f6c565b915061378082614413565b604082019050919050565b6000613798601c83613f6c565b91506137a382614462565b602082019050919050565b60006137bb601d83613f6c565b91506137c68261448b565b602082019050919050565b60006137de602483613f6c565b91506137e9826144b4565b604082019050919050565b6000613801601983613f6c565b915061380c82614503565b602082019050919050565b6000613824601383613f6c565b915061382f8261452c565b602082019050919050565b6000613847601283613f6c565b915061385282614555565b602082019050919050565b600061386a602083613f6c565b91506138758261457e565b602082019050919050565b600061388d601e83613f6c565b9150613898826145a7565b602082019050919050565b60006138b0602983613f6c565b91506138bb826145d0565b604082019050919050565b60006138d3603e83613f6c565b91506138de8261461f565b604082019050919050565b60006138f6602083613f6c565b91506139018261466e565b602082019050919050565b6000613919602083613f6c565b915061392482614697565b602082019050919050565b600061393c601883613f6c565b9150613947826146c0565b602082019050919050565b600061395f602183613f6c565b915061396a826146e9565b604082019050919050565b6000613982601283613f6c565b915061398d82614738565b602082019050919050565b60006139a5602c83613f6c565b91506139b082614761565b604082019050919050565b60006139c8602e83613f6c565b91506139d3826147b0565b604082019050919050565b60006139eb602683613f6c565b91506139f6826147ff565b604082019050919050565b606082016000820151613a17600085018261361b565b506020820151613a2a6020850182613a43565b506040820151613a3d6040850182613a43565b50505050565b613a4c81614107565b82525050565b613a5b81614107565b82525050565b6000613a6d82856136ab565b9150613a7982846136ab565b91508190509392505050565b6000602082019050613a9a600083018461360c565b92915050565b6000608082019050613ab5600083018761360c565b613ac2602083018661360c565b613acf6040830185613a52565b8181036060830152613ae18184613639565b905095945050505050565b6000602082019050613b01600083018461362a565b92915050565b60006020820190508181036000830152613b218184613672565b905092915050565b60006020820190508181036000830152613b42816136dc565b9050919050565b60006020820190508181036000830152613b62816136ff565b9050919050565b60006020820190508181036000830152613b8281613722565b9050919050565b60006020820190508181036000830152613ba281613745565b9050919050565b60006020820190508181036000830152613bc281613768565b9050919050565b60006020820190508181036000830152613be28161378b565b9050919050565b60006020820190508181036000830152613c02816137ae565b9050919050565b60006020820190508181036000830152613c22816137d1565b9050919050565b60006020820190508181036000830152613c42816137f4565b9050919050565b60006020820190508181036000830152613c6281613817565b9050919050565b60006020820190508181036000830152613c828161383a565b9050919050565b60006020820190508181036000830152613ca28161385d565b9050919050565b60006020820190508181036000830152613cc281613880565b9050919050565b60006020820190508181036000830152613ce2816138a3565b9050919050565b60006020820190508181036000830152613d02816138c6565b9050919050565b60006020820190508181036000830152613d22816138e9565b9050919050565b60006020820190508181036000830152613d428161390c565b9050919050565b60006020820190508181036000830152613d628161392f565b9050919050565b60006020820190508181036000830152613d8281613952565b9050919050565b60006020820190508181036000830152613da281613975565b9050919050565b60006020820190508181036000830152613dc281613998565b9050919050565b60006020820190508181036000830152613de2816139bb565b9050919050565b60006020820190508181036000830152613e02816139de565b9050919050565b6000606082019050613e1e6000830184613a01565b92915050565b6000602082019050613e396000830184613a52565b92915050565b600060a082019050613e546000830188613a52565b613e616020830187613a52565b613e6e6040830186613a52565b613e7b6060830185613a52565b613e886080830184613a52565b9695505050505050565b6000613e9c613ead565b9050613ea88282614185565b919050565b6000604051905090565b600067ffffffffffffffff821115613ed257613ed16142bd565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613efe57613efd6142bd565b5b613f07826142ec565b9050602081019050919050565b600067ffffffffffffffff821115613f2f57613f2e6142bd565b5b613f38826142ec565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f9382614107565b9150613f9e83614107565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613fd357613fd2614230565b5b828201905092915050565b6000613fe982614107565b9150613ff483614107565b9250826140045761400361425f565b5b828204905092915050565b600061401a82614107565b915061402583614107565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561405e5761405d614230565b5b828202905092915050565b600061407482614107565b915061407f83614107565b92508282101561409257614091614230565b5b828203905092915050565b60006140a8826140e7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561413e578082015181840152602081019050614123565b8381111561414d576000848401525b50505050565b6000600282049050600182168061416b57607f821691505b6020821081141561417f5761417e61428e565b5b50919050565b61418e826142ec565b810181811067ffffffffffffffff821117156141ad576141ac6142bd565b5b80604052505050565b60006141c182614107565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141f4576141f3614230565b5b600182019050919050565b600061420a82614107565b915061421583614107565b9250826142255761422461425f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420656e6f7567682043524f2073656e7400000000000000000000000000600082015250565b7f4e6f204e465473206d696e746564207965740000000000000000000000000000600082015250565b7f4d6178204e465473206f776e656420666f722063757272656e74207374616765600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f4d6178696d756d206d696e7420706572207472616e73616374696f6e2073757260008201527f7061737365640000000000000000000000000000000000000000000000000000602082015250565b6148578161409d565b811461486257600080fd5b50565b61486e816140af565b811461487957600080fd5b50565b614885816140bb565b811461489057600080fd5b50565b61489c81614107565b81146148a757600080fd5b5056fea26469706673582212207e7bb48aca3257430974497ace45fab9cc1ce0ea839acf909a8158b5152a073364736f6c63430008010033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000638a442800000000000000000000000000000000000000000000000000000000638a4b30000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f746865646567656e6572617465642e6d7970696e6174612e636c6f75642f697066732f516d6659524e3734695571776d684a5877313972313572384839506861714d6135797a466f4d41706a684c534d652f000000000000

-----Decoded View---------------
Arg [0] : _baseTokenURI (string): https://thedegenerated.mypinata.cloud/ipfs/QmfYRN74iUqwmhJXw19r15r8H9PhaqMa5yzFoMApjhLSMe/
Arg [1] : _whitelistStart (uint256): 1670005800
Arg [2] : _publicStart (uint256): 1670007600

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000638a4428
Arg [2] : 00000000000000000000000000000000000000000000000000000000638a4b30
Arg [3] : 000000000000000000000000000000000000000000000000000000000000005a
Arg [4] : 68747470733a2f2f746865646567656e6572617465642e6d7970696e6174612e
Arg [5] : 636c6f75642f697066732f516d6659524e3734695571776d684a587731397231
Arg [6] : 3572384839506861714d6135797a466f4d41706a684c534d652f000000000000


Block Transaction Gas Used Reward
view all blocks validated

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

Validator Index Block Amount
View All Withdrawals

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

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