Token Lord of the Doge

 

Overview ERC-721

Total Supply:
23,472 PD💍

Holders:
23,280 addresses
 
Balance
1 PD💍
0x85Cf0915C8d3695B03DA739E3eAEfd5388eb5eEF
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PolyDogeNftLordOfTheDoge

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-07-04
*/

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/utils/introspection/[email protected]

pragma solidity ^0.8.0;

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

// File @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;

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

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

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

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

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

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: value}(
            data
        );
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File @openzeppelin/contracts/utils/[email protected]

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

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

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

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

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

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

// File @openzeppelin/contracts/utils/introspection/[email protected]

pragma solidity ^0.8.0;

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

// File @openzeppelin/contracts/token/ERC721/[email protected]

pragma solidity ^0.8.0;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

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

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

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

// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File @openzeppelin/contracts/utils/math/[email protected]

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

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

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

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

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

// File @openzeppelin/contracts/access/[email protected]

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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File contracts/PolyDogeNftLordOfTheDoge.sol
pragma solidity ^0.8.4;

contract PolyDogeNftLordOfTheDoge is
    ERC721URIStorage,
    ERC721Enumerable,
    Ownable
{
    using SafeMath for uint256;
    using Strings for uint256;
    using Counters for Counters.Counter;

    uint256 public immutable MAX_SUPPLY;
    Counters.Counter private _tokenIds;
    string private __baseURI = "ipfs://";
    mapping(uint256 => string) private _tokenURIs;
    mapping(address => bool) private _alreadyMinted;

    constructor(uint256 maxSupply) ERC721("Lord of the Doge", unicode"PD💍") {
        MAX_SUPPLY = maxSupply;
    }

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

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

    function _setTokenURI(uint256 tokenId, string memory tokenURI_)
        internal
        virtual
        override
    {
        require(_exists(tokenId), "Token ID does not exist!");
        _tokenURIs[tokenId] = tokenURI_;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        require(_exists(tokenId), "Token ID does not exist!");

        string memory tokenURI_ = _tokenURIs[tokenId];
        string memory base = __baseURI;

        // If tokenURI is set for this ID, concat base with tokenURI
        if (bytes(tokenURI_).length > 0) {
            return string(abi.encodePacked(base, tokenURI_));
        }
        // Concat base with token ID
        return string(abi.encodePacked(base, tokenId.toString()));
    }

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

    /**
     * Clears address from minted map so they can mint again.
     */
    function clearMintedAddress(address to) external onlyOwner {
        _alreadyMinted[to] = false;
    }

    /**
     * Mints an NFT, duh. There's a map that prevents double-minting;
     * use clearMintedAddress to remove addresses from the mapping.
     */
    function mint(address to, string memory tokenURI_)
        public
        onlyOwner
        returns (uint256)
    {
        require(
            totalSupply() + 1 <= MAX_SUPPLY,
            "Max supply has been reached!"
        );
        // Helper for airdrop
        require(!_alreadyMinted[to], "User has already received an NFT!");
        _alreadyMinted[to] = true;

        _tokenIds.increment();
        uint256 tokenId = _tokenIds.current();
        _mint(to, tokenId);
        _setTokenURI(tokenId, tokenURI_);

        return tokenId;
    }

    function batchMint(address[] memory recipients, string[] memory tokenURIs)
        public
        onlyOwner
        returns (uint256)
    {
        require(
            recipients.length <= 100,
            "Batch minting is limited to 100 at once"
        );
        require(
            recipients.length == tokenURIs.length,
            "Recipients length must equal tokenURIs length"
        );
        require(
            totalSupply() + recipients.length <= MAX_SUPPLY,
            "Max supply has been reached!"
        );

        for (uint8 i = 0; i < recipients.length; i++) {
            // Helper for airdrop
            address recipient = recipients[i];
            require(
                !_alreadyMinted[recipient],
                "User has already received an NFT!"
            );
            _alreadyMinted[recipient] = true;

            _tokenIds.increment();
            uint256 tokenId = _tokenIds.current();
            _mint(recipient, tokenId);
            _setTokenURI(tokenId, tokenURIs[i]);
        }

        return _tokenIds.current();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"string[]","name":"tokenURIs","type":"string[]"}],"name":"batchMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"clearMintedAddress","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"tokenURI_","type":"string"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052600760a081905266697066733a2f2f60c81b60c09081526200002a91600d919062000137565b503480156200003857600080fd5b506040516200287f3803806200287f8339810160408190526200005b91620001dd565b604080518082018252601081526f4c6f7264206f662074686520446f676560801b6020808301918252835180850190945260068452655044f09f928d60d01b908401528151919291620000b19160009162000137565b508051620000c790600190602084019062000137565b5050506000620000dc6200013360201b60201c565b600b80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060805262000233565b3390565b8280546200014590620001f6565b90600052602060002090601f016020900481019282620001695760008555620001b4565b82601f106200018457805160ff1916838001178555620001b4565b82800160010185558215620001b4579182015b82811115620001b457825182559160200191906001019062000197565b50620001c2929150620001c6565b5090565b5b80821115620001c25760008155600101620001c7565b600060208284031215620001ef578081fd5b5051919050565b600181811c908216806200020b57607f821691505b602082108114156200022d57634e487b7160e01b600052602260045260246000fd5b50919050565b6080516126226200025d6000396000818161024c015281816109e0015261110f01526126226000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806364ba144e116100e3578063a22cb4651161008c578063d0def52111610066578063d0def5211461033a578063e985e9c51461034d578063f2fde38b1461038957600080fd5b8063a22cb46514610301578063b88d4fde14610314578063c87b56dd1461032757600080fd5b80637ccd2201116100bd5780637ccd2201146102d55780638da5cb5b146102e857806395d89b41146102f957600080fd5b806364ba144e146102a757806370a08231146102ba578063715018a6146102cd57600080fd5b806323b872dd1161014557806342842e0e1161011f57806342842e0e1461026e5780634f6ccce7146102815780636352211e1461029457600080fd5b806323b872dd146102215780632f745c591461023457806332cb6b0c1461024757600080fd5b8063081812fc11610176578063081812fc146101cf578063095ea7b3146101fa57806318160ddd1461020f57600080fd5b806301ffc9a71461019257806306fdde03146101ba575b600080fd5b6101a56101a0366004612349565b61039c565b60405190151581526020015b60405180910390f35b6101c26103ad565b6040516101b19190612430565b6101e26101dd366004612381565b61043f565b6040516001600160a01b0390911681526020016101b1565b61020d610208366004612269565b6104d9565b005b6009545b6040519081526020016101b1565b61020d61022f36600461212f565b61060b565b610213610242366004612269565b610692565b6102137f000000000000000000000000000000000000000000000000000000000000000081565b61020d61027c36600461212f565b61073a565b61021361028f366004612381565b610755565b6101e26102a2366004612381565b610807565b6102136102b5366004612292565b610892565b6102136102c83660046120e3565b610bb6565b61020d610c50565b61020d6102e33660046120e3565b610cf4565b600b546001600160a01b03166101e2565b6101c2610d6f565b61020d61030f3660046121e3565b610d7e565b61020d61032236600461216a565b610e43565b6101c2610335366004612381565b610ed1565b61021361034836600461221d565b6110b0565b6101a561035b3660046120fd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020d6103973660046120e3565b611255565b60006103a782611387565b92915050565b6060600080546103bc90612507565b80601f01602080910402602001604051908101604052809291908181526020018280546103e890612507565b80156104355780601f1061040a57610100808354040283529160200191610435565b820191906000526020600020905b81548152906001019060200180831161041857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104bd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104e482610807565b9050806001600160a01b0316836001600160a01b0316141561056e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016104b4565b336001600160a01b038216148061058a575061058a813361035b565b6105fc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104b4565b61060683836113c5565b505050565b6106153382611433565b6106875760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016104b4565b61060683838361152a565b600061069d83610bb6565b82106107115760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016104b4565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b61060683838360405180602001604052806000815250610e43565b600061076060095490565b82106107d45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016104b4565b600982815481106107f557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103a75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016104b4565b600b546000906001600160a01b031633146108ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b4565b6064835111156109675760405162461bcd60e51b815260206004820152602760248201527f4261746368206d696e74696e67206973206c696d6974656420746f203130302060448201527f6174206f6e63650000000000000000000000000000000000000000000000000060648201526084016104b4565b81518351146109de5760405162461bcd60e51b815260206004820152602d60248201527f526563697069656e7473206c656e677468206d75737420657175616c20746f6b60448201527f656e55524973206c656e6774680000000000000000000000000000000000000060648201526084016104b4565b7f00000000000000000000000000000000000000000000000000000000000000008351610a0a60095490565b610a149190612498565b1115610a625760405162461bcd60e51b815260206004820152601c60248201527f4d617820737570706c7920686173206265656e2072656163686564210000000060448201526064016104b4565b60005b83518160ff161015610baa576000848260ff1681518110610a9657634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b0381166000908152600f90925260409091205490915060ff1615610b195760405162461bcd60e51b815260206004820152602160248201527f557365722068617320616c726561647920726563656976656420616e204e46546044820152602160f81b60648201526084016104b4565b6001600160a01b0381166000908152600f60205260409020805460ff19166001179055610b4a600c80546001019055565b6000610b55600c5490565b9050610b618282611702565b610b9581868560ff1681518110610b8857634e487b7160e01b600052603260045260246000fd5b6020026020010151611850565b50508080610ba29061255d565b915050610a65565b50600c545b9392505050565b60006001600160a01b038216610c345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016104b4565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610caa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b4565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b600b546001600160a01b03163314610d4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b4565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b6060600180546103bc90612507565b6001600160a01b038216331415610dd75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104b4565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e4d3383611433565b610ebf5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016104b4565b610ecb848484846118d3565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f385760405162461bcd60e51b815260206004820152601860248201527f546f6b656e20494420646f6573206e6f7420657869737421000000000000000060448201526064016104b4565b6000828152600e602052604081208054610f5190612507565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7d90612507565b8015610fca5780601f10610f9f57610100808354040283529160200191610fca565b820191906000526020600020905b815481529060010190602001808311610fad57829003601f168201915b505050505090506000600d8054610fe090612507565b80601f016020809104026020016040519081016040528092919081815260200182805461100c90612507565b80156110595780601f1061102e57610100808354040283529160200191611059565b820191906000526020600020905b81548152906001019060200180831161103c57829003601f168201915b5050505050905060008251111561109557808260405160200161107d9291906123c5565b60405160208183030381529060405292505050919050565b8061109f8561195c565b60405160200161107d9291906123c5565b600b546000906001600160a01b0316331461110d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b4565b7f000000000000000000000000000000000000000000000000000000000000000061113760095490565b611142906001612498565b11156111905760405162461bcd60e51b815260206004820152601c60248201527f4d617820737570706c7920686173206265656e2072656163686564210000000060448201526064016104b4565b6001600160a01b0383166000908152600f602052604090205460ff16156112035760405162461bcd60e51b815260206004820152602160248201527f557365722068617320616c726561647920726563656976656420616e204e46546044820152602160f81b60648201526084016104b4565b6001600160a01b0383166000908152600f60205260409020805460ff19166001179055611234600c80546001019055565b600061123f600c5490565b905061124b8482611702565b610baf8184611850565b600b546001600160a01b031633146112af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b4565b6001600160a01b03811661132b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104b4565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806103a757506103a782611aaa565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113fa82610807565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166114ac5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104b4565b60006114b783610807565b9050806001600160a01b0316846001600160a01b031614806114f25750836001600160a01b03166114e78461043f565b6001600160a01b0316145b8061152257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661153d82610807565b6001600160a01b0316146115b95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016104b4565b6001600160a01b0382166116345760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104b4565b61163f838383611b45565b61164a6000826113c5565b6001600160a01b03831660009081526003602052604081208054600192906116739084906124c4565b90915550506001600160a01b03821660009081526003602052604081208054600192906116a1908490612498565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166117585760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104b4565b6000818152600260205260409020546001600160a01b0316156117bd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104b4565b6117c960008383611b45565b6001600160a01b03821660009081526003602052604081208054600192906117f2908490612498565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152600260205260409020546001600160a01b03166118b45760405162461bcd60e51b815260206004820152601860248201527f546f6b656e20494420646f6573206e6f7420657869737421000000000000000060448201526064016104b4565b6000828152600e60209081526040909120825161060692840190611f25565b6118de84848461152a565b6118ea84848484611b50565b610ecb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104b4565b60608161199c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156119c657806119b081612542565b91506119bf9050600a836124b0565b91506119a0565b60008167ffffffffffffffff8111156119ef57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a19576020820181803683370190505b5090505b841561152257611a2e6001836124c4565b9150611a3b600a8661257d565b611a46906030612498565b60f81b818381518110611a6957634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611aa3600a866124b0565b9450611a1d565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611b0d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806103a757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146103a7565b610606838383611cb3565b60006001600160a01b0384163b15611ca857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b949033908990889088906004016123f4565b602060405180830381600087803b158015611bae57600080fd5b505af1925050508015611bde575060408051601f3d908101601f19168201909252611bdb91810190612365565b60015b611c8e573d808015611c0c576040519150601f19603f3d011682016040523d82523d6000602084013e611c11565b606091505b508051611c865760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104b4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611522565b506001949350505050565b6001600160a01b038316611d0e57611d0981600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611d31565b816001600160a01b0316836001600160a01b031614611d3157611d318382611d6b565b6001600160a01b038216611d485761060681611e08565b826001600160a01b0316826001600160a01b031614610606576106068282611ee1565b60006001611d7884610bb6565b611d8291906124c4565b600083815260086020526040902054909150808214611dd5576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611e1a906001906124c4565b6000838152600a602052604081205460098054939450909284908110611e5057634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060098381548110611e7f57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611ec557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611eec83610bb6565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b828054611f3190612507565b90600052602060002090601f016020900481019282611f535760008555611f99565b82601f10611f6c57805160ff1916838001178555611f99565b82800160010185558215611f99579182015b82811115611f99578251825591602001919060010190611f7e565b50611fa5929150611fa9565b5090565b5b80821115611fa55760008155600101611faa565b600067ffffffffffffffff831115611fd857611fd86125bd565b611feb601f8401601f1916602001612443565b9050828152838383011115611fff57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461202d57600080fd5b919050565b600082601f830112612042578081fd5b8135602061205761205283612474565b612443565b80838252828201915082860187848660051b8901011115612076578586fd5b855b858110156120b757813567ffffffffffffffff811115612096578788fd5b6120a48a87838c01016120c4565b8552509284019290840190600101612078565b5090979650505050505050565b600082601f8301126120d4578081fd5b610baf83833560208501611fbe565b6000602082840312156120f4578081fd5b610baf82612016565b6000806040838503121561210f578081fd5b61211883612016565b915061212660208401612016565b90509250929050565b600080600060608486031215612143578081fd5b61214c84612016565b925061215a60208501612016565b9150604084013590509250925092565b6000806000806080858703121561217f578081fd5b61218885612016565b935061219660208601612016565b925060408501359150606085013567ffffffffffffffff8111156121b8578182fd5b8501601f810187136121c8578182fd5b6121d787823560208401611fbe565b91505092959194509250565b600080604083850312156121f5578182fd5b6121fe83612016565b915060208301358015158114612212578182fd5b809150509250929050565b6000806040838503121561222f578182fd5b61223883612016565b9150602083013567ffffffffffffffff811115612253578182fd5b61225f858286016120c4565b9150509250929050565b6000806040838503121561227b578182fd5b61228483612016565b946020939093013593505050565b600080604083850312156122a4578182fd5b823567ffffffffffffffff808211156122bb578384fd5b818501915085601f8301126122ce578384fd5b813560206122de61205283612474565b8083825282820191508286018a848660051b89010111156122fd578889fd5b8896505b848710156123265761231281612016565b835260019690960195918301918301612301565b509650508601359250508082111561233c578283fd5b5061225f85828601612032565b60006020828403121561235a578081fd5b8135610baf816125d3565b600060208284031215612376578081fd5b8151610baf816125d3565b600060208284031215612392578081fd5b5035919050565b600081518084526123b18160208601602086016124db565b601f01601f19169290920160200192915050565b600083516123d78184602088016124db565b8351908301906123eb8183602088016124db565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526124266080830184612399565b9695505050505050565b602081526000610baf6020830184612399565b604051601f8201601f1916810167ffffffffffffffff8111828210171561246c5761246c6125bd565b604052919050565b600067ffffffffffffffff82111561248e5761248e6125bd565b5060051b60200190565b600082198211156124ab576124ab612591565b500190565b6000826124bf576124bf6125a7565b500490565b6000828210156124d6576124d6612591565b500390565b60005b838110156124f65781810151838201526020016124de565b83811115610ecb5750506000910152565b600181811c9082168061251b57607f821691505b6020821081141561253c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561255657612556612591565b5060010190565b600060ff821660ff81141561257457612574612591565b60010192915050565b60008261258c5761258c6125a7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146125e957600080fd5b5056fea2646970667358221220c9f848de3845f08525e86ad27f5ed040fc935008c32d0a2315a33228182ac9fd64736f6c634300080400330000000000000000000000000000000000000000000000000000000000005dc0

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

0000000000000000000000000000000000000000000000000000000000005dc0

-----Decoded View---------------
Arg [0] : maxSupply (uint256): 24000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000005dc0


Deployed ByteCode Sourcemap

56286:4066:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58092:212;;;;;;:::i;:::-;;:::i;:::-;;;7898:14:1;;7891:22;7873:41;;7861:2;7846:18;58092:212:0;;;;;;;;22839:100;;;:::i;:::-;;;;;;;:::i;24421:308::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7150:55:1;;;7132:74;;7120:2;7105:18;24421:308:0;7087:125:1;23944:411:0;;;;;;:::i;:::-;;:::i;:::-;;39576:113;39664:10;:17;39576:113;;;17020:25:1;;;17008:2;16993:18;39576:113:0;16975:76:1;25480:376:0;;;;;;:::i;:::-;;:::i;39157:343::-;;;;;;:::i;:::-;;:::i;56499:35::-;;;;;25927:185;;;;;;:::i;:::-;;:::i;39766:320::-;;;;;;:::i;:::-;;:::i;22446:326::-;;;;;;:::i;:::-;;:::i;59241:1108::-;;;;;;:::i;:::-;;:::i;22089:295::-;;;;;;:::i;:::-;;:::i;55620:148::-;;;:::i;58393:104::-;;;;;;:::i;:::-;;:::i;54969:87::-;55042:6;;-1:-1:-1;;;;;55042:6:0;54969:87;;23008:104;;;:::i;24801:327::-;;;;;;:::i;:::-;;:::i;26183:365::-;;;;;;:::i;:::-;;:::i;57470:614::-;;;;;;:::i;:::-;;:::i;58663:570::-;;;;;;:::i;:::-;;:::i;25199:214::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25370:25:0;;;25341:4;25370:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25199:214;55923:281;;;;;;:::i;:::-;;:::i;58092:212::-;58231:4;58260:36;58284:11;58260:23;:36::i;:::-;58253:43;58092:212;-1:-1:-1;;58092:212:0:o;22839:100::-;22893:13;22926:5;22919:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22839:100;:::o;24421:308::-;24542:7;28184:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28184:16:0;24567:110;;;;-1:-1:-1;;;24567:110:0;;13547:2:1;24567:110:0;;;13529:21:1;13586:2;13566:18;;;13559:30;13625:34;13605:18;;;13598:62;-1:-1:-1;;;13676:18:1;;;13669:42;13728:19;;24567:110:0;;;;;;;;;-1:-1:-1;24697:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24697:24:0;;24421:308::o;23944:411::-;24025:13;24041:23;24056:7;24041:14;:23::i;:::-;24025:39;;24089:5;-1:-1:-1;;;;;24083:11:0;:2;-1:-1:-1;;;;;24083:11:0;;;24075:57;;;;-1:-1:-1;;;24075:57:0;;15084:2:1;24075:57:0;;;15066:21:1;15123:2;15103:18;;;15096:30;15162:34;15142:18;;;15135:62;15233:3;15213:18;;;15206:31;15254:19;;24075:57:0;15056:223:1;24075:57:0;16974:10;-1:-1:-1;;;;;24167:21:0;;;;:62;;-1:-1:-1;24192:37:0;24209:5;16974:10;25199:214;:::i;24192:37::-;24145:168;;;;-1:-1:-1;;;24145:168:0;;11940:2:1;24145:168:0;;;11922:21:1;11979:2;11959:18;;;11952:30;12018:34;11998:18;;;11991:62;12089:26;12069:18;;;12062:54;12133:19;;24145:168:0;11912:246:1;24145:168:0;24326:21;24335:2;24339:7;24326:8;:21::i;:::-;23944:411;;;:::o;25480:376::-;25689:41;16974:10;25722:7;25689:18;:41::i;:::-;25667:140;;;;-1:-1:-1;;;25667:140:0;;15486:2:1;25667:140:0;;;15468:21:1;15525:2;15505:18;;;15498:30;15564:34;15544:18;;;15537:62;15635:19;15615:18;;;15608:47;15672:19;;25667:140:0;15458:239:1;25667:140:0;25820:28;25830:4;25836:2;25840:7;25820:9;:28::i;39157:343::-;39299:7;39354:23;39371:5;39354:16;:23::i;:::-;39346:5;:31;39324:124;;;;-1:-1:-1;;;39324:124:0;;8759:2:1;39324:124:0;;;8741:21:1;8798:2;8778:18;;;8771:30;8837:34;8817:18;;;8810:62;8908:13;8888:18;;;8881:41;8939:19;;39324:124:0;8731:233:1;39324:124:0;-1:-1:-1;;;;;;39466:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;39157:343::o;25927:185::-;26065:39;26082:4;26088:2;26092:7;26065:39;;;;;;;;;;;;:16;:39::i;39766:320::-;39886:7;39941:30;39664:10;:17;;39576:113;39941:30;39933:5;:38;39911:132;;;;-1:-1:-1;;;39911:132:0;;15904:2:1;39911:132:0;;;15886:21:1;15943:2;15923:18;;;15916:30;15982:34;15962:18;;;15955:62;16053:14;16033:18;;;16026:42;16085:19;;39911:132:0;15876:234:1;39911:132:0;40061:10;40072:5;40061:17;;;;;;-1:-1:-1;;;40061:17:0;;;;;;;;;;;;;;;;;40054:24;;39766:320;;;:::o;22446:326::-;22563:7;22604:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22604:16:0;22653:19;22631:110;;;;-1:-1:-1;;;22631:110:0;;12776:2:1;22631:110:0;;;12758:21:1;12815:2;12795:18;;;12788:30;12854:34;12834:18;;;12827:62;12925:11;12905:18;;;12898:39;12954:19;;22631:110:0;12748:231:1;59241:1108:0;55042:6;;59369:7;;-1:-1:-1;;;;;55042:6:0;16974:10;55189:23;55181:68;;;;-1:-1:-1;;;55181:68:0;;13960:2:1;55181:68:0;;;13942:21:1;;;13979:18;;;13972:30;14038:34;14018:18;;;14011:62;14090:18;;55181:68:0;13932:182:1;55181:68:0;59437:3:::1;59416:10;:17;:24;;59394:113;;;::::0;-1:-1:-1;;;59394:113:0;;8351:2:1;59394:113:0::1;::::0;::::1;8333:21:1::0;8390:2;8370:18;;;8363:30;8429:34;8409:18;;;8402:62;8500:9;8480:18;;;8473:37;8527:19;;59394:113:0::1;8323:229:1::0;59394:113:0::1;59561:9;:16;59540:10;:17;:37;59518:132;;;::::0;-1:-1:-1;;;59518:132:0;;11526:2:1;59518:132:0::1;::::0;::::1;11508:21:1::0;11565:2;11545:18;;;11538:30;11604:34;11584:18;;;11577:62;11675:15;11655:18;;;11648:43;11708:19;;59518:132:0::1;11498:235:1::0;59518:132:0::1;59720:10;59699;:17;59683:13;39664:10:::0;:17;;39576:113;59683:13:::1;:33;;;;:::i;:::-;:47;;59661:125;;;::::0;-1:-1:-1;;;59661:125:0;;16317:2:1;59661:125:0::1;::::0;::::1;16299:21:1::0;16356:2;16336:18;;;16329:30;16395;16375:18;;;16368:58;16443:18;;59661:125:0::1;16289:178:1::0;59661:125:0::1;59804:7;59799:504;59821:10;:17;59817:1;:21;;;59799:504;;;59895:17;59915:10;59926:1;59915:13;;;;;;;;-1:-1:-1::0;;;59915:13:0::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;59970:25:0;::::1;;::::0;;;:14:::1;:25:::0;;;;;;;;59915:13;;-1:-1:-1;59970:25:0::1;;59969:26;59943:121;;;::::0;-1:-1:-1;;;59943:121:0;;16674:2:1;59943:121:0::1;::::0;::::1;16656:21:1::0;16713:2;16693:18;;;16686:30;16752:34;16732:18;;;16725:62;-1:-1:-1;;;16803:18:1;;;16796:31;16844:19;;59943:121:0::1;16646:223:1::0;59943:121:0::1;-1:-1:-1::0;;;;;60079:25:0;::::1;;::::0;;;:14:::1;:25;::::0;;;;:32;;-1:-1:-1;;60079:32:0::1;60107:4;60079:32;::::0;;60128:21:::1;:9;53561:19:::0;;53579:1;53561:19;;;53472:127;60128:21:::1;60164:15;60182:19;:9;53442:14:::0;;53350:114;60182:19:::1;60164:37;;60216:25;60222:9;60233:7;60216:5;:25::i;:::-;60256:35;60269:7;60278:9;60288:1;60278:12;;;;;;;;-1:-1:-1::0;;;60278:12:0::1;;;;;;;;;;;;;;;60256;:35::i;:::-;59799:504;;59840:3;;;;;:::i;:::-;;;;59799:504;;;-1:-1:-1::0;60322:9:0::1;53442:14:::0;60322:19:::1;60315:26:::0;59241:1108;-1:-1:-1;;;59241:1108:0:o;22089:295::-;22206:7;-1:-1:-1;;;;;22253:19:0;;22231:111;;;;-1:-1:-1;;;22231:111:0;;12365:2:1;22231:111:0;;;12347:21:1;12404:2;12384:18;;;12377:30;12443:34;12423:18;;;12416:62;12514:12;12494:18;;;12487:40;12544:19;;22231:111:0;12337:232:1;22231:111:0;-1:-1:-1;;;;;;22360:16:0;;;;;:9;:16;;;;;;;22089:295::o;55620:148::-;55042:6;;-1:-1:-1;;;;;55042:6:0;16974:10;55189:23;55181:68;;;;-1:-1:-1;;;55181:68:0;;13960:2:1;55181:68:0;;;13942:21:1;;;13979:18;;;13972:30;14038:34;14018:18;;;14011:62;14090:18;;55181:68:0;13932:182:1;55181:68:0;55711:6:::1;::::0;55690:40:::1;::::0;55727:1:::1;::::0;-1:-1:-1;;;;;55711:6:0::1;::::0;55690:40:::1;::::0;55727:1;;55690:40:::1;55741:6;:19:::0;;-1:-1:-1;;;;;;55741:19:0::1;::::0;;55620:148::o;58393:104::-;55042:6;;-1:-1:-1;;;;;55042:6:0;16974:10;55189:23;55181:68;;;;-1:-1:-1;;;55181:68:0;;13960:2:1;55181:68:0;;;13942:21:1;;;13979:18;;;13972:30;14038:34;14018:18;;;14011:62;14090:18;;55181:68:0;13932:182:1;55181:68:0;-1:-1:-1;;;;;58463:18:0::1;58484:5;58463:18:::0;;;:14:::1;:18;::::0;;;;:26;;-1:-1:-1;;58463:26:0::1;::::0;;58393:104::o;23008:::-;23064:13;23097:7;23090:14;;;;;:::i;24801:327::-;-1:-1:-1;;;;;24936:24:0;;16974:10;24936:24;;24928:62;;;;-1:-1:-1;;;24928:62:0;;10759:2:1;24928:62:0;;;10741:21:1;10798:2;10778:18;;;10771:30;10837:27;10817:18;;;10810:55;10882:18;;24928:62:0;10731:175:1;24928:62:0;16974:10;25003:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;25003:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;25003:53:0;;;;;;;;;;25072:48;;7873:41:1;;;25003:42:0;;16974:10;25072:48;;7846:18:1;25072:48:0;;;;;;;24801:327;;:::o;26183:365::-;26372:41;16974:10;26405:7;26372:18;:41::i;:::-;26350:140;;;;-1:-1:-1;;;26350:140:0;;15486:2:1;26350:140:0;;;15468:21:1;15525:2;15505:18;;;15498:30;15564:34;15544:18;;;15537:62;15635:19;15615:18;;;15608:47;15672:19;;26350:140:0;15458:239:1;26350:140:0;26501:39;26515:4;26521:2;26525:7;26534:5;26501:13;:39::i;:::-;26183:365;;;;:::o;57470:614::-;28160:4;28184:16;;;:7;:16;;;;;;57597:13;;-1:-1:-1;;;;;28184:16:0;57628:53;;;;-1:-1:-1;;;57628:53:0;;14731:2:1;57628:53:0;;;14713:21:1;14770:2;14750:18;;;14743:30;14809:26;14789:18;;;14782:54;14853:18;;57628:53:0;14703:174:1;57628:53:0;57694:23;57720:19;;;:10;:19;;;;;57694:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57750:18;57771:9;57750:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57893:1;57873:9;57867:23;:27;57863:108;;;57942:4;57948:9;57925:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57911:48;;;;57470:614;;;:::o;57863:108::-;58050:4;58056:18;:7;:16;:18::i;:::-;58033:42;;;;;;;;;:::i;58663:570::-;55042:6;;58767:7;;-1:-1:-1;;;;;55042:6:0;16974:10;55189:23;55181:68;;;;-1:-1:-1;;;55181:68:0;;13960:2:1;55181:68:0;;;13942:21:1;;;13979:18;;;13972:30;14038:34;14018:18;;;14011:62;14090:18;;55181:68:0;13932:182:1;55181:68:0;58835:10:::1;58814:13;39664:10:::0;:17;;39576:113;58814:13:::1;:17;::::0;58830:1:::1;58814:17;:::i;:::-;:31;;58792:109;;;::::0;-1:-1:-1;;;58792:109:0;;16317:2:1;58792:109:0::1;::::0;::::1;16299:21:1::0;16356:2;16336:18;;;16329:30;16395;16375:18;;;16368:58;16443:18;;58792:109:0::1;16289:178:1::0;58792:109:0::1;-1:-1:-1::0;;;;;58952:18:0;::::1;;::::0;;;:14:::1;:18;::::0;;;;;::::1;;58951:19;58943:65;;;::::0;-1:-1:-1;;;58943:65:0;;16674:2:1;58943:65:0::1;::::0;::::1;16656:21:1::0;16713:2;16693:18;;;16686:30;16752:34;16732:18;;;16725:62;-1:-1:-1;;;16803:18:1;;;16796:31;16844:19;;58943:65:0::1;16646:223:1::0;58943:65:0::1;-1:-1:-1::0;;;;;59019:18:0;::::1;;::::0;;;:14:::1;:18;::::0;;;;:25;;-1:-1:-1;;59019:25:0::1;59040:4;59019:25;::::0;;59057:21:::1;:9;53561:19:::0;;53579:1;53561:19;;;53472:127;59057:21:::1;59089:15;59107:19;:9;53442:14:::0;;53350:114;59107:19:::1;59089:37;;59137:18;59143:2;59147:7;59137:5;:18::i;:::-;59166:32;59179:7;59188:9;59166:12;:32::i;55923:281::-:0;55042:6;;-1:-1:-1;;;;;55042:6:0;16974:10;55189:23;55181:68;;;;-1:-1:-1;;;55181:68:0;;13960:2:1;55181:68:0;;;13942:21:1;;;13979:18;;;13972:30;14038:34;14018:18;;;14011:62;14090:18;;55181:68:0;13932:182:1;55181:68:0;-1:-1:-1;;;;;56026:22:0;::::1;56004:110;;;::::0;-1:-1:-1;;;56004:110:0;;9590:2:1;56004:110:0::1;::::0;::::1;9572:21:1::0;9629:2;9609:18;;;9602:30;9668:34;9648:18;;;9641:62;9739:8;9719:18;;;9712:36;9765:19;;56004:110:0::1;9562:228:1::0;56004:110:0::1;56151:6;::::0;56130:38:::1;::::0;-1:-1:-1;;;;;56130:38:0;;::::1;::::0;56151:6:::1;::::0;56130:38:::1;::::0;56151:6:::1;::::0;56130:38:::1;56179:6;:17:::0;;-1:-1:-1;;;;;;56179:17:0::1;-1:-1:-1::0;;;;;56179:17:0;;;::::1;::::0;;;::::1;::::0;;55923:281::o;38773:300::-;38920:4;-1:-1:-1;;;;;;38962:50:0;;38977:35;38962:50;;:103;;;39029:36;39053:11;39029:23;:36::i;32218:174::-;32293:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32293:29:0;-1:-1:-1;;;;;32293:29:0;;;;;;;;:24;;32347:23;32293:24;32347:14;:23::i;:::-;-1:-1:-1;;;;;32338:46:0;;;;;;;;;;;32218:174;;:::o;28389:452::-;28518:4;28184:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28184:16:0;28540:110;;;;-1:-1:-1;;;28540:110:0;;11113:2:1;28540:110:0;;;11095:21:1;11152:2;11132:18;;;11125:30;11191:34;11171:18;;;11164:62;-1:-1:-1;;;11242:18:1;;;11235:42;11294:19;;28540:110:0;11085:234:1;28540:110:0;28661:13;28677:23;28692:7;28677:14;:23::i;:::-;28661:39;;28730:5;-1:-1:-1;;;;;28719:16:0;:7;-1:-1:-1;;;;;28719:16:0;;:64;;;;28776:7;-1:-1:-1;;;;;28752:31:0;:20;28764:7;28752:11;:20::i;:::-;-1:-1:-1;;;;;28752:31:0;;28719:64;:113;;;-1:-1:-1;;;;;;25370:25:0;;;25341:4;25370:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28800:32;28711:122;28389:452;-1:-1:-1;;;;28389:452:0:o;31485:615::-;31658:4;-1:-1:-1;;;;;31631:31:0;:23;31646:7;31631:14;:23::i;:::-;-1:-1:-1;;;;;31631:31:0;;31609:122;;;;-1:-1:-1;;;31609:122:0;;14321:2:1;31609:122:0;;;14303:21:1;14360:2;14340:18;;;14333:30;14399:34;14379:18;;;14372:62;14470:11;14450:18;;;14443:39;14499:19;;31609:122:0;14293:231:1;31609:122:0;-1:-1:-1;;;;;31750:16:0;;31742:65;;;;-1:-1:-1;;;31742:65:0;;10354:2:1;31742:65:0;;;10336:21:1;10393:2;10373:18;;;10366:30;10432:34;10412:18;;;10405:62;10503:6;10483:18;;;10476:34;10527:19;;31742:65:0;10326:226:1;31742:65:0;31820:39;31841:4;31847:2;31851:7;31820:20;:39::i;:::-;31924:29;31941:1;31945:7;31924:8;:29::i;:::-;-1:-1:-1;;;;;31966:15:0;;;;;;:9;:15;;;;;:20;;31985:1;;31966:15;:20;;31985:1;;31966:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31997:13:0;;;;;;:9;:13;;;;;:18;;32014:1;;31997:13;:18;;32014:1;;31997:18;:::i;:::-;;;;-1:-1:-1;;32026:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32026:21:0;-1:-1:-1;;;;;32026:21:0;;;;;;;;;32065:27;;32026:16;;32065:27;;;;;;;31485:615;;;:::o;30177:382::-;-1:-1:-1;;;;;30257:16:0;;30249:61;;;;-1:-1:-1;;;30249:61:0;;13186:2:1;30249:61:0;;;13168:21:1;;;13205:18;;;13198:30;13264:34;13244:18;;;13237:62;13316:18;;30249:61:0;13158:182:1;30249:61:0;28160:4;28184:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28184:16:0;:30;30321:58;;;;-1:-1:-1;;;30321:58:0;;9997:2:1;30321:58:0;;;9979:21:1;10036:2;10016:18;;;10009:30;10075;10055:18;;;10048:58;10123:18;;30321:58:0;9969:178:1;30321:58:0;30392:45;30421:1;30425:2;30429:7;30392:20;:45::i;:::-;-1:-1:-1;;;;;30450:13:0;;;;;;:9;:13;;;;;:18;;30467:1;;30450:13;:18;;30467:1;;30450:18;:::i;:::-;;;;-1:-1:-1;;30479:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30479:21:0;-1:-1:-1;;;;;30479:21:0;;;;;;;;30518:33;;30479:16;;;30518:33;;30479:16;;30518:33;30177:382;;:::o;57226:236::-;28160:4;28184:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28184:16:0;57359:53;;;;-1:-1:-1;;;57359:53:0;;14731:2:1;57359:53:0;;;14713:21:1;14770:2;14750:18;;;14743:30;14809:26;14789:18;;;14782:54;14853:18;;57359:53:0;14703:174:1;57359:53:0;57423:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;27430:352::-;27587:28;27597:4;27603:2;27607:7;27587:9;:28::i;:::-;27648:48;27671:4;27677:2;27681:7;27690:5;27648:22;:48::i;:::-;27626:148;;;;-1:-1:-1;;;27626:148:0;;9171:2:1;27626:148:0;;;9153:21:1;9210:2;9190:18;;;9183:30;9249:34;9229:18;;;9222:62;9320:20;9300:18;;;9293:48;9358:19;;27626:148:0;9143:240:1;17551:723:0;17607:13;17828:10;17824:53;;-1:-1:-1;;17855:10:0;;;;;;;;;;;;;;;;;;17551:723::o;17824:53::-;17902:5;17887:12;17943:78;17950:9;;17943:78;;17976:8;;;;:::i;:::-;;-1:-1:-1;17999:10:0;;-1:-1:-1;18007:2:0;17999:10;;:::i;:::-;;;17943:78;;;18031:19;18063:6;18053:17;;;;;;-1:-1:-1;;;18053:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18053:17:0;;18031:39;;18081:154;18088:10;;18081:154;;18115:11;18125:1;18115:11;;:::i;:::-;;-1:-1:-1;18184:10:0;18192:2;18184:5;:10;:::i;:::-;18171:24;;:2;:24;:::i;:::-;18158:39;;18141:6;18148;18141:14;;;;;;-1:-1:-1;;;18141:14:0;;;;;;;;;;;;:56;;;;;;;;;;-1:-1:-1;18212:11:0;18221:2;18212:11;;:::i;:::-;;;18081:154;;21670:355;21817:4;-1:-1:-1;;;;;;21859:40:0;;21874:25;21859:40;;:105;;-1:-1:-1;;;;;;;21916:48:0;;21931:33;21916:48;21859:105;:158;;;-1:-1:-1;20310:25:0;-1:-1:-1;;;;;;20295:40:0;;;21981:36;20136:207;56857:215;57019:45;57046:4;57052:2;57056:7;57019:26;:45::i;32957:1053::-;33112:4;-1:-1:-1;;;;;33133:13:0;;8688:20;8736:8;33129:874;;33186:175;;-1:-1:-1;;;33186:175:0;;-1:-1:-1;;;;;33186:36:0;;;;;:175;;16974:10;;33280:4;;33307:7;;33337:5;;33186:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33186:175:0;;;;;;;;-1:-1:-1;;33186:175:0;;;;;;;;;;;;:::i;:::-;;;33165:783;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33548:13:0;;33544:389;;33591:108;;-1:-1:-1;;;33591:108:0;;9171:2:1;33591:108:0;;;9153:21:1;9210:2;9190:18;;;9183:30;9249:34;9229:18;;;9222:62;9320:20;9300:18;;;9293:48;9358:19;;33591:108:0;9143:240:1;33544:389:0;33883:6;33877:13;33868:6;33864:2;33860:15;33853:38;33165:783;-1:-1:-1;;;;;;33425:55:0;-1:-1:-1;;;33425:55:0;;-1:-1:-1;33418:62:0;;33129:874;-1:-1:-1;33987:4:0;32957:1053;;;;;;:::o;40699:589::-;-1:-1:-1;;;;;40905:18:0;;40901:187;;40940:40;40972:7;42115:10;:17;;42088:24;;;;:15;:24;;;;;:44;;;42143:24;;;;;;;;;;;;42011:164;40940:40;40901:187;;;41010:2;-1:-1:-1;;;;;41002:10:0;:4;-1:-1:-1;;;;;41002:10:0;;40998:90;;41029:47;41062:4;41068:7;41029:32;:47::i;:::-;-1:-1:-1;;;;;41102:16:0;;41098:183;;41135:45;41172:7;41135:36;:45::i;41098:183::-;41208:4;-1:-1:-1;;;;;41202:10:0;:2;-1:-1:-1;;;;;41202:10:0;;41198:83;;41229:40;41257:2;41261:7;41229:27;:40::i;42802:1002::-;43082:22;43132:1;43107:22;43124:4;43107:16;:22::i;:::-;:26;;;;:::i;:::-;43144:18;43165:26;;;:17;:26;;;;;;43082:51;;-1:-1:-1;43298:28:0;;;43294:328;;-1:-1:-1;;;;;43365:18:0;;43343:19;43365:18;;;:12;:18;;;;;;;;:34;;;;;;;;;43416:30;;;;;;:44;;;43533:30;;:17;:30;;;;;:43;;;43294:328;-1:-1:-1;43718:26:0;;;;:17;:26;;;;;;;;43711:33;;;-1:-1:-1;;;;;43762:18:0;;;;;:12;:18;;;;;:34;;;;;;;43755:41;42802:1002::o;44099:1079::-;44377:10;:17;44352:22;;44377:21;;44397:1;;44377:21;:::i;:::-;44409:18;44430:24;;;:15;:24;;;;;;44803:10;:26;;44352:46;;-1:-1:-1;44430:24:0;;44352:46;;44803:26;;;;-1:-1:-1;;;44803:26:0;;;;;;;;;;;;;;;;;44781:48;;44867:11;44842:10;44853;44842:22;;;;;;-1:-1:-1;;;44842:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;44947:28;;;:15;:28;;;;;;;:41;;;45119:24;;;;;45112:31;45154:10;:16;;;;;-1:-1:-1;;;45154:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;44099:1079;;;;:::o;41589:221::-;41674:14;41691:20;41708:2;41691:16;:20::i;:::-;-1:-1:-1;;;;;41722:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41767:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41589:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:196::-;493:20;;-1:-1:-1;;;;;542:54:1;;532:65;;522:2;;611:1;608;601:12;522:2;474:147;;;:::o;626:857::-;679:5;732:3;725:4;717:6;713:17;709:27;699:2;;754:5;747;740:20;699:2;794:6;781:20;820:4;844:60;860:43;900:2;860:43;:::i;:::-;844:60;:::i;:::-;926:3;950:2;945:3;938:15;978:2;973:3;969:12;962:19;;1013:2;1005:6;1001:15;1065:3;1060:2;1054;1051:1;1047:10;1039:6;1035:23;1031:32;1028:41;1025:2;;;1086:5;1079;1072:20;1025:2;1112:5;1126:328;1140:2;1137:1;1134:9;1126:328;;;1217:3;1204:17;1253:18;1240:11;1237:35;1234:2;;;1289:5;1282;1275:20;1234:2;1322:57;1375:3;1370:2;1356:11;1348:6;1344:24;1340:33;1322:57;:::i;:::-;1310:70;;-1:-1:-1;1400:12:1;;;;1432;;;;1158:1;1151:9;1126:328;;;-1:-1:-1;1472:5:1;;689:794;-1:-1:-1;;;;;;;689:794:1:o;1488:229::-;1531:5;1584:3;1577:4;1569:6;1565:17;1561:27;1551:2;;1606:5;1599;1592:20;1551:2;1632:79;1707:3;1698:6;1685:20;1678:4;1670:6;1666:17;1632:79;:::i;1722:196::-;1781:6;1834:2;1822:9;1813:7;1809:23;1805:32;1802:2;;;1855:6;1847;1840:22;1802:2;1883:29;1902:9;1883:29;:::i;1923:270::-;1991:6;1999;2052:2;2040:9;2031:7;2027:23;2023:32;2020:2;;;2073:6;2065;2058:22;2020:2;2101:29;2120:9;2101:29;:::i;:::-;2091:39;;2149:38;2183:2;2172:9;2168:18;2149:38;:::i;:::-;2139:48;;2010:183;;;;;:::o;2198:338::-;2275:6;2283;2291;2344:2;2332:9;2323:7;2319:23;2315:32;2312:2;;;2365:6;2357;2350:22;2312:2;2393:29;2412:9;2393:29;:::i;:::-;2383:39;;2441:38;2475:2;2464:9;2460:18;2441:38;:::i;:::-;2431:48;;2526:2;2515:9;2511:18;2498:32;2488:42;;2302:234;;;;;:::o;2541:696::-;2636:6;2644;2652;2660;2713:3;2701:9;2692:7;2688:23;2684:33;2681:2;;;2735:6;2727;2720:22;2681:2;2763:29;2782:9;2763:29;:::i;:::-;2753:39;;2811:38;2845:2;2834:9;2830:18;2811:38;:::i;:::-;2801:48;;2896:2;2885:9;2881:18;2868:32;2858:42;;2951:2;2940:9;2936:18;2923:32;2978:18;2970:6;2967:30;2964:2;;;3015:6;3007;3000:22;2964:2;3043:22;;3096:4;3088:13;;3084:27;-1:-1:-1;3074:2:1;;3130:6;3122;3115:22;3074:2;3158:73;3223:7;3218:2;3205:16;3200:2;3196;3192:11;3158:73;:::i;:::-;3148:83;;;2671:566;;;;;;;:::o;3242:367::-;3307:6;3315;3368:2;3356:9;3347:7;3343:23;3339:32;3336:2;;;3389:6;3381;3374:22;3336:2;3417:29;3436:9;3417:29;:::i;:::-;3407:39;;3496:2;3485:9;3481:18;3468:32;3543:5;3536:13;3529:21;3522:5;3519:32;3509:2;;3570:6;3562;3555:22;3509:2;3598:5;3588:15;;;3326:283;;;;;:::o;3614:416::-;3692:6;3700;3753:2;3741:9;3732:7;3728:23;3724:32;3721:2;;;3774:6;3766;3759:22;3721:2;3802:29;3821:9;3802:29;:::i;:::-;3792:39;;3882:2;3871:9;3867:18;3854:32;3909:18;3901:6;3898:30;3895:2;;;3946:6;3938;3931:22;3895:2;3974:50;4016:7;4007:6;3996:9;3992:22;3974:50;:::i;:::-;3964:60;;;3711:319;;;;;:::o;4035:264::-;4103:6;4111;4164:2;4152:9;4143:7;4139:23;4135:32;4132:2;;;4185:6;4177;4170:22;4132:2;4213:29;4232:9;4213:29;:::i;:::-;4203:39;4289:2;4274:18;;;;4261:32;;-1:-1:-1;;;4122:177:1:o;4304:1221::-;4432:6;4440;4493:2;4481:9;4472:7;4468:23;4464:32;4461:2;;;4514:6;4506;4499:22;4461:2;4559:9;4546:23;4588:18;4629:2;4621:6;4618:14;4615:2;;;4650:6;4642;4635:22;4615:2;4693:6;4682:9;4678:22;4668:32;;4738:7;4731:4;4727:2;4723:13;4719:27;4709:2;;4765:6;4757;4750:22;4709:2;4806;4793:16;4828:4;4852:60;4868:43;4908:2;4868:43;:::i;4852:60::-;4934:3;4958:2;4953:3;4946:15;4986:2;4981:3;4977:12;4970:19;;5017:2;5013;5009:11;5065:7;5060:2;5054;5051:1;5047:10;5043:2;5039:19;5035:28;5032:41;5029:2;;;5091:6;5083;5076:22;5029:2;5118:6;5109:15;;5133:169;5147:2;5144:1;5141:9;5133:169;;;5204:23;5223:3;5204:23;:::i;:::-;5192:36;;5165:1;5158:9;;;;;5248:12;;;;5280;;5133:169;;;-1:-1:-1;5321:5:1;-1:-1:-1;;5364:18:1;;5351:32;;-1:-1:-1;;5395:16:1;;;5392:2;;;5429:6;5421;5414:22;5392:2;;5457:62;5511:7;5500:8;5489:9;5485:24;5457:62;:::i;5530:255::-;5588:6;5641:2;5629:9;5620:7;5616:23;5612:32;5609:2;;;5662:6;5654;5647:22;5609:2;5706:9;5693:23;5725:30;5749:5;5725:30;:::i;5790:259::-;5859:6;5912:2;5900:9;5891:7;5887:23;5883:32;5880:2;;;5933:6;5925;5918:22;5880:2;5970:9;5964:16;5989:30;6013:5;5989:30;:::i;6054:190::-;6113:6;6166:2;6154:9;6145:7;6141:23;6137:32;6134:2;;;6187:6;6179;6172:22;6134:2;-1:-1:-1;6215:23:1;;6124:120;-1:-1:-1;6124:120:1:o;6249:257::-;6290:3;6328:5;6322:12;6355:6;6350:3;6343:19;6371:63;6427:6;6420:4;6415:3;6411:14;6404:4;6397:5;6393:16;6371:63;:::i;:::-;6488:2;6467:15;-1:-1:-1;;6463:29:1;6454:39;;;;6495:4;6450:50;;6298:208;-1:-1:-1;;6298:208:1:o;6511:470::-;6690:3;6728:6;6722:13;6744:53;6790:6;6785:3;6778:4;6770:6;6766:17;6744:53;:::i;:::-;6860:13;;6819:16;;;;6882:57;6860:13;6819:16;6916:4;6904:17;;6882:57;:::i;:::-;6955:20;;6698:283;-1:-1:-1;;;;6698:283:1:o;7217:511::-;7411:4;-1:-1:-1;;;;;7521:2:1;7513:6;7509:15;7498:9;7491:34;7573:2;7565:6;7561:15;7556:2;7545:9;7541:18;7534:43;;7613:6;7608:2;7597:9;7593:18;7586:34;7656:3;7651:2;7640:9;7636:18;7629:31;7677:45;7717:3;7706:9;7702:19;7694:6;7677:45;:::i;:::-;7669:53;7420:308;-1:-1:-1;;;;;;7420:308:1:o;7925:219::-;8074:2;8063:9;8056:21;8037:4;8094:44;8134:2;8123:9;8119:18;8111:6;8094:44;:::i;17056:275::-;17127:2;17121:9;17192:2;17173:13;;-1:-1:-1;;17169:27:1;17157:40;;17227:18;17212:34;;17248:22;;;17209:62;17206:2;;;17274:18;;:::i;:::-;17310:2;17303:22;17101:230;;-1:-1:-1;17101:230:1:o;17336:183::-;17396:4;17429:18;17421:6;17418:30;17415:2;;;17451:18;;:::i;:::-;-1:-1:-1;17496:1:1;17492:14;17508:4;17488:25;;17405:114::o;17524:128::-;17564:3;17595:1;17591:6;17588:1;17585:13;17582:2;;;17601:18;;:::i;:::-;-1:-1:-1;17637:9:1;;17572:80::o;17657:120::-;17697:1;17723;17713:2;;17728:18;;:::i;:::-;-1:-1:-1;17762:9:1;;17703:74::o;17782:125::-;17822:4;17850:1;17847;17844:8;17841:2;;;17855:18;;:::i;:::-;-1:-1:-1;17892:9:1;;17831:76::o;17912:258::-;17984:1;17994:113;18008:6;18005:1;18002:13;17994:113;;;18084:11;;;18078:18;18065:11;;;18058:39;18030:2;18023:10;17994:113;;;18125:6;18122:1;18119:13;18116:2;;;-1:-1:-1;;18160:1:1;18142:16;;18135:27;17965:205::o;18175:437::-;18254:1;18250:12;;;;18297;;;18318:2;;18372:4;18364:6;18360:17;18350:27;;18318:2;18425;18417:6;18414:14;18394:18;18391:38;18388:2;;;-1:-1:-1;;;18459:1:1;18452:88;18563:4;18560:1;18553:15;18591:4;18588:1;18581:15;18388:2;;18230:382;;;:::o;18617:135::-;18656:3;-1:-1:-1;;18677:17:1;;18674:2;;;18697:18;;:::i;:::-;-1:-1:-1;18744:1:1;18733:13;;18664:88::o;18757:175::-;18794:3;18838:4;18831:5;18827:16;18867:4;18858:7;18855:17;18852:2;;;18875:18;;:::i;:::-;18924:1;18911:15;;18802:130;-1:-1:-1;;18802:130:1:o;18937:112::-;18969:1;18995;18985:2;;19000:18;;:::i;:::-;-1:-1:-1;19034:9:1;;18975:74::o;19054:184::-;-1:-1:-1;;;19103:1:1;19096:88;19203:4;19200:1;19193:15;19227:4;19224:1;19217:15;19243:184;-1:-1:-1;;;19292:1:1;19285:88;19392:4;19389:1;19382:15;19416:4;19413:1;19406:15;19432:184;-1:-1:-1;;;19481:1:1;19474:88;19581:4;19578:1;19571:15;19605:4;19602:1;19595:15;19621:177;-1:-1:-1;;;;;;19699:5:1;19695:78;19688:5;19685:89;19675:2;;19788:1;19785;19778:12;19675:2;19665:133;:::o

Swarm Source

ipfs://c9f848de3845f08525e86ad27f5ed040fc935008c32d0a2315a33228182ac9fd
Loading