ETH Price: $3,435.61 (-0.62%)

Token

Polite Raptors Pack (PRP)
 

Overview

Max Total Supply

3,376 PRP

Holders

1,261

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
maggo.eth
Balance
3 PRP
0xfd37f4625ca5816157d55a5b3f7dd8dd5f8a0c2f
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:
PoliteRaptors

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 1000 runs

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

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title PoliteRaptors contract
 */
contract PoliteRaptors is ERC721Enumerable, ERC721URIStorage, Ownable {
    string public provenanceHash = "";
    uint256 public maxRaptors;
    bool public metadataFrozen;
    bool public provenanceFrozen;

    // in case something breaks this contract and we have to use fallback contract
    address public fallbackMinter;

    string public baseUri;
    bool public saleIsActive;

    bool public revealed;
    string public unrevealedTokenUri;

    event SetBaseUri(string indexed baseUri);

    modifier whenSaleIsActive() {
        require(saleIsActive, "PRP: Sale is not active");
        _;
    }

    modifier whenMetadataIsNotFrozen() {
        require(!metadataFrozen, "PRP: Metadata already frozen.");
        _;
    }

    modifier whenProvenanceIsNotFrozen() {
        require(!provenanceFrozen, "PRP: Provenance already frozen.");
        _;
    }

    constructor() ERC721("Polite Raptors Pack", "PRP") {
        saleIsActive = false;
        maxRaptors = 10000;
        metadataFrozen = false;
        provenanceFrozen = false;
        revealed = false;
    }

    // ------------------
    // Explicit overrides
    // ------------------

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

    function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId) public view virtual override(ERC721URIStorage, ERC721) returns (string memory) {
        if (revealed) {
            return super.tokenURI(tokenId);
        } else {
            return unrevealedTokenUri;
        }
    }

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

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

    // ------------------
    // Public functions
    // ------------------

    function mint(uint256 amount) external payable whenSaleIsActive {
        require(amount <= 50, "PRP: Amount exceeds max per mint");
        require(totalSupply() + amount <= maxRaptors, "PRP: Purchase would exceed cap");
        require(totalSupply() >= 3000, "PRP: Free mint not finished");

        bool refundPrev = true;
        uint256 _mintPrice = 50000000000000000; // 0.05 ETH
        uint256 supplyAfterMint = totalSupply() + amount;

        if (supplyAfterMint > 9000) {
            _mintPrice = 100000000000000000; // 0.1 ETH
            refundPrev = false;
        } else if (supplyAfterMint > 6000) {
            _mintPrice = 75000000000000000; // 0.075 ETH
        }

        require(_mintPrice * amount <= msg.value, "PRP: ETH value sent is not correct");

        uint256 mintIndex = totalSupply() + 1;
        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, mintIndex);
            address prevOwner = ownerOf(mintIndex - 3000);
            if (refundPrev && !isContract(prevOwner)) {
                payable(prevOwner).transfer(_mintPrice - 25000000000000000);
            }
            mintIndex += 1;
        }
    }

    function mintFree(uint256 amount) external whenSaleIsActive {
        require(totalSupply() + amount <= 3000, "PRP: Free to mint limit reached");
        require(totalSupply() + amount <= maxRaptors, "PRP: Mint would exceed cap");
        require(amount <= 3, "PRP: Only 3 free mints per tx");
        require(balanceOf(msg.sender) + amount <= 3, "PRP: Only 3 per address");

        uint256 mintIndex = totalSupply() + 1;
        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, mintIndex);
            mintIndex += 1;
        }
    }

    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

    function tokensOfOwner(address owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            for (uint256 index; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(owner, index);
            }
            return result;
        }
    }

    function fallbackMint(uint256 amount) external {
        require(totalSupply() + amount <= maxRaptors, "PRP: Mint would exceed cap");
        require(msg.sender == fallbackMinter, "PRP: Only for fallback minter");

        uint256 mintIndex = totalSupply() + 1;
        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, mintIndex);
            mintIndex += 1;
        }
    }

    // ------------------
    // Owner functions
    // ------------------

    function setBaseUri(string memory _baseUri) external onlyOwner whenMetadataIsNotFrozen {
        baseUri = _baseUri;
        emit SetBaseUri(baseUri);
    }

    function setTokenURI(uint256 _tokenId, string memory _tokenURI) external onlyOwner whenMetadataIsNotFrozen {
        super._setTokenURI(_tokenId, _tokenURI);
    }

    function mintForCommunity(address to, uint256 numberOfTokens) external onlyOwner {
        require(to != address(0), "PRP: Cannot mint to zero address.");
        require(totalSupply() + numberOfTokens <= maxRaptors, "PRP: Mint would exceed cap");

        uint256 mintIndex = totalSupply() + 1;
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(to, mintIndex);
            mintIndex += 1;
        }
    }

    function setProvenanceHash(string memory _provenanceHash) external onlyOwner whenProvenanceIsNotFrozen {
        provenanceHash = _provenanceHash;
    }

    function setUnrevealedTokenUri(string memory _unrevealedTokenUri) external onlyOwner whenMetadataIsNotFrozen {
        unrevealedTokenUri = _unrevealedTokenUri;
    }

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

    function toggleSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function withdraw(address to) external onlyOwner {
        uint256 balance = address(this).balance;
        payable(to).transfer(balance);
    }

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

    function emergencyRecoverTokens(
        IERC20 token,
        address receiver,
        uint256 amount
    ) external onlyOwner {
        require(receiver != address(0), "Cannot recover tokens to the 0 address");
        token.transfer(receiver, amount);
    }

    function freezeMetadata() external onlyOwner whenMetadataIsNotFrozen {
        metadataFrozen = true;
    }

    function freezeProvenance() external onlyOwner whenProvenanceIsNotFrozen {
        provenanceFrozen = true;
    }

    function setFallbackMinter(address newFallbackMinter) external onlyOwner {
        fallbackMinter = newFallbackMinter;
    }

    function reduceMaxRaptors(uint256 newMaxRaptors) external onlyOwner {
        require(newMaxRaptors < maxRaptors, "PRP: Can only be reduced!");
        maxRaptors = newMaxRaptors;
    }

    // ------------------
    // Private helper functions
    // ------------------
    function isContract(address _addr) private returns (bool isContract){
        uint32 size;
        assembly {
            size := extcodesize(_addr)
        }
        return (size > 0);
    }
}

File 2 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 3 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 15 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

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

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 5 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 7 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 14 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"baseUri","type":"string"}],"name":"SetBaseUri","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyRecoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"fallbackMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fallbackMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRaptors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintForCommunity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFree","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":"provenanceFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxRaptors","type":"uint256"}],"name":"reduceMaxRaptors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newFallbackMinter","type":"address"}],"name":"setFallbackMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedTokenUri","type":"string"}],"name":"setUnrevealedTokenUri","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":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600c9162000134565b503480156200002957600080fd5b50604080518082018252601381527f506f6c69746520526170746f7273205061636b0000000000000000000000000060208083019182528351808501909452600384526205052560ec1b9084015281519192916200008a9160009162000134565b508051620000a090600190602084019062000134565b505050620000bd620000b7620000de60201b60201c565b620000e2565b60108054612710600d55600e805461ffff1990811690915516905562000217565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014290620001da565b90600052602060002090601f016020900481019282620001665760008555620001b1565b82601f106200018157805160ff1916838001178555620001b1565b82800160010185558215620001b1579182015b82811115620001b157825182559160200191906001019062000194565b50620001bf929150620001c3565b5090565b5b80821115620001bf5760008155600101620001c4565b600281046001821680620001ef57607f821691505b602082108114156200021157634e487b7160e01b600052602260045260246000fd5b50919050565b61383980620002276000396000f3fe6080604052600436106103085760003560e01c80638462151c1161019a578063c6ab67a3116100e1578063e1abf5d31161008a578063eb8d244411610064578063eb8d244414610811578063f2fde38b14610826578063fb3cc6c21461084657610308565b8063e1abf5d3146107bc578063e7d773a0146107dc578063e985e9c5146107f157610308565b8063daaeec86116100bb578063daaeec8614610772578063db2e21bc14610787578063e110976f1461079c57610308565b8063c6ab67a314610728578063c87b56dd1461073d578063d111515d1461075d57610308565b8063a0bcfc7f11610143578063a475b5dd1161011d578063a475b5dd146106de578063b832dcc9146106f3578063b88d4fde1461070857610308565b8063a0bcfc7f1461067e578063a22cb4651461069e578063a4146733146106be57610308565b806395d89b411161017457806395d89b41146106415780639abc832014610656578063a0712d681461066b57610308565b80638462151c146105df5780638497e0fa1461060c5780638da5cb5b1461062c57610308565b80632f745c591161025e57806351cff8d91161020757806370a08231116101e157806370a082311461058a578063715018a6146105aa5780637acdd50d146105bf57610308565b806351cff8d9146105355780636352211e146105555780636bb599ff1461057557610308565b80634f558e79116102385780634f558e79146104e05780634f6ccce714610500578063518302271461052057610308565b80632f745c591461048057806342842e0e146104a05780634e114e19146104c057610308565b8063095ea7b3116102c0578063162094c41161029a578063162094c41461041e57806318160ddd1461043e57806323b872dd1461046057610308565b8063095ea7b3146103c957806310969523146103e957806314ea928a1461040957610308565b806306fdde03116102f157806306fdde0314610365578063081812fc1461037a578063091d14e5146103a757610308565b806301ffc9a71461030d57806306c536ab14610343575b600080fd5b34801561031957600080fd5b5061032d6103283660046129e3565b61085b565b60405161033a9190612c62565b60405180910390f35b34801561034f57600080fd5b50610358610888565b60405161033a9190612c6d565b34801561037157600080fd5b50610358610916565b34801561038657600080fd5b5061039a610395366004612a62565b6109a8565b60405161033a9190612bb5565b3480156103b357600080fd5b506103c76103c2366004612a62565b6109f4565b005b3480156103d557600080fd5b506103c76103e436600461299c565b610a59565b3480156103f557600080fd5b506103c7610404366004612a2f565b610af1565b34801561041557600080fd5b5061032d610b6f565b34801561042a57600080fd5b506103c7610439366004612a7a565b610b7d565b34801561044a57600080fd5b50610453610be9565b60405161033a9190613681565b34801561046c57600080fd5b506103c761047b3660046128b2565b610bef565b34801561048c57600080fd5b5061045361049b36600461299c565b610c27565b3480156104ac57600080fd5b506103c76104bb3660046128b2565b610c79565b3480156104cc57600080fd5b506103c76104db36600461299c565b610c94565b3480156104ec57600080fd5b5061032d6104fb366004612a62565b610d7e565b34801561050c57600080fd5b5061045361051b366004612a62565b610d89565b34801561052c57600080fd5b5061032d610de4565b34801561054157600080fd5b506103c761055036600461285e565b610df2565b34801561056157600080fd5b5061039a610570366004612a62565b610e69565b34801561058157600080fd5b5061039a610e9e565b34801561059657600080fd5b506104536105a536600461285e565b610eb3565b3480156105b657600080fd5b506103c7610ef7565b3480156105cb57600080fd5b506103c76105da36600461285e565b610f42565b3480156105eb57600080fd5b506105ff6105fa36600461285e565b610fc1565b60405161033a9190612c1e565b34801561061857600080fd5b506103c7610627366004612a62565b6110a2565b34801561063857600080fd5b5061039a611151565b34801561064d57600080fd5b50610358611160565b34801561066257600080fd5b5061035861116f565b6103c7610679366004612a62565b61117c565b34801561068a57600080fd5b506103c7610699366004612a2f565b611362565b3480156106aa57600080fd5b506103c76106b936600461296f565b61141a565b3480156106ca57600080fd5b506103c76106d9366004612a62565b6114e8565b3480156106ea57600080fd5b506103c7611612565b3480156106ff57600080fd5b50610453611662565b34801561071457600080fd5b506103c76107233660046128f2565b611668565b34801561073457600080fd5b506103586116a1565b34801561074957600080fd5b50610358610758366004612a62565b6116ae565b34801561076957600080fd5b506103c7611763565b34801561077e57600080fd5b506103c76117d4565b34801561079357600080fd5b506103c7611827565b3480156107a857600080fd5b506103c76107b7366004612a1b565b611895565b3480156107c857600080fd5b506103c76107d7366004612a2f565b611993565b3480156107e857600080fd5b506103c7611a08565b3480156107fd57600080fd5b5061032d61080c36600461287a565b611a80565b34801561081d57600080fd5b5061032d611aae565b34801561083257600080fd5b506103c761084136600461285e565b611ab7565b34801561085257600080fd5b5061032d611b28565b60006001600160e01b0319821663780e9d6360e01b1480610880575061088082611b31565b90505b919050565b6011805461089590613724565b80601f01602080910402602001604051908101604052809291908181526020018280546108c190613724565b801561090e5780601f106108e35761010080835404028352916020019161090e565b820191906000526020600020905b8154815290600101906020018083116108f157829003601f168201915b505050505081565b60606000805461092590613724565b80601f016020809104026020016040519081016040528092919081815260200182805461095190613724565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b5050505050905090565b60006109b382611b56565b6109d85760405162461bcd60e51b81526004016109cf90613288565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6109fc611b73565b6001600160a01b0316610a0d611151565b6001600160a01b031614610a335760405162461bcd60e51b81526004016109cf906132d4565b600d548110610a545760405162461bcd60e51b81526004016109cf90613366565b600d55565b6000610a6482610e69565b9050806001600160a01b0316836001600160a01b03161415610a985760405162461bcd60e51b81526004016109cf9061348e565b806001600160a01b0316610aaa611b73565b6001600160a01b03161480610ac65750610ac68161080c611b73565b610ae25760405162461bcd60e51b81526004016109cf90613082565b610aec8383611b77565b505050565b610af9611b73565b6001600160a01b0316610b0a611151565b6001600160a01b031614610b305760405162461bcd60e51b81526004016109cf906132d4565b600e54610100900460ff1615610b585760405162461bcd60e51b81526004016109cf90612efd565b8051610b6b90600c906020840190612736565b5050565b600e54610100900460ff1681565b610b85611b73565b6001600160a01b0316610b96611151565b6001600160a01b031614610bbc5760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff1615610bdf5760405162461bcd60e51b81526004016109cf90613613565b610b6b8282611bf2565b60085490565b610c00610bfa611b73565b82611c36565b610c1c5760405162461bcd60e51b81526004016109cf90613559565b610aec838383611cbb565b6000610c3283610eb3565b8210610c505760405162461bcd60e51b81526004016109cf90612d14565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610aec83838360405180602001604052806000815250611668565b610c9c611b73565b6001600160a01b0316610cad611151565b6001600160a01b031614610cd35760405162461bcd60e51b81526004016109cf906132d4565b6001600160a01b038216610cf95760405162461bcd60e51b81526004016109cf90612cb7565b600d5481610d05610be9565b610d0f9190613696565b1115610d2d5760405162461bcd60e51b81526004016109cf90613457565b6000610d37610be9565b610d42906001613696565b905060005b82811015610d7857610d598483611df5565b610d64600183613696565b915080610d7081613759565b915050610d47565b50505050565b600061088082611b56565b6000610d93610be9565b8210610db15760405162461bcd60e51b81526004016109cf906135b6565b60088281548110610dd257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b601054610100900460ff1681565b610dfa611b73565b6001600160a01b0316610e0b611151565b6001600160a01b031614610e315760405162461bcd60e51b81526004016109cf906132d4565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610aec573d6000803e3d6000fd5b6000818152600260205260408120546001600160a01b0316806108805760405162461bcd60e51b81526004016109cf9061313c565b600e546201000090046001600160a01b031681565b60006001600160a01b038216610edb5760405162461bcd60e51b81526004016109cf906130df565b506001600160a01b031660009081526003602052604090205490565b610eff611b73565b6001600160a01b0316610f10611151565b6001600160a01b031614610f365760405162461bcd60e51b81526004016109cf906132d4565b610f406000611e0f565b565b610f4a611b73565b6001600160a01b0316610f5b611151565b6001600160a01b031614610f815760405162461bcd60e51b81526004016109cf906132d4565b600e80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60606000610fce83610eb3565b905080610feb575050604080516000815260208101909152610883565b60008167ffffffffffffffff81111561101457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561103d578160200160208202803683370190505b50905060005b82811015611092576110558582610c27565b82828151811061107557634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061108a81613759565b915050611043565b5091506108839050565b50919050565b600d54816110ae610be9565b6110b89190613696565b11156110d65760405162461bcd60e51b81526004016109cf90613457565b600e546201000090046001600160a01b031633146111065760405162461bcd60e51b81526004016109cf90612fc8565b6000611110610be9565b61111b906001613696565b905060005b82811015610aec576111323383611df5565b61113d600183613696565b91508061114981613759565b915050611120565b600b546001600160a01b031690565b60606001805461092590613724565b600f805461089590613724565b60105460ff1661119e5760405162461bcd60e51b81526004016109cf9061364a565b60328111156111bf5760405162461bcd60e51b81526004016109cf90612ec8565b600d54816111cb610be9565b6111d59190613696565b11156111f35760405162461bcd60e51b81526004016109cf90612c80565b610bb86111fe610be9565b101561121c5760405162461bcd60e51b81526004016109cf90612dce565b600166b1a2bc2ec50000600083611231610be9565b61123b9190613696565b905061232881111561125b5767016345785d8a0000915060009250611271565b6117708111156112715767010a741a4627800091505b3461127c85846136c2565b111561129a5760405162461bcd60e51b81526004016109cf906133fa565b60006112a4610be9565b6112af906001613696565b905060005b8581101561135a576112c63383611df5565b60006112d7610570610bb8856136e1565b90508580156112ec57506112ea81611e6e565b155b15611339576001600160a01b0381166108fc61130f6658d15e17628000886136e1565b6040518115909202916000818181858888f19350505050158015611337573d6000803e3d6000fd5b505b611344600184613696565b925050808061135290613759565b9150506112b4565b505050505050565b61136a611b73565b6001600160a01b031661137b611151565b6001600160a01b0316146113a15760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff16156113c45760405162461bcd60e51b81526004016109cf90613613565b80516113d790600f906020840190612736565b50600f6040516113e79190612b1a565b604051908190038120907fafa35f42f46f5052816d7c6a2e9406eca98294b20726677862d83b4a7418d8d590600090a250565b611422611b73565b6001600160a01b0316826001600160a01b031614156114535760405162461bcd60e51b81526004016109cf90612f91565b8060056000611460611b73565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114a4611b73565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114dc9190612c62565b60405180910390a35050565b60105460ff1661150a5760405162461bcd60e51b81526004016109cf9061364a565b610bb881611516610be9565b6115209190613696565b111561153e5760405162461bcd60e51b81526004016109cf90613522565b600d548161154a610be9565b6115549190613696565b11156115725760405162461bcd60e51b81526004016109cf90613457565b60038111156115935760405162461bcd60e51b81526004016109cf9061304b565b60038161159f33610eb3565b6115a99190613696565b11156115c75760405162461bcd60e51b81526004016109cf906134eb565b60006115d1610be9565b6115dc906001613696565b905060005b82811015610aec576115f33383611df5565b6115fe600183613696565b91508061160a81613759565b9150506115e1565b61161a611b73565b6001600160a01b031661162b611151565b6001600160a01b0316146116515760405162461bcd60e51b81526004016109cf906132d4565b6010805461ff001916610100179055565b600d5481565b611679611673611b73565b83611c36565b6116955760405162461bcd60e51b81526004016109cf90613559565b610d7884848484611e7a565b600c805461089590613724565b601054606090610100900460ff16156116d1576116ca82611ead565b9050610883565b601180546116de90613724565b80601f016020809104026020016040519081016040528092919081815260200182805461170a90613724565b80156117575780601f1061172c57610100808354040283529160200191611757565b820191906000526020600020905b81548152906001019060200180831161173a57829003601f168201915b50505050509050610883565b61176b611b73565b6001600160a01b031661177c611151565b6001600160a01b0316146117a25760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff16156117c55760405162461bcd60e51b81526004016109cf90613613565b600e805460ff19166001179055565b6117dc611b73565b6001600160a01b03166117ed611151565b6001600160a01b0316146118135760405162461bcd60e51b81526004016109cf906132d4565b6010805460ff19811660ff90911615179055565b61182f611b73565b6001600160a01b0316611840611151565b6001600160a01b0316146118665760405162461bcd60e51b81526004016109cf906132d4565b6040514790339082156108fc029083906000818181858888f19350505050158015610b6b573d6000803e3d6000fd5b61189d611b73565b6001600160a01b03166118ae611151565b6001600160a01b0316146118d45760405162461bcd60e51b81526004016109cf906132d4565b6001600160a01b0382166118fa5760405162461bcd60e51b81526004016109cf90612e4b565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a9059cbb906119419085908590600401612c05565b602060405180830381600087803b15801561195b57600080fd5b505af115801561196f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7891906129c7565b61199b611b73565b6001600160a01b03166119ac611151565b6001600160a01b0316146119d25760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff16156119f55760405162461bcd60e51b81526004016109cf90613613565b8051610b6b906011906020840190612736565b611a10611b73565b6001600160a01b0316611a21611151565b6001600160a01b031614611a475760405162461bcd60e51b81526004016109cf906132d4565b600e54610100900460ff1615611a6f5760405162461bcd60e51b81526004016109cf90612efd565b600e805461ff001916610100179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60105460ff1681565b611abf611b73565b6001600160a01b0316611ad0611151565b6001600160a01b031614611af65760405162461bcd60e51b81526004016109cf906132d4565b6001600160a01b038116611b1c5760405162461bcd60e51b81526004016109cf90612e05565b611b2581611e0f565b50565b600e5460ff1681565b60006001600160e01b0319821663780e9d6360e01b1480610880575061088082611fc6565b6000908152600260205260409020546001600160a01b0316151590565b3390565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611bb982610e69565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611bfb82611b56565b611c175760405162461bcd60e51b81526004016109cf90613199565b6000828152600a602090815260409091208251610aec92840190612736565b6000611c4182611b56565b611c5d5760405162461bcd60e51b81526004016109cf90612fff565b6000611c6883610e69565b9050806001600160a01b0316846001600160a01b03161480611ca35750836001600160a01b0316611c98846109a8565b6001600160a01b0316145b80611cb35750611cb38185611a80565b949350505050565b826001600160a01b0316611cce82610e69565b6001600160a01b031614611cf45760405162461bcd60e51b81526004016109cf90613309565b6001600160a01b038216611d1a5760405162461bcd60e51b81526004016109cf90612f34565b611d25838383612038565b611d30600082611b77565b6001600160a01b0383166000908152600360205260408120805460019290611d599084906136e1565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d87908490613696565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610b6b828260405180602001604052806000815250612043565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3b63ffffffff16151590565b611e85848484611cbb565b611e9184848484612076565b610d785760405162461bcd60e51b81526004016109cf90612d71565b6060611eb882611b56565b611ed45760405162461bcd60e51b81526004016109cf9061322b565b6000828152600a602052604081208054611eed90613724565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1990613724565b8015611f665780601f10611f3b57610100808354040283529160200191611f66565b820191906000526020600020905b815481529060010190602001808311611f4957829003601f168201915b505050505090506000611f776121aa565b9050805160001415611f8b57509050610883565b815115611fbd578082604051602001611fa5929190612aeb565b60405160208183030381529060405292505050610883565b611cb3846121b9565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061202957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061088057506108808261223c565b610aec83838361226e565b61204d83836122f7565b61205a6000848484612076565b610aec5760405162461bcd60e51b81526004016109cf90612d71565b600061208a846001600160a01b03166123e3565b1561219f57836001600160a01b031663150b7a026120a6611b73565b8786866040518563ffffffff1660e01b81526004016120c89493929190612bc9565b602060405180830381600087803b1580156120e257600080fd5b505af1925050508015612112575060408051601f3d908101601f1916820190925261210f918101906129ff565b60015b61216c573d808015612140576040519150601f19603f3d011682016040523d82523d6000602084013e612145565b606091505b5080516121645760405162461bcd60e51b81526004016109cf90612d71565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611cb3565b506001949350505050565b6060600f805461092590613724565b60606121c482611b56565b6121e05760405162461bcd60e51b81526004016109cf9061339d565b60006121ea6121aa565b9050600081511161220a5760405180602001604052806000815250612235565b80612214846123e9565b604051602001612225929190612aeb565b6040516020818303038152906040525b9392505050565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b612279838383610aec565b6001600160a01b0383166122955761229081612538565b6122b8565b816001600160a01b0316836001600160a01b0316146122b8576122b8838261257c565b6001600160a01b0382166122d4576122cf81612619565b610aec565b826001600160a01b0316826001600160a01b031614610aec57610aec82826126f2565b6001600160a01b03821661231d5760405162461bcd60e51b81526004016109cf906131f6565b61232681611b56565b156123435760405162461bcd60e51b81526004016109cf90612e91565b61234f60008383612038565b6001600160a01b0382166000908152600360205260408120805460019290612378908490613696565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b60608161242a575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610883565b8160005b8115612454578061243e81613759565b915061244d9050600a836136ae565b915061242e565b60008167ffffffffffffffff81111561247d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124a7576020820181803683370190505b5090505b8415611cb3576124bc6001836136e1565b91506124c9600a86613774565b6124d4906030613696565b60f81b8183815181106124f757634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612531600a866136ae565b94506124ab565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161258984610eb3565b61259391906136e1565b6000838152600760205260409020549091508082146125e6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061262b906001906136e1565b6000838152600960205260408120546008805493945090928490811061266157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061269057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806126d657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006126fd83610eb3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461274290613724565b90600052602060002090601f01602090048101928261276457600085556127aa565b82601f1061277d57805160ff19168380011785556127aa565b828001600101855582156127aa579182015b828111156127aa57825182559160200191906001019061278f565b506127b69291506127ba565b5090565b5b808211156127b657600081556001016127bb565b600067ffffffffffffffff808411156127ea576127ea6137b4565b604051601f8501601f19168101602001828111828210171561280e5761280e6137b4565b60405284815291508183850186101561282657600080fd5b8484602083013760006020868301015250509392505050565b600082601f83011261284f578081fd5b612235838335602085016127cf565b60006020828403121561286f578081fd5b8135612235816137ca565b6000806040838503121561288c578081fd5b8235612897816137ca565b915060208301356128a7816137ca565b809150509250929050565b6000806000606084860312156128c6578081fd5b83356128d1816137ca565b925060208401356128e1816137ca565b929592945050506040919091013590565b60008060008060808587031215612907578081fd5b8435612912816137ca565b93506020850135612922816137ca565b925060408501359150606085013567ffffffffffffffff811115612944578182fd5b8501601f81018713612954578182fd5b612963878235602084016127cf565b91505092959194509250565b60008060408385031215612981578182fd5b823561298c816137ca565b915060208301356128a7816137df565b600080604083850312156129ae578182fd5b82356129b9816137ca565b946020939093013593505050565b6000602082840312156129d8578081fd5b8151612235816137df565b6000602082840312156129f4578081fd5b8135612235816137ed565b600060208284031215612a10578081fd5b8151612235816137ed565b6000806000606084860312156128c6578283fd5b600060208284031215612a40578081fd5b813567ffffffffffffffff811115612a56578182fd5b611cb38482850161283f565b600060208284031215612a73578081fd5b5035919050565b60008060408385031215612a8c578182fd5b82359150602083013567ffffffffffffffff811115612aa9578182fd5b612ab58582860161283f565b9150509250929050565b60008151808452612ad78160208601602086016136f8565b601f01601f19169290920160200192915050565b60008351612afd8184602088016136f8565b835190830190612b118183602088016136f8565b01949350505050565b8154600090819060028104600180831680612b3657607f831692505b6020808410821415612b5657634e487b7160e01b87526022600452602487fd5b818015612b6a5760018114612b7b57612ba7565b60ff19861689528489019650612ba7565b612b848a61368a565b885b86811015612b9f5781548b820152908501908301612b86565b505084890196505b509498975050505050505050565b6001600160a01b0391909116815260200190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612bfb6080830184612abf565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015612c5657835183529284019291840191600101612c3a565b50909695505050505050565b901515815260200190565b6000602082526122356020830184612abf565b6020808252601e908201527f5052503a20507572636861736520776f756c6420657863656564206361700000604082015260600190565b60208082526021908201527f5052503a2043616e6e6f74206d696e7420746f207a65726f206164647265737360408201527f2e00000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6020808252601b908201527f5052503a2046726565206d696e74206e6f742066696e69736865640000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526026908201527f43616e6e6f74207265636f76657220746f6b656e7320746f207468652030206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f5052503a20416d6f756e742065786365656473206d617820706572206d696e74604082015260600190565b6020808252601f908201527f5052503a2050726f76656e616e636520616c72656164792066726f7a656e2e00604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601d908201527f5052503a204f6e6c7920666f722066616c6c6261636b206d696e746572000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601d908201527f5052503a204f6e6c7920332066726565206d696e747320706572207478000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201527f6578697374656e7420746f6b656e000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f722060408201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f5052503a2043616e206f6e6c7920626520726564756365642100000000000000604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526022908201527f5052503a204554482076616c75652073656e74206973206e6f7420636f72726560408201527f6374000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f5052503a204d696e7420776f756c642065786365656420636170000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f5052503a204f6e6c792033207065722061646472657373000000000000000000604082015260600190565b6020808252601f908201527f5052503a204672656520746f206d696e74206c696d6974207265616368656400604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f5052503a204d6574616461746120616c72656164792066726f7a656e2e000000604082015260600190565b60208082526017908201527f5052503a2053616c65206973206e6f7420616374697665000000000000000000604082015260600190565b90815260200190565b60009081526020902090565b600082198211156136a9576136a9613788565b500190565b6000826136bd576136bd61379e565b500490565b60008160001904831182151516156136dc576136dc613788565b500290565b6000828210156136f3576136f3613788565b500390565b60005b838110156137135781810151838201526020016136fb565b83811115610d785750506000910152565b60028104600182168061373857607f821691505b6020821081141561109c57634e487b7160e01b600052602260045260246000fd5b600060001982141561376d5761376d613788565b5060010190565b6000826137835761378361379e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b2557600080fd5b8015158114611b2557600080fd5b6001600160e01b031981168114611b2557600080fdfea2646970667358221220f725c2a1708ccf980c6e9a9cff5fef8183d4e53234afb1d3ae41a410c6d582a464736f6c63430008000033

Deployed Bytecode

0x6080604052600436106103085760003560e01c80638462151c1161019a578063c6ab67a3116100e1578063e1abf5d31161008a578063eb8d244411610064578063eb8d244414610811578063f2fde38b14610826578063fb3cc6c21461084657610308565b8063e1abf5d3146107bc578063e7d773a0146107dc578063e985e9c5146107f157610308565b8063daaeec86116100bb578063daaeec8614610772578063db2e21bc14610787578063e110976f1461079c57610308565b8063c6ab67a314610728578063c87b56dd1461073d578063d111515d1461075d57610308565b8063a0bcfc7f11610143578063a475b5dd1161011d578063a475b5dd146106de578063b832dcc9146106f3578063b88d4fde1461070857610308565b8063a0bcfc7f1461067e578063a22cb4651461069e578063a4146733146106be57610308565b806395d89b411161017457806395d89b41146106415780639abc832014610656578063a0712d681461066b57610308565b80638462151c146105df5780638497e0fa1461060c5780638da5cb5b1461062c57610308565b80632f745c591161025e57806351cff8d91161020757806370a08231116101e157806370a082311461058a578063715018a6146105aa5780637acdd50d146105bf57610308565b806351cff8d9146105355780636352211e146105555780636bb599ff1461057557610308565b80634f558e79116102385780634f558e79146104e05780634f6ccce714610500578063518302271461052057610308565b80632f745c591461048057806342842e0e146104a05780634e114e19146104c057610308565b8063095ea7b3116102c0578063162094c41161029a578063162094c41461041e57806318160ddd1461043e57806323b872dd1461046057610308565b8063095ea7b3146103c957806310969523146103e957806314ea928a1461040957610308565b806306fdde03116102f157806306fdde0314610365578063081812fc1461037a578063091d14e5146103a757610308565b806301ffc9a71461030d57806306c536ab14610343575b600080fd5b34801561031957600080fd5b5061032d6103283660046129e3565b61085b565b60405161033a9190612c62565b60405180910390f35b34801561034f57600080fd5b50610358610888565b60405161033a9190612c6d565b34801561037157600080fd5b50610358610916565b34801561038657600080fd5b5061039a610395366004612a62565b6109a8565b60405161033a9190612bb5565b3480156103b357600080fd5b506103c76103c2366004612a62565b6109f4565b005b3480156103d557600080fd5b506103c76103e436600461299c565b610a59565b3480156103f557600080fd5b506103c7610404366004612a2f565b610af1565b34801561041557600080fd5b5061032d610b6f565b34801561042a57600080fd5b506103c7610439366004612a7a565b610b7d565b34801561044a57600080fd5b50610453610be9565b60405161033a9190613681565b34801561046c57600080fd5b506103c761047b3660046128b2565b610bef565b34801561048c57600080fd5b5061045361049b36600461299c565b610c27565b3480156104ac57600080fd5b506103c76104bb3660046128b2565b610c79565b3480156104cc57600080fd5b506103c76104db36600461299c565b610c94565b3480156104ec57600080fd5b5061032d6104fb366004612a62565b610d7e565b34801561050c57600080fd5b5061045361051b366004612a62565b610d89565b34801561052c57600080fd5b5061032d610de4565b34801561054157600080fd5b506103c761055036600461285e565b610df2565b34801561056157600080fd5b5061039a610570366004612a62565b610e69565b34801561058157600080fd5b5061039a610e9e565b34801561059657600080fd5b506104536105a536600461285e565b610eb3565b3480156105b657600080fd5b506103c7610ef7565b3480156105cb57600080fd5b506103c76105da36600461285e565b610f42565b3480156105eb57600080fd5b506105ff6105fa36600461285e565b610fc1565b60405161033a9190612c1e565b34801561061857600080fd5b506103c7610627366004612a62565b6110a2565b34801561063857600080fd5b5061039a611151565b34801561064d57600080fd5b50610358611160565b34801561066257600080fd5b5061035861116f565b6103c7610679366004612a62565b61117c565b34801561068a57600080fd5b506103c7610699366004612a2f565b611362565b3480156106aa57600080fd5b506103c76106b936600461296f565b61141a565b3480156106ca57600080fd5b506103c76106d9366004612a62565b6114e8565b3480156106ea57600080fd5b506103c7611612565b3480156106ff57600080fd5b50610453611662565b34801561071457600080fd5b506103c76107233660046128f2565b611668565b34801561073457600080fd5b506103586116a1565b34801561074957600080fd5b50610358610758366004612a62565b6116ae565b34801561076957600080fd5b506103c7611763565b34801561077e57600080fd5b506103c76117d4565b34801561079357600080fd5b506103c7611827565b3480156107a857600080fd5b506103c76107b7366004612a1b565b611895565b3480156107c857600080fd5b506103c76107d7366004612a2f565b611993565b3480156107e857600080fd5b506103c7611a08565b3480156107fd57600080fd5b5061032d61080c36600461287a565b611a80565b34801561081d57600080fd5b5061032d611aae565b34801561083257600080fd5b506103c761084136600461285e565b611ab7565b34801561085257600080fd5b5061032d611b28565b60006001600160e01b0319821663780e9d6360e01b1480610880575061088082611b31565b90505b919050565b6011805461089590613724565b80601f01602080910402602001604051908101604052809291908181526020018280546108c190613724565b801561090e5780601f106108e35761010080835404028352916020019161090e565b820191906000526020600020905b8154815290600101906020018083116108f157829003601f168201915b505050505081565b60606000805461092590613724565b80601f016020809104026020016040519081016040528092919081815260200182805461095190613724565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b5050505050905090565b60006109b382611b56565b6109d85760405162461bcd60e51b81526004016109cf90613288565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6109fc611b73565b6001600160a01b0316610a0d611151565b6001600160a01b031614610a335760405162461bcd60e51b81526004016109cf906132d4565b600d548110610a545760405162461bcd60e51b81526004016109cf90613366565b600d55565b6000610a6482610e69565b9050806001600160a01b0316836001600160a01b03161415610a985760405162461bcd60e51b81526004016109cf9061348e565b806001600160a01b0316610aaa611b73565b6001600160a01b03161480610ac65750610ac68161080c611b73565b610ae25760405162461bcd60e51b81526004016109cf90613082565b610aec8383611b77565b505050565b610af9611b73565b6001600160a01b0316610b0a611151565b6001600160a01b031614610b305760405162461bcd60e51b81526004016109cf906132d4565b600e54610100900460ff1615610b585760405162461bcd60e51b81526004016109cf90612efd565b8051610b6b90600c906020840190612736565b5050565b600e54610100900460ff1681565b610b85611b73565b6001600160a01b0316610b96611151565b6001600160a01b031614610bbc5760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff1615610bdf5760405162461bcd60e51b81526004016109cf90613613565b610b6b8282611bf2565b60085490565b610c00610bfa611b73565b82611c36565b610c1c5760405162461bcd60e51b81526004016109cf90613559565b610aec838383611cbb565b6000610c3283610eb3565b8210610c505760405162461bcd60e51b81526004016109cf90612d14565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610aec83838360405180602001604052806000815250611668565b610c9c611b73565b6001600160a01b0316610cad611151565b6001600160a01b031614610cd35760405162461bcd60e51b81526004016109cf906132d4565b6001600160a01b038216610cf95760405162461bcd60e51b81526004016109cf90612cb7565b600d5481610d05610be9565b610d0f9190613696565b1115610d2d5760405162461bcd60e51b81526004016109cf90613457565b6000610d37610be9565b610d42906001613696565b905060005b82811015610d7857610d598483611df5565b610d64600183613696565b915080610d7081613759565b915050610d47565b50505050565b600061088082611b56565b6000610d93610be9565b8210610db15760405162461bcd60e51b81526004016109cf906135b6565b60088281548110610dd257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b601054610100900460ff1681565b610dfa611b73565b6001600160a01b0316610e0b611151565b6001600160a01b031614610e315760405162461bcd60e51b81526004016109cf906132d4565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610aec573d6000803e3d6000fd5b6000818152600260205260408120546001600160a01b0316806108805760405162461bcd60e51b81526004016109cf9061313c565b600e546201000090046001600160a01b031681565b60006001600160a01b038216610edb5760405162461bcd60e51b81526004016109cf906130df565b506001600160a01b031660009081526003602052604090205490565b610eff611b73565b6001600160a01b0316610f10611151565b6001600160a01b031614610f365760405162461bcd60e51b81526004016109cf906132d4565b610f406000611e0f565b565b610f4a611b73565b6001600160a01b0316610f5b611151565b6001600160a01b031614610f815760405162461bcd60e51b81526004016109cf906132d4565b600e80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60606000610fce83610eb3565b905080610feb575050604080516000815260208101909152610883565b60008167ffffffffffffffff81111561101457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561103d578160200160208202803683370190505b50905060005b82811015611092576110558582610c27565b82828151811061107557634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061108a81613759565b915050611043565b5091506108839050565b50919050565b600d54816110ae610be9565b6110b89190613696565b11156110d65760405162461bcd60e51b81526004016109cf90613457565b600e546201000090046001600160a01b031633146111065760405162461bcd60e51b81526004016109cf90612fc8565b6000611110610be9565b61111b906001613696565b905060005b82811015610aec576111323383611df5565b61113d600183613696565b91508061114981613759565b915050611120565b600b546001600160a01b031690565b60606001805461092590613724565b600f805461089590613724565b60105460ff1661119e5760405162461bcd60e51b81526004016109cf9061364a565b60328111156111bf5760405162461bcd60e51b81526004016109cf90612ec8565b600d54816111cb610be9565b6111d59190613696565b11156111f35760405162461bcd60e51b81526004016109cf90612c80565b610bb86111fe610be9565b101561121c5760405162461bcd60e51b81526004016109cf90612dce565b600166b1a2bc2ec50000600083611231610be9565b61123b9190613696565b905061232881111561125b5767016345785d8a0000915060009250611271565b6117708111156112715767010a741a4627800091505b3461127c85846136c2565b111561129a5760405162461bcd60e51b81526004016109cf906133fa565b60006112a4610be9565b6112af906001613696565b905060005b8581101561135a576112c63383611df5565b60006112d7610570610bb8856136e1565b90508580156112ec57506112ea81611e6e565b155b15611339576001600160a01b0381166108fc61130f6658d15e17628000886136e1565b6040518115909202916000818181858888f19350505050158015611337573d6000803e3d6000fd5b505b611344600184613696565b925050808061135290613759565b9150506112b4565b505050505050565b61136a611b73565b6001600160a01b031661137b611151565b6001600160a01b0316146113a15760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff16156113c45760405162461bcd60e51b81526004016109cf90613613565b80516113d790600f906020840190612736565b50600f6040516113e79190612b1a565b604051908190038120907fafa35f42f46f5052816d7c6a2e9406eca98294b20726677862d83b4a7418d8d590600090a250565b611422611b73565b6001600160a01b0316826001600160a01b031614156114535760405162461bcd60e51b81526004016109cf90612f91565b8060056000611460611b73565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114a4611b73565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114dc9190612c62565b60405180910390a35050565b60105460ff1661150a5760405162461bcd60e51b81526004016109cf9061364a565b610bb881611516610be9565b6115209190613696565b111561153e5760405162461bcd60e51b81526004016109cf90613522565b600d548161154a610be9565b6115549190613696565b11156115725760405162461bcd60e51b81526004016109cf90613457565b60038111156115935760405162461bcd60e51b81526004016109cf9061304b565b60038161159f33610eb3565b6115a99190613696565b11156115c75760405162461bcd60e51b81526004016109cf906134eb565b60006115d1610be9565b6115dc906001613696565b905060005b82811015610aec576115f33383611df5565b6115fe600183613696565b91508061160a81613759565b9150506115e1565b61161a611b73565b6001600160a01b031661162b611151565b6001600160a01b0316146116515760405162461bcd60e51b81526004016109cf906132d4565b6010805461ff001916610100179055565b600d5481565b611679611673611b73565b83611c36565b6116955760405162461bcd60e51b81526004016109cf90613559565b610d7884848484611e7a565b600c805461089590613724565b601054606090610100900460ff16156116d1576116ca82611ead565b9050610883565b601180546116de90613724565b80601f016020809104026020016040519081016040528092919081815260200182805461170a90613724565b80156117575780601f1061172c57610100808354040283529160200191611757565b820191906000526020600020905b81548152906001019060200180831161173a57829003601f168201915b50505050509050610883565b61176b611b73565b6001600160a01b031661177c611151565b6001600160a01b0316146117a25760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff16156117c55760405162461bcd60e51b81526004016109cf90613613565b600e805460ff19166001179055565b6117dc611b73565b6001600160a01b03166117ed611151565b6001600160a01b0316146118135760405162461bcd60e51b81526004016109cf906132d4565b6010805460ff19811660ff90911615179055565b61182f611b73565b6001600160a01b0316611840611151565b6001600160a01b0316146118665760405162461bcd60e51b81526004016109cf906132d4565b6040514790339082156108fc029083906000818181858888f19350505050158015610b6b573d6000803e3d6000fd5b61189d611b73565b6001600160a01b03166118ae611151565b6001600160a01b0316146118d45760405162461bcd60e51b81526004016109cf906132d4565b6001600160a01b0382166118fa5760405162461bcd60e51b81526004016109cf90612e4b565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a9059cbb906119419085908590600401612c05565b602060405180830381600087803b15801561195b57600080fd5b505af115801561196f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7891906129c7565b61199b611b73565b6001600160a01b03166119ac611151565b6001600160a01b0316146119d25760405162461bcd60e51b81526004016109cf906132d4565b600e5460ff16156119f55760405162461bcd60e51b81526004016109cf90613613565b8051610b6b906011906020840190612736565b611a10611b73565b6001600160a01b0316611a21611151565b6001600160a01b031614611a475760405162461bcd60e51b81526004016109cf906132d4565b600e54610100900460ff1615611a6f5760405162461bcd60e51b81526004016109cf90612efd565b600e805461ff001916610100179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60105460ff1681565b611abf611b73565b6001600160a01b0316611ad0611151565b6001600160a01b031614611af65760405162461bcd60e51b81526004016109cf906132d4565b6001600160a01b038116611b1c5760405162461bcd60e51b81526004016109cf90612e05565b611b2581611e0f565b50565b600e5460ff1681565b60006001600160e01b0319821663780e9d6360e01b1480610880575061088082611fc6565b6000908152600260205260409020546001600160a01b0316151590565b3390565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611bb982610e69565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611bfb82611b56565b611c175760405162461bcd60e51b81526004016109cf90613199565b6000828152600a602090815260409091208251610aec92840190612736565b6000611c4182611b56565b611c5d5760405162461bcd60e51b81526004016109cf90612fff565b6000611c6883610e69565b9050806001600160a01b0316846001600160a01b03161480611ca35750836001600160a01b0316611c98846109a8565b6001600160a01b0316145b80611cb35750611cb38185611a80565b949350505050565b826001600160a01b0316611cce82610e69565b6001600160a01b031614611cf45760405162461bcd60e51b81526004016109cf90613309565b6001600160a01b038216611d1a5760405162461bcd60e51b81526004016109cf90612f34565b611d25838383612038565b611d30600082611b77565b6001600160a01b0383166000908152600360205260408120805460019290611d599084906136e1565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d87908490613696565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610b6b828260405180602001604052806000815250612043565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3b63ffffffff16151590565b611e85848484611cbb565b611e9184848484612076565b610d785760405162461bcd60e51b81526004016109cf90612d71565b6060611eb882611b56565b611ed45760405162461bcd60e51b81526004016109cf9061322b565b6000828152600a602052604081208054611eed90613724565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1990613724565b8015611f665780601f10611f3b57610100808354040283529160200191611f66565b820191906000526020600020905b815481529060010190602001808311611f4957829003601f168201915b505050505090506000611f776121aa565b9050805160001415611f8b57509050610883565b815115611fbd578082604051602001611fa5929190612aeb565b60405160208183030381529060405292505050610883565b611cb3846121b9565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061202957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061088057506108808261223c565b610aec83838361226e565b61204d83836122f7565b61205a6000848484612076565b610aec5760405162461bcd60e51b81526004016109cf90612d71565b600061208a846001600160a01b03166123e3565b1561219f57836001600160a01b031663150b7a026120a6611b73565b8786866040518563ffffffff1660e01b81526004016120c89493929190612bc9565b602060405180830381600087803b1580156120e257600080fd5b505af1925050508015612112575060408051601f3d908101601f1916820190925261210f918101906129ff565b60015b61216c573d808015612140576040519150601f19603f3d011682016040523d82523d6000602084013e612145565b606091505b5080516121645760405162461bcd60e51b81526004016109cf90612d71565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611cb3565b506001949350505050565b6060600f805461092590613724565b60606121c482611b56565b6121e05760405162461bcd60e51b81526004016109cf9061339d565b60006121ea6121aa565b9050600081511161220a5760405180602001604052806000815250612235565b80612214846123e9565b604051602001612225929190612aeb565b6040516020818303038152906040525b9392505050565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b612279838383610aec565b6001600160a01b0383166122955761229081612538565b6122b8565b816001600160a01b0316836001600160a01b0316146122b8576122b8838261257c565b6001600160a01b0382166122d4576122cf81612619565b610aec565b826001600160a01b0316826001600160a01b031614610aec57610aec82826126f2565b6001600160a01b03821661231d5760405162461bcd60e51b81526004016109cf906131f6565b61232681611b56565b156123435760405162461bcd60e51b81526004016109cf90612e91565b61234f60008383612038565b6001600160a01b0382166000908152600360205260408120805460019290612378908490613696565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b60608161242a575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610883565b8160005b8115612454578061243e81613759565b915061244d9050600a836136ae565b915061242e565b60008167ffffffffffffffff81111561247d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124a7576020820181803683370190505b5090505b8415611cb3576124bc6001836136e1565b91506124c9600a86613774565b6124d4906030613696565b60f81b8183815181106124f757634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612531600a866136ae565b94506124ab565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161258984610eb3565b61259391906136e1565b6000838152600760205260409020549091508082146125e6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061262b906001906136e1565b6000838152600960205260408120546008805493945090928490811061266157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061269057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806126d657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006126fd83610eb3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461274290613724565b90600052602060002090601f01602090048101928261276457600085556127aa565b82601f1061277d57805160ff19168380011785556127aa565b828001600101855582156127aa579182015b828111156127aa57825182559160200191906001019061278f565b506127b69291506127ba565b5090565b5b808211156127b657600081556001016127bb565b600067ffffffffffffffff808411156127ea576127ea6137b4565b604051601f8501601f19168101602001828111828210171561280e5761280e6137b4565b60405284815291508183850186101561282657600080fd5b8484602083013760006020868301015250509392505050565b600082601f83011261284f578081fd5b612235838335602085016127cf565b60006020828403121561286f578081fd5b8135612235816137ca565b6000806040838503121561288c578081fd5b8235612897816137ca565b915060208301356128a7816137ca565b809150509250929050565b6000806000606084860312156128c6578081fd5b83356128d1816137ca565b925060208401356128e1816137ca565b929592945050506040919091013590565b60008060008060808587031215612907578081fd5b8435612912816137ca565b93506020850135612922816137ca565b925060408501359150606085013567ffffffffffffffff811115612944578182fd5b8501601f81018713612954578182fd5b612963878235602084016127cf565b91505092959194509250565b60008060408385031215612981578182fd5b823561298c816137ca565b915060208301356128a7816137df565b600080604083850312156129ae578182fd5b82356129b9816137ca565b946020939093013593505050565b6000602082840312156129d8578081fd5b8151612235816137df565b6000602082840312156129f4578081fd5b8135612235816137ed565b600060208284031215612a10578081fd5b8151612235816137ed565b6000806000606084860312156128c6578283fd5b600060208284031215612a40578081fd5b813567ffffffffffffffff811115612a56578182fd5b611cb38482850161283f565b600060208284031215612a73578081fd5b5035919050565b60008060408385031215612a8c578182fd5b82359150602083013567ffffffffffffffff811115612aa9578182fd5b612ab58582860161283f565b9150509250929050565b60008151808452612ad78160208601602086016136f8565b601f01601f19169290920160200192915050565b60008351612afd8184602088016136f8565b835190830190612b118183602088016136f8565b01949350505050565b8154600090819060028104600180831680612b3657607f831692505b6020808410821415612b5657634e487b7160e01b87526022600452602487fd5b818015612b6a5760018114612b7b57612ba7565b60ff19861689528489019650612ba7565b612b848a61368a565b885b86811015612b9f5781548b820152908501908301612b86565b505084890196505b509498975050505050505050565b6001600160a01b0391909116815260200190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612bfb6080830184612abf565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015612c5657835183529284019291840191600101612c3a565b50909695505050505050565b901515815260200190565b6000602082526122356020830184612abf565b6020808252601e908201527f5052503a20507572636861736520776f756c6420657863656564206361700000604082015260600190565b60208082526021908201527f5052503a2043616e6e6f74206d696e7420746f207a65726f206164647265737360408201527f2e00000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6020808252601b908201527f5052503a2046726565206d696e74206e6f742066696e69736865640000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526026908201527f43616e6e6f74207265636f76657220746f6b656e7320746f207468652030206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f5052503a20416d6f756e742065786365656473206d617820706572206d696e74604082015260600190565b6020808252601f908201527f5052503a2050726f76656e616e636520616c72656164792066726f7a656e2e00604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601d908201527f5052503a204f6e6c7920666f722066616c6c6261636b206d696e746572000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601d908201527f5052503a204f6e6c7920332066726565206d696e747320706572207478000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201527f6578697374656e7420746f6b656e000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f722060408201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f5052503a2043616e206f6e6c7920626520726564756365642100000000000000604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526022908201527f5052503a204554482076616c75652073656e74206973206e6f7420636f72726560408201527f6374000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f5052503a204d696e7420776f756c642065786365656420636170000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f5052503a204f6e6c792033207065722061646472657373000000000000000000604082015260600190565b6020808252601f908201527f5052503a204672656520746f206d696e74206c696d6974207265616368656400604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f5052503a204d6574616461746120616c72656164792066726f7a656e2e000000604082015260600190565b60208082526017908201527f5052503a2053616c65206973206e6f7420616374697665000000000000000000604082015260600190565b90815260200190565b60009081526020902090565b600082198211156136a9576136a9613788565b500190565b6000826136bd576136bd61379e565b500490565b60008160001904831182151516156136dc576136dc613788565b500290565b6000828210156136f3576136f3613788565b500390565b60005b838110156137135781810151838201526020016136fb565b83811115610d785750506000910152565b60028104600182168061373857607f821691505b6020821081141561109c57634e487b7160e01b600052602260045260246000fd5b600060001982141561376d5761376d613788565b5060010190565b6000826137835761378361379e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b2557600080fd5b8015158114611b2557600080fd5b6001600160e01b031981168114611b2557600080fdfea2646970667358221220f725c2a1708ccf980c6e9a9cff5fef8183d4e53234afb1d3ae41a410c6d582a464736f6c63430008000033

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.