ETH Price: $2,527.09 (+0.63%)

Token

XyzzyBots (XYZZYBOTS)
 

Overview

Max Total Supply

107 XYZZYBOTS

Holders

61

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
maqx.eth
Balance
1 XYZZYBOTS
0x48272C40E98429A9092356f6e4EeBBd45c760A5c
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:
XyzzyBots

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : XyzzyBots.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

/*
                   ══           ══
                   β–ˆβ–ˆ           β–ˆβ–ˆ
                   β–ˆβ–ˆ           β–ˆβ–ˆ
               β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
               β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
   β–ˆβ–ˆ      β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ  β–ˆβ–ˆ      β–ˆβ–ˆ
       β–ˆβ–ˆ      β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ  β–ˆβ–ˆ      β–ˆβ–ˆ
   β–ˆβ–ˆ      β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
               β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
               β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
                 β–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆ
                 β–ˆβ–ˆβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β–ˆβ–ˆ
                 β–ˆβ–ˆβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β–ˆβ–ˆ
*/

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


contract XyzzyBots is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Address for address;
    using Strings for uint256;
    using ECDSA for bytes32;

    string internal baseTokenURI = "ipfs://bafybeie272kvby4m6pe3ap25t4on4g5a3pydsalnnuutlszhwlxfr6xzhy/";
    
    uint public NFT_PRICE = 0.05 ether;
    uint public MAX_NFT_PURCHASE = 10;
    uint public nftPerAddressLimit = 4;
    uint public MAX_SUPPLY = 10000;
    uint public freeMintSupply = 100;
    
    bool public saleIsActive = false;
    bool public preSaleIsActive = false;
    
    address private a1 = 0xfaf8893Ac746e83444a5E63A8C2A6BCAa65E6da6; // CD
    address private a2 = 0x77F9C7477d82583C0e7B23430c92E672e47500Fc; // Meep
    address private a3 = 0x1f3CfC9Ee59D817C62412d72B6dEb98d7FceA13e; // Brain
    address private a4 = 0x0Ee111f19313eB3896F1333873fe6b6bEBBa9765; // JP
    address private a5 = 0xd562549EA677a648020f9179e0C89D9911462A40; // Kir
    address private a6 = 0xDa620F0CD5246E9d5Ee570033D0081249B817f8a; // Fud
    address private a7 = 0xCFBc3083b6400Fb4248D2D3B4Bc124C592eFAA36; // OG
    address private a8 = 0x595076ce19e6BDce9B147B6df3D0BfD068B3A52c; // Doz
    
    address private admin = 0x3029caC2426D7A6b4862642f8D6b01fa9e9bcC24;
    
    event Mint(address owner, uint qty);
    event FreeMint(address to, uint qty);
    event Withdraw(uint256 amount);

    constructor() ERC721("XyzzyBots", "XYZZYBOTS") {}
    
    function setBaseTokenURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }
    
    function setMaxSupply(uint newSupply) external onlyOwner {
        MAX_SUPPLY = newSupply;
    }

    function setAdmin(address _admin) public onlyOwner {
        admin = _admin;
    }
    
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
        if (preSaleIsActive) {
          preSaleIsActive = !preSaleIsActive;
        }
    }

    function flipPreSaleState() public onlyOwner {
        preSaleIsActive = !preSaleIsActive;
    }
    
    function withdraw() public payable onlyOwner {
        uint256 balance = address(this).balance;
        
        uint256 a1payment = balance.mul(30).div(100);
        uint256 a2payment = balance.mul(20).div(100);
        uint256 a3payment = balance.mul(15).div(100);
        uint256 a4payment = balance.mul(15).div(100);
        uint256 a5payment = balance.mul(5).div(100);
        uint256 a6payment = balance.mul(5).div(100);
        uint256 a7payment = balance.mul(5).div(100);
        uint256 a8payment = balance.mul(5).div(100);
        
        bool success;
        success = payable(a1).send(a1payment);
        require(success);
        success = payable(a2).send(a2payment);
        require(success);
        success = payable(a3).send(a3payment);
        require(success);
        success = payable(a4).send(a4payment);
        require(success);
        success = payable(a5).send(a5payment);
        require(success);
        success = payable(a6).send(a6payment);
        require(success);
        success = payable(a7).send(a7payment);
        require(success);
        success = payable(a8).send(a8payment);
        require(success);
        
        emit Withdraw(balance);
    }
    
    function _baseURI() internal override view returns (string memory) {
        return baseTokenURI;
    }

    function reserveTokens(address _address, uint numberOfTokens) public onlyOwner {
        require(numberOfTokens > 0, "Number of tokens can not be less than or equal to 0");
        require(freeMintSupply.sub(numberOfTokens) >= 0, "Purchase would exceed maximum number of free mints");
        
        for (uint i = 0; i < numberOfTokens; i++) {
            _safeMint(_address, totalSupply() + 1);
            freeMintSupply--;
        }
        emit FreeMint(_address, numberOfTokens);
    }

    function mint(uint numberOfTokens, bytes calldata _sig) public payable {
        require(saleIsActive || preSaleIsActive, "Sale or PreSale is not active at the moment");
        require(numberOfTokens > 0, "Number of tokens can not be less than or equal to 0");
        require(totalSupply().add(numberOfTokens) <= MAX_SUPPLY.sub(freeMintSupply), "Purchase would exceed max supply of XyzzyBots");
        require(numberOfTokens <= MAX_NFT_PURCHASE, "Can only mint up to 10 per purchase");

        if (msg.sender != owner()) {
            if (preSaleIsActive) {
                require(checkWhitelisted(msg.sender, _sig), "User is not whitelisted");
                uint256 ownerTokenCount = balanceOf(msg.sender);
                require(ownerTokenCount.add(numberOfTokens) <= nftPerAddressLimit, "Max NFT per address exceeded");
            }
            require(NFT_PRICE.mul(numberOfTokens) == msg.value, "Sent ether value is incorrect");
        }

        for (uint i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, totalSupply() + 1);
        }
        
        emit Mint(msg.sender, numberOfTokens);
    }

    function checkWhitelisted(address _address, bytes calldata _sig) public view returns (bool) {
        bytes32 _rawHash = keccak256(abi.encodePacked(_address));
        return admin == _rawHash.recover(_sig);
    }
}

File 2 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. 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 15 : IERC165.sol
// SPDX-License-Identifier: MIT

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

File 4 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 5 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

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 7 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 10 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 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 15 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"FreeMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"Mint","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_NFT_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"address","name":"_address","type":"address"},{"internalType":"bytes","name":"_sig","type":"bytes"}],"name":"checkWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes","name":"_sig","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","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":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

608060405260405180608001604052806043815260200162005a8060439139600b9080519060200190620000359291906200052b565b5066b1a2bc2ec50000600c55600a600d556004600e55612710600f5560646010556000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff02191690831515021790555073faf8893ac746e83444a5e63a8c2a6bcaa65e6da6601160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507377f9c7477d82583c0e7b23430c92e672e47500fc601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731f3cfc9ee59d817c62412d72b6deb98d7fcea13e601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550730ee111f19313eb3896f1333873fe6b6bebba9765601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d562549ea677a648020f9179e0c89d9911462a40601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073da620f0cd5246e9d5ee570033d0081249b817f8a601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073cfbc3083b6400fb4248d2d3b4bc124c592efaa36601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073595076ce19e6bdce9b147b6df3d0bfd068b3a52c601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550733029cac2426d7a6b4862642f8d6b01fa9e9bcc24601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200039657600080fd5b506040518060400160405280600981526020017f58797a7a79426f747300000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f58595a5a59424f5453000000000000000000000000000000000000000000000081525081600090805190602001906200041b9291906200052b565b508060019080519060200190620004349291906200052b565b505050620004576200044b6200045d60201b60201c565b6200046560201b60201c565b62000640565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000539906200060a565b90600052602060002090601f0160209004810192826200055d5760008555620005a9565b82601f106200057857805160ff1916838001178555620005a9565b82800160010185558215620005a9579182015b82811115620005a85782518255916020019190600101906200058b565b5b509050620005b89190620005bc565b5090565b5b80821115620005d7576000816000905550600101620005bd565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200062357607f821691505b602082108114156200063a5762000639620005db565b5b50919050565b61543080620006506000396000f3fe6080604052600436106102045760003560e01c80636f8b44b011610118578063b88d4fde116100a0578063e150007e1161006f578063e150007e14610739578063e985e9c514610764578063eb8d2444146107a1578063f0325549146107cc578063f2fde38b146107e357610204565b8063b88d4fde1461068c578063ba7d2c76146106b5578063c87b56dd146106e0578063db7fd4081461071d57610204565b806378cf19e9116100e757806378cf19e9146105a75780638da5cb5b146105d057806395d89b41146105fb578063a22cb46514610626578063a612232a1461064f57610204565b80636f8b44b014610501578063704b6c021461052a57806370a0823114610553578063715018a61461059057610204565b80632f745c591161019b5780633ccfd60b1161016a5780633ccfd60b1461042957806342842e0e146104335780634f6ccce71461045c5780636352211e14610499578063676dd563146104d657610204565b80632f745c591461038157806330176e13146103be57806332cb6b0c146103e757806334918dfd1461041257610204565b8063095ea7b3116101d7578063095ea7b3146102d957806318160ddd146103025780631f0234d81461032d57806323b872dd1461035857610204565b806301ffc9a714610209578063020b39cc1461024657806306fdde0314610271578063081812fc1461029c575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906137cc565b61080c565b60405161023d9190613814565b60405180910390f35b34801561025257600080fd5b5061025b610886565b6040516102689190613848565b60405180910390f35b34801561027d57600080fd5b5061028661088c565b60405161029391906138fc565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be919061394a565b61091e565b6040516102d091906139b8565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb91906139ff565b6109a3565b005b34801561030e57600080fd5b50610317610abb565b6040516103249190613848565b60405180910390f35b34801561033957600080fd5b50610342610ac8565b60405161034f9190613814565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613a3f565b610adb565b005b34801561038d57600080fd5b506103a860048036038101906103a391906139ff565b610b3b565b6040516103b59190613848565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e09190613af7565b610be0565b005b3480156103f357600080fd5b506103fc610c72565b6040516104099190613848565b60405180910390f35b34801561041e57600080fd5b50610427610c78565b005b610431610d60565b005b34801561043f57600080fd5b5061045a60048036038101906104559190613a3f565b611296565b005b34801561046857600080fd5b50610483600480360381019061047e919061394a565b6112b6565b6040516104909190613848565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb919061394a565b611327565b6040516104cd91906139b8565b60405180910390f35b3480156104e257600080fd5b506104eb6113d9565b6040516104f89190613848565b60405180910390f35b34801561050d57600080fd5b506105286004803603810190610523919061394a565b6113df565b005b34801561053657600080fd5b50610551600480360381019061054c9190613b44565b611465565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613b44565b611525565b6040516105879190613848565b60405180910390f35b34801561059c57600080fd5b506105a56115dd565b005b3480156105b357600080fd5b506105ce60048036038101906105c991906139ff565b611665565b005b3480156105dc57600080fd5b506105e561180d565b6040516105f291906139b8565b60405180910390f35b34801561060757600080fd5b50610610611837565b60405161061d91906138fc565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613b9d565b6118c9565b005b34801561065b57600080fd5b5061067660048036038101906106719190613c33565b611a4a565b6040516106839190613814565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613dc3565b611b27565b005b3480156106c157600080fd5b506106ca611b89565b6040516106d79190613848565b60405180910390f35b3480156106ec57600080fd5b506107076004803603810190610702919061394a565b611b8f565b60405161071491906138fc565b60405180910390f35b61073760048036038101906107329190613e46565b611c36565b005b34801561074557600080fd5b5061074e611f66565b60405161075b9190613848565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190613ea6565b611f6c565b6040516107989190613814565b60405180910390f35b3480156107ad57600080fd5b506107b6612000565b6040516107c39190613814565b60405180910390f35b3480156107d857600080fd5b506107e1612013565b005b3480156107ef57600080fd5b5061080a60048036038101906108059190613b44565b6120bb565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087f575061087e826121b3565b5b9050919050565b600d5481565b60606000805461089b90613f15565b80601f01602080910402602001604051908101604052809291908181526020018280546108c790613f15565b80156109145780601f106108e957610100808354040283529160200191610914565b820191906000526020600020905b8154815290600101906020018083116108f757829003601f168201915b5050505050905090565b600061092982612295565b610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095f90613fb9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ae82611327565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a169061404b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a3e612301565b73ffffffffffffffffffffffffffffffffffffffff161480610a6d5750610a6c81610a67612301565b611f6c565b5b610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa3906140dd565b60405180910390fd5b610ab68383612309565b505050565b6000600880549050905090565b601160019054906101000a900460ff1681565b610aec610ae6612301565b826123c2565b610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b229061416f565b60405180910390fd5b610b368383836124a0565b505050565b6000610b4683611525565b8210610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e90614201565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610be8612301565b73ffffffffffffffffffffffffffffffffffffffff16610c0661180d565b73ffffffffffffffffffffffffffffffffffffffff1614610c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c539061426d565b60405180910390fd5b8181600b9190610c6d9291906136bd565b505050565b600f5481565b610c80612301565b73ffffffffffffffffffffffffffffffffffffffff16610c9e61180d565b73ffffffffffffffffffffffffffffffffffffffff1614610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb9061426d565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550601160019054906101000a900460ff1615610d5e57601160019054906101000a900460ff1615601160016101000a81548160ff0219169083151502179055505b565b610d68612301565b73ffffffffffffffffffffffffffffffffffffffff16610d8661180d565b73ffffffffffffffffffffffffffffffffffffffff1614610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd39061426d565b60405180910390fd5b60004790506000610e0a6064610dfc601e856126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610e356064610e276014866126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610e606064610e52600f876126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610e8b6064610e7d600f886126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610eb66064610ea86005896126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610ee16064610ed360058a6126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610f0c6064610efe60058b6126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610f376064610f2960058c6126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8a9081150290604051600060405180830381858888f19350505050905080610f9e57600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f1935050505090508061100157600080fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f1935050505090508061106457600080fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050509050806110c757600080fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f1935050505090508061112a57600080fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505090508061118d57600080fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050509050806111f057600080fd5b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505090508061125357600080fd5b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d8a6040516112829190613848565b60405180910390a150505050505050505050565b6112b183838360405180602001604052806000815250611b27565b505050565b60006112c0610abb565b8210611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f8906142ff565b60405180910390fd5b600882815481106113155761131461431f565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c7906143c0565b60405180910390fd5b80915050919050565b600c5481565b6113e7612301565b73ffffffffffffffffffffffffffffffffffffffff1661140561180d565b73ffffffffffffffffffffffffffffffffffffffff161461145b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114529061426d565b60405180910390fd5b80600f8190555050565b61146d612301565b73ffffffffffffffffffffffffffffffffffffffff1661148b61180d565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d89061426d565b60405180910390fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158d90614452565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115e5612301565b73ffffffffffffffffffffffffffffffffffffffff1661160361180d565b73ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116509061426d565b60405180910390fd5b6116636000612728565b565b61166d612301565b73ffffffffffffffffffffffffffffffffffffffff1661168b61180d565b73ffffffffffffffffffffffffffffffffffffffff16146116e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d89061426d565b60405180910390fd5b60008111611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b906144e4565b60405180910390fd5b600061173b826010546127ee90919063ffffffff16565b101561177c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177390614576565b60405180910390fd5b60005b818110156117cf576117a4836001611795610abb565b61179f91906145c5565b612804565b601060008154809291906117b79061461b565b919050555080806117c790614645565b91505061177f565b507f1a75c98f3caa5c596c30e5e4c83e0802685273950677d98a322c514a03b05b57828260405161180192919061468e565b60405180910390a15050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461184690613f15565b80601f016020809104026020016040519081016040528092919081815260200182805461187290613f15565b80156118bf5780601f10611894576101008083540402835291602001916118bf565b820191906000526020600020905b8154815290600101906020018083116118a257829003601f168201915b5050505050905090565b6118d1612301565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561193f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193690614703565b60405180910390fd5b806005600061194c612301565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119f9612301565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a3e9190613814565b60405180910390a35050565b60008084604051602001611a5e919061476b565b604051602081830303815290604052805190602001209050611acd84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508261282290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b611b38611b32612301565b836123c2565b611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e9061416f565b60405180910390fd5b611b8384848484612849565b50505050565b600e5481565b6060611b9a82612295565b611bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd0906147f8565b60405180910390fd5b6000611be36128a5565b90506000815111611c035760405180602001604052806000815250611c2e565b80611c0d84612937565b604051602001611c1e929190614854565b6040516020818303038152906040525b915050919050565b601160009054906101000a900460ff1680611c5d5750601160019054906101000a900460ff165b611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c93906148ea565b60405180910390fd5b60008311611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd6906144e4565b60405180910390fd5b611cf6601054600f546127ee90919063ffffffff16565b611d1084611d02610abb565b612a9890919063ffffffff16565b1115611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d489061497c565b60405180910390fd5b600d54831115611d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8d90614a0e565b60405180910390fd5b611d9e61180d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eec57601160019054906101000a900460ff1615611e9557611df0338383611a4a565b611e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2690614a7a565b60405180910390fd5b6000611e3a33611525565b9050600e54611e528583612a9890919063ffffffff16565b1115611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a90614ae6565b60405180910390fd5b505b34611eab84600c546126fc90919063ffffffff16565b14611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614b52565b60405180910390fd5b5b60005b83811015611f2757611f14336001611f05610abb565b611f0f91906145c5565b612804565b8080611f1f90614645565b915050611eef565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853384604051611f5992919061468e565b60405180910390a1505050565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601160009054906101000a900460ff1681565b61201b612301565b73ffffffffffffffffffffffffffffffffffffffff1661203961180d565b73ffffffffffffffffffffffffffffffffffffffff161461208f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120869061426d565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6120c3612301565b73ffffffffffffffffffffffffffffffffffffffff166120e161180d565b73ffffffffffffffffffffffffffffffffffffffff1614612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e9061426d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e90614be4565b60405180910390fd5b6121b081612728565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061228e575061228d82612aae565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661237c83611327565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123cd82612295565b61240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390614c76565b60405180910390fd5b600061241783611327565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248657508373ffffffffffffffffffffffffffffffffffffffff1661246e8461091e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249757506124968185611f6c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c082611327565b73ffffffffffffffffffffffffffffffffffffffff1614612516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250d90614d08565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d90614d9a565b60405180910390fd5b612591838383612b18565b61259c600082612309565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ec9190614dba565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461264391906145c5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361270a9190614dee565b905092915050565b600081836127209190614e77565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836127fc9190614dba565b905092915050565b61281e828260405180602001604052806000815250612c2c565b5050565b60008060006128318585612c87565b9150915061283e81612d0a565b819250505092915050565b6128548484846124a0565b61286084848484612edf565b61289f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289690614f1a565b60405180910390fd5b50505050565b6060600b80546128b490613f15565b80601f01602080910402602001604051908101604052809291908181526020018280546128e090613f15565b801561292d5780601f106129025761010080835404028352916020019161292d565b820191906000526020600020905b81548152906001019060200180831161291057829003601f168201915b5050505050905090565b6060600082141561297f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a93565b600082905060005b600082146129b157808061299a90614645565b915050600a826129aa9190614e77565b9150612987565b60008167ffffffffffffffff8111156129cd576129cc613c98565b5b6040519080825280601f01601f1916602001820160405280156129ff5781602001600182028036833780820191505090505b5090505b60008514612a8c57600182612a189190614dba565b9150600a85612a279190614f3a565b6030612a3391906145c5565b60f81b818381518110612a4957612a4861431f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a859190614e77565b9450612a03565b8093505050505b919050565b60008183612aa691906145c5565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b23838383613076565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b6657612b618161307b565b612ba5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ba457612ba383826130c4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612be857612be381613231565b612c27565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c2657612c258282613302565b5b5b505050565b612c368383613381565b612c436000848484612edf565b612c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7990614f1a565b60405180910390fd5b505050565b600080604183511415612cc95760008060006020860151925060408601519150606086015160001a9050612cbd8782858561354f565b94509450505050612d03565b604083511415612cfa576000806020850151915060408501519050612cef86838361365c565b935093505050612d03565b60006002915091505b9250929050565b60006004811115612d1e57612d1d614f6b565b5b816004811115612d3157612d30614f6b565b5b1415612d3c57612edc565b60016004811115612d5057612d4f614f6b565b5b816004811115612d6357612d62614f6b565b5b1415612da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9b90614fe6565b60405180910390fd5b60026004811115612db857612db7614f6b565b5b816004811115612dcb57612dca614f6b565b5b1415612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0390615052565b60405180910390fd5b60036004811115612e2057612e1f614f6b565b5b816004811115612e3357612e32614f6b565b5b1415612e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6b906150e4565b60405180910390fd5b600480811115612e8757612e86614f6b565b5b816004811115612e9a57612e99614f6b565b5b1415612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed290615176565b60405180910390fd5b5b50565b6000612f008473ffffffffffffffffffffffffffffffffffffffff166136aa565b15613069578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f29612301565b8786866040518563ffffffff1660e01b8152600401612f4b94939291906151eb565b602060405180830381600087803b158015612f6557600080fd5b505af1925050508015612f9657506040513d601f19601f82011682018060405250810190612f93919061524c565b60015b613019573d8060008114612fc6576040519150601f19603f3d011682016040523d82523d6000602084013e612fcb565b606091505b50600081511415613011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300890614f1a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061306e565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130d184611525565b6130db9190614dba565b90506000600760008481526020019081526020016000205490508181146131c0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132459190614dba565b90506000600960008481526020019081526020016000205490506000600883815481106132755761327461431f565b5b9060005260206000200154905080600883815481106132975761329661431f565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132e6576132e5615279565b5b6001900381819060005260206000200160009055905550505050565b600061330d83611525565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e8906152f4565b60405180910390fd5b6133fa81612295565b1561343a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343190615360565b60405180910390fd5b61344660008383612b18565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461349691906145c5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561358a576000600391509150613653565b601b8560ff16141580156135a25750601c8560ff1614155b156135b4576000600491509150613653565b6000600187878787604051600081526020016040526040516135d994939291906153b5565b6020604051602081039080840390855afa1580156135fb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561364a57600060019250925050613653565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061369c8782888561354f565b935093505050935093915050565b600080823b905060008111915050919050565b8280546136c990613f15565b90600052602060002090601f0160209004810192826136eb5760008555613732565b82601f1061370457803560ff1916838001178555613732565b82800160010185558215613732579182015b82811115613731578235825591602001919060010190613716565b5b50905061373f9190613743565b5090565b5b8082111561375c576000816000905550600101613744565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137a981613774565b81146137b457600080fd5b50565b6000813590506137c6816137a0565b92915050565b6000602082840312156137e2576137e161376a565b5b60006137f0848285016137b7565b91505092915050565b60008115159050919050565b61380e816137f9565b82525050565b60006020820190506138296000830184613805565b92915050565b6000819050919050565b6138428161382f565b82525050565b600060208201905061385d6000830184613839565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561389d578082015181840152602081019050613882565b838111156138ac576000848401525b50505050565b6000601f19601f8301169050919050565b60006138ce82613863565b6138d8818561386e565b93506138e881856020860161387f565b6138f1816138b2565b840191505092915050565b6000602082019050818103600083015261391681846138c3565b905092915050565b6139278161382f565b811461393257600080fd5b50565b6000813590506139448161391e565b92915050565b6000602082840312156139605761395f61376a565b5b600061396e84828501613935565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139a282613977565b9050919050565b6139b281613997565b82525050565b60006020820190506139cd60008301846139a9565b92915050565b6139dc81613997565b81146139e757600080fd5b50565b6000813590506139f9816139d3565b92915050565b60008060408385031215613a1657613a1561376a565b5b6000613a24858286016139ea565b9250506020613a3585828601613935565b9150509250929050565b600080600060608486031215613a5857613a5761376a565b5b6000613a66868287016139ea565b9350506020613a77868287016139ea565b9250506040613a8886828701613935565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613ab757613ab6613a92565b5b8235905067ffffffffffffffff811115613ad457613ad3613a97565b5b602083019150836001820283011115613af057613aef613a9c565b5b9250929050565b60008060208385031215613b0e57613b0d61376a565b5b600083013567ffffffffffffffff811115613b2c57613b2b61376f565b5b613b3885828601613aa1565b92509250509250929050565b600060208284031215613b5a57613b5961376a565b5b6000613b68848285016139ea565b91505092915050565b613b7a816137f9565b8114613b8557600080fd5b50565b600081359050613b9781613b71565b92915050565b60008060408385031215613bb457613bb361376a565b5b6000613bc2858286016139ea565b9250506020613bd385828601613b88565b9150509250929050565b60008083601f840112613bf357613bf2613a92565b5b8235905067ffffffffffffffff811115613c1057613c0f613a97565b5b602083019150836001820283011115613c2c57613c2b613a9c565b5b9250929050565b600080600060408486031215613c4c57613c4b61376a565b5b6000613c5a868287016139ea565b935050602084013567ffffffffffffffff811115613c7b57613c7a61376f565b5b613c8786828701613bdd565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cd0826138b2565b810181811067ffffffffffffffff82111715613cef57613cee613c98565b5b80604052505050565b6000613d02613760565b9050613d0e8282613cc7565b919050565b600067ffffffffffffffff821115613d2e57613d2d613c98565b5b613d37826138b2565b9050602081019050919050565b82818337600083830152505050565b6000613d66613d6184613d13565b613cf8565b905082815260208101848484011115613d8257613d81613c93565b5b613d8d848285613d44565b509392505050565b600082601f830112613daa57613da9613a92565b5b8135613dba848260208601613d53565b91505092915050565b60008060008060808587031215613ddd57613ddc61376a565b5b6000613deb878288016139ea565b9450506020613dfc878288016139ea565b9350506040613e0d87828801613935565b925050606085013567ffffffffffffffff811115613e2e57613e2d61376f565b5b613e3a87828801613d95565b91505092959194509250565b600080600060408486031215613e5f57613e5e61376a565b5b6000613e6d86828701613935565b935050602084013567ffffffffffffffff811115613e8e57613e8d61376f565b5b613e9a86828701613bdd565b92509250509250925092565b60008060408385031215613ebd57613ebc61376a565b5b6000613ecb858286016139ea565b9250506020613edc858286016139ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f2d57607f821691505b60208210811415613f4157613f40613ee6565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fa3602c8361386e565b9150613fae82613f47565b604082019050919050565b60006020820190508181036000830152613fd281613f96565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061403560218361386e565b915061404082613fd9565b604082019050919050565b6000602082019050818103600083015261406481614028565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140c760388361386e565b91506140d28261406b565b604082019050919050565b600060208201905081810360008301526140f6816140ba565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061415960318361386e565b9150614164826140fd565b604082019050919050565b600060208201905081810360008301526141888161414c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141eb602b8361386e565b91506141f68261418f565b604082019050919050565b6000602082019050818103600083015261421a816141de565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061425760208361386e565b915061426282614221565b602082019050919050565b600060208201905081810360008301526142868161424a565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142e9602c8361386e565b91506142f48261428d565b604082019050919050565b60006020820190508181036000830152614318816142dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143aa60298361386e565b91506143b58261434e565b604082019050919050565b600060208201905081810360008301526143d98161439d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061443c602a8361386e565b9150614447826143e0565b604082019050919050565b6000602082019050818103600083015261446b8161442f565b9050919050565b7f4e756d626572206f6620746f6b656e732063616e206e6f74206265206c65737360008201527f207468616e206f7220657175616c20746f203000000000000000000000000000602082015250565b60006144ce60338361386e565b91506144d982614472565b604082019050919050565b600060208201905081810360008301526144fd816144c1565b9050919050565b7f507572636861736520776f756c6420657863656564206d6178696d756d206e7560008201527f6d626572206f662066726565206d696e74730000000000000000000000000000602082015250565b600061456060328361386e565b915061456b82614504565b604082019050919050565b6000602082019050818103600083015261458f81614553565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145d08261382f565b91506145db8361382f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146105761460f614596565b5b828201905092915050565b60006146268261382f565b9150600082141561463a57614639614596565b5b600182039050919050565b60006146508261382f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561468357614682614596565b5b600182019050919050565b60006040820190506146a360008301856139a9565b6146b06020830184613839565b9392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006146ed60198361386e565b91506146f8826146b7565b602082019050919050565b6000602082019050818103600083015261471c816146e0565b9050919050565b60008160601b9050919050565b600061473b82614723565b9050919050565b600061474d82614730565b9050919050565b61476561476082613997565b614742565b82525050565b60006147778284614754565b60148201915081905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147e2602f8361386e565b91506147ed82614786565b604082019050919050565b60006020820190508181036000830152614811816147d5565b9050919050565b600081905092915050565b600061482e82613863565b6148388185614818565b935061484881856020860161387f565b80840191505092915050565b60006148608285614823565b915061486c8284614823565b91508190509392505050565b7f53616c65206f722050726553616c65206973206e6f742061637469766520617460008201527f20746865206d6f6d656e74000000000000000000000000000000000000000000602082015250565b60006148d4602b8361386e565b91506148df82614878565b604082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662058797a7a79426f747300000000000000000000000000000000000000602082015250565b6000614966602d8361386e565b91506149718261490a565b604082019050919050565b6000602082019050818103600083015261499581614959565b9050919050565b7f43616e206f6e6c79206d696e7420757020746f2031302070657220707572636860008201527f6173650000000000000000000000000000000000000000000000000000000000602082015250565b60006149f860238361386e565b9150614a038261499c565b604082019050919050565b60006020820190508181036000830152614a27816149eb565b9050919050565b7f55736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b6000614a6460178361386e565b9150614a6f82614a2e565b602082019050919050565b60006020820190508181036000830152614a9381614a57565b9050919050565b7f4d6178204e465420706572206164647265737320657863656564656400000000600082015250565b6000614ad0601c8361386e565b9150614adb82614a9a565b602082019050919050565b60006020820190508181036000830152614aff81614ac3565b9050919050565b7f53656e742065746865722076616c756520697320696e636f7272656374000000600082015250565b6000614b3c601d8361386e565b9150614b4782614b06565b602082019050919050565b60006020820190508181036000830152614b6b81614b2f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bce60268361386e565b9150614bd982614b72565b604082019050919050565b60006020820190508181036000830152614bfd81614bc1565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c60602c8361386e565b9150614c6b82614c04565b604082019050919050565b60006020820190508181036000830152614c8f81614c53565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614cf260298361386e565b9150614cfd82614c96565b604082019050919050565b60006020820190508181036000830152614d2181614ce5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d8460248361386e565b9150614d8f82614d28565b604082019050919050565b60006020820190508181036000830152614db381614d77565b9050919050565b6000614dc58261382f565b9150614dd08361382f565b925082821015614de357614de2614596565b5b828203905092915050565b6000614df98261382f565b9150614e048361382f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e3d57614e3c614596565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e828261382f565b9150614e8d8361382f565b925082614e9d57614e9c614e48565b5b828204905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f0460328361386e565b9150614f0f82614ea8565b604082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b6000614f458261382f565b9150614f508361382f565b925082614f6057614f5f614e48565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614fd060188361386e565b9150614fdb82614f9a565b602082019050919050565b60006020820190508181036000830152614fff81614fc3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061503c601f8361386e565b915061504782615006565b602082019050919050565b6000602082019050818103600083015261506b8161502f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006150ce60228361386e565b91506150d982615072565b604082019050919050565b600060208201905081810360008301526150fd816150c1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061516060228361386e565b915061516b82615104565b604082019050919050565b6000602082019050818103600083015261518f81615153565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151bd82615196565b6151c781856151a1565b93506151d781856020860161387f565b6151e0816138b2565b840191505092915050565b600060808201905061520060008301876139a9565b61520d60208301866139a9565b61521a6040830185613839565b818103606083015261522c81846151b2565b905095945050505050565b600081519050615246816137a0565b92915050565b6000602082840312156152625761526161376a565b5b600061527084828501615237565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152de60208361386e565b91506152e9826152a8565b602082019050919050565b6000602082019050818103600083015261530d816152d1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061534a601c8361386e565b915061535582615314565b602082019050919050565b600060208201905081810360008301526153798161533d565b9050919050565b6000819050919050565b61539381615380565b82525050565b600060ff82169050919050565b6153af81615399565b82525050565b60006080820190506153ca600083018761538a565b6153d760208301866153a6565b6153e4604083018561538a565b6153f1606083018461538a565b9594505050505056fea2646970667358221220e95d3fbab275c885af51283c2cbf1fae16ebdb272134fcbb62374fab818851af64736f6c63430008090033697066733a2f2f62616679626569653237326b766279346d367065336170323574346f6e346735613370796473616c6e6e7575746c737a68776c78667236787a68792f

Deployed Bytecode

0x6080604052600436106102045760003560e01c80636f8b44b011610118578063b88d4fde116100a0578063e150007e1161006f578063e150007e14610739578063e985e9c514610764578063eb8d2444146107a1578063f0325549146107cc578063f2fde38b146107e357610204565b8063b88d4fde1461068c578063ba7d2c76146106b5578063c87b56dd146106e0578063db7fd4081461071d57610204565b806378cf19e9116100e757806378cf19e9146105a75780638da5cb5b146105d057806395d89b41146105fb578063a22cb46514610626578063a612232a1461064f57610204565b80636f8b44b014610501578063704b6c021461052a57806370a0823114610553578063715018a61461059057610204565b80632f745c591161019b5780633ccfd60b1161016a5780633ccfd60b1461042957806342842e0e146104335780634f6ccce71461045c5780636352211e14610499578063676dd563146104d657610204565b80632f745c591461038157806330176e13146103be57806332cb6b0c146103e757806334918dfd1461041257610204565b8063095ea7b3116101d7578063095ea7b3146102d957806318160ddd146103025780631f0234d81461032d57806323b872dd1461035857610204565b806301ffc9a714610209578063020b39cc1461024657806306fdde0314610271578063081812fc1461029c575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906137cc565b61080c565b60405161023d9190613814565b60405180910390f35b34801561025257600080fd5b5061025b610886565b6040516102689190613848565b60405180910390f35b34801561027d57600080fd5b5061028661088c565b60405161029391906138fc565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be919061394a565b61091e565b6040516102d091906139b8565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb91906139ff565b6109a3565b005b34801561030e57600080fd5b50610317610abb565b6040516103249190613848565b60405180910390f35b34801561033957600080fd5b50610342610ac8565b60405161034f9190613814565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613a3f565b610adb565b005b34801561038d57600080fd5b506103a860048036038101906103a391906139ff565b610b3b565b6040516103b59190613848565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e09190613af7565b610be0565b005b3480156103f357600080fd5b506103fc610c72565b6040516104099190613848565b60405180910390f35b34801561041e57600080fd5b50610427610c78565b005b610431610d60565b005b34801561043f57600080fd5b5061045a60048036038101906104559190613a3f565b611296565b005b34801561046857600080fd5b50610483600480360381019061047e919061394a565b6112b6565b6040516104909190613848565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb919061394a565b611327565b6040516104cd91906139b8565b60405180910390f35b3480156104e257600080fd5b506104eb6113d9565b6040516104f89190613848565b60405180910390f35b34801561050d57600080fd5b506105286004803603810190610523919061394a565b6113df565b005b34801561053657600080fd5b50610551600480360381019061054c9190613b44565b611465565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613b44565b611525565b6040516105879190613848565b60405180910390f35b34801561059c57600080fd5b506105a56115dd565b005b3480156105b357600080fd5b506105ce60048036038101906105c991906139ff565b611665565b005b3480156105dc57600080fd5b506105e561180d565b6040516105f291906139b8565b60405180910390f35b34801561060757600080fd5b50610610611837565b60405161061d91906138fc565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613b9d565b6118c9565b005b34801561065b57600080fd5b5061067660048036038101906106719190613c33565b611a4a565b6040516106839190613814565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613dc3565b611b27565b005b3480156106c157600080fd5b506106ca611b89565b6040516106d79190613848565b60405180910390f35b3480156106ec57600080fd5b506107076004803603810190610702919061394a565b611b8f565b60405161071491906138fc565b60405180910390f35b61073760048036038101906107329190613e46565b611c36565b005b34801561074557600080fd5b5061074e611f66565b60405161075b9190613848565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190613ea6565b611f6c565b6040516107989190613814565b60405180910390f35b3480156107ad57600080fd5b506107b6612000565b6040516107c39190613814565b60405180910390f35b3480156107d857600080fd5b506107e1612013565b005b3480156107ef57600080fd5b5061080a60048036038101906108059190613b44565b6120bb565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087f575061087e826121b3565b5b9050919050565b600d5481565b60606000805461089b90613f15565b80601f01602080910402602001604051908101604052809291908181526020018280546108c790613f15565b80156109145780601f106108e957610100808354040283529160200191610914565b820191906000526020600020905b8154815290600101906020018083116108f757829003601f168201915b5050505050905090565b600061092982612295565b610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095f90613fb9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ae82611327565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a169061404b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a3e612301565b73ffffffffffffffffffffffffffffffffffffffff161480610a6d5750610a6c81610a67612301565b611f6c565b5b610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa3906140dd565b60405180910390fd5b610ab68383612309565b505050565b6000600880549050905090565b601160019054906101000a900460ff1681565b610aec610ae6612301565b826123c2565b610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b229061416f565b60405180910390fd5b610b368383836124a0565b505050565b6000610b4683611525565b8210610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e90614201565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610be8612301565b73ffffffffffffffffffffffffffffffffffffffff16610c0661180d565b73ffffffffffffffffffffffffffffffffffffffff1614610c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c539061426d565b60405180910390fd5b8181600b9190610c6d9291906136bd565b505050565b600f5481565b610c80612301565b73ffffffffffffffffffffffffffffffffffffffff16610c9e61180d565b73ffffffffffffffffffffffffffffffffffffffff1614610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb9061426d565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550601160019054906101000a900460ff1615610d5e57601160019054906101000a900460ff1615601160016101000a81548160ff0219169083151502179055505b565b610d68612301565b73ffffffffffffffffffffffffffffffffffffffff16610d8661180d565b73ffffffffffffffffffffffffffffffffffffffff1614610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd39061426d565b60405180910390fd5b60004790506000610e0a6064610dfc601e856126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610e356064610e276014866126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610e606064610e52600f876126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610e8b6064610e7d600f886126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610eb66064610ea86005896126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610ee16064610ed360058a6126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610f0c6064610efe60058b6126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000610f376064610f2960058c6126fc90919063ffffffff16565b61271290919063ffffffff16565b90506000601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8a9081150290604051600060405180830381858888f19350505050905080610f9e57600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f1935050505090508061100157600080fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f1935050505090508061106457600080fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050509050806110c757600080fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f1935050505090508061112a57600080fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505090508061118d57600080fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050509050806111f057600080fd5b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505090508061125357600080fd5b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d8a6040516112829190613848565b60405180910390a150505050505050505050565b6112b183838360405180602001604052806000815250611b27565b505050565b60006112c0610abb565b8210611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f8906142ff565b60405180910390fd5b600882815481106113155761131461431f565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c7906143c0565b60405180910390fd5b80915050919050565b600c5481565b6113e7612301565b73ffffffffffffffffffffffffffffffffffffffff1661140561180d565b73ffffffffffffffffffffffffffffffffffffffff161461145b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114529061426d565b60405180910390fd5b80600f8190555050565b61146d612301565b73ffffffffffffffffffffffffffffffffffffffff1661148b61180d565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d89061426d565b60405180910390fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158d90614452565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115e5612301565b73ffffffffffffffffffffffffffffffffffffffff1661160361180d565b73ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116509061426d565b60405180910390fd5b6116636000612728565b565b61166d612301565b73ffffffffffffffffffffffffffffffffffffffff1661168b61180d565b73ffffffffffffffffffffffffffffffffffffffff16146116e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d89061426d565b60405180910390fd5b60008111611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b906144e4565b60405180910390fd5b600061173b826010546127ee90919063ffffffff16565b101561177c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177390614576565b60405180910390fd5b60005b818110156117cf576117a4836001611795610abb565b61179f91906145c5565b612804565b601060008154809291906117b79061461b565b919050555080806117c790614645565b91505061177f565b507f1a75c98f3caa5c596c30e5e4c83e0802685273950677d98a322c514a03b05b57828260405161180192919061468e565b60405180910390a15050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461184690613f15565b80601f016020809104026020016040519081016040528092919081815260200182805461187290613f15565b80156118bf5780601f10611894576101008083540402835291602001916118bf565b820191906000526020600020905b8154815290600101906020018083116118a257829003601f168201915b5050505050905090565b6118d1612301565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561193f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193690614703565b60405180910390fd5b806005600061194c612301565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119f9612301565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a3e9190613814565b60405180910390a35050565b60008084604051602001611a5e919061476b565b604051602081830303815290604052805190602001209050611acd84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508261282290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b611b38611b32612301565b836123c2565b611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e9061416f565b60405180910390fd5b611b8384848484612849565b50505050565b600e5481565b6060611b9a82612295565b611bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd0906147f8565b60405180910390fd5b6000611be36128a5565b90506000815111611c035760405180602001604052806000815250611c2e565b80611c0d84612937565b604051602001611c1e929190614854565b6040516020818303038152906040525b915050919050565b601160009054906101000a900460ff1680611c5d5750601160019054906101000a900460ff165b611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c93906148ea565b60405180910390fd5b60008311611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd6906144e4565b60405180910390fd5b611cf6601054600f546127ee90919063ffffffff16565b611d1084611d02610abb565b612a9890919063ffffffff16565b1115611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d489061497c565b60405180910390fd5b600d54831115611d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8d90614a0e565b60405180910390fd5b611d9e61180d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eec57601160019054906101000a900460ff1615611e9557611df0338383611a4a565b611e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2690614a7a565b60405180910390fd5b6000611e3a33611525565b9050600e54611e528583612a9890919063ffffffff16565b1115611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a90614ae6565b60405180910390fd5b505b34611eab84600c546126fc90919063ffffffff16565b14611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614b52565b60405180910390fd5b5b60005b83811015611f2757611f14336001611f05610abb565b611f0f91906145c5565b612804565b8080611f1f90614645565b915050611eef565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853384604051611f5992919061468e565b60405180910390a1505050565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601160009054906101000a900460ff1681565b61201b612301565b73ffffffffffffffffffffffffffffffffffffffff1661203961180d565b73ffffffffffffffffffffffffffffffffffffffff161461208f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120869061426d565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6120c3612301565b73ffffffffffffffffffffffffffffffffffffffff166120e161180d565b73ffffffffffffffffffffffffffffffffffffffff1614612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e9061426d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e90614be4565b60405180910390fd5b6121b081612728565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061228e575061228d82612aae565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661237c83611327565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123cd82612295565b61240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390614c76565b60405180910390fd5b600061241783611327565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248657508373ffffffffffffffffffffffffffffffffffffffff1661246e8461091e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249757506124968185611f6c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c082611327565b73ffffffffffffffffffffffffffffffffffffffff1614612516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250d90614d08565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d90614d9a565b60405180910390fd5b612591838383612b18565b61259c600082612309565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ec9190614dba565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461264391906145c5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361270a9190614dee565b905092915050565b600081836127209190614e77565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836127fc9190614dba565b905092915050565b61281e828260405180602001604052806000815250612c2c565b5050565b60008060006128318585612c87565b9150915061283e81612d0a565b819250505092915050565b6128548484846124a0565b61286084848484612edf565b61289f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289690614f1a565b60405180910390fd5b50505050565b6060600b80546128b490613f15565b80601f01602080910402602001604051908101604052809291908181526020018280546128e090613f15565b801561292d5780601f106129025761010080835404028352916020019161292d565b820191906000526020600020905b81548152906001019060200180831161291057829003601f168201915b5050505050905090565b6060600082141561297f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a93565b600082905060005b600082146129b157808061299a90614645565b915050600a826129aa9190614e77565b9150612987565b60008167ffffffffffffffff8111156129cd576129cc613c98565b5b6040519080825280601f01601f1916602001820160405280156129ff5781602001600182028036833780820191505090505b5090505b60008514612a8c57600182612a189190614dba565b9150600a85612a279190614f3a565b6030612a3391906145c5565b60f81b818381518110612a4957612a4861431f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a859190614e77565b9450612a03565b8093505050505b919050565b60008183612aa691906145c5565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b23838383613076565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b6657612b618161307b565b612ba5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ba457612ba383826130c4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612be857612be381613231565b612c27565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c2657612c258282613302565b5b5b505050565b612c368383613381565b612c436000848484612edf565b612c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7990614f1a565b60405180910390fd5b505050565b600080604183511415612cc95760008060006020860151925060408601519150606086015160001a9050612cbd8782858561354f565b94509450505050612d03565b604083511415612cfa576000806020850151915060408501519050612cef86838361365c565b935093505050612d03565b60006002915091505b9250929050565b60006004811115612d1e57612d1d614f6b565b5b816004811115612d3157612d30614f6b565b5b1415612d3c57612edc565b60016004811115612d5057612d4f614f6b565b5b816004811115612d6357612d62614f6b565b5b1415612da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9b90614fe6565b60405180910390fd5b60026004811115612db857612db7614f6b565b5b816004811115612dcb57612dca614f6b565b5b1415612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0390615052565b60405180910390fd5b60036004811115612e2057612e1f614f6b565b5b816004811115612e3357612e32614f6b565b5b1415612e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6b906150e4565b60405180910390fd5b600480811115612e8757612e86614f6b565b5b816004811115612e9a57612e99614f6b565b5b1415612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed290615176565b60405180910390fd5b5b50565b6000612f008473ffffffffffffffffffffffffffffffffffffffff166136aa565b15613069578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f29612301565b8786866040518563ffffffff1660e01b8152600401612f4b94939291906151eb565b602060405180830381600087803b158015612f6557600080fd5b505af1925050508015612f9657506040513d601f19601f82011682018060405250810190612f93919061524c565b60015b613019573d8060008114612fc6576040519150601f19603f3d011682016040523d82523d6000602084013e612fcb565b606091505b50600081511415613011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300890614f1a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061306e565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130d184611525565b6130db9190614dba565b90506000600760008481526020019081526020016000205490508181146131c0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132459190614dba565b90506000600960008481526020019081526020016000205490506000600883815481106132755761327461431f565b5b9060005260206000200154905080600883815481106132975761329661431f565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132e6576132e5615279565b5b6001900381819060005260206000200160009055905550505050565b600061330d83611525565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e8906152f4565b60405180910390fd5b6133fa81612295565b1561343a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343190615360565b60405180910390fd5b61344660008383612b18565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461349691906145c5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561358a576000600391509150613653565b601b8560ff16141580156135a25750601c8560ff1614155b156135b4576000600491509150613653565b6000600187878787604051600081526020016040526040516135d994939291906153b5565b6020604051602081039080840390855afa1580156135fb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561364a57600060019250925050613653565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061369c8782888561354f565b935093505050935093915050565b600080823b905060008111915050919050565b8280546136c990613f15565b90600052602060002090601f0160209004810192826136eb5760008555613732565b82601f1061370457803560ff1916838001178555613732565b82800160010185558215613732579182015b82811115613731578235825591602001919060010190613716565b5b50905061373f9190613743565b5090565b5b8082111561375c576000816000905550600101613744565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137a981613774565b81146137b457600080fd5b50565b6000813590506137c6816137a0565b92915050565b6000602082840312156137e2576137e161376a565b5b60006137f0848285016137b7565b91505092915050565b60008115159050919050565b61380e816137f9565b82525050565b60006020820190506138296000830184613805565b92915050565b6000819050919050565b6138428161382f565b82525050565b600060208201905061385d6000830184613839565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561389d578082015181840152602081019050613882565b838111156138ac576000848401525b50505050565b6000601f19601f8301169050919050565b60006138ce82613863565b6138d8818561386e565b93506138e881856020860161387f565b6138f1816138b2565b840191505092915050565b6000602082019050818103600083015261391681846138c3565b905092915050565b6139278161382f565b811461393257600080fd5b50565b6000813590506139448161391e565b92915050565b6000602082840312156139605761395f61376a565b5b600061396e84828501613935565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139a282613977565b9050919050565b6139b281613997565b82525050565b60006020820190506139cd60008301846139a9565b92915050565b6139dc81613997565b81146139e757600080fd5b50565b6000813590506139f9816139d3565b92915050565b60008060408385031215613a1657613a1561376a565b5b6000613a24858286016139ea565b9250506020613a3585828601613935565b9150509250929050565b600080600060608486031215613a5857613a5761376a565b5b6000613a66868287016139ea565b9350506020613a77868287016139ea565b9250506040613a8886828701613935565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613ab757613ab6613a92565b5b8235905067ffffffffffffffff811115613ad457613ad3613a97565b5b602083019150836001820283011115613af057613aef613a9c565b5b9250929050565b60008060208385031215613b0e57613b0d61376a565b5b600083013567ffffffffffffffff811115613b2c57613b2b61376f565b5b613b3885828601613aa1565b92509250509250929050565b600060208284031215613b5a57613b5961376a565b5b6000613b68848285016139ea565b91505092915050565b613b7a816137f9565b8114613b8557600080fd5b50565b600081359050613b9781613b71565b92915050565b60008060408385031215613bb457613bb361376a565b5b6000613bc2858286016139ea565b9250506020613bd385828601613b88565b9150509250929050565b60008083601f840112613bf357613bf2613a92565b5b8235905067ffffffffffffffff811115613c1057613c0f613a97565b5b602083019150836001820283011115613c2c57613c2b613a9c565b5b9250929050565b600080600060408486031215613c4c57613c4b61376a565b5b6000613c5a868287016139ea565b935050602084013567ffffffffffffffff811115613c7b57613c7a61376f565b5b613c8786828701613bdd565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cd0826138b2565b810181811067ffffffffffffffff82111715613cef57613cee613c98565b5b80604052505050565b6000613d02613760565b9050613d0e8282613cc7565b919050565b600067ffffffffffffffff821115613d2e57613d2d613c98565b5b613d37826138b2565b9050602081019050919050565b82818337600083830152505050565b6000613d66613d6184613d13565b613cf8565b905082815260208101848484011115613d8257613d81613c93565b5b613d8d848285613d44565b509392505050565b600082601f830112613daa57613da9613a92565b5b8135613dba848260208601613d53565b91505092915050565b60008060008060808587031215613ddd57613ddc61376a565b5b6000613deb878288016139ea565b9450506020613dfc878288016139ea565b9350506040613e0d87828801613935565b925050606085013567ffffffffffffffff811115613e2e57613e2d61376f565b5b613e3a87828801613d95565b91505092959194509250565b600080600060408486031215613e5f57613e5e61376a565b5b6000613e6d86828701613935565b935050602084013567ffffffffffffffff811115613e8e57613e8d61376f565b5b613e9a86828701613bdd565b92509250509250925092565b60008060408385031215613ebd57613ebc61376a565b5b6000613ecb858286016139ea565b9250506020613edc858286016139ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f2d57607f821691505b60208210811415613f4157613f40613ee6565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fa3602c8361386e565b9150613fae82613f47565b604082019050919050565b60006020820190508181036000830152613fd281613f96565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061403560218361386e565b915061404082613fd9565b604082019050919050565b6000602082019050818103600083015261406481614028565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140c760388361386e565b91506140d28261406b565b604082019050919050565b600060208201905081810360008301526140f6816140ba565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061415960318361386e565b9150614164826140fd565b604082019050919050565b600060208201905081810360008301526141888161414c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141eb602b8361386e565b91506141f68261418f565b604082019050919050565b6000602082019050818103600083015261421a816141de565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061425760208361386e565b915061426282614221565b602082019050919050565b600060208201905081810360008301526142868161424a565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142e9602c8361386e565b91506142f48261428d565b604082019050919050565b60006020820190508181036000830152614318816142dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143aa60298361386e565b91506143b58261434e565b604082019050919050565b600060208201905081810360008301526143d98161439d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061443c602a8361386e565b9150614447826143e0565b604082019050919050565b6000602082019050818103600083015261446b8161442f565b9050919050565b7f4e756d626572206f6620746f6b656e732063616e206e6f74206265206c65737360008201527f207468616e206f7220657175616c20746f203000000000000000000000000000602082015250565b60006144ce60338361386e565b91506144d982614472565b604082019050919050565b600060208201905081810360008301526144fd816144c1565b9050919050565b7f507572636861736520776f756c6420657863656564206d6178696d756d206e7560008201527f6d626572206f662066726565206d696e74730000000000000000000000000000602082015250565b600061456060328361386e565b915061456b82614504565b604082019050919050565b6000602082019050818103600083015261458f81614553565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145d08261382f565b91506145db8361382f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146105761460f614596565b5b828201905092915050565b60006146268261382f565b9150600082141561463a57614639614596565b5b600182039050919050565b60006146508261382f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561468357614682614596565b5b600182019050919050565b60006040820190506146a360008301856139a9565b6146b06020830184613839565b9392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006146ed60198361386e565b91506146f8826146b7565b602082019050919050565b6000602082019050818103600083015261471c816146e0565b9050919050565b60008160601b9050919050565b600061473b82614723565b9050919050565b600061474d82614730565b9050919050565b61476561476082613997565b614742565b82525050565b60006147778284614754565b60148201915081905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147e2602f8361386e565b91506147ed82614786565b604082019050919050565b60006020820190508181036000830152614811816147d5565b9050919050565b600081905092915050565b600061482e82613863565b6148388185614818565b935061484881856020860161387f565b80840191505092915050565b60006148608285614823565b915061486c8284614823565b91508190509392505050565b7f53616c65206f722050726553616c65206973206e6f742061637469766520617460008201527f20746865206d6f6d656e74000000000000000000000000000000000000000000602082015250565b60006148d4602b8361386e565b91506148df82614878565b604082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662058797a7a79426f747300000000000000000000000000000000000000602082015250565b6000614966602d8361386e565b91506149718261490a565b604082019050919050565b6000602082019050818103600083015261499581614959565b9050919050565b7f43616e206f6e6c79206d696e7420757020746f2031302070657220707572636860008201527f6173650000000000000000000000000000000000000000000000000000000000602082015250565b60006149f860238361386e565b9150614a038261499c565b604082019050919050565b60006020820190508181036000830152614a27816149eb565b9050919050565b7f55736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b6000614a6460178361386e565b9150614a6f82614a2e565b602082019050919050565b60006020820190508181036000830152614a9381614a57565b9050919050565b7f4d6178204e465420706572206164647265737320657863656564656400000000600082015250565b6000614ad0601c8361386e565b9150614adb82614a9a565b602082019050919050565b60006020820190508181036000830152614aff81614ac3565b9050919050565b7f53656e742065746865722076616c756520697320696e636f7272656374000000600082015250565b6000614b3c601d8361386e565b9150614b4782614b06565b602082019050919050565b60006020820190508181036000830152614b6b81614b2f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bce60268361386e565b9150614bd982614b72565b604082019050919050565b60006020820190508181036000830152614bfd81614bc1565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c60602c8361386e565b9150614c6b82614c04565b604082019050919050565b60006020820190508181036000830152614c8f81614c53565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614cf260298361386e565b9150614cfd82614c96565b604082019050919050565b60006020820190508181036000830152614d2181614ce5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d8460248361386e565b9150614d8f82614d28565b604082019050919050565b60006020820190508181036000830152614db381614d77565b9050919050565b6000614dc58261382f565b9150614dd08361382f565b925082821015614de357614de2614596565b5b828203905092915050565b6000614df98261382f565b9150614e048361382f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e3d57614e3c614596565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e828261382f565b9150614e8d8361382f565b925082614e9d57614e9c614e48565b5b828204905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f0460328361386e565b9150614f0f82614ea8565b604082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b6000614f458261382f565b9150614f508361382f565b925082614f6057614f5f614e48565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614fd060188361386e565b9150614fdb82614f9a565b602082019050919050565b60006020820190508181036000830152614fff81614fc3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061503c601f8361386e565b915061504782615006565b602082019050919050565b6000602082019050818103600083015261506b8161502f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006150ce60228361386e565b91506150d982615072565b604082019050919050565b600060208201905081810360008301526150fd816150c1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061516060228361386e565b915061516b82615104565b604082019050919050565b6000602082019050818103600083015261518f81615153565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151bd82615196565b6151c781856151a1565b93506151d781856020860161387f565b6151e0816138b2565b840191505092915050565b600060808201905061520060008301876139a9565b61520d60208301866139a9565b61521a6040830185613839565b818103606083015261522c81846151b2565b905095945050505050565b600081519050615246816137a0565b92915050565b6000602082840312156152625761526161376a565b5b600061527084828501615237565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152de60208361386e565b91506152e9826152a8565b602082019050919050565b6000602082019050818103600083015261530d816152d1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061534a601c8361386e565b915061535582615314565b602082019050919050565b600060208201905081810360008301526153798161533d565b9050919050565b6000819050919050565b61539381615380565b82525050565b600060ff82169050919050565b6153af81615399565b82525050565b60006080820190506153ca600083018761538a565b6153d760208301866153a6565b6153e4604083018561538a565b6153f1606083018461538a565b9594505050505056fea2646970667358221220e95d3fbab275c885af51283c2cbf1fae16ebdb272134fcbb62374fab818851af64736f6c63430008090033

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.