ETH Price: $2,977.65 (+1.97%)
Gas: 2 Gwei

Moonkys (MOONK)
 

Overview

TokenID

7525

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A collection of 9000 Moonkys. All different, all endearing, from the jungle to the moon and beyond.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Moonkys

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

pragma solidity >0.8.2;

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

//  __  __  ___   ___  _   _ _  ____   ______
// |  \/  |/ _ \ / _ \| \ | | |/ /\ \ / / ___|
// | |\/| | | | | | | |  \| | ' /  \ V /\___ \
// | |  | | |_| | |_| | |\  | . \   | |  ___) |
// |_|  |_|\___/ \___/|_| \_|_|\_\  |_| |____/

contract Moonkys is ERC721Enumerable, Ownable, Pausable {
    using Strings for uint256;
    using SafeMath for uint256;

    address t1 = 0x94f65107EB422c67E61588682Fcf9D85AaC940B8;  //qu
    address t2 = 0x4C96256FD81F6fcd3110694e416ea203AeCea720;  //ek
    address t3 = 0x40a764a31d30C5FD62294A19861612A036F59943;  //mo
    address t4 = 0x5D2EebAddCD11E72F4672bFBaE23200514F49b11;  //en

    address private _importantAddress = 0x3f0E5e69982FBF8Bc05cBCeEcBC90A938E9B9aB6;

    mapping(address => bool) private _usedPresaleAddress;

    mapping (uint256 => string) private _tokenURIs;

    string private _baseURIextended;

    uint256 private _price = 0.04 ether;

    bool private _public_paused = true;
    bool private _presale_paused = true;

    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdentifiers;

    uint256 private _reserved = 130;
    uint256 public constant MAX_SUPPLY = 9000;

    constructor() ERC721("Moonkys", "MOONK") {
        _baseURIextended = "https://api.moonkys.art/meta/";
        super._pause();
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable)  returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function adopt(uint256 num) public payable whenNotPaused {
        uint256 supply = totalSupply();
        require(!_public_paused, "Public sale paused");
        require(num < 6, "You can adopt a maximum of 5 Moonkys");
        require(supply.add(num) <= MAX_SUPPLY - _reserved, "Exceeds maximum Moonkys supply");
        require(msg.value >= _price * num, "Ether sent is not correct");

        for(uint256 i; i < num; i++){
            _tokenIdentifiers.increment();
            uint256 newRECIdentifier = _tokenIdentifiers.current();
            _safeMint(msg.sender, newRECIdentifier);
        }
    }

    function presale(uint256 num, uint256 _total, bool _presale, bytes memory sig) public payable whenNotPaused {
        require(!_presale_paused, "Presale paused");
        require(!_usedPresaleAddress[msg.sender], "Presale Address already used!");

        string memory wallet = toAsciiString(msg.sender);
        require(isValidSignature(wallet, _total, _presale, sig) == true, "Invalid signature!");
        require(num <= _total, "Maximum reached!");

        uint256 supply = totalSupply();
        require(supply.add(num) <= MAX_SUPPLY - _reserved, "Exceeds maximum Moonkys supply");
        require(msg.value >= _price * num, "Ether sent is not correct");

        for(uint256 i; i < num; i++){
            _tokenIdentifiers.increment();
            uint256 newRECIdentifier = _tokenIdentifiers.current();
            _safeMint(msg.sender, newRECIdentifier);
        }
        _usedPresaleAddress[msg.sender] = true;
    }

    function giveAway(address _to, uint256 _amount) public whenNotPaused{
        require(t1 == _msgSender() || t2 == _msgSender() || t3 == _msgSender() || t4 == _msgSender(), "Caller is not part of the team!");
        require(_amount <= _reserved, "That would exceed the max reserved!");

        for (uint i = 0; i < _amount; i++) {
            _tokenIdentifiers.increment();
            uint256 newRECIdentifier = _tokenIdentifiers.current();
            _safeMint(_to, newRECIdentifier);
        }
       _reserved = _reserved.sub(_amount);
    }

    function getNFTBalance(address _owner) public view returns (uint256) {
       return ERC721.balanceOf(_owner);
    }

    function withdraw() public {
        require(t1 == _msgSender() || t2 == _msgSender() || t3 == _msgSender() || t4 == _msgSender(), "Caller is not part of the team!");

        uint256 balance = address(this).balance;
        uint256 balanceT1 = balance.mul(25).div(100);
        uint256 balanceT2 = balance.sub(balanceT1.mul(3));

        address payable t1Address = payable(t1);
        address payable t2Address = payable(t2);
        address payable t3Address = payable(t3);
        address payable t4Address = payable(t4);

        t1Address.transfer(balanceT1);
        t2Address.transfer(balanceT1);
        t3Address.transfer(balanceT1);
        t4Address.transfer(balanceT2);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        if (bytes(base).length == 0) {
            return _tokenURI;
        }

        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseURIextended;
    }

    function setBaseURI(string memory baseURI_) external onlyOwner() {
        _baseURIextended = baseURI_;
    }

    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    function setPrice(uint256 _newPrice) public onlyOwner() {
        _price = _newPrice;
    }

    function getPrice() public view returns (uint256){
        return _price;
    }

    function pause() external virtual onlyOwner() {
        super._pause();
    }

    function unpause() external virtual onlyOwner() {
        super._unpause();
    }

    function publicPause() public onlyOwner {
        _public_paused = true;
    }

    function publicUnpause() public onlyOwner {
        _public_paused = false;
    }

    function presalePause() public onlyOwner {
        _presale_paused = true;
    }

    function presaleUnpause() public onlyOwner {
        _presale_paused = false;
    }

    function isPresaleClaimed(address _address) public view returns(bool) {
        if( _usedPresaleAddress[_address] == true ) {
            return true;
        } else {
            return false;
        }
    }

    function setImportantAddress(address importantAddress) public onlyOwner() {
        _importantAddress = importantAddress;
    }

    function isValidSignature(string memory _wallet, uint256 _total, bool _presale, bytes memory sig) internal view returns(bool) {
       bytes32 message = keccak256(abi.encodePacked(_wallet, _total, _presale));
       return (recoverSigner(message, sig) == _importantAddress);
    }

    function recoverSigner(bytes32 message, bytes memory sig) internal pure returns (address) {
       uint8 v;
       bytes32 r;
       bytes32 s;
       (v, r, s) = splitSignature(sig);
       return ecrecover(message, v, r, s);
    }

    function splitSignature(bytes memory sig) internal pure returns (uint8, bytes32, bytes32) {
        require(sig.length == 65);
        bytes32 r;
        bytes32 s;
        uint8 v;
        assembly {
            r := mload(add(sig, 32))

            s := mload(add(sig, 64))

            v := byte(0, mload(add(sig, 96)))
        }
        return (v, r, s);
    }

    function toAsciiString(address x) internal pure returns (string memory) {
        bytes memory s = new bytes(40);
        for (uint i = 0; i < 20; i++) {
            bytes1 b = bytes1(uint8(uint(uint160(x)) / (2**(8*(19 - i)))));
            bytes1 hi = bytes1(uint8(b) / 16);
            bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi));
            s[2*i] = char(hi);
            s[2*i+1] = char(lo);
        }
        return string(abi.encodePacked("0x",s));
    }

    function char(bytes1 b) internal pure returns (bytes1 c) {
        if (uint8(b) < 10) return bytes1(uint8(b) + 0x30);
        else return bytes1(uint8(b) + 0x57);
    }

    function _toLower(string memory str) internal pure returns (string memory) {
        bytes memory bStr = bytes(str);
        bytes memory bLower = new bytes(bStr.length);
        for (uint i = 0; i < bStr.length; i++) {
            if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
                bLower[i] = bytes1(uint8(bStr[i]) + 32);
            } else {
                bLower[i] = bStr[i];
            }
        }
        return string(bLower);
    }
}

File 2 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 7 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 9 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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 10 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"adopt","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getNFTBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isPresaleClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint256","name":"_total","type":"uint256"},{"internalType":"bool","name":"_presale","type":"bool"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleUnpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicUnpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"importantAddress","type":"address"}],"name":"setImportantAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527394f65107eb422c67e61588682fcf9d85aac940b8600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550734c96256fd81f6fcd3110694e416ea203aecea720600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507340a764a31d30c5fd62294a19861612a036f59943600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735d2eebaddcd11e72f4672bfbae23200514f49b11600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550733f0e5e69982fbf8bc05cbceecbc90a938e9b9ab6600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550668e1bc9bf0400006013556001601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff02191690831515021790555060826016553480156200020057600080fd5b506040518060400160405280600781526020017f4d6f6f6e6b7973000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4d4f4f4e4b000000000000000000000000000000000000000000000000000000815250816000908051906020019062000285929190620004e2565b5080600190805190602001906200029e929190620004e2565b505050620002c1620002b56200034560201b60201c565b6200034d60201b60201c565b6000600a60146101000a81548160ff0219169083151502179055506040518060400160405280601d81526020017f68747470733a2f2f6170692e6d6f6f6e6b79732e6172742f6d6574612f0000008152506012908051906020019062000329929190620004e2565b506200033f6200041360201b620023b41760201c565b620006dc565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000423620004cb60201b60201c565b1562000466576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200045d90620005e7565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620004b26200034560201b60201c565b604051620004c19190620005ca565b60405180910390a1565b6000600a60149054906101000a900460ff16905090565b828054620004f0906200064e565b90600052602060002090601f01602090048101928262000514576000855562000560565b82601f106200052f57805160ff191683800117855562000560565b8280016001018555821562000560579182015b828111156200055f57825182559160200191906001019062000542565b5b5090506200056f919062000573565b5090565b5b808211156200058e57600081600090555060010162000574565b5090565b6200059d816200061a565b82525050565b6000620005b260108362000609565b9150620005bf82620006b3565b602082019050919050565b6000602082019050620005e1600083018462000592565b92915050565b600060208201905081810360008301526200060281620005a3565b9050919050565b600082825260208201905092915050565b600062000627826200062e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200066757607f821691505b602082108114156200067e576200067d62000684565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b615c7380620006ec6000396000f3fe60806040526004361061021a5760003560e01c8063715018a611610123578063a05d0de3116100ab578063ca8001441161006f578063ca8001441461077b578063daaa09a4146107a4578063e36efea1146107bb578063e985e9c5146107d2578063f2fde38b1461080f5761021a565b8063a05d0de314610686578063a22cb465146106af578063b88d4fde146106d8578063bf8ebd8514610701578063c87b56dd1461073e5761021a565b80638588b2c5116100f25780638588b2c5146105c05780638da5cb5b146105dc57806391b7f5ed1461060757806395d89b411461063057806398d5fdca1461065b5761021a565b8063715018a61461053e57806374d9b176146105555780637dd2b188146105925780638456cb59146105a95761021a565b806333ba9daa116101a65780634f6ccce7116101755780634f6ccce71461043357806355f804b3146104705780635c975abb146104995780636352211e146104c457806370a08231146105015761021a565b806333ba9daa146103c55780633ccfd60b146103dc5780633f4ba83a146103f357806342842e0e1461040a5761021a565b8063095ea7b3116101ed578063095ea7b3146102e057806318160ddd1461030957806323b872dd146103345780632f745c591461035d57806332cb6b0c1461039a5761021a565b806301ffc9a71461021f57806304eea25b1461025c57806306fdde0314610278578063081812fc146102a3575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190614103565b610838565b60405161025391906148cd565b60405180910390f35b610276600480360381019061027191906141bf565b61084a565b005b34801561028457600080fd5b5061028d610b73565b60405161029a919061492d565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190614196565b610c05565b6040516102d79190614866565b60405180910390f35b3480156102ec57600080fd5b50610307600480360381019061030291906140c7565b610c8a565b005b34801561031557600080fd5b5061031e610da2565b60405161032b9190614d2f565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613fc1565b610daf565b005b34801561036957600080fd5b50610384600480360381019061037f91906140c7565b610e0f565b6040516103919190614d2f565b60405180910390f35b3480156103a657600080fd5b506103af610eb4565b6040516103bc9190614d2f565b60405180910390f35b3480156103d157600080fd5b506103da610eba565b005b3480156103e857600080fd5b506103f1610f53565b005b3480156103ff57600080fd5b50610408611322565b005b34801561041657600080fd5b50610431600480360381019061042c9190613fc1565b6113a8565b005b34801561043f57600080fd5b5061045a60048036038101906104559190614196565b6113c8565b6040516104679190614d2f565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190614155565b61145f565b005b3480156104a557600080fd5b506104ae6114f5565b6040516104bb91906148cd565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190614196565b61150c565b6040516104f89190614866565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190613f5c565b6115be565b6040516105359190614d2f565b60405180910390f35b34801561054a57600080fd5b50610553611676565b005b34801561056157600080fd5b5061057c60048036038101906105779190613f5c565b6116fe565b60405161058991906148cd565b60405180910390f35b34801561059e57600080fd5b506105a761176c565b005b3480156105b557600080fd5b506105be611805565b005b6105da60048036038101906105d59190614196565b61188b565b005b3480156105e857600080fd5b506105f1611a6c565b6040516105fe9190614866565b60405180910390f35b34801561061357600080fd5b5061062e60048036038101906106299190614196565b611a96565b005b34801561063c57600080fd5b50610645611b1c565b604051610652919061492d565b60405180910390f35b34801561066757600080fd5b50610670611bae565b60405161067d9190614d2f565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a89190613f5c565b611bb8565b005b3480156106bb57600080fd5b506106d660048036038101906106d1919061408b565b611c78565b005b3480156106e457600080fd5b506106ff60048036038101906106fa9190614010565b611c8e565b005b34801561070d57600080fd5b5061072860048036038101906107239190613f5c565b611cf0565b6040516107359190614d2f565b60405180910390f35b34801561074a57600080fd5b5061076560048036038101906107609190614196565b611d02565b604051610772919061492d565b60405180910390f35b34801561078757600080fd5b506107a2600480360381019061079d91906140c7565b611e54565b005b3480156107b057600080fd5b506107b96120f6565b005b3480156107c757600080fd5b506107d061218f565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613f85565b612228565b60405161080691906148cd565b60405180910390f35b34801561081b57600080fd5b5061083660048036038101906108319190613f5c565b6122bc565b005b600061084382612457565b9050919050565b6108526114f5565b15610892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088990614aaf565b60405180910390fd5b601460019054906101000a900460ff16156108e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d9906149ef565b60405180910390fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561096f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096690614c6f565b60405180910390fd5b600061097a336124d1565b90506001151561098c82868686612725565b1515146109ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c590614a8f565b60405180910390fd5b83851115610a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0890614d0f565b60405180910390fd5b6000610a1b610da2565b9050601654612328610a2d9190615114565b610a4087836127ba90919063ffffffff16565b1115610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890614cef565b60405180910390fd5b85601354610a8f919061507f565b341015610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890614c4f565b60405180910390fd5b60005b86811015610b1257610ae660156127d0565b6000610af260156127e6565b9050610afe33826127f4565b508080610b0a906152ac565b915050610ad4565b506001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050505050565b606060008054610b8290615249565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae90615249565b8015610bfb5780601f10610bd057610100808354040283529160200191610bfb565b820191906000526020600020905b815481529060010190602001808311610bde57829003601f168201915b5050505050905090565b6000610c1082612812565b610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690614b8f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c958261150c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd90614c2f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d2561287e565b73ffffffffffffffffffffffffffffffffffffffff161480610d545750610d5381610d4e61287e565b612228565b5b610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a90614acf565b60405180910390fd5b610d9d8383612886565b505050565b6000600880549050905090565b610dc0610dba61287e565b8261293f565b610dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df690614caf565b60405180910390fd5b610e0a838383612a1d565b505050565b6000610e1a836115be565b8210610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e529061496f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61232881565b610ec261287e565b73ffffffffffffffffffffffffffffffffffffffff16610ee0611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d90614baf565b60405180910390fd5b6001601460016101000a81548160ff021916908315150217905550565b610f5b61287e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061100a5750610fb961287e565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b80611069575061101861287e565b73ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b806110c8575061107761287e565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe90614b2f565b60405180910390fd5b600047905060006111356064611127601985612c7990919063ffffffff16565b612c8f90919063ffffffff16565b9050600061115f611150600384612c7990919063ffffffff16565b84612ca590919063ffffffff16565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508373ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015611243573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f1935050505015801561128a573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050501580156112d1573d6000803e3d6000fd5b508073ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050158015611318573d6000803e3d6000fd5b5050505050505050565b61132a61287e565b73ffffffffffffffffffffffffffffffffffffffff16611348611a6c565b73ffffffffffffffffffffffffffffffffffffffff161461139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590614baf565b60405180910390fd5b6113a6612cbb565b565b6113c383838360405180602001604052806000815250611c8e565b505050565b60006113d2610da2565b8210611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a90614ccf565b60405180910390fd5b6008828154811061144d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61146761287e565b73ffffffffffffffffffffffffffffffffffffffff16611485611a6c565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290614baf565b60405180910390fd5b80601290805190602001906114f1929190613d80565b5050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90614b0f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690614aef565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61167e61287e565b73ffffffffffffffffffffffffffffffffffffffff1661169c611a6c565b73ffffffffffffffffffffffffffffffffffffffff16146116f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e990614baf565b60405180910390fd5b6116fc6000612d5d565b565b600060011515601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156117625760019050611767565b600090505b919050565b61177461287e565b73ffffffffffffffffffffffffffffffffffffffff16611792611a6c565b73ffffffffffffffffffffffffffffffffffffffff16146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614baf565b60405180910390fd5b6000601460006101000a81548160ff021916908315150217905550565b61180d61287e565b73ffffffffffffffffffffffffffffffffffffffff1661182b611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890614baf565b60405180910390fd5b6118896123b4565b565b6118936114f5565b156118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca90614aaf565b60405180910390fd5b60006118dd610da2565b9050601460009054906101000a900460ff161561192f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192690614c8f565b60405180910390fd5b60068210611972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196990614a4f565b60405180910390fd5b6016546123286119829190615114565b61199583836127ba90919063ffffffff16565b11156119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd90614cef565b60405180910390fd5b816013546119e4919061507f565b341015611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90614c4f565b60405180910390fd5b60005b82811015611a6757611a3b60156127d0565b6000611a4760156127e6565b9050611a5333826127f4565b508080611a5f906152ac565b915050611a29565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a9e61287e565b73ffffffffffffffffffffffffffffffffffffffff16611abc611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990614baf565b60405180910390fd5b8060138190555050565b606060018054611b2b90615249565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790615249565b8015611ba45780601f10611b7957610100808354040283529160200191611ba4565b820191906000526020600020905b815481529060010190602001808311611b8757829003601f168201915b5050505050905090565b6000601354905090565b611bc061287e565b73ffffffffffffffffffffffffffffffffffffffff16611bde611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614611c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2b90614baf565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c8a611c8361287e565b8383612e23565b5050565b611c9f611c9961287e565b8361293f565b611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590614caf565b60405180910390fd5b611cea84848484612f90565b50505050565b6000611cfb826115be565b9050919050565b6060611d0d82612812565b611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4390614b6f565b60405180910390fd5b6000601160008481526020019081526020016000208054611d6c90615249565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9890615249565b8015611de55780601f10611dba57610100808354040283529160200191611de5565b820191906000526020600020905b815481529060010190602001808311611dc857829003601f168201915b505050505090506000611df6612fec565b9050600081511415611e0c578192505050611e4f565b600082511115611e41578082604051602001611e299291906147e7565b60405160208183030381529060405292505050611e4f565b611e4a8461307e565b925050505b919050565b611e5c6114f5565b15611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9390614aaf565b60405180910390fd5b611ea461287e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611f535750611f0261287e565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b80611fb25750611f6161287e565b73ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b806120115750611fc061287e565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790614b2f565b60405180910390fd5b601654811115612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614c0f565b60405180910390fd5b60005b818110156120d6576120aa60156127d0565b60006120b660156127e6565b90506120c284826127f4565b5080806120ce906152ac565b915050612098565b506120ec81601654612ca590919063ffffffff16565b6016819055505050565b6120fe61287e565b73ffffffffffffffffffffffffffffffffffffffff1661211c611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614612172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216990614baf565b60405180910390fd5b6001601460006101000a81548160ff021916908315150217905550565b61219761287e565b73ffffffffffffffffffffffffffffffffffffffff166121b5611a6c565b73ffffffffffffffffffffffffffffffffffffffff161461220b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220290614baf565b60405180910390fd5b6000601460016101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122c461287e565b73ffffffffffffffffffffffffffffffffffffffff166122e2611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614baf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f906149af565b60405180910390fd5b6123b181612d5d565b50565b6123bc6114f5565b156123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f390614aaf565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861244061287e565b60405161244d9190614866565b60405180910390a1565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ca57506124c982613125565b5b9050919050565b60606000602867ffffffffffffffff811115612516577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125485781602001600182028036833780820191505090505b50905060005b60148110156126fc5760008160136125669190615114565b6008612572919061507f565b600261257e9190614f61565b8573ffffffffffffffffffffffffffffffffffffffff1661259f9190614eac565b60f81b9050600060108260f81c6125b69190614edd565b60f81b905060008160f81c60106125cd91906150d9565b8360f81c6125db9190615148565b60f81b90506125e982613207565b858560026125f7919061507f565b8151811061262e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061266681613207565b856001866002612676919061507f565b6126809190614e1f565b815181106126b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050505080806126f4906152ac565b91505061254e565b508060405160200161270e9190614844565b604051602081830303815290604052915050919050565b60008085858560405160200161273d9392919061480b565b604051602081830303815290604052805190602001209050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612798828561324d565b73ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b600081836127c89190614e1f565b905092915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b61280e8282604051806020016040528060008152506132c2565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128f98361150c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061294a82612812565b612989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090614a6f565b60405180910390fd5b60006129948361150c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a0357508373ffffffffffffffffffffffffffffffffffffffff166129eb84610c05565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a145750612a138185612228565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a3d8261150c565b73ffffffffffffffffffffffffffffffffffffffff1614612a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8a90614bcf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afa90614a0f565b60405180910390fd5b612b0e83838361331d565b612b19600082612886565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b699190615114565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc09190614e1f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612c87919061507f565b905092915050565b60008183612c9d9190614eac565b905092915050565b60008183612cb39190615114565b905092915050565b612cc36114f5565b612d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf99061494f565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612d4661287e565b604051612d539190614866565b60405180910390a1565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8990614a2f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f8391906148cd565b60405180910390a3505050565b612f9b848484612a1d565b612fa784848484613431565b612fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fdd9061498f565b60405180910390fd5b50505050565b606060128054612ffb90615249565b80601f016020809104026020016040519081016040528092919081815260200182805461302790615249565b80156130745780601f1061304957610100808354040283529160200191613074565b820191906000526020600020905b81548152906001019060200180831161305757829003601f168201915b5050505050905090565b606061308982612812565b6130c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bf90614bef565b60405180910390fd5b60006130d2612fec565b905060008151116130f2576040518060200160405280600081525061311d565b806130fc846135c8565b60405160200161310d9291906147e7565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061320057506131ff82613775565b5b9050919050565b6000600a8260f81c60ff1610156132325760308260f81c6132289190614e75565b60f81b9050613248565b60578260f81c6132429190614e75565b60f81b90505b919050565b60008060008061325c856137df565b8093508194508295505050506001868484846040516000815260200160405260405161328b94939291906148e8565b6020604051602081039080840390855afa1580156132ad573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6132cc8383613822565b6132d96000848484613431565b613318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330f9061498f565b60405180910390fd5b505050565b6133288383836139f0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561336b57613366816139f5565b6133aa565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133a9576133a88382613a3e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133ed576133e881613bab565b61342c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461342b5761342a8282613cee565b5b5b505050565b60006134528473ffffffffffffffffffffffffffffffffffffffff16613d6d565b156135bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261347b61287e565b8786866040518563ffffffff1660e01b815260040161349d9493929190614881565b602060405180830381600087803b1580156134b757600080fd5b505af19250505080156134e857506040513d601f19601f820116820180604052508101906134e5919061412c565b60015b61356b573d8060008114613518576040519150601f19603f3d011682016040523d82523d6000602084013e61351d565b606091505b50600081511415613563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355a9061498f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135c0565b600190505b949350505050565b60606000821415613610576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613770565b600082905060005b6000821461364257808061362b906152ac565b915050600a8261363b9190614eac565b9150613618565b60008167ffffffffffffffff811115613684577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136b65781602001600182028036833780820191505090505b5090505b60008514613769576001826136cf9190615114565b9150600a856136de9190615323565b60306136ea9190614e1f565b60f81b818381518110613726577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137629190614eac565b94506136ba565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080600060418451146137f257600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388990614b4f565b60405180910390fd5b61389b81612812565b156138db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d2906149cf565b60405180910390fd5b6138e76000838361331d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139379190614e1f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a4b846115be565b613a559190615114565b9050600060076000848152602001908152602001600020549050818114613b3a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bbf9190615114565b9050600060096000848152602001908152602001600020549050600060088381548110613c15577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c5d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613cf9836115be565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613d8c90615249565b90600052602060002090601f016020900481019282613dae5760008555613df5565b82601f10613dc757805160ff1916838001178555613df5565b82800160010185558215613df5579182015b82811115613df4578251825591602001919060010190613dd9565b5b509050613e029190613e06565b5090565b5b80821115613e1f576000816000905550600101613e07565b5090565b6000613e36613e3184614d6f565b614d4a565b905082815260208101848484011115613e4e57600080fd5b613e59848285615207565b509392505050565b6000613e74613e6f84614da0565b614d4a565b905082815260208101848484011115613e8c57600080fd5b613e97848285615207565b509392505050565b600081359050613eae81615be1565b92915050565b600081359050613ec381615bf8565b92915050565b600081359050613ed881615c0f565b92915050565b600081519050613eed81615c0f565b92915050565b600082601f830112613f0457600080fd5b8135613f14848260208601613e23565b91505092915050565b600082601f830112613f2e57600080fd5b8135613f3e848260208601613e61565b91505092915050565b600081359050613f5681615c26565b92915050565b600060208284031215613f6e57600080fd5b6000613f7c84828501613e9f565b91505092915050565b60008060408385031215613f9857600080fd5b6000613fa685828601613e9f565b9250506020613fb785828601613e9f565b9150509250929050565b600080600060608486031215613fd657600080fd5b6000613fe486828701613e9f565b9350506020613ff586828701613e9f565b925050604061400686828701613f47565b9150509250925092565b6000806000806080858703121561402657600080fd5b600061403487828801613e9f565b945050602061404587828801613e9f565b935050604061405687828801613f47565b925050606085013567ffffffffffffffff81111561407357600080fd5b61407f87828801613ef3565b91505092959194509250565b6000806040838503121561409e57600080fd5b60006140ac85828601613e9f565b92505060206140bd85828601613eb4565b9150509250929050565b600080604083850312156140da57600080fd5b60006140e885828601613e9f565b92505060206140f985828601613f47565b9150509250929050565b60006020828403121561411557600080fd5b600061412384828501613ec9565b91505092915050565b60006020828403121561413e57600080fd5b600061414c84828501613ede565b91505092915050565b60006020828403121561416757600080fd5b600082013567ffffffffffffffff81111561418157600080fd5b61418d84828501613f1d565b91505092915050565b6000602082840312156141a857600080fd5b60006141b684828501613f47565b91505092915050565b600080600080608085870312156141d557600080fd5b60006141e387828801613f47565b94505060206141f487828801613f47565b935050604061420587828801613eb4565b925050606085013567ffffffffffffffff81111561422257600080fd5b61422e87828801613ef3565b91505092959194509250565b6142438161517c565b82525050565b6142528161518e565b82525050565b6142696142648261518e565b6152f5565b82525050565b6142788161519a565b82525050565b600061428982614dd1565b6142938185614de7565b93506142a3818560208601615216565b6142ac81615410565b840191505092915050565b60006142c282614dd1565b6142cc8185614df8565b93506142dc818560208601615216565b80840191505092915050565b60006142f382614ddc565b6142fd8185614e03565b935061430d818560208601615216565b61431681615410565b840191505092915050565b600061432c82614ddc565b6143368185614e14565b9350614346818560208601615216565b80840191505092915050565b600061435f601483614e03565b915061436a8261543b565b602082019050919050565b6000614382602b83614e03565b915061438d82615464565b604082019050919050565b60006143a5603283614e03565b91506143b0826154b3565b604082019050919050565b60006143c8602683614e03565b91506143d382615502565b604082019050919050565b60006143eb601c83614e03565b91506143f682615551565b602082019050919050565b600061440e600e83614e03565b91506144198261557a565b602082019050919050565b6000614431600283614e14565b915061443c826155a3565b600282019050919050565b6000614454602483614e03565b915061445f826155cc565b604082019050919050565b6000614477601983614e03565b91506144828261561b565b602082019050919050565b600061449a602483614e03565b91506144a582615644565b604082019050919050565b60006144bd602c83614e03565b91506144c882615693565b604082019050919050565b60006144e0601283614e03565b91506144eb826156e2565b602082019050919050565b6000614503601083614e03565b915061450e8261570b565b602082019050919050565b6000614526603883614e03565b915061453182615734565b604082019050919050565b6000614549602a83614e03565b915061455482615783565b604082019050919050565b600061456c602983614e03565b9150614577826157d2565b604082019050919050565b600061458f601f83614e03565b915061459a82615821565b602082019050919050565b60006145b2602083614e03565b91506145bd8261584a565b602082019050919050565b60006145d5603183614e03565b91506145e082615873565b604082019050919050565b60006145f8602c83614e03565b9150614603826158c2565b604082019050919050565b600061461b602083614e03565b915061462682615911565b602082019050919050565b600061463e602983614e03565b91506146498261593a565b604082019050919050565b6000614661602f83614e03565b915061466c82615989565b604082019050919050565b6000614684602383614e03565b915061468f826159d8565b604082019050919050565b60006146a7602183614e03565b91506146b282615a27565b604082019050919050565b60006146ca601983614e03565b91506146d582615a76565b602082019050919050565b60006146ed601d83614e03565b91506146f882615a9f565b602082019050919050565b6000614710601283614e03565b915061471b82615ac8565b602082019050919050565b6000614733603183614e03565b915061473e82615af1565b604082019050919050565b6000614756602c83614e03565b915061476182615b40565b604082019050919050565b6000614779601e83614e03565b915061478482615b8f565b602082019050919050565b600061479c601083614e03565b91506147a782615bb8565b602082019050919050565b6147bb816151f0565b82525050565b6147d26147cd826151f0565b615307565b82525050565b6147e1816151fa565b82525050565b60006147f38285614321565b91506147ff8284614321565b91508190509392505050565b60006148178286614321565b915061482382856147c1565b6020820191506148338284614258565b600182019150819050949350505050565b600061484f82614424565b915061485b82846142b7565b915081905092915050565b600060208201905061487b600083018461423a565b92915050565b6000608082019050614896600083018761423a565b6148a3602083018661423a565b6148b060408301856147b2565b81810360608301526148c2818461427e565b905095945050505050565b60006020820190506148e26000830184614249565b92915050565b60006080820190506148fd600083018761426f565b61490a60208301866147d8565b614917604083018561426f565b614924606083018461426f565b95945050505050565b6000602082019050818103600083015261494781846142e8565b905092915050565b6000602082019050818103600083015261496881614352565b9050919050565b6000602082019050818103600083015261498881614375565b9050919050565b600060208201905081810360008301526149a881614398565b9050919050565b600060208201905081810360008301526149c8816143bb565b9050919050565b600060208201905081810360008301526149e8816143de565b9050919050565b60006020820190508181036000830152614a0881614401565b9050919050565b60006020820190508181036000830152614a2881614447565b9050919050565b60006020820190508181036000830152614a488161446a565b9050919050565b60006020820190508181036000830152614a688161448d565b9050919050565b60006020820190508181036000830152614a88816144b0565b9050919050565b60006020820190508181036000830152614aa8816144d3565b9050919050565b60006020820190508181036000830152614ac8816144f6565b9050919050565b60006020820190508181036000830152614ae881614519565b9050919050565b60006020820190508181036000830152614b088161453c565b9050919050565b60006020820190508181036000830152614b288161455f565b9050919050565b60006020820190508181036000830152614b4881614582565b9050919050565b60006020820190508181036000830152614b68816145a5565b9050919050565b60006020820190508181036000830152614b88816145c8565b9050919050565b60006020820190508181036000830152614ba8816145eb565b9050919050565b60006020820190508181036000830152614bc88161460e565b9050919050565b60006020820190508181036000830152614be881614631565b9050919050565b60006020820190508181036000830152614c0881614654565b9050919050565b60006020820190508181036000830152614c2881614677565b9050919050565b60006020820190508181036000830152614c488161469a565b9050919050565b60006020820190508181036000830152614c68816146bd565b9050919050565b60006020820190508181036000830152614c88816146e0565b9050919050565b60006020820190508181036000830152614ca881614703565b9050919050565b60006020820190508181036000830152614cc881614726565b9050919050565b60006020820190508181036000830152614ce881614749565b9050919050565b60006020820190508181036000830152614d088161476c565b9050919050565b60006020820190508181036000830152614d288161478f565b9050919050565b6000602082019050614d4460008301846147b2565b92915050565b6000614d54614d65565b9050614d60828261527b565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8a57614d896153e1565b5b614d9382615410565b9050602081019050919050565b600067ffffffffffffffff821115614dbb57614dba6153e1565b5b614dc482615410565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e2a826151f0565b9150614e35836151f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e6a57614e69615354565b5b828201905092915050565b6000614e80826151fa565b9150614e8b836151fa565b92508260ff03821115614ea157614ea0615354565b5b828201905092915050565b6000614eb7826151f0565b9150614ec2836151f0565b925082614ed257614ed1615383565b5b828204905092915050565b6000614ee8826151fa565b9150614ef3836151fa565b925082614f0357614f02615383565b5b828204905092915050565b6000808291508390505b6001851115614f5857808604811115614f3457614f33615354565b5b6001851615614f435780820291505b8081029050614f518561542e565b9450614f18565b94509492505050565b6000614f6c826151f0565b9150614f77836151f0565b9250614fa47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614fac565b905092915050565b600082614fbc5760019050615078565b81614fca5760009050615078565b8160018114614fe05760028114614fea57615019565b6001915050615078565b60ff841115614ffc57614ffb615354565b5b8360020a91508482111561501357615012615354565b5b50615078565b5060208310610133831016604e8410600b841016171561504e5782820a90508381111561504957615048615354565b5b615078565b61505b8484846001614f0e565b9250905081840481111561507257615071615354565b5b81810290505b9392505050565b600061508a826151f0565b9150615095836151f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150ce576150cd615354565b5b828202905092915050565b60006150e4826151fa565b91506150ef836151fa565b92508160ff048311821515161561510957615108615354565b5b828202905092915050565b600061511f826151f0565b915061512a836151f0565b92508282101561513d5761513c615354565b5b828203905092915050565b6000615153826151fa565b915061515e836151fa565b92508282101561517157615170615354565b5b828203905092915050565b6000615187826151d0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615234578082015181840152602081019050615219565b83811115615243576000848401525b50505050565b6000600282049050600182168061526157607f821691505b60208210811415615275576152746153b2565b5b50919050565b61528482615410565b810181811067ffffffffffffffff821117156152a3576152a26153e1565b5b80604052505050565b60006152b7826151f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152ea576152e9615354565b5b600182019050919050565b600061530082615311565b9050919050565b6000819050919050565b600061531c82615421565b9050919050565b600061532e826151f0565b9150615339836151f0565b92508261534957615348615383565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160011c9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f50726573616c6520706175736564000000000000000000000000000000000000600082015250565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f752063616e2061646f70742061206d6178696d756d206f662035204d6f6f60008201527f6e6b797300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e76616c6964207369676e6174757265210000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f742070617274206f6620746865207465616d2100600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5468617420776f756c642065786365656420746865206d61782072657365727660008201527f6564210000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f50726573616c65204164647265737320616c7265616479207573656421000000600082015250565b7f5075626c69632073616c65207061757365640000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d204d6f6f6e6b797320737570706c790000600082015250565b7f4d6178696d756d20726561636865642100000000000000000000000000000000600082015250565b615bea8161517c565b8114615bf557600080fd5b50565b615c018161518e565b8114615c0c57600080fd5b50565b615c18816151a4565b8114615c2357600080fd5b50565b615c2f816151f0565b8114615c3a57600080fd5b5056fea2646970667358221220e00fbdc7689660be5da9d077a435e802a41e577203cdbe7ce1fb35c71bc2e6dc64736f6c63430008040033

Deployed Bytecode

0x60806040526004361061021a5760003560e01c8063715018a611610123578063a05d0de3116100ab578063ca8001441161006f578063ca8001441461077b578063daaa09a4146107a4578063e36efea1146107bb578063e985e9c5146107d2578063f2fde38b1461080f5761021a565b8063a05d0de314610686578063a22cb465146106af578063b88d4fde146106d8578063bf8ebd8514610701578063c87b56dd1461073e5761021a565b80638588b2c5116100f25780638588b2c5146105c05780638da5cb5b146105dc57806391b7f5ed1461060757806395d89b411461063057806398d5fdca1461065b5761021a565b8063715018a61461053e57806374d9b176146105555780637dd2b188146105925780638456cb59146105a95761021a565b806333ba9daa116101a65780634f6ccce7116101755780634f6ccce71461043357806355f804b3146104705780635c975abb146104995780636352211e146104c457806370a08231146105015761021a565b806333ba9daa146103c55780633ccfd60b146103dc5780633f4ba83a146103f357806342842e0e1461040a5761021a565b8063095ea7b3116101ed578063095ea7b3146102e057806318160ddd1461030957806323b872dd146103345780632f745c591461035d57806332cb6b0c1461039a5761021a565b806301ffc9a71461021f57806304eea25b1461025c57806306fdde0314610278578063081812fc146102a3575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190614103565b610838565b60405161025391906148cd565b60405180910390f35b610276600480360381019061027191906141bf565b61084a565b005b34801561028457600080fd5b5061028d610b73565b60405161029a919061492d565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190614196565b610c05565b6040516102d79190614866565b60405180910390f35b3480156102ec57600080fd5b50610307600480360381019061030291906140c7565b610c8a565b005b34801561031557600080fd5b5061031e610da2565b60405161032b9190614d2f565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613fc1565b610daf565b005b34801561036957600080fd5b50610384600480360381019061037f91906140c7565b610e0f565b6040516103919190614d2f565b60405180910390f35b3480156103a657600080fd5b506103af610eb4565b6040516103bc9190614d2f565b60405180910390f35b3480156103d157600080fd5b506103da610eba565b005b3480156103e857600080fd5b506103f1610f53565b005b3480156103ff57600080fd5b50610408611322565b005b34801561041657600080fd5b50610431600480360381019061042c9190613fc1565b6113a8565b005b34801561043f57600080fd5b5061045a60048036038101906104559190614196565b6113c8565b6040516104679190614d2f565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190614155565b61145f565b005b3480156104a557600080fd5b506104ae6114f5565b6040516104bb91906148cd565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190614196565b61150c565b6040516104f89190614866565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190613f5c565b6115be565b6040516105359190614d2f565b60405180910390f35b34801561054a57600080fd5b50610553611676565b005b34801561056157600080fd5b5061057c60048036038101906105779190613f5c565b6116fe565b60405161058991906148cd565b60405180910390f35b34801561059e57600080fd5b506105a761176c565b005b3480156105b557600080fd5b506105be611805565b005b6105da60048036038101906105d59190614196565b61188b565b005b3480156105e857600080fd5b506105f1611a6c565b6040516105fe9190614866565b60405180910390f35b34801561061357600080fd5b5061062e60048036038101906106299190614196565b611a96565b005b34801561063c57600080fd5b50610645611b1c565b604051610652919061492d565b60405180910390f35b34801561066757600080fd5b50610670611bae565b60405161067d9190614d2f565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a89190613f5c565b611bb8565b005b3480156106bb57600080fd5b506106d660048036038101906106d1919061408b565b611c78565b005b3480156106e457600080fd5b506106ff60048036038101906106fa9190614010565b611c8e565b005b34801561070d57600080fd5b5061072860048036038101906107239190613f5c565b611cf0565b6040516107359190614d2f565b60405180910390f35b34801561074a57600080fd5b5061076560048036038101906107609190614196565b611d02565b604051610772919061492d565b60405180910390f35b34801561078757600080fd5b506107a2600480360381019061079d91906140c7565b611e54565b005b3480156107b057600080fd5b506107b96120f6565b005b3480156107c757600080fd5b506107d061218f565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613f85565b612228565b60405161080691906148cd565b60405180910390f35b34801561081b57600080fd5b5061083660048036038101906108319190613f5c565b6122bc565b005b600061084382612457565b9050919050565b6108526114f5565b15610892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088990614aaf565b60405180910390fd5b601460019054906101000a900460ff16156108e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d9906149ef565b60405180910390fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561096f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096690614c6f565b60405180910390fd5b600061097a336124d1565b90506001151561098c82868686612725565b1515146109ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c590614a8f565b60405180910390fd5b83851115610a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0890614d0f565b60405180910390fd5b6000610a1b610da2565b9050601654612328610a2d9190615114565b610a4087836127ba90919063ffffffff16565b1115610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890614cef565b60405180910390fd5b85601354610a8f919061507f565b341015610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890614c4f565b60405180910390fd5b60005b86811015610b1257610ae660156127d0565b6000610af260156127e6565b9050610afe33826127f4565b508080610b0a906152ac565b915050610ad4565b506001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050505050565b606060008054610b8290615249565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae90615249565b8015610bfb5780601f10610bd057610100808354040283529160200191610bfb565b820191906000526020600020905b815481529060010190602001808311610bde57829003601f168201915b5050505050905090565b6000610c1082612812565b610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690614b8f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c958261150c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd90614c2f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d2561287e565b73ffffffffffffffffffffffffffffffffffffffff161480610d545750610d5381610d4e61287e565b612228565b5b610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a90614acf565b60405180910390fd5b610d9d8383612886565b505050565b6000600880549050905090565b610dc0610dba61287e565b8261293f565b610dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df690614caf565b60405180910390fd5b610e0a838383612a1d565b505050565b6000610e1a836115be565b8210610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e529061496f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61232881565b610ec261287e565b73ffffffffffffffffffffffffffffffffffffffff16610ee0611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d90614baf565b60405180910390fd5b6001601460016101000a81548160ff021916908315150217905550565b610f5b61287e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061100a5750610fb961287e565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b80611069575061101861287e565b73ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b806110c8575061107761287e565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fe90614b2f565b60405180910390fd5b600047905060006111356064611127601985612c7990919063ffffffff16565b612c8f90919063ffffffff16565b9050600061115f611150600384612c7990919063ffffffff16565b84612ca590919063ffffffff16565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508373ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015611243573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f1935050505015801561128a573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050501580156112d1573d6000803e3d6000fd5b508073ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050158015611318573d6000803e3d6000fd5b5050505050505050565b61132a61287e565b73ffffffffffffffffffffffffffffffffffffffff16611348611a6c565b73ffffffffffffffffffffffffffffffffffffffff161461139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590614baf565b60405180910390fd5b6113a6612cbb565b565b6113c383838360405180602001604052806000815250611c8e565b505050565b60006113d2610da2565b8210611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a90614ccf565b60405180910390fd5b6008828154811061144d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61146761287e565b73ffffffffffffffffffffffffffffffffffffffff16611485611a6c565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290614baf565b60405180910390fd5b80601290805190602001906114f1929190613d80565b5050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90614b0f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690614aef565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61167e61287e565b73ffffffffffffffffffffffffffffffffffffffff1661169c611a6c565b73ffffffffffffffffffffffffffffffffffffffff16146116f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e990614baf565b60405180910390fd5b6116fc6000612d5d565b565b600060011515601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156117625760019050611767565b600090505b919050565b61177461287e565b73ffffffffffffffffffffffffffffffffffffffff16611792611a6c565b73ffffffffffffffffffffffffffffffffffffffff16146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614baf565b60405180910390fd5b6000601460006101000a81548160ff021916908315150217905550565b61180d61287e565b73ffffffffffffffffffffffffffffffffffffffff1661182b611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890614baf565b60405180910390fd5b6118896123b4565b565b6118936114f5565b156118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca90614aaf565b60405180910390fd5b60006118dd610da2565b9050601460009054906101000a900460ff161561192f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192690614c8f565b60405180910390fd5b60068210611972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196990614a4f565b60405180910390fd5b6016546123286119829190615114565b61199583836127ba90919063ffffffff16565b11156119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd90614cef565b60405180910390fd5b816013546119e4919061507f565b341015611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90614c4f565b60405180910390fd5b60005b82811015611a6757611a3b60156127d0565b6000611a4760156127e6565b9050611a5333826127f4565b508080611a5f906152ac565b915050611a29565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a9e61287e565b73ffffffffffffffffffffffffffffffffffffffff16611abc611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990614baf565b60405180910390fd5b8060138190555050565b606060018054611b2b90615249565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5790615249565b8015611ba45780601f10611b7957610100808354040283529160200191611ba4565b820191906000526020600020905b815481529060010190602001808311611b8757829003601f168201915b5050505050905090565b6000601354905090565b611bc061287e565b73ffffffffffffffffffffffffffffffffffffffff16611bde611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614611c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2b90614baf565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c8a611c8361287e565b8383612e23565b5050565b611c9f611c9961287e565b8361293f565b611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590614caf565b60405180910390fd5b611cea84848484612f90565b50505050565b6000611cfb826115be565b9050919050565b6060611d0d82612812565b611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4390614b6f565b60405180910390fd5b6000601160008481526020019081526020016000208054611d6c90615249565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9890615249565b8015611de55780601f10611dba57610100808354040283529160200191611de5565b820191906000526020600020905b815481529060010190602001808311611dc857829003601f168201915b505050505090506000611df6612fec565b9050600081511415611e0c578192505050611e4f565b600082511115611e41578082604051602001611e299291906147e7565b60405160208183030381529060405292505050611e4f565b611e4a8461307e565b925050505b919050565b611e5c6114f5565b15611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9390614aaf565b60405180910390fd5b611ea461287e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611f535750611f0261287e565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b80611fb25750611f6161287e565b73ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b806120115750611fc061287e565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790614b2f565b60405180910390fd5b601654811115612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614c0f565b60405180910390fd5b60005b818110156120d6576120aa60156127d0565b60006120b660156127e6565b90506120c284826127f4565b5080806120ce906152ac565b915050612098565b506120ec81601654612ca590919063ffffffff16565b6016819055505050565b6120fe61287e565b73ffffffffffffffffffffffffffffffffffffffff1661211c611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614612172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216990614baf565b60405180910390fd5b6001601460006101000a81548160ff021916908315150217905550565b61219761287e565b73ffffffffffffffffffffffffffffffffffffffff166121b5611a6c565b73ffffffffffffffffffffffffffffffffffffffff161461220b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220290614baf565b60405180910390fd5b6000601460016101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122c461287e565b73ffffffffffffffffffffffffffffffffffffffff166122e2611a6c565b73ffffffffffffffffffffffffffffffffffffffff1614612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614baf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f906149af565b60405180910390fd5b6123b181612d5d565b50565b6123bc6114f5565b156123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f390614aaf565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861244061287e565b60405161244d9190614866565b60405180910390a1565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ca57506124c982613125565b5b9050919050565b60606000602867ffffffffffffffff811115612516577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125485781602001600182028036833780820191505090505b50905060005b60148110156126fc5760008160136125669190615114565b6008612572919061507f565b600261257e9190614f61565b8573ffffffffffffffffffffffffffffffffffffffff1661259f9190614eac565b60f81b9050600060108260f81c6125b69190614edd565b60f81b905060008160f81c60106125cd91906150d9565b8360f81c6125db9190615148565b60f81b90506125e982613207565b858560026125f7919061507f565b8151811061262e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061266681613207565b856001866002612676919061507f565b6126809190614e1f565b815181106126b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050505080806126f4906152ac565b91505061254e565b508060405160200161270e9190614844565b604051602081830303815290604052915050919050565b60008085858560405160200161273d9392919061480b565b604051602081830303815290604052805190602001209050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612798828561324d565b73ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b600081836127c89190614e1f565b905092915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b61280e8282604051806020016040528060008152506132c2565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128f98361150c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061294a82612812565b612989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090614a6f565b60405180910390fd5b60006129948361150c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a0357508373ffffffffffffffffffffffffffffffffffffffff166129eb84610c05565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a145750612a138185612228565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a3d8261150c565b73ffffffffffffffffffffffffffffffffffffffff1614612a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8a90614bcf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afa90614a0f565b60405180910390fd5b612b0e83838361331d565b612b19600082612886565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b699190615114565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc09190614e1f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612c87919061507f565b905092915050565b60008183612c9d9190614eac565b905092915050565b60008183612cb39190615114565b905092915050565b612cc36114f5565b612d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf99061494f565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612d4661287e565b604051612d539190614866565b60405180910390a1565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8990614a2f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f8391906148cd565b60405180910390a3505050565b612f9b848484612a1d565b612fa784848484613431565b612fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fdd9061498f565b60405180910390fd5b50505050565b606060128054612ffb90615249565b80601f016020809104026020016040519081016040528092919081815260200182805461302790615249565b80156130745780601f1061304957610100808354040283529160200191613074565b820191906000526020600020905b81548152906001019060200180831161305757829003601f168201915b5050505050905090565b606061308982612812565b6130c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bf90614bef565b60405180910390fd5b60006130d2612fec565b905060008151116130f2576040518060200160405280600081525061311d565b806130fc846135c8565b60405160200161310d9291906147e7565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061320057506131ff82613775565b5b9050919050565b6000600a8260f81c60ff1610156132325760308260f81c6132289190614e75565b60f81b9050613248565b60578260f81c6132429190614e75565b60f81b90505b919050565b60008060008061325c856137df565b8093508194508295505050506001868484846040516000815260200160405260405161328b94939291906148e8565b6020604051602081039080840390855afa1580156132ad573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6132cc8383613822565b6132d96000848484613431565b613318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330f9061498f565b60405180910390fd5b505050565b6133288383836139f0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561336b57613366816139f5565b6133aa565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133a9576133a88382613a3e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133ed576133e881613bab565b61342c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461342b5761342a8282613cee565b5b5b505050565b60006134528473ffffffffffffffffffffffffffffffffffffffff16613d6d565b156135bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261347b61287e565b8786866040518563ffffffff1660e01b815260040161349d9493929190614881565b602060405180830381600087803b1580156134b757600080fd5b505af19250505080156134e857506040513d601f19601f820116820180604052508101906134e5919061412c565b60015b61356b573d8060008114613518576040519150601f19603f3d011682016040523d82523d6000602084013e61351d565b606091505b50600081511415613563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355a9061498f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135c0565b600190505b949350505050565b60606000821415613610576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613770565b600082905060005b6000821461364257808061362b906152ac565b915050600a8261363b9190614eac565b9150613618565b60008167ffffffffffffffff811115613684577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136b65781602001600182028036833780820191505090505b5090505b60008514613769576001826136cf9190615114565b9150600a856136de9190615323565b60306136ea9190614e1f565b60f81b818381518110613726577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137629190614eac565b94506136ba565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080600060418451146137f257600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388990614b4f565b60405180910390fd5b61389b81612812565b156138db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d2906149cf565b60405180910390fd5b6138e76000838361331d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139379190614e1f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a4b846115be565b613a559190615114565b9050600060076000848152602001908152602001600020549050818114613b3a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bbf9190615114565b9050600060096000848152602001908152602001600020549050600060088381548110613c15577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c5d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613cf9836115be565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613d8c90615249565b90600052602060002090601f016020900481019282613dae5760008555613df5565b82601f10613dc757805160ff1916838001178555613df5565b82800160010185558215613df5579182015b82811115613df4578251825591602001919060010190613dd9565b5b509050613e029190613e06565b5090565b5b80821115613e1f576000816000905550600101613e07565b5090565b6000613e36613e3184614d6f565b614d4a565b905082815260208101848484011115613e4e57600080fd5b613e59848285615207565b509392505050565b6000613e74613e6f84614da0565b614d4a565b905082815260208101848484011115613e8c57600080fd5b613e97848285615207565b509392505050565b600081359050613eae81615be1565b92915050565b600081359050613ec381615bf8565b92915050565b600081359050613ed881615c0f565b92915050565b600081519050613eed81615c0f565b92915050565b600082601f830112613f0457600080fd5b8135613f14848260208601613e23565b91505092915050565b600082601f830112613f2e57600080fd5b8135613f3e848260208601613e61565b91505092915050565b600081359050613f5681615c26565b92915050565b600060208284031215613f6e57600080fd5b6000613f7c84828501613e9f565b91505092915050565b60008060408385031215613f9857600080fd5b6000613fa685828601613e9f565b9250506020613fb785828601613e9f565b9150509250929050565b600080600060608486031215613fd657600080fd5b6000613fe486828701613e9f565b9350506020613ff586828701613e9f565b925050604061400686828701613f47565b9150509250925092565b6000806000806080858703121561402657600080fd5b600061403487828801613e9f565b945050602061404587828801613e9f565b935050604061405687828801613f47565b925050606085013567ffffffffffffffff81111561407357600080fd5b61407f87828801613ef3565b91505092959194509250565b6000806040838503121561409e57600080fd5b60006140ac85828601613e9f565b92505060206140bd85828601613eb4565b9150509250929050565b600080604083850312156140da57600080fd5b60006140e885828601613e9f565b92505060206140f985828601613f47565b9150509250929050565b60006020828403121561411557600080fd5b600061412384828501613ec9565b91505092915050565b60006020828403121561413e57600080fd5b600061414c84828501613ede565b91505092915050565b60006020828403121561416757600080fd5b600082013567ffffffffffffffff81111561418157600080fd5b61418d84828501613f1d565b91505092915050565b6000602082840312156141a857600080fd5b60006141b684828501613f47565b91505092915050565b600080600080608085870312156141d557600080fd5b60006141e387828801613f47565b94505060206141f487828801613f47565b935050604061420587828801613eb4565b925050606085013567ffffffffffffffff81111561422257600080fd5b61422e87828801613ef3565b91505092959194509250565b6142438161517c565b82525050565b6142528161518e565b82525050565b6142696142648261518e565b6152f5565b82525050565b6142788161519a565b82525050565b600061428982614dd1565b6142938185614de7565b93506142a3818560208601615216565b6142ac81615410565b840191505092915050565b60006142c282614dd1565b6142cc8185614df8565b93506142dc818560208601615216565b80840191505092915050565b60006142f382614ddc565b6142fd8185614e03565b935061430d818560208601615216565b61431681615410565b840191505092915050565b600061432c82614ddc565b6143368185614e14565b9350614346818560208601615216565b80840191505092915050565b600061435f601483614e03565b915061436a8261543b565b602082019050919050565b6000614382602b83614e03565b915061438d82615464565b604082019050919050565b60006143a5603283614e03565b91506143b0826154b3565b604082019050919050565b60006143c8602683614e03565b91506143d382615502565b604082019050919050565b60006143eb601c83614e03565b91506143f682615551565b602082019050919050565b600061440e600e83614e03565b91506144198261557a565b602082019050919050565b6000614431600283614e14565b915061443c826155a3565b600282019050919050565b6000614454602483614e03565b915061445f826155cc565b604082019050919050565b6000614477601983614e03565b91506144828261561b565b602082019050919050565b600061449a602483614e03565b91506144a582615644565b604082019050919050565b60006144bd602c83614e03565b91506144c882615693565b604082019050919050565b60006144e0601283614e03565b91506144eb826156e2565b602082019050919050565b6000614503601083614e03565b915061450e8261570b565b602082019050919050565b6000614526603883614e03565b915061453182615734565b604082019050919050565b6000614549602a83614e03565b915061455482615783565b604082019050919050565b600061456c602983614e03565b9150614577826157d2565b604082019050919050565b600061458f601f83614e03565b915061459a82615821565b602082019050919050565b60006145b2602083614e03565b91506145bd8261584a565b602082019050919050565b60006145d5603183614e03565b91506145e082615873565b604082019050919050565b60006145f8602c83614e03565b9150614603826158c2565b604082019050919050565b600061461b602083614e03565b915061462682615911565b602082019050919050565b600061463e602983614e03565b91506146498261593a565b604082019050919050565b6000614661602f83614e03565b915061466c82615989565b604082019050919050565b6000614684602383614e03565b915061468f826159d8565b604082019050919050565b60006146a7602183614e03565b91506146b282615a27565b604082019050919050565b60006146ca601983614e03565b91506146d582615a76565b602082019050919050565b60006146ed601d83614e03565b91506146f882615a9f565b602082019050919050565b6000614710601283614e03565b915061471b82615ac8565b602082019050919050565b6000614733603183614e03565b915061473e82615af1565b604082019050919050565b6000614756602c83614e03565b915061476182615b40565b604082019050919050565b6000614779601e83614e03565b915061478482615b8f565b602082019050919050565b600061479c601083614e03565b91506147a782615bb8565b602082019050919050565b6147bb816151f0565b82525050565b6147d26147cd826151f0565b615307565b82525050565b6147e1816151fa565b82525050565b60006147f38285614321565b91506147ff8284614321565b91508190509392505050565b60006148178286614321565b915061482382856147c1565b6020820191506148338284614258565b600182019150819050949350505050565b600061484f82614424565b915061485b82846142b7565b915081905092915050565b600060208201905061487b600083018461423a565b92915050565b6000608082019050614896600083018761423a565b6148a3602083018661423a565b6148b060408301856147b2565b81810360608301526148c2818461427e565b905095945050505050565b60006020820190506148e26000830184614249565b92915050565b60006080820190506148fd600083018761426f565b61490a60208301866147d8565b614917604083018561426f565b614924606083018461426f565b95945050505050565b6000602082019050818103600083015261494781846142e8565b905092915050565b6000602082019050818103600083015261496881614352565b9050919050565b6000602082019050818103600083015261498881614375565b9050919050565b600060208201905081810360008301526149a881614398565b9050919050565b600060208201905081810360008301526149c8816143bb565b9050919050565b600060208201905081810360008301526149e8816143de565b9050919050565b60006020820190508181036000830152614a0881614401565b9050919050565b60006020820190508181036000830152614a2881614447565b9050919050565b60006020820190508181036000830152614a488161446a565b9050919050565b60006020820190508181036000830152614a688161448d565b9050919050565b60006020820190508181036000830152614a88816144b0565b9050919050565b60006020820190508181036000830152614aa8816144d3565b9050919050565b60006020820190508181036000830152614ac8816144f6565b9050919050565b60006020820190508181036000830152614ae881614519565b9050919050565b60006020820190508181036000830152614b088161453c565b9050919050565b60006020820190508181036000830152614b288161455f565b9050919050565b60006020820190508181036000830152614b4881614582565b9050919050565b60006020820190508181036000830152614b68816145a5565b9050919050565b60006020820190508181036000830152614b88816145c8565b9050919050565b60006020820190508181036000830152614ba8816145eb565b9050919050565b60006020820190508181036000830152614bc88161460e565b9050919050565b60006020820190508181036000830152614be881614631565b9050919050565b60006020820190508181036000830152614c0881614654565b9050919050565b60006020820190508181036000830152614c2881614677565b9050919050565b60006020820190508181036000830152614c488161469a565b9050919050565b60006020820190508181036000830152614c68816146bd565b9050919050565b60006020820190508181036000830152614c88816146e0565b9050919050565b60006020820190508181036000830152614ca881614703565b9050919050565b60006020820190508181036000830152614cc881614726565b9050919050565b60006020820190508181036000830152614ce881614749565b9050919050565b60006020820190508181036000830152614d088161476c565b9050919050565b60006020820190508181036000830152614d288161478f565b9050919050565b6000602082019050614d4460008301846147b2565b92915050565b6000614d54614d65565b9050614d60828261527b565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8a57614d896153e1565b5b614d9382615410565b9050602081019050919050565b600067ffffffffffffffff821115614dbb57614dba6153e1565b5b614dc482615410565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e2a826151f0565b9150614e35836151f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e6a57614e69615354565b5b828201905092915050565b6000614e80826151fa565b9150614e8b836151fa565b92508260ff03821115614ea157614ea0615354565b5b828201905092915050565b6000614eb7826151f0565b9150614ec2836151f0565b925082614ed257614ed1615383565b5b828204905092915050565b6000614ee8826151fa565b9150614ef3836151fa565b925082614f0357614f02615383565b5b828204905092915050565b6000808291508390505b6001851115614f5857808604811115614f3457614f33615354565b5b6001851615614f435780820291505b8081029050614f518561542e565b9450614f18565b94509492505050565b6000614f6c826151f0565b9150614f77836151f0565b9250614fa47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614fac565b905092915050565b600082614fbc5760019050615078565b81614fca5760009050615078565b8160018114614fe05760028114614fea57615019565b6001915050615078565b60ff841115614ffc57614ffb615354565b5b8360020a91508482111561501357615012615354565b5b50615078565b5060208310610133831016604e8410600b841016171561504e5782820a90508381111561504957615048615354565b5b615078565b61505b8484846001614f0e565b9250905081840481111561507257615071615354565b5b81810290505b9392505050565b600061508a826151f0565b9150615095836151f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150ce576150cd615354565b5b828202905092915050565b60006150e4826151fa565b91506150ef836151fa565b92508160ff048311821515161561510957615108615354565b5b828202905092915050565b600061511f826151f0565b915061512a836151f0565b92508282101561513d5761513c615354565b5b828203905092915050565b6000615153826151fa565b915061515e836151fa565b92508282101561517157615170615354565b5b828203905092915050565b6000615187826151d0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615234578082015181840152602081019050615219565b83811115615243576000848401525b50505050565b6000600282049050600182168061526157607f821691505b60208210811415615275576152746153b2565b5b50919050565b61528482615410565b810181811067ffffffffffffffff821117156152a3576152a26153e1565b5b80604052505050565b60006152b7826151f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152ea576152e9615354565b5b600182019050919050565b600061530082615311565b9050919050565b6000819050919050565b600061531c82615421565b9050919050565b600061532e826151f0565b9150615339836151f0565b92508261534957615348615383565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160011c9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f50726573616c6520706175736564000000000000000000000000000000000000600082015250565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f752063616e2061646f70742061206d6178696d756d206f662035204d6f6f60008201527f6e6b797300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e76616c6964207369676e6174757265210000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f742070617274206f6620746865207465616d2100600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5468617420776f756c642065786365656420746865206d61782072657365727660008201527f6564210000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f50726573616c65204164647265737320616c7265616479207573656421000000600082015250565b7f5075626c69632073616c65207061757365640000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d204d6f6f6e6b797320737570706c790000600082015250565b7f4d6178696d756d20726561636865642100000000000000000000000000000000600082015250565b615bea8161517c565b8114615bf557600080fd5b50565b615c018161518e565b8114615c0c57600080fd5b50565b615c18816151a4565b8114615c2357600080fd5b50565b615c2f816151f0565b8114615c3a57600080fd5b5056fea2646970667358221220e00fbdc7689660be5da9d077a435e802a41e577203cdbe7ce1fb35c71bc2e6dc64736f6c63430008040033

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