ETH Price: $3,396.31 (+1.54%)

Token

Lofi Kitties (LK)
 

Overview

Max Total Supply

9,999 LK

Holders

2,769

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
fuckinjeet.eth
Balance
4 LK
0x5C34E725CcA657F02C1D81fb16142F6F0067689b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
LofiKitties

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

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

contract LofiKitties is ERC721, ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Strings for uint256;
    using Address for address;

    string public baseURI;
    string public prerevealURI;
    string public provenance = "";
    uint256 public offsetIndex = 0;
    uint256 public offsetIndexBlock = 0;
    uint256 public cost = 0.045 ether;
    uint256 public maxSupply = 9999;
    uint256 public maxMintAmount = 9;
    uint256 public maxPresaleMintAmount = 5;
    bool public _saleIsActive = false;
    bool public _presaleIsActive = false;
    bool public revealed = false;
    mapping(address => bool) public whitelist;

    event saleStarted();
    event saleStopped();
    event TokenMinted(uint256 supply);
    event WhitelistedAddressAdded(address addr);
    event WhitelistedAddressRemoved(address addr);

    modifier onlyWhitelisted() {
        require(whitelist[msg.sender]);
        _;
    }

    constructor() ERC721("Lofi Kitties", "LK") {}

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

    //public

    function mint(uint256 _mintAmount) public payable {
        uint256 supply = totalSupply();
        require(_saleIsActive);
        require(_mintAmount > 0);
        require(_mintAmount <= maxMintAmount);
        require(
            totalSupply().add(_mintAmount) <= maxSupply,
            "Sale would exceed max supply"
        );
        require(
            !Address.isContract(msg.sender),
            "Contracts are not allowed to call this function"
        );

        if (msg.sender != owner()) {
            require(msg.value >= cost * _mintAmount);
        }
        for (uint256 i = 0; i < _mintAmount; i++) {
            _safeMint(msg.sender, supply + i);
        }

        if (offsetIndexBlock == 0 && (totalSupply() >= maxSupply)) {
            offsetIndexBlock = block.number;
        }
    }

    function presaleMint(uint256 _mintAmount) public payable onlyWhitelisted {
        uint256 supply = totalSupply();
        require(_presaleIsActive);
        require(_mintAmount <= maxPresaleMintAmount);
        require(_mintAmount > 0);
        require(
            totalSupply().add(_mintAmount) <= maxSupply,
            "Sale would exceed max supply"
        );
        require(
            !Address.isContract(msg.sender),
            "Contracts are not allowed to call this function"
        );

        if (msg.sender != owner()) {
            require(msg.value >= cost * _mintAmount);
            uint256 ownerTokenCount = balanceOf(msg.sender);
            require(ownerTokenCount < maxPresaleMintAmount);
        }
        for (uint256 i = 0; i < _mintAmount; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function getTokensByOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        require(tokenId <= maxSupply);
        if (revealed) {
            uint256 offsetId = tokenId.add(maxSupply.sub(offsetIndex)).mod(
                maxSupply
            );
            string memory currentBaseURI = _baseURI();
            return
                bytes(currentBaseURI).length > 0
                    ? string(
                        abi.encodePacked(currentBaseURI, offsetId.toString())
                    )
                    : "";
        } else {
            return prerevealURI;
        }
    }

    //for whitelist

    function addAddressToWhitelist(address addr)
        public
        onlyOwner
        returns (bool success)
    {
        if (!whitelist[addr]) {
            whitelist[addr] = true;
            emit WhitelistedAddressAdded(addr);
            success = true;
        }
    }

    function addAddressesToWhitelist(address[] calldata addrs)
        public
        onlyOwner
        returns (bool success)
    {
        for (uint256 i = 0; i < addrs.length; i++) {
            if (addAddressToWhitelist(addrs[i])) {
                success = true;
            }
        }
    }

    function removeAddressFromWhitelist(address addr)
        public
        onlyOwner
        returns (bool success)
    {
        if (whitelist[addr]) {
            whitelist[addr] = false;
            emit WhitelistedAddressRemoved(addr);
            success = true;
        }
    }

    function removeAddressesFromWhitelist(address[] calldata addrs)
        public
        onlyOwner
        returns (bool success)
    {
        for (uint256 i = 0; i < addrs.length; i++) {
            if (removeAddressFromWhitelist(addrs[i])) {
                success = true;
            }
        }
    }

    // Only owner
    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

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

    function setmaxPresaleMintAmount(uint256 _newMaxPresaleMintAmount)
        public
        onlyOwner
    {
        maxPresaleMintAmount = _newMaxPresaleMintAmount;
    }

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

    function setPrerevealURI(string memory _prerevealURI) public onlyOwner {
        prerevealURI = _prerevealURI;
    }

    function setProvenance(string memory _provenance) public onlyOwner {
        provenance = _provenance;
    }

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

    function startSale() public onlyOwner {
        _saleIsActive = true;
        emit saleStarted();
    }

    function stopSale() public onlyOwner {
        _saleIsActive = false;
        emit saleStopped();
    }

    function startPresale() public onlyOwner {
        _presaleIsActive = true;
        emit saleStarted();
    }

    function stopPresale() public onlyOwner {
        _presaleIsActive = false;
        emit saleStopped();
    }

    function reveal() public onlyOwner {
        revealed = true;
    }

    function setOffsetIndex() public onlyOwner {
        require(offsetIndex == 0, "Starting index has already been set");
        require(offsetIndexBlock != 0, "Starting index block must be set");

        if (block.number.sub(offsetIndexBlock) > 255) {
            offsetIndex = uint256(blockhash(block.number - 1)).mod(maxSupply);
        } else {
            offsetIndex = uint256(blockhash(offsetIndexBlock)).mod(maxSupply);
        }

        if (offsetIndex == 0) {
            offsetIndex = 1;
        }
    }

    function reserveKitties(uint256 _numKitties) public onlyOwner {
        uint256 supply = totalSupply();
        require(
            totalSupply().add(_numKitties) <= maxSupply,
            "Sale would exceed max supply"
        );
        for (uint256 i = 0; i < _numKitties; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function emergencySetOffsetIndexBlock() public onlyOwner {
        require(offsetIndex == 0, "Starting index is already set");
        offsetIndexBlock = block.number;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

File 2 of 14 : 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 3 of 14 : 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 4 of 14 : 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 5 of 14 : 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 6 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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 14 : 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 14 : 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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "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":"uint256","name":"supply","type":"uint256"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"WhitelistedAddressAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"WhitelistedAddressRemoved","type":"event"},{"anonymous":false,"inputs":[],"name":"saleStarted","type":"event"},{"anonymous":false,"inputs":[],"name":"saleStopped","type":"event"},{"inputs":[],"name":"_presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addAddressToWhitelist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"addAddressesToWhitelist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencySetOffsetIndexBlock","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":"address","name":"_owner","type":"address"}],"name":"getTokensByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleMintAmount","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":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offsetIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offsetIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prerevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeAddressFromWhitelist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"removeAddressesFromWhitelist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numKitties","type":"uint256"}],"name":"reserveKitties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setOffsetIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_prerevealURI","type":"string"}],"name":"setPrerevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPresaleMintAmount","type":"uint256"}],"name":"setmaxPresaleMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600d90805190602001906200002b92919062000244565b506000600e556000600f55669fdf42f6e4800060105561270f601155600960125560056013556000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff021916908315150217905550348015620000af57600080fd5b506040518060400160405280600c81526020017f4c6f6669204b69747469657300000000000000000000000000000000000000008152506040518060400160405280600281526020017f4c4b00000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200013492919062000244565b5080600190805190602001906200014d92919062000244565b50505062000170620001646200017660201b60201c565b6200017e60201b60201c565b62000359565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025290620002f4565b90600052602060002090601f016020900481019282620002765760008555620002c2565b82601f106200029157805160ff1916838001178555620002c2565b82800160010185558215620002c2579182015b82811115620002c1578251825591602001919060010190620002a4565b5b509050620002d19190620002d5565b5090565b5b80821115620002f0576000816000905550600101620002d6565b5090565b600060028204905060018216806200030d57607f821691505b602082108114156200032457620003236200032a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6158e180620003696000396000f3fe6080604052600436106103355760003560e01c80636352211e116101ab578063b66a0e5d116100f7578063e2ec6ec311610095578063eb1a190e1161006f578063eb1a190e14610bb4578063f2fde38b14610bdf578063ffe630b514610c08578063ffe90ba614610c3157610335565b8063e2ec6ec314610b23578063e36b0b3714610b60578063e985e9c514610b7757610335565b8063c9b298f1116100d1578063c9b298f114610a9a578063d2f9021414610ab6578063d5abeb0114610acd578063d62280b214610af857610335565b8063b66a0e5d14610a1d578063b88d4fde14610a34578063c87b56dd14610a5d57610335565b806385480756116101645780639b19251a1161013e5780639b19251a14610984578063a0712d68146109c1578063a22cb465146109dd578063a475b5dd14610a0657610335565b806385480756146109035780638da5cb5b1461092e57806395d89b411461095957610335565b80636352211e146107e15780636c0360eb1461081e57806370a0823114610849578063715018a6146108865780637b9417c81461089d5780637f00c7a6146108da57610335565b806323b872dd1161028557806340398d67116102235780634f6ccce7116101fd5780634f6ccce714610725578063518302271461076257806355f804b31461078d5780635d893ba0146107b657610335565b806340398d671461069657806342842e0e146106d357806344a0d68a146106fc57610335565b80632c0ba6511161025f5780632c0ba651146106025780632f745c591461062b5780633ccfd60b146106685780633dc23a6d1461067f57610335565b806323b872dd1461055f57806324953eaa14610588578063286dd3f5146105c557610335565b80630f7309e8116102f25780631ad2ad1a116102cc5780631ad2ad1a146104c95780631b540fb9146104e05780631ba0724014610509578063239c70ae1461053457610335565b80630f7309e81461044857806313faede61461047357806318160ddd1461049e57610335565b806301ffc9a71461033a57806304c98b2b1461037757806306fdde031461038e578063078eef28146103b9578063081812fc146103e2578063095ea7b31461041f575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c919061441d565b610c5c565b60405161036e9190614a14565b60405180910390f35b34801561038357600080fd5b5061038c610c6e565b005b34801561039a57600080fd5b506103a3610d33565b6040516103b09190614a2f565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614477565b610dc5565b005b3480156103ee57600080fd5b50610409600480360381019061040491906144c0565b610e5b565b604051610416919061498b565b60405180910390f35b34801561042b57600080fd5b5061044660048036038101906104419190614390565b610ee0565b005b34801561045457600080fd5b5061045d610ff8565b60405161046a9190614a2f565b60405180910390f35b34801561047f57600080fd5b50610488611086565b6040516104959190614d31565b60405180910390f35b3480156104aa57600080fd5b506104b361108c565b6040516104c09190614d31565b60405180910390f35b3480156104d557600080fd5b506104de611099565b005b3480156104ec57600080fd5b50610507600480360381019061050291906144c0565b61115e565b005b34801561051557600080fd5b5061051e61127c565b60405161052b9190614d31565b60405180910390f35b34801561054057600080fd5b50610549611282565b6040516105569190614d31565b60405180910390f35b34801561056b57600080fd5b506105866004803603810190610581919061427a565b611288565b005b34801561059457600080fd5b506105af60048036038101906105aa91906143d0565b6112e8565b6040516105bc9190614a14565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e7919061420d565b6113c8565b6040516105f99190614a14565b60405180910390f35b34801561060e57600080fd5b50610629600480360381019061062491906144c0565b611531565b005b34801561063757600080fd5b50610652600480360381019061064d9190614390565b6115b7565b60405161065f9190614d31565b60405180910390f35b34801561067457600080fd5b5061067d61165c565b005b34801561068b57600080fd5b50610694611727565b005b3480156106a257600080fd5b506106bd60048036038101906106b8919061420d565b6117f1565b6040516106ca91906149f2565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f5919061427a565b61189f565b005b34801561070857600080fd5b50610723600480360381019061071e91906144c0565b6118bf565b005b34801561073157600080fd5b5061074c600480360381019061074791906144c0565b611945565b6040516107599190614d31565b60405180910390f35b34801561076e57600080fd5b506107776119b6565b6040516107849190614a14565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af9190614477565b6119c9565b005b3480156107c257600080fd5b506107cb611a5f565b6040516107d89190614a14565b60405180910390f35b3480156107ed57600080fd5b50610808600480360381019061080391906144c0565b611a72565b604051610815919061498b565b60405180910390f35b34801561082a57600080fd5b50610833611b24565b6040516108409190614a2f565b60405180910390f35b34801561085557600080fd5b50610870600480360381019061086b919061420d565b611bb2565b60405161087d9190614d31565b60405180910390f35b34801561089257600080fd5b5061089b611c6a565b005b3480156108a957600080fd5b506108c460048036038101906108bf919061420d565b611cf2565b6040516108d19190614a14565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc91906144c0565b611e5a565b005b34801561090f57600080fd5b50610918611ee0565b6040516109259190614d31565b60405180910390f35b34801561093a57600080fd5b50610943611ee6565b604051610950919061498b565b60405180910390f35b34801561096557600080fd5b5061096e611f10565b60405161097b9190614a2f565b60405180910390f35b34801561099057600080fd5b506109ab60048036038101906109a6919061420d565b611fa2565b6040516109b89190614a14565b60405180910390f35b6109db60048036038101906109d691906144c0565b611fc2565b005b3480156109e957600080fd5b50610a0460048036038101906109ff9190614350565b61215f565b005b348015610a1257600080fd5b50610a1b6122e0565b005b348015610a2957600080fd5b50610a32612379565b005b348015610a4057600080fd5b50610a5b6004803603810190610a5691906142cd565b61243e565b005b348015610a6957600080fd5b50610a846004803603810190610a7f91906144c0565b6124a0565b604051610a919190614a2f565b60405180910390f35b610ab46004803603810190610aaf91906144c0565b612640565b005b348015610ac257600080fd5b50610acb612827565b005b348015610ad957600080fd5b50610ae26129b3565b604051610aef9190614d31565b60405180910390f35b348015610b0457600080fd5b50610b0d6129b9565b604051610b1a9190614a2f565b60405180910390f35b348015610b2f57600080fd5b50610b4a6004803603810190610b4591906143d0565b612a47565b604051610b579190614a14565b60405180910390f35b348015610b6c57600080fd5b50610b75612b27565b005b348015610b8357600080fd5b50610b9e6004803603810190610b99919061423a565b612bec565b604051610bab9190614a14565b60405180910390f35b348015610bc057600080fd5b50610bc9612c80565b604051610bd69190614a14565b60405180910390f35b348015610beb57600080fd5b50610c066004803603810190610c01919061420d565b612c93565b005b348015610c1457600080fd5b50610c2f6004803603810190610c2a9190614477565b612d8b565b005b348015610c3d57600080fd5b50610c46612e21565b604051610c539190614d31565b60405180910390f35b6000610c6782612e27565b9050919050565b610c76612ea1565b73ffffffffffffffffffffffffffffffffffffffff16610c94611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190614c11565b60405180910390fd5b6001601460016101000a81548160ff0219169083151502179055507f5c474f9e0b1fe566d5deefb18bebaafb842461c4c9fe6d1297c0147ba55859bf60405160405180910390a1565b606060008054610d429061501a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6e9061501a565b8015610dbb5780601f10610d9057610100808354040283529160200191610dbb565b820191906000526020600020905b815481529060010190602001808311610d9e57829003601f168201915b5050505050905090565b610dcd612ea1565b73ffffffffffffffffffffffffffffffffffffffff16610deb611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890614c11565b60405180910390fd5b80600c9080519060200190610e57929190613fcb565b5050565b6000610e6682612ea9565b610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614bf1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eeb82611a72565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390614c71565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f7b612ea1565b73ffffffffffffffffffffffffffffffffffffffff161480610faa5750610fa981610fa4612ea1565b612bec565b5b610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe090614b71565b60405180910390fd5b610ff38383612f15565b505050565b600d80546110059061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546110319061501a565b801561107e5780601f106110535761010080835404028352916020019161107e565b820191906000526020600020905b81548152906001019060200180831161106157829003601f168201915b505050505081565b60105481565b6000600880549050905090565b6110a1612ea1565b73ffffffffffffffffffffffffffffffffffffffff166110bf611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c90614c11565b60405180910390fd5b6000601460016101000a81548160ff0219169083151502179055507f456c8cac2ef8013a898cdd3685db2684fb058b754e3a87b0c974e0c64aaa5e7960405160405180910390a1565b611166612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611184611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146111da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d190614c11565b60405180910390fd5b60006111e461108c565b9050601154611203836111f561108c565b612fce90919063ffffffff16565b1115611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90614ad1565b60405180910390fd5b60005b828110156112775761126433828461125f9190614e4f565b612fe4565b808061126f9061507d565b915050611247565b505050565b600f5481565b60125481565b611299611293612ea1565b82613002565b6112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614cb1565b60405180910390fd5b6112e38383836130e0565b505050565b60006112f2612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611310611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90614c11565b60405180910390fd5b60005b838390508110156113c1576113a484848381811061138a576113896151b3565b5b905060200201602081019061139f919061420d565b6113c8565b156113ae57600191505b80806113b99061507d565b915050611369565b5092915050565b60006113d2612ea1565b73ffffffffffffffffffffffffffffffffffffffff166113f0611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d90614c11565b60405180910390fd5b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561152c576000601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507ff1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a8260405161151f919061498b565b60405180910390a1600190505b919050565b611539612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611557611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490614c11565b60405180910390fd5b8060138190555050565b60006115c283611bb2565b8210611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa90614a51565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611664612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611682611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90614c11565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611723573d6000803e3d6000fd5b5050565b61172f612ea1565b73ffffffffffffffffffffffffffffffffffffffff1661174d611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146117a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179a90614c11565b60405180910390fd5b6000600e54146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614b51565b60405180910390fd5b43600f81905550565b606060006117fe83611bb2565b905060008167ffffffffffffffff81111561181c5761181b6151e2565b5b60405190808252806020026020018201604052801561184a5781602001602082028036833780820191505090505b50905060005b828110156118945761186285826115b7565b828281518110611875576118746151b3565b5b602002602001018181525050808061188c9061507d565b915050611850565b508092505050919050565b6118ba8383836040518060200160405280600081525061243e565b505050565b6118c7612ea1565b73ffffffffffffffffffffffffffffffffffffffff166118e5611ee6565b73ffffffffffffffffffffffffffffffffffffffff161461193b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193290614c11565b60405180910390fd5b8060108190555050565b600061194f61108c565b8210611990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198790614cd1565b60405180910390fd5b600882815481106119a4576119a36151b3565b5b90600052602060002001549050919050565b601460029054906101000a900460ff1681565b6119d1612ea1565b73ffffffffffffffffffffffffffffffffffffffff166119ef611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c90614c11565b60405180910390fd5b80600b9080519060200190611a5b929190613fcb565b5050565b601460009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290614bb1565b60405180910390fd5b80915050919050565b600b8054611b319061501a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5d9061501a565b8015611baa5780601f10611b7f57610100808354040283529160200191611baa565b820191906000526020600020905b815481529060010190602001808311611b8d57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1a90614b91565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c72612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611c90611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdd90614c11565b60405180910390fd5b611cf0600061333c565b565b6000611cfc612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611d1a611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790614c11565b60405180910390fd5b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611e55576001601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f82604051611e48919061498b565b60405180910390a1600190505b919050565b611e62612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611e80611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecd90614c11565b60405180910390fd5b8060128190555050565b60135481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611f1f9061501a565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b9061501a565b8015611f985780601f10611f6d57610100808354040283529160200191611f98565b820191906000526020600020905b815481529060010190602001808311611f7b57829003601f168201915b5050505050905090565b60156020528060005260406000206000915054906101000a900460ff1681565b6000611fcc61108c565b9050601460009054906101000a900460ff16611fe757600080fd5b60008211611ff457600080fd5b60125482111561200357600080fd5b6011546120208361201261108c565b612fce90919063ffffffff16565b1115612061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205890614ad1565b60405180910390fd5b61206a33613402565b156120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190614d11565b60405180910390fd5b6120b2611ee6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120ff57816010546120f29190614ed6565b3410156120fe57600080fd5b5b60005b828110156121325761211f33828461211a9190614e4f565b612fe4565b808061212a9061507d565b915050612102565b506000600f5414801561214e575060115461214b61108c565b10155b1561215b5743600f819055505b5050565b612167612ea1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc90614b11565b60405180910390fd5b80600560006121e2612ea1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661228f612ea1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122d49190614a14565b60405180910390a35050565b6122e8612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612306611ee6565b73ffffffffffffffffffffffffffffffffffffffff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390614c11565b60405180910390fd5b6001601460026101000a81548160ff021916908315150217905550565b612381612ea1565b73ffffffffffffffffffffffffffffffffffffffff1661239f611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146123f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ec90614c11565b60405180910390fd5b6001601460006101000a81548160ff0219169083151502179055507f5c474f9e0b1fe566d5deefb18bebaafb842461c4c9fe6d1297c0147ba55859bf60405160405180910390a1565b61244f612449612ea1565b83613002565b61248e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248590614cb1565b60405180910390fd5b61249a84848484613415565b50505050565b60606124ab82612ea9565b6124ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e190614c51565b60405180910390fd5b6011548211156124f957600080fd5b601460029054906101000a900460ff16156125ad57600061254d60115461253f612530600e5460115461347190919063ffffffff16565b86612fce90919063ffffffff16565b61348790919063ffffffff16565b9050600061255961349d565b9050600081511161257957604051806020016040528060008152506125a4565b806125838361352f565b604051602001612594929190614967565b6040516020818303038152906040525b9250505061263b565b600c80546125ba9061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546125e69061501a565b80156126335780601f1061260857610100808354040283529160200191612633565b820191906000526020600020905b81548152906001019060200180831161261657829003601f168201915b505050505090505b919050565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661269657600080fd5b60006126a061108c565b9050601460019054906101000a900460ff166126bb57600080fd5b6013548211156126ca57600080fd5b600082116126d757600080fd5b6011546126f4836126e661108c565b612fce90919063ffffffff16565b1115612735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272c90614ad1565b60405180910390fd5b61273e33613402565b1561277e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277590614d11565b60405180910390fd5b612786611ee6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127ef57816010546127c69190614ed6565b3410156127d257600080fd5b60006127dd33611bb2565b905060135481106127ed57600080fd5b505b60005b828110156128225761280f33828461280a9190614e4f565b612fe4565b808061281a9061507d565b9150506127f2565b505050565b61282f612ea1565b73ffffffffffffffffffffffffffffffffffffffff1661284d611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146128a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289a90614c11565b60405180910390fd5b6000600e54146128e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128df90614cf1565b60405180910390fd5b6000600f54141561292e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292590614c91565b60405180910390fd5b60ff612945600f544361347190919063ffffffff16565b111561297b5761297060115460014361295e9190614f30565b4060001c61348790919063ffffffff16565b600e8190555061299d565b612996601154600f544060001c61348790919063ffffffff16565b600e819055505b6000600e5414156129b1576001600e819055505b565b60115481565b600c80546129c69061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546129f29061501a565b8015612a3f5780601f10612a1457610100808354040283529160200191612a3f565b820191906000526020600020905b815481529060010190602001808311612a2257829003601f168201915b505050505081565b6000612a51612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612a6f611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abc90614c11565b60405180910390fd5b60005b83839050811015612b2057612b03848483818110612ae957612ae86151b3565b5b9050602002016020810190612afe919061420d565b611cf2565b15612b0d57600191505b8080612b189061507d565b915050612ac8565b5092915050565b612b2f612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612b4d611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9a90614c11565b60405180910390fd5b6000601460006101000a81548160ff0219169083151502179055507f456c8cac2ef8013a898cdd3685db2684fb058b754e3a87b0c974e0c64aaa5e7960405160405180910390a1565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601460019054906101000a900460ff1681565b612c9b612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612cb9611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0690614c11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7690614a91565b60405180910390fd5b612d888161333c565b50565b612d93612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612db1611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfe90614c11565b60405180910390fd5b80600d9080519060200190612e1d929190613fcb565b5050565b600e5481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e9a5750612e9982613690565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612f8883611a72565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183612fdc9190614e4f565b905092915050565b612ffe828260405180602001604052806000815250613772565b5050565b600061300d82612ea9565b61304c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304390614b31565b60405180910390fd5b600061305783611a72565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130c657508373ffffffffffffffffffffffffffffffffffffffff166130ae84610e5b565b73ffffffffffffffffffffffffffffffffffffffff16145b806130d757506130d68185612bec565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661310082611a72565b73ffffffffffffffffffffffffffffffffffffffff1614613156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314d90614c31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bd90614af1565b60405180910390fd5b6131d18383836137cd565b6131dc600082612f15565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461322c9190614f30565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132839190614e4f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b6134208484846130e0565b61342c848484846137dd565b61346b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346290614a71565b60405180910390fd5b50505050565b6000818361347f9190614f30565b905092915050565b6000818361349591906150c6565b905092915050565b6060600b80546134ac9061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546134d89061501a565b80156135255780601f106134fa57610100808354040283529160200191613525565b820191906000526020600020905b81548152906001019060200180831161350857829003601f168201915b5050505050905090565b60606000821415613577576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061368b565b600082905060005b600082146135a95780806135929061507d565b915050600a826135a29190614ea5565b915061357f565b60008167ffffffffffffffff8111156135c5576135c46151e2565b5b6040519080825280601f01601f1916602001820160405280156135f75781602001600182028036833780820191505090505b5090505b60008514613684576001826136109190614f30565b9150600a8561361f91906150c6565b603061362b9190614e4f565b60f81b818381518110613641576136406151b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561367d9190614ea5565b94506135fb565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061375b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061376b575061376a82613974565b5b9050919050565b61377c83836139de565b61378960008484846137dd565b6137c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137bf90614a71565b60405180910390fd5b505050565b6137d8838383613bac565b505050565b60006137fe8473ffffffffffffffffffffffffffffffffffffffff16613402565b15613967578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613827612ea1565b8786866040518563ffffffff1660e01b815260040161384994939291906149a6565b602060405180830381600087803b15801561386357600080fd5b505af192505050801561389457506040513d601f19601f82011682018060405250810190613891919061444a565b60015b613917573d80600081146138c4576040519150601f19603f3d011682016040523d82523d6000602084013e6138c9565b606091505b5060008151141561390f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390690614a71565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061396c565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4590614bd1565b60405180910390fd5b613a5781612ea9565b15613a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8e90614ab1565b60405180910390fd5b613aa3600083836137cd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613af39190614e4f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613bb7838383613cc0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613bfa57613bf581613cc5565b613c39565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c3857613c378382613d0e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c7c57613c7781613e7b565b613cbb565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613cba57613cb98282613f4c565b5b5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d1b84611bb2565b613d259190614f30565b9050600060076000848152602001908152602001600020549050818114613e0a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e8f9190614f30565b9050600060096000848152602001908152602001600020549050600060088381548110613ebf57613ebe6151b3565b5b906000526020600020015490508060088381548110613ee157613ee06151b3565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f3057613f2f615184565b5b6001900381819060005260206000200160009055905550505050565b6000613f5783611bb2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613fd79061501a565b90600052602060002090601f016020900481019282613ff95760008555614040565b82601f1061401257805160ff1916838001178555614040565b82800160010185558215614040579182015b8281111561403f578251825591602001919060010190614024565b5b50905061404d9190614051565b5090565b5b8082111561406a576000816000905550600101614052565b5090565b600061408161407c84614d71565b614d4c565b90508281526020810184848401111561409d5761409c615220565b5b6140a8848285614fd8565b509392505050565b60006140c36140be84614da2565b614d4c565b9050828152602081018484840111156140df576140de615220565b5b6140ea848285614fd8565b509392505050565b6000813590506141018161584f565b92915050565b60008083601f84011261411d5761411c615216565b5b8235905067ffffffffffffffff81111561413a57614139615211565b5b6020830191508360208202830111156141565761415561521b565b5b9250929050565b60008135905061416c81615866565b92915050565b6000813590506141818161587d565b92915050565b6000815190506141968161587d565b92915050565b600082601f8301126141b1576141b0615216565b5b81356141c184826020860161406e565b91505092915050565b600082601f8301126141df576141de615216565b5b81356141ef8482602086016140b0565b91505092915050565b60008135905061420781615894565b92915050565b6000602082840312156142235761422261522a565b5b6000614231848285016140f2565b91505092915050565b600080604083850312156142515761425061522a565b5b600061425f858286016140f2565b9250506020614270858286016140f2565b9150509250929050565b6000806000606084860312156142935761429261522a565b5b60006142a1868287016140f2565b93505060206142b2868287016140f2565b92505060406142c3868287016141f8565b9150509250925092565b600080600080608085870312156142e7576142e661522a565b5b60006142f5878288016140f2565b9450506020614306878288016140f2565b9350506040614317878288016141f8565b925050606085013567ffffffffffffffff81111561433857614337615225565b5b6143448782880161419c565b91505092959194509250565b600080604083850312156143675761436661522a565b5b6000614375858286016140f2565b92505060206143868582860161415d565b9150509250929050565b600080604083850312156143a7576143a661522a565b5b60006143b5858286016140f2565b92505060206143c6858286016141f8565b9150509250929050565b600080602083850312156143e7576143e661522a565b5b600083013567ffffffffffffffff81111561440557614404615225565b5b61441185828601614107565b92509250509250929050565b6000602082840312156144335761443261522a565b5b600061444184828501614172565b91505092915050565b6000602082840312156144605761445f61522a565b5b600061446e84828501614187565b91505092915050565b60006020828403121561448d5761448c61522a565b5b600082013567ffffffffffffffff8111156144ab576144aa615225565b5b6144b7848285016141ca565b91505092915050565b6000602082840312156144d6576144d561522a565b5b60006144e4848285016141f8565b91505092915050565b60006144f98383614949565b60208301905092915050565b61450e81614f64565b82525050565b600061451f82614de3565b6145298185614e11565b935061453483614dd3565b8060005b8381101561456557815161454c88826144ed565b975061455783614e04565b925050600181019050614538565b5085935050505092915050565b61457b81614f76565b82525050565b600061458c82614dee565b6145968185614e22565b93506145a6818560208601614fe7565b6145af8161522f565b840191505092915050565b60006145c582614df9565b6145cf8185614e33565b93506145df818560208601614fe7565b6145e88161522f565b840191505092915050565b60006145fe82614df9565b6146088185614e44565b9350614618818560208601614fe7565b80840191505092915050565b6000614631602b83614e33565b915061463c82615240565b604082019050919050565b6000614654603283614e33565b915061465f8261528f565b604082019050919050565b6000614677602683614e33565b9150614682826152de565b604082019050919050565b600061469a601c83614e33565b91506146a58261532d565b602082019050919050565b60006146bd601c83614e33565b91506146c882615356565b602082019050919050565b60006146e0602483614e33565b91506146eb8261537f565b604082019050919050565b6000614703601983614e33565b915061470e826153ce565b602082019050919050565b6000614726602c83614e33565b9150614731826153f7565b604082019050919050565b6000614749601d83614e33565b915061475482615446565b602082019050919050565b600061476c603883614e33565b91506147778261546f565b604082019050919050565b600061478f602a83614e33565b915061479a826154be565b604082019050919050565b60006147b2602983614e33565b91506147bd8261550d565b604082019050919050565b60006147d5602083614e33565b91506147e08261555c565b602082019050919050565b60006147f8602c83614e33565b915061480382615585565b604082019050919050565b600061481b602083614e33565b9150614826826155d4565b602082019050919050565b600061483e602983614e33565b9150614849826155fd565b604082019050919050565b6000614861602f83614e33565b915061486c8261564c565b604082019050919050565b6000614884602183614e33565b915061488f8261569b565b604082019050919050565b60006148a7602083614e33565b91506148b2826156ea565b602082019050919050565b60006148ca603183614e33565b91506148d582615713565b604082019050919050565b60006148ed602c83614e33565b91506148f882615762565b604082019050919050565b6000614910602383614e33565b915061491b826157b1565b604082019050919050565b6000614933602f83614e33565b915061493e82615800565b604082019050919050565b61495281614fce565b82525050565b61496181614fce565b82525050565b600061497382856145f3565b915061497f82846145f3565b91508190509392505050565b60006020820190506149a06000830184614505565b92915050565b60006080820190506149bb6000830187614505565b6149c86020830186614505565b6149d56040830185614958565b81810360608301526149e78184614581565b905095945050505050565b60006020820190508181036000830152614a0c8184614514565b905092915050565b6000602082019050614a296000830184614572565b92915050565b60006020820190508181036000830152614a4981846145ba565b905092915050565b60006020820190508181036000830152614a6a81614624565b9050919050565b60006020820190508181036000830152614a8a81614647565b9050919050565b60006020820190508181036000830152614aaa8161466a565b9050919050565b60006020820190508181036000830152614aca8161468d565b9050919050565b60006020820190508181036000830152614aea816146b0565b9050919050565b60006020820190508181036000830152614b0a816146d3565b9050919050565b60006020820190508181036000830152614b2a816146f6565b9050919050565b60006020820190508181036000830152614b4a81614719565b9050919050565b60006020820190508181036000830152614b6a8161473c565b9050919050565b60006020820190508181036000830152614b8a8161475f565b9050919050565b60006020820190508181036000830152614baa81614782565b9050919050565b60006020820190508181036000830152614bca816147a5565b9050919050565b60006020820190508181036000830152614bea816147c8565b9050919050565b60006020820190508181036000830152614c0a816147eb565b9050919050565b60006020820190508181036000830152614c2a8161480e565b9050919050565b60006020820190508181036000830152614c4a81614831565b9050919050565b60006020820190508181036000830152614c6a81614854565b9050919050565b60006020820190508181036000830152614c8a81614877565b9050919050565b60006020820190508181036000830152614caa8161489a565b9050919050565b60006020820190508181036000830152614cca816148bd565b9050919050565b60006020820190508181036000830152614cea816148e0565b9050919050565b60006020820190508181036000830152614d0a81614903565b9050919050565b60006020820190508181036000830152614d2a81614926565b9050919050565b6000602082019050614d466000830184614958565b92915050565b6000614d56614d67565b9050614d62828261504c565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8c57614d8b6151e2565b5b614d958261522f565b9050602081019050919050565b600067ffffffffffffffff821115614dbd57614dbc6151e2565b5b614dc68261522f565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e5a82614fce565b9150614e6583614fce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e9a57614e996150f7565b5b828201905092915050565b6000614eb082614fce565b9150614ebb83614fce565b925082614ecb57614eca615126565b5b828204905092915050565b6000614ee182614fce565b9150614eec83614fce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2557614f246150f7565b5b828202905092915050565b6000614f3b82614fce565b9150614f4683614fce565b925082821015614f5957614f586150f7565b5b828203905092915050565b6000614f6f82614fae565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615005578082015181840152602081019050614fea565b83811115615014576000848401525b50505050565b6000600282049050600182168061503257607f821691505b6020821081141561504657615045615155565b5b50919050565b6150558261522f565b810181811067ffffffffffffffff82111715615074576150736151e2565b5b80604052505050565b600061508882614fce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150bb576150ba6150f7565b5b600182019050919050565b60006150d182614fce565b91506150dc83614fce565b9250826150ec576150eb615126565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e6465782068617320616c7265616479206265656e2060008201527f7365740000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e74726163747320617265206e6f7420616c6c6f77656420746f2063616c60008201527f6c20746869732066756e6374696f6e0000000000000000000000000000000000602082015250565b61585881614f64565b811461586357600080fd5b50565b61586f81614f76565b811461587a57600080fd5b50565b61588681614f82565b811461589157600080fd5b50565b61589d81614fce565b81146158a857600080fd5b5056fea2646970667358221220327bc65b0390f88b39bac5f63b84442d0e97fb919cc33ec575e4dca341d0335b64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106103355760003560e01c80636352211e116101ab578063b66a0e5d116100f7578063e2ec6ec311610095578063eb1a190e1161006f578063eb1a190e14610bb4578063f2fde38b14610bdf578063ffe630b514610c08578063ffe90ba614610c3157610335565b8063e2ec6ec314610b23578063e36b0b3714610b60578063e985e9c514610b7757610335565b8063c9b298f1116100d1578063c9b298f114610a9a578063d2f9021414610ab6578063d5abeb0114610acd578063d62280b214610af857610335565b8063b66a0e5d14610a1d578063b88d4fde14610a34578063c87b56dd14610a5d57610335565b806385480756116101645780639b19251a1161013e5780639b19251a14610984578063a0712d68146109c1578063a22cb465146109dd578063a475b5dd14610a0657610335565b806385480756146109035780638da5cb5b1461092e57806395d89b411461095957610335565b80636352211e146107e15780636c0360eb1461081e57806370a0823114610849578063715018a6146108865780637b9417c81461089d5780637f00c7a6146108da57610335565b806323b872dd1161028557806340398d67116102235780634f6ccce7116101fd5780634f6ccce714610725578063518302271461076257806355f804b31461078d5780635d893ba0146107b657610335565b806340398d671461069657806342842e0e146106d357806344a0d68a146106fc57610335565b80632c0ba6511161025f5780632c0ba651146106025780632f745c591461062b5780633ccfd60b146106685780633dc23a6d1461067f57610335565b806323b872dd1461055f57806324953eaa14610588578063286dd3f5146105c557610335565b80630f7309e8116102f25780631ad2ad1a116102cc5780631ad2ad1a146104c95780631b540fb9146104e05780631ba0724014610509578063239c70ae1461053457610335565b80630f7309e81461044857806313faede61461047357806318160ddd1461049e57610335565b806301ffc9a71461033a57806304c98b2b1461037757806306fdde031461038e578063078eef28146103b9578063081812fc146103e2578063095ea7b31461041f575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c919061441d565b610c5c565b60405161036e9190614a14565b60405180910390f35b34801561038357600080fd5b5061038c610c6e565b005b34801561039a57600080fd5b506103a3610d33565b6040516103b09190614a2f565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614477565b610dc5565b005b3480156103ee57600080fd5b50610409600480360381019061040491906144c0565b610e5b565b604051610416919061498b565b60405180910390f35b34801561042b57600080fd5b5061044660048036038101906104419190614390565b610ee0565b005b34801561045457600080fd5b5061045d610ff8565b60405161046a9190614a2f565b60405180910390f35b34801561047f57600080fd5b50610488611086565b6040516104959190614d31565b60405180910390f35b3480156104aa57600080fd5b506104b361108c565b6040516104c09190614d31565b60405180910390f35b3480156104d557600080fd5b506104de611099565b005b3480156104ec57600080fd5b50610507600480360381019061050291906144c0565b61115e565b005b34801561051557600080fd5b5061051e61127c565b60405161052b9190614d31565b60405180910390f35b34801561054057600080fd5b50610549611282565b6040516105569190614d31565b60405180910390f35b34801561056b57600080fd5b506105866004803603810190610581919061427a565b611288565b005b34801561059457600080fd5b506105af60048036038101906105aa91906143d0565b6112e8565b6040516105bc9190614a14565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e7919061420d565b6113c8565b6040516105f99190614a14565b60405180910390f35b34801561060e57600080fd5b50610629600480360381019061062491906144c0565b611531565b005b34801561063757600080fd5b50610652600480360381019061064d9190614390565b6115b7565b60405161065f9190614d31565b60405180910390f35b34801561067457600080fd5b5061067d61165c565b005b34801561068b57600080fd5b50610694611727565b005b3480156106a257600080fd5b506106bd60048036038101906106b8919061420d565b6117f1565b6040516106ca91906149f2565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f5919061427a565b61189f565b005b34801561070857600080fd5b50610723600480360381019061071e91906144c0565b6118bf565b005b34801561073157600080fd5b5061074c600480360381019061074791906144c0565b611945565b6040516107599190614d31565b60405180910390f35b34801561076e57600080fd5b506107776119b6565b6040516107849190614a14565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af9190614477565b6119c9565b005b3480156107c257600080fd5b506107cb611a5f565b6040516107d89190614a14565b60405180910390f35b3480156107ed57600080fd5b50610808600480360381019061080391906144c0565b611a72565b604051610815919061498b565b60405180910390f35b34801561082a57600080fd5b50610833611b24565b6040516108409190614a2f565b60405180910390f35b34801561085557600080fd5b50610870600480360381019061086b919061420d565b611bb2565b60405161087d9190614d31565b60405180910390f35b34801561089257600080fd5b5061089b611c6a565b005b3480156108a957600080fd5b506108c460048036038101906108bf919061420d565b611cf2565b6040516108d19190614a14565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc91906144c0565b611e5a565b005b34801561090f57600080fd5b50610918611ee0565b6040516109259190614d31565b60405180910390f35b34801561093a57600080fd5b50610943611ee6565b604051610950919061498b565b60405180910390f35b34801561096557600080fd5b5061096e611f10565b60405161097b9190614a2f565b60405180910390f35b34801561099057600080fd5b506109ab60048036038101906109a6919061420d565b611fa2565b6040516109b89190614a14565b60405180910390f35b6109db60048036038101906109d691906144c0565b611fc2565b005b3480156109e957600080fd5b50610a0460048036038101906109ff9190614350565b61215f565b005b348015610a1257600080fd5b50610a1b6122e0565b005b348015610a2957600080fd5b50610a32612379565b005b348015610a4057600080fd5b50610a5b6004803603810190610a5691906142cd565b61243e565b005b348015610a6957600080fd5b50610a846004803603810190610a7f91906144c0565b6124a0565b604051610a919190614a2f565b60405180910390f35b610ab46004803603810190610aaf91906144c0565b612640565b005b348015610ac257600080fd5b50610acb612827565b005b348015610ad957600080fd5b50610ae26129b3565b604051610aef9190614d31565b60405180910390f35b348015610b0457600080fd5b50610b0d6129b9565b604051610b1a9190614a2f565b60405180910390f35b348015610b2f57600080fd5b50610b4a6004803603810190610b4591906143d0565b612a47565b604051610b579190614a14565b60405180910390f35b348015610b6c57600080fd5b50610b75612b27565b005b348015610b8357600080fd5b50610b9e6004803603810190610b99919061423a565b612bec565b604051610bab9190614a14565b60405180910390f35b348015610bc057600080fd5b50610bc9612c80565b604051610bd69190614a14565b60405180910390f35b348015610beb57600080fd5b50610c066004803603810190610c01919061420d565b612c93565b005b348015610c1457600080fd5b50610c2f6004803603810190610c2a9190614477565b612d8b565b005b348015610c3d57600080fd5b50610c46612e21565b604051610c539190614d31565b60405180910390f35b6000610c6782612e27565b9050919050565b610c76612ea1565b73ffffffffffffffffffffffffffffffffffffffff16610c94611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190614c11565b60405180910390fd5b6001601460016101000a81548160ff0219169083151502179055507f5c474f9e0b1fe566d5deefb18bebaafb842461c4c9fe6d1297c0147ba55859bf60405160405180910390a1565b606060008054610d429061501a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6e9061501a565b8015610dbb5780601f10610d9057610100808354040283529160200191610dbb565b820191906000526020600020905b815481529060010190602001808311610d9e57829003601f168201915b5050505050905090565b610dcd612ea1565b73ffffffffffffffffffffffffffffffffffffffff16610deb611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890614c11565b60405180910390fd5b80600c9080519060200190610e57929190613fcb565b5050565b6000610e6682612ea9565b610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614bf1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eeb82611a72565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390614c71565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f7b612ea1565b73ffffffffffffffffffffffffffffffffffffffff161480610faa5750610fa981610fa4612ea1565b612bec565b5b610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe090614b71565b60405180910390fd5b610ff38383612f15565b505050565b600d80546110059061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546110319061501a565b801561107e5780601f106110535761010080835404028352916020019161107e565b820191906000526020600020905b81548152906001019060200180831161106157829003601f168201915b505050505081565b60105481565b6000600880549050905090565b6110a1612ea1565b73ffffffffffffffffffffffffffffffffffffffff166110bf611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c90614c11565b60405180910390fd5b6000601460016101000a81548160ff0219169083151502179055507f456c8cac2ef8013a898cdd3685db2684fb058b754e3a87b0c974e0c64aaa5e7960405160405180910390a1565b611166612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611184611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146111da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d190614c11565b60405180910390fd5b60006111e461108c565b9050601154611203836111f561108c565b612fce90919063ffffffff16565b1115611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90614ad1565b60405180910390fd5b60005b828110156112775761126433828461125f9190614e4f565b612fe4565b808061126f9061507d565b915050611247565b505050565b600f5481565b60125481565b611299611293612ea1565b82613002565b6112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614cb1565b60405180910390fd5b6112e38383836130e0565b505050565b60006112f2612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611310611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90614c11565b60405180910390fd5b60005b838390508110156113c1576113a484848381811061138a576113896151b3565b5b905060200201602081019061139f919061420d565b6113c8565b156113ae57600191505b80806113b99061507d565b915050611369565b5092915050565b60006113d2612ea1565b73ffffffffffffffffffffffffffffffffffffffff166113f0611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d90614c11565b60405180910390fd5b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561152c576000601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507ff1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a8260405161151f919061498b565b60405180910390a1600190505b919050565b611539612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611557611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490614c11565b60405180910390fd5b8060138190555050565b60006115c283611bb2565b8210611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa90614a51565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611664612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611682611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90614c11565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611723573d6000803e3d6000fd5b5050565b61172f612ea1565b73ffffffffffffffffffffffffffffffffffffffff1661174d611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146117a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179a90614c11565b60405180910390fd5b6000600e54146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614b51565b60405180910390fd5b43600f81905550565b606060006117fe83611bb2565b905060008167ffffffffffffffff81111561181c5761181b6151e2565b5b60405190808252806020026020018201604052801561184a5781602001602082028036833780820191505090505b50905060005b828110156118945761186285826115b7565b828281518110611875576118746151b3565b5b602002602001018181525050808061188c9061507d565b915050611850565b508092505050919050565b6118ba8383836040518060200160405280600081525061243e565b505050565b6118c7612ea1565b73ffffffffffffffffffffffffffffffffffffffff166118e5611ee6565b73ffffffffffffffffffffffffffffffffffffffff161461193b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193290614c11565b60405180910390fd5b8060108190555050565b600061194f61108c565b8210611990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198790614cd1565b60405180910390fd5b600882815481106119a4576119a36151b3565b5b90600052602060002001549050919050565b601460029054906101000a900460ff1681565b6119d1612ea1565b73ffffffffffffffffffffffffffffffffffffffff166119ef611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c90614c11565b60405180910390fd5b80600b9080519060200190611a5b929190613fcb565b5050565b601460009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290614bb1565b60405180910390fd5b80915050919050565b600b8054611b319061501a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5d9061501a565b8015611baa5780601f10611b7f57610100808354040283529160200191611baa565b820191906000526020600020905b815481529060010190602001808311611b8d57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1a90614b91565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c72612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611c90611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdd90614c11565b60405180910390fd5b611cf0600061333c565b565b6000611cfc612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611d1a611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790614c11565b60405180910390fd5b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611e55576001601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f82604051611e48919061498b565b60405180910390a1600190505b919050565b611e62612ea1565b73ffffffffffffffffffffffffffffffffffffffff16611e80611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614611ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecd90614c11565b60405180910390fd5b8060128190555050565b60135481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611f1f9061501a565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b9061501a565b8015611f985780601f10611f6d57610100808354040283529160200191611f98565b820191906000526020600020905b815481529060010190602001808311611f7b57829003601f168201915b5050505050905090565b60156020528060005260406000206000915054906101000a900460ff1681565b6000611fcc61108c565b9050601460009054906101000a900460ff16611fe757600080fd5b60008211611ff457600080fd5b60125482111561200357600080fd5b6011546120208361201261108c565b612fce90919063ffffffff16565b1115612061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205890614ad1565b60405180910390fd5b61206a33613402565b156120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190614d11565b60405180910390fd5b6120b2611ee6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120ff57816010546120f29190614ed6565b3410156120fe57600080fd5b5b60005b828110156121325761211f33828461211a9190614e4f565b612fe4565b808061212a9061507d565b915050612102565b506000600f5414801561214e575060115461214b61108c565b10155b1561215b5743600f819055505b5050565b612167612ea1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc90614b11565b60405180910390fd5b80600560006121e2612ea1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661228f612ea1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122d49190614a14565b60405180910390a35050565b6122e8612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612306611ee6565b73ffffffffffffffffffffffffffffffffffffffff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390614c11565b60405180910390fd5b6001601460026101000a81548160ff021916908315150217905550565b612381612ea1565b73ffffffffffffffffffffffffffffffffffffffff1661239f611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146123f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ec90614c11565b60405180910390fd5b6001601460006101000a81548160ff0219169083151502179055507f5c474f9e0b1fe566d5deefb18bebaafb842461c4c9fe6d1297c0147ba55859bf60405160405180910390a1565b61244f612449612ea1565b83613002565b61248e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248590614cb1565b60405180910390fd5b61249a84848484613415565b50505050565b60606124ab82612ea9565b6124ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e190614c51565b60405180910390fd5b6011548211156124f957600080fd5b601460029054906101000a900460ff16156125ad57600061254d60115461253f612530600e5460115461347190919063ffffffff16565b86612fce90919063ffffffff16565b61348790919063ffffffff16565b9050600061255961349d565b9050600081511161257957604051806020016040528060008152506125a4565b806125838361352f565b604051602001612594929190614967565b6040516020818303038152906040525b9250505061263b565b600c80546125ba9061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546125e69061501a565b80156126335780601f1061260857610100808354040283529160200191612633565b820191906000526020600020905b81548152906001019060200180831161261657829003601f168201915b505050505090505b919050565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661269657600080fd5b60006126a061108c565b9050601460019054906101000a900460ff166126bb57600080fd5b6013548211156126ca57600080fd5b600082116126d757600080fd5b6011546126f4836126e661108c565b612fce90919063ffffffff16565b1115612735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272c90614ad1565b60405180910390fd5b61273e33613402565b1561277e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277590614d11565b60405180910390fd5b612786611ee6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127ef57816010546127c69190614ed6565b3410156127d257600080fd5b60006127dd33611bb2565b905060135481106127ed57600080fd5b505b60005b828110156128225761280f33828461280a9190614e4f565b612fe4565b808061281a9061507d565b9150506127f2565b505050565b61282f612ea1565b73ffffffffffffffffffffffffffffffffffffffff1661284d611ee6565b73ffffffffffffffffffffffffffffffffffffffff16146128a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289a90614c11565b60405180910390fd5b6000600e54146128e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128df90614cf1565b60405180910390fd5b6000600f54141561292e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292590614c91565b60405180910390fd5b60ff612945600f544361347190919063ffffffff16565b111561297b5761297060115460014361295e9190614f30565b4060001c61348790919063ffffffff16565b600e8190555061299d565b612996601154600f544060001c61348790919063ffffffff16565b600e819055505b6000600e5414156129b1576001600e819055505b565b60115481565b600c80546129c69061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546129f29061501a565b8015612a3f5780601f10612a1457610100808354040283529160200191612a3f565b820191906000526020600020905b815481529060010190602001808311612a2257829003601f168201915b505050505081565b6000612a51612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612a6f611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abc90614c11565b60405180910390fd5b60005b83839050811015612b2057612b03848483818110612ae957612ae86151b3565b5b9050602002016020810190612afe919061420d565b611cf2565b15612b0d57600191505b8080612b189061507d565b915050612ac8565b5092915050565b612b2f612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612b4d611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9a90614c11565b60405180910390fd5b6000601460006101000a81548160ff0219169083151502179055507f456c8cac2ef8013a898cdd3685db2684fb058b754e3a87b0c974e0c64aaa5e7960405160405180910390a1565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601460019054906101000a900460ff1681565b612c9b612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612cb9611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0690614c11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7690614a91565b60405180910390fd5b612d888161333c565b50565b612d93612ea1565b73ffffffffffffffffffffffffffffffffffffffff16612db1611ee6565b73ffffffffffffffffffffffffffffffffffffffff1614612e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfe90614c11565b60405180910390fd5b80600d9080519060200190612e1d929190613fcb565b5050565b600e5481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e9a5750612e9982613690565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612f8883611a72565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183612fdc9190614e4f565b905092915050565b612ffe828260405180602001604052806000815250613772565b5050565b600061300d82612ea9565b61304c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304390614b31565b60405180910390fd5b600061305783611a72565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130c657508373ffffffffffffffffffffffffffffffffffffffff166130ae84610e5b565b73ffffffffffffffffffffffffffffffffffffffff16145b806130d757506130d68185612bec565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661310082611a72565b73ffffffffffffffffffffffffffffffffffffffff1614613156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314d90614c31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bd90614af1565b60405180910390fd5b6131d18383836137cd565b6131dc600082612f15565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461322c9190614f30565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132839190614e4f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b6134208484846130e0565b61342c848484846137dd565b61346b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346290614a71565b60405180910390fd5b50505050565b6000818361347f9190614f30565b905092915050565b6000818361349591906150c6565b905092915050565b6060600b80546134ac9061501a565b80601f01602080910402602001604051908101604052809291908181526020018280546134d89061501a565b80156135255780601f106134fa57610100808354040283529160200191613525565b820191906000526020600020905b81548152906001019060200180831161350857829003601f168201915b5050505050905090565b60606000821415613577576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061368b565b600082905060005b600082146135a95780806135929061507d565b915050600a826135a29190614ea5565b915061357f565b60008167ffffffffffffffff8111156135c5576135c46151e2565b5b6040519080825280601f01601f1916602001820160405280156135f75781602001600182028036833780820191505090505b5090505b60008514613684576001826136109190614f30565b9150600a8561361f91906150c6565b603061362b9190614e4f565b60f81b818381518110613641576136406151b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561367d9190614ea5565b94506135fb565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061375b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061376b575061376a82613974565b5b9050919050565b61377c83836139de565b61378960008484846137dd565b6137c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137bf90614a71565b60405180910390fd5b505050565b6137d8838383613bac565b505050565b60006137fe8473ffffffffffffffffffffffffffffffffffffffff16613402565b15613967578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613827612ea1565b8786866040518563ffffffff1660e01b815260040161384994939291906149a6565b602060405180830381600087803b15801561386357600080fd5b505af192505050801561389457506040513d601f19601f82011682018060405250810190613891919061444a565b60015b613917573d80600081146138c4576040519150601f19603f3d011682016040523d82523d6000602084013e6138c9565b606091505b5060008151141561390f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390690614a71565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061396c565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4590614bd1565b60405180910390fd5b613a5781612ea9565b15613a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8e90614ab1565b60405180910390fd5b613aa3600083836137cd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613af39190614e4f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613bb7838383613cc0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613bfa57613bf581613cc5565b613c39565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c3857613c378382613d0e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c7c57613c7781613e7b565b613cbb565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613cba57613cb98282613f4c565b5b5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d1b84611bb2565b613d259190614f30565b9050600060076000848152602001908152602001600020549050818114613e0a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e8f9190614f30565b9050600060096000848152602001908152602001600020549050600060088381548110613ebf57613ebe6151b3565b5b906000526020600020015490508060088381548110613ee157613ee06151b3565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f3057613f2f615184565b5b6001900381819060005260206000200160009055905550505050565b6000613f5783611bb2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613fd79061501a565b90600052602060002090601f016020900481019282613ff95760008555614040565b82601f1061401257805160ff1916838001178555614040565b82800160010185558215614040579182015b8281111561403f578251825591602001919060010190614024565b5b50905061404d9190614051565b5090565b5b8082111561406a576000816000905550600101614052565b5090565b600061408161407c84614d71565b614d4c565b90508281526020810184848401111561409d5761409c615220565b5b6140a8848285614fd8565b509392505050565b60006140c36140be84614da2565b614d4c565b9050828152602081018484840111156140df576140de615220565b5b6140ea848285614fd8565b509392505050565b6000813590506141018161584f565b92915050565b60008083601f84011261411d5761411c615216565b5b8235905067ffffffffffffffff81111561413a57614139615211565b5b6020830191508360208202830111156141565761415561521b565b5b9250929050565b60008135905061416c81615866565b92915050565b6000813590506141818161587d565b92915050565b6000815190506141968161587d565b92915050565b600082601f8301126141b1576141b0615216565b5b81356141c184826020860161406e565b91505092915050565b600082601f8301126141df576141de615216565b5b81356141ef8482602086016140b0565b91505092915050565b60008135905061420781615894565b92915050565b6000602082840312156142235761422261522a565b5b6000614231848285016140f2565b91505092915050565b600080604083850312156142515761425061522a565b5b600061425f858286016140f2565b9250506020614270858286016140f2565b9150509250929050565b6000806000606084860312156142935761429261522a565b5b60006142a1868287016140f2565b93505060206142b2868287016140f2565b92505060406142c3868287016141f8565b9150509250925092565b600080600080608085870312156142e7576142e661522a565b5b60006142f5878288016140f2565b9450506020614306878288016140f2565b9350506040614317878288016141f8565b925050606085013567ffffffffffffffff81111561433857614337615225565b5b6143448782880161419c565b91505092959194509250565b600080604083850312156143675761436661522a565b5b6000614375858286016140f2565b92505060206143868582860161415d565b9150509250929050565b600080604083850312156143a7576143a661522a565b5b60006143b5858286016140f2565b92505060206143c6858286016141f8565b9150509250929050565b600080602083850312156143e7576143e661522a565b5b600083013567ffffffffffffffff81111561440557614404615225565b5b61441185828601614107565b92509250509250929050565b6000602082840312156144335761443261522a565b5b600061444184828501614172565b91505092915050565b6000602082840312156144605761445f61522a565b5b600061446e84828501614187565b91505092915050565b60006020828403121561448d5761448c61522a565b5b600082013567ffffffffffffffff8111156144ab576144aa615225565b5b6144b7848285016141ca565b91505092915050565b6000602082840312156144d6576144d561522a565b5b60006144e4848285016141f8565b91505092915050565b60006144f98383614949565b60208301905092915050565b61450e81614f64565b82525050565b600061451f82614de3565b6145298185614e11565b935061453483614dd3565b8060005b8381101561456557815161454c88826144ed565b975061455783614e04565b925050600181019050614538565b5085935050505092915050565b61457b81614f76565b82525050565b600061458c82614dee565b6145968185614e22565b93506145a6818560208601614fe7565b6145af8161522f565b840191505092915050565b60006145c582614df9565b6145cf8185614e33565b93506145df818560208601614fe7565b6145e88161522f565b840191505092915050565b60006145fe82614df9565b6146088185614e44565b9350614618818560208601614fe7565b80840191505092915050565b6000614631602b83614e33565b915061463c82615240565b604082019050919050565b6000614654603283614e33565b915061465f8261528f565b604082019050919050565b6000614677602683614e33565b9150614682826152de565b604082019050919050565b600061469a601c83614e33565b91506146a58261532d565b602082019050919050565b60006146bd601c83614e33565b91506146c882615356565b602082019050919050565b60006146e0602483614e33565b91506146eb8261537f565b604082019050919050565b6000614703601983614e33565b915061470e826153ce565b602082019050919050565b6000614726602c83614e33565b9150614731826153f7565b604082019050919050565b6000614749601d83614e33565b915061475482615446565b602082019050919050565b600061476c603883614e33565b91506147778261546f565b604082019050919050565b600061478f602a83614e33565b915061479a826154be565b604082019050919050565b60006147b2602983614e33565b91506147bd8261550d565b604082019050919050565b60006147d5602083614e33565b91506147e08261555c565b602082019050919050565b60006147f8602c83614e33565b915061480382615585565b604082019050919050565b600061481b602083614e33565b9150614826826155d4565b602082019050919050565b600061483e602983614e33565b9150614849826155fd565b604082019050919050565b6000614861602f83614e33565b915061486c8261564c565b604082019050919050565b6000614884602183614e33565b915061488f8261569b565b604082019050919050565b60006148a7602083614e33565b91506148b2826156ea565b602082019050919050565b60006148ca603183614e33565b91506148d582615713565b604082019050919050565b60006148ed602c83614e33565b91506148f882615762565b604082019050919050565b6000614910602383614e33565b915061491b826157b1565b604082019050919050565b6000614933602f83614e33565b915061493e82615800565b604082019050919050565b61495281614fce565b82525050565b61496181614fce565b82525050565b600061497382856145f3565b915061497f82846145f3565b91508190509392505050565b60006020820190506149a06000830184614505565b92915050565b60006080820190506149bb6000830187614505565b6149c86020830186614505565b6149d56040830185614958565b81810360608301526149e78184614581565b905095945050505050565b60006020820190508181036000830152614a0c8184614514565b905092915050565b6000602082019050614a296000830184614572565b92915050565b60006020820190508181036000830152614a4981846145ba565b905092915050565b60006020820190508181036000830152614a6a81614624565b9050919050565b60006020820190508181036000830152614a8a81614647565b9050919050565b60006020820190508181036000830152614aaa8161466a565b9050919050565b60006020820190508181036000830152614aca8161468d565b9050919050565b60006020820190508181036000830152614aea816146b0565b9050919050565b60006020820190508181036000830152614b0a816146d3565b9050919050565b60006020820190508181036000830152614b2a816146f6565b9050919050565b60006020820190508181036000830152614b4a81614719565b9050919050565b60006020820190508181036000830152614b6a8161473c565b9050919050565b60006020820190508181036000830152614b8a8161475f565b9050919050565b60006020820190508181036000830152614baa81614782565b9050919050565b60006020820190508181036000830152614bca816147a5565b9050919050565b60006020820190508181036000830152614bea816147c8565b9050919050565b60006020820190508181036000830152614c0a816147eb565b9050919050565b60006020820190508181036000830152614c2a8161480e565b9050919050565b60006020820190508181036000830152614c4a81614831565b9050919050565b60006020820190508181036000830152614c6a81614854565b9050919050565b60006020820190508181036000830152614c8a81614877565b9050919050565b60006020820190508181036000830152614caa8161489a565b9050919050565b60006020820190508181036000830152614cca816148bd565b9050919050565b60006020820190508181036000830152614cea816148e0565b9050919050565b60006020820190508181036000830152614d0a81614903565b9050919050565b60006020820190508181036000830152614d2a81614926565b9050919050565b6000602082019050614d466000830184614958565b92915050565b6000614d56614d67565b9050614d62828261504c565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8c57614d8b6151e2565b5b614d958261522f565b9050602081019050919050565b600067ffffffffffffffff821115614dbd57614dbc6151e2565b5b614dc68261522f565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e5a82614fce565b9150614e6583614fce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e9a57614e996150f7565b5b828201905092915050565b6000614eb082614fce565b9150614ebb83614fce565b925082614ecb57614eca615126565b5b828204905092915050565b6000614ee182614fce565b9150614eec83614fce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2557614f246150f7565b5b828202905092915050565b6000614f3b82614fce565b9150614f4683614fce565b925082821015614f5957614f586150f7565b5b828203905092915050565b6000614f6f82614fae565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615005578082015181840152602081019050614fea565b83811115615014576000848401525b50505050565b6000600282049050600182168061503257607f821691505b6020821081141561504657615045615155565b5b50919050565b6150558261522f565b810181811067ffffffffffffffff82111715615074576150736151e2565b5b80604052505050565b600061508882614fce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150bb576150ba6150f7565b5b600182019050919050565b60006150d182614fce565b91506150dc83614fce565b9250826150ec576150eb615126565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e6465782068617320616c7265616479206265656e2060008201527f7365740000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e74726163747320617265206e6f7420616c6c6f77656420746f2063616c60008201527f6c20746869732066756e6374696f6e0000000000000000000000000000000000602082015250565b61585881614f64565b811461586357600080fd5b50565b61586f81614f76565b811461587a57600080fd5b50565b61588681614f82565b811461589157600080fd5b50565b61589d81614fce565b81146158a857600080fd5b5056fea2646970667358221220327bc65b0390f88b39bac5f63b84442d0e97fb919cc33ec575e4dca341d0335b64736f6c63430008070033

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

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