ETH Price: $3,400.96 (+1.84%)

Token

TheLittleRascals (TLR)
 

Overview

Max Total Supply

603 TLR

Holders

51

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 TLR
0xfacaa39d50006e2adf348144ab9f3209a5ff9934
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:
TheLittleRascals

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : TheLittleRascals.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract TheLittleRascals is ERC721A, Ownable {
    using Strings for uint256;

    // [--TLR SUPPLY--]
    uint256 public constant MAX_SUPPLY = 3333; 

    // [--TLR PRICE--]
    uint256 public publicSalePrice; 
    uint256 public preSalePrice;
    uint256 public teamMintPrice = 0.1 ether;
    uint256 public communitySalePrice; 

    // [--TLR MAX MINT--]
    uint256 public maxCommunityMint = 1;
    uint256 public maxPublicSaleMint = 5;

    // [--TLR MINT STATUS--]
    bool public isPreSaleActive;
    bool public isCommunitySaleActive;
    bool public isPublicSaleActive;

    // [--TLR METADATA--]
    bool public isRevealed;
    string private _baseTokenURI;

    // [--TLR MERKLEROOT--]
    bytes32 public preSaleMerkleRoot;
    bytes32 public communitySaleMerkleRoot;

    // [--MINTED--]
    mapping(address => uint256) public preSaleMinted;
    mapping(address => bool) public communitySaleMinted;
    mapping(address => uint256) public publicSaleMinted;



    // [--CONSTRUCTOR--]   
    constructor() ERC721A("TheLittleRascals", "TLR") {}

    /**
     * @notice must be an EOA
     */
    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    // [--MINT--]
    // PRESALE MINT
    function preSaleMint(uint256 _quantity, uint256 _maxAmount,  bytes32[] calldata _proof) external payable callerIsUser {
        require(isPreSaleActive, "PRESALE NOT ACTIVE");
        require(msg.value == preSalePrice * _quantity, "NEED TO SEND CORRECT ETH AMOUNT");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "MAX SUPPLY REACHED" );
        require(preSaleMinted[msg.sender] + _quantity <= _maxAmount, "EXCEEDS MAX CLAIM"); 
        bytes32 sender = keccak256(abi.encodePacked(msg.sender, _maxAmount));
        bool isValidProof = MerkleProof.verify(_proof, preSaleMerkleRoot, sender);
        require(isValidProof, "INVALID PROOF");

        preSaleMinted[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    // SALE MINT
    function communitySaleMint(uint256 _maxAmount, bytes32[] calldata _proof) external payable callerIsUser {
        require(isCommunitySaleActive, "COMMUNITY SALE NOT ACTIVE");
        require(msg.value == communitySalePrice, "NEED TO SEND CORRECT ETH AMOUNT");
        require(totalSupply() + maxCommunityMint <= MAX_SUPPLY, "MAX SUPPLY REACHED" );
        require(!communitySaleMinted[msg.sender], "EXCEEDS MAX CLAIM"); 
        bytes32 sender = keccak256(abi.encodePacked(msg.sender, _maxAmount));
        bool isValidProof = MerkleProof.verify(_proof, communitySaleMerkleRoot, sender);
        require(isValidProof, "INVALID PROOF");

        communitySaleMinted[msg.sender] = true;
        _safeMint(msg.sender, maxCommunityMint);
    }
    
    // PUBLIC MINT
    function publicSaleMint(uint256 _quantity) external payable callerIsUser {
        require(isPublicSaleActive, "PUBLIC SALE IS NOT ACTIVE");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "MAX SUPPLY REACHED" );
        require(publicSaleMinted[msg.sender] + _quantity <= maxPublicSaleMint, "EXCEEDS MAX MINTS PER ADDRESS"); 
        require(msg.value == publicSalePrice * _quantity, "NEED TO SEND CORRECT ETH AMOUNT");

        publicSaleMinted[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }


    // TEAM MINT
    function teamMint(uint256 _quantity) external payable onlyOwner {
        require(totalSupply() + _quantity <= MAX_SUPPLY, "MAX SUPPLY REACHED" );
        require(msg.value == teamMintPrice, "NEED TO SEND CORRECT ETH AMOUNT");
        // [--FOUNDER MINT--]     
        _safeMint(msg.sender, _quantity);
    }

    // [-- SALE CONFIG--]
    /**
     * @notice activating or deactivating presale status
     */
    function setPreSaleStatus(bool _status) external onlyOwner {
        isPreSaleActive = _status;
    }
    
    /**
     * @notice activating or deactivating community sale status
     */
    function setCommunitySaleStatus(bool _status) external onlyOwner {
        isCommunitySaleActive = _status;
    }

    /**
     * @notice activating or deactivating public sale
     */
    function setPublicSaleStatus(bool _status) external onlyOwner {
        isPublicSaleActive = _status;
    }

    // [--PRICE SETTING--]
    /**
     * @notice set presale price
     */
    function setPreSalePrice(uint256 _price) external onlyOwner {
        preSalePrice = _price;
    }

    /**
     * @notice set whitelist price
     */
    function setCommunitySalePrice(uint256 _price) external onlyOwner {
        communitySalePrice = _price;
    }

    /**
     * @notice set public sale price
     */
    function setPublicSalePrice(uint256 _price) external onlyOwner {
        publicSalePrice = _price;
    }

    // [--MERKLEROOT SETTING--]
    /**
     * @notice set presale merkleroot
     */
    function setPresaleMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        preSaleMerkleRoot = _merkleRoot;
    }

    /**
     * @notice set community sale merkleroot
     */
    function setCommunitySaleMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        communitySaleMerkleRoot = _merkleRoot;
    }

    
    // [--METADATA URI SETTING--]
    /**
     * @notice tokenURI
     */
    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for non-existent token");
        if (!isRevealed) {
            return _baseTokenURI;
        } else{
            return string(abi.encodePacked(_baseTokenURI, _tokenId.toString()));
        }
    }

    /**
     * @notice set base URI
     */
    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }   

    /**
     * @notice set IsRevealed to true or false
     */
    function setIsRevealed(bool _reveal) external onlyOwner {
        isRevealed = _reveal;
    }   

    /** 
    *   @notice set startTokenId to 1
    */
    function _startTokenId() internal view virtual override(ERC721A) returns (uint256) {
        return 1;
    }

    // [--WITHDRAW--]

    /**
     * @notice withdraw funds to 
     */

    function withdrawFunds() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
  }
}

File 2 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 4 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

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

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

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

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 6 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

File 11 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"communitySaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"communitySaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"communitySaleMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communitySalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"isCommunitySaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCommunityMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSaleMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"uint256","name":"_maxAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"preSaleMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSaleMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setCommunitySaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setCommunitySalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setCommunitySaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_reveal","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPreSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPreSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setPresaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"teamMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267016345785d8a0000600b556001600d556005600e553480156200002757600080fd5b506040518060400160405280601081526020017f5468654c6974746c6552617363616c73000000000000000000000000000000008152506040518060400160405280600381526020017f544c5200000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000ac929190620001db565b508060039080519060200190620000c5929190620001db565b50620000d66200010460201b60201c565b6000819055505050620000fe620000f26200010d60201b60201c565b6200011560201b60201c565b620002f0565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e990620002ba565b90600052602060002090601f0160209004810192826200020d576000855562000259565b82601f106200022857805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002585782518255916020019190600101906200023b565b5b5090506200026891906200026c565b5090565b5b80821115620002875760008160009055506001016200026d565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002d357607f821691505b60208210811415620002ea57620002e96200028b565b5b50919050565b61458280620003006000396000f3fe6080604052600436106102935760003560e01c80635e326b921161015a5780639eb00974116100c1578063c87b56dd1161007a578063c87b56dd146109a4578063e757c17d146109e1578063e985e9c514610a0c578063eb4883ab14610a49578063f2fde38b14610a74578063f61a5ea114610a9d57610293565b80639eb00974146108b9578063a22cb465146108e4578063a85d8fb11461090d578063b3ab66b014610936578063b423fe6714610952578063b88d4fde1461097b57610293565b8063791a251911610113578063791a2519146107bb5780637d7eee42146107e45780638da5cb5b1461080d57806395d89b41146108385780639b6860c8146108635780639d044ed31461088e57610293565b80635e326b92146106ba5780636352211e146106e3578063704e3d9d1461072057806370a082311461074b578063715018a614610788578063770c78361461079f57610293565b806324824fb1116101fe57806342842e0e116101b757806342842e0e146105ac57806343838845146105d557806349a5980a14610600578063529be43b1461062957806354214f691461066657806355f804b31461069157610293565b806324824fb1146104bb57806328d7b276146104e65780632a1ac8271461050f5780632fbba1151461053a57806332cb6b0c146105565780633a380fc61461058157610293565b806318160ddd1161025057806318160ddd146103ab5780631e84c413146103d657806321db70531461040157806323b872dd1461043e578063244b7e931461046757806324600fc3146104a457610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806309686f841461036657806316e8541314610382575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613293565b610ac6565b6040516102cc91906132db565b60405180910390f35b3480156102e157600080fd5b506102ea610ba8565b6040516102f7919061338f565b60405180910390f35b34801561030c57600080fd5b50610327600480360381019061032291906133e7565b610c3a565b6040516103349190613455565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f919061349c565b610cb6565b005b610380600480360381019061037b9190613541565b610dc1565b005b34801561038e57600080fd5b506103a960048036038101906103a491906133e7565b6110d8565b005b3480156103b757600080fd5b506103c06110ea565b6040516103cd91906135c4565b60405180910390f35b3480156103e257600080fd5b506103eb611101565b6040516103f891906132db565b60405180910390f35b34801561040d57600080fd5b50610428600480360381019061042391906135df565b611114565b60405161043591906132db565b60405180910390f35b34801561044a57600080fd5b506104656004803603810190610460919061360c565b611134565b005b34801561047357600080fd5b5061048e600480360381019061048991906135df565b611144565b60405161049b91906135c4565b60405180910390f35b3480156104b057600080fd5b506104b961115c565b005b3480156104c757600080fd5b506104d0611213565b6040516104dd91906135c4565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190613695565b611219565b005b34801561051b57600080fd5b5061052461122b565b60405161053191906135c4565b60405180910390f35b610554600480360381019061054f91906133e7565b611231565b005b34801561056257600080fd5b5061056b6112e1565b60405161057891906135c4565b60405180910390f35b34801561058d57600080fd5b506105966112e7565b6040516105a391906135c4565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce919061360c565b6112ed565b005b3480156105e157600080fd5b506105ea61130d565b6040516105f791906136d1565b60405180910390f35b34801561060c57600080fd5b5061062760048036038101906106229190613718565b611313565b005b34801561063557600080fd5b50610650600480360381019061064b91906135df565b611338565b60405161065d91906135c4565b60405180910390f35b34801561067257600080fd5b5061067b611350565b60405161068891906132db565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b3919061379b565b611363565b005b3480156106c657600080fd5b506106e160048036038101906106dc9190613718565b611381565b005b3480156106ef57600080fd5b5061070a600480360381019061070591906133e7565b6113a6565b6040516107179190613455565b60405180910390f35b34801561072c57600080fd5b506107356113bc565b60405161074291906135c4565b60405180910390f35b34801561075757600080fd5b50610772600480360381019061076d91906135df565b6113c2565b60405161077f91906135c4565b60405180910390f35b34801561079457600080fd5b5061079d611492565b005b6107b960048036038101906107b491906137e8565b6114a6565b005b3480156107c757600080fd5b506107e260048036038101906107dd91906133e7565b6117b7565b005b3480156107f057600080fd5b5061080b600480360381019061080691906133e7565b6117c9565b005b34801561081957600080fd5b506108226117db565b60405161082f9190613455565b60405180910390f35b34801561084457600080fd5b5061084d611805565b60405161085a919061338f565b60405180910390f35b34801561086f57600080fd5b50610878611897565b60405161088591906135c4565b60405180910390f35b34801561089a57600080fd5b506108a361189d565b6040516108b091906132db565b60405180910390f35b3480156108c557600080fd5b506108ce6118b0565b6040516108db91906136d1565b60405180910390f35b3480156108f057600080fd5b5061090b60048036038101906109069190613848565b6118b6565b005b34801561091957600080fd5b50610934600480360381019061092f9190613718565b611a2e565b005b610950600480360381019061094b91906133e7565b611a53565b005b34801561095e57600080fd5b5061097960048036038101906109749190613718565b611ca8565b005b34801561098757600080fd5b506109a2600480360381019061099d91906139b8565b611ccd565b005b3480156109b057600080fd5b506109cb60048036038101906109c691906133e7565b611d49565b6040516109d8919061338f565b60405180910390f35b3480156109ed57600080fd5b506109f6611e6c565b604051610a0391906135c4565b60405180910390f35b348015610a1857600080fd5b50610a336004803603810190610a2e9190613a3b565b611e72565b604051610a4091906132db565b60405180910390f35b348015610a5557600080fd5b50610a5e611f06565b604051610a6b91906132db565b60405180910390f35b348015610a8057600080fd5b50610a9b6004803603810190610a9691906135df565b611f19565b005b348015610aa957600080fd5b50610ac46004803603810190610abf9190613695565b611f9d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ba15750610ba082611faf565b5b9050919050565b606060028054610bb790613aaa565b80601f0160208091040260200160405190810160405280929190818152602001828054610be390613aaa565b8015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b5050505050905090565b6000610c4582612019565b610c7b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc1826113a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d29576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d48612067565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d7a5750610d7881610d73612067565b611e72565b155b15610db1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dbc83838361206f565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2690613b28565b60405180910390fd5b600f60009054906101000a900460ff16610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7590613b94565b60405180910390fd5b83600a54610e8c9190613be3565b3414610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490613c89565b60405180910390fd5b610d0584610ed96110ea565b610ee39190613ca9565b1115610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90613d4b565b60405180910390fd5b8284601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f709190613ca9565b1115610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa890613db7565b60405180910390fd5b60003384604051602001610fc6929190613e40565b604051602081830303815290604052805190602001209050600061102e848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115484612121565b905080611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106790613eb8565b60405180910390fd5b85601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110bf9190613ca9565b925050819055506110d03387612138565b505050505050565b6110e0612156565b80600c8190555050565b60006110f46121d4565b6001546000540303905090565b600f60029054906101000a900460ff1681565b60146020528060005260406000206000915054906101000a900460ff1681565b61113f8383836121dd565b505050565b60156020528060005260406000206000915090505481565b611164612156565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161118a90613f09565b60006040518083038185875af1925050503d80600081146111c7576040519150601f19603f3d011682016040523d82523d6000602084013e6111cc565b606091505b5050905080611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790613f6a565b60405180910390fd5b50565b600d5481565b611221612156565b8060118190555050565b600c5481565b611239612156565b610d05816112456110ea565b61124f9190613ca9565b1115611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790613d4b565b60405180910390fd5b600b5434146112d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cb90613c89565b60405180910390fd5b6112de3382612138565b50565b610d0581565b600b5481565b61130883838360405180602001604052806000815250611ccd565b505050565b60115481565b61131b612156565b80600f60036101000a81548160ff02191690831515021790555050565b60136020528060005260406000206000915090505481565b600f60039054906101000a900460ff1681565b61136b612156565b81816010919061137c929190613141565b505050565b611389612156565b80600f60006101000a81548160ff02191690831515021790555050565b60006113b182612693565b600001519050919050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561142a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61149a612156565b6114a46000612922565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b90613b28565b60405180910390fd5b600f60019054906101000a900460ff16611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90613fd6565b60405180910390fd5b600c5434146115a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159e90613c89565b60405180910390fd5b610d05600d546115b56110ea565b6115bf9190613ca9565b1115611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f790613d4b565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490613db7565b60405180910390fd5b600033846040516020016116a2929190613e40565b604051602081830303815290604052805190602001209050600061170a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060125484612121565b90508061174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390613eb8565b60405180910390fd5b6001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117b033600d54612138565b5050505050565b6117bf612156565b8060098190555050565b6117d1612156565b80600a8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461181490613aaa565b80601f016020809104026020016040519081016040528092919081815260200182805461184090613aaa565b801561188d5780601f106118625761010080835404028352916020019161188d565b820191906000526020600020905b81548152906001019060200180831161187057829003601f168201915b5050505050905090565b60095481565b600f60009054906101000a900460ff1681565b60125481565b6118be612067565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611923576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611930612067565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119dd612067565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2291906132db565b60405180910390a35050565b611a36612156565b80600f60016101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890613b28565b60405180910390fd5b600f60029054906101000a900460ff16611b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0790614042565b60405180910390fd5b610d0581611b1c6110ea565b611b269190613ca9565b1115611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90613d4b565b60405180910390fd5b600e5481601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bb59190613ca9565b1115611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed906140ae565b60405180910390fd5b80600954611c049190613be3565b3414611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90613c89565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c949190613ca9565b92505081905550611ca53382612138565b50565b611cb0612156565b80600f60026101000a81548160ff02191690831515021790555050565b611cd88484846121dd565b611cf78373ffffffffffffffffffffffffffffffffffffffff166129e8565b8015611d0c5750611d0a84848484612a0b565b155b15611d43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611d5482612019565b611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a9061411a565b60405180910390fd5b600f60039054906101000a900460ff16611e395760108054611db490613aaa565b80601f0160208091040260200160405190810160405280929190818152602001828054611de090613aaa565b8015611e2d5780601f10611e0257610100808354040283529160200191611e2d565b820191906000526020600020905b815481529060010190602001808311611e1057829003601f168201915b50505050509050611e67565b6010611e4483612b5c565b604051602001611e5592919061420a565b60405160208183030381529060405290505b919050565b600a5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60019054906101000a900460ff1681565b611f21612156565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f88906142a0565b60405180910390fd5b611f9a81612922565b50565b611fa5612156565b8060128190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816120246121d4565b11158015612033575060005482105b8015612060575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60008261212e8584612cbd565b1490509392505050565b612152828260405180602001604052806000815250612d13565b5050565b61215e612067565b73ffffffffffffffffffffffffffffffffffffffff1661217c6117db565b73ffffffffffffffffffffffffffffffffffffffff16146121d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c99061430c565b60405180910390fd5b565b60006001905090565b60006121e882612693565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612253576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612274612067565b73ffffffffffffffffffffffffffffffffffffffff1614806122a357506122a28561229d612067565b611e72565b5b806122e857506122b1612067565b73ffffffffffffffffffffffffffffffffffffffff166122d084610c3a565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612321576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612388576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123958585856001612d25565b6123a16000848761206f565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561262157600054821461262057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461268c8585856001612d2b565b5050505050565b61269b6131c7565b6000829050806126a96121d4565b111580156126b8575060005481105b156128eb576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128e957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127cd57809250505061291d565b5b6001156128e857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128e357809250505061291d565b6127ce565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a31612067565b8786866040518563ffffffff1660e01b8152600401612a539493929190614381565b6020604051808303816000875af1925050508015612a8f57506040513d601f19601f82011682018060405250810190612a8c91906143e2565b60015b612b09573d8060008114612abf576040519150601f19603f3d011682016040523d82523d6000602084013e612ac4565b606091505b50600081511415612b01576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612ba4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb8565b600082905060005b60008214612bd6578080612bbf9061440f565b915050600a82612bcf9190614487565b9150612bac565b60008167ffffffffffffffff811115612bf257612bf161388d565b5b6040519080825280601f01601f191660200182016040528015612c245781602001600182028036833780820191505090505b5090505b60008514612cb157600182612c3d91906144b8565b9150600a85612c4c91906144ec565b6030612c589190613ca9565b60f81b818381518110612c6e57612c6d61451d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612caa9190614487565b9450612c28565b8093505050505b919050565b60008082905060005b8451811015612d0857612cf382868381518110612ce657612ce561451d565b5b6020026020010151612d31565b91508080612d009061440f565b915050612cc6565b508091505092915050565b612d208383836001612d5c565b505050565b50505050565b50505050565b6000818310612d4957612d44828461312a565b612d54565b612d53838361312a565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612dc9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612e04576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e116000868387612d25565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612fdb5750612fda8773ffffffffffffffffffffffffffffffffffffffff166129e8565b5b156130a1575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130506000888480600101955088612a0b565b613086576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612fe157826000541461309c57600080fd5b61310d565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156130a2575b8160008190555050506131236000868387612d2b565b5050505050565b600082600052816020526040600020905092915050565b82805461314d90613aaa565b90600052602060002090601f01602090048101928261316f57600085556131b6565b82601f1061318857803560ff19168380011785556131b6565b828001600101855582156131b6579182015b828111156131b557823582559160200191906001019061319a565b5b5090506131c3919061320a565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561322357600081600090555060010161320b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132708161323b565b811461327b57600080fd5b50565b60008135905061328d81613267565b92915050565b6000602082840312156132a9576132a8613231565b5b60006132b78482850161327e565b91505092915050565b60008115159050919050565b6132d5816132c0565b82525050565b60006020820190506132f060008301846132cc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613330578082015181840152602081019050613315565b8381111561333f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613361826132f6565b61336b8185613301565b935061337b818560208601613312565b61338481613345565b840191505092915050565b600060208201905081810360008301526133a98184613356565b905092915050565b6000819050919050565b6133c4816133b1565b81146133cf57600080fd5b50565b6000813590506133e1816133bb565b92915050565b6000602082840312156133fd576133fc613231565b5b600061340b848285016133d2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061343f82613414565b9050919050565b61344f81613434565b82525050565b600060208201905061346a6000830184613446565b92915050565b61347981613434565b811461348457600080fd5b50565b60008135905061349681613470565b92915050565b600080604083850312156134b3576134b2613231565b5b60006134c185828601613487565b92505060206134d2858286016133d2565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613501576135006134dc565b5b8235905067ffffffffffffffff81111561351e5761351d6134e1565b5b60208301915083602082028301111561353a576135396134e6565b5b9250929050565b6000806000806060858703121561355b5761355a613231565b5b6000613569878288016133d2565b945050602061357a878288016133d2565b935050604085013567ffffffffffffffff81111561359b5761359a613236565b5b6135a7878288016134eb565b925092505092959194509250565b6135be816133b1565b82525050565b60006020820190506135d960008301846135b5565b92915050565b6000602082840312156135f5576135f4613231565b5b600061360384828501613487565b91505092915050565b60008060006060848603121561362557613624613231565b5b600061363386828701613487565b935050602061364486828701613487565b9250506040613655868287016133d2565b9150509250925092565b6000819050919050565b6136728161365f565b811461367d57600080fd5b50565b60008135905061368f81613669565b92915050565b6000602082840312156136ab576136aa613231565b5b60006136b984828501613680565b91505092915050565b6136cb8161365f565b82525050565b60006020820190506136e660008301846136c2565b92915050565b6136f5816132c0565b811461370057600080fd5b50565b600081359050613712816136ec565b92915050565b60006020828403121561372e5761372d613231565b5b600061373c84828501613703565b91505092915050565b60008083601f84011261375b5761375a6134dc565b5b8235905067ffffffffffffffff811115613778576137776134e1565b5b602083019150836001820283011115613794576137936134e6565b5b9250929050565b600080602083850312156137b2576137b1613231565b5b600083013567ffffffffffffffff8111156137d0576137cf613236565b5b6137dc85828601613745565b92509250509250929050565b60008060006040848603121561380157613800613231565b5b600061380f868287016133d2565b935050602084013567ffffffffffffffff8111156138305761382f613236565b5b61383c868287016134eb565b92509250509250925092565b6000806040838503121561385f5761385e613231565b5b600061386d85828601613487565b925050602061387e85828601613703565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138c582613345565b810181811067ffffffffffffffff821117156138e4576138e361388d565b5b80604052505050565b60006138f7613227565b905061390382826138bc565b919050565b600067ffffffffffffffff8211156139235761392261388d565b5b61392c82613345565b9050602081019050919050565b82818337600083830152505050565b600061395b61395684613908565b6138ed565b90508281526020810184848401111561397757613976613888565b5b613982848285613939565b509392505050565b600082601f83011261399f5761399e6134dc565b5b81356139af848260208601613948565b91505092915050565b600080600080608085870312156139d2576139d1613231565b5b60006139e087828801613487565b94505060206139f187828801613487565b9350506040613a02878288016133d2565b925050606085013567ffffffffffffffff811115613a2357613a22613236565b5b613a2f8782880161398a565b91505092959194509250565b60008060408385031215613a5257613a51613231565b5b6000613a6085828601613487565b9250506020613a7185828601613487565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ac257607f821691505b60208210811415613ad657613ad5613a7b565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613b12601e83613301565b9150613b1d82613adc565b602082019050919050565b60006020820190508181036000830152613b4181613b05565b9050919050565b7f50524553414c45204e4f54204143544956450000000000000000000000000000600082015250565b6000613b7e601283613301565b9150613b8982613b48565b602082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bee826133b1565b9150613bf9836133b1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c3257613c31613bb4565b5b828202905092915050565b7f4e45454420544f2053454e4420434f52524543542045544820414d4f554e5400600082015250565b6000613c73601f83613301565b9150613c7e82613c3d565b602082019050919050565b60006020820190508181036000830152613ca281613c66565b9050919050565b6000613cb4826133b1565b9150613cbf836133b1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf457613cf3613bb4565b5b828201905092915050565b7f4d415820535550504c5920524541434845440000000000000000000000000000600082015250565b6000613d35601283613301565b9150613d4082613cff565b602082019050919050565b60006020820190508181036000830152613d6481613d28565b9050919050565b7f45584345454453204d415820434c41494d000000000000000000000000000000600082015250565b6000613da1601183613301565b9150613dac82613d6b565b602082019050919050565b60006020820190508181036000830152613dd081613d94565b9050919050565b60008160601b9050919050565b6000613def82613dd7565b9050919050565b6000613e0182613de4565b9050919050565b613e19613e1482613434565b613df6565b82525050565b6000819050919050565b613e3a613e35826133b1565b613e1f565b82525050565b6000613e4c8285613e08565b601482019150613e5c8284613e29565b6020820191508190509392505050565b7f494e56414c49442050524f4f4600000000000000000000000000000000000000600082015250565b6000613ea2600d83613301565b9150613ead82613e6c565b602082019050919050565b60006020820190508181036000830152613ed181613e95565b9050919050565b600081905092915050565b50565b6000613ef3600083613ed8565b9150613efe82613ee3565b600082019050919050565b6000613f1482613ee6565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613f54601083613301565b9150613f5f82613f1e565b602082019050919050565b60006020820190508181036000830152613f8381613f47565b9050919050565b7f434f4d4d554e4954592053414c45204e4f542041435449564500000000000000600082015250565b6000613fc0601983613301565b9150613fcb82613f8a565b602082019050919050565b60006020820190508181036000830152613fef81613fb3565b9050919050565b7f5055424c49432053414c45204953204e4f542041435449564500000000000000600082015250565b600061402c601983613301565b915061403782613ff6565b602082019050919050565b6000602082019050818103600083015261405b8161401f565b9050919050565b7f45584345454453204d4158204d494e5453205045522041444452455353000000600082015250565b6000614098601d83613301565b91506140a382614062565b602082019050919050565b600060208201905081810360008301526140c78161408b565b9050919050565b7f55524920717565727920666f72206e6f6e2d6578697374656e7420746f6b656e600082015250565b6000614104602083613301565b915061410f826140ce565b602082019050919050565b60006020820190508181036000830152614133816140f7565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461416781613aaa565b614171818661413a565b9450600182166000811461418c576001811461419d576141d0565b60ff198316865281860193506141d0565b6141a685614145565b60005b838110156141c8578154818901526001820191506020810190506141a9565b838801955050505b50505092915050565b60006141e4826132f6565b6141ee818561413a565b93506141fe818560208601613312565b80840191505092915050565b6000614216828561415a565b915061422282846141d9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061428a602683613301565b91506142958261422e565b604082019050919050565b600060208201905081810360008301526142b98161427d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142f6602083613301565b9150614301826142c0565b602082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143538261432c565b61435d8185614337565b935061436d818560208601613312565b61437681613345565b840191505092915050565b60006080820190506143966000830187613446565b6143a36020830186613446565b6143b060408301856135b5565b81810360608301526143c28184614348565b905095945050505050565b6000815190506143dc81613267565b92915050565b6000602082840312156143f8576143f7613231565b5b6000614406848285016143cd565b91505092915050565b600061441a826133b1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444d5761444c613bb4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614492826133b1565b915061449d836133b1565b9250826144ad576144ac614458565b5b828204905092915050565b60006144c3826133b1565b91506144ce836133b1565b9250828210156144e1576144e0613bb4565b5b828203905092915050565b60006144f7826133b1565b9150614502836133b1565b92508261451257614511614458565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205fcee5e64ac6618fc4d1f7121122fe5f6f1c9a34978d56e9656218c871cf3b1764736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102935760003560e01c80635e326b921161015a5780639eb00974116100c1578063c87b56dd1161007a578063c87b56dd146109a4578063e757c17d146109e1578063e985e9c514610a0c578063eb4883ab14610a49578063f2fde38b14610a74578063f61a5ea114610a9d57610293565b80639eb00974146108b9578063a22cb465146108e4578063a85d8fb11461090d578063b3ab66b014610936578063b423fe6714610952578063b88d4fde1461097b57610293565b8063791a251911610113578063791a2519146107bb5780637d7eee42146107e45780638da5cb5b1461080d57806395d89b41146108385780639b6860c8146108635780639d044ed31461088e57610293565b80635e326b92146106ba5780636352211e146106e3578063704e3d9d1461072057806370a082311461074b578063715018a614610788578063770c78361461079f57610293565b806324824fb1116101fe57806342842e0e116101b757806342842e0e146105ac57806343838845146105d557806349a5980a14610600578063529be43b1461062957806354214f691461066657806355f804b31461069157610293565b806324824fb1146104bb57806328d7b276146104e65780632a1ac8271461050f5780632fbba1151461053a57806332cb6b0c146105565780633a380fc61461058157610293565b806318160ddd1161025057806318160ddd146103ab5780631e84c413146103d657806321db70531461040157806323b872dd1461043e578063244b7e931461046757806324600fc3146104a457610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806309686f841461036657806316e8541314610382575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613293565b610ac6565b6040516102cc91906132db565b60405180910390f35b3480156102e157600080fd5b506102ea610ba8565b6040516102f7919061338f565b60405180910390f35b34801561030c57600080fd5b50610327600480360381019061032291906133e7565b610c3a565b6040516103349190613455565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f919061349c565b610cb6565b005b610380600480360381019061037b9190613541565b610dc1565b005b34801561038e57600080fd5b506103a960048036038101906103a491906133e7565b6110d8565b005b3480156103b757600080fd5b506103c06110ea565b6040516103cd91906135c4565b60405180910390f35b3480156103e257600080fd5b506103eb611101565b6040516103f891906132db565b60405180910390f35b34801561040d57600080fd5b50610428600480360381019061042391906135df565b611114565b60405161043591906132db565b60405180910390f35b34801561044a57600080fd5b506104656004803603810190610460919061360c565b611134565b005b34801561047357600080fd5b5061048e600480360381019061048991906135df565b611144565b60405161049b91906135c4565b60405180910390f35b3480156104b057600080fd5b506104b961115c565b005b3480156104c757600080fd5b506104d0611213565b6040516104dd91906135c4565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190613695565b611219565b005b34801561051b57600080fd5b5061052461122b565b60405161053191906135c4565b60405180910390f35b610554600480360381019061054f91906133e7565b611231565b005b34801561056257600080fd5b5061056b6112e1565b60405161057891906135c4565b60405180910390f35b34801561058d57600080fd5b506105966112e7565b6040516105a391906135c4565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce919061360c565b6112ed565b005b3480156105e157600080fd5b506105ea61130d565b6040516105f791906136d1565b60405180910390f35b34801561060c57600080fd5b5061062760048036038101906106229190613718565b611313565b005b34801561063557600080fd5b50610650600480360381019061064b91906135df565b611338565b60405161065d91906135c4565b60405180910390f35b34801561067257600080fd5b5061067b611350565b60405161068891906132db565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b3919061379b565b611363565b005b3480156106c657600080fd5b506106e160048036038101906106dc9190613718565b611381565b005b3480156106ef57600080fd5b5061070a600480360381019061070591906133e7565b6113a6565b6040516107179190613455565b60405180910390f35b34801561072c57600080fd5b506107356113bc565b60405161074291906135c4565b60405180910390f35b34801561075757600080fd5b50610772600480360381019061076d91906135df565b6113c2565b60405161077f91906135c4565b60405180910390f35b34801561079457600080fd5b5061079d611492565b005b6107b960048036038101906107b491906137e8565b6114a6565b005b3480156107c757600080fd5b506107e260048036038101906107dd91906133e7565b6117b7565b005b3480156107f057600080fd5b5061080b600480360381019061080691906133e7565b6117c9565b005b34801561081957600080fd5b506108226117db565b60405161082f9190613455565b60405180910390f35b34801561084457600080fd5b5061084d611805565b60405161085a919061338f565b60405180910390f35b34801561086f57600080fd5b50610878611897565b60405161088591906135c4565b60405180910390f35b34801561089a57600080fd5b506108a361189d565b6040516108b091906132db565b60405180910390f35b3480156108c557600080fd5b506108ce6118b0565b6040516108db91906136d1565b60405180910390f35b3480156108f057600080fd5b5061090b60048036038101906109069190613848565b6118b6565b005b34801561091957600080fd5b50610934600480360381019061092f9190613718565b611a2e565b005b610950600480360381019061094b91906133e7565b611a53565b005b34801561095e57600080fd5b5061097960048036038101906109749190613718565b611ca8565b005b34801561098757600080fd5b506109a2600480360381019061099d91906139b8565b611ccd565b005b3480156109b057600080fd5b506109cb60048036038101906109c691906133e7565b611d49565b6040516109d8919061338f565b60405180910390f35b3480156109ed57600080fd5b506109f6611e6c565b604051610a0391906135c4565b60405180910390f35b348015610a1857600080fd5b50610a336004803603810190610a2e9190613a3b565b611e72565b604051610a4091906132db565b60405180910390f35b348015610a5557600080fd5b50610a5e611f06565b604051610a6b91906132db565b60405180910390f35b348015610a8057600080fd5b50610a9b6004803603810190610a9691906135df565b611f19565b005b348015610aa957600080fd5b50610ac46004803603810190610abf9190613695565b611f9d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ba15750610ba082611faf565b5b9050919050565b606060028054610bb790613aaa565b80601f0160208091040260200160405190810160405280929190818152602001828054610be390613aaa565b8015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b5050505050905090565b6000610c4582612019565b610c7b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc1826113a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d29576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d48612067565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d7a5750610d7881610d73612067565b611e72565b155b15610db1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dbc83838361206f565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2690613b28565b60405180910390fd5b600f60009054906101000a900460ff16610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7590613b94565b60405180910390fd5b83600a54610e8c9190613be3565b3414610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490613c89565b60405180910390fd5b610d0584610ed96110ea565b610ee39190613ca9565b1115610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90613d4b565b60405180910390fd5b8284601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f709190613ca9565b1115610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa890613db7565b60405180910390fd5b60003384604051602001610fc6929190613e40565b604051602081830303815290604052805190602001209050600061102e848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115484612121565b905080611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106790613eb8565b60405180910390fd5b85601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110bf9190613ca9565b925050819055506110d03387612138565b505050505050565b6110e0612156565b80600c8190555050565b60006110f46121d4565b6001546000540303905090565b600f60029054906101000a900460ff1681565b60146020528060005260406000206000915054906101000a900460ff1681565b61113f8383836121dd565b505050565b60156020528060005260406000206000915090505481565b611164612156565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161118a90613f09565b60006040518083038185875af1925050503d80600081146111c7576040519150601f19603f3d011682016040523d82523d6000602084013e6111cc565b606091505b5050905080611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790613f6a565b60405180910390fd5b50565b600d5481565b611221612156565b8060118190555050565b600c5481565b611239612156565b610d05816112456110ea565b61124f9190613ca9565b1115611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790613d4b565b60405180910390fd5b600b5434146112d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cb90613c89565b60405180910390fd5b6112de3382612138565b50565b610d0581565b600b5481565b61130883838360405180602001604052806000815250611ccd565b505050565b60115481565b61131b612156565b80600f60036101000a81548160ff02191690831515021790555050565b60136020528060005260406000206000915090505481565b600f60039054906101000a900460ff1681565b61136b612156565b81816010919061137c929190613141565b505050565b611389612156565b80600f60006101000a81548160ff02191690831515021790555050565b60006113b182612693565b600001519050919050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561142a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61149a612156565b6114a46000612922565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b90613b28565b60405180910390fd5b600f60019054906101000a900460ff16611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90613fd6565b60405180910390fd5b600c5434146115a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159e90613c89565b60405180910390fd5b610d05600d546115b56110ea565b6115bf9190613ca9565b1115611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f790613d4b565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561168d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168490613db7565b60405180910390fd5b600033846040516020016116a2929190613e40565b604051602081830303815290604052805190602001209050600061170a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060125484612121565b90508061174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390613eb8565b60405180910390fd5b6001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117b033600d54612138565b5050505050565b6117bf612156565b8060098190555050565b6117d1612156565b80600a8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461181490613aaa565b80601f016020809104026020016040519081016040528092919081815260200182805461184090613aaa565b801561188d5780601f106118625761010080835404028352916020019161188d565b820191906000526020600020905b81548152906001019060200180831161187057829003601f168201915b5050505050905090565b60095481565b600f60009054906101000a900460ff1681565b60125481565b6118be612067565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611923576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611930612067565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119dd612067565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2291906132db565b60405180910390a35050565b611a36612156565b80600f60016101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890613b28565b60405180910390fd5b600f60029054906101000a900460ff16611b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0790614042565b60405180910390fd5b610d0581611b1c6110ea565b611b269190613ca9565b1115611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90613d4b565b60405180910390fd5b600e5481601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bb59190613ca9565b1115611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed906140ae565b60405180910390fd5b80600954611c049190613be3565b3414611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90613c89565b60405180910390fd5b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c949190613ca9565b92505081905550611ca53382612138565b50565b611cb0612156565b80600f60026101000a81548160ff02191690831515021790555050565b611cd88484846121dd565b611cf78373ffffffffffffffffffffffffffffffffffffffff166129e8565b8015611d0c5750611d0a84848484612a0b565b155b15611d43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611d5482612019565b611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a9061411a565b60405180910390fd5b600f60039054906101000a900460ff16611e395760108054611db490613aaa565b80601f0160208091040260200160405190810160405280929190818152602001828054611de090613aaa565b8015611e2d5780601f10611e0257610100808354040283529160200191611e2d565b820191906000526020600020905b815481529060010190602001808311611e1057829003601f168201915b50505050509050611e67565b6010611e4483612b5c565b604051602001611e5592919061420a565b60405160208183030381529060405290505b919050565b600a5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60019054906101000a900460ff1681565b611f21612156565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f88906142a0565b60405180910390fd5b611f9a81612922565b50565b611fa5612156565b8060128190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816120246121d4565b11158015612033575060005482105b8015612060575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60008261212e8584612cbd565b1490509392505050565b612152828260405180602001604052806000815250612d13565b5050565b61215e612067565b73ffffffffffffffffffffffffffffffffffffffff1661217c6117db565b73ffffffffffffffffffffffffffffffffffffffff16146121d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c99061430c565b60405180910390fd5b565b60006001905090565b60006121e882612693565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612253576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612274612067565b73ffffffffffffffffffffffffffffffffffffffff1614806122a357506122a28561229d612067565b611e72565b5b806122e857506122b1612067565b73ffffffffffffffffffffffffffffffffffffffff166122d084610c3a565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612321576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612388576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123958585856001612d25565b6123a16000848761206f565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561262157600054821461262057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461268c8585856001612d2b565b5050505050565b61269b6131c7565b6000829050806126a96121d4565b111580156126b8575060005481105b156128eb576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128e957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127cd57809250505061291d565b5b6001156128e857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128e357809250505061291d565b6127ce565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a31612067565b8786866040518563ffffffff1660e01b8152600401612a539493929190614381565b6020604051808303816000875af1925050508015612a8f57506040513d601f19601f82011682018060405250810190612a8c91906143e2565b60015b612b09573d8060008114612abf576040519150601f19603f3d011682016040523d82523d6000602084013e612ac4565b606091505b50600081511415612b01576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612ba4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb8565b600082905060005b60008214612bd6578080612bbf9061440f565b915050600a82612bcf9190614487565b9150612bac565b60008167ffffffffffffffff811115612bf257612bf161388d565b5b6040519080825280601f01601f191660200182016040528015612c245781602001600182028036833780820191505090505b5090505b60008514612cb157600182612c3d91906144b8565b9150600a85612c4c91906144ec565b6030612c589190613ca9565b60f81b818381518110612c6e57612c6d61451d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612caa9190614487565b9450612c28565b8093505050505b919050565b60008082905060005b8451811015612d0857612cf382868381518110612ce657612ce561451d565b5b6020026020010151612d31565b91508080612d009061440f565b915050612cc6565b508091505092915050565b612d208383836001612d5c565b505050565b50505050565b50505050565b6000818310612d4957612d44828461312a565b612d54565b612d53838361312a565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612dc9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612e04576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e116000868387612d25565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612fdb5750612fda8773ffffffffffffffffffffffffffffffffffffffff166129e8565b5b156130a1575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130506000888480600101955088612a0b565b613086576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612fe157826000541461309c57600080fd5b61310d565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156130a2575b8160008190555050506131236000868387612d2b565b5050505050565b600082600052816020526040600020905092915050565b82805461314d90613aaa565b90600052602060002090601f01602090048101928261316f57600085556131b6565b82601f1061318857803560ff19168380011785556131b6565b828001600101855582156131b6579182015b828111156131b557823582559160200191906001019061319a565b5b5090506131c3919061320a565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561322357600081600090555060010161320b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132708161323b565b811461327b57600080fd5b50565b60008135905061328d81613267565b92915050565b6000602082840312156132a9576132a8613231565b5b60006132b78482850161327e565b91505092915050565b60008115159050919050565b6132d5816132c0565b82525050565b60006020820190506132f060008301846132cc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613330578082015181840152602081019050613315565b8381111561333f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613361826132f6565b61336b8185613301565b935061337b818560208601613312565b61338481613345565b840191505092915050565b600060208201905081810360008301526133a98184613356565b905092915050565b6000819050919050565b6133c4816133b1565b81146133cf57600080fd5b50565b6000813590506133e1816133bb565b92915050565b6000602082840312156133fd576133fc613231565b5b600061340b848285016133d2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061343f82613414565b9050919050565b61344f81613434565b82525050565b600060208201905061346a6000830184613446565b92915050565b61347981613434565b811461348457600080fd5b50565b60008135905061349681613470565b92915050565b600080604083850312156134b3576134b2613231565b5b60006134c185828601613487565b92505060206134d2858286016133d2565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613501576135006134dc565b5b8235905067ffffffffffffffff81111561351e5761351d6134e1565b5b60208301915083602082028301111561353a576135396134e6565b5b9250929050565b6000806000806060858703121561355b5761355a613231565b5b6000613569878288016133d2565b945050602061357a878288016133d2565b935050604085013567ffffffffffffffff81111561359b5761359a613236565b5b6135a7878288016134eb565b925092505092959194509250565b6135be816133b1565b82525050565b60006020820190506135d960008301846135b5565b92915050565b6000602082840312156135f5576135f4613231565b5b600061360384828501613487565b91505092915050565b60008060006060848603121561362557613624613231565b5b600061363386828701613487565b935050602061364486828701613487565b9250506040613655868287016133d2565b9150509250925092565b6000819050919050565b6136728161365f565b811461367d57600080fd5b50565b60008135905061368f81613669565b92915050565b6000602082840312156136ab576136aa613231565b5b60006136b984828501613680565b91505092915050565b6136cb8161365f565b82525050565b60006020820190506136e660008301846136c2565b92915050565b6136f5816132c0565b811461370057600080fd5b50565b600081359050613712816136ec565b92915050565b60006020828403121561372e5761372d613231565b5b600061373c84828501613703565b91505092915050565b60008083601f84011261375b5761375a6134dc565b5b8235905067ffffffffffffffff811115613778576137776134e1565b5b602083019150836001820283011115613794576137936134e6565b5b9250929050565b600080602083850312156137b2576137b1613231565b5b600083013567ffffffffffffffff8111156137d0576137cf613236565b5b6137dc85828601613745565b92509250509250929050565b60008060006040848603121561380157613800613231565b5b600061380f868287016133d2565b935050602084013567ffffffffffffffff8111156138305761382f613236565b5b61383c868287016134eb565b92509250509250925092565b6000806040838503121561385f5761385e613231565b5b600061386d85828601613487565b925050602061387e85828601613703565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138c582613345565b810181811067ffffffffffffffff821117156138e4576138e361388d565b5b80604052505050565b60006138f7613227565b905061390382826138bc565b919050565b600067ffffffffffffffff8211156139235761392261388d565b5b61392c82613345565b9050602081019050919050565b82818337600083830152505050565b600061395b61395684613908565b6138ed565b90508281526020810184848401111561397757613976613888565b5b613982848285613939565b509392505050565b600082601f83011261399f5761399e6134dc565b5b81356139af848260208601613948565b91505092915050565b600080600080608085870312156139d2576139d1613231565b5b60006139e087828801613487565b94505060206139f187828801613487565b9350506040613a02878288016133d2565b925050606085013567ffffffffffffffff811115613a2357613a22613236565b5b613a2f8782880161398a565b91505092959194509250565b60008060408385031215613a5257613a51613231565b5b6000613a6085828601613487565b9250506020613a7185828601613487565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ac257607f821691505b60208210811415613ad657613ad5613a7b565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613b12601e83613301565b9150613b1d82613adc565b602082019050919050565b60006020820190508181036000830152613b4181613b05565b9050919050565b7f50524553414c45204e4f54204143544956450000000000000000000000000000600082015250565b6000613b7e601283613301565b9150613b8982613b48565b602082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bee826133b1565b9150613bf9836133b1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c3257613c31613bb4565b5b828202905092915050565b7f4e45454420544f2053454e4420434f52524543542045544820414d4f554e5400600082015250565b6000613c73601f83613301565b9150613c7e82613c3d565b602082019050919050565b60006020820190508181036000830152613ca281613c66565b9050919050565b6000613cb4826133b1565b9150613cbf836133b1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf457613cf3613bb4565b5b828201905092915050565b7f4d415820535550504c5920524541434845440000000000000000000000000000600082015250565b6000613d35601283613301565b9150613d4082613cff565b602082019050919050565b60006020820190508181036000830152613d6481613d28565b9050919050565b7f45584345454453204d415820434c41494d000000000000000000000000000000600082015250565b6000613da1601183613301565b9150613dac82613d6b565b602082019050919050565b60006020820190508181036000830152613dd081613d94565b9050919050565b60008160601b9050919050565b6000613def82613dd7565b9050919050565b6000613e0182613de4565b9050919050565b613e19613e1482613434565b613df6565b82525050565b6000819050919050565b613e3a613e35826133b1565b613e1f565b82525050565b6000613e4c8285613e08565b601482019150613e5c8284613e29565b6020820191508190509392505050565b7f494e56414c49442050524f4f4600000000000000000000000000000000000000600082015250565b6000613ea2600d83613301565b9150613ead82613e6c565b602082019050919050565b60006020820190508181036000830152613ed181613e95565b9050919050565b600081905092915050565b50565b6000613ef3600083613ed8565b9150613efe82613ee3565b600082019050919050565b6000613f1482613ee6565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613f54601083613301565b9150613f5f82613f1e565b602082019050919050565b60006020820190508181036000830152613f8381613f47565b9050919050565b7f434f4d4d554e4954592053414c45204e4f542041435449564500000000000000600082015250565b6000613fc0601983613301565b9150613fcb82613f8a565b602082019050919050565b60006020820190508181036000830152613fef81613fb3565b9050919050565b7f5055424c49432053414c45204953204e4f542041435449564500000000000000600082015250565b600061402c601983613301565b915061403782613ff6565b602082019050919050565b6000602082019050818103600083015261405b8161401f565b9050919050565b7f45584345454453204d4158204d494e5453205045522041444452455353000000600082015250565b6000614098601d83613301565b91506140a382614062565b602082019050919050565b600060208201905081810360008301526140c78161408b565b9050919050565b7f55524920717565727920666f72206e6f6e2d6578697374656e7420746f6b656e600082015250565b6000614104602083613301565b915061410f826140ce565b602082019050919050565b60006020820190508181036000830152614133816140f7565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461416781613aaa565b614171818661413a565b9450600182166000811461418c576001811461419d576141d0565b60ff198316865281860193506141d0565b6141a685614145565b60005b838110156141c8578154818901526001820191506020810190506141a9565b838801955050505b50505092915050565b60006141e4826132f6565b6141ee818561413a565b93506141fe818560208601613312565b80840191505092915050565b6000614216828561415a565b915061422282846141d9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061428a602683613301565b91506142958261422e565b604082019050919050565b600060208201905081810360008301526142b98161427d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142f6602083613301565b9150614301826142c0565b602082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143538261432c565b61435d8185614337565b935061436d818560208601613312565b61437681613345565b840191505092915050565b60006080820190506143966000830187613446565b6143a36020830186613446565b6143b060408301856135b5565b81810360608301526143c28184614348565b905095945050505050565b6000815190506143dc81613267565b92915050565b6000602082840312156143f8576143f7613231565b5b6000614406848285016143cd565b91505092915050565b600061441a826133b1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444d5761444c613bb4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614492826133b1565b915061449d836133b1565b9250826144ad576144ac614458565b5b828204905092915050565b60006144c3826133b1565b91506144ce836133b1565b9250828210156144e1576144e0613bb4565b5b828203905092915050565b60006144f7826133b1565b9150614502836133b1565b92508261451257614511614458565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205fcee5e64ac6618fc4d1f7121122fe5f6f1c9a34978d56e9656218c871cf3b1764736f6c634300080a0033

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.