ETH Price: $3,263.06 (-2.76%)

Token

BigBrainKidsV2 (BBKv2)
 

Overview

Max Total Supply

4,543 BBKv2

Holders

1,062

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nftsir.eth
Balance
5 BBKv2
0xb5c1bbd13f127Bd1807d6434bB016ec93e6CB107
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:
BigBrainKidsV2

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 15 : BigBrainKidsV2.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "erc721a/contracts/ERC721A.sol";

///@title BigBrainKidsV2 NFT Contract

contract BigBrainKidsV2 is ERC721A, Ownable {
    using Strings for uint256;
    uint256 public MAX_SUPPLY = 5000;
    uint256 public maxFreeSupply = 4000;
    uint256 public mintPrice = 0.02 ether;
    uint256 public maxMintAmount = 5;
    uint256 public wlMaxMintAmount = 2;
    bytes32 public merkleRoot;
    bool public publicActive = false;
    bool public claimActive = false;
    bool public wlActive = false;

    string private _baseTokenURI;

    mapping(address => uint256) public wlMinted;

    modifier callerIsUser() {
        require(tx.origin == msg.sender);
        _;
    }

    constructor(string memory _unrevealedURI)
        ERC721A("BigBrainKidsV2", "BBKv2")
    {
        _baseTokenURI = _unrevealedURI;
    }

    //External functions

    function wlMint(uint256 quantity, bytes32[] calldata proof)
        external
        callerIsUser
    {
        require(wlActive, "whitelist mint is not active!");
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "mint amount exceeds max supply!"
        );
        require(
            wlMinted[msg.sender] + quantity <= wlMaxMintAmount,
            "Cannot mint more than 2"
        );
        require(
            MerkleProof.verify(
                proof,
                merkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "address not whitelisted!"
        );
        wlMinted[msg.sender] += quantity;
        _safeMint(msg.sender, quantity);
    }

    function claim(uint256 quantity) external callerIsUser {
        require(totalSupply() <= maxFreeSupply, "no more free mints left");
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "mint amount exceeds max supply!"
        );
        require(claimActive, "Free mint is not active!");
        require(
            quantity <= maxMintAmount,
            "quantity exceeds allowed mint quantity!"
        );

        _safeMint(msg.sender, quantity);
    }

    function publicMint(uint256 quantity) external payable callerIsUser {
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "mint amount exceeds max supply!"
        );
        require(publicActive, "Public mint is not active!");
        require(
            quantity <= maxMintAmount,
            "quantity exceeds allowed mint quantity!"
        );
        require(msg.value == mintPrice * quantity, "ETH amount invalid!");

        _safeMint(msg.sender, quantity);
    }

    function devMint(address to, uint256 quantity) public onlyOwner {
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "mint exceeds MAX_SUPPLY"
        );
        _safeMint(to, quantity);
    }

    function setPublicActive(bool b) external onlyOwner {
        publicActive = b;
        claimActive = b;
    }

    function setWlActive(bool b) external onlyOwner {
        wlActive = b;
    }

    function setMaxMintAmount(uint256 amount) external onlyOwner {
        maxMintAmount = amount;
    }

    function setWlMaxMintAmount(uint256 amount) external onlyOwner {
        wlMaxMintAmount = amount;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

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

    function withdraw() external onlyOwner {
        (bool success, ) = payable(0xE66DFC56Da47145aa46DB81Da2274c75278260BB)
            .call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    //Public functions
    function airdrop(address[] calldata accounts) public onlyOwner {
        uint256 count = 0;
        for (uint256 i = 0; i < accounts.length; i++) {
            address prevAddr;
            if (i == 0) {
                prevAddr = accounts[i];
            } else {
                prevAddr = accounts[i - 1];
            }
            if (prevAddr == accounts[i]) {
                count += 2;
            } else {
                _safeMint(prevAddr, count);
                count = 2;
            }
        }
        _safeMint(accounts[accounts.length - 1], count);
    }

    function walletOfOwner(address owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (
            ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY
        ) {
            address currentTokenOwner = ownerOf(currentTokenId);

            if (currentTokenOwner == owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;

                ownedTokenIndex++;
            }

            currentTokenId++;
        }

        return ownedTokenIds;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

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

    //Internal functions

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

    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }
}

File 2 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev 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 Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0)
            if (!_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 && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            if (to.code.length != 0) {
                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 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) 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev 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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        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 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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 3 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees 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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 7 of 15 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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 8 of 15 : 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 9 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 15 : 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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : 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 13 of 15 : 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 14 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev 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 15 of 15 : 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": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"accounts","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"b","type":"bool"}],"name":"setPublicActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"b","type":"bool"}],"name":"setWlActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setWlMaxMintAmount","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052611388600955610fa0600a5566470de4df820000600b556005600c556002600d55600f805462ffffff191690553480156200003e57600080fd5b50604051620026c9380380620026c9833981016040819052620000619162000208565b604080518082018252600e81526d2134b3a13930b4b725b4b239ab1960911b602080830191825283518085019094526005845264212125bb1960d91b908401528151919291620000b4916002916200014c565b508051620000ca9060039060208401906200014c565b5050600160005550620000dd33620000fa565b8051620000f29060109060208401906200014c565b505062000320565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015a90620002e4565b90600052602060002090601f0160209004810192826200017e5760008555620001c9565b82601f106200019957805160ff1916838001178555620001c9565b82800160010185558215620001c9579182015b82811115620001c9578251825591602001919060010190620001ac565b50620001d7929150620001db565b5090565b5b80821115620001d75760008155600101620001dc565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200021c57600080fd5b82516001600160401b03808211156200023457600080fd5b818501915085601f8301126200024957600080fd5b8151818111156200025e576200025e620001f2565b604051601f8201601f19908116603f01168101908382118183101715620002895762000289620001f2565b816040528281528886848701011115620002a257600080fd5b600093505b82841015620002c65784840186015181850187015292850192620002a7565b82841115620002d85760008684830101525b98975050505050505050565b600181811c90821680620002f957607f821691505b6020821081036200031a57634e487b7160e01b600052602260045260246000fd5b50919050565b61239980620003306000396000f3fe60806040526004361061023b5760003560e01c806355f804b31161012e5780638aca408c116100ab578063b88d4fde1161006f578063b88d4fde1461067c578063c87b56dd1461069c578063d4a6a2fd146106bc578063e985e9c5146106db578063f2fde38b1461072457600080fd5b80638aca408c146105e95780638da5cb5b1461060957806395d89b4114610627578063a22cb4651461063c578063a5025e7a1461065c57600080fd5b8063715018a6116100f2578063715018a614610551578063729ad39e1461056657806378a92380146105865780637b5cd7b8146105b35780637cb64759146105c957600080fd5b806355f804b3146104bb578063627804af146104db5780636352211e146104fb5780636817c76c1461051b57806370a082311461053157600080fd5b80632f65e63a116101bc5780633f2981cf116101805780633f2981cf1461041e57806342842e0e14610438578063438b630014610458578063475133341461048557806348575bfa1461049b57600080fd5b80632f65e63a1461039357806332cb6b0c146103b3578063379607f5146103c95780633ccfd60b146103e95780633ef0d36d146103fe57600080fd5b806318160ddd1161020357806318160ddd14610311578063239c70ae1461033457806323b872dd1461034a5780632db115441461036a5780632eb4a7ab1461037d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063088a4ed0146102cf578063095ea7b3146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611cc4565b610744565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610796565b60405161026c9190611d39565b3480156102a357600080fd5b506102b76102b2366004611d4c565b610828565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004611d4c565b61086c565b005b3480156102fd57600080fd5b506102ef61030c366004611d81565b6108a4565b34801561031d57600080fd5b50610326610976565b60405190815260200161026c565b34801561034057600080fd5b50610326600c5481565b34801561035657600080fd5b506102ef610365366004611dab565b610984565b6102ef610378366004611d4c565b610994565b34801561038957600080fd5b50610326600e5481565b34801561039f57600080fd5b506102ef6103ae366004611df7565b610aa7565b3480156103bf57600080fd5b5061032660095481565b3480156103d557600080fd5b506102ef6103e4366004611d4c565b610aed565b3480156103f557600080fd5b506102ef610bff565b34801561040a57600080fd5b506102ef610419366004611e5e565b610cc8565b34801561042a57600080fd5b50600f546102609060ff1681565b34801561044457600080fd5b506102ef610453366004611dab565b610ebc565b34801561046457600080fd5b50610478610473366004611eaa565b610ed7565b60405161026c9190611ec5565b34801561049157600080fd5b50610326600a5481565b3480156104a757600080fd5b50600f546102609062010000900460ff1681565b3480156104c757600080fd5b506102ef6104d6366004611f09565b610fb7565b3480156104e757600080fd5b506102ef6104f6366004611d81565b610fed565b34801561050757600080fd5b506102b7610516366004611d4c565b611089565b34801561052757600080fd5b50610326600b5481565b34801561053d57600080fd5b5061032661054c366004611eaa565b611094565b34801561055d57600080fd5b506102ef6110e3565b34801561057257600080fd5b506102ef610581366004611f7b565b611119565b34801561059257600080fd5b506103266105a1366004611eaa565b60116020526000908152604090205481565b3480156105bf57600080fd5b50610326600d5481565b3480156105d557600080fd5b506102ef6105e4366004611d4c565b611269565b3480156105f557600080fd5b506102ef610604366004611df7565b611298565b34801561061557600080fd5b506008546001600160a01b03166102b7565b34801561063357600080fd5b5061028a6112e4565b34801561064857600080fd5b506102ef610657366004611fbd565b6112f3565b34801561066857600080fd5b506102ef610677366004611d4c565b611388565b34801561068857600080fd5b506102ef610697366004612006565b6113b7565b3480156106a857600080fd5b5061028a6106b7366004611d4c565b611401565b3480156106c857600080fd5b50600f5461026090610100900460ff1681565b3480156106e757600080fd5b506102606106f63660046120e2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561073057600080fd5b506102ef61073f366004611eaa565b6114cc565b60006301ffc9a760e01b6001600160e01b03198316148061077557506380ac58cd60e01b6001600160e01b03198316145b806107905750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107a59061210c565b80601f01602080910402602001604051908101604052809291908181526020018280546107d19061210c565b801561081e5780601f106107f35761010080835404028352916020019161081e565b820191906000526020600020905b81548152906001019060200180831161080157829003601f168201915b5050505050905090565b600061083382611564565b610850576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331461089f5760405162461bcd60e51b815260040161089690612146565b60405180910390fd5b600c55565b60006108af82611599565b9050806001600160a01b0316836001600160a01b0316036108e35760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461091a576108fd81336106f6565b61091a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b61098f838383611608565b505050565b3233146109a057600080fd5b600954816109ac610976565b6109b69190612191565b11156109d45760405162461bcd60e51b8152600401610896906121a9565b600f5460ff16610a265760405162461bcd60e51b815260206004820152601a60248201527f5075626c6963206d696e74206973206e6f7420616374697665210000000000006044820152606401610896565b600c54811115610a485760405162461bcd60e51b8152600401610896906121e0565b80600b54610a569190612227565b3414610a9a5760405162461bcd60e51b815260206004820152601360248201527245544820616d6f756e7420696e76616c69642160681b6044820152606401610896565b610aa433826117af565b50565b6008546001600160a01b03163314610ad15760405162461bcd60e51b815260040161089690612146565b600f8054911515620100000262ff000019909216919091179055565b323314610af957600080fd5b600a54610b04610976565b1115610b525760405162461bcd60e51b815260206004820152601760248201527f6e6f206d6f72652066726565206d696e7473206c6566740000000000000000006044820152606401610896565b60095481610b5e610976565b610b689190612191565b1115610b865760405162461bcd60e51b8152600401610896906121a9565b600f54610100900460ff16610bdd5760405162461bcd60e51b815260206004820152601860248201527f46726565206d696e74206973206e6f74206163746976652100000000000000006044820152606401610896565b600c54811115610a9a5760405162461bcd60e51b8152600401610896906121e0565b6008546001600160a01b03163314610c295760405162461bcd60e51b815260040161089690612146565b60405160009073e66dfc56da47145aa46db81da2274c75278260bb9047908381818185875af1925050503d8060008114610c7f576040519150601f19603f3d011682016040523d82523d6000602084013e610c84565b606091505b5050905080610aa45760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610896565b323314610cd457600080fd5b600f5462010000900460ff16610d2c5760405162461bcd60e51b815260206004820152601d60248201527f77686974656c697374206d696e74206973206e6f7420616374697665210000006044820152606401610896565b60095483610d38610976565b610d429190612191565b1115610d605760405162461bcd60e51b8152600401610896906121a9565b600d5433600090815260116020526040902054610d7e908590612191565b1115610dcc5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206d696e74206d6f7265207468616e20320000000000000000006044820152606401610896565b610e4182828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206117c9565b610e8d5760405162461bcd60e51b815260206004820152601860248201527f61646472657373206e6f742077686974656c69737465642100000000000000006044820152606401610896565b3360009081526011602052604081208054859290610eac908490612191565b9091555061098f905033846117af565b61098f838383604051806020016040528060008152506113b7565b60606000610ee483611094565b905060008167ffffffffffffffff811115610f0157610f01611ff0565b604051908082528060200260200182016040528015610f2a578160200160208202803683370190505b509050600160005b8381108015610f4357506009548211155b15610fad576000610f5383611089565b9050866001600160a01b0316816001600160a01b031603610f9a5782848381518110610f8157610f81612246565b602090810291909101015281610f968161225c565b9250505b82610fa48161225c565b93505050610f32565b5090949350505050565b6008546001600160a01b03163314610fe15760405162461bcd60e51b815260040161089690612146565b61098f60108383611c15565b6008546001600160a01b031633146110175760405162461bcd60e51b815260040161089690612146565b60095481611023610976565b61102d9190612191565b111561107b5760405162461bcd60e51b815260206004820152601760248201527f6d696e742065786365656473204d41585f535550504c590000000000000000006044820152606401610896565b61108582826117af565b5050565b600061079082611599565b60006001600160a01b0382166110bd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461110d5760405162461bcd60e51b815260040161089690612146565b61111760006117df565b565b6008546001600160a01b031633146111435760405162461bcd60e51b815260040161089690612146565b6000805b8281101561122e576000816000036111875784848381811061116b5761116b612246565b90506020020160208101906111809190611eaa565b90506111bb565b8484611194600185612275565b8181106111a3576111a3612246565b90506020020160208101906111b89190611eaa565b90505b8484838181106111cd576111cd612246565b90506020020160208101906111e29190611eaa565b6001600160a01b0316816001600160a01b03160361120c57611205600284612191565b925061121b565b61121681846117af565b600292505b50806112268161225c565b915050611147565b5061098f838361123f600182612275565b81811061124e5761124e612246565b90506020020160208101906112639190611eaa565b826117af565b6008546001600160a01b031633146112935760405162461bcd60e51b815260040161089690612146565b600e55565b6008546001600160a01b031633146112c25760405162461bcd60e51b815260040161089690612146565b600f805461ffff191661ff001992151592831617610100909202919091179055565b6060600380546107a59061210c565b336001600160a01b0383160361131c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146113b25760405162461bcd60e51b815260040161089690612146565b600d55565b6113c2848484611608565b6001600160a01b0383163b156113fb576113de84848484611831565b6113fb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061140c82611564565b6114705760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610896565b600061147a61191d565b9050805160000361149a57604051806020016040528060008152506114c5565b806114a48461192c565b6040516020016114b592919061228c565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146114f65760405162461bcd60e51b815260040161089690612146565b6001600160a01b03811661155b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610896565b610aa4816117df565b600081600111158015611578575060005482105b8015610790575050600090815260046020526040902054600160e01b161590565b600081806001116115ef576000548110156115ef5760008181526004602052604081205490600160e01b821690036115ed575b806000036114c55750600019016000818152600460205260409020546115cc565b505b604051636f96cda160e11b815260040160405180910390fd5b600061161382611599565b9050836001600160a01b0316816001600160a01b0316146116465760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611664575061166485336106f6565b8061167f57503361167484610828565b6001600160a01b0316145b90508061169f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116c657604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003611767576001830160008181526004602052604081205490036117655760005481146117655760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b611085828260405180602001604052806000815250611a2d565b6000826117d68584611ba1565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118669033908990889088906004016122cb565b6020604051808303816000875af19250505080156118a1575060408051601f3d908101601f1916820190925261189e91810190612308565b60015b6118ff573d8080156118cf576040519150601f19603f3d011682016040523d82523d6000602084013e6118d4565b606091505b5080516000036118f7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546107a59061210c565b6060816000036119535750506040805180820190915260018152600360fc1b602082015290565b8160005b811561197d57806119678161225c565b91506119769050600a8361233b565b9150611957565b60008167ffffffffffffffff81111561199857611998611ff0565b6040519080825280601f01601f1916602001820160405280156119c2576020820181803683370190505b5090505b8415611915576119d7600183612275565b91506119e4600a8661234f565b6119ef906030612191565b60f81b818381518110611a0457611a04612246565b60200101906001600160f81b031916908160001a905350611a26600a8661233b565b94506119c6565b6000546001600160a01b038416611a5657604051622e076360e81b815260040160405180910390fd5b82600003611a775760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611b4c575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b156000878480600101955087611831565b611b32576040516368d2bf6b60e11b815260040160405180910390fd5b808210611aca578260005414611b4757600080fd5b611b91565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b4d575b5060009081556113fb9085838684565b600081815b8451811015611c0d576000858281518110611bc357611bc3612246565b60200260200101519050808311611be95760008381526020829052604090209250611bfa565b600081815260208490526040902092505b5080611c058161225c565b915050611ba6565b509392505050565b828054611c219061210c565b90600052602060002090601f016020900481019282611c435760008555611c89565b82601f10611c5c5782800160ff19823516178555611c89565b82800160010185558215611c89579182015b82811115611c89578235825591602001919060010190611c6e565b50611c95929150611c99565b5090565b5b80821115611c955760008155600101611c9a565b6001600160e01b031981168114610aa457600080fd5b600060208284031215611cd657600080fd5b81356114c581611cae565b60005b83811015611cfc578181015183820152602001611ce4565b838111156113fb5750506000910152565b60008151808452611d25816020860160208601611ce1565b601f01601f19169290920160200192915050565b6020815260006114c56020830184611d0d565b600060208284031215611d5e57600080fd5b5035919050565b80356001600160a01b0381168114611d7c57600080fd5b919050565b60008060408385031215611d9457600080fd5b611d9d83611d65565b946020939093013593505050565b600080600060608486031215611dc057600080fd5b611dc984611d65565b9250611dd760208501611d65565b9150604084013590509250925092565b80358015158114611d7c57600080fd5b600060208284031215611e0957600080fd5b6114c582611de7565b60008083601f840112611e2457600080fd5b50813567ffffffffffffffff811115611e3c57600080fd5b6020830191508360208260051b8501011115611e5757600080fd5b9250929050565b600080600060408486031215611e7357600080fd5b83359250602084013567ffffffffffffffff811115611e9157600080fd5b611e9d86828701611e12565b9497909650939450505050565b600060208284031215611ebc57600080fd5b6114c582611d65565b6020808252825182820181905260009190848201906040850190845b81811015611efd57835183529284019291840191600101611ee1565b50909695505050505050565b60008060208385031215611f1c57600080fd5b823567ffffffffffffffff80821115611f3457600080fd5b818501915085601f830112611f4857600080fd5b813581811115611f5757600080fd5b866020828501011115611f6957600080fd5b60209290920196919550909350505050565b60008060208385031215611f8e57600080fd5b823567ffffffffffffffff811115611fa557600080fd5b611fb185828601611e12565b90969095509350505050565b60008060408385031215611fd057600080fd5b611fd983611d65565b9150611fe760208401611de7565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561201c57600080fd5b61202585611d65565b935061203360208601611d65565b925060408501359150606085013567ffffffffffffffff8082111561205757600080fd5b818701915087601f83011261206b57600080fd5b81358181111561207d5761207d611ff0565b604051601f8201601f19908116603f011681019083821181831017156120a5576120a5611ff0565b816040528281528a60208487010111156120be57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120f557600080fd5b6120fe83611d65565b9150611fe760208401611d65565b600181811c9082168061212057607f821691505b60208210810361214057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156121a4576121a461217b565b500190565b6020808252601f908201527f6d696e7420616d6f756e742065786365656473206d617820737570706c792100604082015260600190565b60208082526027908201527f7175616e74697479206578636565647320616c6c6f776564206d696e74207175604082015266616e746974792160c81b606082015260800190565b60008160001904831182151516156122415761224161217b565b500290565b634e487b7160e01b600052603260045260246000fd5b60006001820161226e5761226e61217b565b5060010190565b6000828210156122875761228761217b565b500390565b6000835161229e818460208801611ce1565b8351908301906122b2818360208801611ce1565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122fe90830184611d0d565b9695505050505050565b60006020828403121561231a57600080fd5b81516114c581611cae565b634e487b7160e01b600052601260045260246000fd5b60008261234a5761234a612325565b500490565b60008261235e5761235e612325565b50069056fea2646970667358221220487c0297b4ab5d0cf3b80e58bfb6516a17183082da83a570015fde2f90566c5664736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d51503342754162634b68705161675454456e52386d7a356b5a654343414b6576433961364763594777536e452f00000000000000000000

Deployed Bytecode

0x60806040526004361061023b5760003560e01c806355f804b31161012e5780638aca408c116100ab578063b88d4fde1161006f578063b88d4fde1461067c578063c87b56dd1461069c578063d4a6a2fd146106bc578063e985e9c5146106db578063f2fde38b1461072457600080fd5b80638aca408c146105e95780638da5cb5b1461060957806395d89b4114610627578063a22cb4651461063c578063a5025e7a1461065c57600080fd5b8063715018a6116100f2578063715018a614610551578063729ad39e1461056657806378a92380146105865780637b5cd7b8146105b35780637cb64759146105c957600080fd5b806355f804b3146104bb578063627804af146104db5780636352211e146104fb5780636817c76c1461051b57806370a082311461053157600080fd5b80632f65e63a116101bc5780633f2981cf116101805780633f2981cf1461041e57806342842e0e14610438578063438b630014610458578063475133341461048557806348575bfa1461049b57600080fd5b80632f65e63a1461039357806332cb6b0c146103b3578063379607f5146103c95780633ccfd60b146103e95780633ef0d36d146103fe57600080fd5b806318160ddd1161020357806318160ddd14610311578063239c70ae1461033457806323b872dd1461034a5780632db115441461036a5780632eb4a7ab1461037d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063088a4ed0146102cf578063095ea7b3146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611cc4565b610744565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610796565b60405161026c9190611d39565b3480156102a357600080fd5b506102b76102b2366004611d4c565b610828565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004611d4c565b61086c565b005b3480156102fd57600080fd5b506102ef61030c366004611d81565b6108a4565b34801561031d57600080fd5b50610326610976565b60405190815260200161026c565b34801561034057600080fd5b50610326600c5481565b34801561035657600080fd5b506102ef610365366004611dab565b610984565b6102ef610378366004611d4c565b610994565b34801561038957600080fd5b50610326600e5481565b34801561039f57600080fd5b506102ef6103ae366004611df7565b610aa7565b3480156103bf57600080fd5b5061032660095481565b3480156103d557600080fd5b506102ef6103e4366004611d4c565b610aed565b3480156103f557600080fd5b506102ef610bff565b34801561040a57600080fd5b506102ef610419366004611e5e565b610cc8565b34801561042a57600080fd5b50600f546102609060ff1681565b34801561044457600080fd5b506102ef610453366004611dab565b610ebc565b34801561046457600080fd5b50610478610473366004611eaa565b610ed7565b60405161026c9190611ec5565b34801561049157600080fd5b50610326600a5481565b3480156104a757600080fd5b50600f546102609062010000900460ff1681565b3480156104c757600080fd5b506102ef6104d6366004611f09565b610fb7565b3480156104e757600080fd5b506102ef6104f6366004611d81565b610fed565b34801561050757600080fd5b506102b7610516366004611d4c565b611089565b34801561052757600080fd5b50610326600b5481565b34801561053d57600080fd5b5061032661054c366004611eaa565b611094565b34801561055d57600080fd5b506102ef6110e3565b34801561057257600080fd5b506102ef610581366004611f7b565b611119565b34801561059257600080fd5b506103266105a1366004611eaa565b60116020526000908152604090205481565b3480156105bf57600080fd5b50610326600d5481565b3480156105d557600080fd5b506102ef6105e4366004611d4c565b611269565b3480156105f557600080fd5b506102ef610604366004611df7565b611298565b34801561061557600080fd5b506008546001600160a01b03166102b7565b34801561063357600080fd5b5061028a6112e4565b34801561064857600080fd5b506102ef610657366004611fbd565b6112f3565b34801561066857600080fd5b506102ef610677366004611d4c565b611388565b34801561068857600080fd5b506102ef610697366004612006565b6113b7565b3480156106a857600080fd5b5061028a6106b7366004611d4c565b611401565b3480156106c857600080fd5b50600f5461026090610100900460ff1681565b3480156106e757600080fd5b506102606106f63660046120e2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561073057600080fd5b506102ef61073f366004611eaa565b6114cc565b60006301ffc9a760e01b6001600160e01b03198316148061077557506380ac58cd60e01b6001600160e01b03198316145b806107905750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107a59061210c565b80601f01602080910402602001604051908101604052809291908181526020018280546107d19061210c565b801561081e5780601f106107f35761010080835404028352916020019161081e565b820191906000526020600020905b81548152906001019060200180831161080157829003601f168201915b5050505050905090565b600061083382611564565b610850576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331461089f5760405162461bcd60e51b815260040161089690612146565b60405180910390fd5b600c55565b60006108af82611599565b9050806001600160a01b0316836001600160a01b0316036108e35760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461091a576108fd81336106f6565b61091a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b61098f838383611608565b505050565b3233146109a057600080fd5b600954816109ac610976565b6109b69190612191565b11156109d45760405162461bcd60e51b8152600401610896906121a9565b600f5460ff16610a265760405162461bcd60e51b815260206004820152601a60248201527f5075626c6963206d696e74206973206e6f7420616374697665210000000000006044820152606401610896565b600c54811115610a485760405162461bcd60e51b8152600401610896906121e0565b80600b54610a569190612227565b3414610a9a5760405162461bcd60e51b815260206004820152601360248201527245544820616d6f756e7420696e76616c69642160681b6044820152606401610896565b610aa433826117af565b50565b6008546001600160a01b03163314610ad15760405162461bcd60e51b815260040161089690612146565b600f8054911515620100000262ff000019909216919091179055565b323314610af957600080fd5b600a54610b04610976565b1115610b525760405162461bcd60e51b815260206004820152601760248201527f6e6f206d6f72652066726565206d696e7473206c6566740000000000000000006044820152606401610896565b60095481610b5e610976565b610b689190612191565b1115610b865760405162461bcd60e51b8152600401610896906121a9565b600f54610100900460ff16610bdd5760405162461bcd60e51b815260206004820152601860248201527f46726565206d696e74206973206e6f74206163746976652100000000000000006044820152606401610896565b600c54811115610a9a5760405162461bcd60e51b8152600401610896906121e0565b6008546001600160a01b03163314610c295760405162461bcd60e51b815260040161089690612146565b60405160009073e66dfc56da47145aa46db81da2274c75278260bb9047908381818185875af1925050503d8060008114610c7f576040519150601f19603f3d011682016040523d82523d6000602084013e610c84565b606091505b5050905080610aa45760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610896565b323314610cd457600080fd5b600f5462010000900460ff16610d2c5760405162461bcd60e51b815260206004820152601d60248201527f77686974656c697374206d696e74206973206e6f7420616374697665210000006044820152606401610896565b60095483610d38610976565b610d429190612191565b1115610d605760405162461bcd60e51b8152600401610896906121a9565b600d5433600090815260116020526040902054610d7e908590612191565b1115610dcc5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206d696e74206d6f7265207468616e20320000000000000000006044820152606401610896565b610e4182828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206117c9565b610e8d5760405162461bcd60e51b815260206004820152601860248201527f61646472657373206e6f742077686974656c69737465642100000000000000006044820152606401610896565b3360009081526011602052604081208054859290610eac908490612191565b9091555061098f905033846117af565b61098f838383604051806020016040528060008152506113b7565b60606000610ee483611094565b905060008167ffffffffffffffff811115610f0157610f01611ff0565b604051908082528060200260200182016040528015610f2a578160200160208202803683370190505b509050600160005b8381108015610f4357506009548211155b15610fad576000610f5383611089565b9050866001600160a01b0316816001600160a01b031603610f9a5782848381518110610f8157610f81612246565b602090810291909101015281610f968161225c565b9250505b82610fa48161225c565b93505050610f32565b5090949350505050565b6008546001600160a01b03163314610fe15760405162461bcd60e51b815260040161089690612146565b61098f60108383611c15565b6008546001600160a01b031633146110175760405162461bcd60e51b815260040161089690612146565b60095481611023610976565b61102d9190612191565b111561107b5760405162461bcd60e51b815260206004820152601760248201527f6d696e742065786365656473204d41585f535550504c590000000000000000006044820152606401610896565b61108582826117af565b5050565b600061079082611599565b60006001600160a01b0382166110bd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461110d5760405162461bcd60e51b815260040161089690612146565b61111760006117df565b565b6008546001600160a01b031633146111435760405162461bcd60e51b815260040161089690612146565b6000805b8281101561122e576000816000036111875784848381811061116b5761116b612246565b90506020020160208101906111809190611eaa565b90506111bb565b8484611194600185612275565b8181106111a3576111a3612246565b90506020020160208101906111b89190611eaa565b90505b8484838181106111cd576111cd612246565b90506020020160208101906111e29190611eaa565b6001600160a01b0316816001600160a01b03160361120c57611205600284612191565b925061121b565b61121681846117af565b600292505b50806112268161225c565b915050611147565b5061098f838361123f600182612275565b81811061124e5761124e612246565b90506020020160208101906112639190611eaa565b826117af565b6008546001600160a01b031633146112935760405162461bcd60e51b815260040161089690612146565b600e55565b6008546001600160a01b031633146112c25760405162461bcd60e51b815260040161089690612146565b600f805461ffff191661ff001992151592831617610100909202919091179055565b6060600380546107a59061210c565b336001600160a01b0383160361131c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146113b25760405162461bcd60e51b815260040161089690612146565b600d55565b6113c2848484611608565b6001600160a01b0383163b156113fb576113de84848484611831565b6113fb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061140c82611564565b6114705760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610896565b600061147a61191d565b9050805160000361149a57604051806020016040528060008152506114c5565b806114a48461192c565b6040516020016114b592919061228c565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146114f65760405162461bcd60e51b815260040161089690612146565b6001600160a01b03811661155b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610896565b610aa4816117df565b600081600111158015611578575060005482105b8015610790575050600090815260046020526040902054600160e01b161590565b600081806001116115ef576000548110156115ef5760008181526004602052604081205490600160e01b821690036115ed575b806000036114c55750600019016000818152600460205260409020546115cc565b505b604051636f96cda160e11b815260040160405180910390fd5b600061161382611599565b9050836001600160a01b0316816001600160a01b0316146116465760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611664575061166485336106f6565b8061167f57503361167484610828565b6001600160a01b0316145b90508061169f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116c657604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003611767576001830160008181526004602052604081205490036117655760005481146117655760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b611085828260405180602001604052806000815250611a2d565b6000826117d68584611ba1565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118669033908990889088906004016122cb565b6020604051808303816000875af19250505080156118a1575060408051601f3d908101601f1916820190925261189e91810190612308565b60015b6118ff573d8080156118cf576040519150601f19603f3d011682016040523d82523d6000602084013e6118d4565b606091505b5080516000036118f7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546107a59061210c565b6060816000036119535750506040805180820190915260018152600360fc1b602082015290565b8160005b811561197d57806119678161225c565b91506119769050600a8361233b565b9150611957565b60008167ffffffffffffffff81111561199857611998611ff0565b6040519080825280601f01601f1916602001820160405280156119c2576020820181803683370190505b5090505b8415611915576119d7600183612275565b91506119e4600a8661234f565b6119ef906030612191565b60f81b818381518110611a0457611a04612246565b60200101906001600160f81b031916908160001a905350611a26600a8661233b565b94506119c6565b6000546001600160a01b038416611a5657604051622e076360e81b815260040160405180910390fd5b82600003611a775760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611b4c575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b156000878480600101955087611831565b611b32576040516368d2bf6b60e11b815260040160405180910390fd5b808210611aca578260005414611b4757600080fd5b611b91565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b4d575b5060009081556113fb9085838684565b600081815b8451811015611c0d576000858281518110611bc357611bc3612246565b60200260200101519050808311611be95760008381526020829052604090209250611bfa565b600081815260208490526040902092505b5080611c058161225c565b915050611ba6565b509392505050565b828054611c219061210c565b90600052602060002090601f016020900481019282611c435760008555611c89565b82601f10611c5c5782800160ff19823516178555611c89565b82800160010185558215611c89579182015b82811115611c89578235825591602001919060010190611c6e565b50611c95929150611c99565b5090565b5b80821115611c955760008155600101611c9a565b6001600160e01b031981168114610aa457600080fd5b600060208284031215611cd657600080fd5b81356114c581611cae565b60005b83811015611cfc578181015183820152602001611ce4565b838111156113fb5750506000910152565b60008151808452611d25816020860160208601611ce1565b601f01601f19169290920160200192915050565b6020815260006114c56020830184611d0d565b600060208284031215611d5e57600080fd5b5035919050565b80356001600160a01b0381168114611d7c57600080fd5b919050565b60008060408385031215611d9457600080fd5b611d9d83611d65565b946020939093013593505050565b600080600060608486031215611dc057600080fd5b611dc984611d65565b9250611dd760208501611d65565b9150604084013590509250925092565b80358015158114611d7c57600080fd5b600060208284031215611e0957600080fd5b6114c582611de7565b60008083601f840112611e2457600080fd5b50813567ffffffffffffffff811115611e3c57600080fd5b6020830191508360208260051b8501011115611e5757600080fd5b9250929050565b600080600060408486031215611e7357600080fd5b83359250602084013567ffffffffffffffff811115611e9157600080fd5b611e9d86828701611e12565b9497909650939450505050565b600060208284031215611ebc57600080fd5b6114c582611d65565b6020808252825182820181905260009190848201906040850190845b81811015611efd57835183529284019291840191600101611ee1565b50909695505050505050565b60008060208385031215611f1c57600080fd5b823567ffffffffffffffff80821115611f3457600080fd5b818501915085601f830112611f4857600080fd5b813581811115611f5757600080fd5b866020828501011115611f6957600080fd5b60209290920196919550909350505050565b60008060208385031215611f8e57600080fd5b823567ffffffffffffffff811115611fa557600080fd5b611fb185828601611e12565b90969095509350505050565b60008060408385031215611fd057600080fd5b611fd983611d65565b9150611fe760208401611de7565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561201c57600080fd5b61202585611d65565b935061203360208601611d65565b925060408501359150606085013567ffffffffffffffff8082111561205757600080fd5b818701915087601f83011261206b57600080fd5b81358181111561207d5761207d611ff0565b604051601f8201601f19908116603f011681019083821181831017156120a5576120a5611ff0565b816040528281528a60208487010111156120be57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156120f557600080fd5b6120fe83611d65565b9150611fe760208401611d65565b600181811c9082168061212057607f821691505b60208210810361214057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156121a4576121a461217b565b500190565b6020808252601f908201527f6d696e7420616d6f756e742065786365656473206d617820737570706c792100604082015260600190565b60208082526027908201527f7175616e74697479206578636565647320616c6c6f776564206d696e74207175604082015266616e746974792160c81b606082015260800190565b60008160001904831182151516156122415761224161217b565b500290565b634e487b7160e01b600052603260045260246000fd5b60006001820161226e5761226e61217b565b5060010190565b6000828210156122875761228761217b565b500390565b6000835161229e818460208801611ce1565b8351908301906122b2818360208801611ce1565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122fe90830184611d0d565b9695505050505050565b60006020828403121561231a57600080fd5b81516114c581611cae565b634e487b7160e01b600052601260045260246000fd5b60008261234a5761234a612325565b500490565b60008261235e5761235e612325565b50069056fea2646970667358221220487c0297b4ab5d0cf3b80e58bfb6516a17183082da83a570015fde2f90566c5664736f6c634300080d0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d51503342754162634b68705161675454456e52386d7a356b5a654343414b6576433961364763594777536e452f00000000000000000000

-----Decoded View---------------
Arg [0] : _unrevealedURI (string): ipfs://QmQP3BuAbcKhpQagTTEnR8mz5kZeCCAKevC9a6GcYGwSnE/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d51503342754162634b68705161675454456e52386d7a35
Arg [3] : 6b5a654343414b6576433961364763594777536e452f00000000000000000000


Deployed Bytecode Sourcemap

369:5617:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4880:607:13;;;;;;;;;;-1:-1:-1;4880:607:13;;;;;:::i;:::-;;:::i;:::-;;;565:14:15;;558:22;540:41;;528:2;513:18;4880:607:13;;;;;;;;9768:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;11769:200::-;;;;;;;;;;-1:-1:-1;11769:200:13;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:15;;;1674:51;;1662:2;1647:18;11769:200:13;1528:203:15;3293:100:12;;;;;;;;;;-1:-1:-1;3293:100:12;;;;;:::i;:::-;;:::i;:::-;;11245:463:13;;;;;;;;;;-1:-1:-1;11245:463:13;;;;;:::i;:::-;;:::i;3963:309::-;;;;;;;;;;;;;:::i;:::-;;;2319:25:15;;;2307:2;2292:18;3963:309:13;2173:177:15;572:32:12;;;;;;;;;;;;;;;;12629:164:13;;;;;;;;;;-1:-1:-1;12629:164:13;;;;;:::i;:::-;;:::i;2360:500:12:-;;;;;;:::i;:::-;;:::i;650:25::-;;;;;;;;;;;;;;;;3210:77;;;;;;;;;;-1:-1:-1;3210:77:12;;;;;:::i;:::-;;:::i;450:32::-;;;;;;;;;;;;;;;;1869:485;;;;;;;;;;-1:-1:-1;1869:485:12;;;;;:::i;:::-;;:::i;3729:224::-;;;;;;;;;;;;;:::i;1134:729::-;;;;;;;;;;-1:-1:-1;1134:729:12;;;;;:::i;:::-;;:::i;681:32::-;;;;;;;;;;-1:-1:-1;681:32:12;;;;;;;;12859:179:13;;;;;;;;;;-1:-1:-1;12859:179:13;;;;;:::i;:::-;;:::i;4560:716:12:-;;;;;;;;;;-1:-1:-1;4560:716:12;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;488:35::-;;;;;;;;;;;;;;;;756:28;;;;;;;;;;-1:-1:-1;756:28:12;;;;;;;;;;;3619:104;;;;;;;;;;-1:-1:-1;3619:104:12;;;;;:::i;:::-;;:::i;2866:222::-;;;;;;;;;;-1:-1:-1;2866:222:12;;;;;:::i;:::-;;:::i;9564:142:13:-;;;;;;;;;;-1:-1:-1;9564:142:13;;;;;:::i;:::-;;:::i;529:37:12:-;;;;;;;;;;;;;;;;5546:221:13;;;;;;;;;;-1:-1:-1;5546:221:13;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;3982:572:12:-;;;;;;;;;;-1:-1:-1;3982:572:12;;;;;:::i;:::-;;:::i;826:43::-;;;;;;;;;;-1:-1:-1;826:43:12;;;;;:::i;:::-;;;;;;;;;;;;;;610:34;;;;;;;;;;;;;;;;3509:104;;;;;;;;;;-1:-1:-1;3509:104:12;;;;;:::i;:::-;;:::i;3094:110::-;;;;;;;;;;-1:-1:-1;3094:110:12;;;;;:::i;:::-;;:::i;1036:85:0:-;;;;;;;;;;-1:-1:-1;1108:6:0;;-1:-1:-1;;;;;1108:6:0;1036:85;;9930:102:13;;;;;;;;;;;;;:::i;12036:303::-;;;;;;;;;;-1:-1:-1;12036:303:13;;;;;:::i;:::-;;:::i;3399:104:12:-;;;;;;;;;;-1:-1:-1;3399:104:12;;;;;:::i;:::-;;:::i;13104:385:13:-;;;;;;;;;;-1:-1:-1;13104:385:13;;;;;:::i;:::-;;:::i;5282:461:12:-;;;;;;;;;;-1:-1:-1;5282:461:12;;;;;:::i;:::-;;:::i;719:31::-;;;;;;;;;;-1:-1:-1;719:31:12;;;;;;;;;;;12405:162:13;;;;;;;;;;-1:-1:-1;12405:162:13;;;;;:::i;:::-;-1:-1:-1;;;;;12525:25:13;;;12502:4;12525:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;12405:162;1918:198:0;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;4880:607:13:-;4965:4;-1:-1:-1;;;;;;;;;5260:25:13;;;;:101;;-1:-1:-1;;;;;;;;;;5336:25:13;;;5260:101;:177;;;-1:-1:-1;;;;;;;;;;5412:25:13;;;5260:177;5241:196;4880:607;-1:-1:-1;;4880:607:13:o;9768:98::-;9822:13;9854:5;9847:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9768:98;:::o;11769:200::-;11837:7;11861:16;11869:7;11861;:16::i;:::-;11856:64;;11886:34;;-1:-1:-1;;;11886:34:13;;;;;;;;;;;11856:64;-1:-1:-1;11938:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;11938:24:13;;11769:200::o;3293:100:12:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;;;;;;;;;3364:13:12::1;:22:::0;3293:100::o;11245:463:13:-;11317:13;11349:27;11368:7;11349:18;:27::i;:::-;11317:61;;11398:5;-1:-1:-1;;;;;11392:11:13;:2;-1:-1:-1;;;;;11392:11:13;;11388:48;;11412:24;;-1:-1:-1;;;11412:24:13;;;;;;;;;;;11388:48;719:10:6;-1:-1:-1;;;;;11451:28:13;;;11447:172;;11498:44;11515:5;719:10:6;12405:162:13;:::i;11498:44::-;11493:126;;11569:35;;-1:-1:-1;;;11569:35:13;;;;;;;;;;;11493:126;11629:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;11629:29:13;-1:-1:-1;;;;;11629:29:13;;;;;;;;;11673:28;;11629:24;;11673:28;;;;;;;11307:401;11245:463;;:::o;3963:309::-;5976:1:12;4225:12:13;4016:7;4209:13;:28;-1:-1:-1;;4209:46:13;;3963:309::o;12629:164::-;12758:28;12768:4;12774:2;12778:7;12758:9;:28::i;:::-;12629:164;;;:::o;2360:500:12:-;918:9;931:10;918:23;910:32;;;;;;2487:10:::1;;2475:8;2459:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;2438:116;;;;-1:-1:-1::0;;;2438:116:12::1;;;;;;;:::i;:::-;2572:12;::::0;::::1;;2564:51;;;::::0;-1:-1:-1;;;2564:51:12;;9526:2:15;2564:51:12::1;::::0;::::1;9508:21:15::0;9565:2;9545:18;;;9538:30;9604:28;9584:18;;;9577:56;9650:18;;2564:51:12::1;9324:350:15::0;2564:51:12::1;2658:13;;2646:8;:25;;2625:111;;;;-1:-1:-1::0;;;2625:111:12::1;;;;;;;:::i;:::-;2779:8;2767:9;;:20;;;;:::i;:::-;2754:9;:33;2746:65;;;::::0;-1:-1:-1;;;2746:65:12;;10462:2:15;2746:65:12::1;::::0;::::1;10444:21:15::0;10501:2;10481:18;;;10474:30;-1:-1:-1;;;10520:18:15;;;10513:49;10579:18;;2746:65:12::1;10260:343:15::0;2746:65:12::1;2822:31;2832:10;2844:8;2822:9;:31::i;:::-;2360:500:::0;:::o;3210:77::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3268:8:12::1;:12:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;3268:12:12;;::::1;::::0;;;::::1;::::0;;3210:77::o;1869:485::-;918:9;931:10;918:23;910:32;;;;;;1959:13:::1;;1942;:11;:13::i;:::-;:30;;1934:66;;;::::0;-1:-1:-1;;;1934:66:12;;10810:2:15;1934:66:12::1;::::0;::::1;10792:21:15::0;10849:2;10829:18;;;10822:30;10888:25;10868:18;;;10861:53;10931:18;;1934:66:12::1;10608:347:15::0;1934:66:12::1;2059:10;;2047:8;2031:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;2010:116;;;;-1:-1:-1::0;;;2010:116:12::1;;;;;;;:::i;:::-;2144:11;::::0;::::1;::::0;::::1;;;2136:48;;;::::0;-1:-1:-1;;;2136:48:12;;11162:2:15;2136:48:12::1;::::0;::::1;11144:21:15::0;11201:2;11181:18;;;11174:30;11240:26;11220:18;;;11213:54;11284:18;;2136:48:12::1;10960:348:15::0;2136:48:12::1;2227:13;;2215:8;:25;;2194:111;;;;-1:-1:-1::0;;;2194:111:12::1;;;;;;;:::i;3729:224::-:0;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3797:103:12::1;::::0;3779:12:::1;::::0;3805:42:::1;::::0;3874:21:::1;::::0;3779:12;3797:103;3779:12;3797:103;3874:21;3805:42;3797:103:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3778:122;;;3918:7;3910:36;;;::::0;-1:-1:-1;;;3910:36:12;;11725:2:15;3910:36:12::1;::::0;::::1;11707:21:15::0;11764:2;11744:18;;;11737:30;-1:-1:-1;;;11783:18:15;;;11776:46;11839:18;;3910:36:12::1;11523:340:15::0;1134:729:12;918:9;931:10;918:23;910:32;;;;;;1254:8:::1;::::0;;;::::1;;;1246:50;;;::::0;-1:-1:-1;;;1246:50:12;;12070:2:15;1246:50:12::1;::::0;::::1;12052:21:15::0;12109:2;12089:18;;;12082:30;12148:31;12128:18;;;12121:59;12197:18;;1246:50:12::1;11868:353:15::0;1246:50:12::1;1355:10;;1343:8;1327:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;1306:116;;;;-1:-1:-1::0;;;1306:116:12::1;;;;;;;:::i;:::-;1488:15;::::0;1462:10:::1;1453:20;::::0;;;:8:::1;:20;::::0;;;;;:31:::1;::::0;1476:8;;1453:31:::1;:::i;:::-;:50;;1432:120;;;::::0;-1:-1:-1;;;1432:120:12;;12428:2:15;1432:120:12::1;::::0;::::1;12410:21:15::0;12467:2;12447:18;;;12440:30;12506:25;12486:18;;;12479:53;12549:18;;1432:120:12::1;12226:347:15::0;1432:120:12::1;1583:140;1619:5;;1583:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;1642:10:12::1;::::0;1680:28:::1;::::0;-1:-1:-1;;1697:10:12::1;12727:2:15::0;12723:15;12719:53;1680:28:12::1;::::0;::::1;12707:66:15::0;1642:10:12;;-1:-1:-1;12789:12:15;;;-1:-1:-1;1680:28:12::1;;;;;;;;;;;;1670:39;;;;;;1583:18;:140::i;:::-;1562:211;;;::::0;-1:-1:-1;;;1562:211:12;;13014:2:15;1562:211:12::1;::::0;::::1;12996:21:15::0;13053:2;13033:18;;;13026:30;13092:26;13072:18;;;13065:54;13136:18;;1562:211:12::1;12812:348:15::0;1562:211:12::1;1792:10;1783:20;::::0;;;:8:::1;:20;::::0;;;;:32;;1807:8;;1783:20;:32:::1;::::0;1807:8;;1783:32:::1;:::i;:::-;::::0;;;-1:-1:-1;1825:31:12::1;::::0;-1:-1:-1;1835:10:12::1;1847:8:::0;1825:9:::1;:31::i;12859:179:13:-:0;12992:39;13009:4;13015:2;13019:7;12992:39;;;;;;;;;;;;:16;:39::i;4560:716:12:-;4643:16;4675:23;4701:16;4711:5;4701:9;:16::i;:::-;4675:42;;4727:30;4774:15;4760:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4760:30:12;-1:-1:-1;4727:63:12;-1:-1:-1;4825:1:12;4800:22;4874:365;4912:15;4894;:33;:65;;;;;4949:10;;4931:14;:28;;4894:65;4874:365;;;4984:25;5012:23;5020:14;5012:7;:23::i;:::-;4984:51;;5075:5;-1:-1:-1;;;;;5054:26:12;:17;-1:-1:-1;;;;;5054:26:12;;5050:148;;5133:14;5100:13;5114:15;5100:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;5166:17;;;;:::i;:::-;;;;5050:148;5212:16;;;;:::i;:::-;;;;4970:269;4874:365;;;-1:-1:-1;5256:13:12;;4560:716;-1:-1:-1;;;;4560:716:12:o;3619:104::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3693:23:12::1;:13;3709:7:::0;;3693:23:::1;:::i;2866:222::-:0;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2989:10:12::1;;2977:8;2961:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;2940:108;;;::::0;-1:-1:-1;;;2940:108:12;;13639:2:15;2940:108:12::1;::::0;::::1;13621:21:15::0;13678:2;13658:18;;;13651:30;13717:25;13697:18;;;13690:53;13760:18;;2940:108:12::1;13437:347:15::0;2940:108:12::1;3058:23;3068:2;3072:8;3058:9;:23::i;:::-;2866:222:::0;;:::o;9564:142:13:-;9628:7;9670:27;9689:7;9670:18;:27::i;5546:221::-;5610:7;-1:-1:-1;;;;;5633:19:13;;5629:60;;5661:28;;-1:-1:-1;;;5661:28:13;;;;;;;;;;;5629:60;-1:-1:-1;;;;;;5706:25:13;;;;;:18;:25;;;;;;1017:13;5706:54;;5546:221::o;1668:101:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;3982:572:12:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4055:13:12::1;4087:9:::0;4082:409:::1;4102:19:::0;;::::1;4082:409;;;4142:16;4176:1;4181;4176:6:::0;4172:132:::1;;4213:8;;4222:1;4213:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4202:22;;4172:132;;;4274:8:::0;;4283:5:::1;4287:1;4283::::0;:5:::1;:::i;:::-;4274:15;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4263:26;;4172:132;4333:8;;4342:1;4333:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;4321:23:12::1;:8;-1:-1:-1::0;;;;;4321:23:12::1;::::0;4317:164:::1;;4364:10;4373:1;4364:10:::0;::::1;:::i;:::-;;;4317:164;;;4413:26;4423:8;4433:5;4413:9;:26::i;:::-;4465:1;4457:9;;4317:164;-1:-1:-1::0;4123:3:12;::::1;::::0;::::1;:::i;:::-;;;;4082:409;;;-1:-1:-1::0;4500:47:12::1;4510:8:::0;;4519:19:::1;4537:1;4510:8:::0;4519:19:::1;:::i;:::-;4510:29;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4541:5;4500:9;:47::i;3509:104::-:0;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3582:10:12::1;:24:::0;3509:104::o;3094:110::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3156:12:12::1;:16:::0;;-1:-1:-1;;3182:15:12;-1:-1:-1;;3156:16:12;::::1;;3182:15:::0;;;;3156:16:::1;3182:15:::0;;::::1;::::0;;;::::1;::::0;;3094:110::o;9930:102:13:-;9986:13;10018:7;10011:14;;;;;:::i;12036:303::-;719:10:6;-1:-1:-1;;;;;12134:31:13;;;12130:61;;12174:17;;-1:-1:-1;;;12174:17:13;;;;;;;;;;;12130:61;719:10:6;12202:39:13;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;12202:49:13;;;;;;;;;;;;:60;;-1:-1:-1;;12202:60:13;;;;;;;;;;12277:55;;540:41:15;;;12202:49:13;;719:10:6;12277:55:13;;513:18:15;12277:55:13;;;;;;;12036:303;;:::o;3399:104:12:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3472:15:12::1;:24:::0;3399:104::o;13104:385:13:-;13265:28;13275:4;13281:2;13285:7;13265:9;:28::i;:::-;-1:-1:-1;;;;;13307:14:13;;;:19;13303:180;;13345:56;13376:4;13382:2;13386:7;13395:5;13345:30;:56::i;:::-;13340:143;;13428:40;;-1:-1:-1;;;13428:40:13;;;;;;;;;;;13340:143;13104:385;;;;:::o;5282:461:12:-;5395:13;5445:16;5453:7;5445;:16::i;:::-;5424:110;;;;-1:-1:-1;;;5424:110:12;;14121:2:15;5424:110:12;;;14103:21:15;14160:2;14140:18;;;14133:30;14199:34;14179:18;;;14172:62;-1:-1:-1;;;14250:18:15;;;14243:45;14305:19;;5424:110:12;13919:411:15;5424:110:12;5545:21;5569:10;:8;:10::i;:::-;5545:34;;5614:7;5608:21;5633:1;5608:26;:128;;;;;;;;;;;;;;;;;5677:7;5686:18;:7;:16;:18::i;:::-;5660:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5608:128;5589:147;5282:461;-1:-1:-1;;;5282:461:12:o;1918:198:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:6;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;15179:2:15;1998:73:0::1;::::0;::::1;15161:21:15::0;15218:2;15198:18;;;15191:30;15257:34;15237:18;;;15230:62;-1:-1:-1;;;15308:18:15;;;15301:36;15354:19;;1998:73:0::1;14977:402:15::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;13735:268:13:-:0;13792:4;13846:7;5976:1:12;13827:26:13;;:65;;;;;13879:13;;13869:7;:23;13827:65;:150;;;;-1:-1:-1;;13929:26:13;;;;:17;:26;;;;;;-1:-1:-1;;;13929:43:13;:48;;13735:268::o;7141:1105::-;7208:7;7242;;5976:1:12;7288:23:13;7284:898;;7340:13;;7333:4;:20;7329:853;;;7377:14;7394:23;;;:17;:23;;;;;;;-1:-1:-1;;;7481:23:13;;:28;;7477:687;;7992:111;7999:6;8009:1;7999:11;7992:111;;-1:-1:-1;;;8069:6:13;8051:25;;;;:17;:25;;;;;;7992:111;;7477:687;7355:827;7329:853;8208:31;;-1:-1:-1;;;8208:31:13;;;;;;;;;;;18835:2460;18945:27;18975;18994:7;18975:18;:27::i;:::-;18945:57;;19058:4;-1:-1:-1;;;;;19017:45:13;19033:19;-1:-1:-1;;;;;19017:45:13;;19013:86;;19071:28;;-1:-1:-1;;;19071:28:13;;;;;;;;;;;19013:86;19110:22;719:10:6;-1:-1:-1;;;;;19136:27:13;;;;:86;;-1:-1:-1;19179:43:13;19196:4;719:10:6;12405:162:13;:::i;19179:43::-;19136:145;;;-1:-1:-1;719:10:6;19238:20:13;19250:7;19238:11;:20::i;:::-;-1:-1:-1;;;;;19238:43:13;;19136:145;19110:172;;19298:17;19293:66;;19324:35;;-1:-1:-1;;;19324:35:13;;;;;;;;;;;19293:66;-1:-1:-1;;;;;19373:16:13;;19369:52;;19398:23;;-1:-1:-1;;;19398:23:13;;;;;;;;;;;19369:52;19545:24;;;;:15;:24;;;;;;;;19538:31;;-1:-1:-1;;;;;;19538:31:13;;;-1:-1:-1;;;;;19930:24:13;;;;;:18;:24;;;;;19928:26;;-1:-1:-1;;19928:26:13;;;19998:22;;;;;;;19996:24;;-1:-1:-1;19996:24:13;;;20284:26;;;:17;:26;;;;;-1:-1:-1;;;20370:15:13;1656:3;20370:41;20329:83;;:126;;20284:171;;;20572:46;;:51;;20568:616;;20675:1;20665:11;;20643:19;20796:30;;;:17;:30;;;;;;:35;;20792:378;;20932:13;;20917:11;:28;20913:239;;21077:30;;;;:17;:30;;;;;:52;;;20913:239;20625:559;20568:616;21228:7;21224:2;-1:-1:-1;;;;;21209:27:13;21218:4;-1:-1:-1;;;;;21209:27:13;;;;;;;;;;;18935:2360;;18835:2460;;;:::o;14082:102::-;14150:27;14160:2;14164:8;14150:27;;;;;;;;;;;;:9;:27::i;1154:184:9:-;1275:4;1327;1298:25;1311:5;1318:4;1298:12;:25::i;:::-;:33;;1154:184;-1:-1:-1;;;;1154:184:9:o;2270:187:0:-;2362:6;;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;;;;;2378:17:0;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;24900:697:13:-;25078:88;;-1:-1:-1;;;25078:88:13;;25058:4;;-1:-1:-1;;;;;25078:45:13;;;;;:88;;719:10:6;;25145:4:13;;25151:7;;25160:5;;25078:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25078:88:13;;;;;;;;-1:-1:-1;;25078:88:13;;;;;;;;;;;;:::i;:::-;;;25074:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25356:6;:13;25373:1;25356:18;25352:229;;25401:40;;-1:-1:-1;;;25401:40:13;;;;;;;;;;;25352:229;25541:6;25535:13;25526:6;25522:2;25518:15;25511:38;25074:517;-1:-1:-1;;;;;;25234:64:13;-1:-1:-1;;;25234:64:13;;-1:-1:-1;25074:517:13;24900:697;;;;;;:::o;5775:112:12:-;5835:13;5867;5860:20;;;;;:::i;328:703:8:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:8;;;;;;;;;;;;-1:-1:-1;;;627:10:8;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:8;;-1:-1:-1;773:2:8;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:8;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:8;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:8;;;;;;;;-1:-1:-1;972:11:8;981:2;972:11;;:::i;:::-;;;844:150;;14544:2184:13;14662:20;14685:13;-1:-1:-1;;;;;14712:16:13;;14708:48;;14737:19;;-1:-1:-1;;;14737:19:13;;;;;;;;;;;14708:48;14770:8;14782:1;14770:13;14766:44;;14792:18;;-1:-1:-1;;;14792:18:13;;;;;;;;;;;14766:44;-1:-1:-1;;;;;15346:22:13;;;;;;:18;:22;;;;1151:2;15346:22;;;:70;;15384:31;15372:44;;15346:70;;;15652:31;;;:17;:31;;;;;15743:15;1656:3;15743:41;15702:83;;-1:-1:-1;15820:13:13;;1913:3;15805:56;15702:160;15652:210;;:31;;15940:23;;;;15982:14;:19;15978:622;;16021:308;16051:38;;16076:12;;-1:-1:-1;;;;;16051:38:13;;;16068:1;;16051:38;;16068:1;;16051:38;16116:69;16155:1;16159:2;16163:14;;;;;;16179:5;16116:30;:69::i;:::-;16111:172;;16220:40;;-1:-1:-1;;;16220:40:13;;;;;;;;;;;16111:172;16324:3;16309:12;:18;16021:308;;16408:12;16391:13;;:29;16387:43;;16422:8;;;16387:43;15978:622;;;16469:117;16499:40;;16524:14;;;;;-1:-1:-1;;;;;16499:40:13;;;16516:1;;16499:40;;16516:1;;16499:40;16581:3;16566:12;:18;16469:117;;15978:622;-1:-1:-1;16613:13:13;:28;;;16661:60;;16694:2;16698:12;16712:8;16661:60;:::i;1689:662:9:-;1772:7;1814:4;1772:7;1828:488;1852:5;:12;1848:1;:16;1828:488;;;1885:20;1908:5;1914:1;1908:8;;;;;;;;:::i;:::-;;;;;;;1885:31;;1950:12;1934;:28;1930:376;;2425:13;2473:15;;;2508:4;2501:15;;;2554:4;2538:21;;2060:57;;1930:376;;;2425:13;2473:15;;;2508:4;2501:15;;;2554:4;2538:21;;2234:57;;1930:376;-1:-1:-1;1866:3:9;;;;:::i;:::-;;;;1828:488;;;-1:-1:-1;2332:12:9;1689:662;-1:-1:-1;;;1689:662:9:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:15;-1:-1:-1;;;;;;88:32:15;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:15;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:15;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:15:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:15;;1343:180;-1:-1:-1;1343:180:15:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:15;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:15:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2870:160::-;2935:20;;2991:13;;2984:21;2974:32;;2964:60;;3020:1;3017;3010:12;3035:180;3091:6;3144:2;3132:9;3123:7;3119:23;3115:32;3112:52;;;3160:1;3157;3150:12;3112:52;3183:26;3199:9;3183:26;:::i;3220:367::-;3283:8;3293:6;3347:3;3340:4;3332:6;3328:17;3324:27;3314:55;;3365:1;3362;3355:12;3314:55;-1:-1:-1;3388:20:15;;3431:18;3420:30;;3417:50;;;3463:1;3460;3453:12;3417:50;3500:4;3492:6;3488:17;3476:29;;3560:3;3553:4;3543:6;3540:1;3536:14;3528:6;3524:27;3520:38;3517:47;3514:67;;;3577:1;3574;3567:12;3514:67;3220:367;;;;;:::o;3592:505::-;3687:6;3695;3703;3756:2;3744:9;3735:7;3731:23;3727:32;3724:52;;;3772:1;3769;3762:12;3724:52;3808:9;3795:23;3785:33;;3869:2;3858:9;3854:18;3841:32;3896:18;3888:6;3885:30;3882:50;;;3928:1;3925;3918:12;3882:50;3967:70;4029:7;4020:6;4009:9;4005:22;3967:70;:::i;:::-;3592:505;;4056:8;;-1:-1:-1;3941:96:15;;-1:-1:-1;;;;3592:505:15:o;4102:186::-;4161:6;4214:2;4202:9;4193:7;4189:23;4185:32;4182:52;;;4230:1;4227;4220:12;4182:52;4253:29;4272:9;4253:29;:::i;4293:632::-;4464:2;4516:21;;;4586:13;;4489:18;;;4608:22;;;4435:4;;4464:2;4687:15;;;;4661:2;4646:18;;;4435:4;4730:169;4744:6;4741:1;4738:13;4730:169;;;4805:13;;4793:26;;4874:15;;;;4839:12;;;;4766:1;4759:9;4730:169;;;-1:-1:-1;4916:3:15;;4293:632;-1:-1:-1;;;;;;4293:632:15:o;4930:592::-;5001:6;5009;5062:2;5050:9;5041:7;5037:23;5033:32;5030:52;;;5078:1;5075;5068:12;5030:52;5118:9;5105:23;5147:18;5188:2;5180:6;5177:14;5174:34;;;5204:1;5201;5194:12;5174:34;5242:6;5231:9;5227:22;5217:32;;5287:7;5280:4;5276:2;5272:13;5268:27;5258:55;;5309:1;5306;5299:12;5258:55;5349:2;5336:16;5375:2;5367:6;5364:14;5361:34;;;5391:1;5388;5381:12;5361:34;5436:7;5431:2;5422:6;5418:2;5414:15;5410:24;5407:37;5404:57;;;5457:1;5454;5447:12;5404:57;5488:2;5480:11;;;;;5510:6;;-1:-1:-1;4930:592:15;;-1:-1:-1;;;;4930:592:15:o;5527:437::-;5613:6;5621;5674:2;5662:9;5653:7;5649:23;5645:32;5642:52;;;5690:1;5687;5680:12;5642:52;5730:9;5717:23;5763:18;5755:6;5752:30;5749:50;;;5795:1;5792;5785:12;5749:50;5834:70;5896:7;5887:6;5876:9;5872:22;5834:70;:::i;:::-;5923:8;;5808:96;;-1:-1:-1;5527:437:15;-1:-1:-1;;;;5527:437:15:o;6154:254::-;6219:6;6227;6280:2;6268:9;6259:7;6255:23;6251:32;6248:52;;;6296:1;6293;6286:12;6248:52;6319:29;6338:9;6319:29;:::i;:::-;6309:39;;6367:35;6398:2;6387:9;6383:18;6367:35;:::i;:::-;6357:45;;6154:254;;;;;:::o;6413:127::-;6474:10;6469:3;6465:20;6462:1;6455:31;6505:4;6502:1;6495:15;6529:4;6526:1;6519:15;6545:1138;6640:6;6648;6656;6664;6717:3;6705:9;6696:7;6692:23;6688:33;6685:53;;;6734:1;6731;6724:12;6685:53;6757:29;6776:9;6757:29;:::i;:::-;6747:39;;6805:38;6839:2;6828:9;6824:18;6805:38;:::i;:::-;6795:48;;6890:2;6879:9;6875:18;6862:32;6852:42;;6945:2;6934:9;6930:18;6917:32;6968:18;7009:2;7001:6;6998:14;6995:34;;;7025:1;7022;7015:12;6995:34;7063:6;7052:9;7048:22;7038:32;;7108:7;7101:4;7097:2;7093:13;7089:27;7079:55;;7130:1;7127;7120:12;7079:55;7166:2;7153:16;7188:2;7184;7181:10;7178:36;;;7194:18;;:::i;:::-;7269:2;7263:9;7237:2;7323:13;;-1:-1:-1;;7319:22:15;;;7343:2;7315:31;7311:40;7299:53;;;7367:18;;;7387:22;;;7364:46;7361:72;;;7413:18;;:::i;:::-;7453:10;7449:2;7442:22;7488:2;7480:6;7473:18;7528:7;7523:2;7518;7514;7510:11;7506:20;7503:33;7500:53;;;7549:1;7546;7539:12;7500:53;7605:2;7600;7596;7592:11;7587:2;7579:6;7575:15;7562:46;7650:1;7645:2;7640;7632:6;7628:15;7624:24;7617:35;7671:6;7661:16;;;;;;;6545:1138;;;;;;;:::o;7688:260::-;7756:6;7764;7817:2;7805:9;7796:7;7792:23;7788:32;7785:52;;;7833:1;7830;7823:12;7785:52;7856:29;7875:9;7856:29;:::i;:::-;7846:39;;7904:38;7938:2;7927:9;7923:18;7904:38;:::i;7953:380::-;8032:1;8028:12;;;;8075;;;8096:61;;8150:4;8142:6;8138:17;8128:27;;8096:61;8203:2;8195:6;8192:14;8172:18;8169:38;8166:161;;8249:10;8244:3;8240:20;8237:1;8230:31;8284:4;8281:1;8274:15;8312:4;8309:1;8302:15;8166:161;;7953:380;;;:::o;8338:356::-;8540:2;8522:21;;;8559:18;;;8552:30;8618:34;8613:2;8598:18;;8591:62;8685:2;8670:18;;8338:356::o;8699:127::-;8760:10;8755:3;8751:20;8748:1;8741:31;8791:4;8788:1;8781:15;8815:4;8812:1;8805:15;8831:128;8871:3;8902:1;8898:6;8895:1;8892:13;8889:39;;;8908:18;;:::i;:::-;-1:-1:-1;8944:9:15;;8831:128::o;8964:355::-;9166:2;9148:21;;;9205:2;9185:18;;;9178:30;9244:33;9239:2;9224:18;;9217:61;9310:2;9295:18;;8964:355::o;9679:403::-;9881:2;9863:21;;;9920:2;9900:18;;;9893:30;9959:34;9954:2;9939:18;;9932:62;-1:-1:-1;;;10025:2:15;10010:18;;10003:37;10072:3;10057:19;;9679:403::o;10087:168::-;10127:7;10193:1;10189;10185:6;10181:14;10178:1;10175:21;10170:1;10163:9;10156:17;10152:45;10149:71;;;10200:18;;:::i;:::-;-1:-1:-1;10240:9:15;;10087:168::o;13165:127::-;13226:10;13221:3;13217:20;13214:1;13207:31;13257:4;13254:1;13247:15;13281:4;13278:1;13271:15;13297:135;13336:3;13357:17;;;13354:43;;13377:18;;:::i;:::-;-1:-1:-1;13424:1:15;13413:13;;13297:135::o;13789:125::-;13829:4;13857:1;13854;13851:8;13848:34;;;13862:18;;:::i;:::-;-1:-1:-1;13899:9:15;;13789:125::o;14335:637::-;14615:3;14653:6;14647:13;14669:53;14715:6;14710:3;14703:4;14695:6;14691:17;14669:53;:::i;:::-;14785:13;;14744:16;;;;14807:57;14785:13;14744:16;14841:4;14829:17;;14807:57;:::i;:::-;-1:-1:-1;;;14886:20:15;;14915:22;;;14964:1;14953:13;;14335:637;-1:-1:-1;;;;14335:637:15:o;15384:489::-;-1:-1:-1;;;;;15653:15:15;;;15635:34;;15705:15;;15700:2;15685:18;;15678:43;15752:2;15737:18;;15730:34;;;15800:3;15795:2;15780:18;;15773:31;;;15578:4;;15821:46;;15847:19;;15839:6;15821:46;:::i;:::-;15813:54;15384:489;-1:-1:-1;;;;;;15384:489:15:o;15878:249::-;15947:6;16000:2;15988:9;15979:7;15975:23;15971:32;15968:52;;;16016:1;16013;16006:12;15968:52;16048:9;16042:16;16067:30;16091:5;16067:30;:::i;16132:127::-;16193:10;16188:3;16184:20;16181:1;16174:31;16224:4;16221:1;16214:15;16248:4;16245:1;16238:15;16264:120;16304:1;16330;16320:35;;16335:18;;:::i;:::-;-1:-1:-1;16369:9:15;;16264:120::o;16389:112::-;16421:1;16447;16437:35;;16452:18;;:::i;:::-;-1:-1:-1;16486:9:15;;16389:112::o

Swarm Source

ipfs://487c0297b4ab5d0cf3b80e58bfb6516a17183082da83a570015fde2f90566c56
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.