ETH Price: $3,523.41 (+6.86%)

Lonely Demons (LODE)
 

Overview

TokenID

481

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
LonelyDemons

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

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


contract LonelyDemons is ERC721Enumerable, Ownable {

    using SafeMath for uint256;
    using Strings for uint256;

    uint256 public MAX_SUPPLY = 1;
    uint256 public PUBLIC_SUPPLY = 1;
    uint256 public maxMintAmount;
    uint256 public pubSaleCost = 30000000000000000;
    uint256 public freeSaleCost = 0;

    address public artist;
    string public baseURI;
    string public unrevealedURI;
    string public uri;
    string public metaDataExt = ".json";

    mapping(address => uint256) public mintedPerAddress;
    mapping(uint256 => bool) public isTokenIdExisting;
    mapping(address => bool) public isWhitelisted;

    bool public mintable = true;
    bool public publicSale = false;
    bool public isRevealed = true;


    constructor(
        string memory name,
        string memory symbol,
        string memory URI,
        string memory UNREVEALED_URI,
        uint256 initialSupply,
        uint256 publicSupply,
        address _admin,
        uint256 _limitPerAddress
    ) ERC721(name, symbol) {
        transferOwnership(_admin);
        baseURI = URI;
        unrevealedURI = UNREVEALED_URI;

        maxMintAmount = _limitPerAddress;
        MAX_SUPPLY = initialSupply;
        PUBLIC_SUPPLY = publicSupply;
    }

    // return admin
    function getAdmin() public view returns (address)  {
        return owner();
    }


    //supply
    function getMaxSupply() public view returns (uint256)  {
        return MAX_SUPPLY;
    }

    function setMaxSupply(uint256 supply) onlyOwner public {
        MAX_SUPPLY = supply;
    }

    function setMaxMintAmount(uint256 _newmaxMintAmount) onlyOwner public {
        maxMintAmount = _newmaxMintAmount;
    }

    function getMaxMintAmount() public view returns (uint256) {
        return maxMintAmount;
    }

    //mint
    function mintTo(address _toAddress) onlyOwner external {
        _mint(_toAddress);
    }

    function mint() external payable {
        require(totalSupply() < PUBLIC_SUPPLY, "Exception: The public supply has been minted out.");
        require(mintedPerAddress[msg.sender] < maxMintAmount, "Exception: Reached the limit for each user. You can't mint no more");
        require(publicSale || isWhitelisted[msg.sender], "Exception: signer is not whitelisted");
        require(getCost(mintedPerAddress[msg.sender]) <= msg.value);
        _mint(msg.sender);
        mintedPerAddress[msg.sender] = SafeMath.add(mintedPerAddress[msg.sender], 1);
    }

    function _mint(address _toAddress) internal {
        require(totalSupply() < MAX_SUPPLY, "Exception: All was minted.");
        require(mintable, "Exception: This is not mintable.");

        uint256 tokenIdToBe = SafeMath.add(totalSupply(), 1);
        _safeMint(_toAddress, tokenIdToBe);

        isTokenIdExisting[tokenIdToBe] = true;
    }

    // mint flag
    function setMintable(bool mintFlag) onlyOwner public {
        mintable = mintFlag;
    }

    //base uri
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function getBaseURI() public view returns (string memory) {
        return _baseURI();
    }

    function setBaseURI(string memory _newBaseURI) onlyOwner public {
        baseURI = _newBaseURI;
    }

    function setUnrevealedURI(string memory _newUnrevealedURI) onlyOwner public {
        unrevealedURI = _newUnrevealedURI;
    }

    function setMetaDataExt(string memory _newExt) onlyOwner public {
        metaDataExt = _newExt;
    }

    function setRevealed(bool _revealed) onlyOwner external {
        isRevealed = _revealed;
    }

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

        string memory currentBaseURI = _baseURI();
        if (isRevealed) {
            return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, tokenId.toString()))
            : "";
        } else {
            return unrevealedURI;
        }
    }

    function addWhitelisted(address _address) internal {
        isWhitelisted[_address] = true;
    }

    function addBatchWhitelisted(address[] calldata mintWhitelist) external onlyOwner {
        for(uint256 i=0; i<mintWhitelist.length; i++) {
            addWhitelisted(mintWhitelist[i]);
        }
    }

    function checkWhitelisted(address _address) external view returns (bool) {
        return isWhitelisted[_address];
    }

    function removeWhitelisted(address _address) external onlyOwner {
        isWhitelisted[_address] = false;
    }

    function setCost(uint256 _newCost) external onlyOwner {
        pubSaleCost = _newCost;
    }

    function getCost(uint256 _mintedAmount) public view returns(uint256) {
        if(_mintedAmount > 0) {
            return pubSaleCost;
        }
        return freeSaleCost;
    }

    function getSaleType() external view returns(bool) {
        return publicSale;
    }

    function setPublicSale(bool isPublic) external onlyOwner {
        publicSale = isPublic;
    }

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

    function withdrawTo(address _address) onlyOwner public {
        payable(_address).transfer(address(this).balance);
    }
}

File 2 of 14 : 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 14 : 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 4 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

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

pragma solidity ^0.8.0;

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

File 9 of 14 : 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 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"URI","type":"string"},{"internalType":"string","name":"UNREVEALED_URI","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"publicSupply","type":"uint256"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"uint256","name":"_limitPerAddress","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"mintWhitelist","type":"address[]"}],"name":"addBatchWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"checkWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeSaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintedAmount","type":"uint256"}],"name":"getCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleType","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isTokenIdExisting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metaDataExt","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAddress","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pubSaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhitelisted","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newExt","type":"string"}],"name":"setMetaDataExt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"mintFlag","type":"bool"}],"name":"setMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPublic","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUnrevealedURI","type":"string"}],"name":"setUnrevealedURI","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":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600b556001600c55666a94d74f430000600e556000600f556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601490805190602001906200006b929190620003ba565b506001601860006101000a81548160ff0219169083151502179055506000601860016101000a81548160ff0219169083151502179055506001601860026101000a81548160ff021916908315150217905550348015620000ca57600080fd5b5060405162005c6f38038062005c6f8339818101604052810190620000f091906200050a565b878781600090805190602001906200010a929190620003ba565b50806001908051906020019062000123929190620003ba565b505050620001466200013a620001ac60201b60201c565b620001b460201b60201c565b62000157826200027a60201b60201c565b85601190805190602001906200016f929190620003ba565b50846012908051906020019062000188929190620003ba565b5080600d8190555083600b8190555082600c8190555050505050505050506200092e565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200028a620001ac60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002b06200039060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030090620006a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200037c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000373906200067f565b60405180910390fd5b6200038d81620001b460201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003c890620007a7565b90600052602060002090601f016020900481019282620003ec576000855562000438565b82601f106200040757805160ff191683800117855562000438565b8280016001018555821562000438579182015b82811115620004375782518255916020019190600101906200041a565b5b5090506200044791906200044b565b5090565b5b80821115620004665760008160009055506001016200044c565b5090565b6000620004816200047b84620006ec565b620006c3565b9050828152602081018484840111156200049a57600080fd5b620004a784828562000771565b509392505050565b600081519050620004c081620008fa565b92915050565b600082601f830112620004d857600080fd5b8151620004ea8482602086016200046a565b91505092915050565b600081519050620005048162000914565b92915050565b600080600080600080600080610100898b0312156200052857600080fd5b600089015167ffffffffffffffff8111156200054357600080fd5b620005518b828c01620004c6565b985050602089015167ffffffffffffffff8111156200056f57600080fd5b6200057d8b828c01620004c6565b975050604089015167ffffffffffffffff8111156200059b57600080fd5b620005a98b828c01620004c6565b965050606089015167ffffffffffffffff811115620005c757600080fd5b620005d58b828c01620004c6565b9550506080620005e88b828c01620004f3565b94505060a0620005fb8b828c01620004f3565b93505060c06200060e8b828c01620004af565b92505060e0620006218b828c01620004f3565b9150509295985092959890939650565b60006200064060268362000722565b91506200064d8262000882565b604082019050919050565b60006200066760208362000722565b91506200067482620008d1565b602082019050919050565b600060208201905081810360008301526200069a8162000631565b9050919050565b60006020820190508181036000830152620006bc8162000658565b9050919050565b6000620006cf620006e2565b9050620006dd8282620007dd565b919050565b6000604051905090565b600067ffffffffffffffff8211156200070a576200070962000842565b5b620007158262000871565b9050602081019050919050565b600082825260208201905092915050565b6000620007408262000747565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200079157808201518184015260208101905062000774565b83811115620007a1576000848401525b50505050565b60006002820490506001821680620007c057607f821691505b60208210811415620007d757620007d662000813565b5b50919050565b620007e88262000871565b810181811067ffffffffffffffff821117156200080a576200080962000842565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620009058162000733565b81146200091157600080fd5b50565b6200091f8162000767565b81146200092b57600080fd5b50565b615331806200093e6000396000f3fe6080604052600436106103765760003560e01c80636352211e116101d157806395d89b4111610102578063e0a80853116100a0578063f14fd5a61161006f578063f14fd5a614610ce5578063f2fde38b14610d0e578063fd07939714610d37578063fe2c7fee14610d6057610376565b8063e0a8085314610c29578063e985e9c514610c52578063ea4cd25214610c8f578063eac989f814610cba57610376565b8063c87b56dd116100dc578063c87b56dd14610b59578063d1e812a314610b96578063d445b97814610bc1578063d6e7b8e414610bfe57610376565b806395d89b4114610adc578063a22cb46514610b07578063b88d4fde14610b3057610376565b8063714c53981161016f578063755edd1711610149578063755edd1714610a20578063780657f114610a495780638342083a14610a865780638da5cb5b14610ab157610376565b8063714c5398146109b5578063715018a6146109e057806372b0d90c146109f757610376565b80636e9960c3116101ab5780636e9960c3146108f95780636f8b44b0146109245780637035bf181461094d57806370a082311461097857610376565b80636352211e146108665780636b870e44146108a35780636c0360eb146108ce57610376565b806332cb6b0c116102ab5780634bf365df1161024957806354214f691161022357806354214f69146107ac57806355f804b3146107d75780635a4dd47d146108005780635aca1bb61461083d57610376565b80634bf365df146107195780634c0f38c2146107445780634f6ccce71461076f57610376565b80633ccfd60b116102855780633ccfd60b1461068557806342842e0e1461069c57806343bc1612146106c557806344a0d68a146106f057610376565b806332cb6b0c146105f257806333bc1c5c1461061d5780633af32abf1461064857610376565b806318160ddd1161031857806323b872dd116102f257806323b872dd1461053a578063285d70d414610563578063291d95491461058c5780632f745c59146105b557610376565b806318160ddd146104a757806320d8dad0146104d2578063239c70ae1461050f57610376565b806308631870116103545780630863187014610420578063088a4ed01461044b578063095ea7b3146104745780631249c58b1461049d57610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613feb565b610d89565b6040516103af9190614527565b60405180910390f35b3480156103c457600080fd5b506103cd610e03565b6040516103da9190614542565b60405180910390f35b3480156103ef57600080fd5b5061040a6004803603810190610405919061407e565b610e95565b60405161041791906144c0565b60405180910390f35b34801561042c57600080fd5b50610435610f1a565b6040516104429190614844565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d919061407e565b610f20565b005b34801561048057600080fd5b5061049b60048036038101906104969190613f41565b610fa6565b005b6104a56110be565b005b3480156104b357600080fd5b506104bc61131b565b6040516104c99190614844565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f49190613dd6565b611328565b6040516105069190614527565b60405180910390f35b34801561051b57600080fd5b5061052461137e565b6040516105319190614844565b60405180910390f35b34801561054657600080fd5b50610561600480360381019061055c9190613e3b565b611384565b005b34801561056f57600080fd5b5061058a60048036038101906105859190613fc2565b6113e4565b005b34801561059857600080fd5b506105b360048036038101906105ae9190613dd6565b61147d565b005b3480156105c157600080fd5b506105dc60048036038101906105d79190613f41565b611554565b6040516105e99190614844565b60405180910390f35b3480156105fe57600080fd5b506106076115f9565b6040516106149190614844565b60405180910390f35b34801561062957600080fd5b506106326115ff565b60405161063f9190614527565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a9190613dd6565b611612565b60405161067c9190614527565b60405180910390f35b34801561069157600080fd5b5061069a611632565b005b3480156106a857600080fd5b506106c360048036038101906106be9190613e3b565b6116f7565b005b3480156106d157600080fd5b506106da611717565b6040516106e791906144c0565b60405180910390f35b3480156106fc57600080fd5b506107176004803603810190610712919061407e565b61173d565b005b34801561072557600080fd5b5061072e6117c3565b60405161073b9190614527565b60405180910390f35b34801561075057600080fd5b506107596117d6565b6040516107669190614844565b60405180910390f35b34801561077b57600080fd5b506107966004803603810190610791919061407e565b6117e0565b6040516107a39190614844565b60405180910390f35b3480156107b857600080fd5b506107c1611877565b6040516107ce9190614527565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f9919061403d565b61188a565b005b34801561080c57600080fd5b506108276004803603810190610822919061407e565b611920565b6040516108349190614844565b60405180910390f35b34801561084957600080fd5b50610864600480360381019061085f9190613fc2565b61193f565b005b34801561087257600080fd5b5061088d6004803603810190610888919061407e565b6119d8565b60405161089a91906144c0565b60405180910390f35b3480156108af57600080fd5b506108b8611a8a565b6040516108c59190614542565b60405180910390f35b3480156108da57600080fd5b506108e3611b18565b6040516108f09190614542565b60405180910390f35b34801561090557600080fd5b5061090e611ba6565b60405161091b91906144c0565b60405180910390f35b34801561093057600080fd5b5061094b6004803603810190610946919061407e565b611bb5565b005b34801561095957600080fd5b50610962611c3b565b60405161096f9190614542565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190613dd6565b611cc9565b6040516109ac9190614844565b60405180910390f35b3480156109c157600080fd5b506109ca611d81565b6040516109d79190614542565b60405180910390f35b3480156109ec57600080fd5b506109f5611d90565b005b348015610a0357600080fd5b50610a1e6004803603810190610a199190613dd6565b611e18565b005b348015610a2c57600080fd5b50610a476004803603810190610a429190613dd6565b611ede565b005b348015610a5557600080fd5b50610a706004803603810190610a6b919061407e565b611f66565b604051610a7d9190614527565b60405180910390f35b348015610a9257600080fd5b50610a9b611f86565b604051610aa89190614844565b60405180910390f35b348015610abd57600080fd5b50610ac6611f8c565b604051610ad391906144c0565b60405180910390f35b348015610ae857600080fd5b50610af1611fb6565b604051610afe9190614542565b60405180910390f35b348015610b1357600080fd5b50610b2e6004803603810190610b299190613f05565b612048565b005b348015610b3c57600080fd5b50610b576004803603810190610b529190613e8a565b61205e565b005b348015610b6557600080fd5b50610b806004803603810190610b7b919061407e565b6120c0565b604051610b8d9190614542565b60405180910390f35b348015610ba257600080fd5b50610bab612210565b604051610bb89190614527565b60405180910390f35b348015610bcd57600080fd5b50610be86004803603810190610be39190613dd6565b612227565b604051610bf59190614844565b60405180910390f35b348015610c0a57600080fd5b50610c1361223f565b604051610c209190614844565b60405180910390f35b348015610c3557600080fd5b50610c506004803603810190610c4b9190613fc2565b612249565b005b348015610c5e57600080fd5b50610c796004803603810190610c749190613dff565b6122e2565b604051610c869190614527565b60405180910390f35b348015610c9b57600080fd5b50610ca4612376565b604051610cb19190614844565b60405180910390f35b348015610cc657600080fd5b50610ccf61237c565b604051610cdc9190614542565b60405180910390f35b348015610cf157600080fd5b50610d0c6004803603810190610d07919061403d565b61240a565b005b348015610d1a57600080fd5b50610d356004803603810190610d309190613dd6565b6124a0565b005b348015610d4357600080fd5b50610d5e6004803603810190610d599190613f7d565b612598565b005b348015610d6c57600080fd5b50610d876004803603810190610d82919061403d565b612690565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610dfc5750610dfb82612726565b5b9050919050565b606060008054610e1290614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3e90614a9a565b8015610e8b5780601f10610e6057610100808354040283529160200191610e8b565b820191906000526020600020905b815481529060010190602001808311610e6e57829003601f168201915b5050505050905090565b6000610ea082612808565b610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690614744565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600f5481565b610f28612874565b73ffffffffffffffffffffffffffffffffffffffff16610f46611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390614764565b60405180910390fd5b80600d8190555050565b6000610fb1826119d8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611022576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611019906147c4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611041612874565b73ffffffffffffffffffffffffffffffffffffffff161480611070575061106f8161106a612874565b6122e2565b5b6110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a6906146c4565b60405180910390fd5b6110b9838361287c565b505050565b600c546110c961131b565b10611109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110090614564565b60405180910390fd5b600d54601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061118c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611183906146a4565b60405180910390fd5b601860019054906101000a900460ff16806111f05750601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690614784565b60405180910390fd5b34611278601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611920565b111561128357600080fd5b61128c33612935565b6112d6601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546001612a1f565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6000600880549050905090565b6000601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600d5481565b61139561138f612874565b82612a35565b6113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cb90614804565b60405180910390fd5b6113df838383612b13565b505050565b6113ec612874565b73ffffffffffffffffffffffffffffffffffffffff1661140a611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790614764565b60405180910390fd5b80601860006101000a81548160ff02191690831515021790555050565b611485612874565b73ffffffffffffffffffffffffffffffffffffffff166114a3611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146114f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f090614764565b60405180910390fd5b6000601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600061155f83611cc9565b82106115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159790614584565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b5481565b601860019054906101000a900460ff1681565b60176020528060005260406000206000915054906101000a900460ff1681565b61163a612874565b73ffffffffffffffffffffffffffffffffffffffff16611658611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146116ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a590614764565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156116f4573d6000803e3d6000fd5b50565b6117128383836040518060200160405280600081525061205e565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611745612874565b73ffffffffffffffffffffffffffffffffffffffff16611763611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146117b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b090614764565b60405180910390fd5b80600e8190555050565b601860009054906101000a900460ff1681565b6000600b54905090565b60006117ea61131b565b821061182b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182290614824565b60405180910390fd5b60088281548110611865577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601860029054906101000a900460ff1681565b611892612874565b73ffffffffffffffffffffffffffffffffffffffff166118b0611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fd90614764565b60405180910390fd5b806011908051906020019061191c929190613bb0565b5050565b60008082111561193457600e54905061193a565b600f5490505b919050565b611947612874565b73ffffffffffffffffffffffffffffffffffffffff16611965611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290614764565b60405180910390fd5b80601860016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890614704565b60405180910390fd5b80915050919050565b60148054611a9790614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611ac390614a9a565b8015611b105780601f10611ae557610100808354040283529160200191611b10565b820191906000526020600020905b815481529060010190602001808311611af357829003601f168201915b505050505081565b60118054611b2590614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5190614a9a565b8015611b9e5780601f10611b7357610100808354040283529160200191611b9e565b820191906000526020600020905b815481529060010190602001808311611b8157829003601f168201915b505050505081565b6000611bb0611f8c565b905090565b611bbd612874565b73ffffffffffffffffffffffffffffffffffffffff16611bdb611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890614764565b60405180910390fd5b80600b8190555050565b60128054611c4890614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7490614a9a565b8015611cc15780601f10611c9657610100808354040283529160200191611cc1565b820191906000526020600020905b815481529060010190602001808311611ca457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d31906146e4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611d8b612d7a565b905090565b611d98612874565b73ffffffffffffffffffffffffffffffffffffffff16611db6611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0390614764565b60405180910390fd5b611e166000612e0c565b565b611e20612874565b73ffffffffffffffffffffffffffffffffffffffff16611e3e611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b90614764565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611eda573d6000803e3d6000fd5b5050565b611ee6612874565b73ffffffffffffffffffffffffffffffffffffffff16611f04611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5190614764565b60405180910390fd5b611f6381612935565b50565b60166020528060005260406000206000915054906101000a900460ff1681565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611fc590614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611ff190614a9a565b801561203e5780601f106120135761010080835404028352916020019161203e565b820191906000526020600020905b81548152906001019060200180831161202157829003601f168201915b5050505050905090565b61205a612053612874565b8383612ed2565b5050565b61206f612069612874565b83612a35565b6120ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a590614804565b60405180910390fd5b6120ba8484848461303f565b50505050565b60606120cb82612808565b61210a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612101906147a4565b60405180910390fd5b6000612114612d7a565b9050601860029054906101000a900460ff161561217c5760008151116121495760405180602001604052806000815250612174565b806121538461309b565b60405160200161216492919061449c565b6040516020818303038152906040525b91505061220b565b6012805461218990614a9a565b80601f01602080910402602001604051908101604052809291908181526020018280546121b590614a9a565b80156122025780601f106121d757610100808354040283529160200191612202565b820191906000526020600020905b8154815290600101906020018083116121e557829003601f168201915b50505050509150505b919050565b6000601860019054906101000a900460ff16905090565b60156020528060005260406000206000915090505481565b6000600d54905090565b612251612874565b73ffffffffffffffffffffffffffffffffffffffff1661226f611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146122c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bc90614764565b60405180910390fd5b80601860026101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b6013805461238990614a9a565b80601f01602080910402602001604051908101604052809291908181526020018280546123b590614a9a565b80156124025780601f106123d757610100808354040283529160200191612402565b820191906000526020600020905b8154815290600101906020018083116123e557829003601f168201915b505050505081565b612412612874565b73ffffffffffffffffffffffffffffffffffffffff16612430611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614612486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247d90614764565b60405180910390fd5b806014908051906020019061249c929190613bb0565b5050565b6124a8612874565b73ffffffffffffffffffffffffffffffffffffffff166124c6611f8c565b73ffffffffffffffffffffffffffffffffffffffff161461251c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251390614764565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561258c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612583906145c4565b60405180910390fd5b61259581612e0c565b50565b6125a0612874565b73ffffffffffffffffffffffffffffffffffffffff166125be611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614764565b60405180910390fd5b60005b8282905081101561268b5761267883838381811061265e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906126739190613dd6565b613248565b808061268390614afd565b915050612617565b505050565b612698612874565b73ffffffffffffffffffffffffffffffffffffffff166126b6611f8c565b73ffffffffffffffffffffffffffffffffffffffff161461270c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270390614764565b60405180910390fd5b8060129080519060200190612722929190613bb0565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127f157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128015750612800826132a3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128ef836119d8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b5461294061131b565b10612980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297790614684565b60405180910390fd5b601860009054906101000a900460ff166129cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c6906147e4565b60405180910390fd5b60006129e36129dc61131b565b6001612a1f565b90506129ef828261330d565b60016016600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008183612a2d9190614929565b905092915050565b6000612a4082612808565b612a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7690614664565b60405180910390fd5b6000612a8a836119d8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612acc5750612acb81856122e2565b5b80612b0a57508373ffffffffffffffffffffffffffffffffffffffff16612af284610e95565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b33826119d8565b73ffffffffffffffffffffffffffffffffffffffff1614612b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b80906145e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf090614624565b60405180910390fd5b612c0483838361332b565b612c0f60008261287c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5f91906149b0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cb69190614929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d7583838361343f565b505050565b606060118054612d8990614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054612db590614a9a565b8015612e025780601f10612dd757610100808354040283529160200191612e02565b820191906000526020600020905b815481529060010190602001808311612de557829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3890614644565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130329190614527565b60405180910390a3505050565b61304a848484612b13565b61305684848484613444565b613095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308c906145a4565b60405180910390fd5b50505050565b606060008214156130e3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613243565b600082905060005b600082146131155780806130fe90614afd565b915050600a8261310e919061497f565b91506130eb565b60008167ffffffffffffffff811115613157577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131895781602001600182028036833780820191505090505b5090505b6000851461323c576001826131a291906149b0565b9150600a856131b19190614b46565b60306131bd9190614929565b60f81b8183815181106131f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613235919061497f565b945061318d565b8093505050505b919050565b6001601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133278282604051806020016040528060008152506135db565b5050565b613336838383613636565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613379576133748161363b565b6133b8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133b7576133b68382613684565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133fb576133f6816137f1565b61343a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613439576134388282613934565b5b5b505050565b505050565b60006134658473ffffffffffffffffffffffffffffffffffffffff166139b3565b156135ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348e612874565b8786866040518563ffffffff1660e01b81526004016134b094939291906144db565b602060405180830381600087803b1580156134ca57600080fd5b505af19250505080156134fb57506040513d601f19601f820116820180604052508101906134f89190614014565b60015b61357e573d806000811461352b576040519150601f19603f3d011682016040523d82523d6000602084013e613530565b606091505b50600081511415613576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356d906145a4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135d3565b600190505b949350505050565b6135e583836139d6565b6135f26000848484613444565b613631576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613628906145a4565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161369184611cc9565b61369b91906149b0565b9050600060076000848152602001908152602001600020549050818114613780576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061380591906149b0565b905060006009600084815260200190815260200160002054905060006008838154811061385b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106138a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613918577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061393f83611cc9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a3d90614724565b60405180910390fd5b613a4f81612808565b15613a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8690614604565b60405180910390fd5b613a9b6000838361332b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613aeb9190614929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bac6000838361343f565b5050565b828054613bbc90614a9a565b90600052602060002090601f016020900481019282613bde5760008555613c25565b82601f10613bf757805160ff1916838001178555613c25565b82800160010185558215613c25579182015b82811115613c24578251825591602001919060010190613c09565b5b509050613c329190613c36565b5090565b5b80821115613c4f576000816000905550600101613c37565b5090565b6000613c66613c6184614884565b61485f565b905082815260208101848484011115613c7e57600080fd5b613c89848285614a58565b509392505050565b6000613ca4613c9f846148b5565b61485f565b905082815260208101848484011115613cbc57600080fd5b613cc7848285614a58565b509392505050565b600081359050613cde8161529f565b92915050565b60008083601f840112613cf657600080fd5b8235905067ffffffffffffffff811115613d0f57600080fd5b602083019150836020820283011115613d2757600080fd5b9250929050565b600081359050613d3d816152b6565b92915050565b600081359050613d52816152cd565b92915050565b600081519050613d67816152cd565b92915050565b600082601f830112613d7e57600080fd5b8135613d8e848260208601613c53565b91505092915050565b600082601f830112613da857600080fd5b8135613db8848260208601613c91565b91505092915050565b600081359050613dd0816152e4565b92915050565b600060208284031215613de857600080fd5b6000613df684828501613ccf565b91505092915050565b60008060408385031215613e1257600080fd5b6000613e2085828601613ccf565b9250506020613e3185828601613ccf565b9150509250929050565b600080600060608486031215613e5057600080fd5b6000613e5e86828701613ccf565b9350506020613e6f86828701613ccf565b9250506040613e8086828701613dc1565b9150509250925092565b60008060008060808587031215613ea057600080fd5b6000613eae87828801613ccf565b9450506020613ebf87828801613ccf565b9350506040613ed087828801613dc1565b925050606085013567ffffffffffffffff811115613eed57600080fd5b613ef987828801613d6d565b91505092959194509250565b60008060408385031215613f1857600080fd5b6000613f2685828601613ccf565b9250506020613f3785828601613d2e565b9150509250929050565b60008060408385031215613f5457600080fd5b6000613f6285828601613ccf565b9250506020613f7385828601613dc1565b9150509250929050565b60008060208385031215613f9057600080fd5b600083013567ffffffffffffffff811115613faa57600080fd5b613fb685828601613ce4565b92509250509250929050565b600060208284031215613fd457600080fd5b6000613fe284828501613d2e565b91505092915050565b600060208284031215613ffd57600080fd5b600061400b84828501613d43565b91505092915050565b60006020828403121561402657600080fd5b600061403484828501613d58565b91505092915050565b60006020828403121561404f57600080fd5b600082013567ffffffffffffffff81111561406957600080fd5b61407584828501613d97565b91505092915050565b60006020828403121561409057600080fd5b600061409e84828501613dc1565b91505092915050565b6140b0816149e4565b82525050565b6140bf816149f6565b82525050565b60006140d0826148e6565b6140da81856148fc565b93506140ea818560208601614a67565b6140f381614c33565b840191505092915050565b6000614109826148f1565b614113818561490d565b9350614123818560208601614a67565b61412c81614c33565b840191505092915050565b6000614142826148f1565b61414c818561491e565b935061415c818560208601614a67565b80840191505092915050565b600061417560318361490d565b915061418082614c44565b604082019050919050565b6000614198602b8361490d565b91506141a382614c93565b604082019050919050565b60006141bb60328361490d565b91506141c682614ce2565b604082019050919050565b60006141de60268361490d565b91506141e982614d31565b604082019050919050565b600061420160258361490d565b915061420c82614d80565b604082019050919050565b6000614224601c8361490d565b915061422f82614dcf565b602082019050919050565b600061424760248361490d565b915061425282614df8565b604082019050919050565b600061426a60198361490d565b915061427582614e47565b602082019050919050565b600061428d602c8361490d565b915061429882614e70565b604082019050919050565b60006142b0601a8361490d565b91506142bb82614ebf565b602082019050919050565b60006142d360428361490d565b91506142de82614ee8565b606082019050919050565b60006142f660388361490d565b915061430182614f5d565b604082019050919050565b6000614319602a8361490d565b915061432482614fac565b604082019050919050565b600061433c60298361490d565b915061434782614ffb565b604082019050919050565b600061435f60208361490d565b915061436a8261504a565b602082019050919050565b6000614382602c8361490d565b915061438d82615073565b604082019050919050565b60006143a560208361490d565b91506143b0826150c2565b602082019050919050565b60006143c860248361490d565b91506143d3826150eb565b604082019050919050565b60006143eb602f8361490d565b91506143f68261513a565b604082019050919050565b600061440e60218361490d565b915061441982615189565b604082019050919050565b600061443160208361490d565b915061443c826151d8565b602082019050919050565b600061445460318361490d565b915061445f82615201565b604082019050919050565b6000614477602c8361490d565b915061448282615250565b604082019050919050565b61449681614a4e565b82525050565b60006144a88285614137565b91506144b48284614137565b91508190509392505050565b60006020820190506144d560008301846140a7565b92915050565b60006080820190506144f060008301876140a7565b6144fd60208301866140a7565b61450a604083018561448d565b818103606083015261451c81846140c5565b905095945050505050565b600060208201905061453c60008301846140b6565b92915050565b6000602082019050818103600083015261455c81846140fe565b905092915050565b6000602082019050818103600083015261457d81614168565b9050919050565b6000602082019050818103600083015261459d8161418b565b9050919050565b600060208201905081810360008301526145bd816141ae565b9050919050565b600060208201905081810360008301526145dd816141d1565b9050919050565b600060208201905081810360008301526145fd816141f4565b9050919050565b6000602082019050818103600083015261461d81614217565b9050919050565b6000602082019050818103600083015261463d8161423a565b9050919050565b6000602082019050818103600083015261465d8161425d565b9050919050565b6000602082019050818103600083015261467d81614280565b9050919050565b6000602082019050818103600083015261469d816142a3565b9050919050565b600060208201905081810360008301526146bd816142c6565b9050919050565b600060208201905081810360008301526146dd816142e9565b9050919050565b600060208201905081810360008301526146fd8161430c565b9050919050565b6000602082019050818103600083015261471d8161432f565b9050919050565b6000602082019050818103600083015261473d81614352565b9050919050565b6000602082019050818103600083015261475d81614375565b9050919050565b6000602082019050818103600083015261477d81614398565b9050919050565b6000602082019050818103600083015261479d816143bb565b9050919050565b600060208201905081810360008301526147bd816143de565b9050919050565b600060208201905081810360008301526147dd81614401565b9050919050565b600060208201905081810360008301526147fd81614424565b9050919050565b6000602082019050818103600083015261481d81614447565b9050919050565b6000602082019050818103600083015261483d8161446a565b9050919050565b6000602082019050614859600083018461448d565b92915050565b600061486961487a565b90506148758282614acc565b919050565b6000604051905090565b600067ffffffffffffffff82111561489f5761489e614c04565b5b6148a882614c33565b9050602081019050919050565b600067ffffffffffffffff8211156148d0576148cf614c04565b5b6148d982614c33565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061493482614a4e565b915061493f83614a4e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561497457614973614b77565b5b828201905092915050565b600061498a82614a4e565b915061499583614a4e565b9250826149a5576149a4614ba6565b5b828204905092915050565b60006149bb82614a4e565b91506149c683614a4e565b9250828210156149d9576149d8614b77565b5b828203905092915050565b60006149ef82614a2e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a85578082015181840152602081019050614a6a565b83811115614a94576000848401525b50505050565b60006002820490506001821680614ab257607f821691505b60208210811415614ac657614ac5614bd5565b5b50919050565b614ad582614c33565b810181811067ffffffffffffffff82111715614af457614af3614c04565b5b80604052505050565b6000614b0882614a4e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3b57614b3a614b77565b5b600182019050919050565b6000614b5182614a4e565b9150614b5c83614a4e565b925082614b6c57614b6b614ba6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f457863657074696f6e3a20546865207075626c696320737570706c792068617360008201527f206265656e206d696e746564206f75742e000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f457863657074696f6e3a20416c6c20776173206d696e7465642e000000000000600082015250565b7f457863657074696f6e3a205265616368656420746865206c696d697420666f7260008201527f206561636820757365722e20596f752063616e2774206d696e74206e6f206d6f60208201527f7265000000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f457863657074696f6e3a207369676e6572206973206e6f742077686974656c6960008201527f7374656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f457863657074696f6e3a2054686973206973206e6f74206d696e7461626c652e600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6152a8816149e4565b81146152b357600080fd5b50565b6152bf816149f6565b81146152ca57600080fd5b50565b6152d681614a02565b81146152e157600080fd5b50565b6152ed81614a4e565b81146152f857600080fd5b5056fea26469706673582212209d8713e8ddc0a948d1839bf233e61019de2fff34e1cdc0c0b641f7f2cb003c7664736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000029a000000000000000000000000000000000000000000000000000000000000029a0000000000000000000000001f87d29a8a69dd5ed9340c79e7c1c1fbf1603fab0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000d4c6f6e656c792044656d6f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c4f444500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6c6f6e656c7964656d6f6e732e6865726f6b756170702e636f6d2f6170692f746f6b656e2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103765760003560e01c80636352211e116101d157806395d89b4111610102578063e0a80853116100a0578063f14fd5a61161006f578063f14fd5a614610ce5578063f2fde38b14610d0e578063fd07939714610d37578063fe2c7fee14610d6057610376565b8063e0a8085314610c29578063e985e9c514610c52578063ea4cd25214610c8f578063eac989f814610cba57610376565b8063c87b56dd116100dc578063c87b56dd14610b59578063d1e812a314610b96578063d445b97814610bc1578063d6e7b8e414610bfe57610376565b806395d89b4114610adc578063a22cb46514610b07578063b88d4fde14610b3057610376565b8063714c53981161016f578063755edd1711610149578063755edd1714610a20578063780657f114610a495780638342083a14610a865780638da5cb5b14610ab157610376565b8063714c5398146109b5578063715018a6146109e057806372b0d90c146109f757610376565b80636e9960c3116101ab5780636e9960c3146108f95780636f8b44b0146109245780637035bf181461094d57806370a082311461097857610376565b80636352211e146108665780636b870e44146108a35780636c0360eb146108ce57610376565b806332cb6b0c116102ab5780634bf365df1161024957806354214f691161022357806354214f69146107ac57806355f804b3146107d75780635a4dd47d146108005780635aca1bb61461083d57610376565b80634bf365df146107195780634c0f38c2146107445780634f6ccce71461076f57610376565b80633ccfd60b116102855780633ccfd60b1461068557806342842e0e1461069c57806343bc1612146106c557806344a0d68a146106f057610376565b806332cb6b0c146105f257806333bc1c5c1461061d5780633af32abf1461064857610376565b806318160ddd1161031857806323b872dd116102f257806323b872dd1461053a578063285d70d414610563578063291d95491461058c5780632f745c59146105b557610376565b806318160ddd146104a757806320d8dad0146104d2578063239c70ae1461050f57610376565b806308631870116103545780630863187014610420578063088a4ed01461044b578063095ea7b3146104745780631249c58b1461049d57610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613feb565b610d89565b6040516103af9190614527565b60405180910390f35b3480156103c457600080fd5b506103cd610e03565b6040516103da9190614542565b60405180910390f35b3480156103ef57600080fd5b5061040a6004803603810190610405919061407e565b610e95565b60405161041791906144c0565b60405180910390f35b34801561042c57600080fd5b50610435610f1a565b6040516104429190614844565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d919061407e565b610f20565b005b34801561048057600080fd5b5061049b60048036038101906104969190613f41565b610fa6565b005b6104a56110be565b005b3480156104b357600080fd5b506104bc61131b565b6040516104c99190614844565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f49190613dd6565b611328565b6040516105069190614527565b60405180910390f35b34801561051b57600080fd5b5061052461137e565b6040516105319190614844565b60405180910390f35b34801561054657600080fd5b50610561600480360381019061055c9190613e3b565b611384565b005b34801561056f57600080fd5b5061058a60048036038101906105859190613fc2565b6113e4565b005b34801561059857600080fd5b506105b360048036038101906105ae9190613dd6565b61147d565b005b3480156105c157600080fd5b506105dc60048036038101906105d79190613f41565b611554565b6040516105e99190614844565b60405180910390f35b3480156105fe57600080fd5b506106076115f9565b6040516106149190614844565b60405180910390f35b34801561062957600080fd5b506106326115ff565b60405161063f9190614527565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a9190613dd6565b611612565b60405161067c9190614527565b60405180910390f35b34801561069157600080fd5b5061069a611632565b005b3480156106a857600080fd5b506106c360048036038101906106be9190613e3b565b6116f7565b005b3480156106d157600080fd5b506106da611717565b6040516106e791906144c0565b60405180910390f35b3480156106fc57600080fd5b506107176004803603810190610712919061407e565b61173d565b005b34801561072557600080fd5b5061072e6117c3565b60405161073b9190614527565b60405180910390f35b34801561075057600080fd5b506107596117d6565b6040516107669190614844565b60405180910390f35b34801561077b57600080fd5b506107966004803603810190610791919061407e565b6117e0565b6040516107a39190614844565b60405180910390f35b3480156107b857600080fd5b506107c1611877565b6040516107ce9190614527565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f9919061403d565b61188a565b005b34801561080c57600080fd5b506108276004803603810190610822919061407e565b611920565b6040516108349190614844565b60405180910390f35b34801561084957600080fd5b50610864600480360381019061085f9190613fc2565b61193f565b005b34801561087257600080fd5b5061088d6004803603810190610888919061407e565b6119d8565b60405161089a91906144c0565b60405180910390f35b3480156108af57600080fd5b506108b8611a8a565b6040516108c59190614542565b60405180910390f35b3480156108da57600080fd5b506108e3611b18565b6040516108f09190614542565b60405180910390f35b34801561090557600080fd5b5061090e611ba6565b60405161091b91906144c0565b60405180910390f35b34801561093057600080fd5b5061094b6004803603810190610946919061407e565b611bb5565b005b34801561095957600080fd5b50610962611c3b565b60405161096f9190614542565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190613dd6565b611cc9565b6040516109ac9190614844565b60405180910390f35b3480156109c157600080fd5b506109ca611d81565b6040516109d79190614542565b60405180910390f35b3480156109ec57600080fd5b506109f5611d90565b005b348015610a0357600080fd5b50610a1e6004803603810190610a199190613dd6565b611e18565b005b348015610a2c57600080fd5b50610a476004803603810190610a429190613dd6565b611ede565b005b348015610a5557600080fd5b50610a706004803603810190610a6b919061407e565b611f66565b604051610a7d9190614527565b60405180910390f35b348015610a9257600080fd5b50610a9b611f86565b604051610aa89190614844565b60405180910390f35b348015610abd57600080fd5b50610ac6611f8c565b604051610ad391906144c0565b60405180910390f35b348015610ae857600080fd5b50610af1611fb6565b604051610afe9190614542565b60405180910390f35b348015610b1357600080fd5b50610b2e6004803603810190610b299190613f05565b612048565b005b348015610b3c57600080fd5b50610b576004803603810190610b529190613e8a565b61205e565b005b348015610b6557600080fd5b50610b806004803603810190610b7b919061407e565b6120c0565b604051610b8d9190614542565b60405180910390f35b348015610ba257600080fd5b50610bab612210565b604051610bb89190614527565b60405180910390f35b348015610bcd57600080fd5b50610be86004803603810190610be39190613dd6565b612227565b604051610bf59190614844565b60405180910390f35b348015610c0a57600080fd5b50610c1361223f565b604051610c209190614844565b60405180910390f35b348015610c3557600080fd5b50610c506004803603810190610c4b9190613fc2565b612249565b005b348015610c5e57600080fd5b50610c796004803603810190610c749190613dff565b6122e2565b604051610c869190614527565b60405180910390f35b348015610c9b57600080fd5b50610ca4612376565b604051610cb19190614844565b60405180910390f35b348015610cc657600080fd5b50610ccf61237c565b604051610cdc9190614542565b60405180910390f35b348015610cf157600080fd5b50610d0c6004803603810190610d07919061403d565b61240a565b005b348015610d1a57600080fd5b50610d356004803603810190610d309190613dd6565b6124a0565b005b348015610d4357600080fd5b50610d5e6004803603810190610d599190613f7d565b612598565b005b348015610d6c57600080fd5b50610d876004803603810190610d82919061403d565b612690565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610dfc5750610dfb82612726565b5b9050919050565b606060008054610e1290614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3e90614a9a565b8015610e8b5780601f10610e6057610100808354040283529160200191610e8b565b820191906000526020600020905b815481529060010190602001808311610e6e57829003601f168201915b5050505050905090565b6000610ea082612808565b610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690614744565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600f5481565b610f28612874565b73ffffffffffffffffffffffffffffffffffffffff16610f46611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390614764565b60405180910390fd5b80600d8190555050565b6000610fb1826119d8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611022576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611019906147c4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611041612874565b73ffffffffffffffffffffffffffffffffffffffff161480611070575061106f8161106a612874565b6122e2565b5b6110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a6906146c4565b60405180910390fd5b6110b9838361287c565b505050565b600c546110c961131b565b10611109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110090614564565b60405180910390fd5b600d54601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061118c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611183906146a4565b60405180910390fd5b601860019054906101000a900460ff16806111f05750601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690614784565b60405180910390fd5b34611278601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611920565b111561128357600080fd5b61128c33612935565b6112d6601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546001612a1f565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6000600880549050905090565b6000601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600d5481565b61139561138f612874565b82612a35565b6113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cb90614804565b60405180910390fd5b6113df838383612b13565b505050565b6113ec612874565b73ffffffffffffffffffffffffffffffffffffffff1661140a611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790614764565b60405180910390fd5b80601860006101000a81548160ff02191690831515021790555050565b611485612874565b73ffffffffffffffffffffffffffffffffffffffff166114a3611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146114f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f090614764565b60405180910390fd5b6000601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600061155f83611cc9565b82106115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159790614584565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b5481565b601860019054906101000a900460ff1681565b60176020528060005260406000206000915054906101000a900460ff1681565b61163a612874565b73ffffffffffffffffffffffffffffffffffffffff16611658611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146116ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a590614764565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156116f4573d6000803e3d6000fd5b50565b6117128383836040518060200160405280600081525061205e565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611745612874565b73ffffffffffffffffffffffffffffffffffffffff16611763611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146117b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b090614764565b60405180910390fd5b80600e8190555050565b601860009054906101000a900460ff1681565b6000600b54905090565b60006117ea61131b565b821061182b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182290614824565b60405180910390fd5b60088281548110611865577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601860029054906101000a900460ff1681565b611892612874565b73ffffffffffffffffffffffffffffffffffffffff166118b0611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fd90614764565b60405180910390fd5b806011908051906020019061191c929190613bb0565b5050565b60008082111561193457600e54905061193a565b600f5490505b919050565b611947612874565b73ffffffffffffffffffffffffffffffffffffffff16611965611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290614764565b60405180910390fd5b80601860016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890614704565b60405180910390fd5b80915050919050565b60148054611a9790614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611ac390614a9a565b8015611b105780601f10611ae557610100808354040283529160200191611b10565b820191906000526020600020905b815481529060010190602001808311611af357829003601f168201915b505050505081565b60118054611b2590614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5190614a9a565b8015611b9e5780601f10611b7357610100808354040283529160200191611b9e565b820191906000526020600020905b815481529060010190602001808311611b8157829003601f168201915b505050505081565b6000611bb0611f8c565b905090565b611bbd612874565b73ffffffffffffffffffffffffffffffffffffffff16611bdb611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890614764565b60405180910390fd5b80600b8190555050565b60128054611c4890614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7490614a9a565b8015611cc15780601f10611c9657610100808354040283529160200191611cc1565b820191906000526020600020905b815481529060010190602001808311611ca457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d31906146e4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611d8b612d7a565b905090565b611d98612874565b73ffffffffffffffffffffffffffffffffffffffff16611db6611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0390614764565b60405180910390fd5b611e166000612e0c565b565b611e20612874565b73ffffffffffffffffffffffffffffffffffffffff16611e3e611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b90614764565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611eda573d6000803e3d6000fd5b5050565b611ee6612874565b73ffffffffffffffffffffffffffffffffffffffff16611f04611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614611f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5190614764565b60405180910390fd5b611f6381612935565b50565b60166020528060005260406000206000915054906101000a900460ff1681565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611fc590614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611ff190614a9a565b801561203e5780601f106120135761010080835404028352916020019161203e565b820191906000526020600020905b81548152906001019060200180831161202157829003601f168201915b5050505050905090565b61205a612053612874565b8383612ed2565b5050565b61206f612069612874565b83612a35565b6120ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a590614804565b60405180910390fd5b6120ba8484848461303f565b50505050565b60606120cb82612808565b61210a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612101906147a4565b60405180910390fd5b6000612114612d7a565b9050601860029054906101000a900460ff161561217c5760008151116121495760405180602001604052806000815250612174565b806121538461309b565b60405160200161216492919061449c565b6040516020818303038152906040525b91505061220b565b6012805461218990614a9a565b80601f01602080910402602001604051908101604052809291908181526020018280546121b590614a9a565b80156122025780601f106121d757610100808354040283529160200191612202565b820191906000526020600020905b8154815290600101906020018083116121e557829003601f168201915b50505050509150505b919050565b6000601860019054906101000a900460ff16905090565b60156020528060005260406000206000915090505481565b6000600d54905090565b612251612874565b73ffffffffffffffffffffffffffffffffffffffff1661226f611f8c565b73ffffffffffffffffffffffffffffffffffffffff16146122c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bc90614764565b60405180910390fd5b80601860026101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b6013805461238990614a9a565b80601f01602080910402602001604051908101604052809291908181526020018280546123b590614a9a565b80156124025780601f106123d757610100808354040283529160200191612402565b820191906000526020600020905b8154815290600101906020018083116123e557829003601f168201915b505050505081565b612412612874565b73ffffffffffffffffffffffffffffffffffffffff16612430611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614612486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247d90614764565b60405180910390fd5b806014908051906020019061249c929190613bb0565b5050565b6124a8612874565b73ffffffffffffffffffffffffffffffffffffffff166124c6611f8c565b73ffffffffffffffffffffffffffffffffffffffff161461251c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251390614764565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561258c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612583906145c4565b60405180910390fd5b61259581612e0c565b50565b6125a0612874565b73ffffffffffffffffffffffffffffffffffffffff166125be611f8c565b73ffffffffffffffffffffffffffffffffffffffff1614612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614764565b60405180910390fd5b60005b8282905081101561268b5761267883838381811061265e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906126739190613dd6565b613248565b808061268390614afd565b915050612617565b505050565b612698612874565b73ffffffffffffffffffffffffffffffffffffffff166126b6611f8c565b73ffffffffffffffffffffffffffffffffffffffff161461270c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270390614764565b60405180910390fd5b8060129080519060200190612722929190613bb0565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127f157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128015750612800826132a3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128ef836119d8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b5461294061131b565b10612980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297790614684565b60405180910390fd5b601860009054906101000a900460ff166129cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c6906147e4565b60405180910390fd5b60006129e36129dc61131b565b6001612a1f565b90506129ef828261330d565b60016016600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008183612a2d9190614929565b905092915050565b6000612a4082612808565b612a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7690614664565b60405180910390fd5b6000612a8a836119d8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612acc5750612acb81856122e2565b5b80612b0a57508373ffffffffffffffffffffffffffffffffffffffff16612af284610e95565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b33826119d8565b73ffffffffffffffffffffffffffffffffffffffff1614612b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b80906145e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf090614624565b60405180910390fd5b612c0483838361332b565b612c0f60008261287c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5f91906149b0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cb69190614929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d7583838361343f565b505050565b606060118054612d8990614a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054612db590614a9a565b8015612e025780601f10612dd757610100808354040283529160200191612e02565b820191906000526020600020905b815481529060010190602001808311612de557829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3890614644565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130329190614527565b60405180910390a3505050565b61304a848484612b13565b61305684848484613444565b613095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308c906145a4565b60405180910390fd5b50505050565b606060008214156130e3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613243565b600082905060005b600082146131155780806130fe90614afd565b915050600a8261310e919061497f565b91506130eb565b60008167ffffffffffffffff811115613157577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131895781602001600182028036833780820191505090505b5090505b6000851461323c576001826131a291906149b0565b9150600a856131b19190614b46565b60306131bd9190614929565b60f81b8183815181106131f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613235919061497f565b945061318d565b8093505050505b919050565b6001601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133278282604051806020016040528060008152506135db565b5050565b613336838383613636565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613379576133748161363b565b6133b8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133b7576133b68382613684565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133fb576133f6816137f1565b61343a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613439576134388282613934565b5b5b505050565b505050565b60006134658473ffffffffffffffffffffffffffffffffffffffff166139b3565b156135ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348e612874565b8786866040518563ffffffff1660e01b81526004016134b094939291906144db565b602060405180830381600087803b1580156134ca57600080fd5b505af19250505080156134fb57506040513d601f19601f820116820180604052508101906134f89190614014565b60015b61357e573d806000811461352b576040519150601f19603f3d011682016040523d82523d6000602084013e613530565b606091505b50600081511415613576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356d906145a4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135d3565b600190505b949350505050565b6135e583836139d6565b6135f26000848484613444565b613631576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613628906145a4565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161369184611cc9565b61369b91906149b0565b9050600060076000848152602001908152602001600020549050818114613780576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061380591906149b0565b905060006009600084815260200190815260200160002054905060006008838154811061385b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106138a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613918577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061393f83611cc9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a3d90614724565b60405180910390fd5b613a4f81612808565b15613a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8690614604565b60405180910390fd5b613a9b6000838361332b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613aeb9190614929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bac6000838361343f565b5050565b828054613bbc90614a9a565b90600052602060002090601f016020900481019282613bde5760008555613c25565b82601f10613bf757805160ff1916838001178555613c25565b82800160010185558215613c25579182015b82811115613c24578251825591602001919060010190613c09565b5b509050613c329190613c36565b5090565b5b80821115613c4f576000816000905550600101613c37565b5090565b6000613c66613c6184614884565b61485f565b905082815260208101848484011115613c7e57600080fd5b613c89848285614a58565b509392505050565b6000613ca4613c9f846148b5565b61485f565b905082815260208101848484011115613cbc57600080fd5b613cc7848285614a58565b509392505050565b600081359050613cde8161529f565b92915050565b60008083601f840112613cf657600080fd5b8235905067ffffffffffffffff811115613d0f57600080fd5b602083019150836020820283011115613d2757600080fd5b9250929050565b600081359050613d3d816152b6565b92915050565b600081359050613d52816152cd565b92915050565b600081519050613d67816152cd565b92915050565b600082601f830112613d7e57600080fd5b8135613d8e848260208601613c53565b91505092915050565b600082601f830112613da857600080fd5b8135613db8848260208601613c91565b91505092915050565b600081359050613dd0816152e4565b92915050565b600060208284031215613de857600080fd5b6000613df684828501613ccf565b91505092915050565b60008060408385031215613e1257600080fd5b6000613e2085828601613ccf565b9250506020613e3185828601613ccf565b9150509250929050565b600080600060608486031215613e5057600080fd5b6000613e5e86828701613ccf565b9350506020613e6f86828701613ccf565b9250506040613e8086828701613dc1565b9150509250925092565b60008060008060808587031215613ea057600080fd5b6000613eae87828801613ccf565b9450506020613ebf87828801613ccf565b9350506040613ed087828801613dc1565b925050606085013567ffffffffffffffff811115613eed57600080fd5b613ef987828801613d6d565b91505092959194509250565b60008060408385031215613f1857600080fd5b6000613f2685828601613ccf565b9250506020613f3785828601613d2e565b9150509250929050565b60008060408385031215613f5457600080fd5b6000613f6285828601613ccf565b9250506020613f7385828601613dc1565b9150509250929050565b60008060208385031215613f9057600080fd5b600083013567ffffffffffffffff811115613faa57600080fd5b613fb685828601613ce4565b92509250509250929050565b600060208284031215613fd457600080fd5b6000613fe284828501613d2e565b91505092915050565b600060208284031215613ffd57600080fd5b600061400b84828501613d43565b91505092915050565b60006020828403121561402657600080fd5b600061403484828501613d58565b91505092915050565b60006020828403121561404f57600080fd5b600082013567ffffffffffffffff81111561406957600080fd5b61407584828501613d97565b91505092915050565b60006020828403121561409057600080fd5b600061409e84828501613dc1565b91505092915050565b6140b0816149e4565b82525050565b6140bf816149f6565b82525050565b60006140d0826148e6565b6140da81856148fc565b93506140ea818560208601614a67565b6140f381614c33565b840191505092915050565b6000614109826148f1565b614113818561490d565b9350614123818560208601614a67565b61412c81614c33565b840191505092915050565b6000614142826148f1565b61414c818561491e565b935061415c818560208601614a67565b80840191505092915050565b600061417560318361490d565b915061418082614c44565b604082019050919050565b6000614198602b8361490d565b91506141a382614c93565b604082019050919050565b60006141bb60328361490d565b91506141c682614ce2565b604082019050919050565b60006141de60268361490d565b91506141e982614d31565b604082019050919050565b600061420160258361490d565b915061420c82614d80565b604082019050919050565b6000614224601c8361490d565b915061422f82614dcf565b602082019050919050565b600061424760248361490d565b915061425282614df8565b604082019050919050565b600061426a60198361490d565b915061427582614e47565b602082019050919050565b600061428d602c8361490d565b915061429882614e70565b604082019050919050565b60006142b0601a8361490d565b91506142bb82614ebf565b602082019050919050565b60006142d360428361490d565b91506142de82614ee8565b606082019050919050565b60006142f660388361490d565b915061430182614f5d565b604082019050919050565b6000614319602a8361490d565b915061432482614fac565b604082019050919050565b600061433c60298361490d565b915061434782614ffb565b604082019050919050565b600061435f60208361490d565b915061436a8261504a565b602082019050919050565b6000614382602c8361490d565b915061438d82615073565b604082019050919050565b60006143a560208361490d565b91506143b0826150c2565b602082019050919050565b60006143c860248361490d565b91506143d3826150eb565b604082019050919050565b60006143eb602f8361490d565b91506143f68261513a565b604082019050919050565b600061440e60218361490d565b915061441982615189565b604082019050919050565b600061443160208361490d565b915061443c826151d8565b602082019050919050565b600061445460318361490d565b915061445f82615201565b604082019050919050565b6000614477602c8361490d565b915061448282615250565b604082019050919050565b61449681614a4e565b82525050565b60006144a88285614137565b91506144b48284614137565b91508190509392505050565b60006020820190506144d560008301846140a7565b92915050565b60006080820190506144f060008301876140a7565b6144fd60208301866140a7565b61450a604083018561448d565b818103606083015261451c81846140c5565b905095945050505050565b600060208201905061453c60008301846140b6565b92915050565b6000602082019050818103600083015261455c81846140fe565b905092915050565b6000602082019050818103600083015261457d81614168565b9050919050565b6000602082019050818103600083015261459d8161418b565b9050919050565b600060208201905081810360008301526145bd816141ae565b9050919050565b600060208201905081810360008301526145dd816141d1565b9050919050565b600060208201905081810360008301526145fd816141f4565b9050919050565b6000602082019050818103600083015261461d81614217565b9050919050565b6000602082019050818103600083015261463d8161423a565b9050919050565b6000602082019050818103600083015261465d8161425d565b9050919050565b6000602082019050818103600083015261467d81614280565b9050919050565b6000602082019050818103600083015261469d816142a3565b9050919050565b600060208201905081810360008301526146bd816142c6565b9050919050565b600060208201905081810360008301526146dd816142e9565b9050919050565b600060208201905081810360008301526146fd8161430c565b9050919050565b6000602082019050818103600083015261471d8161432f565b9050919050565b6000602082019050818103600083015261473d81614352565b9050919050565b6000602082019050818103600083015261475d81614375565b9050919050565b6000602082019050818103600083015261477d81614398565b9050919050565b6000602082019050818103600083015261479d816143bb565b9050919050565b600060208201905081810360008301526147bd816143de565b9050919050565b600060208201905081810360008301526147dd81614401565b9050919050565b600060208201905081810360008301526147fd81614424565b9050919050565b6000602082019050818103600083015261481d81614447565b9050919050565b6000602082019050818103600083015261483d8161446a565b9050919050565b6000602082019050614859600083018461448d565b92915050565b600061486961487a565b90506148758282614acc565b919050565b6000604051905090565b600067ffffffffffffffff82111561489f5761489e614c04565b5b6148a882614c33565b9050602081019050919050565b600067ffffffffffffffff8211156148d0576148cf614c04565b5b6148d982614c33565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061493482614a4e565b915061493f83614a4e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561497457614973614b77565b5b828201905092915050565b600061498a82614a4e565b915061499583614a4e565b9250826149a5576149a4614ba6565b5b828204905092915050565b60006149bb82614a4e565b91506149c683614a4e565b9250828210156149d9576149d8614b77565b5b828203905092915050565b60006149ef82614a2e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a85578082015181840152602081019050614a6a565b83811115614a94576000848401525b50505050565b60006002820490506001821680614ab257607f821691505b60208210811415614ac657614ac5614bd5565b5b50919050565b614ad582614c33565b810181811067ffffffffffffffff82111715614af457614af3614c04565b5b80604052505050565b6000614b0882614a4e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3b57614b3a614b77565b5b600182019050919050565b6000614b5182614a4e565b9150614b5c83614a4e565b925082614b6c57614b6b614ba6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f457863657074696f6e3a20546865207075626c696320737570706c792068617360008201527f206265656e206d696e746564206f75742e000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f457863657074696f6e3a20416c6c20776173206d696e7465642e000000000000600082015250565b7f457863657074696f6e3a205265616368656420746865206c696d697420666f7260008201527f206561636820757365722e20596f752063616e2774206d696e74206e6f206d6f60208201527f7265000000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f457863657074696f6e3a207369676e6572206973206e6f742077686974656c6960008201527f7374656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f457863657074696f6e3a2054686973206973206e6f74206d696e7461626c652e600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6152a8816149e4565b81146152b357600080fd5b50565b6152bf816149f6565b81146152ca57600080fd5b50565b6152d681614a02565b81146152e157600080fd5b50565b6152ed81614a4e565b81146152f857600080fd5b5056fea26469706673582212209d8713e8ddc0a948d1839bf233e61019de2fff34e1cdc0c0b641f7f2cb003c7664736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000029a000000000000000000000000000000000000000000000000000000000000029a0000000000000000000000001f87d29a8a69dd5ed9340c79e7c1c1fbf1603fab0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000d4c6f6e656c792044656d6f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c4f444500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6c6f6e656c7964656d6f6e732e6865726f6b756170702e636f6d2f6170692f746f6b656e2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Lonely Demons
Arg [1] : symbol (string): LODE
Arg [2] : URI (string): https://lonelydemons.herokuapp.com/api/token/
Arg [3] : UNREVEALED_URI (string):
Arg [4] : initialSupply (uint256): 666
Arg [5] : publicSupply (uint256): 666
Arg [6] : _admin (address): 0x1F87D29a8a69DD5Ed9340C79E7c1c1Fbf1603fAB
Arg [7] : _limitPerAddress (uint256): 3

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000029a
Arg [5] : 000000000000000000000000000000000000000000000000000000000000029a
Arg [6] : 0000000000000000000000001f87d29a8a69dd5ed9340c79e7c1c1fbf1603fab
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [9] : 4c6f6e656c792044656d6f6e7300000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 4c4f444500000000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [13] : 68747470733a2f2f6c6f6e656c7964656d6f6e732e6865726f6b756170702e63
Arg [14] : 6f6d2f6170692f746f6b656e2f00000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000


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.