ETH Price: $3,331.48 (-3.93%)

Typical Tigers (TPT)
 

Overview

TokenID

1062

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

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

OVERVIEW

Typical Tigers is a charity NFT project containing 3,900 unique NFTs representing the 3,900 Tigers left in the wild. Help us save the Tigers in a sustainable way one NFT at a time. 10% of all mint proceedings will be donated to foundations that are helping to save the tige...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TypicalTigers

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : TypicalTigers.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/access/AccessControlEnumerable.sol";


contract TypicalTigers is ERC721Enumerable, Ownable, AccessControlEnumerable {
    bytes32 public constant PREMINTER_ROLE = keccak256("PREMINTER_ROLE");
    uint256 public mintPrice = 30000000000000000; //0.03 ETH
    uint256 public maxPurchase = 10;
    bool public saleIsActive = false;
    bool public presaleIsActive = false;

    uint256 public maxSupply = 3900;
    uint256 public maxPresale = 1500;

    string _baseTokenURI = "ipfs://QmTQmzBAysJjRdB6gwkXL9Uw3HCbxH8M333jYwqrR4q9Vw/";


    modifier preminterRoleAdminOnly() {
        bytes32 roleAdmin = getRoleAdmin(PREMINTER_ROLE);
        require(hasRole(roleAdmin, msg.sender), 'Access: account is not role admin');
        _;
    }

    event SaleActivation(bool isActive);

    event PresaleActivation(bool isActive);

    event WhitelistCleared();

    constructor() ERC721("Typical Tigers", "TPT") {
        // Grant the contract deployer the default admin role: it will be able
        // to grant and revoke any roles
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

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

    function addToWhitelist(address _account) external preminterRoleAdminOnly  {
        grantRole(PREMINTER_ROLE, _account);
    }

    function removeFromWhitelist(address _account) external preminterRoleAdminOnly {
        revokeRole(PREMINTER_ROLE, _account);
    }

    function batchAddToWhitelist(address[] calldata _addresses) external preminterRoleAdminOnly {
        for(uint256 i; i < _addresses.length; i++){
            grantRole(PREMINTER_ROLE, _addresses[i]);
        }
    }

    function clearWhitelist() external preminterRoleAdminOnly  {
        uint256  initialWhitelistCount = getRoleMemberCount(PREMINTER_ROLE);
        for (uint256 i = 0; i < initialWhitelistCount; i++) {
            uint256  currentWhitelistCount = getRoleMemberCount(PREMINTER_ROLE);
            if(currentWhitelistCount > 0){
                address member = getRoleMember(PREMINTER_ROLE, 0);
                revokeRole(PREMINTER_ROLE, member);
            } else {
                break;
            }

        }
        emit WhitelistCleared();
    }

    function isWhitelistedAccount(address _account) public view returns (bool) {
        return hasRole(PREMINTER_ROLE, _account);
    }



    function ownerMint(address _to, uint256 _count) external onlyOwner {
        require(
            totalSupply() + _count <= maxSupply,
            "Purchase would exceed max supply of Typical Tigers"
        );
        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            if (totalSupply() < maxSupply) {
                _safeMint(_to, mintIndex);
            }
        }
    }

    function presaleMint(address _to, uint256 _count) external onlyRole(PREMINTER_ROLE) payable {
        require(presaleIsActive, "Presale must be active to mint Typical Tiger");

        require(_count <= maxPurchase, "Can only mint 10 tokens at a time");

        require(
            _count <= maxPresale,
            "Purchase would exceed max supply of presale Typical Tigers"
        );

        require(
            totalSupply() + _count <= maxSupply,
            "Purchase would exceed max supply of Typical Tigers"
        );

        require(
            mintPrice * _count <= msg.value,
            "Ether value sent is not correct"
        );

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            if (totalSupply() < maxSupply) {
                _safeMint(_to, mintIndex);
                maxPresale -= 1;
            }
        }
    }

    function mint(address _to, uint256 _count) external payable {
        require(saleIsActive, "Sale must be active to mint Typical Tiger");

        require(_count <= maxPurchase, "Can only mint 10 tokens at a time");

        require(
            totalSupply() + _count <= maxSupply,
            "Purchase would exceed max supply of Typical Tigers"
        );
        require(
            mintPrice * _count <= msg.value,
            "Ether value sent is not correct"
        );

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            if (totalSupply() < maxSupply) {
                _safeMint(_to, mintIndex);
            }
        }
    }

    function togglePresaleStatus() external onlyOwner {
        presaleIsActive = !presaleIsActive;
        emit PresaleActivation(presaleIsActive);
    }

    function toggleSaleStatus() external onlyOwner {
        saleIsActive = !saleIsActive;
        emit SaleActivation(saleIsActive);
    }

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function setMaxPurchase(uint256 _maxPurchase) external onlyOwner {
        maxPurchase = _maxPurchase;
    }

    function setMaxPresale(uint256 _maxPresale) external onlyOwner {
        maxPresale = _maxPresale;
    }

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    function getTotalSupply() external view returns (uint256) {
        return totalSupply();
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }


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

File 2 of 18 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 18 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 5 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 6 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 7 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 18 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 18 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 12 of 18 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 18 : IAccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 16 of 18 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 17 of 18 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 18 of 18 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"PresaleActivation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"SaleActivation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"WhitelistCleared","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PREMINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"batchAddToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","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":[{"internalType":"address","name":"_account","type":"address"}],"name":"isWhitelistedAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPresale","type":"uint256"}],"name":"setMaxPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPurchase","type":"uint256"}],"name":"setMaxPurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","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":[],"name":"togglePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052666a94d74f430000600d55600a600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff021916908315150217905550610f3c6010556105dc601155604051806060016040528060368152602001620063f6603691396012908051906020019062000087929190620004cf565b503480156200009557600080fd5b506040518060400160405280600e81526020017f5479706963616c205469676572730000000000000000000000000000000000008152506040518060400160405280600381526020017f545054000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200011a929190620004cf565b50806001908051906020019062000133929190620004cf565b505050620001566200014a6200017160201b60201c565b6200017960201b60201c565b6200016b6000801b336200023f60201b60201c565b620005e4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025682826200028760201b620025e61760201c565b6200028281600c60008581526020019081526020016000206200029d60201b620025f41790919060201c565b505050565b620002998282620002d560201b60201c565b5050565b6000620002cd836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620003c760201b60201c565b905092915050565b620002e782826200044160201b60201c565b620003c3576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003686200017160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620003db8383620004ac60201b60201c565b620004365782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506200043b565b600090505b92915050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054620004dd906200057f565b90600052602060002090601f0160209004810192826200050157600085556200054d565b82601f106200051c57805160ff19168380011785556200054d565b828001600101855582156200054d579182015b828111156200054c5782518255916020019190600101906200052f565b5b5090506200055c919062000560565b5090565b5b808211156200057b57600081600090555060010162000561565b5090565b600060028204905060018216806200059857607f821691505b60208210811415620005af57620005ae620005b5565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615e0280620005f46000396000f3fe6080604052600436106102c95760003560e01c80636817c76c11610175578063a217fddf116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c514610ac0578063eb8d244414610afd578063f2fde38b14610b28578063f4a0a52814610b51576102c9565b8063d547741f14610a43578063d5abeb0114610a6c578063e43252d714610a97576102c9565b8063a217fddf14610921578063a22cb4651461094c578063b88d4fde14610975578063c4e41b221461099e578063c87b56dd146109c9578063ca15c87314610a06576102c9565b80638da5cb5b1161012e5780638da5cb5b1461080a5780639010d07c1461083557806391d148541461087257806395d89b41146108af578063977b055b146108da5780639b6a670914610905576102c9565b80636817c76c1461072257806370a082311461074d578063711897421461078a578063715018a6146107b35780637bffb4ce146107ca5780638ab1d681146107e1576102c9565b80632f2ff15d1161023457806340c10f19116101ed5780634f6ccce7116101c75780634f6ccce71461064257806354789a5e1461067f57806355f804b3146106bc5780636352211e146106e5576102c9565b806340c10f19146105d457806342842e0e146105f0578063484b973c14610619576102c9565b80632f2ff15d146104d85780632f745c591461050157806330f72cd41461053e57806336568abe146105695780633ccfd60b146105925780633ebff0f0146105a9576102c9565b806318160ddd1161028657806318160ddd146103ca5780631bbc1afa146103f55780632142ab291461041e57806323b872dd14610449578063248a9ca3146104725780632db6fa36146104af576102c9565b806301ffc9a7146102ce578063049c5c491461030b57806306fdde0314610322578063081812fc1461034d578063095ea7b31461038a5780631187b293146103b3575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906146f9565b610b7a565b6040516103029190614d50565b60405180910390f35b34801561031757600080fd5b50610320610b8c565b005b34801561032e57600080fd5b50610337610c7a565b6040516103449190614d86565b60405180910390f35b34801561035957600080fd5b50610374600480360381019061036f919061478c565b610d0c565b6040516103819190614ce9565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac91906145d7565b610d91565b005b3480156103bf57600080fd5b506103c8610ea9565b005b3480156103d657600080fd5b506103df611037565b6040516103ec9190615108565b60405180910390f35b34801561040157600080fd5b5061041c6004803603810190610417919061478c565b611044565b005b34801561042a57600080fd5b506104336110ca565b6040516104409190615108565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b91906144d1565b6110d0565b005b34801561047e57600080fd5b5061049960048036038101906104949190614658565b611130565b6040516104a69190614d6b565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d19190614613565b611150565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190614681565b611264565b005b34801561050d57600080fd5b50610528600480360381019061052391906145d7565b611298565b6040516105359190615108565b60405180910390f35b34801561054a57600080fd5b5061055361133d565b6040516105609190614d50565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190614681565b611350565b005b34801561059e57600080fd5b506105a7611384565b005b3480156105b557600080fd5b506105be611450565b6040516105cb9190614d6b565b60405180910390f35b6105ee60048036038101906105e991906145d7565b611474565b005b3480156105fc57600080fd5b50610617600480360381019061061291906144d1565b6115fb565b005b34801561062557600080fd5b50610640600480360381019061063b91906145d7565b61161b565b005b34801561064e57600080fd5b506106696004803603810190610664919061478c565b61173a565b6040516106769190615108565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a1919061446c565b6117d1565b6040516106b39190614d50565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de919061474b565b611804565b005b3480156106f157600080fd5b5061070c6004803603810190610707919061478c565b61189a565b6040516107199190614ce9565b60405180910390f35b34801561072e57600080fd5b5061073761194c565b6040516107449190615108565b60405180910390f35b34801561075957600080fd5b50610774600480360381019061076f919061446c565b611952565b6040516107819190615108565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac919061478c565b611a0a565b005b3480156107bf57600080fd5b506107c8611a90565b005b3480156107d657600080fd5b506107df611b18565b005b3480156107ed57600080fd5b506108086004803603810190610803919061446c565b611c06565b005b34801561081657600080fd5b5061081f611caa565b60405161082c9190614ce9565b60405180910390f35b34801561084157600080fd5b5061085c600480360381019061085791906146bd565b611cd4565b6040516108699190614ce9565b60405180910390f35b34801561087e57600080fd5b5061089960048036038101906108949190614681565b611d03565b6040516108a69190614d50565b60405180910390f35b3480156108bb57600080fd5b506108c4611d6e565b6040516108d19190614d86565b60405180910390f35b3480156108e657600080fd5b506108ef611e00565b6040516108fc9190615108565b60405180910390f35b61091f600480360381019061091a91906145d7565b611e06565b005b34801561092d57600080fd5b5061093661201f565b6040516109439190614d6b565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e919061459b565b612026565b005b34801561098157600080fd5b5061099c60048036038101906109979190614520565b6121a7565b005b3480156109aa57600080fd5b506109b3612209565b6040516109c09190615108565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb919061478c565b612218565b6040516109fd9190614d86565b60405180910390f35b348015610a1257600080fd5b50610a2d6004803603810190610a289190614658565b6122bf565b604051610a3a9190615108565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190614681565b6122e3565b005b348015610a7857600080fd5b50610a81612317565b604051610a8e9190615108565b60405180910390f35b348015610aa357600080fd5b50610abe6004803603810190610ab9919061446c565b61231d565b005b348015610acc57600080fd5b50610ae76004803603810190610ae29190614495565b6123c1565b604051610af49190614d50565b60405180910390f35b348015610b0957600080fd5b50610b12612455565b604051610b1f9190614d50565b60405180910390f35b348015610b3457600080fd5b50610b4f6004803603810190610b4a919061446c565b612468565b005b348015610b5d57600080fd5b50610b786004803603810190610b73919061478c565b612560565b005b6000610b8582612624565b9050919050565b610b9461269e565b73ffffffffffffffffffffffffffffffffffffffff16610bb2611caa565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90614fe8565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff0219169083151502179055507f58655b75d3df612fe99ead00dbf0812d415d35078fe06217a94c0818bb13967f600f60009054906101000a900460ff16604051610c709190614d50565b60405180910390a1565b606060008054610c89906153ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb5906153ec565b8015610d025780601f10610cd757610100808354040283529160200191610d02565b820191906000526020600020905b815481529060010190602001808311610ce557829003601f168201915b5050505050905090565b6000610d17826126a6565b610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90614fc8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d9c8261189a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490615068565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e2c61269e565b73ffffffffffffffffffffffffffffffffffffffff161480610e5b5750610e5a81610e5561269e565b6123c1565b5b610e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9190614f48565b60405180910390fd5b610ea48383612712565b505050565b6000610ed47fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b9050610ee08133611d03565b610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690615028565b60405180910390fd5b6000610f4a7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f6122bf565b905060005b81811015611006576000610f827fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f6122bf565b90506000811115610fec576000610fba7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f6000611cd4565b9050610fe67fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f826122e3565b50610ff2565b50611006565b508080610ffe9061544f565b915050610f4f565b507fda8acdbb2dd1e5e8b4ff652d689b6c0ea21f295250c0bbe5fafd6c44b420a9fd60405160405180910390a15050565b6000600880549050905090565b61104c61269e565b73ffffffffffffffffffffffffffffffffffffffff1661106a611caa565b73ffffffffffffffffffffffffffffffffffffffff16146110c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b790614fe8565b60405180910390fd5b8060118190555050565b60115481565b6110e16110db61269e565b826127cb565b611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790615088565b60405180910390fd5b61112b8383836128a9565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b600061117b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b90506111878133611d03565b6111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90615028565b60405180910390fd5b60005b8383905081101561125e5761124b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f858584818110611231577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611246919061446c565b611264565b80806112569061544f565b9150506111c9565b50505050565b61126e8282612b05565b61129381600c60008581526020019081526020016000206125f490919063ffffffff16565b505050565b60006112a383611952565b82106112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90614e08565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f60019054906101000a900460ff1681565b61135a8282612b2e565b61137f81600c6000858152602001908152602001600020612bb190919063ffffffff16565b505050565b61138c61269e565b73ffffffffffffffffffffffffffffffffffffffff166113aa611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614fe8565b60405180910390fd5b611408611caa565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561144d573d6000803e3d6000fd5b50565b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f81565b600f60009054906101000a900460ff166114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90614dc8565b60405180910390fd5b600e54811115611508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ff906150c8565b60405180910390fd5b60105481611514611037565b61151e91906151ed565b111561155f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155690614e68565b60405180910390fd5b3481600d5461156e9190615274565b11156115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690614f08565b60405180910390fd5b60005b818110156115f65760006115c4611037565b90506010546115d1611037565b10156115e2576115e18482612be1565b5b5080806115ee9061544f565b9150506115b2565b505050565b611616838383604051806020016040528060008152506121a7565b505050565b61162361269e565b73ffffffffffffffffffffffffffffffffffffffff16611641611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e90614fe8565b60405180910390fd5b601054816116a3611037565b6116ad91906151ed565b11156116ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e590614e68565b60405180910390fd5b60005b81811015611735576000611703611037565b9050601054611710611037565b1015611721576117208482612be1565b5b50808061172d9061544f565b9150506116f1565b505050565b6000611744611037565b8210611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c906150a8565b60405180910390fd5b600882815481106117bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60006117fd7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f83611d03565b9050919050565b61180c61269e565b73ffffffffffffffffffffffffffffffffffffffff1661182a611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614fe8565b60405180910390fd5b8060129080519060200190611896929190614231565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90614f88565b60405180910390fd5b80915050919050565b600d5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614f68565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a1261269e565b73ffffffffffffffffffffffffffffffffffffffff16611a30611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d90614fe8565b60405180910390fd5b80600e8190555050565b611a9861269e565b73ffffffffffffffffffffffffffffffffffffffff16611ab6611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390614fe8565b60405180910390fd5b611b166000612bff565b565b611b2061269e565b73ffffffffffffffffffffffffffffffffffffffff16611b3e611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8b90614fe8565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff0219169083151502179055507f42133c3a5199a92c96a540af6aee25899ebc1da7cc9ac9e3536653b61c3c60d7600f60019054906101000a900460ff16604051611bfc9190614d50565b60405180910390a1565b6000611c317fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b9050611c3d8133611d03565b611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7390615028565b60405180910390fd5b611ca67fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f836122e3565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611cfb82600c6000868152602001908152602001600020612cc590919063ffffffff16565b905092915050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611d7d906153ec565b80601f0160208091040260200160405190810160405280929190818152602001828054611da9906153ec565b8015611df65780601f10611dcb57610100808354040283529160200191611df6565b820191906000526020600020905b815481529060010190602001808311611dd957829003601f168201915b5050505050905090565b600e5481565b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611e3881611e3361269e565b612cdf565b600f60019054906101000a900460ff16611e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7e90614de8565b60405180910390fd5b600e54821115611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec3906150c8565b60405180910390fd5b601154821115611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890614ea8565b60405180910390fd5b60105482611f1d611037565b611f2791906151ed565b1115611f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5f90614e68565b60405180910390fd5b3482600d54611f779190615274565b1115611fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611faf90614f08565b60405180910390fd5b60005b82811015612019576000611fcd611037565b9050601054611fda611037565b101561200557611fea8582612be1565b600160116000828254611ffd91906152ce565b925050819055505b5080806120119061544f565b915050611fbb565b50505050565b6000801b81565b61202e61269e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209390614ee8565b60405180910390fd5b80600560006120a961269e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661215661269e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161219b9190614d50565b60405180910390a35050565b6121b86121b261269e565b836127cb565b6121f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ee90615088565b60405180910390fd5b61220384848484612d7c565b50505050565b6000612213611037565b905090565b6060612223826126a6565b612262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225990615048565b60405180910390fd5b600061226c612dd8565b9050600081511161228c57604051806020016040528060008152506122b7565b8061229684612e6a565b6040516020016122a7929190614c8b565b6040516020818303038152906040525b915050919050565b60006122dc600c6000848152602001908152602001600020613017565b9050919050565b6122ed828261302c565b61231281600c6000858152602001908152602001600020612bb190919063ffffffff16565b505050565b60105481565b60006123487fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b90506123548133611d03565b612393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238a90615028565b60405180910390fd5b6123bd7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f83611264565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b61247061269e565b73ffffffffffffffffffffffffffffffffffffffff1661248e611caa565b73ffffffffffffffffffffffffffffffffffffffff16146124e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124db90614fe8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254b90614e48565b60405180910390fd5b61255d81612bff565b50565b61256861269e565b73ffffffffffffffffffffffffffffffffffffffff16612586611caa565b73ffffffffffffffffffffffffffffffffffffffff16146125dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d390614fe8565b60405180910390fd5b80600d8190555050565b6125f08282613055565b5050565b600061261c836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613136565b905092915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126975750612696826131a6565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127858361189a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006127d6826126a6565b612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c90614f28565b60405180910390fd5b60006128208361189a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061288f57508373ffffffffffffffffffffffffffffffffffffffff1661287784610d0c565b73ffffffffffffffffffffffffffffffffffffffff16145b806128a0575061289f81856123c1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128c98261189a565b73ffffffffffffffffffffffffffffffffffffffff161461291f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291690615008565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561298f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298690614ec8565b60405180910390fd5b61299a838383613220565b6129a5600082612712565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129f591906152ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a4c91906151ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612b0e82611130565b612b1f81612b1a61269e565b612cdf565b612b298383613055565b505050565b612b3661269e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9a906150e8565b60405180910390fd5b612bad8282613334565b5050565b6000612bd9836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613416565b905092915050565b612bfb82826040518060200160405280600081525061359c565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612cd483600001836135f7565b60001c905092915050565b612ce98282611d03565b612d7857612d0e8173ffffffffffffffffffffffffffffffffffffffff166014613648565b612d1c8360001c6020613648565b604051602001612d2d929190614caf565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f9190614d86565b60405180910390fd5b5050565b612d878484846128a9565b612d9384848484613942565b612dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc990614e28565b60405180910390fd5b50505050565b606060128054612de7906153ec565b80601f0160208091040260200160405190810160405280929190818152602001828054612e13906153ec565b8015612e605780601f10612e3557610100808354040283529160200191612e60565b820191906000526020600020905b815481529060010190602001808311612e4357829003601f168201915b5050505050905090565b60606000821415612eb2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613012565b600082905060005b60008214612ee4578080612ecd9061544f565b915050600a82612edd9190615243565b9150612eba565b60008167ffffffffffffffff811115612f26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f585781602001600182028036833780820191505090505b5090505b6000851461300b57600182612f7191906152ce565b9150600a85612f809190615498565b6030612f8c91906151ed565b60f81b818381518110612fc8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130049190615243565b9450612f5c565b8093505050505b919050565b600061302582600001613ad9565b9050919050565b61303582611130565b6130468161304161269e565b612cdf565b6130508383613334565b505050565b61305f8282611d03565b613132576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506130d761269e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006131428383613aea565b61319b5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506131a0565b600090505b92915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613219575061321882613b0d565b5b9050919050565b61322b838383613b87565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561326e5761326981613b8c565b6132ad565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132ac576132ab8382613bd5565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132f0576132eb81613d42565b61332f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461332e5761332d8282613e85565b5b5b505050565b61333e8282611d03565b15613412576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506133b761269e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808360010160008481526020019081526020016000205490506000811461359057600060018261344891906152ce565b905060006001866000018054905061346091906152ce565b905081811461351b5760008660000182815481106134a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050808760000184815481106134f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480613555577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613596565b60009150505b92915050565b6135a68383613f04565b6135b36000848484613942565b6135f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e990614e28565b60405180910390fd5b505050565b6000826000018281548110613635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b60606000600283600261365b9190615274565b61366591906151ed565b67ffffffffffffffff8111156136a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136d65781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613734577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106137be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026137fe9190615274565b61380891906151ed565b90505b60018111156138f4577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613870577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106138ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806138ed906153c2565b905061380b565b5060008414613938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392f90614da8565b60405180910390fd5b8091505092915050565b60006139638473ffffffffffffffffffffffffffffffffffffffff166140d2565b15613acc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261398c61269e565b8786866040518563ffffffff1660e01b81526004016139ae9493929190614d04565b602060405180830381600087803b1580156139c857600080fd5b505af19250505080156139f957506040513d601f19601f820116820180604052508101906139f69190614722565b60015b613a7c573d8060008114613a29576040519150601f19603f3d011682016040523d82523d6000602084013e613a2e565b606091505b50600081511415613a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6b90614e28565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ad1565b600190505b949350505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613b805750613b7f826140e5565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613be284611952565b613bec91906152ce565b9050600060076000848152602001908152602001600020549050818114613cd1576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d5691906152ce565b9050600060096000848152602001908152602001600020549050600060088381548110613dac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613df4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613e9083611952565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f6b90614fa8565b60405180910390fd5b613f7d816126a6565b15613fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb490614e88565b60405180910390fd5b613fc960008383613220565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461401991906151ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806141b057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806141c057506141bf826141c7565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b82805461423d906153ec565b90600052602060002090601f01602090048101928261425f57600085556142a6565b82601f1061427857805160ff19168380011785556142a6565b828001600101855582156142a6579182015b828111156142a557825182559160200191906001019061428a565b5b5090506142b391906142b7565b5090565b5b808211156142d05760008160009055506001016142b8565b5090565b60006142e76142e284615148565b615123565b9050828152602081018484840111156142ff57600080fd5b61430a848285615380565b509392505050565b600061432561432084615179565b615123565b90508281526020810184848401111561433d57600080fd5b614348848285615380565b509392505050565b60008135905061435f81615d59565b92915050565b60008083601f84011261437757600080fd5b8235905067ffffffffffffffff81111561439057600080fd5b6020830191508360208202830111156143a857600080fd5b9250929050565b6000813590506143be81615d70565b92915050565b6000813590506143d381615d87565b92915050565b6000813590506143e881615d9e565b92915050565b6000815190506143fd81615d9e565b92915050565b600082601f83011261441457600080fd5b81356144248482602086016142d4565b91505092915050565b600082601f83011261443e57600080fd5b813561444e848260208601614312565b91505092915050565b60008135905061446681615db5565b92915050565b60006020828403121561447e57600080fd5b600061448c84828501614350565b91505092915050565b600080604083850312156144a857600080fd5b60006144b685828601614350565b92505060206144c785828601614350565b9150509250929050565b6000806000606084860312156144e657600080fd5b60006144f486828701614350565b935050602061450586828701614350565b925050604061451686828701614457565b9150509250925092565b6000806000806080858703121561453657600080fd5b600061454487828801614350565b945050602061455587828801614350565b935050604061456687828801614457565b925050606085013567ffffffffffffffff81111561458357600080fd5b61458f87828801614403565b91505092959194509250565b600080604083850312156145ae57600080fd5b60006145bc85828601614350565b92505060206145cd858286016143af565b9150509250929050565b600080604083850312156145ea57600080fd5b60006145f885828601614350565b925050602061460985828601614457565b9150509250929050565b6000806020838503121561462657600080fd5b600083013567ffffffffffffffff81111561464057600080fd5b61464c85828601614365565b92509250509250929050565b60006020828403121561466a57600080fd5b6000614678848285016143c4565b91505092915050565b6000806040838503121561469457600080fd5b60006146a2858286016143c4565b92505060206146b385828601614350565b9150509250929050565b600080604083850312156146d057600080fd5b60006146de858286016143c4565b92505060206146ef85828601614457565b9150509250929050565b60006020828403121561470b57600080fd5b6000614719848285016143d9565b91505092915050565b60006020828403121561473457600080fd5b6000614742848285016143ee565b91505092915050565b60006020828403121561475d57600080fd5b600082013567ffffffffffffffff81111561477757600080fd5b6147838482850161442d565b91505092915050565b60006020828403121561479e57600080fd5b60006147ac84828501614457565b91505092915050565b6147be81615302565b82525050565b6147cd81615314565b82525050565b6147dc81615320565b82525050565b60006147ed826151aa565b6147f781856151c0565b935061480781856020860161538f565b61481081615585565b840191505092915050565b6000614826826151b5565b61483081856151d1565b935061484081856020860161538f565b61484981615585565b840191505092915050565b600061485f826151b5565b61486981856151e2565b935061487981856020860161538f565b80840191505092915050565b60006148926020836151d1565b915061489d82615596565b602082019050919050565b60006148b56029836151d1565b91506148c0826155bf565b604082019050919050565b60006148d8602c836151d1565b91506148e38261560e565b604082019050919050565b60006148fb602b836151d1565b91506149068261565d565b604082019050919050565b600061491e6032836151d1565b9150614929826156ac565b604082019050919050565b60006149416026836151d1565b915061494c826156fb565b604082019050919050565b60006149646032836151d1565b915061496f8261574a565b604082019050919050565b6000614987601c836151d1565b915061499282615799565b602082019050919050565b60006149aa603a836151d1565b91506149b5826157c2565b604082019050919050565b60006149cd6024836151d1565b91506149d882615811565b604082019050919050565b60006149f06019836151d1565b91506149fb82615860565b602082019050919050565b6000614a13601f836151d1565b9150614a1e82615889565b602082019050919050565b6000614a36602c836151d1565b9150614a41826158b2565b604082019050919050565b6000614a596038836151d1565b9150614a6482615901565b604082019050919050565b6000614a7c602a836151d1565b9150614a8782615950565b604082019050919050565b6000614a9f6029836151d1565b9150614aaa8261599f565b604082019050919050565b6000614ac26020836151d1565b9150614acd826159ee565b602082019050919050565b6000614ae5602c836151d1565b9150614af082615a17565b604082019050919050565b6000614b086020836151d1565b9150614b1382615a66565b602082019050919050565b6000614b2b6029836151d1565b9150614b3682615a8f565b604082019050919050565b6000614b4e6021836151d1565b9150614b5982615ade565b604082019050919050565b6000614b71602f836151d1565b9150614b7c82615b2d565b604082019050919050565b6000614b946021836151d1565b9150614b9f82615b7c565b604082019050919050565b6000614bb76031836151d1565b9150614bc282615bcb565b604082019050919050565b6000614bda602c836151d1565b9150614be582615c1a565b604082019050919050565b6000614bfd6017836151e2565b9150614c0882615c69565b601782019050919050565b6000614c206021836151d1565b9150614c2b82615c92565b604082019050919050565b6000614c436011836151e2565b9150614c4e82615ce1565b601182019050919050565b6000614c66602f836151d1565b9150614c7182615d0a565b604082019050919050565b614c8581615376565b82525050565b6000614c978285614854565b9150614ca38284614854565b91508190509392505050565b6000614cba82614bf0565b9150614cc68285614854565b9150614cd182614c36565b9150614cdd8284614854565b91508190509392505050565b6000602082019050614cfe60008301846147b5565b92915050565b6000608082019050614d1960008301876147b5565b614d2660208301866147b5565b614d336040830185614c7c565b8181036060830152614d4581846147e2565b905095945050505050565b6000602082019050614d6560008301846147c4565b92915050565b6000602082019050614d8060008301846147d3565b92915050565b60006020820190508181036000830152614da0818461481b565b905092915050565b60006020820190508181036000830152614dc181614885565b9050919050565b60006020820190508181036000830152614de1816148a8565b9050919050565b60006020820190508181036000830152614e01816148cb565b9050919050565b60006020820190508181036000830152614e21816148ee565b9050919050565b60006020820190508181036000830152614e4181614911565b9050919050565b60006020820190508181036000830152614e6181614934565b9050919050565b60006020820190508181036000830152614e8181614957565b9050919050565b60006020820190508181036000830152614ea18161497a565b9050919050565b60006020820190508181036000830152614ec18161499d565b9050919050565b60006020820190508181036000830152614ee1816149c0565b9050919050565b60006020820190508181036000830152614f01816149e3565b9050919050565b60006020820190508181036000830152614f2181614a06565b9050919050565b60006020820190508181036000830152614f4181614a29565b9050919050565b60006020820190508181036000830152614f6181614a4c565b9050919050565b60006020820190508181036000830152614f8181614a6f565b9050919050565b60006020820190508181036000830152614fa181614a92565b9050919050565b60006020820190508181036000830152614fc181614ab5565b9050919050565b60006020820190508181036000830152614fe181614ad8565b9050919050565b6000602082019050818103600083015261500181614afb565b9050919050565b6000602082019050818103600083015261502181614b1e565b9050919050565b6000602082019050818103600083015261504181614b41565b9050919050565b6000602082019050818103600083015261506181614b64565b9050919050565b6000602082019050818103600083015261508181614b87565b9050919050565b600060208201905081810360008301526150a181614baa565b9050919050565b600060208201905081810360008301526150c181614bcd565b9050919050565b600060208201905081810360008301526150e181614c13565b9050919050565b6000602082019050818103600083015261510181614c59565b9050919050565b600060208201905061511d6000830184614c7c565b92915050565b600061512d61513e565b9050615139828261541e565b919050565b6000604051905090565b600067ffffffffffffffff82111561516357615162615556565b5b61516c82615585565b9050602081019050919050565b600067ffffffffffffffff82111561519457615193615556565b5b61519d82615585565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006151f882615376565b915061520383615376565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615238576152376154c9565b5b828201905092915050565b600061524e82615376565b915061525983615376565b925082615269576152686154f8565b5b828204905092915050565b600061527f82615376565b915061528a83615376565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152c3576152c26154c9565b5b828202905092915050565b60006152d982615376565b91506152e483615376565b9250828210156152f7576152f66154c9565b5b828203905092915050565b600061530d82615356565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153ad578082015181840152602081019050615392565b838111156153bc576000848401525b50505050565b60006153cd82615376565b915060008214156153e1576153e06154c9565b5b600182039050919050565b6000600282049050600182168061540457607f821691505b6020821081141561541857615417615527565b5b50919050565b61542782615585565b810181811067ffffffffffffffff8211171561544657615445615556565b5b80604052505050565b600061545a82615376565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561548d5761548c6154c9565b5b600182019050919050565b60006154a382615376565b91506154ae83615376565b9250826154be576154bd6154f8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e74205479706960008201527f63616c2054696765720000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d7573742062652061637469766520746f206d696e74205460008201527f79706963616c2054696765720000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66205479706963616c205469676572730000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662070726573616c65205479706963616c20546967657273000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4163636573733a206163636f756e74206973206e6f7420726f6c652061646d6960008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f43616e206f6e6c79206d696e7420313020746f6b656e7320617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615d6281615302565b8114615d6d57600080fd5b50565b615d7981615314565b8114615d8457600080fd5b50565b615d9081615320565b8114615d9b57600080fd5b50565b615da78161532a565b8114615db257600080fd5b50565b615dbe81615376565b8114615dc957600080fd5b5056fea2646970667358221220513cbf83c0954013504ba92f5af7bd9fa45c2ff5a9728eb28d97ba16fdb9404d64736f6c63430008040033697066733a2f2f516d54516d7a424179734a6a5264423667776b584c395577334843627848384d3333336a597771725234713956772f

Deployed Bytecode

0x6080604052600436106102c95760003560e01c80636817c76c11610175578063a217fddf116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c514610ac0578063eb8d244414610afd578063f2fde38b14610b28578063f4a0a52814610b51576102c9565b8063d547741f14610a43578063d5abeb0114610a6c578063e43252d714610a97576102c9565b8063a217fddf14610921578063a22cb4651461094c578063b88d4fde14610975578063c4e41b221461099e578063c87b56dd146109c9578063ca15c87314610a06576102c9565b80638da5cb5b1161012e5780638da5cb5b1461080a5780639010d07c1461083557806391d148541461087257806395d89b41146108af578063977b055b146108da5780639b6a670914610905576102c9565b80636817c76c1461072257806370a082311461074d578063711897421461078a578063715018a6146107b35780637bffb4ce146107ca5780638ab1d681146107e1576102c9565b80632f2ff15d1161023457806340c10f19116101ed5780634f6ccce7116101c75780634f6ccce71461064257806354789a5e1461067f57806355f804b3146106bc5780636352211e146106e5576102c9565b806340c10f19146105d457806342842e0e146105f0578063484b973c14610619576102c9565b80632f2ff15d146104d85780632f745c591461050157806330f72cd41461053e57806336568abe146105695780633ccfd60b146105925780633ebff0f0146105a9576102c9565b806318160ddd1161028657806318160ddd146103ca5780631bbc1afa146103f55780632142ab291461041e57806323b872dd14610449578063248a9ca3146104725780632db6fa36146104af576102c9565b806301ffc9a7146102ce578063049c5c491461030b57806306fdde0314610322578063081812fc1461034d578063095ea7b31461038a5780631187b293146103b3575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906146f9565b610b7a565b6040516103029190614d50565b60405180910390f35b34801561031757600080fd5b50610320610b8c565b005b34801561032e57600080fd5b50610337610c7a565b6040516103449190614d86565b60405180910390f35b34801561035957600080fd5b50610374600480360381019061036f919061478c565b610d0c565b6040516103819190614ce9565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac91906145d7565b610d91565b005b3480156103bf57600080fd5b506103c8610ea9565b005b3480156103d657600080fd5b506103df611037565b6040516103ec9190615108565b60405180910390f35b34801561040157600080fd5b5061041c6004803603810190610417919061478c565b611044565b005b34801561042a57600080fd5b506104336110ca565b6040516104409190615108565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b91906144d1565b6110d0565b005b34801561047e57600080fd5b5061049960048036038101906104949190614658565b611130565b6040516104a69190614d6b565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d19190614613565b611150565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190614681565b611264565b005b34801561050d57600080fd5b50610528600480360381019061052391906145d7565b611298565b6040516105359190615108565b60405180910390f35b34801561054a57600080fd5b5061055361133d565b6040516105609190614d50565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190614681565b611350565b005b34801561059e57600080fd5b506105a7611384565b005b3480156105b557600080fd5b506105be611450565b6040516105cb9190614d6b565b60405180910390f35b6105ee60048036038101906105e991906145d7565b611474565b005b3480156105fc57600080fd5b50610617600480360381019061061291906144d1565b6115fb565b005b34801561062557600080fd5b50610640600480360381019061063b91906145d7565b61161b565b005b34801561064e57600080fd5b506106696004803603810190610664919061478c565b61173a565b6040516106769190615108565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a1919061446c565b6117d1565b6040516106b39190614d50565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de919061474b565b611804565b005b3480156106f157600080fd5b5061070c6004803603810190610707919061478c565b61189a565b6040516107199190614ce9565b60405180910390f35b34801561072e57600080fd5b5061073761194c565b6040516107449190615108565b60405180910390f35b34801561075957600080fd5b50610774600480360381019061076f919061446c565b611952565b6040516107819190615108565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac919061478c565b611a0a565b005b3480156107bf57600080fd5b506107c8611a90565b005b3480156107d657600080fd5b506107df611b18565b005b3480156107ed57600080fd5b506108086004803603810190610803919061446c565b611c06565b005b34801561081657600080fd5b5061081f611caa565b60405161082c9190614ce9565b60405180910390f35b34801561084157600080fd5b5061085c600480360381019061085791906146bd565b611cd4565b6040516108699190614ce9565b60405180910390f35b34801561087e57600080fd5b5061089960048036038101906108949190614681565b611d03565b6040516108a69190614d50565b60405180910390f35b3480156108bb57600080fd5b506108c4611d6e565b6040516108d19190614d86565b60405180910390f35b3480156108e657600080fd5b506108ef611e00565b6040516108fc9190615108565b60405180910390f35b61091f600480360381019061091a91906145d7565b611e06565b005b34801561092d57600080fd5b5061093661201f565b6040516109439190614d6b565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e919061459b565b612026565b005b34801561098157600080fd5b5061099c60048036038101906109979190614520565b6121a7565b005b3480156109aa57600080fd5b506109b3612209565b6040516109c09190615108565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb919061478c565b612218565b6040516109fd9190614d86565b60405180910390f35b348015610a1257600080fd5b50610a2d6004803603810190610a289190614658565b6122bf565b604051610a3a9190615108565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190614681565b6122e3565b005b348015610a7857600080fd5b50610a81612317565b604051610a8e9190615108565b60405180910390f35b348015610aa357600080fd5b50610abe6004803603810190610ab9919061446c565b61231d565b005b348015610acc57600080fd5b50610ae76004803603810190610ae29190614495565b6123c1565b604051610af49190614d50565b60405180910390f35b348015610b0957600080fd5b50610b12612455565b604051610b1f9190614d50565b60405180910390f35b348015610b3457600080fd5b50610b4f6004803603810190610b4a919061446c565b612468565b005b348015610b5d57600080fd5b50610b786004803603810190610b73919061478c565b612560565b005b6000610b8582612624565b9050919050565b610b9461269e565b73ffffffffffffffffffffffffffffffffffffffff16610bb2611caa565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90614fe8565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff0219169083151502179055507f58655b75d3df612fe99ead00dbf0812d415d35078fe06217a94c0818bb13967f600f60009054906101000a900460ff16604051610c709190614d50565b60405180910390a1565b606060008054610c89906153ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb5906153ec565b8015610d025780601f10610cd757610100808354040283529160200191610d02565b820191906000526020600020905b815481529060010190602001808311610ce557829003601f168201915b5050505050905090565b6000610d17826126a6565b610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90614fc8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d9c8261189a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490615068565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e2c61269e565b73ffffffffffffffffffffffffffffffffffffffff161480610e5b5750610e5a81610e5561269e565b6123c1565b5b610e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9190614f48565b60405180910390fd5b610ea48383612712565b505050565b6000610ed47fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b9050610ee08133611d03565b610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690615028565b60405180910390fd5b6000610f4a7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f6122bf565b905060005b81811015611006576000610f827fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f6122bf565b90506000811115610fec576000610fba7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f6000611cd4565b9050610fe67fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f826122e3565b50610ff2565b50611006565b508080610ffe9061544f565b915050610f4f565b507fda8acdbb2dd1e5e8b4ff652d689b6c0ea21f295250c0bbe5fafd6c44b420a9fd60405160405180910390a15050565b6000600880549050905090565b61104c61269e565b73ffffffffffffffffffffffffffffffffffffffff1661106a611caa565b73ffffffffffffffffffffffffffffffffffffffff16146110c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b790614fe8565b60405180910390fd5b8060118190555050565b60115481565b6110e16110db61269e565b826127cb565b611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790615088565b60405180910390fd5b61112b8383836128a9565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b600061117b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b90506111878133611d03565b6111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90615028565b60405180910390fd5b60005b8383905081101561125e5761124b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f858584818110611231577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611246919061446c565b611264565b80806112569061544f565b9150506111c9565b50505050565b61126e8282612b05565b61129381600c60008581526020019081526020016000206125f490919063ffffffff16565b505050565b60006112a383611952565b82106112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90614e08565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f60019054906101000a900460ff1681565b61135a8282612b2e565b61137f81600c6000858152602001908152602001600020612bb190919063ffffffff16565b505050565b61138c61269e565b73ffffffffffffffffffffffffffffffffffffffff166113aa611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614fe8565b60405180910390fd5b611408611caa565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561144d573d6000803e3d6000fd5b50565b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f81565b600f60009054906101000a900460ff166114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90614dc8565b60405180910390fd5b600e54811115611508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ff906150c8565b60405180910390fd5b60105481611514611037565b61151e91906151ed565b111561155f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155690614e68565b60405180910390fd5b3481600d5461156e9190615274565b11156115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690614f08565b60405180910390fd5b60005b818110156115f65760006115c4611037565b90506010546115d1611037565b10156115e2576115e18482612be1565b5b5080806115ee9061544f565b9150506115b2565b505050565b611616838383604051806020016040528060008152506121a7565b505050565b61162361269e565b73ffffffffffffffffffffffffffffffffffffffff16611641611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e90614fe8565b60405180910390fd5b601054816116a3611037565b6116ad91906151ed565b11156116ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e590614e68565b60405180910390fd5b60005b81811015611735576000611703611037565b9050601054611710611037565b1015611721576117208482612be1565b5b50808061172d9061544f565b9150506116f1565b505050565b6000611744611037565b8210611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c906150a8565b60405180910390fd5b600882815481106117bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60006117fd7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f83611d03565b9050919050565b61180c61269e565b73ffffffffffffffffffffffffffffffffffffffff1661182a611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614fe8565b60405180910390fd5b8060129080519060200190611896929190614231565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90614f88565b60405180910390fd5b80915050919050565b600d5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614f68565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a1261269e565b73ffffffffffffffffffffffffffffffffffffffff16611a30611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d90614fe8565b60405180910390fd5b80600e8190555050565b611a9861269e565b73ffffffffffffffffffffffffffffffffffffffff16611ab6611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390614fe8565b60405180910390fd5b611b166000612bff565b565b611b2061269e565b73ffffffffffffffffffffffffffffffffffffffff16611b3e611caa565b73ffffffffffffffffffffffffffffffffffffffff1614611b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8b90614fe8565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff0219169083151502179055507f42133c3a5199a92c96a540af6aee25899ebc1da7cc9ac9e3536653b61c3c60d7600f60019054906101000a900460ff16604051611bfc9190614d50565b60405180910390a1565b6000611c317fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b9050611c3d8133611d03565b611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7390615028565b60405180910390fd5b611ca67fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f836122e3565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611cfb82600c6000868152602001908152602001600020612cc590919063ffffffff16565b905092915050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611d7d906153ec565b80601f0160208091040260200160405190810160405280929190818152602001828054611da9906153ec565b8015611df65780601f10611dcb57610100808354040283529160200191611df6565b820191906000526020600020905b815481529060010190602001808311611dd957829003601f168201915b5050505050905090565b600e5481565b7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611e3881611e3361269e565b612cdf565b600f60019054906101000a900460ff16611e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7e90614de8565b60405180910390fd5b600e54821115611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec3906150c8565b60405180910390fd5b601154821115611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890614ea8565b60405180910390fd5b60105482611f1d611037565b611f2791906151ed565b1115611f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5f90614e68565b60405180910390fd5b3482600d54611f779190615274565b1115611fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611faf90614f08565b60405180910390fd5b60005b82811015612019576000611fcd611037565b9050601054611fda611037565b101561200557611fea8582612be1565b600160116000828254611ffd91906152ce565b925050819055505b5080806120119061544f565b915050611fbb565b50505050565b6000801b81565b61202e61269e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209390614ee8565b60405180910390fd5b80600560006120a961269e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661215661269e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161219b9190614d50565b60405180910390a35050565b6121b86121b261269e565b836127cb565b6121f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ee90615088565b60405180910390fd5b61220384848484612d7c565b50505050565b6000612213611037565b905090565b6060612223826126a6565b612262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225990615048565b60405180910390fd5b600061226c612dd8565b9050600081511161228c57604051806020016040528060008152506122b7565b8061229684612e6a565b6040516020016122a7929190614c8b565b6040516020818303038152906040525b915050919050565b60006122dc600c6000848152602001908152602001600020613017565b9050919050565b6122ed828261302c565b61231281600c6000858152602001908152602001600020612bb190919063ffffffff16565b505050565b60105481565b60006123487fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f611130565b90506123548133611d03565b612393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238a90615028565b60405180910390fd5b6123bd7fe44a184090cb6da8f919f3fd8eef67d810b7d6b4e532fa73d3077c95ddc9141f83611264565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b61247061269e565b73ffffffffffffffffffffffffffffffffffffffff1661248e611caa565b73ffffffffffffffffffffffffffffffffffffffff16146124e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124db90614fe8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254b90614e48565b60405180910390fd5b61255d81612bff565b50565b61256861269e565b73ffffffffffffffffffffffffffffffffffffffff16612586611caa565b73ffffffffffffffffffffffffffffffffffffffff16146125dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d390614fe8565b60405180910390fd5b80600d8190555050565b6125f08282613055565b5050565b600061261c836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613136565b905092915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126975750612696826131a6565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127858361189a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006127d6826126a6565b612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c90614f28565b60405180910390fd5b60006128208361189a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061288f57508373ffffffffffffffffffffffffffffffffffffffff1661287784610d0c565b73ffffffffffffffffffffffffffffffffffffffff16145b806128a0575061289f81856123c1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128c98261189a565b73ffffffffffffffffffffffffffffffffffffffff161461291f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291690615008565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561298f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298690614ec8565b60405180910390fd5b61299a838383613220565b6129a5600082612712565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129f591906152ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a4c91906151ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612b0e82611130565b612b1f81612b1a61269e565b612cdf565b612b298383613055565b505050565b612b3661269e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9a906150e8565b60405180910390fd5b612bad8282613334565b5050565b6000612bd9836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613416565b905092915050565b612bfb82826040518060200160405280600081525061359c565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612cd483600001836135f7565b60001c905092915050565b612ce98282611d03565b612d7857612d0e8173ffffffffffffffffffffffffffffffffffffffff166014613648565b612d1c8360001c6020613648565b604051602001612d2d929190614caf565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f9190614d86565b60405180910390fd5b5050565b612d878484846128a9565b612d9384848484613942565b612dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc990614e28565b60405180910390fd5b50505050565b606060128054612de7906153ec565b80601f0160208091040260200160405190810160405280929190818152602001828054612e13906153ec565b8015612e605780601f10612e3557610100808354040283529160200191612e60565b820191906000526020600020905b815481529060010190602001808311612e4357829003601f168201915b5050505050905090565b60606000821415612eb2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613012565b600082905060005b60008214612ee4578080612ecd9061544f565b915050600a82612edd9190615243565b9150612eba565b60008167ffffffffffffffff811115612f26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f585781602001600182028036833780820191505090505b5090505b6000851461300b57600182612f7191906152ce565b9150600a85612f809190615498565b6030612f8c91906151ed565b60f81b818381518110612fc8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130049190615243565b9450612f5c565b8093505050505b919050565b600061302582600001613ad9565b9050919050565b61303582611130565b6130468161304161269e565b612cdf565b6130508383613334565b505050565b61305f8282611d03565b613132576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506130d761269e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006131428383613aea565b61319b5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506131a0565b600090505b92915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613219575061321882613b0d565b5b9050919050565b61322b838383613b87565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561326e5761326981613b8c565b6132ad565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132ac576132ab8382613bd5565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132f0576132eb81613d42565b61332f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461332e5761332d8282613e85565b5b5b505050565b61333e8282611d03565b15613412576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506133b761269e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000808360010160008481526020019081526020016000205490506000811461359057600060018261344891906152ce565b905060006001866000018054905061346091906152ce565b905081811461351b5760008660000182815481106134a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050808760000184815481106134f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480613555577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613596565b60009150505b92915050565b6135a68383613f04565b6135b36000848484613942565b6135f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e990614e28565b60405180910390fd5b505050565b6000826000018281548110613635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b60606000600283600261365b9190615274565b61366591906151ed565b67ffffffffffffffff8111156136a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136d65781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613734577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106137be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026137fe9190615274565b61380891906151ed565b90505b60018111156138f4577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613870577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106138ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806138ed906153c2565b905061380b565b5060008414613938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392f90614da8565b60405180910390fd5b8091505092915050565b60006139638473ffffffffffffffffffffffffffffffffffffffff166140d2565b15613acc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261398c61269e565b8786866040518563ffffffff1660e01b81526004016139ae9493929190614d04565b602060405180830381600087803b1580156139c857600080fd5b505af19250505080156139f957506040513d601f19601f820116820180604052508101906139f69190614722565b60015b613a7c573d8060008114613a29576040519150601f19603f3d011682016040523d82523d6000602084013e613a2e565b606091505b50600081511415613a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6b90614e28565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ad1565b600190505b949350505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613b805750613b7f826140e5565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613be284611952565b613bec91906152ce565b9050600060076000848152602001908152602001600020549050818114613cd1576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d5691906152ce565b9050600060096000848152602001908152602001600020549050600060088381548110613dac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613df4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613e9083611952565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f6b90614fa8565b60405180910390fd5b613f7d816126a6565b15613fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb490614e88565b60405180910390fd5b613fc960008383613220565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461401991906151ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806141b057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806141c057506141bf826141c7565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b82805461423d906153ec565b90600052602060002090601f01602090048101928261425f57600085556142a6565b82601f1061427857805160ff19168380011785556142a6565b828001600101855582156142a6579182015b828111156142a557825182559160200191906001019061428a565b5b5090506142b391906142b7565b5090565b5b808211156142d05760008160009055506001016142b8565b5090565b60006142e76142e284615148565b615123565b9050828152602081018484840111156142ff57600080fd5b61430a848285615380565b509392505050565b600061432561432084615179565b615123565b90508281526020810184848401111561433d57600080fd5b614348848285615380565b509392505050565b60008135905061435f81615d59565b92915050565b60008083601f84011261437757600080fd5b8235905067ffffffffffffffff81111561439057600080fd5b6020830191508360208202830111156143a857600080fd5b9250929050565b6000813590506143be81615d70565b92915050565b6000813590506143d381615d87565b92915050565b6000813590506143e881615d9e565b92915050565b6000815190506143fd81615d9e565b92915050565b600082601f83011261441457600080fd5b81356144248482602086016142d4565b91505092915050565b600082601f83011261443e57600080fd5b813561444e848260208601614312565b91505092915050565b60008135905061446681615db5565b92915050565b60006020828403121561447e57600080fd5b600061448c84828501614350565b91505092915050565b600080604083850312156144a857600080fd5b60006144b685828601614350565b92505060206144c785828601614350565b9150509250929050565b6000806000606084860312156144e657600080fd5b60006144f486828701614350565b935050602061450586828701614350565b925050604061451686828701614457565b9150509250925092565b6000806000806080858703121561453657600080fd5b600061454487828801614350565b945050602061455587828801614350565b935050604061456687828801614457565b925050606085013567ffffffffffffffff81111561458357600080fd5b61458f87828801614403565b91505092959194509250565b600080604083850312156145ae57600080fd5b60006145bc85828601614350565b92505060206145cd858286016143af565b9150509250929050565b600080604083850312156145ea57600080fd5b60006145f885828601614350565b925050602061460985828601614457565b9150509250929050565b6000806020838503121561462657600080fd5b600083013567ffffffffffffffff81111561464057600080fd5b61464c85828601614365565b92509250509250929050565b60006020828403121561466a57600080fd5b6000614678848285016143c4565b91505092915050565b6000806040838503121561469457600080fd5b60006146a2858286016143c4565b92505060206146b385828601614350565b9150509250929050565b600080604083850312156146d057600080fd5b60006146de858286016143c4565b92505060206146ef85828601614457565b9150509250929050565b60006020828403121561470b57600080fd5b6000614719848285016143d9565b91505092915050565b60006020828403121561473457600080fd5b6000614742848285016143ee565b91505092915050565b60006020828403121561475d57600080fd5b600082013567ffffffffffffffff81111561477757600080fd5b6147838482850161442d565b91505092915050565b60006020828403121561479e57600080fd5b60006147ac84828501614457565b91505092915050565b6147be81615302565b82525050565b6147cd81615314565b82525050565b6147dc81615320565b82525050565b60006147ed826151aa565b6147f781856151c0565b935061480781856020860161538f565b61481081615585565b840191505092915050565b6000614826826151b5565b61483081856151d1565b935061484081856020860161538f565b61484981615585565b840191505092915050565b600061485f826151b5565b61486981856151e2565b935061487981856020860161538f565b80840191505092915050565b60006148926020836151d1565b915061489d82615596565b602082019050919050565b60006148b56029836151d1565b91506148c0826155bf565b604082019050919050565b60006148d8602c836151d1565b91506148e38261560e565b604082019050919050565b60006148fb602b836151d1565b91506149068261565d565b604082019050919050565b600061491e6032836151d1565b9150614929826156ac565b604082019050919050565b60006149416026836151d1565b915061494c826156fb565b604082019050919050565b60006149646032836151d1565b915061496f8261574a565b604082019050919050565b6000614987601c836151d1565b915061499282615799565b602082019050919050565b60006149aa603a836151d1565b91506149b5826157c2565b604082019050919050565b60006149cd6024836151d1565b91506149d882615811565b604082019050919050565b60006149f06019836151d1565b91506149fb82615860565b602082019050919050565b6000614a13601f836151d1565b9150614a1e82615889565b602082019050919050565b6000614a36602c836151d1565b9150614a41826158b2565b604082019050919050565b6000614a596038836151d1565b9150614a6482615901565b604082019050919050565b6000614a7c602a836151d1565b9150614a8782615950565b604082019050919050565b6000614a9f6029836151d1565b9150614aaa8261599f565b604082019050919050565b6000614ac26020836151d1565b9150614acd826159ee565b602082019050919050565b6000614ae5602c836151d1565b9150614af082615a17565b604082019050919050565b6000614b086020836151d1565b9150614b1382615a66565b602082019050919050565b6000614b2b6029836151d1565b9150614b3682615a8f565b604082019050919050565b6000614b4e6021836151d1565b9150614b5982615ade565b604082019050919050565b6000614b71602f836151d1565b9150614b7c82615b2d565b604082019050919050565b6000614b946021836151d1565b9150614b9f82615b7c565b604082019050919050565b6000614bb76031836151d1565b9150614bc282615bcb565b604082019050919050565b6000614bda602c836151d1565b9150614be582615c1a565b604082019050919050565b6000614bfd6017836151e2565b9150614c0882615c69565b601782019050919050565b6000614c206021836151d1565b9150614c2b82615c92565b604082019050919050565b6000614c436011836151e2565b9150614c4e82615ce1565b601182019050919050565b6000614c66602f836151d1565b9150614c7182615d0a565b604082019050919050565b614c8581615376565b82525050565b6000614c978285614854565b9150614ca38284614854565b91508190509392505050565b6000614cba82614bf0565b9150614cc68285614854565b9150614cd182614c36565b9150614cdd8284614854565b91508190509392505050565b6000602082019050614cfe60008301846147b5565b92915050565b6000608082019050614d1960008301876147b5565b614d2660208301866147b5565b614d336040830185614c7c565b8181036060830152614d4581846147e2565b905095945050505050565b6000602082019050614d6560008301846147c4565b92915050565b6000602082019050614d8060008301846147d3565b92915050565b60006020820190508181036000830152614da0818461481b565b905092915050565b60006020820190508181036000830152614dc181614885565b9050919050565b60006020820190508181036000830152614de1816148a8565b9050919050565b60006020820190508181036000830152614e01816148cb565b9050919050565b60006020820190508181036000830152614e21816148ee565b9050919050565b60006020820190508181036000830152614e4181614911565b9050919050565b60006020820190508181036000830152614e6181614934565b9050919050565b60006020820190508181036000830152614e8181614957565b9050919050565b60006020820190508181036000830152614ea18161497a565b9050919050565b60006020820190508181036000830152614ec18161499d565b9050919050565b60006020820190508181036000830152614ee1816149c0565b9050919050565b60006020820190508181036000830152614f01816149e3565b9050919050565b60006020820190508181036000830152614f2181614a06565b9050919050565b60006020820190508181036000830152614f4181614a29565b9050919050565b60006020820190508181036000830152614f6181614a4c565b9050919050565b60006020820190508181036000830152614f8181614a6f565b9050919050565b60006020820190508181036000830152614fa181614a92565b9050919050565b60006020820190508181036000830152614fc181614ab5565b9050919050565b60006020820190508181036000830152614fe181614ad8565b9050919050565b6000602082019050818103600083015261500181614afb565b9050919050565b6000602082019050818103600083015261502181614b1e565b9050919050565b6000602082019050818103600083015261504181614b41565b9050919050565b6000602082019050818103600083015261506181614b64565b9050919050565b6000602082019050818103600083015261508181614b87565b9050919050565b600060208201905081810360008301526150a181614baa565b9050919050565b600060208201905081810360008301526150c181614bcd565b9050919050565b600060208201905081810360008301526150e181614c13565b9050919050565b6000602082019050818103600083015261510181614c59565b9050919050565b600060208201905061511d6000830184614c7c565b92915050565b600061512d61513e565b9050615139828261541e565b919050565b6000604051905090565b600067ffffffffffffffff82111561516357615162615556565b5b61516c82615585565b9050602081019050919050565b600067ffffffffffffffff82111561519457615193615556565b5b61519d82615585565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006151f882615376565b915061520383615376565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615238576152376154c9565b5b828201905092915050565b600061524e82615376565b915061525983615376565b925082615269576152686154f8565b5b828204905092915050565b600061527f82615376565b915061528a83615376565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152c3576152c26154c9565b5b828202905092915050565b60006152d982615376565b91506152e483615376565b9250828210156152f7576152f66154c9565b5b828203905092915050565b600061530d82615356565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153ad578082015181840152602081019050615392565b838111156153bc576000848401525b50505050565b60006153cd82615376565b915060008214156153e1576153e06154c9565b5b600182039050919050565b6000600282049050600182168061540457607f821691505b6020821081141561541857615417615527565b5b50919050565b61542782615585565b810181811067ffffffffffffffff8211171561544657615445615556565b5b80604052505050565b600061545a82615376565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561548d5761548c6154c9565b5b600182019050919050565b60006154a382615376565b91506154ae83615376565b9250826154be576154bd6154f8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e74205479706960008201527f63616c2054696765720000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206d7573742062652061637469766520746f206d696e74205460008201527f79706963616c2054696765720000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66205479706963616c205469676572730000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662070726573616c65205479706963616c20546967657273000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4163636573733a206163636f756e74206973206e6f7420726f6c652061646d6960008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f43616e206f6e6c79206d696e7420313020746f6b656e7320617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615d6281615302565b8114615d6d57600080fd5b50565b615d7981615314565b8114615d8457600080fd5b50565b615d9081615320565b8114615d9b57600080fd5b50565b615da78161532a565b8114615db257600080fd5b50565b615dbe81615376565b8114615dc957600080fd5b5056fea2646970667358221220513cbf83c0954013504ba92f5af7bd9fa45c2ff5a9728eb28d97ba16fdb9404d64736f6c63430008040033

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.