ETH Price: $3,448.51 (+1.47%)

Token

Messy Cats (MC)
 

Overview

Max Total Supply

3,333 MC

Holders

1,129

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
*人生终究是一场戏.eth
Balance
3 MC
0x2B43e70DfF41395C9Fac661Ec80B5D42e3801538
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:
MessyCats

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-13
*/

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

    /**
     * @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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID 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 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual 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 virtual {
        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;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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 '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

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

    /**
     * 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 initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 virtual {
        uint256 startTokenId = _currentIndex;
        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 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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 virtual {
        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 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 virtual {
        _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 Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(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++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        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 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 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;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @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 virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: contracts/messycats.sol


pragma solidity >=0.7.0 <0.9.0;






struct PresaleConfig {
  uint32 startTime;
  uint32 endTime;
  uint256 whitelistMintPerWalletMax;
  uint256 whitelistPrice;
}

contract MessyCats is ERC721A, Ownable, ReentrancyGuard {

    /// ERRORS ///
    error ContractMint();
    error OutOfSupply();
    error ExceedsTxnLimit();
    error ExceedsWalletLimit();
    error InsufficientFunds();
    error InexistentToken();
    
    error MintPaused();
    error MintInactive();
    error InvalidProof();

    /// @dev For URI concatenation.
    using Strings for uint256;

    bytes32 public merkleRoot;

    string public baseURI = "ipfs://QmZNGmfxk6odfDrLXFTkM2tY5fQVKdXBHpdzNawxvp3Amk/";
    
    uint32 publicSaleStartTime;

    uint256 public PRICE = 0.015 ether;
    uint256 public SUPPLY_MAX = 3333;
    uint256 public MAX_PER_WALLET = 3;
    uint256 public MAX_PER_TXN = 3;
    uint256 public whitelistSupply;

    PresaleConfig public presaleConfig;

    bool public presalePaused;
    bool public publicSalePaused = true;

    constructor(
        string memory _name,
        string memory _symbol
    ) ERC721A(_name, _symbol) payable {
        _safeMint(msg.sender,1);
        presaleConfig = PresaleConfig({
            startTime: 1665666000, // OCTOBER 13 2022 1:00:00 PM GMT 
            endTime: 1665669600,   // OCTOBER 13 2022 2:00:00 PM GMT 
            whitelistMintPerWalletMax: 3,
            whitelistPrice: 0.011 ether
        });
    }

    modifier mintCompliance(uint256 _mintAmount) {
        if (msg.sender != tx.origin) revert ContractMint();
        if ((totalSupply() + _mintAmount) > SUPPLY_MAX) revert OutOfSupply();
        if (_mintAmount > MAX_PER_TXN) revert ExceedsTxnLimit();
        _;
    }

    function presaleMint(uint256 _mintAmount, bytes32[] calldata _merkleProof)
        external
        payable
        nonReentrant
        mintCompliance(_mintAmount) 
    {
        PresaleConfig memory config_ = presaleConfig;
        
        if (presalePaused) revert MintPaused();
        if (block.timestamp < config_.startTime || block.timestamp > config_.endTime) revert MintInactive();

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        if (!MerkleProof.verify(_merkleProof, merkleRoot, leaf)) revert InvalidProof();

        unchecked {
            if ((_numberMinted(msg.sender) + _mintAmount) > config_.whitelistMintPerWalletMax) revert ExceedsWalletLimit();
            if (msg.value < (config_.whitelistPrice * _mintAmount)) revert InsufficientFunds();
            whitelistSupply += _mintAmount;
        }

        _safeMint(msg.sender, _mintAmount);
    }

    function publicMint(uint256 _mintAmount)
        external
        payable
        nonReentrant
        mintCompliance(_mintAmount)
    {
        if (publicSalePaused) revert MintPaused();
        unchecked {
            if ((_numberMinted(msg.sender) + _mintAmount) > MAX_PER_WALLET) revert ExceedsWalletLimit(); 
            if (msg.value < (PRICE * _mintAmount)) revert InsufficientFunds();
        }

        _safeMint(msg.sender, _mintAmount);
    }
    
    /// @notice Airdrop for a single wallet.
    function mintForAddress(uint256 _mintAmount, address _receiver) external onlyOwner {
        _safeMint(_receiver, _mintAmount);
    }

    /// @notice Airdrops to multiple wallets.
    function batchMintForAddress(address[] calldata addresses, uint256[] calldata quantities) external onlyOwner {
        unchecked {
            uint32 i;
            for (i=0; i < addresses.length; ++i) {
                _safeMint(addresses[i], quantities[i]);
            }
        }
    }

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

    /// SETTERS ///

    function pausePublicSale(bool _state) external onlyOwner {
        publicSalePaused = _state;
    }

    function pausePresale(bool _state) external onlyOwner {
        presalePaused = _state;
    }

    function setPresaleStartTime(uint32 startTime_, uint32 endTime_) external onlyOwner {
        presaleConfig.startTime = startTime_;
        presaleConfig.endTime = endTime_;
    }
    
    function setMerkleRoot(bytes32 merkleRoot_) external onlyOwner {
        merkleRoot = merkleRoot_;
    }

    function setPublicPrice(uint256 _price) external onlyOwner {
        PRICE = _price;
    }

    function setPublicMaxPerWallet(uint256 _max) external onlyOwner {
        MAX_PER_WALLET = _max;
    }

    function setWhitelistMaxPerWallet(uint256 _max) external onlyOwner {
        presaleConfig.whitelistMintPerWalletMax = _max;
    }

    function setWhitelistPrice(uint256 _price) external onlyOwner {
        presaleConfig.whitelistPrice = _price;
    }

    function setMaxSupply(uint256 _supply) external onlyOwner {
        SUPPLY_MAX = _supply;
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
    
    /// METADATA URI ///

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

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function burn(uint256 id) external {
        _burn(id);
    }

    /// @dev Returning concatenated URI with .json as suffix on the tokenID when revealed.
    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(_tokenId)) revert InexistentToken();

        return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json"));
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractMint","type":"error"},{"inputs":[],"name":"ExceedsTxnLimit","type":"error"},{"inputs":[],"name":"ExceedsWalletLimit","type":"error"},{"inputs":[],"name":"InexistentToken","type":"error"},{"inputs":[],"name":"InsufficientFunds","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintInactive","type":"error"},{"inputs":[],"name":"MintPaused","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OutOfSupply","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":[],"name":"MAX_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_MAX","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"batchMintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleConfig","outputs":[{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint32","name":"endTime","type":"uint32"},{"internalType":"uint256","name":"whitelistMintPerWalletMax","type":"uint256"},{"internalType":"uint256","name":"whitelistPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","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":"uint32","name":"startTime_","type":"uint32"},{"internalType":"uint32","name":"endTime_","type":"uint32"}],"name":"setPresaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setPublicMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setWhitelistMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260366080818152906200310e60a03980516200002991600b91602090910190620003f9565b5066354a6ba7a18000600d55610d05600e556003600f8190556010556015805461ff0019166101001790556040516200314438819003908190833981016040819052620000769162000563565b8151829082906200008f906002906020850190620003f9565b508051620000a5906003906020840190620003f9565b5050600160005550620000b8336200012a565b60016009819055620000cc9033906200017c565b5050604080516080810182526363480bd0815263634819e06020820152600391810182905266271471148780006060909101819052601280546001600160401b03191667634819e063480bd0179055601391909155601455620006a5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200019e828260405180602001604052806000815250620001a260201b60201c565b5050565b620001ae838362000219565b6001600160a01b0383163b1562000214576000548281035b6001810190620001dc90600090879086620002f2565b620001fa576040516368d2bf6b60e11b815260040160405180910390fd5b818110620001c65781600054146200021157600080fd5b50505b505050565b600054816200023b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620030ee8339815191528180a4600183015b818114620002ca5780836000600080516020620030ee833981519152600080a4600101620002a1565b5081620002e957604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000329903390899088908890600401620005cd565b602060405180830381600087803b1580156200034457600080fd5b505af192505050801562000377575060408051601f3d908101601f19168201909252620003749181019062000530565b60015b620003d6573d808015620003a8576040519150601f19603f3d011682016040523d82523d6000602084013e620003ad565b606091505b508051620003ce576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b50505050565b828054620004079062000652565b90600052602060002090601f0160209004810192826200042b576000855562000476565b82601f106200044657805160ff191683800117855562000476565b8280016001018555821562000476579182015b828111156200047657825182559160200191906001019062000459565b506200048492915062000488565b5090565b5b8082111562000484576000815560010162000489565b600082601f830112620004b157600080fd5b81516001600160401b0380821115620004ce57620004ce6200068f565b604051601f8301601f19908116603f01168101908282118183101715620004f957620004f96200068f565b816040528381528660208588010111156200051357600080fd5b6200052684602083016020890162000623565b9695505050505050565b6000602082840312156200054357600080fd5b81516001600160e01b0319811681146200055c57600080fd5b9392505050565b600080604083850312156200057757600080fd5b82516001600160401b03808211156200058f57600080fd5b6200059d868387016200049f565b93506020850151915080821115620005b457600080fd5b50620005c3858286016200049f565b9150509250929050565b600060018060a01b0380871683528086166020840152508360408301526080606083015282518060808401526200060c8160a085016020870162000623565b601f01601f19169190910160a00195945050505050565b60005b838110156200064057818101518382015260200162000626565b83811115620003f35750506000910152565b600181811c908216806200066757607f821691505b602082108114156200068957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612a3980620006b56000396000f3fe6080604052600436106102dc5760003560e01c8063715018a611610184578063c6275255116100d6578063e3e1e8ef1161008a578063efbd73f411610064578063efbd73f4146107cc578063f2fde38b146107ec578063fd88fa691461080c57600080fd5b8063e3e1e8ef14610743578063e985e9c514610756578063ed75fbe4146107ac57600080fd5b8063d7299ef7116100bb578063d7299ef7146106e3578063da311b7414610703578063de30dd341461072357600080fd5b8063c6275255146106a3578063c87b56dd146106c357600080fd5b80638da5cb5b11610138578063a22cb46511610112578063a22cb46514610656578063a79fdbb414610676578063b88d4fde1461069057600080fd5b80638da5cb5b14610600578063958f6ed61461062b57806395d89b411461064157600080fd5b80637590485f116101695780637590485f146105aa5780637cb64759146105ca5780638d859f3e146105ea57600080fd5b8063715018a614610575578063717d57d31461058a57600080fd5b806333e614131161023d57806355f804b3116101f15780636c0360eb116101cb5780636c0360eb146105205780636f8b44b01461053557806370a082311461055557600080fd5b806355f804b3146104c05780635c164b21146104e05780636352211e1461050057600080fd5b806342842e0e1161022257806342842e0e1461047757806342966c681461048a57806351b96d92146104aa57600080fd5b806333e614131461044c5780633ccfd60b1461046257600080fd5b80630f2cdd6c1161029457806323b872dd1161027957806323b872dd146104105780632db11544146104235780632eb4a7ab1461043657600080fd5b80630f2cdd6c146103b157806318160ddd146103d557600080fd5b806306fdde03116102c557806306fdde0314610335578063081812fc14610357578063095ea7b31461039c57600080fd5b806301ffc9a7146102e1578063069cd57314610316575b600080fd5b3480156102ed57600080fd5b506103016102fc3660046125f0565b610865565b60405190151581526020015b60405180910390f35b34801561032257600080fd5b5060155461030190610100900460ff1681565b34801561034157600080fd5b5061034a61094a565b60405161030d91906127f6565b34801561036357600080fd5b506103776103723660046125d7565b6109dc565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161030d565b6103af6103aa366004612526565b610a46565b005b3480156103bd57600080fd5b506103c7600f5481565b60405190815260200161030d565b3480156103e157600080fd5b50600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016103c7565b6103af61041e366004612444565b610b31565b6103af6104313660046125d7565b610dc3565b34801561044257600080fd5b506103c7600a5481565b34801561045857600080fd5b506103c760115481565b34801561046e57600080fd5b506103af61100f565b6103af610485366004612444565b611046565b34801561049657600080fd5b506103af6104a53660046125d7565b611066565b3480156104b657600080fd5b506103c760105481565b3480156104cc57600080fd5b506103af6104db36600461262a565b61106f565b3480156104ec57600080fd5b506103af6104fb3660046126e2565b61108e565b34801561050c57600080fd5b5061037761051b3660046125d7565b6110dd565b34801561052c57600080fd5b5061034a6110e8565b34801561054157600080fd5b506103af6105503660046125d7565b611176565b34801561056157600080fd5b506103c76105703660046123f6565b611183565b34801561058157600080fd5b506103af611205565b34801561059657600080fd5b506103af6105a53660046125d7565b611219565b3480156105b657600080fd5b506103af6105c53660046125bc565b611226565b3480156105d657600080fd5b506103af6105e53660046125d7565b611265565b3480156105f657600080fd5b506103c7600d5481565b34801561060c57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610377565b34801561063757600080fd5b506103c7600e5481565b34801561064d57600080fd5b5061034a611272565b34801561066257600080fd5b506103af6106713660046124fc565b611281565b34801561068257600080fd5b506015546103019060ff1681565b6103af61069e366004612480565b611318565b3480156106af57600080fd5b506103af6106be3660046125d7565b611388565b3480156106cf57600080fd5b5061034a6106de3660046125d7565b611395565b3480156106ef57600080fd5b506103af6106fe3660046125bc565b61140e565b34801561070f57600080fd5b506103af61071e3660046125d7565b611447565b34801561072f57600080fd5b506103af61073e366004612550565b611454565b6103af610751366004612696565b6114d0565b34801561076257600080fd5b50610301610771366004612411565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107b857600080fd5b506103af6107c73660046125d7565b611871565b3480156107d857600080fd5b506103af6107e7366004612673565b61187e565b3480156107f857600080fd5b506103af6108073660046123f6565b611890565b34801561081857600080fd5b5060125460135460145461083d9263ffffffff80821693640100000000909204169184565b6040805163ffffffff958616815294909316602085015291830152606082015260800161030d565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806108f857507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061094457507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461095990612878565b80601f016020809104026020016040519081016040528092919081815260200182805461098590612878565b80156109d25780601f106109a7576101008083540402835291602001916109d2565b820191906000526020600020905b8154815290600101906020018083116109b557829003601f168201915b5050505050905090565b60006109e782611944565b610a1d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a51826110dd565b90503373ffffffffffffffffffffffffffffffffffffffff821614610ab057610a7a8133610771565b610ab0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b3c82611992565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ba3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610bdc8187335b73ffffffffffffffffffffffffffffffffffffffff9081169116811491141790565b610c2057610bea8633610771565b610c20576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516610c6d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610c7857600082555b73ffffffffffffffffffffffffffffffffffffffff86811660009081526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260409020557c02000000000000000000000000000000000000000000000000000000008316610d605760018401600081815260046020526040902054610d5e576000548114610d5e5760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60026009541415610e35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095580333214610e74576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54600154600054839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610ead9190612809565b1115610ee5576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054811115610f21576040517f802fc7e600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601554610100900460ff1615610f63576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f5433600090815260056020526040908190205484911c67ffffffffffffffff16011115610fbe576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d5402341015610ffc576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110063383611a52565b50506001600955565b611017611a6c565b60405133904780156108fc02916000818181858888f19350505050158015611043573d6000803e3d6000fd5b50565b61106183838360405180602001604052806000815250611318565b505050565b61104381611aed565b611077611a6c565b805161108a90600b906020840190612230565b5050565b611096611a6c565b6012805463ffffffff928316640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091169290931691909117919091179055565b600061094482611992565b600b80546110f590612878565b80601f016020809104026020016040519081016040528092919081815260200182805461112190612878565b801561116e5780601f106111435761010080835404028352916020019161116e565b820191906000526020600020905b81548152906001019060200180831161115157829003601f168201915b505050505081565b61117e611a6c565b600e55565b600073ffffffffffffffffffffffffffffffffffffffff82166111d2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b61120d611a6c565b6112176000611af8565b565b611221611a6c565b601455565b61122e611a6c565b60158054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b61126d611a6c565b600a55565b60606003805461095990612878565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611323848484610b31565b73ffffffffffffffffffffffffffffffffffffffff83163b156113825761134c84848484611b6f565b611382576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611390611a6c565b600d55565b60606113a082611944565b6113d6576040517f157503d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113de611cf5565b6113e783611d04565b6040516020016113f8929190612756565b6040516020818303038152906040529050919050565b611416611a6c565b601580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b61144f611a6c565b601355565b61145c611a6c565b60005b63ffffffff81168411156114c9576114c185858363ffffffff1681811061148857611488612977565b905060200201602081019061149d91906123f6565b84848463ffffffff168181106114b5576114b5612977565b90506020020135611a52565b60010161145f565b5050505050565b6002600954141561153d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e2c565b60026009558233321461157c576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54600154600054839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016115b59190612809565b11156115ed576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054811115611629576040517f802fc7e600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160808101825260125463ffffffff808216835264010000000090910416602082015260135491810191909152601454606082015260155460ff161561169e576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805163ffffffff164210806116bc5750806020015163ffffffff1642115b156116f3576040517f343295c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015260009060340160405160208183030381529060405280519060200120905061178085858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611e36565b6117b6576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408281015133600090815260056020528290205490911c67ffffffffffffffff1687011115611812576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85826060015102341015611852576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60118054870190556118643387611a52565b5050600160095550505050565b611879611a6c565b600f55565b611886611a6c565b61108a8183611a52565b611898611a6c565b73ffffffffffffffffffffffffffffffffffffffff811661193b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e2c565b61104381611af8565b600081600111158015611958575060005482105b80156109445750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b60008180600111611a2057600054811015611a20576000818152600460205260409020547c01000000000000000000000000000000000000000000000000000000008116611a1e575b80611a1757507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600460205260409020546119db565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61108a828260405180602001604052806000815250611e4c565b60085473ffffffffffffffffffffffffffffffffffffffff163314611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e2c565b611043816000611ed8565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611bca9033908990889088906004016127ad565b602060405180830381600087803b158015611be457600080fd5b505af1925050508015611c32575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611c2f9181019061260d565b60015b611ca6573d808015611c60576040519150601f19603f3d011682016040523d82523d6000602084013e611c65565b606091505b508051611c9e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060600b805461095990612878565b606081611d4457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d6e5780611d58816128cc565b9150611d679050600a83612821565b9150611d48565b60008167ffffffffffffffff811115611d8957611d896129a6565b6040519080825280601f01601f191660200182016040528015611db3576020820181803683370190505b5090505b8415611ced57611dc8600183612835565b9150611dd5600a86612905565b611de0906030612809565b60f81b818381518110611df557611df5612977565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e2f600a86612821565b9450611db7565b600082611e438584612080565b14949350505050565b611e5683836120cd565b73ffffffffffffffffffffffffffffffffffffffff83163b15611061576000548281035b611e8d6000868380600101945086611b6f565b611ec3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611e7a5781600054146114c957600080fd5b6000611ee383611992565b905080600080611f0186600090815260066020526040902080549091565b915091508415611f5a57611f16818433610bba565b611f5a57611f248333610771565b611f5a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015611f6557600082555b73ffffffffffffffffffffffffffffffffffffffff8316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c0300000000000000000000000000000000000000000000000000000000176000878152600460205260409020557c0200000000000000000000000000000000000000000000000000000000841661202b57600186016000818152600460205260409020546120295760005481146120295760008181526004602052604090208590555b505b604051869060009073ffffffffffffffffffffffffffffffffffffffff8616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081815b84518110156120c5576120b1828683815181106120a4576120a4612977565b6020026020010151612204565b9150806120bd816128cc565b915050612085565b509392505050565b60005481612107576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146121c357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161218b565b50816121fb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b6000818310612220576000828152602084905260409020611a17565b5060009182526020526040902090565b82805461223c90612878565b90600052602060002090601f01602090048101928261225e57600085556122a4565b82601f1061227757805160ff19168380011785556122a4565b828001600101855582156122a4579182015b828111156122a4578251825591602001919060010190612289565b506122b09291506122b4565b5090565b5b808211156122b057600081556001016122b5565b600067ffffffffffffffff808411156122e4576122e46129a6565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561232a5761232a6129a6565b8160405280935085815286868601111561234357600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461238157600080fd5b919050565b60008083601f84011261239857600080fd5b50813567ffffffffffffffff8111156123b057600080fd5b6020830191508360208260051b85010111156123cb57600080fd5b9250929050565b8035801515811461238157600080fd5b803563ffffffff8116811461238157600080fd5b60006020828403121561240857600080fd5b611a178261235d565b6000806040838503121561242457600080fd5b61242d8361235d565b915061243b6020840161235d565b90509250929050565b60008060006060848603121561245957600080fd5b6124628461235d565b92506124706020850161235d565b9150604084013590509250925092565b6000806000806080858703121561249657600080fd5b61249f8561235d565b93506124ad6020860161235d565b925060408501359150606085013567ffffffffffffffff8111156124d057600080fd5b8501601f810187136124e157600080fd5b6124f0878235602084016122c9565b91505092959194509250565b6000806040838503121561250f57600080fd5b6125188361235d565b915061243b602084016123d2565b6000806040838503121561253957600080fd5b6125428361235d565b946020939093013593505050565b6000806000806040858703121561256657600080fd5b843567ffffffffffffffff8082111561257e57600080fd5b61258a88838901612386565b909650945060208701359150808211156125a357600080fd5b506125b087828801612386565b95989497509550505050565b6000602082840312156125ce57600080fd5b611a17826123d2565b6000602082840312156125e957600080fd5b5035919050565b60006020828403121561260257600080fd5b8135611a17816129d5565b60006020828403121561261f57600080fd5b8151611a17816129d5565b60006020828403121561263c57600080fd5b813567ffffffffffffffff81111561265357600080fd5b8201601f8101841361266457600080fd5b611ced848235602084016122c9565b6000806040838503121561268657600080fd5b8235915061243b6020840161235d565b6000806000604084860312156126ab57600080fd5b83359250602084013567ffffffffffffffff8111156126c957600080fd5b6126d586828701612386565b9497909650939450505050565b600080604083850312156126f557600080fd5b6126fe836123e2565b915061243b602084016123e2565b6000815180845261272481602086016020860161284c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000835161276881846020880161284c565b83519083019061277c81836020880161284c565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526127ec608083018461270c565b9695505050505050565b602081526000611a17602083018461270c565b6000821982111561281c5761281c612919565b500190565b60008261283057612830612948565b500490565b60008282101561284757612847612919565b500390565b60005b8381101561286757818101518382015260200161284f565b838111156113825750506000910152565b600181811c9082168061288c57607f821691505b602082108114156128c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156128fe576128fe612919565b5060010190565b60008261291457612914612948565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461104357600080fdfea2646970667358221220a1d6cae8bfa3f53b97a723861ded555289464fbd6413588bbe913a9a01b38bba64736f6c63430008070033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef697066733a2f2f516d5a4e476d66786b366f646644724c5846546b4d327459356651564b6458424870647a4e617778767033416d6b2f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4d6573737920436174730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d43000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102dc5760003560e01c8063715018a611610184578063c6275255116100d6578063e3e1e8ef1161008a578063efbd73f411610064578063efbd73f4146107cc578063f2fde38b146107ec578063fd88fa691461080c57600080fd5b8063e3e1e8ef14610743578063e985e9c514610756578063ed75fbe4146107ac57600080fd5b8063d7299ef7116100bb578063d7299ef7146106e3578063da311b7414610703578063de30dd341461072357600080fd5b8063c6275255146106a3578063c87b56dd146106c357600080fd5b80638da5cb5b11610138578063a22cb46511610112578063a22cb46514610656578063a79fdbb414610676578063b88d4fde1461069057600080fd5b80638da5cb5b14610600578063958f6ed61461062b57806395d89b411461064157600080fd5b80637590485f116101695780637590485f146105aa5780637cb64759146105ca5780638d859f3e146105ea57600080fd5b8063715018a614610575578063717d57d31461058a57600080fd5b806333e614131161023d57806355f804b3116101f15780636c0360eb116101cb5780636c0360eb146105205780636f8b44b01461053557806370a082311461055557600080fd5b806355f804b3146104c05780635c164b21146104e05780636352211e1461050057600080fd5b806342842e0e1161022257806342842e0e1461047757806342966c681461048a57806351b96d92146104aa57600080fd5b806333e614131461044c5780633ccfd60b1461046257600080fd5b80630f2cdd6c1161029457806323b872dd1161027957806323b872dd146104105780632db11544146104235780632eb4a7ab1461043657600080fd5b80630f2cdd6c146103b157806318160ddd146103d557600080fd5b806306fdde03116102c557806306fdde0314610335578063081812fc14610357578063095ea7b31461039c57600080fd5b806301ffc9a7146102e1578063069cd57314610316575b600080fd5b3480156102ed57600080fd5b506103016102fc3660046125f0565b610865565b60405190151581526020015b60405180910390f35b34801561032257600080fd5b5060155461030190610100900460ff1681565b34801561034157600080fd5b5061034a61094a565b60405161030d91906127f6565b34801561036357600080fd5b506103776103723660046125d7565b6109dc565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161030d565b6103af6103aa366004612526565b610a46565b005b3480156103bd57600080fd5b506103c7600f5481565b60405190815260200161030d565b3480156103e157600080fd5b50600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016103c7565b6103af61041e366004612444565b610b31565b6103af6104313660046125d7565b610dc3565b34801561044257600080fd5b506103c7600a5481565b34801561045857600080fd5b506103c760115481565b34801561046e57600080fd5b506103af61100f565b6103af610485366004612444565b611046565b34801561049657600080fd5b506103af6104a53660046125d7565b611066565b3480156104b657600080fd5b506103c760105481565b3480156104cc57600080fd5b506103af6104db36600461262a565b61106f565b3480156104ec57600080fd5b506103af6104fb3660046126e2565b61108e565b34801561050c57600080fd5b5061037761051b3660046125d7565b6110dd565b34801561052c57600080fd5b5061034a6110e8565b34801561054157600080fd5b506103af6105503660046125d7565b611176565b34801561056157600080fd5b506103c76105703660046123f6565b611183565b34801561058157600080fd5b506103af611205565b34801561059657600080fd5b506103af6105a53660046125d7565b611219565b3480156105b657600080fd5b506103af6105c53660046125bc565b611226565b3480156105d657600080fd5b506103af6105e53660046125d7565b611265565b3480156105f657600080fd5b506103c7600d5481565b34801561060c57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610377565b34801561063757600080fd5b506103c7600e5481565b34801561064d57600080fd5b5061034a611272565b34801561066257600080fd5b506103af6106713660046124fc565b611281565b34801561068257600080fd5b506015546103019060ff1681565b6103af61069e366004612480565b611318565b3480156106af57600080fd5b506103af6106be3660046125d7565b611388565b3480156106cf57600080fd5b5061034a6106de3660046125d7565b611395565b3480156106ef57600080fd5b506103af6106fe3660046125bc565b61140e565b34801561070f57600080fd5b506103af61071e3660046125d7565b611447565b34801561072f57600080fd5b506103af61073e366004612550565b611454565b6103af610751366004612696565b6114d0565b34801561076257600080fd5b50610301610771366004612411565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107b857600080fd5b506103af6107c73660046125d7565b611871565b3480156107d857600080fd5b506103af6107e7366004612673565b61187e565b3480156107f857600080fd5b506103af6108073660046123f6565b611890565b34801561081857600080fd5b5060125460135460145461083d9263ffffffff80821693640100000000909204169184565b6040805163ffffffff958616815294909316602085015291830152606082015260800161030d565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806108f857507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061094457507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461095990612878565b80601f016020809104026020016040519081016040528092919081815260200182805461098590612878565b80156109d25780601f106109a7576101008083540402835291602001916109d2565b820191906000526020600020905b8154815290600101906020018083116109b557829003601f168201915b5050505050905090565b60006109e782611944565b610a1d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a51826110dd565b90503373ffffffffffffffffffffffffffffffffffffffff821614610ab057610a7a8133610771565b610ab0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b3c82611992565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ba3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610bdc8187335b73ffffffffffffffffffffffffffffffffffffffff9081169116811491141790565b610c2057610bea8633610771565b610c20576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516610c6d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610c7857600082555b73ffffffffffffffffffffffffffffffffffffffff86811660009081526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260409020557c02000000000000000000000000000000000000000000000000000000008316610d605760018401600081815260046020526040902054610d5e576000548114610d5e5760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60026009541415610e35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095580333214610e74576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54600154600054839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610ead9190612809565b1115610ee5576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054811115610f21576040517f802fc7e600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601554610100900460ff1615610f63576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f5433600090815260056020526040908190205484911c67ffffffffffffffff16011115610fbe576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d5402341015610ffc576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110063383611a52565b50506001600955565b611017611a6c565b60405133904780156108fc02916000818181858888f19350505050158015611043573d6000803e3d6000fd5b50565b61106183838360405180602001604052806000815250611318565b505050565b61104381611aed565b611077611a6c565b805161108a90600b906020840190612230565b5050565b611096611a6c565b6012805463ffffffff928316640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091169290931691909117919091179055565b600061094482611992565b600b80546110f590612878565b80601f016020809104026020016040519081016040528092919081815260200182805461112190612878565b801561116e5780601f106111435761010080835404028352916020019161116e565b820191906000526020600020905b81548152906001019060200180831161115157829003601f168201915b505050505081565b61117e611a6c565b600e55565b600073ffffffffffffffffffffffffffffffffffffffff82166111d2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b61120d611a6c565b6112176000611af8565b565b611221611a6c565b601455565b61122e611a6c565b60158054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b61126d611a6c565b600a55565b60606003805461095990612878565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611323848484610b31565b73ffffffffffffffffffffffffffffffffffffffff83163b156113825761134c84848484611b6f565b611382576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611390611a6c565b600d55565b60606113a082611944565b6113d6576040517f157503d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113de611cf5565b6113e783611d04565b6040516020016113f8929190612756565b6040516020818303038152906040529050919050565b611416611a6c565b601580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b61144f611a6c565b601355565b61145c611a6c565b60005b63ffffffff81168411156114c9576114c185858363ffffffff1681811061148857611488612977565b905060200201602081019061149d91906123f6565b84848463ffffffff168181106114b5576114b5612977565b90506020020135611a52565b60010161145f565b5050505050565b6002600954141561153d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e2c565b60026009558233321461157c576040517f72f67c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54600154600054839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016115b59190612809565b11156115ed576040517f9b741cf000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054811115611629576040517f802fc7e600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160808101825260125463ffffffff808216835264010000000090910416602082015260135491810191909152601454606082015260155460ff161561169e576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805163ffffffff164210806116bc5750806020015163ffffffff1642115b156116f3576040517f343295c400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015260009060340160405160208183030381529060405280519060200120905061178085858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611e36565b6117b6576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408281015133600090815260056020528290205490911c67ffffffffffffffff1687011115611812576040517f5107dbe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85826060015102341015611852576040517f356680b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60118054870190556118643387611a52565b5050600160095550505050565b611879611a6c565b600f55565b611886611a6c565b61108a8183611a52565b611898611a6c565b73ffffffffffffffffffffffffffffffffffffffff811661193b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e2c565b61104381611af8565b600081600111158015611958575060005482105b80156109445750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b60008180600111611a2057600054811015611a20576000818152600460205260409020547c01000000000000000000000000000000000000000000000000000000008116611a1e575b80611a1757507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600460205260409020546119db565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61108a828260405180602001604052806000815250611e4c565b60085473ffffffffffffffffffffffffffffffffffffffff163314611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e2c565b611043816000611ed8565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611bca9033908990889088906004016127ad565b602060405180830381600087803b158015611be457600080fd5b505af1925050508015611c32575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611c2f9181019061260d565b60015b611ca6573d808015611c60576040519150601f19603f3d011682016040523d82523d6000602084013e611c65565b606091505b508051611c9e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060600b805461095990612878565b606081611d4457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d6e5780611d58816128cc565b9150611d679050600a83612821565b9150611d48565b60008167ffffffffffffffff811115611d8957611d896129a6565b6040519080825280601f01601f191660200182016040528015611db3576020820181803683370190505b5090505b8415611ced57611dc8600183612835565b9150611dd5600a86612905565b611de0906030612809565b60f81b818381518110611df557611df5612977565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e2f600a86612821565b9450611db7565b600082611e438584612080565b14949350505050565b611e5683836120cd565b73ffffffffffffffffffffffffffffffffffffffff83163b15611061576000548281035b611e8d6000868380600101945086611b6f565b611ec3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611e7a5781600054146114c957600080fd5b6000611ee383611992565b905080600080611f0186600090815260066020526040902080549091565b915091508415611f5a57611f16818433610bba565b611f5a57611f248333610771565b611f5a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015611f6557600082555b73ffffffffffffffffffffffffffffffffffffffff8316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c0300000000000000000000000000000000000000000000000000000000176000878152600460205260409020557c0200000000000000000000000000000000000000000000000000000000841661202b57600186016000818152600460205260409020546120295760005481146120295760008181526004602052604090208590555b505b604051869060009073ffffffffffffffffffffffffffffffffffffffff8616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081815b84518110156120c5576120b1828683815181106120a4576120a4612977565b6020026020010151612204565b9150806120bd816128cc565b915050612085565b509392505050565b60005481612107576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146121c357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161218b565b50816121fb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b6000818310612220576000828152602084905260409020611a17565b5060009182526020526040902090565b82805461223c90612878565b90600052602060002090601f01602090048101928261225e57600085556122a4565b82601f1061227757805160ff19168380011785556122a4565b828001600101855582156122a4579182015b828111156122a4578251825591602001919060010190612289565b506122b09291506122b4565b5090565b5b808211156122b057600081556001016122b5565b600067ffffffffffffffff808411156122e4576122e46129a6565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561232a5761232a6129a6565b8160405280935085815286868601111561234357600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461238157600080fd5b919050565b60008083601f84011261239857600080fd5b50813567ffffffffffffffff8111156123b057600080fd5b6020830191508360208260051b85010111156123cb57600080fd5b9250929050565b8035801515811461238157600080fd5b803563ffffffff8116811461238157600080fd5b60006020828403121561240857600080fd5b611a178261235d565b6000806040838503121561242457600080fd5b61242d8361235d565b915061243b6020840161235d565b90509250929050565b60008060006060848603121561245957600080fd5b6124628461235d565b92506124706020850161235d565b9150604084013590509250925092565b6000806000806080858703121561249657600080fd5b61249f8561235d565b93506124ad6020860161235d565b925060408501359150606085013567ffffffffffffffff8111156124d057600080fd5b8501601f810187136124e157600080fd5b6124f0878235602084016122c9565b91505092959194509250565b6000806040838503121561250f57600080fd5b6125188361235d565b915061243b602084016123d2565b6000806040838503121561253957600080fd5b6125428361235d565b946020939093013593505050565b6000806000806040858703121561256657600080fd5b843567ffffffffffffffff8082111561257e57600080fd5b61258a88838901612386565b909650945060208701359150808211156125a357600080fd5b506125b087828801612386565b95989497509550505050565b6000602082840312156125ce57600080fd5b611a17826123d2565b6000602082840312156125e957600080fd5b5035919050565b60006020828403121561260257600080fd5b8135611a17816129d5565b60006020828403121561261f57600080fd5b8151611a17816129d5565b60006020828403121561263c57600080fd5b813567ffffffffffffffff81111561265357600080fd5b8201601f8101841361266457600080fd5b611ced848235602084016122c9565b6000806040838503121561268657600080fd5b8235915061243b6020840161235d565b6000806000604084860312156126ab57600080fd5b83359250602084013567ffffffffffffffff8111156126c957600080fd5b6126d586828701612386565b9497909650939450505050565b600080604083850312156126f557600080fd5b6126fe836123e2565b915061243b602084016123e2565b6000815180845261272481602086016020860161284c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000835161276881846020880161284c565b83519083019061277c81836020880161284c565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526127ec608083018461270c565b9695505050505050565b602081526000611a17602083018461270c565b6000821982111561281c5761281c612919565b500190565b60008261283057612830612948565b500490565b60008282101561284757612847612919565b500390565b60005b8381101561286757818101518382015260200161284f565b838111156113825750506000910152565b600181811c9082168061288c57607f821691505b602082108114156128c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156128fe576128fe612919565b5060010190565b60008261291457612914612948565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461104357600080fdfea2646970667358221220a1d6cae8bfa3f53b97a723861ded555289464fbd6413588bbe913a9a01b38bba64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4d6573737920436174730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d43000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Messy Cats
Arg [1] : _symbol (string): MC

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 4d65737379204361747300000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 4d43000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

69226:5716:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18404:639;;;;;;;;;;-1:-1:-1;18404:639:0;;;;;:::i;:::-;;:::i;:::-;;;9059:14:1;;9052:22;9034:41;;9022:2;9007:18;18404:639:0;;;;;;;;70080:35;;;;;;;;;;-1:-1:-1;70080:35:0;;;;;;;;;;;19306:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25797:218::-;;;;;;;;;;-1:-1:-1;25797:218:0;;;;;:::i;:::-;;:::i;:::-;;;8323:42:1;8311:55;;;8293:74;;8281:2;8266:18;25797:218:0;8147:226:1;25230:408:0;;;;;;:::i;:::-;;:::i;:::-;;69889:33;;;;;;;;;;;;;;;;;;;9232:25:1;;;9220:2;9205:18;69889:33:0;9086:177:1;15057:323:0;;;;;;;;;;-1:-1:-1;72917:1:0;15331:12;15118:7;15315:13;:28;:46;;15057:323;;29436:2825;;;;;;:::i;:::-;;:::i;71765:466::-;;;;;;:::i;:::-;;:::i;69647:25::-;;;;;;;;;;;;;;;;69966:30;;;;;;;;;;;;;;;;74060:109;;;;;;;;;;;;;:::i;32357:193::-;;;;;;:::i;:::-;;:::i;74482:63::-;;;;;;;;;;-1:-1:-1;74482:63:0;;;;;:::i;:::-;;:::i;69929:30::-;;;;;;;;;;;;;;;;74368:106;;;;;;;;;;-1:-1:-1;74368:106:0;;;;;:::i;:::-;;:::i;73169:182::-;;;;;;;;;;-1:-1:-1;73169:182:0;;;;;:::i;:::-;;:::i;20699:152::-;;;;;;;;;;-1:-1:-1;20699:152:0;;;;;:::i;:::-;;:::i;69681:80::-;;;;;;;;;;;;;:::i;73955:97::-;;;;;;;;;;-1:-1:-1;73955:97:0;;;;;:::i;:::-;;:::i;16241:233::-;;;;;;;;;;-1:-1:-1;16241:233:0;;;;;:::i;:::-;;:::i;68192:103::-;;;;;;;;;;;;;:::i;73829:118::-;;;;;;;;;;-1:-1:-1;73829:118:0;;;;;:::i;:::-;;:::i;72957:101::-;;;;;;;;;;-1:-1:-1;72957:101:0;;;;;:::i;:::-;;:::i;73363:106::-;;;;;;;;;;-1:-1:-1;73363:106:0;;;;;:::i;:::-;;:::i;69809:34::-;;;;;;;;;;;;;;;;67544:87;;;;;;;;;;-1:-1:-1;67617:6:0;;;;67544:87;;69850:32;;;;;;;;;;;;;;;;19482:104;;;;;;;;;;;;;:::i;26355:234::-;;;;;;;;;;-1:-1:-1;26355:234:0;;;;;:::i;:::-;;:::i;70048:25::-;;;;;;;;;;-1:-1:-1;70048:25:0;;;;;;;;33148:407;;;;;;:::i;:::-;;:::i;73477:92::-;;;;;;;;;;-1:-1:-1;73477:92:0;;;;;:::i;:::-;;:::i;74645:292::-;;;;;;;;;;-1:-1:-1;74645:292:0;;;;;:::i;:::-;;:::i;73066:95::-;;;;;;;;;;-1:-1:-1;73066:95:0;;;;;:::i;:::-;;:::i;73689:132::-;;;;;;;;;;-1:-1:-1;73689:132:0;;;;;:::i;:::-;;:::i;72479:296::-;;;;;;;;;;-1:-1:-1;72479:296:0;;;;;:::i;:::-;;:::i;70846:911::-;;;;;;:::i;:::-;;:::i;26746:164::-;;;;;;;;;;-1:-1:-1;26746:164:0;;;;;:::i;:::-;26867:25;;;;26843:4;26867:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26746:164;73577:104;;;;;;;;;;-1:-1:-1;73577:104:0;;;;;:::i;:::-;;:::i;72289:135::-;;;;;;;;;;-1:-1:-1;72289:135:0;;;;;:::i;:::-;;:::i;68450:201::-;;;;;;;;;;-1:-1:-1;68450:201:0;;;;;:::i;:::-;;:::i;70005:34::-;;;;;;;;;;-1:-1:-1;70005:34:0;;;;;;;;;;;;;;;;;;;;;;;;;11039:10:1;11076:15;;;11058:34;;11128:15;;;;11123:2;11108:18;;11101:43;11160:18;;;11153:34;11218:2;11203:18;;11196:34;11016:3;11001:19;70005:34:0;10802:434:1;18404:639:0;18489:4;18813:25;;;;;;:102;;-1:-1:-1;18890:25:0;;;;;18813:102;:179;;;-1:-1:-1;18967:25:0;;;;;18813:179;18793:199;18404:639;-1:-1:-1;;18404:639:0:o;19306:100::-;19360:13;19393:5;19386:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19306:100;:::o;25797:218::-;25873:7;25898:16;25906:7;25898;:16::i;:::-;25893:64;;25923:34;;;;;;;;;;;;;;25893:64;-1:-1:-1;25977:24:0;;;;:15;:24;;;;;:30;;;;25797:218::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;-1:-1:-1;49563:10:0;25368:28;;;;25364:175;;25416:44;25433:5;49563:10;26746:164;:::i;25416:44::-;25411:128;;25488:35;;;;;;;;;;;;;;25411:128;25551:24;;;;:15;:24;;;;;;:35;;;;;;;;;;;;;;25602:28;;25551:24;;25602:28;;;;;;;25308:330;25230:408;;:::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;29652:45;;29668:19;29652:45;;;29648:86;;29706:28;;;;;;;;;;;;;;29648:86;29748:27;28544:24;;;:15;:24;;;;;28772:26;;29939:68;28772:26;29981:4;49563:10;29987:19;27873:16;28018:32;;;27862:28;;28147:20;;28169:30;;28144:56;;27559:659;29939:68;29934:180;;30027:43;30044:4;49563:10;26746:164;:::i;30027:43::-;30022:92;;30079:35;;;;;;;;;;;;;;30022:92;30131:16;;;30127:52;;30156:23;;;;;;;;;;;;;;30127:52;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;30865:24;;;;;;;;:18;:24;;;;;;30863:26;;;;;;30934:22;;;;;;;;;30932:24;;-1:-1:-1;30932:24:0;;;24088:11;24063:23;24059:41;24046:63;11456:8;24046:63;31227:26;;;;:17;:26;;;;;:175;11456:8;31522:47;;31518:627;;31627:1;31617:11;;31595:19;31750:30;;;:17;:30;;;;;;31746:384;;31888:13;;31873:11;:28;31869:242;;32035:30;;;;:17;:30;;;;;:52;;;31869:242;31576:569;31518:627;32192:7;32188:2;32173:27;;32182:4;32173:27;;;;;;;;;;;;29567:2694;;;29436:2825;;;:::o;71765:466::-;53247:1;53845:7;;:19;;53837:63;;;;;;;10462:2:1;53837:63:0;;;10444:21:1;10501:2;10481:18;;;10474:30;10540:33;10520:18;;;10513:61;10591:18;;53837:63:0;;;;;;;;;53247:1;53978:7;:18;71887:11;70627:10:::1;70641:9;70627:23;70623:50;;70659:14;;;;;;;;;;;;;;70623:50;70720:10;::::0;72917:1;15331:12;15118:7;15315:13;70705:11;;15315:28;;:46;;70689:27:::1;;;;:::i;:::-;70688:42;70684:68;;;70739:13;;;;;;;;;;;;;;70684:68;70781:11;;70767;:25;70763:55;;;70801:17;;;;;;;;;;;;;;70763:55;71920:16:::2;::::0;::::2;::::0;::::2;;;71916:41;;;71945:12;;;;;;;;;;;;;;71916:41;72041:14;::::0;72012:10:::2;16617:7:::0;16645:25;;;:18;:25;;10538:2;16645:25;;;;;72026:11;;16645:50;10400:13;16644:82;71998:39:::2;71997:58;71993:91;;;72064:20;;;;;;;;;;;;;;71993:91;72125:11;72117:5;;:19;72104:9;:33;72100:65;;;72146:19;;;;;;;;;;;;;;72100:65;72189:34;72199:10;72211:11;72189:9;:34::i;:::-;-1:-1:-1::0;;53203:1:0;54157:7;:22;71765:466::o;74060:109::-;67430:13;:11;:13::i;:::-;74110:51:::1;::::0;74118:10:::1;::::0;74139:21:::1;74110:51:::0;::::1;;;::::0;::::1;::::0;;;74139:21;74118:10;74110:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;74060:109::o:0;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;:::-;32357:193;;;:::o;74482:63::-;74528:9;74534:2;74528:5;:9::i;74368:106::-;67430:13;:11;:13::i;:::-;74445:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;74368:106:::0;:::o;73169:182::-;67430:13;:11;:13::i;:::-;73264::::1;:36:::0;;::::1;73311:32:::0;;::::1;::::0;::::1;::::0;;;;73264:36;;;::::1;73311:32:::0;;;;;;;::::1;::::0;;73169:182::o;20699:152::-;20771:7;20814:27;20833:7;20814:18;:27::i;69681:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;73955:97::-;67430:13;:11;:13::i;:::-;74024:10:::1;:20:::0;73955:97::o;16241:233::-;16313:7;16337:19;;;16333:60;;16365:28;;;;;;;;;;;;;;16333:60;-1:-1:-1;16411:25:0;;;;;;:18;:25;;;;;;10400:13;16411:55;;16241:233::o;68192:103::-;67430:13;:11;:13::i;:::-;68257:30:::1;68284:1;68257:18;:30::i;:::-;68192:103::o:0;73829:118::-;67430:13;:11;:13::i;:::-;73902:28;:37;73829:118::o;72957:101::-;67430:13;:11;:13::i;:::-;73025:16:::1;:25:::0;;;::::1;;;;::::0;;;::::1;::::0;;;::::1;::::0;;72957:101::o;73363:106::-;67430:13;:11;:13::i;:::-;73437:10:::1;:24:::0;73363:106::o;19482:104::-;19538:13;19571:7;19564:14;;;;;:::i;26355:234::-;49563:10;26450:39;;;;:18;:39;;;;;;;;;:49;;;;;;;;;;;;:60;;;;;;;;;;;;;26526:55;;9034:41:1;;;26450:49:0;;49563:10;26526:55;;9007:18:1;26526:55:0;;;;;;;26355:234;;:::o;33148:407::-;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;33369:14;;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;;;;;;;;;;;;;33403:145;33148:407;;;;:::o;73477:92::-;67430:13;:11;:13::i;:::-;73547:5:::1;:14:::0;73477:92::o;74645:292::-;74764:13;74800:17;74808:8;74800:7;:17::i;:::-;74795:48;;74826:17;;;;;;;;;;;;;;74795:48;74887:10;:8;:10::i;:::-;74899:19;:8;:17;:19::i;:::-;74870:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74856:73;;74645:292;;;:::o;73066:95::-;67430:13;:11;:13::i;:::-;73131::::1;:22:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;73066:95::o;73689:132::-;67430:13;:11;:13::i;:::-;73767:39;:46;73689:132::o;72479:296::-;67430:13;:11;:13::i;:::-;72624:8:::1;72647:110;72657:20;::::0;::::1;::::0;-1:-1:-1;72647:110:0::1;;;72703:38;72713:9;;72723:1;72713:12;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;72727:10;;72738:1;72727:13;;;;;;;;;:::i;:::-;;;;;;;72703:9;:38::i;:::-;72679:3;;72647:110;;;72599:169;72479:296:::0;;;;:::o;70846:911::-;53247:1;53845:7;;:19;;53837:63;;;;;;;10462:2:1;53837:63:0;;;10444:21:1;10501:2;10481:18;;;10474:30;10540:33;10520:18;;;10513:61;10591:18;;53837:63:0;10260:355:1;53837:63:0;53247:1;53978:7;:18;71002:11;70627:10:::1;70641:9;70627:23;70623:50;;70659:14;;;;;;;;;;;;;;70623:50;70720:10;::::0;72917:1;15331:12;15118:7;15315:13;70705:11;;15315:28;;:46;;70689:27:::1;;;;:::i;:::-;70688:42;70684:68;;;70739:13;;;;;;;;;;;;;;70684:68;70781:11;;70767;:25;70763:55;;;70801:17;;;;;;;;;;;;;;70763:55;71032:44:::2;::::0;;::::2;::::0;::::2;::::0;;71063:13:::2;71032:44:::0;::::2;::::0;;::::2;::::0;;;;;::::2;;;::::0;::::2;::::0;;;;;;;;;;;;;;;;71101:13:::2;::::0;::::2;;71097:38;;;71123:12;;;;;;;;;;;;;;71097:38;71168:17:::0;;71150:35:::2;;:15;:35;::::0;:72:::2;;;71207:7;:15;;;71189:33;;:15;:33;71150:72;71146:99;;;71231:14;;;;;;;;;;;;;;71146:99;71283:28;::::0;7398:66:1;71300:10:0::2;7385:2:1::0;7381:15;7377:88;71283:28:0::2;::::0;::::2;7365:101:1::0;71258:12:0::2;::::0;7482::1;;71283:28:0::2;;;;;;;;;;;;71273:39;;;;;;71258:54;;71328:50;71347:12;;71328:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;71361:10:0::2;::::0;;-1:-1:-1;71373:4:0;;-1:-1:-1;71328:18:0::2;:50::i;:::-;71323:78;;71387:14;;;;;;;;;;;;;;71323:78;71487:33;::::0;;::::2;::::0;71458:10:::2;16617:7:::0;16645:25;;;:18;:25;;;;;;:50;;;10400:13;16644:82;71444:39;::::2;71443:77;71439:110;;;71529:20;;;;;;;;;;;;;;71439:110;71606:11;71581:7;:22;;;:36;71568:9;:50;71564:82;;;71627:19;;;;;;;;;;;;;;71564:82;71661:15;:30:::0;;;::::2;::::0;;71715:34:::2;71725:10;71680:11:::0;71715:9:::2;:34::i;:::-;-1:-1:-1::0;;53203:1:0;54157:7;:22;-1:-1:-1;;;;70846:911:0:o;73577:104::-;67430:13;:11;:13::i;:::-;73652:14:::1;:21:::0;73577:104::o;72289:135::-;67430:13;:11;:13::i;:::-;72383:33:::1;72393:9;72404:11;72383:9;:33::i;68450:201::-:0;67430:13;:11;:13::i;:::-;68539:22:::1;::::0;::::1;68531:73;;;::::0;::::1;::::0;;9694:2:1;68531:73:0::1;::::0;::::1;9676:21:1::0;9733:2;9713:18;;;9706:30;9772:34;9752:18;;;9745:62;9843:8;9823:18;;;9816:36;9869:19;;68531:73:0::1;9492:402:1::0;68531:73:0::1;68615:28;68634:8;68615:18;:28::i;27168:282::-:0;27233:4;27289:7;72917:1;27270:26;;:66;;;;;27323:13;;27313:7;:23;27270:66;:153;;;;-1:-1:-1;;27374:26:0;;;;:17;:26;;;;;;11176:8;27374:44;:49;;27168:282::o;21854:1275::-;21921:7;21956;;72917:1;22005:23;22001:1061;;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:23;;;:17;:23;;;;;;11176:8;22202:24;;22198:845;;22867:113;22874:11;22867:113;;-1:-1:-1;22945:6:0;;22927:25;;;;:17;:25;;;;;;22867:113;;;23013:6;21854:1275;-1:-1:-1;;;21854:1275:0:o;22198:845::-;22073:989;22047:1015;23090:31;;;;;;;;;;;;;;43308:112;43385:27;43395:2;43399:8;43385:27;;;;;;;;;;;;:9;:27::i;67709:132::-;67617:6;;67773:23;67617:6;49563:10;67773:23;67765:68;;;;;;;10101:2:1;67765:68:0;;;10083:21:1;;;10120:18;;;10113:30;10179:34;10159:18;;;10152:62;10231:18;;67765:68:0;9899:356:1;43687:89:0;43747:21;43753:7;43762:5;43747;:21::i;68811:191::-;68904:6;;;;68921:17;;;;;;;;;;;68954:40;;68904:6;;;68921:17;68904:6;;68954:40;;68885:16;;68954:40;68874:128;68811:191;:::o;35639:716::-;35823:88;;;;;35802:4;;35823:45;;;;;;:88;;49563:10;;35890:4;;35896:7;;35905:5;;35823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35823:88:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36106:13:0;;36102:235;;36152:40;;;;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;35982:64;;35992:54;35982:64;;-1:-1:-1;35819:529:0;35639:716;;;;;;:::o;74209:151::-;74307:13;74345:7;74338:14;;;;;:::i;63349:723::-;63405:13;63626:10;63622:53;;-1:-1:-1;;63653:10:0;;;;;;;;;;;;;;;;;;63349:723::o;63622:53::-;63700:5;63685:12;63741:78;63748:9;;63741:78;;63774:8;;;;:::i;:::-;;-1:-1:-1;63797:10:0;;-1:-1:-1;63805:2:0;63797:10;;:::i;:::-;;;63741:78;;;63829:19;63861:6;63851:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63851:17:0;;63829:39;;63879:154;63886:10;;63879:154;;63913:11;63923:1;63913:11;;:::i;:::-;;-1:-1:-1;63982:10:0;63990:2;63982:5;:10;:::i;:::-;63969:24;;:2;:24;:::i;:::-;63956:39;;63939:6;63946;63939:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;64010:11:0;64019:2;64010:11;;:::i;:::-;;;63879:154;;55413:190;55538:4;55591;55562:25;55575:5;55582:4;55562:12;:25::i;:::-;:33;;55413:190;-1:-1:-1;;;;55413:190:0:o;42535:689::-;42666:19;42672:2;42676:8;42666:5;:19::i;:::-;42727:14;;;;:19;42723:483;;42767:11;42781:13;42829:14;;;42862:233;42893:62;42932:1;42936:2;42940:7;;;;;;42949:5;42893:30;:62::i;:::-;42888:167;;42991:40;;;;;;;;;;;;;;42888:167;43090:3;43082:5;:11;42862:233;;43177:3;43160:13;;:20;43156:34;;43182:8;;;44005:3081;44085:27;44115;44134:7;44115:18;:27::i;:::-;44085:57;-1:-1:-1;44085:57:0;44155:12;;44277:35;44304:7;28433:27;28544:24;;;:15;:24;;;;;28772:26;;28544:24;;28331:485;44277:35;44220:92;;;;44329:13;44325:316;;;44450:68;44475:15;44492:4;49563:10;44498:19;49476:105;44450:68;44445:184;;44542:43;44559:4;49563:10;26746:164;:::i;44542:43::-;44537:92;;44594:35;;;;;;;;;;;;;;44537:92;44797:15;44794:160;;;44937:1;44916:19;44909:30;44794:160;45556:24;;;;;;;:18;:24;;;;;:60;;45584:32;45556:60;;;24088:11;24063:23;24059:41;24046:63;45944:43;24046:63;45854:26;;;;:17;:26;;;;;:205;11456:8;46179:47;;46175:627;;46284:1;46274:11;;46252:19;46407:30;;;:17;:30;;;;;;46403:384;;46545:13;;46530:11;:28;46526:242;;46692:30;;;;:17;:30;;;;;:52;;;46526:242;46233:569;46175:627;46830:35;;46857:7;;46853:1;;46830:35;;;;;;46853:1;;46830:35;-1:-1:-1;;47053:12:0;:14;;;;;;-1:-1:-1;;;;44005:3081:0:o;56280:296::-;56363:7;56406:4;56363:7;56421:118;56445:5;:12;56441:1;:16;56421:118;;;56494:33;56504:12;56518:5;56524:1;56518:8;;;;;;;;:::i;:::-;;;;;;;56494:9;:33::i;:::-;56479:48;-1:-1:-1;56459:3:0;;;;:::i;:::-;;;;56421:118;;;-1:-1:-1;56556:12:0;56280:296;-1:-1:-1;;;56280:296:0:o;36817:2966::-;36890:20;36913:13;36941;36937:44;;36963:18;;;;;;;;;;;;;;36937:44;37469:22;;;;;;;:18;:22;;;;10538:2;37469:22;;;:71;;37507:32;37495:45;;37469:71;;;37783:31;;;:17;:31;;;;;-1:-1:-1;24519:15:0;;24493:24;24489:46;24088:11;24063:23;24059:41;24056:52;24046:63;;37783:173;;38018:23;;;;37783:31;;37469:22;;38783:25;37469:22;;38636:335;39297:1;39283:12;39279:20;39237:346;39338:3;39329:7;39326:16;39237:346;;39556:7;39546:8;39543:1;39516:25;39513:1;39510;39505:59;39391:1;39378:15;39237:346;;;-1:-1:-1;39616:13:0;39612:45;;39638:19;;;;;;;;;;;;;;39612:45;39674:13;:19;-1:-1:-1;32357:193:0;;;:::o;62487:149::-;62550:7;62581:1;62577;:5;:51;;62712:13;62806:15;;;62842:4;62835:15;;;62889:4;62873:21;;62577:51;;;-1:-1:-1;62712:13:0;62806:15;;;62842:4;62835:15;62889:4;62873:21;;;62487:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:690:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;289:2;283:9;355:2;343:15;;194:66;339:24;;;365:2;335:33;331:42;319:55;;;389:18;;;409:22;;;386:46;383:72;;;435:18;;:::i;:::-;475:10;471:2;464:22;504:6;495:15;;534:6;526;519:22;574:3;565:6;560:3;556:16;553:25;550:45;;;591:1;588;581:12;550:45;641:6;636:3;629:4;621:6;617:17;604:44;696:1;689:4;680:6;672;668:19;664:30;657:41;;;;14:690;;;;;:::o;709:196::-;777:20;;837:42;826:54;;816:65;;806:93;;895:1;892;885:12;806:93;709:196;;;:::o;910:367::-;973:8;983:6;1037:3;1030:4;1022:6;1018:17;1014:27;1004:55;;1055:1;1052;1045:12;1004:55;-1:-1:-1;1078:20:1;;1121:18;1110:30;;1107:50;;;1153:1;1150;1143:12;1107:50;1190:4;1182:6;1178:17;1166:29;;1250:3;1243:4;1233:6;1230:1;1226:14;1218:6;1214:27;1210:38;1207:47;1204:67;;;1267:1;1264;1257:12;1204:67;910:367;;;;;:::o;1282:160::-;1347:20;;1403:13;;1396:21;1386:32;;1376:60;;1432:1;1429;1422:12;1447:163;1514:20;;1574:10;1563:22;;1553:33;;1543:61;;1600:1;1597;1590:12;1615:186;1674:6;1727:2;1715:9;1706:7;1702:23;1698:32;1695:52;;;1743:1;1740;1733:12;1695:52;1766:29;1785:9;1766:29;:::i;1806:260::-;1874:6;1882;1935:2;1923:9;1914:7;1910:23;1906:32;1903:52;;;1951:1;1948;1941:12;1903:52;1974:29;1993:9;1974:29;:::i;:::-;1964:39;;2022:38;2056:2;2045:9;2041:18;2022:38;:::i;:::-;2012:48;;1806:260;;;;;:::o;2071:328::-;2148:6;2156;2164;2217:2;2205:9;2196:7;2192:23;2188:32;2185:52;;;2233:1;2230;2223:12;2185:52;2256:29;2275:9;2256:29;:::i;:::-;2246:39;;2304:38;2338:2;2327:9;2323:18;2304:38;:::i;:::-;2294:48;;2389:2;2378:9;2374:18;2361:32;2351:42;;2071:328;;;;;:::o;2404:666::-;2499:6;2507;2515;2523;2576:3;2564:9;2555:7;2551:23;2547:33;2544:53;;;2593:1;2590;2583:12;2544:53;2616:29;2635:9;2616:29;:::i;:::-;2606:39;;2664:38;2698:2;2687:9;2683:18;2664:38;:::i;:::-;2654:48;;2749:2;2738:9;2734:18;2721:32;2711:42;;2804:2;2793:9;2789:18;2776:32;2831:18;2823:6;2820:30;2817:50;;;2863:1;2860;2853:12;2817:50;2886:22;;2939:4;2931:13;;2927:27;-1:-1:-1;2917:55:1;;2968:1;2965;2958:12;2917:55;2991:73;3056:7;3051:2;3038:16;3033:2;3029;3025:11;2991:73;:::i;:::-;2981:83;;;2404:666;;;;;;;:::o;3075:254::-;3140:6;3148;3201:2;3189:9;3180:7;3176:23;3172:32;3169:52;;;3217:1;3214;3207:12;3169:52;3240:29;3259:9;3240:29;:::i;:::-;3230:39;;3288:35;3319:2;3308:9;3304:18;3288:35;:::i;3334:254::-;3402:6;3410;3463:2;3451:9;3442:7;3438:23;3434:32;3431:52;;;3479:1;3476;3469:12;3431:52;3502:29;3521:9;3502:29;:::i;:::-;3492:39;3578:2;3563:18;;;;3550:32;;-1:-1:-1;;;3334:254:1:o;3593:773::-;3715:6;3723;3731;3739;3792:2;3780:9;3771:7;3767:23;3763:32;3760:52;;;3808:1;3805;3798:12;3760:52;3848:9;3835:23;3877:18;3918:2;3910:6;3907:14;3904:34;;;3934:1;3931;3924:12;3904:34;3973:70;4035:7;4026:6;4015:9;4011:22;3973:70;:::i;:::-;4062:8;;-1:-1:-1;3947:96:1;-1:-1:-1;4150:2:1;4135:18;;4122:32;;-1:-1:-1;4166:16:1;;;4163:36;;;4195:1;4192;4185:12;4163:36;;4234:72;4298:7;4287:8;4276:9;4272:24;4234:72;:::i;:::-;3593:773;;;;-1:-1:-1;4325:8:1;-1:-1:-1;;;;3593:773:1:o;4371:180::-;4427:6;4480:2;4468:9;4459:7;4455:23;4451:32;4448:52;;;4496:1;4493;4486:12;4448:52;4519:26;4535:9;4519:26;:::i;4556:180::-;4615:6;4668:2;4656:9;4647:7;4643:23;4639:32;4636:52;;;4684:1;4681;4674:12;4636:52;-1:-1:-1;4707:23:1;;4556:180;-1:-1:-1;4556:180:1:o;4741:245::-;4799:6;4852:2;4840:9;4831:7;4827:23;4823:32;4820:52;;;4868:1;4865;4858:12;4820:52;4907:9;4894:23;4926:30;4950:5;4926:30;:::i;4991:249::-;5060:6;5113:2;5101:9;5092:7;5088:23;5084:32;5081:52;;;5129:1;5126;5119:12;5081:52;5161:9;5155:16;5180:30;5204:5;5180:30;:::i;5245:450::-;5314:6;5367:2;5355:9;5346:7;5342:23;5338:32;5335:52;;;5383:1;5380;5373:12;5335:52;5423:9;5410:23;5456:18;5448:6;5445:30;5442:50;;;5488:1;5485;5478:12;5442:50;5511:22;;5564:4;5556:13;;5552:27;-1:-1:-1;5542:55:1;;5593:1;5590;5583:12;5542:55;5616:73;5681:7;5676:2;5663:16;5658:2;5654;5650:11;5616:73;:::i;5885:254::-;5953:6;5961;6014:2;6002:9;5993:7;5989:23;5985:32;5982:52;;;6030:1;6027;6020:12;5982:52;6066:9;6053:23;6043:33;;6095:38;6129:2;6118:9;6114:18;6095:38;:::i;6144:505::-;6239:6;6247;6255;6308:2;6296:9;6287:7;6283:23;6279:32;6276:52;;;6324:1;6321;6314:12;6276:52;6360:9;6347:23;6337:33;;6421:2;6410:9;6406:18;6393:32;6448:18;6440:6;6437:30;6434:50;;;6480:1;6477;6470:12;6434:50;6519:70;6581:7;6572:6;6561:9;6557:22;6519:70;:::i;:::-;6144:505;;6608:8;;-1:-1:-1;6493:96:1;;-1:-1:-1;;;;6144:505:1:o;6654:256::-;6720:6;6728;6781:2;6769:9;6760:7;6756:23;6752:32;6749:52;;;6797:1;6794;6787:12;6749:52;6820:28;6838:9;6820:28;:::i;:::-;6810:38;;6867:37;6900:2;6889:9;6885:18;6867:37;:::i;6915:316::-;6956:3;6994:5;6988:12;7021:6;7016:3;7009:19;7037:63;7093:6;7086:4;7081:3;7077:14;7070:4;7063:5;7059:16;7037:63;:::i;:::-;7145:2;7133:15;7150:66;7129:88;7120:98;;;;7220:4;7116:109;;6915:316;-1:-1:-1;;6915:316:1:o;7505:637::-;7785:3;7823:6;7817:13;7839:53;7885:6;7880:3;7873:4;7865:6;7861:17;7839:53;:::i;:::-;7955:13;;7914:16;;;;7977:57;7955:13;7914:16;8011:4;7999:17;;7977:57;:::i;:::-;8099:7;8056:20;;8085:22;;;8134:1;8123:13;;7505:637;-1:-1:-1;;;;7505:637:1:o;8378:511::-;8572:4;8601:42;8682:2;8674:6;8670:15;8659:9;8652:34;8734:2;8726:6;8722:15;8717:2;8706:9;8702:18;8695:43;;8774:6;8769:2;8758:9;8754:18;8747:34;8817:3;8812:2;8801:9;8797:18;8790:31;8838:45;8878:3;8867:9;8863:19;8855:6;8838:45;:::i;:::-;8830:53;8378:511;-1:-1:-1;;;;;;8378:511:1:o;9268:219::-;9417:2;9406:9;9399:21;9380:4;9437:44;9477:2;9466:9;9462:18;9454:6;9437:44;:::i;11241:128::-;11281:3;11312:1;11308:6;11305:1;11302:13;11299:39;;;11318:18;;:::i;:::-;-1:-1:-1;11354:9:1;;11241:128::o;11374:120::-;11414:1;11440;11430:35;;11445:18;;:::i;:::-;-1:-1:-1;11479:9:1;;11374:120::o;11499:125::-;11539:4;11567:1;11564;11561:8;11558:34;;;11572:18;;:::i;:::-;-1:-1:-1;11609:9:1;;11499:125::o;11629:258::-;11701:1;11711:113;11725:6;11722:1;11719:13;11711:113;;;11801:11;;;11795:18;11782:11;;;11775:39;11747:2;11740:10;11711:113;;;11842:6;11839:1;11836:13;11833:48;;;-1:-1:-1;;11877:1:1;11859:16;;11852:27;11629:258::o;11892:437::-;11971:1;11967:12;;;;12014;;;12035:61;;12089:4;12081:6;12077:17;12067:27;;12035:61;12142:2;12134:6;12131:14;12111:18;12108:38;12105:218;;;12179:77;12176:1;12169:88;12280:4;12277:1;12270:15;12308:4;12305:1;12298:15;12105:218;;11892:437;;;:::o;12334:195::-;12373:3;12404:66;12397:5;12394:77;12391:103;;;12474:18;;:::i;:::-;-1:-1:-1;12521:1:1;12510:13;;12334:195::o;12534:112::-;12566:1;12592;12582:35;;12597:18;;:::i;:::-;-1:-1:-1;12631:9:1;;12534:112::o;12651:184::-;12703:77;12700:1;12693:88;12800:4;12797:1;12790:15;12824:4;12821:1;12814:15;12840:184;12892:77;12889:1;12882:88;12989:4;12986:1;12979:15;13013:4;13010:1;13003:15;13029:184;13081:77;13078:1;13071:88;13178:4;13175:1;13168:15;13202:4;13199:1;13192:15;13218:184;13270:77;13267:1;13260:88;13367:4;13364:1;13357:15;13391:4;13388:1;13381:15;13407:177;13492:66;13485:5;13481:78;13474:5;13471:89;13461:117;;13574:1;13571;13564:12

Swarm Source

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