ETH Price: $3,954.33 (+1.48%)

Token

Tiny Tamers (TT)
 

Overview

Max Total Supply

2,222 TT

Holders

695

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TT
0x39FF8A109036aA47BE0FD20085a7c7866DA9985d
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:
TinyTamers

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

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

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "erc721a/contracts/extensions/ERC721ABurnable.sol";

/*
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@,,  &@@&&@@&&@@@@&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@(   ,&&&((&&&&(&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@&   ,&((&&&&&&&&&&&&&(@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@&,,,&&&&&&&    &&&&&&&(&@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@&,,,&&&,,,  ((   ,,&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@&   &&,&  (&&&&(( &,&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@&   && ,  &    && , &@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@& ((( &&&,,       ,&&&&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&,&(&& &&&&  & (,*(, &@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&& &&&((&&(((&, (( .,&@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&,,,((((,,,&&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&((((&@@@&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
*/

/**
 * @title TinyTamers
 * @author @ScottMitchell18
 */
contract TinyTamers is ERC721AQueryable, ERC721ABurnable, Ownable {
    using Strings for uint256;

    // @dev Base uri for the nft
    string private baseURI;

    // @dev Hidden uri for the nft
    string public hiddenURI =
        "ipfs://bafybeib5mpfkszttrqvzuair6ej3t34ny4p6a3mhql4c5ec2ratxaqu6li/prereveal.json";

    // @dev The merkle root proof
    bytes32 public merkleRoot;

    // @dev The premints flag
    bool public premintsActive = true;

    // @dev The reveal flag
    bool public isRevealed = false;

    // @dev The price of a mint
    uint256 public price = 0.01 ether;

    // @dev The withdraw address
    address public treasury =
        payable(0x890f912a5f6a0FFc89F07638552A7a30EEF9DC17);

    // @dev The dev address
    address public dev = payable(0x593b94c059f37f1AF542c25A0F4B22Cd2695Fb68);

    // @dev An address mapping for free mints
    mapping(address => bool) public addressToFreeMinted;

    // @dev An address mapping for total mints
    mapping(address => uint256) public addressToMinted;

    // @dev The total max per wallet (n - 1)
    uint256 public maxPerWallet = 5;

    /*
     * @notice Mint Live ~ August 12th, 630PM EST
     * @dev Mint go live date
     */
    uint256 public liveAt = 1660343400;

    // @dev The total supply of the collection
    uint256 public maxSupply = 2001;

    constructor() ERC721A("Tiny Tamers", "TT") {
        _mintERC2309(dev, 1); // Placeholder mint
    }

    /**
     * @notice Sets the go live timestamp
     * @param _liveAt A base uri
     */
    function setLiveAt(uint256 _liveAt) external onlyOwner {
        liveAt = _liveAt;
    }

    // @dev Check if mint is live
    function isLive() public view returns (bool) {
        return block.timestamp > liveAt;
    }

    /**
     * @notice Whitelisted minting function which requires a merkle proof (max 1)
     * @param _proof The bytes32 array proof to verify the merkle root
     */
    function whitelistMint(bytes32[] calldata _proof) external {
        require(premintsActive && isLive(), "0");
        require(!addressToFreeMinted[_msgSender()], "2");
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        require(MerkleProof.verify(_proof, merkleRoot, leaf), "4");
        addressToFreeMinted[_msgSender()] = true;
        _mint(_msgSender(), 1);
    }

    /**
     * @notice Mints a new TT token
     * @param _amount The number of tokens to mint
     */
    function mint(uint256 _amount) external payable {
        require(isLive(), "0");
        require(msg.value >= _amount * price, "1");
        require(addressToMinted[_msgSender()] + _amount < maxPerWallet, "2");
        require(totalSupply() + _amount < maxSupply, "3");
        addressToMinted[_msgSender()] += _amount;
        _mint(_msgSender(), _amount);
    }

    /**
     * @notice Mints a new TT tokens for owners
     */
    function ownerMint(address to, uint256 _amount) external onlyOwner {
        _mint(to, _amount);
    }

    /**
     * @dev Check if wallet has WL minted
     * @param _address mint address lookup
     */
    function hasWLMinted(address _address) public view returns (bool) {
        return addressToFreeMinted[_address];
    }

    /**
     * @dev Returns the starting token ID.
     */
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /**
     * @notice Returns the URI for a given token id
     * @param _tokenId A tokenId
     */
    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        if (!_exists(_tokenId)) revert OwnerQueryForNonexistentToken();
        if (!isRevealed) return hiddenURI;
        return string(abi.encodePacked(baseURI, Strings.toString(_tokenId)));
    }

    /**
     * @notice Sets the reveal flag
     * @param _isRevealed a flag for whether the collection is revealed
     */
    function setIsRevealed(bool _isRevealed) external onlyOwner {
        isRevealed = _isRevealed;
    }

    /**
     * @notice Sets the hidden URI of the NFT
     * @param _hiddenURI A hidden uri
     */
    function setHiddenURI(string calldata _hiddenURI) external onlyOwner {
        hiddenURI = _hiddenURI;
    }

    /**
     * @notice Sets the base URI of the NFT
     * @param _baseURI A base uri
     */
    function setBaseURI(string calldata _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    /**
     * @notice Sets the merkle root for the mint
     * @param _merkleRoot The merkle root to set
     */
    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    /**
     * @notice Sets the pre mints active
     * @param _premintsActive The bool of premint status
     */
    function setPremintsActive(bool _premintsActive) external onlyOwner {
        premintsActive = _premintsActive;
    }

    /**
     * @notice Sets the max per wallet
     * @param _maxPerWallet The max mint count per address
     */
    function setMaxPerWallet(uint256 _maxPerWallet) external onlyOwner {
        maxPerWallet = _maxPerWallet;
    }

    /**
     * @notice Sets the collection max supply
     * @param _maxSupply The max supply of the collection
     */
    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        maxSupply = _maxSupply;
    }

    /**
     * @notice Sets price
     * @param _price price in wei
     */
    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    /**
     * @notice Sets the treasury recipient
     * @param _treasury The treasury address
     */
    function setTreasury(address _treasury) external onlyOwner {
        treasury = payable(_treasury);
    }

    /**
     * @notice Withdraws funds from contract
     */
    function withdraw() public onlyOwner {
        (bool s1, ) = treasury.call{value: address(this).balance}("");
        require(s1, "Payment failed");
    }
}

File 2 of 11 : 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 3 of 11 : 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 4 of 11 : 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 5 of 11 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *   - `extraData` = `0`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *   - `extraData` = `<Extra data when token was burned>`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     *   - `extraData` = `<Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 6 of 11 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721ABurnable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721A Burnable Token
 * @dev ERC721A Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 11 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of an ERC721AQueryable compliant contract.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 9 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // 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`
    // - [232..255] `extraData`
    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 auxiliary 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 auxiliary 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;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            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;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * 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 Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags)
        private
        view
        returns (uint256 result)
    {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(
                owner,
                or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)
            )
        }
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity)
        private
        pure
        returns (uint256 result)
    {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

        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-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 {
        transferFrom(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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (
                        !_checkContractOnERC721Received(
                            address(0),
                            to,
                            index++,
                            _data
                        )
                    ) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    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` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) |
                    _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT)
            revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) |
                    _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(
                startTokenId,
                startTokenId + quantity - 1,
                address(0),
                to
            );

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        (
            uint256 approvedAddressSlot,
            address approvedAddress
        ) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A()))
                revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED |
                    _nextExtraData(from, to, prevOwnershipPacked)
            );

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

        (
            uint256 approvedAddressSlot,
            address approvedAddress
        ) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A()))
                    revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) |
                    _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // 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 Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed =
            (packed & BITMASK_EXTRA_DATA_COMPLEMENT) |
            (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @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 10 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.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();

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 11 of 11 : IERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of an ERC721ABurnable compliant contract.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":[{"internalType":"address","name":"","type":"address"}],"name":"addressToFreeMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"hasWLMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liveAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenURI","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isRevealed","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liveAt","type":"uint256"}],"name":"setLiveAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_premintsActive","type":"bool"}],"name":"setPremintsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405260516080818152906200325d60a03980516200002a91600a916020909101906200028f565b50600c805461ffff19166001179055662386f26fc10000600d55600e80546001600160a01b031990811673890f912a5f6a0ffc89f07638552a7a30eef9dc1717909155600f805490911673593b94c059f37f1af542c25a0f4b22cd2695fb6817905560056012556362f6d4686013556107d1601455348015620000ac57600080fd5b506040518060400160405280600b81526020016a54696e792054616d65727360a81b81525060405180604001604052806002815260200161151560f21b8152508160029080519060200190620001049291906200028f565b5080516200011a9060039060208401906200028f565b50506001600055506200012d336200014c565b600f5462000146906001600160a01b031660016200019e565b6200037c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000546001600160a01b038316620001c857604051622e076360e81b815260040160405180910390fd5b81620001e75760405163b562e8dd60e01b815260040160405180910390fd5b6113888211156200020b57604051633db1f9af60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600482528083206001871460e11b4260a01b17851790558051600019868801018152905185927fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d928290030190a40160005550565b8280546200029d906200034b565b90600052602060002090601f016020900481019282620002c157600085556200030c565b82601f10620002dc57805160ff19168380011785556200030c565b828001600101855582156200030c579182015b828111156200030c578251825591602001919060010190620002ef565b506200031a9291506200031e565b5090565b5b808211156200031a57600081556001016200031f565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200036057607f821691505b6020821081141562000376576200037662000335565b50919050565b612ed1806200038c6000396000f3fe6080604052600436106103295760003560e01c80637cb64759116101a5578063a0712d68116100ec578063c87b56dd11610095578063e268e4d31161006f578063e268e4d3146108fb578063e985e9c51461091b578063f0f4426014610964578063f2fde38b1461098457600080fd5b8063c87b56dd146108a5578063d4dac32a146108c5578063d5abeb01146108e557600080fd5b8063b8f7a665116100c6578063b8f7a66514610841578063bbaac02f14610858578063c23dc68f1461087857600080fd5b8063a0712d68146107ee578063a22cb46514610801578063b88d4fde1461082157600080fd5b806391b7f5ed1161014e57806399a2557a1161012857806399a2557a1461078b5780639ec00c95146107ab578063a035b1fe146107d857600080fd5b806391b7f5ed1461073657806391cca3db1461075657806395d89b411461077657600080fd5b80638984cbb01161017f5780638984cbb0146106e35780638cc54e7f146107035780638da5cb5b1461071857600080fd5b80637cb64759146106665780637fc46189146106865780638462151c146106b657600080fd5b8063484b973c116102745780635bbb21771161021d5780636d3267b9116101f75780636d3267b9146105f75780636f8b44b01461061157806370a0823114610631578063715018a61461065157600080fd5b80635bbb21771461058a57806361d027b3146105b75780636352211e146105d757600080fd5b806353f8bb9a1161024e57806353f8bb9a1461053557806354214f691461054b57806355f804b31461056a57600080fd5b8063484b973c146104bc57806349a5980a146104dc57806353c27fd2146104fc57600080fd5b80632eb4a7ab116102d657806342842e0e116102b057806342842e0e1461046657806342966c6814610486578063453c2310146104a657600080fd5b80632eb4a7ab1461041b578063372f657c146104315780633ccfd60b1461045157600080fd5b8063095ea7b311610307578063095ea7b3146103b357806318160ddd146103d557806323b872dd146103fb57600080fd5b806301ffc9a71461032e57806306fdde0314610364578063081812fc14610386575b600080fd5b34801561033a57600080fd5b5061034e6103493660046122aa565b6109a4565b60405161035b91906122d5565b60405180910390f35b34801561037057600080fd5b50610379610a41565b60405161035b9190612341565b34801561039257600080fd5b506103a66103a1366004612363565b610ad3565b60405161035b919061239e565b3480156103bf57600080fd5b506103d36103ce3660046123c0565b610b30565b005b3480156103e157600080fd5b5060015460005403600019015b60405161035b9190612403565b34801561040757600080fd5b506103d3610416366004612411565b610c13565b34801561042757600080fd5b506103ee600b5481565b34801561043d57600080fd5b506103d361044c3660046124b3565b610dfe565b34801561045d57600080fd5b506103d3610f1a565b34801561047257600080fd5b506103d3610481366004612411565b610fc8565b34801561049257600080fd5b506103d36104a1366004612363565b610fe3565b3480156104b257600080fd5b506103ee60125481565b3480156104c857600080fd5b506103d36104d73660046123c0565b610fee565b3480156104e857600080fd5b506103d36104f736600461250e565b611026565b34801561050857600080fd5b5061034e61051736600461252f565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561054157600080fd5b506103ee60135481565b34801561055757600080fd5b50600c5461034e90610100900460ff1681565b34801561057657600080fd5b506103d361058536600461259b565b61106a565b34801561059657600080fd5b506105aa6105a53660046126de565b6110a0565b60405161035b91906127db565b3480156105c357600080fd5b50600e546103a6906001600160a01b031681565b3480156105e357600080fd5b506103a66105f2366004612363565b61116e565b34801561060357600080fd5b50600c5461034e9060ff1681565b34801561061d57600080fd5b506103d361062c366004612363565b611179565b34801561063d57600080fd5b506103ee61064c36600461252f565b6111a8565b34801561065d57600080fd5b506103d3611210565b34801561067257600080fd5b506103d3610681366004612363565b611246565b34801561069257600080fd5b5061034e6106a136600461252f565b60106020526000908152604090205460ff1681565b3480156106c257600080fd5b506106d66106d136600461252f565b611275565b60405161035b919061283e565b3480156106ef57600080fd5b506103d36106fe366004612363565b611380565b34801561070f57600080fd5b506103796113af565b34801561072457600080fd5b506008546001600160a01b03166103a6565b34801561074257600080fd5b506103d3610751366004612363565b61143d565b34801561076257600080fd5b50600f546103a6906001600160a01b031681565b34801561078257600080fd5b5061037961146c565b34801561079757600080fd5b506106d66107a636600461284f565b61147b565b3480156107b757600080fd5b506103ee6107c636600461252f565b60116020526000908152604090205481565b3480156107e457600080fd5b506103ee600d5481565b6103d36107fc366004612363565b611620565b34801561080d57600080fd5b506103d361081c366004612884565b61170f565b34801561082d57600080fd5b506103d361083c366004612946565b6117c1565b34801561084d57600080fd5b50601354421161034e565b34801561086457600080fd5b506103d361087336600461259b565b61180b565b34801561088457600080fd5b50610898610893366004612363565b611841565b60405161035b91906129c5565b3480156108b157600080fd5b506103796108c0366004612363565b6118c9565b3480156108d157600080fd5b506103d36108e036600461250e565b6119c4565b3480156108f157600080fd5b506103ee60145481565b34801561090757600080fd5b506103d3610916366004612363565b611a01565b34801561092757600080fd5b5061034e6109363660046129d3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561097057600080fd5b506103d361097f36600461252f565b611a30565b34801561099057600080fd5b506103d361099f36600461252f565b611a89565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610a0757507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610a3b57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610a5090612a1c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7c90612a1c565b8015610ac95780601f10610a9e57610100808354040283529160200191610ac9565b820191906000526020600020905b815481529060010190602001808311610aac57829003601f168201915b5050505050905090565b6000610ade82611ae2565b610b14576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b3b8261116e565b9050336001600160a01b03821614610baa576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16610baa576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610c1e82611b17565b9050836001600160a01b0316816001600160a01b031614610c6b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610c978187335b6001600160a01b039081169116811491141790565b610cdf576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16610cdf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d1f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d2a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610db55760018401600081815260046020526040902054610db3576000548114610db35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600c5460ff168015610e11575060135442115b610e365760405162461bcd60e51b8152600401610e2d90612a64565b60405180910390fd5b3360009081526010602052604090205460ff1615610e665760405162461bcd60e51b8152600401610e2d90612aa8565b600033604051602001610e799190612ae0565b604051602081830303815290604052805190602001209050610ed283838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611b80565b610eee5760405162461bcd60e51b8152600401610e2d90612b29565b336000818152601060205260409020805460ff19166001908117909155610f159190611b96565b505050565b6008546001600160a01b03163314610f445760405162461bcd60e51b8152600401610e2d90612b6b565b600e546040516000916001600160a01b0316904790610f6290612b7b565b60006040518083038185875af1925050503d8060008114610f9f576040519150601f19603f3d011682016040523d82523d6000602084013e610fa4565b606091505b5050905080610fc55760405162461bcd60e51b8152600401610e2d90612bb7565b50565b610f15838383604051806020016040528060008152506117c1565b610fc5816001611ca6565b6008546001600160a01b031633146110185760405162461bcd60e51b8152600401610e2d90612b6b565b6110228282611b96565b5050565b6008546001600160a01b031633146110505760405162461bcd60e51b8152600401610e2d90612b6b565b600c80549115156101000261ff0019909216919091179055565b6008546001600160a01b031633146110945760405162461bcd60e51b8152600401610e2d90612b6b565b610f15600983836121ef565b805160609060008167ffffffffffffffff8111156110c0576110c06125d7565b60405190808252806020026020018201604052801561111257816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816110de5790505b50905060005b8281146111665761114185828151811061113457611134612bc7565b6020026020010151611841565b82828151811061115357611153612bc7565b6020908102919091010152600101611118565b509392505050565b6000610a3b82611b17565b6008546001600160a01b031633146111a35760405162461bcd60e51b8152600401610e2d90612b6b565b601455565b60006001600160a01b0382166111ea576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461123a5760405162461bcd60e51b8152600401610e2d90612b6b565b6112446000611e1f565b565b6008546001600160a01b031633146112705760405162461bcd60e51b8152600401610e2d90612b6b565b600b55565b60606000806000611285856111a8565b905060008167ffffffffffffffff8111156112a2576112a26125d7565b6040519080825280602002602001820160405280156112cb578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b8386146113745761130681611e7e565b91508160400151156113175761136c565b81516001600160a01b03161561132c57815194505b876001600160a01b0316856001600160a01b0316141561136c578083878060010198508151811061135f5761135f612bc7565b6020026020010181815250505b6001016112f6565b50909695505050505050565b6008546001600160a01b031633146113aa5760405162461bcd60e51b8152600401610e2d90612b6b565b601355565b600a80546113bc90612a1c565b80601f01602080910402602001604051908101604052809291908181526020018280546113e890612a1c565b80156114355780601f1061140a57610100808354040283529160200191611435565b820191906000526020600020905b81548152906001019060200180831161141857829003601f168201915b505050505081565b6008546001600160a01b031633146114675760405162461bcd60e51b8152600401610e2d90612b6b565b600d55565b606060038054610a5090612a1c565b60608183106114b6576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806114c260005490565b905060018510156114d257600194505b808411156114de578093505b60006114e9876111a8565b9050848610156115085785850381811015611502578091505b5061150c565b5060005b60008167ffffffffffffffff811115611527576115276125d7565b604051908082528060200260200182016040528015611550578160200160208202803683370190505b5090508161156357935061161992505050565b600061156e88611841565b90506000816040015161157f575080515b885b8881141580156115915750848714155b1561160d5761159f81611e7e565b92508260400151156115b057611605565b82516001600160a01b0316156115c557825191505b8a6001600160a01b0316826001600160a01b0316141561160557808488806001019950815181106115f8576115f8612bc7565b6020026020010181815250505b600101611581565b50505092835250909150505b9392505050565b60135442116116415760405162461bcd60e51b8152600401610e2d90612a64565b600d5461164e9082612bf3565b34101561166d5760405162461bcd60e51b8152600401610e2d90612c46565b6012543360009081526011602052604090205461168b908390612c56565b106116a85760405162461bcd60e51b8152600401610e2d90612aa8565b60145460015460005483919003600019016116c39190612c56565b106116e05760405162461bcd60e51b8152600401610e2d90612ca2565b33600090815260116020526040812080548392906116ff908490612c56565b90915550610fc590503382611b96565b6001600160a01b038216331415611752576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906117b59085906122d5565b60405180910390a35050565b6117cc848484610c13565b6001600160a01b0383163b15611805576117e884848484611efd565b611805576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146118355760405162461bcd60e51b8152600401610e2d90612b6b565b610f15600a83836121ef565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061189a57506000548310155b156118a55792915050565b6118ae83611e7e565b90508060400151156118c05792915050565b61161983611ff5565b60606118d482611ae2565b6118f157604051636f96cda160e11b815260040160405180910390fd5b600c54610100900460ff1661199257600a805461190d90612a1c565b80601f016020809104026020016040519081016040528092919081815260200182805461193990612a1c565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b50505050509050919050565b600961199d8361206d565b6040516020016119ae929190612d42565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146119ee5760405162461bcd60e51b8152600401610e2d90612b6b565b600c805460ff1916911515919091179055565b6008546001600160a01b03163314611a2b5760405162461bcd60e51b8152600401610e2d90612b6b565b601255565b6008546001600160a01b03163314611a5a5760405162461bcd60e51b8152600401610e2d90612b6b565b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6008546001600160a01b03163314611ab35760405162461bcd60e51b8152600401610e2d90612b6b565b6001600160a01b038116611ad95760405162461bcd60e51b8152600401610e2d90612d5a565b610fc581611e1f565b600081600111158015611af6575060005482105b8015610a3b575050600090815260046020526040902054600160e01b161590565b60008180600111611b6757600054811015611b6757600081815260046020526040902054600160e01b8116611b65575b80611619575060001901600081815260046020526040902054611b47565b505b604051636f96cda160e11b815260040160405180910390fd5b600082611b8d8584612183565b14949350505050565b6000546001600160a01b038316611bd9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81611c10576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611c5a5760005550505050565b6000611cb183611b17565b905080600080611ccf86600090815260066020526040902080549091565b915091508415611d2c57611ce4818433610c82565b611d2c576001600160a01b038316600090815260076020908152604080832033845290915290205460ff16611d2c57604051632ce44b5f60e11b815260040160405180910390fd5b8015611d3757600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040902055600160e11b8416611dd75760018601600081815260046020526040902054611dd5576000548114611dd55760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a3b90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611f32903390899088908890600401612dbb565b602060405180830381600087803b158015611f4c57600080fd5b505af1925050508015611f7c575060408051601f3d908101601f19168201909252611f7991810190612e0a565b60015b611fd7573d808015611faa576040519150601f19603f3d011682016040523d82523d6000602084013e611faf565b606091505b508051611fcf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610a3b61202583611b17565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060816120915750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120bb57806120a581612e2b565b91506120b49050600a83612e5c565b9150612095565b60008167ffffffffffffffff8111156120d6576120d66125d7565b6040519080825280601f01601f191660200182016040528015612100576020820181803683370190505b5090505b8415611fed57612115600183612e70565b9150612122600a86612e87565b61212d906030612c56565b60f81b81838151811061214257612142612bc7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061217c600a86612e5c565b9450612104565b600081815b84518110156111665760008582815181106121a5576121a5612bc7565b602002602001015190508083116121cb57600083815260208290526040902092506121dc565b600081815260208490526040902092505b50806121e781612e2b565b915050612188565b8280546121fb90612a1c565b90600052602060002090601f01602090048101928261221d5760008555612263565b82601f106122365782800160ff19823516178555612263565b82800160010185558215612263579182015b82811115612263578235825591602001919060010190612248565b5061226f929150612273565b5090565b5b8082111561226f5760008155600101612274565b6001600160e01b031981165b8114610fc557600080fd5b8035610a3b81612288565b6000602082840312156122bf576122bf600080fd5b6000611fed848461229f565b8015155b82525050565b60208101610a3b82846122cb565b60005b838110156122fe5781810151838201526020016122e6565b838111156118055750506000910152565b6000612319825190565b8084526020840193506123308185602086016122e3565b601f01601f19169290920192915050565b60208082528101611619818461230f565b80612294565b8035610a3b81612352565b60006020828403121561237857612378600080fd5b6000611fed8484612358565b60006001600160a01b038216610a3b565b6122cf81612384565b60208101610a3b8284612395565b61229481612384565b8035610a3b816123ac565b600080604083850312156123d6576123d6600080fd5b60006123e285856123b5565b92505060206123f385828601612358565b9150509250929050565b806122cf565b60208101610a3b82846123fd565b60008060006060848603121561242957612429600080fd5b600061243586866123b5565b9350506020612446868287016123b5565b925050604061245786828701612358565b9150509250925092565b60008083601f84011261247657612476600080fd5b50813567ffffffffffffffff81111561249157612491600080fd5b6020830191508360208202830111156124ac576124ac600080fd5b9250929050565b600080602083850312156124c9576124c9600080fd5b823567ffffffffffffffff8111156124e3576124e3600080fd5b6124ef85828601612461565b92509250509250929050565b801515612294565b8035610a3b816124fb565b60006020828403121561252357612523600080fd5b6000611fed8484612503565b60006020828403121561254457612544600080fd5b6000611fed84846123b5565b60008083601f84011261256557612565600080fd5b50813567ffffffffffffffff81111561258057612580600080fd5b6020830191508360018202830111156124ac576124ac600080fd5b600080602083850312156125b1576125b1600080fd5b823567ffffffffffffffff8111156125cb576125cb600080fd5b6124ef85828601612550565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715612613576126136125d7565b6040525050565b600061262560405190565b905061263182826125ed565b919050565b600067ffffffffffffffff821115612650576126506125d7565b5060209081020190565b600061266d61266884612636565b61261a565b8381529050602080820190840283018581111561268c5761268c600080fd5b835b818110156126b057806126a18882612358565b8452506020928301920161268e565b5050509392505050565b600082601f8301126126ce576126ce600080fd5b8135611fed84826020860161265a565b6000602082840312156126f3576126f3600080fd5b813567ffffffffffffffff81111561270d5761270d600080fd5b611fed848285016126ba565b67ffffffffffffffff81166122cf565b62ffffff81166122cf565b805160808301906127458482612395565b5060208201516127586020850182612719565b50604082015161276b60408501826122cb565b5060608201516118056060850182612729565b600061278a8383612734565b505060800190565b600061279c825190565b80845260209384019383018060005b838110156127d05781516127bf888261277e565b9750602083019250506001016127ab565b509495945050505050565b602080825281016116198184612792565b60006127f883836123fd565b505060200190565b600061280a825190565b80845260209384019383018060005b838110156127d057815161282d88826127ec565b975060208301925050600101612819565b602080825281016116198184612800565b60008060006060848603121561286757612867600080fd5b600061287386866123b5565b935050602061244686828701612358565b6000806040838503121561289a5761289a600080fd5b60006128a685856123b5565b92505060206123f385828601612503565b600067ffffffffffffffff8211156128d1576128d16125d7565b601f19601f83011660200192915050565b82818337506000910152565b60006128fc612668846128b7565b90508281526020810184848401111561291757612917600080fd5b6111668482856128e2565b600082601f83011261293657612936600080fd5b8135611fed8482602086016128ee565b6000806000806080858703121561295f5761295f600080fd5b600061296b87876123b5565b945050602061297c878288016123b5565b935050604061298d87828801612358565b925050606085013567ffffffffffffffff8111156129ad576129ad600080fd5b6129b987828801612922565b91505092959194509250565b60808101610a3b8284612734565b600080604083850312156129e9576129e9600080fd5b60006129f585856123b5565b92505060206123f3858286016123b5565b634e487b7160e01b600052602260045260246000fd5b600281046001821680612a3057607f821691505b60208210811415612a4357612a43612a06565b50919050565b60018152600060208201600360fc1b815291505b5060200190565b60208082528101610a3b81612a49565b600181526000602082017f320000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612a74565b6000610a3b8260601b90565b6000610a3b82612ab8565b6122cf612adb82612384565b612ac4565b6000612aec8284612acf565b50601401919050565b600181526000602082017f340000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612af5565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000612a5d565b60208082528101610a3b81612b39565b600081610a3b565b600e81526000602082017f5061796d656e74206661696c656400000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612b83565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612c0d57612c0d612bdd565b500290565b600181526000602082017f310000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612c12565b60008219821115612c6957612c69612bdd565b500190565b600181526000602082017f330000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612c6e565b60008154612cbf81612a1c565b600182168015612cd65760018114612ce757612d17565b60ff19831686528186019350612d17565b60008581526020902060005b83811015612d0f57815488820152600190910190602001612cf3565b838801955050505b50505092915050565b6000612d2a825190565b612d388185602086016122e3565b9290920192915050565b6000612d4e8285612cb2565b9150611fed8284612d20565b60208082528101610a3b81602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201527f6464726573730000000000000000000000000000000000000000000000000000604082015260600190565b60808101612dc98287612395565b612dd66020830186612395565b612de360408301856123fd565b8181036060830152612df5818461230f565b9695505050505050565b8051610a3b81612288565b600060208284031215612e1f57612e1f600080fd5b6000611fed8484612dff565b6000600019821415612e3f57612e3f612bdd565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612e6b57612e6b612e46565b500490565b600082821015612e8257612e82612bdd565b500390565b600082612e9657612e96612e46565b50069056fea264697066735822122003d129f8a6ed9413a6e4c7a0882728b5deb48841877659c05645e2f16febed2d64736f6c63430008090033697066733a2f2f6261667962656962356d70666b737a74747271767a7561697236656a337433346e7934703661336d68716c34633565633272617478617175366c692f70726572657665616c2e6a736f6e

Deployed Bytecode

0x6080604052600436106103295760003560e01c80637cb64759116101a5578063a0712d68116100ec578063c87b56dd11610095578063e268e4d31161006f578063e268e4d3146108fb578063e985e9c51461091b578063f0f4426014610964578063f2fde38b1461098457600080fd5b8063c87b56dd146108a5578063d4dac32a146108c5578063d5abeb01146108e557600080fd5b8063b8f7a665116100c6578063b8f7a66514610841578063bbaac02f14610858578063c23dc68f1461087857600080fd5b8063a0712d68146107ee578063a22cb46514610801578063b88d4fde1461082157600080fd5b806391b7f5ed1161014e57806399a2557a1161012857806399a2557a1461078b5780639ec00c95146107ab578063a035b1fe146107d857600080fd5b806391b7f5ed1461073657806391cca3db1461075657806395d89b411461077657600080fd5b80638984cbb01161017f5780638984cbb0146106e35780638cc54e7f146107035780638da5cb5b1461071857600080fd5b80637cb64759146106665780637fc46189146106865780638462151c146106b657600080fd5b8063484b973c116102745780635bbb21771161021d5780636d3267b9116101f75780636d3267b9146105f75780636f8b44b01461061157806370a0823114610631578063715018a61461065157600080fd5b80635bbb21771461058a57806361d027b3146105b75780636352211e146105d757600080fd5b806353f8bb9a1161024e57806353f8bb9a1461053557806354214f691461054b57806355f804b31461056a57600080fd5b8063484b973c146104bc57806349a5980a146104dc57806353c27fd2146104fc57600080fd5b80632eb4a7ab116102d657806342842e0e116102b057806342842e0e1461046657806342966c6814610486578063453c2310146104a657600080fd5b80632eb4a7ab1461041b578063372f657c146104315780633ccfd60b1461045157600080fd5b8063095ea7b311610307578063095ea7b3146103b357806318160ddd146103d557806323b872dd146103fb57600080fd5b806301ffc9a71461032e57806306fdde0314610364578063081812fc14610386575b600080fd5b34801561033a57600080fd5b5061034e6103493660046122aa565b6109a4565b60405161035b91906122d5565b60405180910390f35b34801561037057600080fd5b50610379610a41565b60405161035b9190612341565b34801561039257600080fd5b506103a66103a1366004612363565b610ad3565b60405161035b919061239e565b3480156103bf57600080fd5b506103d36103ce3660046123c0565b610b30565b005b3480156103e157600080fd5b5060015460005403600019015b60405161035b9190612403565b34801561040757600080fd5b506103d3610416366004612411565b610c13565b34801561042757600080fd5b506103ee600b5481565b34801561043d57600080fd5b506103d361044c3660046124b3565b610dfe565b34801561045d57600080fd5b506103d3610f1a565b34801561047257600080fd5b506103d3610481366004612411565b610fc8565b34801561049257600080fd5b506103d36104a1366004612363565b610fe3565b3480156104b257600080fd5b506103ee60125481565b3480156104c857600080fd5b506103d36104d73660046123c0565b610fee565b3480156104e857600080fd5b506103d36104f736600461250e565b611026565b34801561050857600080fd5b5061034e61051736600461252f565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561054157600080fd5b506103ee60135481565b34801561055757600080fd5b50600c5461034e90610100900460ff1681565b34801561057657600080fd5b506103d361058536600461259b565b61106a565b34801561059657600080fd5b506105aa6105a53660046126de565b6110a0565b60405161035b91906127db565b3480156105c357600080fd5b50600e546103a6906001600160a01b031681565b3480156105e357600080fd5b506103a66105f2366004612363565b61116e565b34801561060357600080fd5b50600c5461034e9060ff1681565b34801561061d57600080fd5b506103d361062c366004612363565b611179565b34801561063d57600080fd5b506103ee61064c36600461252f565b6111a8565b34801561065d57600080fd5b506103d3611210565b34801561067257600080fd5b506103d3610681366004612363565b611246565b34801561069257600080fd5b5061034e6106a136600461252f565b60106020526000908152604090205460ff1681565b3480156106c257600080fd5b506106d66106d136600461252f565b611275565b60405161035b919061283e565b3480156106ef57600080fd5b506103d36106fe366004612363565b611380565b34801561070f57600080fd5b506103796113af565b34801561072457600080fd5b506008546001600160a01b03166103a6565b34801561074257600080fd5b506103d3610751366004612363565b61143d565b34801561076257600080fd5b50600f546103a6906001600160a01b031681565b34801561078257600080fd5b5061037961146c565b34801561079757600080fd5b506106d66107a636600461284f565b61147b565b3480156107b757600080fd5b506103ee6107c636600461252f565b60116020526000908152604090205481565b3480156107e457600080fd5b506103ee600d5481565b6103d36107fc366004612363565b611620565b34801561080d57600080fd5b506103d361081c366004612884565b61170f565b34801561082d57600080fd5b506103d361083c366004612946565b6117c1565b34801561084d57600080fd5b50601354421161034e565b34801561086457600080fd5b506103d361087336600461259b565b61180b565b34801561088457600080fd5b50610898610893366004612363565b611841565b60405161035b91906129c5565b3480156108b157600080fd5b506103796108c0366004612363565b6118c9565b3480156108d157600080fd5b506103d36108e036600461250e565b6119c4565b3480156108f157600080fd5b506103ee60145481565b34801561090757600080fd5b506103d3610916366004612363565b611a01565b34801561092757600080fd5b5061034e6109363660046129d3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561097057600080fd5b506103d361097f36600461252f565b611a30565b34801561099057600080fd5b506103d361099f36600461252f565b611a89565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610a0757507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610a3b57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610a5090612a1c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7c90612a1c565b8015610ac95780601f10610a9e57610100808354040283529160200191610ac9565b820191906000526020600020905b815481529060010190602001808311610aac57829003601f168201915b5050505050905090565b6000610ade82611ae2565b610b14576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b3b8261116e565b9050336001600160a01b03821614610baa576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16610baa576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610c1e82611b17565b9050836001600160a01b0316816001600160a01b031614610c6b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610c978187335b6001600160a01b039081169116811491141790565b610cdf576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16610cdf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d1f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610d2a57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610db55760018401600081815260046020526040902054610db3576000548114610db35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600c5460ff168015610e11575060135442115b610e365760405162461bcd60e51b8152600401610e2d90612a64565b60405180910390fd5b3360009081526010602052604090205460ff1615610e665760405162461bcd60e51b8152600401610e2d90612aa8565b600033604051602001610e799190612ae0565b604051602081830303815290604052805190602001209050610ed283838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611b80565b610eee5760405162461bcd60e51b8152600401610e2d90612b29565b336000818152601060205260409020805460ff19166001908117909155610f159190611b96565b505050565b6008546001600160a01b03163314610f445760405162461bcd60e51b8152600401610e2d90612b6b565b600e546040516000916001600160a01b0316904790610f6290612b7b565b60006040518083038185875af1925050503d8060008114610f9f576040519150601f19603f3d011682016040523d82523d6000602084013e610fa4565b606091505b5050905080610fc55760405162461bcd60e51b8152600401610e2d90612bb7565b50565b610f15838383604051806020016040528060008152506117c1565b610fc5816001611ca6565b6008546001600160a01b031633146110185760405162461bcd60e51b8152600401610e2d90612b6b565b6110228282611b96565b5050565b6008546001600160a01b031633146110505760405162461bcd60e51b8152600401610e2d90612b6b565b600c80549115156101000261ff0019909216919091179055565b6008546001600160a01b031633146110945760405162461bcd60e51b8152600401610e2d90612b6b565b610f15600983836121ef565b805160609060008167ffffffffffffffff8111156110c0576110c06125d7565b60405190808252806020026020018201604052801561111257816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816110de5790505b50905060005b8281146111665761114185828151811061113457611134612bc7565b6020026020010151611841565b82828151811061115357611153612bc7565b6020908102919091010152600101611118565b509392505050565b6000610a3b82611b17565b6008546001600160a01b031633146111a35760405162461bcd60e51b8152600401610e2d90612b6b565b601455565b60006001600160a01b0382166111ea576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461123a5760405162461bcd60e51b8152600401610e2d90612b6b565b6112446000611e1f565b565b6008546001600160a01b031633146112705760405162461bcd60e51b8152600401610e2d90612b6b565b600b55565b60606000806000611285856111a8565b905060008167ffffffffffffffff8111156112a2576112a26125d7565b6040519080825280602002602001820160405280156112cb578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b8386146113745761130681611e7e565b91508160400151156113175761136c565b81516001600160a01b03161561132c57815194505b876001600160a01b0316856001600160a01b0316141561136c578083878060010198508151811061135f5761135f612bc7565b6020026020010181815250505b6001016112f6565b50909695505050505050565b6008546001600160a01b031633146113aa5760405162461bcd60e51b8152600401610e2d90612b6b565b601355565b600a80546113bc90612a1c565b80601f01602080910402602001604051908101604052809291908181526020018280546113e890612a1c565b80156114355780601f1061140a57610100808354040283529160200191611435565b820191906000526020600020905b81548152906001019060200180831161141857829003601f168201915b505050505081565b6008546001600160a01b031633146114675760405162461bcd60e51b8152600401610e2d90612b6b565b600d55565b606060038054610a5090612a1c565b60608183106114b6576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806114c260005490565b905060018510156114d257600194505b808411156114de578093505b60006114e9876111a8565b9050848610156115085785850381811015611502578091505b5061150c565b5060005b60008167ffffffffffffffff811115611527576115276125d7565b604051908082528060200260200182016040528015611550578160200160208202803683370190505b5090508161156357935061161992505050565b600061156e88611841565b90506000816040015161157f575080515b885b8881141580156115915750848714155b1561160d5761159f81611e7e565b92508260400151156115b057611605565b82516001600160a01b0316156115c557825191505b8a6001600160a01b0316826001600160a01b0316141561160557808488806001019950815181106115f8576115f8612bc7565b6020026020010181815250505b600101611581565b50505092835250909150505b9392505050565b60135442116116415760405162461bcd60e51b8152600401610e2d90612a64565b600d5461164e9082612bf3565b34101561166d5760405162461bcd60e51b8152600401610e2d90612c46565b6012543360009081526011602052604090205461168b908390612c56565b106116a85760405162461bcd60e51b8152600401610e2d90612aa8565b60145460015460005483919003600019016116c39190612c56565b106116e05760405162461bcd60e51b8152600401610e2d90612ca2565b33600090815260116020526040812080548392906116ff908490612c56565b90915550610fc590503382611b96565b6001600160a01b038216331415611752576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906117b59085906122d5565b60405180910390a35050565b6117cc848484610c13565b6001600160a01b0383163b15611805576117e884848484611efd565b611805576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146118355760405162461bcd60e51b8152600401610e2d90612b6b565b610f15600a83836121ef565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061189a57506000548310155b156118a55792915050565b6118ae83611e7e565b90508060400151156118c05792915050565b61161983611ff5565b60606118d482611ae2565b6118f157604051636f96cda160e11b815260040160405180910390fd5b600c54610100900460ff1661199257600a805461190d90612a1c565b80601f016020809104026020016040519081016040528092919081815260200182805461193990612a1c565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b50505050509050919050565b600961199d8361206d565b6040516020016119ae929190612d42565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146119ee5760405162461bcd60e51b8152600401610e2d90612b6b565b600c805460ff1916911515919091179055565b6008546001600160a01b03163314611a2b5760405162461bcd60e51b8152600401610e2d90612b6b565b601255565b6008546001600160a01b03163314611a5a5760405162461bcd60e51b8152600401610e2d90612b6b565b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6008546001600160a01b03163314611ab35760405162461bcd60e51b8152600401610e2d90612b6b565b6001600160a01b038116611ad95760405162461bcd60e51b8152600401610e2d90612d5a565b610fc581611e1f565b600081600111158015611af6575060005482105b8015610a3b575050600090815260046020526040902054600160e01b161590565b60008180600111611b6757600054811015611b6757600081815260046020526040902054600160e01b8116611b65575b80611619575060001901600081815260046020526040902054611b47565b505b604051636f96cda160e11b815260040160405180910390fd5b600082611b8d8584612183565b14949350505050565b6000546001600160a01b038316611bd9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81611c10576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611c5a5760005550505050565b6000611cb183611b17565b905080600080611ccf86600090815260066020526040902080549091565b915091508415611d2c57611ce4818433610c82565b611d2c576001600160a01b038316600090815260076020908152604080832033845290915290205460ff16611d2c57604051632ce44b5f60e11b815260040160405180910390fd5b8015611d3757600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c030000000000000000000000000000000000000000000000000000000017600087815260046020526040902055600160e11b8416611dd75760018601600081815260046020526040902054611dd5576000548114611dd55760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a3b90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611f32903390899088908890600401612dbb565b602060405180830381600087803b158015611f4c57600080fd5b505af1925050508015611f7c575060408051601f3d908101601f19168201909252611f7991810190612e0a565b60015b611fd7573d808015611faa576040519150601f19603f3d011682016040523d82523d6000602084013e611faf565b606091505b508051611fcf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610a3b61202583611b17565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060816120915750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120bb57806120a581612e2b565b91506120b49050600a83612e5c565b9150612095565b60008167ffffffffffffffff8111156120d6576120d66125d7565b6040519080825280601f01601f191660200182016040528015612100576020820181803683370190505b5090505b8415611fed57612115600183612e70565b9150612122600a86612e87565b61212d906030612c56565b60f81b81838151811061214257612142612bc7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061217c600a86612e5c565b9450612104565b600081815b84518110156111665760008582815181106121a5576121a5612bc7565b602002602001015190508083116121cb57600083815260208290526040902092506121dc565b600081815260208490526040902092505b50806121e781612e2b565b915050612188565b8280546121fb90612a1c565b90600052602060002090601f01602090048101928261221d5760008555612263565b82601f106122365782800160ff19823516178555612263565b82800160010185558215612263579182015b82811115612263578235825591602001919060010190612248565b5061226f929150612273565b5090565b5b8082111561226f5760008155600101612274565b6001600160e01b031981165b8114610fc557600080fd5b8035610a3b81612288565b6000602082840312156122bf576122bf600080fd5b6000611fed848461229f565b8015155b82525050565b60208101610a3b82846122cb565b60005b838110156122fe5781810151838201526020016122e6565b838111156118055750506000910152565b6000612319825190565b8084526020840193506123308185602086016122e3565b601f01601f19169290920192915050565b60208082528101611619818461230f565b80612294565b8035610a3b81612352565b60006020828403121561237857612378600080fd5b6000611fed8484612358565b60006001600160a01b038216610a3b565b6122cf81612384565b60208101610a3b8284612395565b61229481612384565b8035610a3b816123ac565b600080604083850312156123d6576123d6600080fd5b60006123e285856123b5565b92505060206123f385828601612358565b9150509250929050565b806122cf565b60208101610a3b82846123fd565b60008060006060848603121561242957612429600080fd5b600061243586866123b5565b9350506020612446868287016123b5565b925050604061245786828701612358565b9150509250925092565b60008083601f84011261247657612476600080fd5b50813567ffffffffffffffff81111561249157612491600080fd5b6020830191508360208202830111156124ac576124ac600080fd5b9250929050565b600080602083850312156124c9576124c9600080fd5b823567ffffffffffffffff8111156124e3576124e3600080fd5b6124ef85828601612461565b92509250509250929050565b801515612294565b8035610a3b816124fb565b60006020828403121561252357612523600080fd5b6000611fed8484612503565b60006020828403121561254457612544600080fd5b6000611fed84846123b5565b60008083601f84011261256557612565600080fd5b50813567ffffffffffffffff81111561258057612580600080fd5b6020830191508360018202830111156124ac576124ac600080fd5b600080602083850312156125b1576125b1600080fd5b823567ffffffffffffffff8111156125cb576125cb600080fd5b6124ef85828601612550565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715612613576126136125d7565b6040525050565b600061262560405190565b905061263182826125ed565b919050565b600067ffffffffffffffff821115612650576126506125d7565b5060209081020190565b600061266d61266884612636565b61261a565b8381529050602080820190840283018581111561268c5761268c600080fd5b835b818110156126b057806126a18882612358565b8452506020928301920161268e565b5050509392505050565b600082601f8301126126ce576126ce600080fd5b8135611fed84826020860161265a565b6000602082840312156126f3576126f3600080fd5b813567ffffffffffffffff81111561270d5761270d600080fd5b611fed848285016126ba565b67ffffffffffffffff81166122cf565b62ffffff81166122cf565b805160808301906127458482612395565b5060208201516127586020850182612719565b50604082015161276b60408501826122cb565b5060608201516118056060850182612729565b600061278a8383612734565b505060800190565b600061279c825190565b80845260209384019383018060005b838110156127d05781516127bf888261277e565b9750602083019250506001016127ab565b509495945050505050565b602080825281016116198184612792565b60006127f883836123fd565b505060200190565b600061280a825190565b80845260209384019383018060005b838110156127d057815161282d88826127ec565b975060208301925050600101612819565b602080825281016116198184612800565b60008060006060848603121561286757612867600080fd5b600061287386866123b5565b935050602061244686828701612358565b6000806040838503121561289a5761289a600080fd5b60006128a685856123b5565b92505060206123f385828601612503565b600067ffffffffffffffff8211156128d1576128d16125d7565b601f19601f83011660200192915050565b82818337506000910152565b60006128fc612668846128b7565b90508281526020810184848401111561291757612917600080fd5b6111668482856128e2565b600082601f83011261293657612936600080fd5b8135611fed8482602086016128ee565b6000806000806080858703121561295f5761295f600080fd5b600061296b87876123b5565b945050602061297c878288016123b5565b935050604061298d87828801612358565b925050606085013567ffffffffffffffff8111156129ad576129ad600080fd5b6129b987828801612922565b91505092959194509250565b60808101610a3b8284612734565b600080604083850312156129e9576129e9600080fd5b60006129f585856123b5565b92505060206123f3858286016123b5565b634e487b7160e01b600052602260045260246000fd5b600281046001821680612a3057607f821691505b60208210811415612a4357612a43612a06565b50919050565b60018152600060208201600360fc1b815291505b5060200190565b60208082528101610a3b81612a49565b600181526000602082017f320000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612a74565b6000610a3b8260601b90565b6000610a3b82612ab8565b6122cf612adb82612384565b612ac4565b6000612aec8284612acf565b50601401919050565b600181526000602082017f340000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612af5565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000612a5d565b60208082528101610a3b81612b39565b600081610a3b565b600e81526000602082017f5061796d656e74206661696c656400000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612b83565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612c0d57612c0d612bdd565b500290565b600181526000602082017f310000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612c12565b60008219821115612c6957612c69612bdd565b500190565b600181526000602082017f330000000000000000000000000000000000000000000000000000000000000081529150612a5d565b60208082528101610a3b81612c6e565b60008154612cbf81612a1c565b600182168015612cd65760018114612ce757612d17565b60ff19831686528186019350612d17565b60008581526020902060005b83811015612d0f57815488820152600190910190602001612cf3565b838801955050505b50505092915050565b6000612d2a825190565b612d388185602086016122e3565b9290920192915050565b6000612d4e8285612cb2565b9150611fed8284612d20565b60208082528101610a3b81602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201527f6464726573730000000000000000000000000000000000000000000000000000604082015260600190565b60808101612dc98287612395565b612dd66020830186612395565b612de360408301856123fd565b8181036060830152612df5818461230f565b9695505050505050565b8051610a3b81612288565b600060208284031215612e1f57612e1f600080fd5b6000611fed8484612dff565b6000600019821415612e3f57612e3f612bdd565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612e6b57612e6b612e46565b500490565b600082821015612e8257612e82612bdd565b500390565b600082612e9657612e96612e46565b50069056fea264697066735822122003d129f8a6ed9413a6e4c7a0882728b5deb48841877659c05645e2f16febed2d64736f6c63430008090033

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.