ETH Price: $2,973.00 (+1.81%)
Gas: 2 Gwei

Token

CRYPTIDS (CRYPTIDS)
 

Overview

Max Total Supply

0 CRYPTIDS

Holders

1,112

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
joshbackman.eth
Balance
2 CRYPTIDS
0xee10697780d890eb4e4d46c3925fb62147dc5995
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Cryptids

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : Cryptids.sol
/*
   _____         _    _ _______ _____ ____  _   _               
  / ____|   /\  | |  | |__   __|_   _/ __ \| \ | |_             
 | |       /  \ | |  | |  | |    | || |  | |  \| (_)            
 | |      / /\ \| |  | |  | |    | || |  | | . ` |              
 | |____ / ____ \ |__| |  | |   _| || |__| | |\  |_             
  \_____/_/    \_\____/  _|_|  |_____\____/|_|_\_(_)____ _    _ 
  / ____|  /\    / ____|/ __ \| |  | |  /\|__   __/ ____| |  | |
 | (___   /  \  | (___ | |  | | |  | | /  \  | | | |    | |__| |
  \___ \ / /\ \  \___ \| |  | | |  | |/ /\ \ | | | |    |  __  |
  ____) / ____ \ ____) | |__| | |__| / ____ \| | | |____| |  | |
 |_____/_/ ___\_\_____/ \___\_\\____/_/    \_\_|  \_____|_|  |_|
 \ \ / /  |_   _| \ | |/ ____|                                  
  \ V /_____| | |  \| | |  __                                   
   > <______| | | . ` | | |_ |                                  
  / . \    _| |_| |\  | |__| |                                  
 /_/ \_\  |_____|_| \_|\_____|                                  
                                                

An 0nyX Labs Contract - Development by @White_Oak_Kong
0nyXLabs.io

*/

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

interface IBountyYield {
    function updateReward(address _from, address _to) external;

}

contract Cryptids is ERC721, IERC2981, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenCounter;

    IBountyYield public BountyYield;
    function setBountyYield(address _bountyYield) external onlyOwner { BountyYield = IBountyYield(_bountyYield); }

    string private baseURI;
    string public verificationHash;

    uint256 public constant MAX_PER_TXN = 10;
    uint256 public constant MAX_PER_WALLET_PRESALE = 4;
    uint256 public maxCryptids;
    uint256 public royaltyPercentage = 5;

    uint256 public SALE_PRICE = 0.08 ether;
    uint256 public constant PRE_SALE_PRICE = 0.06 ether;
    bool public isPublicSaleActive;

    uint256 public maxPreSaleCryptids;
    bytes32 public preSaleMerkleRoot;
    bool public isPreSaleActive;

    bytes32 public claimListMerkleRoot;

    mapping(address => uint256) public mintCounts;
    mapping(address => bool) public claimed;

    address FOUNDER_1 = 0x894F4B4Fc8cF989568383bD9dfE963348f069e71;
    address FOUNDER_2 = 0x86953020A8A0470479FA052AC3f27D1fF688914B;
    address FOUNDER_3 = 0xd629A3A25ff374CF208305243Ff7d38140755a95;
    address DEV = 0x3B36Cb2c6826349eEC1F717417f47C06cB70b7Ea;
    address CM = 0x3cbB9E4caBE9f00Ba636FF179FaB4B238AA219bD;

    // ============ ACCESS CONTROL/SANITY MODIFIERS ============

    modifier publicSaleActive() {
        require(isPublicSaleActive, "Public sale is not open");
        _;
    }

    modifier preSaleActive() {
        require(isPreSaleActive, "Presale is not open");
        _;
    }

    modifier canMintCryptids(uint256 numberOfTokens) {
        require(
            tokenCounter.current() + numberOfTokens <= maxCryptids,
            "Not enough Cryptids remaining to mint"
        );
        _;
    }

    modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) {
        require(
            price * numberOfTokens == msg.value,
            "Incorrect ETH value sent"
        );
        _;
    }

    modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
        require(
            MerkleProof.verify(
                merkleProof,
                root,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Address does not exist in list"
        );
        _;
    }

        modifier maxTxn(uint256 numberOfTokens) {
        require(
            numberOfTokens <= MAX_PER_TXN,
            "Max Cryptids to mint is 10"
        );
        _;
    }


    constructor(
        uint256 _maxCryptids,
        uint256 _maxPreSaleCryptids
    ) ERC721("CRYPTIDS", "CRYPTIDS") {
        maxCryptids = _maxCryptids;
        maxPreSaleCryptids = _maxPreSaleCryptids;
    }

    // ---  PUBLIC MINTING FUNCTIONS ---

    // mint allows for regular minting while the supply does not exceed maxCryptids.
    function mint(uint256 numberOfTokens)
        external
        payable
        nonReentrant
        isCorrectPayment(SALE_PRICE, numberOfTokens)
        publicSaleActive
        canMintCryptids(numberOfTokens)
        maxTxn(numberOfTokens)
    {

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, nextTokenId());
        }
    }

    // mintPreSale allows for minting by allowed addresses during the pre-sale.
    function mintPreSale(
        uint8 numberOfTokens,
        bytes32[] calldata merkleProof)
        external
        payable
        nonReentrant
        preSaleActive
        canMintCryptids(numberOfTokens)
        isCorrectPayment(PRE_SALE_PRICE, numberOfTokens)
        isValidMerkleProof(merkleProof, preSaleMerkleRoot)
    {
        uint256 numAlreadyMinted = mintCounts[msg.sender];

        require(
            numAlreadyMinted + numberOfTokens <= MAX_PER_WALLET_PRESALE,
            "Max Cryptids to mint in Presale is one"
        );

        require(
            tokenCounter.current() + numberOfTokens <= maxPreSaleCryptids,
            "Not enough Cryptids remaining to mint"
        );

        mintCounts[msg.sender] = numAlreadyMinted + numberOfTokens;

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, nextTokenId());
        }
    }

    // claim allows for a free mint by allowed addresses.
    function claim(bytes32[] calldata merkleProof)
        external
        isValidMerkleProof(merkleProof, claimListMerkleRoot)
    {
        require(!claimed[msg.sender], "You have already claimed your free Cryptid.");

        claimed[msg.sender] = true;

        _safeMint(msg.sender, nextTokenId());
    }

    // -- OWNER ONLY MINT --
    function ownerMint(uint256 numberOfTokens)
        external
        nonReentrant
        onlyOwner
        canMintCryptids(numberOfTokens)
    {
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, nextTokenId());
        }
    }

    // --- READ-ONLY FUNCTIONS ---

    // getBaseURI returns the baseURI hash for collection metadata.
    function getBaseURI() external view returns (string memory) {
        return baseURI;
    }

    // getLastTokenId returns the last tokenId minted.
    function getLastTokenId() external view returns (uint256) {
        return tokenCounter.current();
    }

    // -- ADMIN FUNCTIONS --

    // setBaseURI sets the base URI for token metadata.
    function setBaseURI(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    // capSupply is an emergency function to reduce the maximum supply of Cryptids.
    function capSupply(uint256 _supply) external onlyOwner {
        require(_supply > tokenCounter.current(), "cannot reduce maximum supply below current count.");
        require(_supply > maxCryptids, "cannot increase the maximum supply.");
        maxCryptids = _supply;
    }

    // updatePrice is an emergency function to adjust the price of Cryptids.
    function updatePrice(uint256 _price) external onlyOwner {
        SALE_PRICE = _price;
    } 

    function setVerificationHash(string memory _verificationHash)
        external
        onlyOwner
    {
        verificationHash = _verificationHash;
    }

    // setIsPublicSaleActive toggles the functionality of the public minting function.
    function setIsPublicSaleActive(bool _isPublicSaleActive)
        external
        onlyOwner
    {
        isPublicSaleActive = _isPublicSaleActive;
    }

    function setRoyaltyAmount(uint256 _royaltyPercentage) external onlyOwner {
        royaltyPercentage = _royaltyPercentage;
    }

    // setIsPreSaleActive toggles the functionality of the presale minting function.
    function setIsPreSaleActive(bool _isPreSaleActive)
        external
        onlyOwner
    {
        isPreSaleActive = _isPreSaleActive;
    }

    // setPresaleListMerkleRoot sets the merkle root for presale allowed addresses.
    function setPresaleListMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        preSaleMerkleRoot = merkleRoot;
    }

    // setClaimListMerkleRoot sets the merkle root for free claim addresses.
    function setClaimListMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        claimListMerkleRoot = merkleRoot;
    }

    // withdraw allows for the withdraw of all ETH to the assigned wallets.
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);

        _withdraw(FOUNDER_1, (balance * 300) / 1000);
        _withdraw(FOUNDER_2, (balance * 275) / 1000);
        _withdraw(FOUNDER_3, (balance * 275) / 1000);
        _withdraw(DEV, (balance * 100) / 1000);
        _withdraw(CM, (balance * 50) / 1000);
        
        _withdraw(owner(), address(this).balance);
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Transfer failed.");
    }

    // nextTokenId collects the next tokenId to mint.
    function nextTokenId() private returns (uint256) {
        tokenCounter.increment();
        return tokenCounter.current();
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    // Custom Transfer Hook override ERC721 and update yield reward.
    function transferFrom(address from, address to, uint256 tokenId) public override {
        BountyYield.updateReward(from, to);
        ERC721.transferFrom(from, to, tokenId);
    }
    // Custom Transfer Hook override ERC721 and update yield reward.
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override {
        BountyYield.updateReward(from, to);
        ERC721.safeTransferFrom(from, to, tokenId, data);
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "Nonexistent token");

        return
            string(abi.encodePacked(baseURI, "/", tokenId.toString()));
    }
    
    /**
     * Override royalty % for future application.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (address(this), SafeMath.div(SafeMath.mul(salePrice, royaltyPercentage), 100));
    }
}

File 2 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 6 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 7 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 8 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 9 of 19 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 10 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {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 a {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 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 {
                    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 {}
}

File 11 of 19 : 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 12 of 19 : 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 13 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 19 : 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 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 16 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 17 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 18 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 19 of 19 : 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_maxCryptids","type":"uint256"},{"internalType":"uint256","name":"_maxPreSaleCryptids","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"BountyYield","outputs":[{"internalType":"contract IBountyYield","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"capSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","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":[],"name":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCryptids","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreSaleCryptids","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintPreSale","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":"numberOfTokens","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentage","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":"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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bountyYield","type":"address"}],"name":"setBountyYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setClaimListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPreSaleActive","type":"bool"}],"name":"setIsPreSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setPresaleListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltyPercentage","type":"uint256"}],"name":"setRoyaltyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_verificationHash","type":"string"}],"name":"setVerificationHash","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"_price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"verificationHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526005600d5567011c37937e080000600e5573894f4b4fc8cf989568383bd9dfe963348f069e71601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507386953020a8a0470479fa052ac3f27d1ff688914b601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d629a3a25ff374cf208305243ff7d38140755a95601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550733b36cb2c6826349eec1f717417f47c06cb70b7ea601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550733cbb9e4cabe9f00ba636ff179fab4b238aa219bd601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620001cb57600080fd5b50604051620058f7380380620058f78339818101604052810190620001f1919062000464565b6040518060400160405280600881526020017f43525950544944530000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f43525950544944530000000000000000000000000000000000000000000000008152508160009080519060200190620002759291906200039d565b5080600190805190602001906200028e9291906200039d565b505050620002b1620002a5620002cf60201b60201c565b620002d760201b60201c565b600160078190555081600c819055508060108190555050506200052e565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003ab90620004af565b90600052602060002090601f016020900481019282620003cf57600085556200041b565b82601f10620003ea57805160ff19168380011785556200041b565b828001600101855582156200041b579182015b828111156200041a578251825591602001919060010190620003fd565b5b5090506200042a91906200042e565b5090565b5b80821115620004495760008160009055506001016200042f565b5090565b6000815190506200045e8162000514565b92915050565b600080604083850312156200047857600080fd5b600062000488858286016200044d565b92505060206200049b858286016200044d565b9150509250929050565b6000819050919050565b60006002820490506001821680620004c857607f821691505b60208210811415620004df57620004de620004e5565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200051f81620004a5565b81146200052b57600080fd5b50565b6153b9806200053e6000396000f3fe6080604052600436106102ae5760003560e01c80636352211e116101755780639d044ed3116100dc578063b88d4fde11610095578063c884ef831161006f578063c884ef8314610a5b578063e985e9c514610a98578063f19e75d414610ad5578063f2fde38b14610afe576102ae565b8063b88d4fde146109ca578063c0c36a37146109f3578063c87b56dd14610a1e576102ae565b80639d044ed3146108ec578063a0712d6814610917578063a22cb46514610933578063a643ed301461095c578063a8b3a52714610985578063b391c508146109a1576102ae565b8063823fa17c1161012e578063823fa17c146107ec57806383c4c00d146108175780638a71bb2d146108425780638d6cc56d1461086d5780638da5cb5b1461089657806395d89b41146108c1576102ae565b80636352211e146106dc57806370a0823114610719578063714c539814610756578063715018a6146107815780637b9ee54a146107985780637f205a74146107c1576102ae565b8063326f9ad3116102195780634b780f3c116101d25780634b780f3c146105cc5780634f07de09146105f75780635192cc521461062057806351b96d921461064b578063532778791461067657806355f804b3146106b3576102ae565b8063326f9ad3146104e45780633c166c791461050f5780633ccfd60b1461053857806342842e0e1461054f5780634383884514610578578063445f5756146105a3576102ae565b8063193402bb1161026b578063193402bb146103d55780631e84c4131461040057806323b872dd1461042b57806324f985e91461045457806328cad13d1461047d5780632a55205a146104a6576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b31461035857806309f3685d1461038157806315bdebe2146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613c54565b610b27565b6040516102e79190614a3d565b60405180910390f35b3480156102fc57600080fd5b50610305610ba1565b6040516103129190614a8e565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613ce7565b610c33565b60405161034f9190614984565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613b81565b610cb8565b005b34801561038d57600080fd5b50610396610dd0565b6040516103a39190614a73565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190613c2b565b610df6565b005b3480156103e157600080fd5b506103ea610e7c565b6040516103f79190614e30565b60405180910390f35b34801561040c57600080fd5b50610415610e87565b6040516104229190614a3d565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613a7b565b610e9a565b005b34801561046057600080fd5b5061047b60048036038101906104769190613ca6565b610f39565b005b34801561048957600080fd5b506104a4600480360381019061049f9190613c02565b610fcf565b005b3480156104b257600080fd5b506104cd60048036038101906104c89190613d10565b611068565b6040516104db929190614a14565b60405180910390f35b3480156104f057600080fd5b506104f96110d5565b6040516105069190614a58565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190613ce7565b6110db565b005b34801561054457600080fd5b5061054d6111f0565b005b34801561055b57600080fd5b5061057660048036038101906105719190613a7b565b6113ee565b005b34801561058457600080fd5b5061058d61140e565b60405161059a9190614a58565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190613c02565b611414565b005b3480156105d857600080fd5b506105e16114ad565b6040516105ee9190614e30565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613ce7565b6114b2565b005b34801561062c57600080fd5b50610635611538565b6040516106429190614e30565b60405180910390f35b34801561065757600080fd5b5061066061153e565b60405161066d9190614e30565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190613a16565b611543565b6040516106aa9190614e30565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613ca6565b61155b565b005b3480156106e857600080fd5b5061070360048036038101906106fe9190613ce7565b6115f1565b6040516107109190614984565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b9190613a16565b6116a3565b60405161074d9190614e30565b60405180910390f35b34801561076257600080fd5b5061076b61175b565b6040516107789190614a8e565b60405180910390f35b34801561078d57600080fd5b506107966117ed565b005b3480156107a457600080fd5b506107bf60048036038101906107ba9190613a16565b611875565b005b3480156107cd57600080fd5b506107d6611935565b6040516107e39190614e30565b60405180910390f35b3480156107f857600080fd5b5061080161193b565b60405161080e9190614e30565b60405180910390f35b34801561082357600080fd5b5061082c611941565b6040516108399190614e30565b60405180910390f35b34801561084e57600080fd5b50610857611952565b6040516108649190614e30565b60405180910390f35b34801561087957600080fd5b50610894600480360381019061088f9190613ce7565b611958565b005b3480156108a257600080fd5b506108ab6119de565b6040516108b89190614984565b60405180910390f35b3480156108cd57600080fd5b506108d6611a08565b6040516108e39190614a8e565b60405180910390f35b3480156108f857600080fd5b50610901611a9a565b60405161090e9190614a3d565b60405180910390f35b610931600480360381019061092c9190613ce7565b611aad565b005b34801561093f57600080fd5b5061095a60048036038101906109559190613b45565b611c79565b005b34801561096857600080fd5b50610983600480360381019061097e9190613c2b565b611c8f565b005b61099f600480360381019061099a9190613d4c565b611d15565b005b3480156109ad57600080fd5b506109c860048036038101906109c39190613bbd565b6120a9565b005b3480156109d657600080fd5b506109f160048036038101906109ec9190613aca565b61225c565b005b3480156109ff57600080fd5b50610a086122fd565b604051610a159190614a8e565b60405180910390f35b348015610a2a57600080fd5b50610a456004803603810190610a409190613ce7565b61238b565b604051610a529190614a8e565b60405180910390f35b348015610a6757600080fd5b50610a826004803603810190610a7d9190613a16565b612407565b604051610a8f9190614a3d565b60405180910390f35b348015610aa457600080fd5b50610abf6004803603810190610aba9190613a3f565b612427565b604051610acc9190614a3d565b60405180910390f35b348015610ae157600080fd5b50610afc6004803603810190610af79190613ce7565b6124bb565b005b348015610b0a57600080fd5b50610b256004803603810190610b209190613a16565b61261b565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9a5750610b9982612713565b5b9050919050565b606060008054610bb090615145565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdc90615145565b8015610c295780601f10610bfe57610100808354040283529160200191610c29565b820191906000526020600020905b815481529060010190602001808311610c0c57829003601f168201915b5050505050905090565b6000610c3e826127f5565b610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7490614cb0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc3826115f1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90614d70565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d53612861565b73ffffffffffffffffffffffffffffffffffffffff161480610d825750610d8181610d7c612861565b612427565b5b610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db890614c10565b60405180910390fd5b610dcb8383612869565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610dfe612861565b73ffffffffffffffffffffffffffffffffffffffff16610e1c6119de565b73ffffffffffffffffffffffffffffffffffffffff1614610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990614cd0565b60405180910390fd5b8060138190555050565b66d529ae9e86000081565b600f60009054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610ef792919061499f565b600060405180830381600087803b158015610f1157600080fd5b505af1158015610f25573d6000803e3d6000fd5b50505050610f34838383612922565b505050565b610f41612861565b73ffffffffffffffffffffffffffffffffffffffff16610f5f6119de565b73ffffffffffffffffffffffffffffffffffffffff1614610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac90614cd0565b60405180910390fd5b80600b9080519060200190610fcb9291906137c6565b5050565b610fd7612861565b73ffffffffffffffffffffffffffffffffffffffff16610ff56119de565b73ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290614cd0565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b600080611074846127f5565b6110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90614c30565b60405180910390fd5b306110ca6110c385600d54612982565b6064612998565b915091509250929050565b60135481565b6110e3612861565b73ffffffffffffffffffffffffffffffffffffffff166111016119de565b73ffffffffffffffffffffffffffffffffffffffff1614611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e90614cd0565b60405180910390fd5b61116160086129ae565b81116111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119990614b50565b60405180910390fd5b600c5481116111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd90614d10565b60405180910390fd5b80600c8190555050565b6111f8612861565b73ffffffffffffffffffffffffffffffffffffffff166112166119de565b73ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390614cd0565b60405180910390fd5b60004790506000811161127e57600080fd5b6112c4601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e861012c846112b59190614fc6565b6112bf9190614f95565b6129bc565b61130a601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8610113846112fb9190614fc6565b6113059190614f95565b6129bc565b611350601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8610113846113419190614fc6565b61134b9190614f95565b6129bc565b611395601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e86064846113869190614fc6565b6113909190614f95565b6129bc565b6113da601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e86032846113cb9190614fc6565b6113d59190614f95565b6129bc565b6113eb6113e56119de565b476129bc565b50565b6114098383836040518060200160405280600081525061225c565b505050565b60115481565b61141c612861565b73ffffffffffffffffffffffffffffffffffffffff1661143a6119de565b73ffffffffffffffffffffffffffffffffffffffff1614611490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148790614cd0565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b600481565b6114ba612861565b73ffffffffffffffffffffffffffffffffffffffff166114d86119de565b73ffffffffffffffffffffffffffffffffffffffff161461152e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152590614cd0565b60405180910390fd5b80600d8190555050565b60105481565b600a81565b60146020528060005260406000206000915090505481565b611563612861565b73ffffffffffffffffffffffffffffffffffffffff166115816119de565b73ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90614cd0565b60405180910390fd5b80600a90805190602001906115ed9291906137c6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561169a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169190614c70565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90614c50565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600a805461176a90615145565b80601f016020809104026020016040519081016040528092919081815260200182805461179690615145565b80156117e35780601f106117b8576101008083540402835291602001916117e3565b820191906000526020600020905b8154815290600101906020018083116117c657829003601f168201915b5050505050905090565b6117f5612861565b73ffffffffffffffffffffffffffffffffffffffff166118136119de565b73ffffffffffffffffffffffffffffffffffffffff1614611869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186090614cd0565b60405180910390fd5b6118736000612a6d565b565b61187d612861565b73ffffffffffffffffffffffffffffffffffffffff1661189b6119de565b73ffffffffffffffffffffffffffffffffffffffff16146118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e890614cd0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b600c5481565b600061194d60086129ae565b905090565b600d5481565b611960612861565b73ffffffffffffffffffffffffffffffffffffffff1661197e6119de565b73ffffffffffffffffffffffffffffffffffffffff16146119d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cb90614cd0565b60405180910390fd5b80600e8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a1790615145565b80601f0160208091040260200160405190810160405280929190818152602001828054611a4390615145565b8015611a905780601f10611a6557610100808354040283529160200191611a90565b820191906000526020600020905b815481529060010190602001808311611a7357829003601f168201915b5050505050905090565b601260009054906101000a900460ff1681565b60026007541415611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90614df0565b60405180910390fd5b6002600781905550600e5481348183611b0c9190614fc6565b14611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614dd0565b60405180910390fd5b600f60009054906101000a900460ff16611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290614e10565b60405180910390fd5b82600c5481611baa60086129ae565b611bb49190614f3f565b1115611bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bec90614b30565b60405180910390fd5b83600a811115611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3190614bf0565b60405180910390fd5b60005b85811015611c6957611c5633611c51612b33565b612b4e565b8080611c6190615177565b915050611c3d565b5050505050600160078190555050565b611c8b611c84612861565b8383612b6c565b5050565b611c97612861565b73ffffffffffffffffffffffffffffffffffffffff16611cb56119de565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614cd0565b60405180910390fd5b8060118190555050565b60026007541415611d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5290614df0565b60405180910390fd5b6002600781905550601260009054906101000a900460ff16611db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da990614d50565b60405180910390fd5b8260ff16600c5481611dc460086129ae565b611dce9190614f3f565b1115611e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0690614b30565b60405180910390fd5b66d529ae9e8600008460ff16348183611e289190614fc6565b14611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90614dd0565b60405180910390fd5b8484601154611edf838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611ec491906148f9565b60405160208183030381529060405280519060200120612cd9565b611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614bd0565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060048a60ff1682611f739190614f3f565b1115611fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fab90614d30565b60405180910390fd5b6010548a60ff16611fc560086129ae565b611fcf9190614f3f565b1115612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790614b30565b60405180910390fd5b8960ff168161201f9190614f3f565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8a60ff16811015612094576120813361207c612b33565b612b4e565b808061208c90615177565b915050612065565b50505050505050506001600781905550505050565b8181601354612120838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161210591906148f9565b60405160208183030381529060405280519060200120612cd9565b61215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215690614bd0565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e390614ad0565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061225533612250612b33565b612b4e565b5050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b81526004016122b992919061499f565b600060405180830381600087803b1580156122d357600080fd5b505af11580156122e7573d6000803e3d6000fd5b505050506122f784848484612cf0565b50505050565b600b805461230a90615145565b80601f016020809104026020016040519081016040528092919081815260200182805461233690615145565b80156123835780601f1061235857610100808354040283529160200191612383565b820191906000526020600020905b81548152906001019060200180831161236657829003601f168201915b505050505081565b6060612396826127f5565b6123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc90614c30565b60405180910390fd5b600a6123e083612d52565b6040516020016123f1929190614940565b6040516020818303038152906040529050919050565b60156020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026007541415612501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f890614df0565b60405180910390fd5b6002600781905550612511612861565b73ffffffffffffffffffffffffffffffffffffffff1661252f6119de565b73ffffffffffffffffffffffffffffffffffffffff1614612585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257c90614cd0565b60405180910390fd5b80600c548161259460086129ae565b61259e9190614f3f565b11156125df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d690614b30565b60405180910390fd5b60005b8281101561260e576125fb336125f6612b33565b612b4e565b808061260690615177565b9150506125e2565b5050600160078190555050565b612623612861565b73ffffffffffffffffffffffffffffffffffffffff166126416119de565b73ffffffffffffffffffffffffffffffffffffffff1614612697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268e90614cd0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fe90614af0565b60405180910390fd5b61271081612a6d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127de57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127ee57506127ed82612eff565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128dc836115f1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61293361292d612861565b82612f69565b612972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296990614db0565b60405180910390fd5b61297d838383613047565b505050565b600081836129909190614fc6565b905092915050565b600081836129a69190614f95565b905092915050565b600081600001549050919050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129e29061496f565b60006040518083038185875af1925050503d8060008114612a1f576040519150601f19603f3d011682016040523d82523d6000602084013e612a24565b606091505b5050905080612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90614d90565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612b3f60086132a3565b612b4960086129ae565b905090565b612b688282604051806020016040528060008152506132b9565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290614b90565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ccc9190614a3d565b60405180910390a3505050565b600082612ce68584613314565b1490509392505050565b612d01612cfb612861565b83612f69565b612d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3790614db0565b60405180910390fd5b612d4c848484846133ed565b50505050565b60606000821415612d9a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612efa565b600082905060005b60008214612dcc578080612db590615177565b915050600a82612dc59190614f95565b9150612da2565b60008167ffffffffffffffff811115612e0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e405781602001600182028036833780820191505090505b5090505b60008514612ef357600182612e599190615020565b9150600a85612e6891906151ee565b6030612e749190614f3f565b60f81b818381518110612eb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612eec9190614f95565b9450612e44565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000612f74826127f5565b612fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faa90614bb0565b60405180910390fd5b6000612fbe836115f1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061302d57508373ffffffffffffffffffffffffffffffffffffffff1661301584610c33565b73ffffffffffffffffffffffffffffffffffffffff16145b8061303e575061303d8185612427565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613067826115f1565b73ffffffffffffffffffffffffffffffffffffffff16146130bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b490614cf0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561312d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312490614b70565b60405180910390fd5b613138838383613449565b613143600082612869565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131939190615020565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131ea9190614f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b6132c3838361344e565b6132d0600084848461361c565b61330f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330690614ab0565b60405180910390fd5b505050565b60008082905060005b84518110156133e2576000858281518110613361577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116133a2578281604051602001613385929190614914565b6040516020818303038152906040528051906020012092506133ce565b80836040516020016133b5929190614914565b6040516020818303038152906040528051906020012092505b5080806133da90615177565b91505061331d565b508091505092915050565b6133f8848484613047565b6134048484848461361c565b613443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343a90614ab0565b60405180910390fd5b50505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b590614c90565b60405180910390fd5b6134c7816127f5565b15613507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fe90614b10565b60405180910390fd5b61351360008383613449565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135639190614f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061363d8473ffffffffffffffffffffffffffffffffffffffff166137b3565b156137a6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613666612861565b8786866040518563ffffffff1660e01b815260040161368894939291906149c8565b602060405180830381600087803b1580156136a257600080fd5b505af19250505080156136d357506040513d601f19601f820116820180604052508101906136d09190613c7d565b60015b613756573d8060008114613703576040519150601f19603f3d011682016040523d82523d6000602084013e613708565b606091505b5060008151141561374e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374590614ab0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137ab565b600190505b949350505050565b600080823b905060008111915050919050565b8280546137d290615145565b90600052602060002090601f0160209004810192826137f4576000855561383b565b82601f1061380d57805160ff191683800117855561383b565b8280016001018555821561383b579182015b8281111561383a57825182559160200191906001019061381f565b5b509050613848919061384c565b5090565b5b8082111561386557600081600090555060010161384d565b5090565b600061387c61387784614e7c565b614e4b565b90508281526020810184848401111561389457600080fd5b61389f848285615103565b509392505050565b60006138ba6138b584614eac565b614e4b565b9050828152602081018484840111156138d257600080fd5b6138dd848285615103565b509392505050565b6000813590506138f4816152f9565b92915050565b60008083601f84011261390c57600080fd5b8235905067ffffffffffffffff81111561392557600080fd5b60208301915083602082028301111561393d57600080fd5b9250929050565b60008135905061395381615310565b92915050565b60008135905061396881615327565b92915050565b60008135905061397d8161533e565b92915050565b6000815190506139928161533e565b92915050565b600082601f8301126139a957600080fd5b81356139b9848260208601613869565b91505092915050565b600082601f8301126139d357600080fd5b81356139e38482602086016138a7565b91505092915050565b6000813590506139fb81615355565b92915050565b600081359050613a108161536c565b92915050565b600060208284031215613a2857600080fd5b6000613a36848285016138e5565b91505092915050565b60008060408385031215613a5257600080fd5b6000613a60858286016138e5565b9250506020613a71858286016138e5565b9150509250929050565b600080600060608486031215613a9057600080fd5b6000613a9e868287016138e5565b9350506020613aaf868287016138e5565b9250506040613ac0868287016139ec565b9150509250925092565b60008060008060808587031215613ae057600080fd5b6000613aee878288016138e5565b9450506020613aff878288016138e5565b9350506040613b10878288016139ec565b925050606085013567ffffffffffffffff811115613b2d57600080fd5b613b3987828801613998565b91505092959194509250565b60008060408385031215613b5857600080fd5b6000613b66858286016138e5565b9250506020613b7785828601613944565b9150509250929050565b60008060408385031215613b9457600080fd5b6000613ba2858286016138e5565b9250506020613bb3858286016139ec565b9150509250929050565b60008060208385031215613bd057600080fd5b600083013567ffffffffffffffff811115613bea57600080fd5b613bf6858286016138fa565b92509250509250929050565b600060208284031215613c1457600080fd5b6000613c2284828501613944565b91505092915050565b600060208284031215613c3d57600080fd5b6000613c4b84828501613959565b91505092915050565b600060208284031215613c6657600080fd5b6000613c748482850161396e565b91505092915050565b600060208284031215613c8f57600080fd5b6000613c9d84828501613983565b91505092915050565b600060208284031215613cb857600080fd5b600082013567ffffffffffffffff811115613cd257600080fd5b613cde848285016139c2565b91505092915050565b600060208284031215613cf957600080fd5b6000613d07848285016139ec565b91505092915050565b60008060408385031215613d2357600080fd5b6000613d31858286016139ec565b9250506020613d42858286016139ec565b9150509250929050565b600080600060408486031215613d6157600080fd5b6000613d6f86828701613a01565b935050602084013567ffffffffffffffff811115613d8c57600080fd5b613d98868287016138fa565b92509250509250925092565b613dad81615054565b82525050565b613dc4613dbf82615054565b6151c0565b82525050565b613dd381615066565b82525050565b613de281615072565b82525050565b613df9613df482615072565b6151d2565b82525050565b6000613e0a82614ef1565b613e148185614f07565b9350613e24818560208601615112565b613e2d816152db565b840191505092915050565b613e41816150df565b82525050565b6000613e5282614efc565b613e5c8185614f23565b9350613e6c818560208601615112565b613e75816152db565b840191505092915050565b6000613e8b82614efc565b613e958185614f34565b9350613ea5818560208601615112565b80840191505092915050565b60008154613ebe81615145565b613ec88186614f34565b94506001821660008114613ee35760018114613ef457613f27565b60ff19831686528186019350613f27565b613efd85614edc565b60005b83811015613f1f57815481890152600182019150602081019050613f00565b838801955050505b50505092915050565b6000613f3d603283614f23565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613fa3602b83614f23565b91507f596f75206861766520616c726561647920636c61696d656420796f757220667260008301527f656520437279707469642e0000000000000000000000000000000000000000006020830152604082019050919050565b6000614009602683614f23565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061406f601c83614f23565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006140af602583614f23565b91507f4e6f7420656e6f7567682043727970746964732072656d61696e696e6720746f60008301527f206d696e740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614115603183614f23565b91507f63616e6e6f7420726564756365206d6178696d756d20737570706c792062656c60008301527f6f772063757272656e7420636f756e742e0000000000000000000000000000006020830152604082019050919050565b600061417b602483614f23565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141e1601983614f23565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614221602c83614f23565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614287601e83614f23565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b60006142c7601a83614f23565b91507f4d617820437279707469647320746f206d696e742069732031300000000000006000830152602082019050919050565b6000614307603883614f23565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061436d601183614f23565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b60006143ad602a83614f23565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614413602983614f23565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614479602083614f23565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006144b9602c83614f23565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061451f602083614f23565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061455f602983614f23565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145c5602383614f23565b91507f63616e6e6f7420696e63726561736520746865206d6178696d756d207375707060008301527f6c792e00000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061462b602683614f23565b91507f4d617820437279707469647320746f206d696e7420696e2050726573616c652060008301527f6973206f6e6500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614691601383614f23565b91507f50726573616c65206973206e6f74206f70656e000000000000000000000000006000830152602082019050919050565b60006146d1602183614f23565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614737600083614f18565b9150600082019050919050565b6000614751601083614f23565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b6000614791603183614f23565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006147f7601883614f23565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b6000614837601f83614f23565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614877601783614f23565b91507f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006000830152602082019050919050565b60006148b7600183614f34565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6148f3816150c8565b82525050565b60006149058284613db3565b60148201915081905092915050565b60006149208285613de8565b6020820191506149308284613de8565b6020820191508190509392505050565b600061494c8285613eb1565b9150614957826148aa565b91506149638284613e80565b91508190509392505050565b600061497a8261472a565b9150819050919050565b60006020820190506149996000830184613da4565b92915050565b60006040820190506149b46000830185613da4565b6149c16020830184613da4565b9392505050565b60006080820190506149dd6000830187613da4565b6149ea6020830186613da4565b6149f760408301856148ea565b8181036060830152614a098184613dff565b905095945050505050565b6000604082019050614a296000830185613da4565b614a3660208301846148ea565b9392505050565b6000602082019050614a526000830184613dca565b92915050565b6000602082019050614a6d6000830184613dd9565b92915050565b6000602082019050614a886000830184613e38565b92915050565b60006020820190508181036000830152614aa88184613e47565b905092915050565b60006020820190508181036000830152614ac981613f30565b9050919050565b60006020820190508181036000830152614ae981613f96565b9050919050565b60006020820190508181036000830152614b0981613ffc565b9050919050565b60006020820190508181036000830152614b2981614062565b9050919050565b60006020820190508181036000830152614b49816140a2565b9050919050565b60006020820190508181036000830152614b6981614108565b9050919050565b60006020820190508181036000830152614b898161416e565b9050919050565b60006020820190508181036000830152614ba9816141d4565b9050919050565b60006020820190508181036000830152614bc981614214565b9050919050565b60006020820190508181036000830152614be98161427a565b9050919050565b60006020820190508181036000830152614c09816142ba565b9050919050565b60006020820190508181036000830152614c29816142fa565b9050919050565b60006020820190508181036000830152614c4981614360565b9050919050565b60006020820190508181036000830152614c69816143a0565b9050919050565b60006020820190508181036000830152614c8981614406565b9050919050565b60006020820190508181036000830152614ca98161446c565b9050919050565b60006020820190508181036000830152614cc9816144ac565b9050919050565b60006020820190508181036000830152614ce981614512565b9050919050565b60006020820190508181036000830152614d0981614552565b9050919050565b60006020820190508181036000830152614d29816145b8565b9050919050565b60006020820190508181036000830152614d498161461e565b9050919050565b60006020820190508181036000830152614d6981614684565b9050919050565b60006020820190508181036000830152614d89816146c4565b9050919050565b60006020820190508181036000830152614da981614744565b9050919050565b60006020820190508181036000830152614dc981614784565b9050919050565b60006020820190508181036000830152614de9816147ea565b9050919050565b60006020820190508181036000830152614e098161482a565b9050919050565b60006020820190508181036000830152614e298161486a565b9050919050565b6000602082019050614e4560008301846148ea565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614e7257614e716152ac565b5b8060405250919050565b600067ffffffffffffffff821115614e9757614e966152ac565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614ec757614ec66152ac565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f4a826150c8565b9150614f55836150c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8a57614f8961521f565b5b828201905092915050565b6000614fa0826150c8565b9150614fab836150c8565b925082614fbb57614fba61524e565b5b828204905092915050565b6000614fd1826150c8565b9150614fdc836150c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150155761501461521f565b5b828202905092915050565b600061502b826150c8565b9150615036836150c8565b9250828210156150495761504861521f565b5b828203905092915050565b600061505f826150a8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006150ea826150f1565b9050919050565b60006150fc826150a8565b9050919050565b82818337600083830152505050565b60005b83811015615130578082015181840152602081019050615115565b8381111561513f576000848401525b50505050565b6000600282049050600182168061515d57607f821691505b602082108114156151715761517061527d565b5b50919050565b6000615182826150c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151b5576151b461521f565b5b600182019050919050565b60006151cb826151dc565b9050919050565b6000819050919050565b60006151e7826152ec565b9050919050565b60006151f9826150c8565b9150615204836150c8565b9250826152145761521361524e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61530281615054565b811461530d57600080fd5b50565b61531981615066565b811461532457600080fd5b50565b61533081615072565b811461533b57600080fd5b50565b6153478161507c565b811461535257600080fd5b50565b61535e816150c8565b811461536957600080fd5b50565b615375816150d2565b811461538057600080fd5b5056fea26469706673582212203312f1433a98cd29498e15020f4fb149f1ee5bf4a7aa57a61e34f59b5fd3f1d464736f6c634300080000330000000000000000000000000000000000000000000000000000000000001a0a0000000000000000000000000000000000000000000000000000000000001a0a

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c80636352211e116101755780639d044ed3116100dc578063b88d4fde11610095578063c884ef831161006f578063c884ef8314610a5b578063e985e9c514610a98578063f19e75d414610ad5578063f2fde38b14610afe576102ae565b8063b88d4fde146109ca578063c0c36a37146109f3578063c87b56dd14610a1e576102ae565b80639d044ed3146108ec578063a0712d6814610917578063a22cb46514610933578063a643ed301461095c578063a8b3a52714610985578063b391c508146109a1576102ae565b8063823fa17c1161012e578063823fa17c146107ec57806383c4c00d146108175780638a71bb2d146108425780638d6cc56d1461086d5780638da5cb5b1461089657806395d89b41146108c1576102ae565b80636352211e146106dc57806370a0823114610719578063714c539814610756578063715018a6146107815780637b9ee54a146107985780637f205a74146107c1576102ae565b8063326f9ad3116102195780634b780f3c116101d25780634b780f3c146105cc5780634f07de09146105f75780635192cc521461062057806351b96d921461064b578063532778791461067657806355f804b3146106b3576102ae565b8063326f9ad3146104e45780633c166c791461050f5780633ccfd60b1461053857806342842e0e1461054f5780634383884514610578578063445f5756146105a3576102ae565b8063193402bb1161026b578063193402bb146103d55780631e84c4131461040057806323b872dd1461042b57806324f985e91461045457806328cad13d1461047d5780632a55205a146104a6576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b31461035857806309f3685d1461038157806315bdebe2146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613c54565b610b27565b6040516102e79190614a3d565b60405180910390f35b3480156102fc57600080fd5b50610305610ba1565b6040516103129190614a8e565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613ce7565b610c33565b60405161034f9190614984565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613b81565b610cb8565b005b34801561038d57600080fd5b50610396610dd0565b6040516103a39190614a73565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190613c2b565b610df6565b005b3480156103e157600080fd5b506103ea610e7c565b6040516103f79190614e30565b60405180910390f35b34801561040c57600080fd5b50610415610e87565b6040516104229190614a3d565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613a7b565b610e9a565b005b34801561046057600080fd5b5061047b60048036038101906104769190613ca6565b610f39565b005b34801561048957600080fd5b506104a4600480360381019061049f9190613c02565b610fcf565b005b3480156104b257600080fd5b506104cd60048036038101906104c89190613d10565b611068565b6040516104db929190614a14565b60405180910390f35b3480156104f057600080fd5b506104f96110d5565b6040516105069190614a58565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190613ce7565b6110db565b005b34801561054457600080fd5b5061054d6111f0565b005b34801561055b57600080fd5b5061057660048036038101906105719190613a7b565b6113ee565b005b34801561058457600080fd5b5061058d61140e565b60405161059a9190614a58565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190613c02565b611414565b005b3480156105d857600080fd5b506105e16114ad565b6040516105ee9190614e30565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613ce7565b6114b2565b005b34801561062c57600080fd5b50610635611538565b6040516106429190614e30565b60405180910390f35b34801561065757600080fd5b5061066061153e565b60405161066d9190614e30565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190613a16565b611543565b6040516106aa9190614e30565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613ca6565b61155b565b005b3480156106e857600080fd5b5061070360048036038101906106fe9190613ce7565b6115f1565b6040516107109190614984565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b9190613a16565b6116a3565b60405161074d9190614e30565b60405180910390f35b34801561076257600080fd5b5061076b61175b565b6040516107789190614a8e565b60405180910390f35b34801561078d57600080fd5b506107966117ed565b005b3480156107a457600080fd5b506107bf60048036038101906107ba9190613a16565b611875565b005b3480156107cd57600080fd5b506107d6611935565b6040516107e39190614e30565b60405180910390f35b3480156107f857600080fd5b5061080161193b565b60405161080e9190614e30565b60405180910390f35b34801561082357600080fd5b5061082c611941565b6040516108399190614e30565b60405180910390f35b34801561084e57600080fd5b50610857611952565b6040516108649190614e30565b60405180910390f35b34801561087957600080fd5b50610894600480360381019061088f9190613ce7565b611958565b005b3480156108a257600080fd5b506108ab6119de565b6040516108b89190614984565b60405180910390f35b3480156108cd57600080fd5b506108d6611a08565b6040516108e39190614a8e565b60405180910390f35b3480156108f857600080fd5b50610901611a9a565b60405161090e9190614a3d565b60405180910390f35b610931600480360381019061092c9190613ce7565b611aad565b005b34801561093f57600080fd5b5061095a60048036038101906109559190613b45565b611c79565b005b34801561096857600080fd5b50610983600480360381019061097e9190613c2b565b611c8f565b005b61099f600480360381019061099a9190613d4c565b611d15565b005b3480156109ad57600080fd5b506109c860048036038101906109c39190613bbd565b6120a9565b005b3480156109d657600080fd5b506109f160048036038101906109ec9190613aca565b61225c565b005b3480156109ff57600080fd5b50610a086122fd565b604051610a159190614a8e565b60405180910390f35b348015610a2a57600080fd5b50610a456004803603810190610a409190613ce7565b61238b565b604051610a529190614a8e565b60405180910390f35b348015610a6757600080fd5b50610a826004803603810190610a7d9190613a16565b612407565b604051610a8f9190614a3d565b60405180910390f35b348015610aa457600080fd5b50610abf6004803603810190610aba9190613a3f565b612427565b604051610acc9190614a3d565b60405180910390f35b348015610ae157600080fd5b50610afc6004803603810190610af79190613ce7565b6124bb565b005b348015610b0a57600080fd5b50610b256004803603810190610b209190613a16565b61261b565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9a5750610b9982612713565b5b9050919050565b606060008054610bb090615145565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdc90615145565b8015610c295780601f10610bfe57610100808354040283529160200191610c29565b820191906000526020600020905b815481529060010190602001808311610c0c57829003601f168201915b5050505050905090565b6000610c3e826127f5565b610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7490614cb0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc3826115f1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90614d70565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d53612861565b73ffffffffffffffffffffffffffffffffffffffff161480610d825750610d8181610d7c612861565b612427565b5b610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db890614c10565b60405180910390fd5b610dcb8383612869565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610dfe612861565b73ffffffffffffffffffffffffffffffffffffffff16610e1c6119de565b73ffffffffffffffffffffffffffffffffffffffff1614610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990614cd0565b60405180910390fd5b8060138190555050565b66d529ae9e86000081565b600f60009054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610ef792919061499f565b600060405180830381600087803b158015610f1157600080fd5b505af1158015610f25573d6000803e3d6000fd5b50505050610f34838383612922565b505050565b610f41612861565b73ffffffffffffffffffffffffffffffffffffffff16610f5f6119de565b73ffffffffffffffffffffffffffffffffffffffff1614610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac90614cd0565b60405180910390fd5b80600b9080519060200190610fcb9291906137c6565b5050565b610fd7612861565b73ffffffffffffffffffffffffffffffffffffffff16610ff56119de565b73ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290614cd0565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b600080611074846127f5565b6110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90614c30565b60405180910390fd5b306110ca6110c385600d54612982565b6064612998565b915091509250929050565b60135481565b6110e3612861565b73ffffffffffffffffffffffffffffffffffffffff166111016119de565b73ffffffffffffffffffffffffffffffffffffffff1614611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e90614cd0565b60405180910390fd5b61116160086129ae565b81116111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119990614b50565b60405180910390fd5b600c5481116111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd90614d10565b60405180910390fd5b80600c8190555050565b6111f8612861565b73ffffffffffffffffffffffffffffffffffffffff166112166119de565b73ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390614cd0565b60405180910390fd5b60004790506000811161127e57600080fd5b6112c4601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e861012c846112b59190614fc6565b6112bf9190614f95565b6129bc565b61130a601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8610113846112fb9190614fc6565b6113059190614f95565b6129bc565b611350601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8610113846113419190614fc6565b61134b9190614f95565b6129bc565b611395601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e86064846113869190614fc6565b6113909190614f95565b6129bc565b6113da601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e86032846113cb9190614fc6565b6113d59190614f95565b6129bc565b6113eb6113e56119de565b476129bc565b50565b6114098383836040518060200160405280600081525061225c565b505050565b60115481565b61141c612861565b73ffffffffffffffffffffffffffffffffffffffff1661143a6119de565b73ffffffffffffffffffffffffffffffffffffffff1614611490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148790614cd0565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b600481565b6114ba612861565b73ffffffffffffffffffffffffffffffffffffffff166114d86119de565b73ffffffffffffffffffffffffffffffffffffffff161461152e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152590614cd0565b60405180910390fd5b80600d8190555050565b60105481565b600a81565b60146020528060005260406000206000915090505481565b611563612861565b73ffffffffffffffffffffffffffffffffffffffff166115816119de565b73ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90614cd0565b60405180910390fd5b80600a90805190602001906115ed9291906137c6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561169a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169190614c70565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90614c50565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600a805461176a90615145565b80601f016020809104026020016040519081016040528092919081815260200182805461179690615145565b80156117e35780601f106117b8576101008083540402835291602001916117e3565b820191906000526020600020905b8154815290600101906020018083116117c657829003601f168201915b5050505050905090565b6117f5612861565b73ffffffffffffffffffffffffffffffffffffffff166118136119de565b73ffffffffffffffffffffffffffffffffffffffff1614611869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186090614cd0565b60405180910390fd5b6118736000612a6d565b565b61187d612861565b73ffffffffffffffffffffffffffffffffffffffff1661189b6119de565b73ffffffffffffffffffffffffffffffffffffffff16146118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e890614cd0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b600c5481565b600061194d60086129ae565b905090565b600d5481565b611960612861565b73ffffffffffffffffffffffffffffffffffffffff1661197e6119de565b73ffffffffffffffffffffffffffffffffffffffff16146119d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cb90614cd0565b60405180910390fd5b80600e8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a1790615145565b80601f0160208091040260200160405190810160405280929190818152602001828054611a4390615145565b8015611a905780601f10611a6557610100808354040283529160200191611a90565b820191906000526020600020905b815481529060010190602001808311611a7357829003601f168201915b5050505050905090565b601260009054906101000a900460ff1681565b60026007541415611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90614df0565b60405180910390fd5b6002600781905550600e5481348183611b0c9190614fc6565b14611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614dd0565b60405180910390fd5b600f60009054906101000a900460ff16611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9290614e10565b60405180910390fd5b82600c5481611baa60086129ae565b611bb49190614f3f565b1115611bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bec90614b30565b60405180910390fd5b83600a811115611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3190614bf0565b60405180910390fd5b60005b85811015611c6957611c5633611c51612b33565b612b4e565b8080611c6190615177565b915050611c3d565b5050505050600160078190555050565b611c8b611c84612861565b8383612b6c565b5050565b611c97612861565b73ffffffffffffffffffffffffffffffffffffffff16611cb56119de565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614cd0565b60405180910390fd5b8060118190555050565b60026007541415611d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5290614df0565b60405180910390fd5b6002600781905550601260009054906101000a900460ff16611db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da990614d50565b60405180910390fd5b8260ff16600c5481611dc460086129ae565b611dce9190614f3f565b1115611e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0690614b30565b60405180910390fd5b66d529ae9e8600008460ff16348183611e289190614fc6565b14611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90614dd0565b60405180910390fd5b8484601154611edf838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611ec491906148f9565b60405160208183030381529060405280519060200120612cd9565b611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614bd0565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060048a60ff1682611f739190614f3f565b1115611fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fab90614d30565b60405180910390fd5b6010548a60ff16611fc560086129ae565b611fcf9190614f3f565b1115612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790614b30565b60405180910390fd5b8960ff168161201f9190614f3f565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8a60ff16811015612094576120813361207c612b33565b612b4e565b808061208c90615177565b915050612065565b50505050505050506001600781905550505050565b8181601354612120838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161210591906148f9565b60405160208183030381529060405280519060200120612cd9565b61215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215690614bd0565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e390614ad0565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061225533612250612b33565b612b4e565b5050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b81526004016122b992919061499f565b600060405180830381600087803b1580156122d357600080fd5b505af11580156122e7573d6000803e3d6000fd5b505050506122f784848484612cf0565b50505050565b600b805461230a90615145565b80601f016020809104026020016040519081016040528092919081815260200182805461233690615145565b80156123835780601f1061235857610100808354040283529160200191612383565b820191906000526020600020905b81548152906001019060200180831161236657829003601f168201915b505050505081565b6060612396826127f5565b6123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc90614c30565b60405180910390fd5b600a6123e083612d52565b6040516020016123f1929190614940565b6040516020818303038152906040529050919050565b60156020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026007541415612501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f890614df0565b60405180910390fd5b6002600781905550612511612861565b73ffffffffffffffffffffffffffffffffffffffff1661252f6119de565b73ffffffffffffffffffffffffffffffffffffffff1614612585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257c90614cd0565b60405180910390fd5b80600c548161259460086129ae565b61259e9190614f3f565b11156125df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d690614b30565b60405180910390fd5b60005b8281101561260e576125fb336125f6612b33565b612b4e565b808061260690615177565b9150506125e2565b5050600160078190555050565b612623612861565b73ffffffffffffffffffffffffffffffffffffffff166126416119de565b73ffffffffffffffffffffffffffffffffffffffff1614612697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268e90614cd0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fe90614af0565b60405180910390fd5b61271081612a6d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127de57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127ee57506127ed82612eff565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128dc836115f1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61293361292d612861565b82612f69565b612972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296990614db0565b60405180910390fd5b61297d838383613047565b505050565b600081836129909190614fc6565b905092915050565b600081836129a69190614f95565b905092915050565b600081600001549050919050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129e29061496f565b60006040518083038185875af1925050503d8060008114612a1f576040519150601f19603f3d011682016040523d82523d6000602084013e612a24565b606091505b5050905080612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90614d90565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612b3f60086132a3565b612b4960086129ae565b905090565b612b688282604051806020016040528060008152506132b9565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290614b90565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ccc9190614a3d565b60405180910390a3505050565b600082612ce68584613314565b1490509392505050565b612d01612cfb612861565b83612f69565b612d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3790614db0565b60405180910390fd5b612d4c848484846133ed565b50505050565b60606000821415612d9a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612efa565b600082905060005b60008214612dcc578080612db590615177565b915050600a82612dc59190614f95565b9150612da2565b60008167ffffffffffffffff811115612e0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e405781602001600182028036833780820191505090505b5090505b60008514612ef357600182612e599190615020565b9150600a85612e6891906151ee565b6030612e749190614f3f565b60f81b818381518110612eb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612eec9190614f95565b9450612e44565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000612f74826127f5565b612fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faa90614bb0565b60405180910390fd5b6000612fbe836115f1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061302d57508373ffffffffffffffffffffffffffffffffffffffff1661301584610c33565b73ffffffffffffffffffffffffffffffffffffffff16145b8061303e575061303d8185612427565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613067826115f1565b73ffffffffffffffffffffffffffffffffffffffff16146130bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b490614cf0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561312d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312490614b70565b60405180910390fd5b613138838383613449565b613143600082612869565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131939190615020565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131ea9190614f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b6132c3838361344e565b6132d0600084848461361c565b61330f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330690614ab0565b60405180910390fd5b505050565b60008082905060005b84518110156133e2576000858281518110613361577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116133a2578281604051602001613385929190614914565b6040516020818303038152906040528051906020012092506133ce565b80836040516020016133b5929190614914565b6040516020818303038152906040528051906020012092505b5080806133da90615177565b91505061331d565b508091505092915050565b6133f8848484613047565b6134048484848461361c565b613443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343a90614ab0565b60405180910390fd5b50505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b590614c90565b60405180910390fd5b6134c7816127f5565b15613507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fe90614b10565b60405180910390fd5b61351360008383613449565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135639190614f3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061363d8473ffffffffffffffffffffffffffffffffffffffff166137b3565b156137a6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613666612861565b8786866040518563ffffffff1660e01b815260040161368894939291906149c8565b602060405180830381600087803b1580156136a257600080fd5b505af19250505080156136d357506040513d601f19601f820116820180604052508101906136d09190613c7d565b60015b613756573d8060008114613703576040519150601f19603f3d011682016040523d82523d6000602084013e613708565b606091505b5060008151141561374e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374590614ab0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137ab565b600190505b949350505050565b600080823b905060008111915050919050565b8280546137d290615145565b90600052602060002090601f0160209004810192826137f4576000855561383b565b82601f1061380d57805160ff191683800117855561383b565b8280016001018555821561383b579182015b8281111561383a57825182559160200191906001019061381f565b5b509050613848919061384c565b5090565b5b8082111561386557600081600090555060010161384d565b5090565b600061387c61387784614e7c565b614e4b565b90508281526020810184848401111561389457600080fd5b61389f848285615103565b509392505050565b60006138ba6138b584614eac565b614e4b565b9050828152602081018484840111156138d257600080fd5b6138dd848285615103565b509392505050565b6000813590506138f4816152f9565b92915050565b60008083601f84011261390c57600080fd5b8235905067ffffffffffffffff81111561392557600080fd5b60208301915083602082028301111561393d57600080fd5b9250929050565b60008135905061395381615310565b92915050565b60008135905061396881615327565b92915050565b60008135905061397d8161533e565b92915050565b6000815190506139928161533e565b92915050565b600082601f8301126139a957600080fd5b81356139b9848260208601613869565b91505092915050565b600082601f8301126139d357600080fd5b81356139e38482602086016138a7565b91505092915050565b6000813590506139fb81615355565b92915050565b600081359050613a108161536c565b92915050565b600060208284031215613a2857600080fd5b6000613a36848285016138e5565b91505092915050565b60008060408385031215613a5257600080fd5b6000613a60858286016138e5565b9250506020613a71858286016138e5565b9150509250929050565b600080600060608486031215613a9057600080fd5b6000613a9e868287016138e5565b9350506020613aaf868287016138e5565b9250506040613ac0868287016139ec565b9150509250925092565b60008060008060808587031215613ae057600080fd5b6000613aee878288016138e5565b9450506020613aff878288016138e5565b9350506040613b10878288016139ec565b925050606085013567ffffffffffffffff811115613b2d57600080fd5b613b3987828801613998565b91505092959194509250565b60008060408385031215613b5857600080fd5b6000613b66858286016138e5565b9250506020613b7785828601613944565b9150509250929050565b60008060408385031215613b9457600080fd5b6000613ba2858286016138e5565b9250506020613bb3858286016139ec565b9150509250929050565b60008060208385031215613bd057600080fd5b600083013567ffffffffffffffff811115613bea57600080fd5b613bf6858286016138fa565b92509250509250929050565b600060208284031215613c1457600080fd5b6000613c2284828501613944565b91505092915050565b600060208284031215613c3d57600080fd5b6000613c4b84828501613959565b91505092915050565b600060208284031215613c6657600080fd5b6000613c748482850161396e565b91505092915050565b600060208284031215613c8f57600080fd5b6000613c9d84828501613983565b91505092915050565b600060208284031215613cb857600080fd5b600082013567ffffffffffffffff811115613cd257600080fd5b613cde848285016139c2565b91505092915050565b600060208284031215613cf957600080fd5b6000613d07848285016139ec565b91505092915050565b60008060408385031215613d2357600080fd5b6000613d31858286016139ec565b9250506020613d42858286016139ec565b9150509250929050565b600080600060408486031215613d6157600080fd5b6000613d6f86828701613a01565b935050602084013567ffffffffffffffff811115613d8c57600080fd5b613d98868287016138fa565b92509250509250925092565b613dad81615054565b82525050565b613dc4613dbf82615054565b6151c0565b82525050565b613dd381615066565b82525050565b613de281615072565b82525050565b613df9613df482615072565b6151d2565b82525050565b6000613e0a82614ef1565b613e148185614f07565b9350613e24818560208601615112565b613e2d816152db565b840191505092915050565b613e41816150df565b82525050565b6000613e5282614efc565b613e5c8185614f23565b9350613e6c818560208601615112565b613e75816152db565b840191505092915050565b6000613e8b82614efc565b613e958185614f34565b9350613ea5818560208601615112565b80840191505092915050565b60008154613ebe81615145565b613ec88186614f34565b94506001821660008114613ee35760018114613ef457613f27565b60ff19831686528186019350613f27565b613efd85614edc565b60005b83811015613f1f57815481890152600182019150602081019050613f00565b838801955050505b50505092915050565b6000613f3d603283614f23565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613fa3602b83614f23565b91507f596f75206861766520616c726561647920636c61696d656420796f757220667260008301527f656520437279707469642e0000000000000000000000000000000000000000006020830152604082019050919050565b6000614009602683614f23565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061406f601c83614f23565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006140af602583614f23565b91507f4e6f7420656e6f7567682043727970746964732072656d61696e696e6720746f60008301527f206d696e740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614115603183614f23565b91507f63616e6e6f7420726564756365206d6178696d756d20737570706c792062656c60008301527f6f772063757272656e7420636f756e742e0000000000000000000000000000006020830152604082019050919050565b600061417b602483614f23565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141e1601983614f23565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614221602c83614f23565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614287601e83614f23565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b60006142c7601a83614f23565b91507f4d617820437279707469647320746f206d696e742069732031300000000000006000830152602082019050919050565b6000614307603883614f23565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061436d601183614f23565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b60006143ad602a83614f23565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614413602983614f23565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614479602083614f23565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006144b9602c83614f23565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061451f602083614f23565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061455f602983614f23565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145c5602383614f23565b91507f63616e6e6f7420696e63726561736520746865206d6178696d756d207375707060008301527f6c792e00000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061462b602683614f23565b91507f4d617820437279707469647320746f206d696e7420696e2050726573616c652060008301527f6973206f6e6500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614691601383614f23565b91507f50726573616c65206973206e6f74206f70656e000000000000000000000000006000830152602082019050919050565b60006146d1602183614f23565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614737600083614f18565b9150600082019050919050565b6000614751601083614f23565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b6000614791603183614f23565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006147f7601883614f23565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b6000614837601f83614f23565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614877601783614f23565b91507f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006000830152602082019050919050565b60006148b7600183614f34565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6148f3816150c8565b82525050565b60006149058284613db3565b60148201915081905092915050565b60006149208285613de8565b6020820191506149308284613de8565b6020820191508190509392505050565b600061494c8285613eb1565b9150614957826148aa565b91506149638284613e80565b91508190509392505050565b600061497a8261472a565b9150819050919050565b60006020820190506149996000830184613da4565b92915050565b60006040820190506149b46000830185613da4565b6149c16020830184613da4565b9392505050565b60006080820190506149dd6000830187613da4565b6149ea6020830186613da4565b6149f760408301856148ea565b8181036060830152614a098184613dff565b905095945050505050565b6000604082019050614a296000830185613da4565b614a3660208301846148ea565b9392505050565b6000602082019050614a526000830184613dca565b92915050565b6000602082019050614a6d6000830184613dd9565b92915050565b6000602082019050614a886000830184613e38565b92915050565b60006020820190508181036000830152614aa88184613e47565b905092915050565b60006020820190508181036000830152614ac981613f30565b9050919050565b60006020820190508181036000830152614ae981613f96565b9050919050565b60006020820190508181036000830152614b0981613ffc565b9050919050565b60006020820190508181036000830152614b2981614062565b9050919050565b60006020820190508181036000830152614b49816140a2565b9050919050565b60006020820190508181036000830152614b6981614108565b9050919050565b60006020820190508181036000830152614b898161416e565b9050919050565b60006020820190508181036000830152614ba9816141d4565b9050919050565b60006020820190508181036000830152614bc981614214565b9050919050565b60006020820190508181036000830152614be98161427a565b9050919050565b60006020820190508181036000830152614c09816142ba565b9050919050565b60006020820190508181036000830152614c29816142fa565b9050919050565b60006020820190508181036000830152614c4981614360565b9050919050565b60006020820190508181036000830152614c69816143a0565b9050919050565b60006020820190508181036000830152614c8981614406565b9050919050565b60006020820190508181036000830152614ca98161446c565b9050919050565b60006020820190508181036000830152614cc9816144ac565b9050919050565b60006020820190508181036000830152614ce981614512565b9050919050565b60006020820190508181036000830152614d0981614552565b9050919050565b60006020820190508181036000830152614d29816145b8565b9050919050565b60006020820190508181036000830152614d498161461e565b9050919050565b60006020820190508181036000830152614d6981614684565b9050919050565b60006020820190508181036000830152614d89816146c4565b9050919050565b60006020820190508181036000830152614da981614744565b9050919050565b60006020820190508181036000830152614dc981614784565b9050919050565b60006020820190508181036000830152614de9816147ea565b9050919050565b60006020820190508181036000830152614e098161482a565b9050919050565b60006020820190508181036000830152614e298161486a565b9050919050565b6000602082019050614e4560008301846148ea565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614e7257614e716152ac565b5b8060405250919050565b600067ffffffffffffffff821115614e9757614e966152ac565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614ec757614ec66152ac565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f4a826150c8565b9150614f55836150c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8a57614f8961521f565b5b828201905092915050565b6000614fa0826150c8565b9150614fab836150c8565b925082614fbb57614fba61524e565b5b828204905092915050565b6000614fd1826150c8565b9150614fdc836150c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150155761501461521f565b5b828202905092915050565b600061502b826150c8565b9150615036836150c8565b9250828210156150495761504861521f565b5b828203905092915050565b600061505f826150a8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006150ea826150f1565b9050919050565b60006150fc826150a8565b9050919050565b82818337600083830152505050565b60005b83811015615130578082015181840152602081019050615115565b8381111561513f576000848401525b50505050565b6000600282049050600182168061515d57607f821691505b602082108114156151715761517061527d565b5b50919050565b6000615182826150c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151b5576151b461521f565b5b600182019050919050565b60006151cb826151dc565b9050919050565b6000819050919050565b60006151e7826152ec565b9050919050565b60006151f9826150c8565b9150615204836150c8565b9250826152145761521361524e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61530281615054565b811461530d57600080fd5b50565b61531981615066565b811461532457600080fd5b50565b61533081615072565b811461533b57600080fd5b50565b6153478161507c565b811461535257600080fd5b50565b61535e816150c8565b811461536957600080fd5b50565b615375816150d2565b811461538057600080fd5b5056fea26469706673582212203312f1433a98cd29498e15020f4fb149f1ee5bf4a7aa57a61e34f59b5fd3f1d464736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000001a0a0000000000000000000000000000000000000000000000000000000000001a0a

-----Decoded View---------------
Arg [0] : _maxCryptids (uint256): 6666
Arg [1] : _maxPreSaleCryptids (uint256): 6666

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000001a0a
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001a0a


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.