ETH Price: $3,452.65 (+4.27%)

Token

Pixel Nerdz NFT (PXN)
 

Overview

Max Total Supply

4,444 PXN

Holders

268

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PXN
0xe5ceb25389926961c91c666997a7d2b0c14293fa
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:
PixelNerdzNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : PXN.sol
// SPDX-License-Identifier: MIT
// Creator: twitter.com/runo_dev

/* 

    ██████  ██ ██   ██ ███████ ██          ███    ██ ███████ ██████  ██████  ███████     ███    ██ ███████ ████████ 
    ██   ██ ██  ██ ██  ██      ██          ████   ██ ██      ██   ██ ██   ██    ███      ████   ██ ██         ██    
    ██████  ██   ███   █████   ██          ██ ██  ██ █████   ██████  ██   ██   ███       ██ ██  ██ █████      ██    
    ██      ██  ██ ██  ██      ██          ██  ██ ██ ██      ██   ██ ██   ██  ███        ██  ██ ██ ██         ██    
    ██      ██ ██   ██ ███████ ███████     ██   ████ ███████ ██   ██ ██████  ███████     ██   ████ ██         ██    

    */

// Pixel Nerdz NFT - ERC-721A based NFT contract

pragma solidity ^0.8.4;

import "../lib/ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract PixelNerdzNFT is ERC721A, Pausable, Ownable, ReentrancyGuard {
    address private constant _creator =
        0x191726002b6AD80B386bC3fA001Cb9Df67a8999c;

    uint256 public MAX_SUPPLY = 4444;
    uint256 private MAX_MINTS_PER_TX = 20;

    bool private _locked = false;
    bool private _saleStatus = false;
    uint256 private _salePrice = 0.02 ether;

    string private _baseTokenURI;

    constructor() ERC721A("Pixel Nerdz NFT", "PXN") {}

    function isSaleActive() public view returns (bool) {
        return _saleStatus;
    }

    function getSalePrice() public view returns (uint256) {
        return _salePrice;
    }

    function mint(uint256 quantity) external payable nonReentrant onlyEOA {
        if (!isSaleActive()) revert("Sale not started");
        if (totalSupply() + quantity > MAX_SUPPLY)
            revert("Amount exceeds supply");
        if (getSalePrice() * quantity > msg.value)
            revert("Insufficient payment");
        if (quantity > MAX_MINTS_PER_TX)
            revert("Amount exceeds transaction limit");

        _safeMint(msg.sender, quantity);
    }

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

    function walletOfOwner(address _owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 0;
        uint256 ownedTokenIndex = 0;
        while (
            ownedTokenIndex < ownerTokenCount && currentTokenId <= totalSupply()
        ) {
            address currentTokenOwner = ownerOf(currentTokenId);
            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                ownedTokenIndex++;
            }
            currentTokenId++;
        }
        return ownedTokenIds;
    }

    function mintToAddress(address to, uint256 quantity) external onlyOwner {
        if (totalSupply() + quantity > MAX_SUPPLY)
            revert("Amount exceeds supply");

        _safeMint(to, quantity);
    }

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

    function toggleSaleStatus() external onlyOwner whenNotLocked {
        _saleStatus = !_saleStatus;
    }

    // only downgrade
    function setMaxSupply(uint256 supply) external onlyOwner whenNotLocked {
        if (MAX_SUPPLY <= supply)
            revert("Requested supply shouldnt exceeds current max supply");
        if (totalSupply() >= supply)
            revert("Requested supply should exceeds current supply");
        MAX_SUPPLY = supply;
    }

    function setMaxMintPerTx(uint256 maxMint) external onlyOwner whenNotLocked {
        MAX_MINTS_PER_TX = maxMint;
    }

    function setSalePrice(uint256 price) external onlyOwner whenNotLocked {
        _salePrice = price;
    }

    function lock() external onlyOwner {
        _locked = true;
    }

    function togglePause() external onlyOwner whenNotLocked {
        if (paused()) {
            _unpause();
        } else {
            _pause();
        }
    }

    function withdrawAll() external onlyOwner {
        withdraw(_creator, address(this).balance);
    }

    function withdraw(address account, uint256 amount) internal {
        (bool os, ) = payable(account).call{value: amount}("");
        require(os, "Failed to send ether");
    }

    modifier onlyEOA() {
        if (tx.origin != msg.sender)
            revert("Only externally owned accounts allowed");
        _;
    }

    modifier whenNotLocked() {
        require(!_locked, "Locked");
        _;
    }

    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal override whenNotPaused {}
}

File 2 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId)
        internal
        view
        returns (TokenOwnership memory)
    {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        override
        returns (address)
    {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        override
    {
        if (operator == _msgSender()) revert ApproveToCaller();

        _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 {
        _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 {
        _transfer(from, to, tokenId);
        if (
            to.isContract() &&
            !_checkContractOnERC721Received(from, to, tokenId, _data)
        ) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (
                        !_checkContractOnERC721Received(
                            address(0),
                            to,
                            updatedIndex++,
                            _data
                        )
                    ) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership
                        .startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership
                        .startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try
            IERC721Receiver(to).onERC721Received(
                _msgSender(),
                from,
                tokenId,
                _data
            )
        returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSalePrice","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":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","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":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405261115c600a556014600b556000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff02191690831515021790555066470de4df820000600d553480156200005d57600080fd5b506040518060400160405280600f81526020017f506978656c204e6572647a204e465400000000000000000000000000000000008152506040518060400160405280600381526020017f50584e00000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000e292919062000230565b508060039080519060200190620000fb92919062000230565b506200010c6200015d60201b60201c565b60008190555050506000600860006101000a81548160ff0219169083151502179055506200014f620001436200016260201b60201c565b6200016a60201b60201c565b600160098190555062000345565b600090565b600033905090565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023e90620002e0565b90600052602060002090601f016020900481019282620002625760008555620002ae565b82601f106200027d57805160ff1916838001178555620002ae565b82800160010185558215620002ae579182015b82811115620002ad57825182559160200191906001019062000290565b5b509050620002bd9190620002c1565b5090565b5b80821115620002dc576000816000905550600101620002c2565b5090565b60006002820490506001821680620002f957607f821691505b6020821081141562000310576200030f62000316565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61427780620003556000396000f3fe6080604052600436106101e35760003560e01c8063616cdb1e11610102578063a0712d6811610095578063c87b56dd11610064578063c87b56dd14610683578063e985e9c5146106c0578063f2fde38b146106fd578063f83d08ba14610726576101e3565b8063a0712d68146105fe578063a22cb4651461061a578063b88d4fde14610643578063c4ae31681461066c576101e3565b8063715018a6116100d1578063715018a61461057a578063853828b6146105915780638da5cb5b146105a857806395d89b41146105d3576101e3565b8063616cdb1e146104ae5780636352211e146104d75780636f8b44b01461051457806370a082311461053d576101e3565b806323b872dd1161017a578063438b630011610149578063438b6300146103f257806355f804b31461042f578063564566a8146104585780635c975abb14610483576101e3565b806323b872dd1461034a5780632fbc0bf11461037357806332cb6b0c1461039e57806342842e0e146103c9576101e3565b8063095ea7b3116101b6578063095ea7b3146102a457806318160ddd146102cd5780631919fed7146102f857806321ca423614610321576101e3565b806301ffc9a7146101e8578063049c5c491461022557806306fdde031461023c578063081812fc14610267575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a919061335d565b61073d565b60405161021c9190613855565b60405180910390f35b34801561023157600080fd5b5061023a61081f565b005b34801561024857600080fd5b50610251610917565b60405161025e9190613870565b60405180910390f35b34801561027357600080fd5b5061028e60048036038101906102899190613404565b6109a9565b60405161029b91906137cc565b60405180910390f35b3480156102b057600080fd5b506102cb60048036038101906102c6919061331d565b610a25565b005b3480156102d957600080fd5b506102e2610b30565b6040516102ef9190613a52565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190613404565b610b47565b005b34801561032d57600080fd5b506103486004803603810190610343919061331d565b610c1d565b005b34801561035657600080fd5b50610371600480360381019061036c9190613207565b610cfe565b005b34801561037f57600080fd5b50610388610d0e565b6040516103959190613a52565b60405180910390f35b3480156103aa57600080fd5b506103b3610d18565b6040516103c09190613a52565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb9190613207565b610d1e565b005b3480156103fe57600080fd5b506104196004803603810190610414919061319a565b610d3e565b6040516104269190613833565b60405180910390f35b34801561043b57600080fd5b50610456600480360381019061045191906133b7565b610e49565b005b34801561046457600080fd5b5061046d610f2b565b60405161047a9190613855565b60405180910390f35b34801561048f57600080fd5b50610498610f42565b6040516104a59190613855565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613404565b610f59565b005b3480156104e357600080fd5b506104fe60048036038101906104f99190613404565b61102f565b60405161050b91906137cc565b60405180910390f35b34801561052057600080fd5b5061053b60048036038101906105369190613404565b611045565b005b34801561054957600080fd5b50610564600480360381019061055f919061319a565b6111a8565b6040516105719190613a52565b60405180910390f35b34801561058657600080fd5b5061058f611278565b005b34801561059d57600080fd5b506105a6611300565b005b3480156105b457600080fd5b506105bd61139c565b6040516105ca91906137cc565b60405180910390f35b3480156105df57600080fd5b506105e86113c6565b6040516105f59190613870565b60405180910390f35b61061860048036038101906106139190613404565b611458565b005b34801561062657600080fd5b50610641600480360381019061063c91906132dd565b611661565b005b34801561064f57600080fd5b5061066a6004803603810190610665919061325a565b6117d9565b005b34801561067857600080fd5b50610681611855565b005b34801561068f57600080fd5b506106aa60048036038101906106a59190613404565b611946565b6040516106b79190613870565b60405180910390f35b3480156106cc57600080fd5b506106e760048036038101906106e291906131c7565b6119e5565b6040516106f49190613855565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f919061319a565b611a79565b005b34801561073257600080fd5b5061073b611b71565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610818575061081782611c0a565b5b9050919050565b610827611c74565b73ffffffffffffffffffffffffffffffffffffffff1661084561139c565b73ffffffffffffffffffffffffffffffffffffffff161461089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290613992565b60405180910390fd5b600c60009054906101000a900460ff16156108eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e2906138b2565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b60606002805461092690613d15565b80601f016020809104026020016040519081016040528092919081815260200182805461095290613d15565b801561099f5780601f106109745761010080835404028352916020019161099f565b820191906000526020600020905b81548152906001019060200180831161098257829003601f168201915b5050505050905090565b60006109b482611c7c565b6109ea576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a308261102f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a98576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab7611c74565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ae95750610ae781610ae2611c74565b6119e5565b155b15610b20576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b2b838383611cca565b505050565b6000610b3a611d7c565b6001546000540303905090565b610b4f611c74565b73ffffffffffffffffffffffffffffffffffffffff16610b6d61139c565b73ffffffffffffffffffffffffffffffffffffffff1614610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba90613992565b60405180910390fd5b600c60009054906101000a900460ff1615610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a906138b2565b60405180910390fd5b80600d8190555050565b610c25611c74565b73ffffffffffffffffffffffffffffffffffffffff16610c4361139c565b73ffffffffffffffffffffffffffffffffffffffff1614610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9090613992565b60405180910390fd5b600a5481610ca5610b30565b610caf9190613b4a565b1115610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790613952565b60405180910390fd5b610cfa8282611d81565b5050565b610d09838383611d9f565b505050565b6000600d54905090565b600a5481565b610d39838383604051806020016040528060008152506117d9565b505050565b60606000610d4b836111a8565b905060008167ffffffffffffffff811115610d6957610d68613eae565b5b604051908082528060200260200182016040528015610d975781602001602082028036833780820191505090505b5090506000805b8381108015610db45750610db0610b30565b8211155b15610e3d576000610dc48361102f565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e295782848381518110610e0e57610e0d613e7f565b5b6020026020010181815250508180610e2590613d78565b9250505b8280610e3490613d78565b93505050610d9e565b82945050505050919050565b610e51611c74565b73ffffffffffffffffffffffffffffffffffffffff16610e6f61139c565b73ffffffffffffffffffffffffffffffffffffffff1614610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc90613992565b60405180910390fd5b600c60009054906101000a900460ff1615610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c906138b2565b60405180910390fd5b8181600e9190610f26929190612f85565b505050565b6000600c60019054906101000a900460ff16905090565b6000600860009054906101000a900460ff16905090565b610f61611c74565b73ffffffffffffffffffffffffffffffffffffffff16610f7f61139c565b73ffffffffffffffffffffffffffffffffffffffff1614610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90613992565b60405180910390fd5b600c60009054906101000a900460ff1615611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c906138b2565b60405180910390fd5b80600b8190555050565b600061103a82612290565b600001519050919050565b61104d611c74565b73ffffffffffffffffffffffffffffffffffffffff1661106b61139c565b73ffffffffffffffffffffffffffffffffffffffff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890613992565b60405180910390fd5b600c60009054906101000a900460ff1615611111576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611108906138b2565b60405180910390fd5b80600a5411611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906138f2565b60405180910390fd5b8061115e610b30565b1061119e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611195906139d2565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611210576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611280611c74565b73ffffffffffffffffffffffffffffffffffffffff1661129e61139c565b73ffffffffffffffffffffffffffffffffffffffff16146112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90613992565b60405180910390fd5b6112fe600061251f565b565b611308611c74565b73ffffffffffffffffffffffffffffffffffffffff1661132661139c565b73ffffffffffffffffffffffffffffffffffffffff161461137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613992565b60405180910390fd5b61139a73191726002b6ad80b386bc3fa001cb9df67a8999c476125e5565b565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546113d590613d15565b80601f016020809104026020016040519081016040528092919081815260200182805461140190613d15565b801561144e5780601f106114235761010080835404028352916020019161144e565b820191906000526020600020905b81548152906001019060200180831161143157829003601f168201915b5050505050905090565b6002600954141561149e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149590613a32565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b906139f2565b60405180910390fd5b61151c610f2b565b61155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290613932565b60405180910390fd5b600a5481611567610b30565b6115719190613b4a565b11156115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990613952565b60405180910390fd5b34816115bc610d0e565b6115c69190613bd1565b1115611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90613972565b60405180910390fd5b600b5481111561164c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164390613a12565b60405180910390fd5b6116563382611d81565b600160098190555050565b611669611c74565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ce576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116db611c74565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611788611c74565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117cd9190613855565b60405180910390a35050565b6117e4848484611d9f565b6118038373ffffffffffffffffffffffffffffffffffffffff16612696565b80156118185750611816848484846126b9565b155b1561184f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61185d611c74565b73ffffffffffffffffffffffffffffffffffffffff1661187b61139c565b73ffffffffffffffffffffffffffffffffffffffff16146118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c890613992565b60405180910390fd5b600c60009054906101000a900460ff1615611921576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611918906138b2565b60405180910390fd5b611929610f42565b1561193b57611936612819565b611944565b6119436128bb565b5b565b606061195182611c7c565b611987576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061199161295e565b90506000815114156119b257604051806020016040528060008152506119dd565b806119bc846129f0565b6040516020016119cd929190613793565b6040516020818303038152906040525b915050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a81611c74565b73ffffffffffffffffffffffffffffffffffffffff16611a9f61139c565b73ffffffffffffffffffffffffffffffffffffffff1614611af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aec90613992565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c906138d2565b60405180910390fd5b611b6e8161251f565b50565b611b79611c74565b73ffffffffffffffffffffffffffffffffffffffff16611b9761139c565b73ffffffffffffffffffffffffffffffffffffffff1614611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be490613992565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081611c87611d7c565b11158015611c96575060005482105b8015611cc3575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b611d9b828260405180602001604052806000815250612b51565b5050565b6000611daa82612290565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611dd1611c74565b73ffffffffffffffffffffffffffffffffffffffff161480611e045750611e038260000151611dfe611c74565b6119e5565b5b80611e495750611e12611c74565b73ffffffffffffffffffffffffffffffffffffffff16611e31846109a9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e82576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611eeb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f52576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f5f8585856001612b63565b611f6f6000848460000151611cca565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122205760005481101561221f5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122898585856001612bb1565b5050505050565b61229861300b565b6000829050806122a6611d7c565b111580156122b5575060005481105b156124e8576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516124e657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123ca57809250505061251a565b5b6001156124e557818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124e057809250505061251a565b6123cb565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161260b906137b7565b60006040518083038185875af1925050503d8060008114612648576040519150601f19603f3d011682016040523d82523d6000602084013e61264d565b606091505b5050905080612691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612688906139b2565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126df611c74565b8786866040518563ffffffff1660e01b815260040161270194939291906137e7565b602060405180830381600087803b15801561271b57600080fd5b505af192505050801561274c57506040513d601f19601f82011682018060405250810190612749919061338a565b60015b6127c6573d806000811461277c576040519150601f19603f3d011682016040523d82523d6000602084013e612781565b606091505b506000815114156127be576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612821610f42565b612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790613892565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6128a4611c74565b6040516128b191906137cc565b60405180910390a1565b6128c3610f42565b15612903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fa90613912565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612947611c74565b60405161295491906137cc565b60405180910390a1565b6060600e805461296d90613d15565b80601f016020809104026020016040519081016040528092919081815260200182805461299990613d15565b80156129e65780601f106129bb576101008083540402835291602001916129e6565b820191906000526020600020905b8154815290600101906020018083116129c957829003601f168201915b5050505050905090565b60606000821415612a38576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b4c565b600082905060005b60008214612a6a578080612a5390613d78565b915050600a82612a639190613ba0565b9150612a40565b60008167ffffffffffffffff811115612a8657612a85613eae565b5b6040519080825280601f01601f191660200182016040528015612ab85781602001600182028036833780820191505090505b5090505b60008514612b4557600182612ad19190613c2b565b9150600a85612ae09190613dc1565b6030612aec9190613b4a565b60f81b818381518110612b0257612b01613e7f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b3e9190613ba0565b9450612abc565b8093505050505b919050565b612b5e8383836001612bb7565b505050565b612b6b610f42565b15612bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba290613912565b60405180910390fd5b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612c24576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612c5f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c6c6000868387612b63565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612e365750612e358773ffffffffffffffffffffffffffffffffffffffff16612696565b5b15612efc575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eab60008884806001019550886126b9565b612ee1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612e3c578260005414612ef757600080fd5b612f68565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612efd575b816000819055505050612f7e6000868387612bb1565b5050505050565b828054612f9190613d15565b90600052602060002090601f016020900481019282612fb35760008555612ffa565b82601f10612fcc57803560ff1916838001178555612ffa565b82800160010185558215612ffa579182015b82811115612ff9578235825591602001919060010190612fde565b5b509050613007919061304e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561306757600081600090555060010161304f565b5090565b600061307e61307984613a92565b613a6d565b90508281526020810184848401111561309a57613099613eec565b5b6130a5848285613cd3565b509392505050565b6000813590506130bc816141e5565b92915050565b6000813590506130d1816141fc565b92915050565b6000813590506130e681614213565b92915050565b6000815190506130fb81614213565b92915050565b600082601f83011261311657613115613ee2565b5b813561312684826020860161306b565b91505092915050565b60008083601f84011261314557613144613ee2565b5b8235905067ffffffffffffffff81111561316257613161613edd565b5b60208301915083600182028301111561317e5761317d613ee7565b5b9250929050565b6000813590506131948161422a565b92915050565b6000602082840312156131b0576131af613ef6565b5b60006131be848285016130ad565b91505092915050565b600080604083850312156131de576131dd613ef6565b5b60006131ec858286016130ad565b92505060206131fd858286016130ad565b9150509250929050565b6000806000606084860312156132205761321f613ef6565b5b600061322e868287016130ad565b935050602061323f868287016130ad565b925050604061325086828701613185565b9150509250925092565b6000806000806080858703121561327457613273613ef6565b5b6000613282878288016130ad565b9450506020613293878288016130ad565b93505060406132a487828801613185565b925050606085013567ffffffffffffffff8111156132c5576132c4613ef1565b5b6132d187828801613101565b91505092959194509250565b600080604083850312156132f4576132f3613ef6565b5b6000613302858286016130ad565b9250506020613313858286016130c2565b9150509250929050565b6000806040838503121561333457613333613ef6565b5b6000613342858286016130ad565b925050602061335385828601613185565b9150509250929050565b60006020828403121561337357613372613ef6565b5b6000613381848285016130d7565b91505092915050565b6000602082840312156133a05761339f613ef6565b5b60006133ae848285016130ec565b91505092915050565b600080602083850312156133ce576133cd613ef6565b5b600083013567ffffffffffffffff8111156133ec576133eb613ef1565b5b6133f88582860161312f565b92509250509250929050565b60006020828403121561341a57613419613ef6565b5b600061342884828501613185565b91505092915050565b600061343d8383613775565b60208301905092915050565b61345281613c5f565b82525050565b600061346382613ad3565b61346d8185613b01565b935061347883613ac3565b8060005b838110156134a95781516134908882613431565b975061349b83613af4565b92505060018101905061347c565b5085935050505092915050565b6134bf81613c71565b82525050565b60006134d082613ade565b6134da8185613b12565b93506134ea818560208601613ce2565b6134f381613efb565b840191505092915050565b600061350982613ae9565b6135138185613b2e565b9350613523818560208601613ce2565b61352c81613efb565b840191505092915050565b600061354282613ae9565b61354c8185613b3f565b935061355c818560208601613ce2565b80840191505092915050565b6000613575601483613b2e565b915061358082613f0c565b602082019050919050565b6000613598600683613b2e565b91506135a382613f35565b602082019050919050565b60006135bb602683613b2e565b91506135c682613f5e565b604082019050919050565b60006135de603483613b2e565b91506135e982613fad565b604082019050919050565b6000613601601083613b2e565b915061360c82613ffc565b602082019050919050565b6000613624601083613b2e565b915061362f82614025565b602082019050919050565b6000613647601583613b2e565b91506136528261404e565b602082019050919050565b600061366a601483613b2e565b915061367582614077565b602082019050919050565b600061368d602083613b2e565b9150613698826140a0565b602082019050919050565b60006136b0601483613b2e565b91506136bb826140c9565b602082019050919050565b60006136d3602e83613b2e565b91506136de826140f2565b604082019050919050565b60006136f6600083613b23565b915061370182614141565b600082019050919050565b6000613719602683613b2e565b915061372482614144565b604082019050919050565b600061373c602083613b2e565b915061374782614193565b602082019050919050565b600061375f601f83613b2e565b915061376a826141bc565b602082019050919050565b61377e81613cc9565b82525050565b61378d81613cc9565b82525050565b600061379f8285613537565b91506137ab8284613537565b91508190509392505050565b60006137c2826136e9565b9150819050919050565b60006020820190506137e16000830184613449565b92915050565b60006080820190506137fc6000830187613449565b6138096020830186613449565b6138166040830185613784565b818103606083015261382881846134c5565b905095945050505050565b6000602082019050818103600083015261384d8184613458565b905092915050565b600060208201905061386a60008301846134b6565b92915050565b6000602082019050818103600083015261388a81846134fe565b905092915050565b600060208201905081810360008301526138ab81613568565b9050919050565b600060208201905081810360008301526138cb8161358b565b9050919050565b600060208201905081810360008301526138eb816135ae565b9050919050565b6000602082019050818103600083015261390b816135d1565b9050919050565b6000602082019050818103600083015261392b816135f4565b9050919050565b6000602082019050818103600083015261394b81613617565b9050919050565b6000602082019050818103600083015261396b8161363a565b9050919050565b6000602082019050818103600083015261398b8161365d565b9050919050565b600060208201905081810360008301526139ab81613680565b9050919050565b600060208201905081810360008301526139cb816136a3565b9050919050565b600060208201905081810360008301526139eb816136c6565b9050919050565b60006020820190508181036000830152613a0b8161370c565b9050919050565b60006020820190508181036000830152613a2b8161372f565b9050919050565b60006020820190508181036000830152613a4b81613752565b9050919050565b6000602082019050613a676000830184613784565b92915050565b6000613a77613a88565b9050613a838282613d47565b919050565b6000604051905090565b600067ffffffffffffffff821115613aad57613aac613eae565b5b613ab682613efb565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b5582613cc9565b9150613b6083613cc9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b9557613b94613df2565b5b828201905092915050565b6000613bab82613cc9565b9150613bb683613cc9565b925082613bc657613bc5613e21565b5b828204905092915050565b6000613bdc82613cc9565b9150613be783613cc9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c2057613c1f613df2565b5b828202905092915050565b6000613c3682613cc9565b9150613c4183613cc9565b925082821015613c5457613c53613df2565b5b828203905092915050565b6000613c6a82613ca9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d00578082015181840152602081019050613ce5565b83811115613d0f576000848401525b50505050565b60006002820490506001821680613d2d57607f821691505b60208210811415613d4157613d40613e50565b5b50919050565b613d5082613efb565b810181811067ffffffffffffffff82111715613d6f57613d6e613eae565b5b80604052505050565b6000613d8382613cc9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613db657613db5613df2565b5b600182019050919050565b6000613dcc82613cc9565b9150613dd783613cc9565b925082613de757613de6613e21565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f52657175657374656420737570706c792073686f756c646e742065786365656460008201527f732063757272656e74206d617820737570706c79000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b7f416d6f756e74206578636565647320737570706c790000000000000000000000600082015250565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4661696c656420746f2073656e64206574686572000000000000000000000000600082015250565b7f52657175657374656420737570706c792073686f756c6420657863656564732060008201527f63757272656e7420737570706c79000000000000000000000000000000000000602082015250565b50565b7f4f6e6c792065787465726e616c6c79206f776e6564206163636f756e7473206160008201527f6c6c6f7765640000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742065786365656473207472616e73616374696f6e206c696d6974600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6141ee81613c5f565b81146141f957600080fd5b50565b61420581613c71565b811461421057600080fd5b50565b61421c81613c7d565b811461422757600080fd5b50565b61423381613cc9565b811461423e57600080fd5b5056fea2646970667358221220805f962443012bdc3df2cd7705e9be00b05577490686e44db41a109c80df527164736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063616cdb1e11610102578063a0712d6811610095578063c87b56dd11610064578063c87b56dd14610683578063e985e9c5146106c0578063f2fde38b146106fd578063f83d08ba14610726576101e3565b8063a0712d68146105fe578063a22cb4651461061a578063b88d4fde14610643578063c4ae31681461066c576101e3565b8063715018a6116100d1578063715018a61461057a578063853828b6146105915780638da5cb5b146105a857806395d89b41146105d3576101e3565b8063616cdb1e146104ae5780636352211e146104d75780636f8b44b01461051457806370a082311461053d576101e3565b806323b872dd1161017a578063438b630011610149578063438b6300146103f257806355f804b31461042f578063564566a8146104585780635c975abb14610483576101e3565b806323b872dd1461034a5780632fbc0bf11461037357806332cb6b0c1461039e57806342842e0e146103c9576101e3565b8063095ea7b3116101b6578063095ea7b3146102a457806318160ddd146102cd5780631919fed7146102f857806321ca423614610321576101e3565b806301ffc9a7146101e8578063049c5c491461022557806306fdde031461023c578063081812fc14610267575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a919061335d565b61073d565b60405161021c9190613855565b60405180910390f35b34801561023157600080fd5b5061023a61081f565b005b34801561024857600080fd5b50610251610917565b60405161025e9190613870565b60405180910390f35b34801561027357600080fd5b5061028e60048036038101906102899190613404565b6109a9565b60405161029b91906137cc565b60405180910390f35b3480156102b057600080fd5b506102cb60048036038101906102c6919061331d565b610a25565b005b3480156102d957600080fd5b506102e2610b30565b6040516102ef9190613a52565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190613404565b610b47565b005b34801561032d57600080fd5b506103486004803603810190610343919061331d565b610c1d565b005b34801561035657600080fd5b50610371600480360381019061036c9190613207565b610cfe565b005b34801561037f57600080fd5b50610388610d0e565b6040516103959190613a52565b60405180910390f35b3480156103aa57600080fd5b506103b3610d18565b6040516103c09190613a52565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb9190613207565b610d1e565b005b3480156103fe57600080fd5b506104196004803603810190610414919061319a565b610d3e565b6040516104269190613833565b60405180910390f35b34801561043b57600080fd5b50610456600480360381019061045191906133b7565b610e49565b005b34801561046457600080fd5b5061046d610f2b565b60405161047a9190613855565b60405180910390f35b34801561048f57600080fd5b50610498610f42565b6040516104a59190613855565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613404565b610f59565b005b3480156104e357600080fd5b506104fe60048036038101906104f99190613404565b61102f565b60405161050b91906137cc565b60405180910390f35b34801561052057600080fd5b5061053b60048036038101906105369190613404565b611045565b005b34801561054957600080fd5b50610564600480360381019061055f919061319a565b6111a8565b6040516105719190613a52565b60405180910390f35b34801561058657600080fd5b5061058f611278565b005b34801561059d57600080fd5b506105a6611300565b005b3480156105b457600080fd5b506105bd61139c565b6040516105ca91906137cc565b60405180910390f35b3480156105df57600080fd5b506105e86113c6565b6040516105f59190613870565b60405180910390f35b61061860048036038101906106139190613404565b611458565b005b34801561062657600080fd5b50610641600480360381019061063c91906132dd565b611661565b005b34801561064f57600080fd5b5061066a6004803603810190610665919061325a565b6117d9565b005b34801561067857600080fd5b50610681611855565b005b34801561068f57600080fd5b506106aa60048036038101906106a59190613404565b611946565b6040516106b79190613870565b60405180910390f35b3480156106cc57600080fd5b506106e760048036038101906106e291906131c7565b6119e5565b6040516106f49190613855565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f919061319a565b611a79565b005b34801561073257600080fd5b5061073b611b71565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610818575061081782611c0a565b5b9050919050565b610827611c74565b73ffffffffffffffffffffffffffffffffffffffff1661084561139c565b73ffffffffffffffffffffffffffffffffffffffff161461089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290613992565b60405180910390fd5b600c60009054906101000a900460ff16156108eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e2906138b2565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b60606002805461092690613d15565b80601f016020809104026020016040519081016040528092919081815260200182805461095290613d15565b801561099f5780601f106109745761010080835404028352916020019161099f565b820191906000526020600020905b81548152906001019060200180831161098257829003601f168201915b5050505050905090565b60006109b482611c7c565b6109ea576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a308261102f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a98576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab7611c74565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ae95750610ae781610ae2611c74565b6119e5565b155b15610b20576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b2b838383611cca565b505050565b6000610b3a611d7c565b6001546000540303905090565b610b4f611c74565b73ffffffffffffffffffffffffffffffffffffffff16610b6d61139c565b73ffffffffffffffffffffffffffffffffffffffff1614610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba90613992565b60405180910390fd5b600c60009054906101000a900460ff1615610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a906138b2565b60405180910390fd5b80600d8190555050565b610c25611c74565b73ffffffffffffffffffffffffffffffffffffffff16610c4361139c565b73ffffffffffffffffffffffffffffffffffffffff1614610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9090613992565b60405180910390fd5b600a5481610ca5610b30565b610caf9190613b4a565b1115610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790613952565b60405180910390fd5b610cfa8282611d81565b5050565b610d09838383611d9f565b505050565b6000600d54905090565b600a5481565b610d39838383604051806020016040528060008152506117d9565b505050565b60606000610d4b836111a8565b905060008167ffffffffffffffff811115610d6957610d68613eae565b5b604051908082528060200260200182016040528015610d975781602001602082028036833780820191505090505b5090506000805b8381108015610db45750610db0610b30565b8211155b15610e3d576000610dc48361102f565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e295782848381518110610e0e57610e0d613e7f565b5b6020026020010181815250508180610e2590613d78565b9250505b8280610e3490613d78565b93505050610d9e565b82945050505050919050565b610e51611c74565b73ffffffffffffffffffffffffffffffffffffffff16610e6f61139c565b73ffffffffffffffffffffffffffffffffffffffff1614610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc90613992565b60405180910390fd5b600c60009054906101000a900460ff1615610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c906138b2565b60405180910390fd5b8181600e9190610f26929190612f85565b505050565b6000600c60019054906101000a900460ff16905090565b6000600860009054906101000a900460ff16905090565b610f61611c74565b73ffffffffffffffffffffffffffffffffffffffff16610f7f61139c565b73ffffffffffffffffffffffffffffffffffffffff1614610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90613992565b60405180910390fd5b600c60009054906101000a900460ff1615611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c906138b2565b60405180910390fd5b80600b8190555050565b600061103a82612290565b600001519050919050565b61104d611c74565b73ffffffffffffffffffffffffffffffffffffffff1661106b61139c565b73ffffffffffffffffffffffffffffffffffffffff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890613992565b60405180910390fd5b600c60009054906101000a900460ff1615611111576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611108906138b2565b60405180910390fd5b80600a5411611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906138f2565b60405180910390fd5b8061115e610b30565b1061119e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611195906139d2565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611210576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611280611c74565b73ffffffffffffffffffffffffffffffffffffffff1661129e61139c565b73ffffffffffffffffffffffffffffffffffffffff16146112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90613992565b60405180910390fd5b6112fe600061251f565b565b611308611c74565b73ffffffffffffffffffffffffffffffffffffffff1661132661139c565b73ffffffffffffffffffffffffffffffffffffffff161461137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613992565b60405180910390fd5b61139a73191726002b6ad80b386bc3fa001cb9df67a8999c476125e5565b565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546113d590613d15565b80601f016020809104026020016040519081016040528092919081815260200182805461140190613d15565b801561144e5780601f106114235761010080835404028352916020019161144e565b820191906000526020600020905b81548152906001019060200180831161143157829003601f168201915b5050505050905090565b6002600954141561149e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149590613a32565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b906139f2565b60405180910390fd5b61151c610f2b565b61155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290613932565b60405180910390fd5b600a5481611567610b30565b6115719190613b4a565b11156115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990613952565b60405180910390fd5b34816115bc610d0e565b6115c69190613bd1565b1115611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90613972565b60405180910390fd5b600b5481111561164c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164390613a12565b60405180910390fd5b6116563382611d81565b600160098190555050565b611669611c74565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ce576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116db611c74565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611788611c74565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117cd9190613855565b60405180910390a35050565b6117e4848484611d9f565b6118038373ffffffffffffffffffffffffffffffffffffffff16612696565b80156118185750611816848484846126b9565b155b1561184f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61185d611c74565b73ffffffffffffffffffffffffffffffffffffffff1661187b61139c565b73ffffffffffffffffffffffffffffffffffffffff16146118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c890613992565b60405180910390fd5b600c60009054906101000a900460ff1615611921576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611918906138b2565b60405180910390fd5b611929610f42565b1561193b57611936612819565b611944565b6119436128bb565b5b565b606061195182611c7c565b611987576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061199161295e565b90506000815114156119b257604051806020016040528060008152506119dd565b806119bc846129f0565b6040516020016119cd929190613793565b6040516020818303038152906040525b915050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a81611c74565b73ffffffffffffffffffffffffffffffffffffffff16611a9f61139c565b73ffffffffffffffffffffffffffffffffffffffff1614611af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aec90613992565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c906138d2565b60405180910390fd5b611b6e8161251f565b50565b611b79611c74565b73ffffffffffffffffffffffffffffffffffffffff16611b9761139c565b73ffffffffffffffffffffffffffffffffffffffff1614611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be490613992565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081611c87611d7c565b11158015611c96575060005482105b8015611cc3575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b611d9b828260405180602001604052806000815250612b51565b5050565b6000611daa82612290565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611dd1611c74565b73ffffffffffffffffffffffffffffffffffffffff161480611e045750611e038260000151611dfe611c74565b6119e5565b5b80611e495750611e12611c74565b73ffffffffffffffffffffffffffffffffffffffff16611e31846109a9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e82576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611eeb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f52576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f5f8585856001612b63565b611f6f6000848460000151611cca565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122205760005481101561221f5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122898585856001612bb1565b5050505050565b61229861300b565b6000829050806122a6611d7c565b111580156122b5575060005481105b156124e8576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516124e657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123ca57809250505061251a565b5b6001156124e557818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124e057809250505061251a565b6123cb565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161260b906137b7565b60006040518083038185875af1925050503d8060008114612648576040519150601f19603f3d011682016040523d82523d6000602084013e61264d565b606091505b5050905080612691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612688906139b2565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126df611c74565b8786866040518563ffffffff1660e01b815260040161270194939291906137e7565b602060405180830381600087803b15801561271b57600080fd5b505af192505050801561274c57506040513d601f19601f82011682018060405250810190612749919061338a565b60015b6127c6573d806000811461277c576040519150601f19603f3d011682016040523d82523d6000602084013e612781565b606091505b506000815114156127be576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612821610f42565b612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790613892565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6128a4611c74565b6040516128b191906137cc565b60405180910390a1565b6128c3610f42565b15612903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fa90613912565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612947611c74565b60405161295491906137cc565b60405180910390a1565b6060600e805461296d90613d15565b80601f016020809104026020016040519081016040528092919081815260200182805461299990613d15565b80156129e65780601f106129bb576101008083540402835291602001916129e6565b820191906000526020600020905b8154815290600101906020018083116129c957829003601f168201915b5050505050905090565b60606000821415612a38576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b4c565b600082905060005b60008214612a6a578080612a5390613d78565b915050600a82612a639190613ba0565b9150612a40565b60008167ffffffffffffffff811115612a8657612a85613eae565b5b6040519080825280601f01601f191660200182016040528015612ab85781602001600182028036833780820191505090505b5090505b60008514612b4557600182612ad19190613c2b565b9150600a85612ae09190613dc1565b6030612aec9190613b4a565b60f81b818381518110612b0257612b01613e7f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b3e9190613ba0565b9450612abc565b8093505050505b919050565b612b5e8383836001612bb7565b505050565b612b6b610f42565b15612bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba290613912565b60405180910390fd5b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612c24576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612c5f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c6c6000868387612b63565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612e365750612e358773ffffffffffffffffffffffffffffffffffffffff16612696565b5b15612efc575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eab60008884806001019550886126b9565b612ee1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612e3c578260005414612ef757600080fd5b612f68565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612efd575b816000819055505050612f7e6000868387612bb1565b5050505050565b828054612f9190613d15565b90600052602060002090601f016020900481019282612fb35760008555612ffa565b82601f10612fcc57803560ff1916838001178555612ffa565b82800160010185558215612ffa579182015b82811115612ff9578235825591602001919060010190612fde565b5b509050613007919061304e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561306757600081600090555060010161304f565b5090565b600061307e61307984613a92565b613a6d565b90508281526020810184848401111561309a57613099613eec565b5b6130a5848285613cd3565b509392505050565b6000813590506130bc816141e5565b92915050565b6000813590506130d1816141fc565b92915050565b6000813590506130e681614213565b92915050565b6000815190506130fb81614213565b92915050565b600082601f83011261311657613115613ee2565b5b813561312684826020860161306b565b91505092915050565b60008083601f84011261314557613144613ee2565b5b8235905067ffffffffffffffff81111561316257613161613edd565b5b60208301915083600182028301111561317e5761317d613ee7565b5b9250929050565b6000813590506131948161422a565b92915050565b6000602082840312156131b0576131af613ef6565b5b60006131be848285016130ad565b91505092915050565b600080604083850312156131de576131dd613ef6565b5b60006131ec858286016130ad565b92505060206131fd858286016130ad565b9150509250929050565b6000806000606084860312156132205761321f613ef6565b5b600061322e868287016130ad565b935050602061323f868287016130ad565b925050604061325086828701613185565b9150509250925092565b6000806000806080858703121561327457613273613ef6565b5b6000613282878288016130ad565b9450506020613293878288016130ad565b93505060406132a487828801613185565b925050606085013567ffffffffffffffff8111156132c5576132c4613ef1565b5b6132d187828801613101565b91505092959194509250565b600080604083850312156132f4576132f3613ef6565b5b6000613302858286016130ad565b9250506020613313858286016130c2565b9150509250929050565b6000806040838503121561333457613333613ef6565b5b6000613342858286016130ad565b925050602061335385828601613185565b9150509250929050565b60006020828403121561337357613372613ef6565b5b6000613381848285016130d7565b91505092915050565b6000602082840312156133a05761339f613ef6565b5b60006133ae848285016130ec565b91505092915050565b600080602083850312156133ce576133cd613ef6565b5b600083013567ffffffffffffffff8111156133ec576133eb613ef1565b5b6133f88582860161312f565b92509250509250929050565b60006020828403121561341a57613419613ef6565b5b600061342884828501613185565b91505092915050565b600061343d8383613775565b60208301905092915050565b61345281613c5f565b82525050565b600061346382613ad3565b61346d8185613b01565b935061347883613ac3565b8060005b838110156134a95781516134908882613431565b975061349b83613af4565b92505060018101905061347c565b5085935050505092915050565b6134bf81613c71565b82525050565b60006134d082613ade565b6134da8185613b12565b93506134ea818560208601613ce2565b6134f381613efb565b840191505092915050565b600061350982613ae9565b6135138185613b2e565b9350613523818560208601613ce2565b61352c81613efb565b840191505092915050565b600061354282613ae9565b61354c8185613b3f565b935061355c818560208601613ce2565b80840191505092915050565b6000613575601483613b2e565b915061358082613f0c565b602082019050919050565b6000613598600683613b2e565b91506135a382613f35565b602082019050919050565b60006135bb602683613b2e565b91506135c682613f5e565b604082019050919050565b60006135de603483613b2e565b91506135e982613fad565b604082019050919050565b6000613601601083613b2e565b915061360c82613ffc565b602082019050919050565b6000613624601083613b2e565b915061362f82614025565b602082019050919050565b6000613647601583613b2e565b91506136528261404e565b602082019050919050565b600061366a601483613b2e565b915061367582614077565b602082019050919050565b600061368d602083613b2e565b9150613698826140a0565b602082019050919050565b60006136b0601483613b2e565b91506136bb826140c9565b602082019050919050565b60006136d3602e83613b2e565b91506136de826140f2565b604082019050919050565b60006136f6600083613b23565b915061370182614141565b600082019050919050565b6000613719602683613b2e565b915061372482614144565b604082019050919050565b600061373c602083613b2e565b915061374782614193565b602082019050919050565b600061375f601f83613b2e565b915061376a826141bc565b602082019050919050565b61377e81613cc9565b82525050565b61378d81613cc9565b82525050565b600061379f8285613537565b91506137ab8284613537565b91508190509392505050565b60006137c2826136e9565b9150819050919050565b60006020820190506137e16000830184613449565b92915050565b60006080820190506137fc6000830187613449565b6138096020830186613449565b6138166040830185613784565b818103606083015261382881846134c5565b905095945050505050565b6000602082019050818103600083015261384d8184613458565b905092915050565b600060208201905061386a60008301846134b6565b92915050565b6000602082019050818103600083015261388a81846134fe565b905092915050565b600060208201905081810360008301526138ab81613568565b9050919050565b600060208201905081810360008301526138cb8161358b565b9050919050565b600060208201905081810360008301526138eb816135ae565b9050919050565b6000602082019050818103600083015261390b816135d1565b9050919050565b6000602082019050818103600083015261392b816135f4565b9050919050565b6000602082019050818103600083015261394b81613617565b9050919050565b6000602082019050818103600083015261396b8161363a565b9050919050565b6000602082019050818103600083015261398b8161365d565b9050919050565b600060208201905081810360008301526139ab81613680565b9050919050565b600060208201905081810360008301526139cb816136a3565b9050919050565b600060208201905081810360008301526139eb816136c6565b9050919050565b60006020820190508181036000830152613a0b8161370c565b9050919050565b60006020820190508181036000830152613a2b8161372f565b9050919050565b60006020820190508181036000830152613a4b81613752565b9050919050565b6000602082019050613a676000830184613784565b92915050565b6000613a77613a88565b9050613a838282613d47565b919050565b6000604051905090565b600067ffffffffffffffff821115613aad57613aac613eae565b5b613ab682613efb565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b5582613cc9565b9150613b6083613cc9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b9557613b94613df2565b5b828201905092915050565b6000613bab82613cc9565b9150613bb683613cc9565b925082613bc657613bc5613e21565b5b828204905092915050565b6000613bdc82613cc9565b9150613be783613cc9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c2057613c1f613df2565b5b828202905092915050565b6000613c3682613cc9565b9150613c4183613cc9565b925082821015613c5457613c53613df2565b5b828203905092915050565b6000613c6a82613ca9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d00578082015181840152602081019050613ce5565b83811115613d0f576000848401525b50505050565b60006002820490506001821680613d2d57607f821691505b60208210811415613d4157613d40613e50565b5b50919050565b613d5082613efb565b810181811067ffffffffffffffff82111715613d6f57613d6e613eae565b5b80604052505050565b6000613d8382613cc9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613db657613db5613df2565b5b600182019050919050565b6000613dcc82613cc9565b9150613dd783613cc9565b925082613de757613de6613e21565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f52657175657374656420737570706c792073686f756c646e742065786365656460008201527f732063757272656e74206d617820737570706c79000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b7f416d6f756e74206578636565647320737570706c790000000000000000000000600082015250565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4661696c656420746f2073656e64206574686572000000000000000000000000600082015250565b7f52657175657374656420737570706c792073686f756c6420657863656564732060008201527f63757272656e7420737570706c79000000000000000000000000000000000000602082015250565b50565b7f4f6e6c792065787465726e616c6c79206f776e6564206163636f756e7473206160008201527f6c6c6f7765640000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742065786365656473207472616e73616374696f6e206c696d6974600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6141ee81613c5f565b81146141f957600080fd5b50565b61420581613c71565b811461421057600080fd5b50565b61421c81613c7d565b811461422757600080fd5b50565b61423381613cc9565b811461423e57600080fd5b5056fea2646970667358221220805f962443012bdc3df2cd7705e9be00b05577490686e44db41a109c80df527164736f6c63430008070033

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.