Contract Address Details

0x0398C92971E98f49b84Fa5eDe6Bb102Ec113f7E5

Token
DEAD HEADZ NFT (DEADHEADZ)
Creator
0xacd320–1fac21 at 0xc19b6f–a3b777
Balance
30 Doge
Tokens
Fetching tokens...
Transactions
128 Transactions
Transfers
0 Transfers
Gas Used
30,074,414
Last Balance Update
25366520
Contract name:
DeadHeadzNFT




Optimization enabled
false
Compiler version
v0.8.17+commit.8df45f5f




EVM Version
default




Verified at
2022-10-01T11:19:43.358631Z

Constructor Arguments

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000004580000000000000000000000000000000000000000000000004563918244f40000000000000000000000000000acd320541f17e57537aa9fec5df22966c71fac210000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f626166796265696574703569733773787869667874327367616567657077797463376c6a72366b7861656f74736d656b673466716f7476717862652e697066732e6e667473746f726167652e6c696e6b2f00000000000000

Arg [0] (string) : https://bafybeietp5is7sxxifxt2sgaegepwytc7ljr6kxaeotsmekg4fqotvqxbe.ipfs.nftstorage.link/
Arg [1] (uint256) : 1112
Arg [2] (uint256) : 5000000000000000000
Arg [3] (address) : 0xacd320541f17e57537aa9fec5df22966c71fac21
Arg [4] (uint256) : 1

              

Contract source code

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


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

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: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-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` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol)

pragma solidity ^0.8.0;




/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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: default_workspace/DeadHeadzNFT.sol


pragma solidity ^0.8.17;










contract DeadHeadzNFT is ERC721, ERC721Enumerable, Ownable {
    
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;

    string public uri;
    uint256 public maxSupply;
    uint256 public mintPrice;
    address private _royaltiesReceiver;
    uint256 public royaltiesPercentage;

    constructor(string memory _uri, uint256 _maxSupply, uint256 _mintPrice, address initialRoyaltiesReceiver, uint256 _royaltiesPercentage) ERC721("DEAD HEADZ NFT", "DEADHEADZ") {
        uri = _uri;
        maxSupply = _maxSupply;
        mintPrice = _mintPrice;
        _royaltiesReceiver = initialRoyaltiesReceiver;
        royaltiesPercentage = _royaltiesPercentage;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        return string(abi.encodePacked(uri, Strings.toString(tokenId), ".json"));
    }

    function setNewURI(string memory _uri) external onlyOwner {
        uri = _uri;
    }

    function newMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function royaltiesReceiver() external view returns(address) {
        return _royaltiesReceiver;
    }

    function setRoyaltiesReceiver(address newRoyaltiesReceiver) external onlyOwner {
        require(newRoyaltiesReceiver != _royaltiesReceiver);
        _royaltiesReceiver = newRoyaltiesReceiver;
    }

    function setRoyaltiesPercentage(uint256 _newRoyaltiesPercentage) external onlyOwner {
        require(_newRoyaltiesPercentage <= 4);
        royaltiesPercentage = _newRoyaltiesPercentage;
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (uint256 token, address receiver, uint256 royaltyAmount) {
        uint256 _royalties = (_salePrice * royaltiesPercentage) / 100;
        return (_tokenId, _royaltiesReceiver, _royalties);
    }

    function safeMint(address to) public payable returns (uint256) {
        uint256 tokenId = _tokenIdCounter.current();
        require(_tokenIdCounter.current() <= maxSupply -1, "Max amount minted");
        _tokenIdCounter.increment();
        require(msg.value >= mintPrice, "Not enough WDOGE sent, check price");
        _safeMint(to, tokenId);
        return tokenId;
    }

    function batchMint(address to, uint256 number) external payable {
        for(uint256 i=0; i < number; i++) {
            require(number < 6);
            require(msg.value >= mintPrice * number, "Not enough WDOGE sent, check price");
            safeMint(to);
        }
    }

    // The following functions are overrides required by Solidity

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

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

    // Withdraw WDOGE from contract

    function transferValue(address payable _to) external onlyOwner {
        uint256 amount = address(this).balance;
        (bool success, ) = _to.call{value: amount}("");
        require(success, "Failed to send WDOGE");
    }
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_uri","internalType":"string"},{"type":"uint256","name":"_maxSupply","internalType":"uint256"},{"type":"uint256","name":"_mintPrice","internalType":"uint256"},{"type":"address","name":"initialRoyaltiesReceiver","internalType":"address"},{"type":"uint256","name":"_royaltiesPercentage","internalType":"uint256"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"batchMint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"number","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintPrice","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"newMintPrice","inputs":[{"type":"uint256","name":"_mintPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"royaltiesPercentage","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"royaltiesReceiver","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"token","internalType":"uint256"},{"type":"address","name":"receiver","internalType":"address"},{"type":"uint256","name":"royaltyAmount","internalType":"uint256"}],"name":"royaltyInfo","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_salePrice","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"safeMint","inputs":[{"type":"address","name":"to","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNewURI","inputs":[{"type":"string","name":"_uri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRoyaltiesPercentage","inputs":[{"type":"uint256","name":"_newRoyaltiesPercentage","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRoyaltiesReceiver","inputs":[{"type":"address","name":"newRoyaltiesReceiver","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferValue","inputs":[{"type":"address","name":"_to","internalType":"address payable"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uri","inputs":[]}]
            

Contract Creation Code

0x60806040523480156200001157600080fd5b50604051620046f6380380620046f683398181016040528101906200003791906200045d565b6040518060400160405280600e81526020017f4445414420484541445a204e46540000000000000000000000000000000000008152506040518060400160405280600981526020017f44454144484541445a00000000000000000000000000000000000000000000008152508160009081620000b4919062000745565b508060019081620000c6919062000745565b505050620000e9620000dd6200015c60201b60201c565b6200016460201b60201c565b84600c9081620000fa919062000745565b5083600d8190555082600e8190555081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060108190555050505050506200082c565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002938262000248565b810181811067ffffffffffffffff82111715620002b557620002b462000259565b5b80604052505050565b6000620002ca6200022a565b9050620002d8828262000288565b919050565b600067ffffffffffffffff821115620002fb57620002fa62000259565b5b620003068262000248565b9050602081019050919050565b60005b838110156200033357808201518184015260208101905062000316565b60008484015250505050565b6000620003566200035084620002dd565b620002be565b90508281526020810184848401111562000375576200037462000243565b5b6200038284828562000313565b509392505050565b600082601f830112620003a257620003a16200023e565b5b8151620003b48482602086016200033f565b91505092915050565b6000819050919050565b620003d281620003bd565b8114620003de57600080fd5b50565b600081519050620003f281620003c7565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200042582620003f8565b9050919050565b620004378162000418565b81146200044357600080fd5b50565b60008151905062000457816200042c565b92915050565b600080600080600060a086880312156200047c576200047b62000234565b5b600086015167ffffffffffffffff8111156200049d576200049c62000239565b5b620004ab888289016200038a565b9550506020620004be88828901620003e1565b9450506040620004d188828901620003e1565b9350506060620004e48882890162000446565b9250506080620004f788828901620003e1565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200055757607f821691505b6020821081036200056d576200056c6200050f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005d77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000598565b620005e3868362000598565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000626620006206200061a84620003bd565b620005fb565b620003bd565b9050919050565b6000819050919050565b620006428362000605565b6200065a62000651826200062d565b848454620005a5565b825550505050565b600090565b6200067162000662565b6200067e81848462000637565b505050565b5b81811015620006a6576200069a60008262000667565b60018101905062000684565b5050565b601f821115620006f557620006bf8162000573565b620006ca8462000588565b81016020851015620006da578190505b620006f2620006e98562000588565b83018262000683565b50505b505050565b600082821c905092915050565b60006200071a60001984600802620006fa565b1980831691505092915050565b600062000735838362000707565b9150826002028217905092915050565b620007508262000504565b67ffffffffffffffff8111156200076c576200076b62000259565b5b6200077882546200053e565b62000785828285620006aa565b600060209050601f831160018114620007bd5760008415620007a8578287015190505b620007b4858262000727565b86555062000824565b601f198416620007cd8662000573565b60005b82811015620007f757848901518255600182019150602085019450602081019050620007d0565b8683101562000817578489015162000813601f89168262000707565b8355505b6001600288020188555050505b505050505050565b613eba806200083c6000396000f3fe6080604052600436106101e35760003560e01c806370a0823111610102578063b88d4fde11610095578063df58be3c11610064578063df58be3c146106fe578063e985e9c514610727578063eac989f814610764578063f2fde38b1461078f576101e3565b8063b88d4fde14610642578063c87b56dd1461066b578063cafa8dfe146106a8578063d5abeb01146106d3576101e3565b806395d89b41116100d157806395d89b411461059a578063a22cb465146105c5578063a3a51bd5146105ee578063b514371514610619576101e3565b806370a08231146104f2578063715018a61461052f5780638da5cb5b146105465780639466d20614610571576101e3565b80632a55205a1161017a57806343508b051161014957806343508b05146104315780634f6ccce71461044d5780636352211e1461048a5780636817c76c146104c7576101e3565b80632a55205a1461035c5780632f745c591461039b57806340d097c3146103d857806342842e0e14610408576101e3565b80630e709b1b116101b65780630e709b1b146102b657806318160ddd146102df5780631e4198e01461030a57806323b872dd14610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906126df565b6107b8565b60405161021c9190612727565b60405180910390f35b34801561023157600080fd5b5061023a6107ca565b60405161024791906127d2565b60405180910390f35b34801561025c57600080fd5b506102776004803603810190610272919061282a565b61085c565b6040516102849190612898565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af91906128df565b6108a2565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190612a54565b6109b9565b005b3480156102eb57600080fd5b506102f46109d4565b6040516103019190612aac565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190612b05565b6109e1565b005b34801561033f57600080fd5b5061035a60048036038101906103559190612b32565b610a9f565b005b34801561036857600080fd5b50610383600480360381019061037e9190612b85565b610aff565b60405161039293929190612bc5565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd91906128df565b610b54565b6040516103cf9190612aac565b60405180910390f35b6103f260048036038101906103ed9190612bfc565b610bf9565b6040516103ff9190612aac565b60405180910390f35b34801561041457600080fd5b5061042f600480360381019061042a9190612b32565b610cc4565b005b61044b600480360381019061044691906128df565b610ce4565b005b34801561045957600080fd5b50610474600480360381019061046f919061282a565b610d6e565b6040516104819190612aac565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac919061282a565b610ddf565b6040516104be9190612898565b60405180910390f35b3480156104d357600080fd5b506104dc610e90565b6040516104e99190612aac565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190612bfc565b610e96565b6040516105269190612aac565b60405180910390f35b34801561053b57600080fd5b50610544610f4d565b005b34801561055257600080fd5b5061055b610f61565b6040516105689190612898565b60405180910390f35b34801561057d57600080fd5b506105986004803603810190610593919061282a565b610f8b565b005b3480156105a657600080fd5b506105af610fab565b6040516105bc91906127d2565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e79190612c55565b61103d565b005b3480156105fa57600080fd5b50610603611053565b6040516106109190612898565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190612bfc565b61107d565b005b34801561064e57600080fd5b5061066960048036038101906106649190612d36565b611123565b005b34801561067757600080fd5b50610692600480360381019061068d919061282a565b611185565b60405161069f91906127d2565b60405180910390f35b3480156106b457600080fd5b506106bd6111b9565b6040516106ca9190612aac565b60405180910390f35b3480156106df57600080fd5b506106e86111bf565b6040516106f59190612aac565b60405180910390f35b34801561070a57600080fd5b506107256004803603810190610720919061282a565b6111c5565b005b34801561073357600080fd5b5061074e60048036038101906107499190612db9565b6111d7565b60405161075b9190612727565b60405180910390f35b34801561077057600080fd5b5061077961126b565b60405161078691906127d2565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190612bfc565b6112f9565b005b60006107c38261137c565b9050919050565b6060600080546107d990612e28565b80601f016020809104026020016040519081016040528092919081815260200182805461080590612e28565b80156108525780601f1061082757610100808354040283529160200191610852565b820191906000526020600020905b81548152906001019060200180831161083557829003601f168201915b5050505050905090565b6000610867826113f6565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108ad82610ddf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361091d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091490612ecb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661093c611441565b73ffffffffffffffffffffffffffffffffffffffff16148061096b575061096a81610965611441565b6111d7565b5b6109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a190612f5d565b60405180910390fd5b6109b48383611449565b505050565b6109c1611502565b80600c90816109d09190613129565b5050565b6000600880549050905090565b6109e9611502565b600047905060008273ffffffffffffffffffffffffffffffffffffffff1682604051610a149061322c565b60006040518083038185875af1925050503d8060008114610a51576040519150601f19603f3d011682016040523d82523d6000602084013e610a56565b606091505b5050905080610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a919061328d565b60405180910390fd5b505050565b610ab0610aaa611441565b82611580565b610aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae69061331f565b60405180910390fd5b610afa838383611615565b505050565b600080600080606460105486610b15919061336e565b610b1f91906133df565b905085600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682935093509350509250925092565b6000610b5f83610e96565b8210610ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9790613482565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080610c06600b61187b565b90506001600d54610c1791906134a2565b610c21600b61187b565b1115610c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5990613522565b60405180910390fd5b610c6c600b611889565b600e54341015610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca8906135b4565b60405180910390fd5b610cbb838261189f565b80915050919050565b610cdf83838360405180602001604052806000815250611123565b505050565b60005b81811015610d695760068210610cfc57600080fd5b81600e54610d0a919061336e565b341015610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d43906135b4565b60405180910390fd5b610d5583610bf9565b508080610d61906135d4565b915050610ce7565b505050565b6000610d786109d4565b8210610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db09061368e565b60405180910390fd5b60088281548110610dcd57610dcc6136ae565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e90613729565b60405180910390fd5b80915050919050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd906137bb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f55611502565b610f5f60006118bd565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f93611502565b6004811115610fa157600080fd5b8060108190555050565b606060018054610fba90612e28565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe690612e28565b80156110335780601f1061100857610100808354040283529160200191611033565b820191906000526020600020905b81548152906001019060200180831161101657829003601f168201915b5050505050905090565b61104f611048611441565b8383611983565b5050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611085611502565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110df57600080fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61113461112e611441565b83611580565b611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a9061331f565b60405180910390fd5b61117f84848484611aef565b50505050565b6060600c61119283611b4b565b6040516020016111a39291906138e6565b6040516020818303038152906040529050919050565b60105481565b600d5481565b6111cd611502565b80600e8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c805461127890612e28565b80601f01602080910402602001604051908101604052809291908181526020018280546112a490612e28565b80156112f15780601f106112c6576101008083540402835291602001916112f1565b820191906000526020600020905b8154815290600101906020018083116112d457829003601f168201915b505050505081565b611301611502565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790613987565b60405180910390fd5b611379816118bd565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806113ef57506113ee82611cab565b5b9050919050565b6113ff81611d8d565b61143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613729565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166114bc83610ddf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61150a611441565b73ffffffffffffffffffffffffffffffffffffffff16611528610f61565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906139f3565b60405180910390fd5b565b60008061158c83610ddf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806115ce57506115cd81856111d7565b5b8061160c57508373ffffffffffffffffffffffffffffffffffffffff166115f48461085c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661163582610ddf565b73ffffffffffffffffffffffffffffffffffffffff161461168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613a85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f190613b17565b60405180910390fd5b611705838383611df9565b611710600082611449565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461176091906134a2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117b79190613b37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611876838383611e09565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6118b9828260405180602001604052806000815250611e0e565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890613bb7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae29190612727565b60405180910390a3505050565b611afa848484611615565b611b0684848484611e69565b611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c90613c49565b60405180910390fd5b50505050565b606060008203611b92576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ca6565b600082905060005b60008214611bc4578080611bad906135d4565b915050600a82611bbd91906133df565b9150611b9a565b60008167ffffffffffffffff811115611be057611bdf612929565b5b6040519080825280601f01601f191660200182016040528015611c125781602001600182028036833780820191505090505b5090505b60008514611c9f57600182611c2b91906134a2565b9150600a85611c3a9190613c69565b6030611c469190613b37565b60f81b818381518110611c5c57611c5b6136ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c9891906133df565b9450611c16565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d7657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d865750611d8582611ff0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611e0483838361205a565b505050565b505050565b611e18838361216c565b611e256000848484611e69565b611e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5b90613c49565b60405180910390fd5b505050565b6000611e8a8473ffffffffffffffffffffffffffffffffffffffff16612345565b15611fe3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611eb3611441565b8786866040518563ffffffff1660e01b8152600401611ed59493929190613cef565b6020604051808303816000875af1925050508015611f1157506040513d601f19601f82011682018060405250810190611f0e9190613d50565b60015b611f93573d8060008114611f41576040519150601f19603f3d011682016040523d82523d6000602084013e611f46565b606091505b506000815103611f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8290613c49565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611fe8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612065838383612368565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120a7576120a28161236d565b6120e6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120e5576120e483826123b6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121285761212381612523565b612167565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146121665761216582826125f4565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d290613dc9565b60405180910390fd5b6121e481611d8d565b15612224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221b90613e35565b60405180910390fd5b61223060008383611df9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122809190613b37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461234160008383611e09565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016123c384610e96565b6123cd91906134a2565b90506000600760008481526020019081526020016000205490508181146124b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061253791906134a2565b9050600060096000848152602001908152602001600020549050600060088381548110612567576125666136ae565b5b906000526020600020015490508060088381548110612589576125886136ae565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806125d8576125d7613e55565b5b6001900381819060005260206000200160009055905550505050565b60006125ff83610e96565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126bc81612687565b81146126c757600080fd5b50565b6000813590506126d9816126b3565b92915050565b6000602082840312156126f5576126f461267d565b5b6000612703848285016126ca565b91505092915050565b60008115159050919050565b6127218161270c565b82525050565b600060208201905061273c6000830184612718565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561277c578082015181840152602081019050612761565b60008484015250505050565b6000601f19601f8301169050919050565b60006127a482612742565b6127ae818561274d565b93506127be81856020860161275e565b6127c781612788565b840191505092915050565b600060208201905081810360008301526127ec8184612799565b905092915050565b6000819050919050565b612807816127f4565b811461281257600080fd5b50565b600081359050612824816127fe565b92915050565b6000602082840312156128405761283f61267d565b5b600061284e84828501612815565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061288282612857565b9050919050565b61289281612877565b82525050565b60006020820190506128ad6000830184612889565b92915050565b6128bc81612877565b81146128c757600080fd5b50565b6000813590506128d9816128b3565b92915050565b600080604083850312156128f6576128f561267d565b5b6000612904858286016128ca565b925050602061291585828601612815565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61296182612788565b810181811067ffffffffffffffff821117156129805761297f612929565b5b80604052505050565b6000612993612673565b905061299f8282612958565b919050565b600067ffffffffffffffff8211156129bf576129be612929565b5b6129c882612788565b9050602081019050919050565b82818337600083830152505050565b60006129f76129f2846129a4565b612989565b905082815260208101848484011115612a1357612a12612924565b5b612a1e8482856129d5565b509392505050565b600082601f830112612a3b57612a3a61291f565b5b8135612a4b8482602086016129e4565b91505092915050565b600060208284031215612a6a57612a6961267d565b5b600082013567ffffffffffffffff811115612a8857612a87612682565b5b612a9484828501612a26565b91505092915050565b612aa6816127f4565b82525050565b6000602082019050612ac16000830184612a9d565b92915050565b6000612ad282612857565b9050919050565b612ae281612ac7565b8114612aed57600080fd5b50565b600081359050612aff81612ad9565b92915050565b600060208284031215612b1b57612b1a61267d565b5b6000612b2984828501612af0565b91505092915050565b600080600060608486031215612b4b57612b4a61267d565b5b6000612b59868287016128ca565b9350506020612b6a868287016128ca565b9250506040612b7b86828701612815565b9150509250925092565b60008060408385031215612b9c57612b9b61267d565b5b6000612baa85828601612815565b9250506020612bbb85828601612815565b9150509250929050565b6000606082019050612bda6000830186612a9d565b612be76020830185612889565b612bf46040830184612a9d565b949350505050565b600060208284031215612c1257612c1161267d565b5b6000612c20848285016128ca565b91505092915050565b612c328161270c565b8114612c3d57600080fd5b50565b600081359050612c4f81612c29565b92915050565b60008060408385031215612c6c57612c6b61267d565b5b6000612c7a858286016128ca565b9250506020612c8b85828601612c40565b9150509250929050565b600067ffffffffffffffff821115612cb057612caf612929565b5b612cb982612788565b9050602081019050919050565b6000612cd9612cd484612c95565b612989565b905082815260208101848484011115612cf557612cf4612924565b5b612d008482856129d5565b509392505050565b600082601f830112612d1d57612d1c61291f565b5b8135612d2d848260208601612cc6565b91505092915050565b60008060008060808587031215612d5057612d4f61267d565b5b6000612d5e878288016128ca565b9450506020612d6f878288016128ca565b9350506040612d8087828801612815565b925050606085013567ffffffffffffffff811115612da157612da0612682565b5b612dad87828801612d08565b91505092959194509250565b60008060408385031215612dd057612dcf61267d565b5b6000612dde858286016128ca565b9250506020612def858286016128ca565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e4057607f821691505b602082108103612e5357612e52612df9565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612eb560218361274d565b9150612ec082612e59565b604082019050919050565b60006020820190508181036000830152612ee481612ea8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612f47603e8361274d565b9150612f5282612eeb565b604082019050919050565b60006020820190508181036000830152612f7681612f3a565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612fdf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612fa2565b612fe98683612fa2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061302661302161301c846127f4565b613001565b6127f4565b9050919050565b6000819050919050565b6130408361300b565b61305461304c8261302d565b848454612faf565b825550505050565b600090565b61306961305c565b613074818484613037565b505050565b5b818110156130985761308d600082613061565b60018101905061307a565b5050565b601f8211156130dd576130ae81612f7d565b6130b784612f92565b810160208510156130c6578190505b6130da6130d285612f92565b830182613079565b50505b505050565b600082821c905092915050565b6000613100600019846008026130e2565b1980831691505092915050565b600061311983836130ef565b9150826002028217905092915050565b61313282612742565b67ffffffffffffffff81111561314b5761314a612929565b5b6131558254612e28565b61316082828561309c565b600060209050601f8311600181146131935760008415613181578287015190505b61318b858261310d565b8655506131f3565b601f1984166131a186612f7d565b60005b828110156131c9578489015182556001820191506020850194506020810190506131a4565b868310156131e657848901516131e2601f8916826130ef565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b50565b60006132166000836131fb565b915061322182613206565b600082019050919050565b600061323782613209565b9150819050919050565b7f4661696c656420746f2073656e642057444f4745000000000000000000000000600082015250565b600061327760148361274d565b915061328282613241565b602082019050919050565b600060208201905081810360008301526132a68161326a565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613309602e8361274d565b9150613314826132ad565b604082019050919050565b60006020820190508181036000830152613338816132fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613379826127f4565b9150613384836127f4565b9250828202613392816127f4565b915082820484148315176133a9576133a861333f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006133ea826127f4565b91506133f5836127f4565b925082613405576134046133b0565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061346c602b8361274d565b915061347782613410565b604082019050919050565b6000602082019050818103600083015261349b8161345f565b9050919050565b60006134ad826127f4565b91506134b8836127f4565b92508282039050818111156134d0576134cf61333f565b5b92915050565b7f4d617820616d6f756e74206d696e746564000000000000000000000000000000600082015250565b600061350c60118361274d565b9150613517826134d6565b602082019050919050565b6000602082019050818103600083015261353b816134ff565b9050919050565b7f4e6f7420656e6f7567682057444f47452073656e742c20636865636b2070726960008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061359e60228361274d565b91506135a982613542565b604082019050919050565b600060208201905081810360008301526135cd81613591565b9050919050565b60006135df826127f4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036136115761361061333f565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613678602c8361274d565b91506136838261361c565b604082019050919050565b600060208201905081810360008301526136a78161366b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061371360188361274d565b915061371e826136dd565b602082019050919050565b6000602082019050818103600083015261374281613706565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006137a560298361274d565b91506137b082613749565b604082019050919050565b600060208201905081810360008301526137d481613798565b9050919050565b600081905092915050565b600081546137f381612e28565b6137fd81866137db565b94506001821660008114613818576001811461382d57613860565b60ff1983168652811515820286019350613860565b61383685612f7d565b60005b8381101561385857815481890152600182019150602081019050613839565b838801955050505b50505092915050565b600061387482612742565b61387e81856137db565b935061388e81856020860161275e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138d06005836137db565b91506138db8261389a565b600582019050919050565b60006138f282856137e6565b91506138fe8284613869565b9150613909826138c3565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061397160268361274d565b915061397c82613915565b604082019050919050565b600060208201905081810360008301526139a081613964565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139dd60208361274d565b91506139e8826139a7565b602082019050919050565b60006020820190508181036000830152613a0c816139d0565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613a6f60258361274d565b9150613a7a82613a13565b604082019050919050565b60006020820190508181036000830152613a9e81613a62565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b0160248361274d565b9150613b0c82613aa5565b604082019050919050565b60006020820190508181036000830152613b3081613af4565b9050919050565b6000613b42826127f4565b9150613b4d836127f4565b9250828201905080821115613b6557613b6461333f565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613ba160198361274d565b9150613bac82613b6b565b602082019050919050565b60006020820190508181036000830152613bd081613b94565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613c3360328361274d565b9150613c3e82613bd7565b604082019050919050565b60006020820190508181036000830152613c6281613c26565b9050919050565b6000613c74826127f4565b9150613c7f836127f4565b925082613c8f57613c8e6133b0565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613cc182613c9a565b613ccb8185613ca5565b9350613cdb81856020860161275e565b613ce481612788565b840191505092915050565b6000608082019050613d046000830187612889565b613d116020830186612889565b613d1e6040830185612a9d565b8181036060830152613d308184613cb6565b905095945050505050565b600081519050613d4a816126b3565b92915050565b600060208284031215613d6657613d6561267d565b5b6000613d7484828501613d3b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613db360208361274d565b9150613dbe82613d7d565b602082019050919050565b60006020820190508181036000830152613de281613da6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613e1f601c8361274d565b9150613e2a82613de9565b602082019050919050565b60006020820190508181036000830152613e4e81613e12565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b7d4522e1b213b19fdcc8d627715e8b8f0bbdf34a9cd7a2564b0bbaf2eb1d6bb64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000004580000000000000000000000000000000000000000000000004563918244f40000000000000000000000000000acd320541f17e57537aa9fec5df22966c71fac210000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f626166796265696574703569733773787869667874327367616567657077797463376c6a72366b7861656f74736d656b673466716f7476717862652e697066732e6e667473746f726167652e6c696e6b2f00000000000000

Deployed ByteCode

0x6080604052600436106101e35760003560e01c806370a0823111610102578063b88d4fde11610095578063df58be3c11610064578063df58be3c146106fe578063e985e9c514610727578063eac989f814610764578063f2fde38b1461078f576101e3565b8063b88d4fde14610642578063c87b56dd1461066b578063cafa8dfe146106a8578063d5abeb01146106d3576101e3565b806395d89b41116100d157806395d89b411461059a578063a22cb465146105c5578063a3a51bd5146105ee578063b514371514610619576101e3565b806370a08231146104f2578063715018a61461052f5780638da5cb5b146105465780639466d20614610571576101e3565b80632a55205a1161017a57806343508b051161014957806343508b05146104315780634f6ccce71461044d5780636352211e1461048a5780636817c76c146104c7576101e3565b80632a55205a1461035c5780632f745c591461039b57806340d097c3146103d857806342842e0e14610408576101e3565b80630e709b1b116101b65780630e709b1b146102b657806318160ddd146102df5780631e4198e01461030a57806323b872dd14610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906126df565b6107b8565b60405161021c9190612727565b60405180910390f35b34801561023157600080fd5b5061023a6107ca565b60405161024791906127d2565b60405180910390f35b34801561025c57600080fd5b506102776004803603810190610272919061282a565b61085c565b6040516102849190612898565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af91906128df565b6108a2565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190612a54565b6109b9565b005b3480156102eb57600080fd5b506102f46109d4565b6040516103019190612aac565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190612b05565b6109e1565b005b34801561033f57600080fd5b5061035a60048036038101906103559190612b32565b610a9f565b005b34801561036857600080fd5b50610383600480360381019061037e9190612b85565b610aff565b60405161039293929190612bc5565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd91906128df565b610b54565b6040516103cf9190612aac565b60405180910390f35b6103f260048036038101906103ed9190612bfc565b610bf9565b6040516103ff9190612aac565b60405180910390f35b34801561041457600080fd5b5061042f600480360381019061042a9190612b32565b610cc4565b005b61044b600480360381019061044691906128df565b610ce4565b005b34801561045957600080fd5b50610474600480360381019061046f919061282a565b610d6e565b6040516104819190612aac565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac919061282a565b610ddf565b6040516104be9190612898565b60405180910390f35b3480156104d357600080fd5b506104dc610e90565b6040516104e99190612aac565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190612bfc565b610e96565b6040516105269190612aac565b60405180910390f35b34801561053b57600080fd5b50610544610f4d565b005b34801561055257600080fd5b5061055b610f61565b6040516105689190612898565b60405180910390f35b34801561057d57600080fd5b506105986004803603810190610593919061282a565b610f8b565b005b3480156105a657600080fd5b506105af610fab565b6040516105bc91906127d2565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e79190612c55565b61103d565b005b3480156105fa57600080fd5b50610603611053565b6040516106109190612898565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190612bfc565b61107d565b005b34801561064e57600080fd5b5061066960048036038101906106649190612d36565b611123565b005b34801561067757600080fd5b50610692600480360381019061068d919061282a565b611185565b60405161069f91906127d2565b60405180910390f35b3480156106b457600080fd5b506106bd6111b9565b6040516106ca9190612aac565b60405180910390f35b3480156106df57600080fd5b506106e86111bf565b6040516106f59190612aac565b60405180910390f35b34801561070a57600080fd5b506107256004803603810190610720919061282a565b6111c5565b005b34801561073357600080fd5b5061074e60048036038101906107499190612db9565b6111d7565b60405161075b9190612727565b60405180910390f35b34801561077057600080fd5b5061077961126b565b60405161078691906127d2565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190612bfc565b6112f9565b005b60006107c38261137c565b9050919050565b6060600080546107d990612e28565b80601f016020809104026020016040519081016040528092919081815260200182805461080590612e28565b80156108525780601f1061082757610100808354040283529160200191610852565b820191906000526020600020905b81548152906001019060200180831161083557829003601f168201915b5050505050905090565b6000610867826113f6565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108ad82610ddf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361091d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091490612ecb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661093c611441565b73ffffffffffffffffffffffffffffffffffffffff16148061096b575061096a81610965611441565b6111d7565b5b6109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a190612f5d565b60405180910390fd5b6109b48383611449565b505050565b6109c1611502565b80600c90816109d09190613129565b5050565b6000600880549050905090565b6109e9611502565b600047905060008273ffffffffffffffffffffffffffffffffffffffff1682604051610a149061322c565b60006040518083038185875af1925050503d8060008114610a51576040519150601f19603f3d011682016040523d82523d6000602084013e610a56565b606091505b5050905080610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a919061328d565b60405180910390fd5b505050565b610ab0610aaa611441565b82611580565b610aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae69061331f565b60405180910390fd5b610afa838383611615565b505050565b600080600080606460105486610b15919061336e565b610b1f91906133df565b905085600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682935093509350509250925092565b6000610b5f83610e96565b8210610ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9790613482565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080610c06600b61187b565b90506001600d54610c1791906134a2565b610c21600b61187b565b1115610c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5990613522565b60405180910390fd5b610c6c600b611889565b600e54341015610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca8906135b4565b60405180910390fd5b610cbb838261189f565b80915050919050565b610cdf83838360405180602001604052806000815250611123565b505050565b60005b81811015610d695760068210610cfc57600080fd5b81600e54610d0a919061336e565b341015610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d43906135b4565b60405180910390fd5b610d5583610bf9565b508080610d61906135d4565b915050610ce7565b505050565b6000610d786109d4565b8210610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db09061368e565b60405180910390fd5b60088281548110610dcd57610dcc6136ae565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e90613729565b60405180910390fd5b80915050919050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd906137bb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f55611502565b610f5f60006118bd565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f93611502565b6004811115610fa157600080fd5b8060108190555050565b606060018054610fba90612e28565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe690612e28565b80156110335780601f1061100857610100808354040283529160200191611033565b820191906000526020600020905b81548152906001019060200180831161101657829003601f168201915b5050505050905090565b61104f611048611441565b8383611983565b5050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611085611502565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110df57600080fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61113461112e611441565b83611580565b611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a9061331f565b60405180910390fd5b61117f84848484611aef565b50505050565b6060600c61119283611b4b565b6040516020016111a39291906138e6565b6040516020818303038152906040529050919050565b60105481565b600d5481565b6111cd611502565b80600e8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c805461127890612e28565b80601f01602080910402602001604051908101604052809291908181526020018280546112a490612e28565b80156112f15780601f106112c6576101008083540402835291602001916112f1565b820191906000526020600020905b8154815290600101906020018083116112d457829003601f168201915b505050505081565b611301611502565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790613987565b60405180910390fd5b611379816118bd565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806113ef57506113ee82611cab565b5b9050919050565b6113ff81611d8d565b61143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613729565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166114bc83610ddf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61150a611441565b73ffffffffffffffffffffffffffffffffffffffff16611528610f61565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906139f3565b60405180910390fd5b565b60008061158c83610ddf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806115ce57506115cd81856111d7565b5b8061160c57508373ffffffffffffffffffffffffffffffffffffffff166115f48461085c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661163582610ddf565b73ffffffffffffffffffffffffffffffffffffffff161461168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613a85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f190613b17565b60405180910390fd5b611705838383611df9565b611710600082611449565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461176091906134a2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117b79190613b37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611876838383611e09565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6118b9828260405180602001604052806000815250611e0e565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890613bb7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae29190612727565b60405180910390a3505050565b611afa848484611615565b611b0684848484611e69565b611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c90613c49565b60405180910390fd5b50505050565b606060008203611b92576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ca6565b600082905060005b60008214611bc4578080611bad906135d4565b915050600a82611bbd91906133df565b9150611b9a565b60008167ffffffffffffffff811115611be057611bdf612929565b5b6040519080825280601f01601f191660200182016040528015611c125781602001600182028036833780820191505090505b5090505b60008514611c9f57600182611c2b91906134a2565b9150600a85611c3a9190613c69565b6030611c469190613b37565b60f81b818381518110611c5c57611c5b6136ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c9891906133df565b9450611c16565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d7657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d865750611d8582611ff0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611e0483838361205a565b505050565b505050565b611e18838361216c565b611e256000848484611e69565b611e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5b90613c49565b60405180910390fd5b505050565b6000611e8a8473ffffffffffffffffffffffffffffffffffffffff16612345565b15611fe3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611eb3611441565b8786866040518563ffffffff1660e01b8152600401611ed59493929190613cef565b6020604051808303816000875af1925050508015611f1157506040513d601f19601f82011682018060405250810190611f0e9190613d50565b60015b611f93573d8060008114611f41576040519150601f19603f3d011682016040523d82523d6000602084013e611f46565b606091505b506000815103611f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8290613c49565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611fe8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612065838383612368565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120a7576120a28161236d565b6120e6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120e5576120e483826123b6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121285761212381612523565b612167565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146121665761216582826125f4565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d290613dc9565b60405180910390fd5b6121e481611d8d565b15612224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221b90613e35565b60405180910390fd5b61223060008383611df9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122809190613b37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461234160008383611e09565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016123c384610e96565b6123cd91906134a2565b90506000600760008481526020019081526020016000205490508181146124b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061253791906134a2565b9050600060096000848152602001908152602001600020549050600060088381548110612567576125666136ae565b5b906000526020600020015490508060088381548110612589576125886136ae565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806125d8576125d7613e55565b5b6001900381819060005260206000200160009055905550505050565b60006125ff83610e96565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126bc81612687565b81146126c757600080fd5b50565b6000813590506126d9816126b3565b92915050565b6000602082840312156126f5576126f461267d565b5b6000612703848285016126ca565b91505092915050565b60008115159050919050565b6127218161270c565b82525050565b600060208201905061273c6000830184612718565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561277c578082015181840152602081019050612761565b60008484015250505050565b6000601f19601f8301169050919050565b60006127a482612742565b6127ae818561274d565b93506127be81856020860161275e565b6127c781612788565b840191505092915050565b600060208201905081810360008301526127ec8184612799565b905092915050565b6000819050919050565b612807816127f4565b811461281257600080fd5b50565b600081359050612824816127fe565b92915050565b6000602082840312156128405761283f61267d565b5b600061284e84828501612815565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061288282612857565b9050919050565b61289281612877565b82525050565b60006020820190506128ad6000830184612889565b92915050565b6128bc81612877565b81146128c757600080fd5b50565b6000813590506128d9816128b3565b92915050565b600080604083850312156128f6576128f561267d565b5b6000612904858286016128ca565b925050602061291585828601612815565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61296182612788565b810181811067ffffffffffffffff821117156129805761297f612929565b5b80604052505050565b6000612993612673565b905061299f8282612958565b919050565b600067ffffffffffffffff8211156129bf576129be612929565b5b6129c882612788565b9050602081019050919050565b82818337600083830152505050565b60006129f76129f2846129a4565b612989565b905082815260208101848484011115612a1357612a12612924565b5b612a1e8482856129d5565b509392505050565b600082601f830112612a3b57612a3a61291f565b5b8135612a4b8482602086016129e4565b91505092915050565b600060208284031215612a6a57612a6961267d565b5b600082013567ffffffffffffffff811115612a8857612a87612682565b5b612a9484828501612a26565b91505092915050565b612aa6816127f4565b82525050565b6000602082019050612ac16000830184612a9d565b92915050565b6000612ad282612857565b9050919050565b612ae281612ac7565b8114612aed57600080fd5b50565b600081359050612aff81612ad9565b92915050565b600060208284031215612b1b57612b1a61267d565b5b6000612b2984828501612af0565b91505092915050565b600080600060608486031215612b4b57612b4a61267d565b5b6000612b59868287016128ca565b9350506020612b6a868287016128ca565b9250506040612b7b86828701612815565b9150509250925092565b60008060408385031215612b9c57612b9b61267d565b5b6000612baa85828601612815565b9250506020612bbb85828601612815565b9150509250929050565b6000606082019050612bda6000830186612a9d565b612be76020830185612889565b612bf46040830184612a9d565b949350505050565b600060208284031215612c1257612c1161267d565b5b6000612c20848285016128ca565b91505092915050565b612c328161270c565b8114612c3d57600080fd5b50565b600081359050612c4f81612c29565b92915050565b60008060408385031215612c6c57612c6b61267d565b5b6000612c7a858286016128ca565b9250506020612c8b85828601612c40565b9150509250929050565b600067ffffffffffffffff821115612cb057612caf612929565b5b612cb982612788565b9050602081019050919050565b6000612cd9612cd484612c95565b612989565b905082815260208101848484011115612cf557612cf4612924565b5b612d008482856129d5565b509392505050565b600082601f830112612d1d57612d1c61291f565b5b8135612d2d848260208601612cc6565b91505092915050565b60008060008060808587031215612d5057612d4f61267d565b5b6000612d5e878288016128ca565b9450506020612d6f878288016128ca565b9350506040612d8087828801612815565b925050606085013567ffffffffffffffff811115612da157612da0612682565b5b612dad87828801612d08565b91505092959194509250565b60008060408385031215612dd057612dcf61267d565b5b6000612dde858286016128ca565b9250506020612def858286016128ca565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e4057607f821691505b602082108103612e5357612e52612df9565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612eb560218361274d565b9150612ec082612e59565b604082019050919050565b60006020820190508181036000830152612ee481612ea8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612f47603e8361274d565b9150612f5282612eeb565b604082019050919050565b60006020820190508181036000830152612f7681612f3a565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612fdf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612fa2565b612fe98683612fa2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061302661302161301c846127f4565b613001565b6127f4565b9050919050565b6000819050919050565b6130408361300b565b61305461304c8261302d565b848454612faf565b825550505050565b600090565b61306961305c565b613074818484613037565b505050565b5b818110156130985761308d600082613061565b60018101905061307a565b5050565b601f8211156130dd576130ae81612f7d565b6130b784612f92565b810160208510156130c6578190505b6130da6130d285612f92565b830182613079565b50505b505050565b600082821c905092915050565b6000613100600019846008026130e2565b1980831691505092915050565b600061311983836130ef565b9150826002028217905092915050565b61313282612742565b67ffffffffffffffff81111561314b5761314a612929565b5b6131558254612e28565b61316082828561309c565b600060209050601f8311600181146131935760008415613181578287015190505b61318b858261310d565b8655506131f3565b601f1984166131a186612f7d565b60005b828110156131c9578489015182556001820191506020850194506020810190506131a4565b868310156131e657848901516131e2601f8916826130ef565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b50565b60006132166000836131fb565b915061322182613206565b600082019050919050565b600061323782613209565b9150819050919050565b7f4661696c656420746f2073656e642057444f4745000000000000000000000000600082015250565b600061327760148361274d565b915061328282613241565b602082019050919050565b600060208201905081810360008301526132a68161326a565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613309602e8361274d565b9150613314826132ad565b604082019050919050565b60006020820190508181036000830152613338816132fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613379826127f4565b9150613384836127f4565b9250828202613392816127f4565b915082820484148315176133a9576133a861333f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006133ea826127f4565b91506133f5836127f4565b925082613405576134046133b0565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061346c602b8361274d565b915061347782613410565b604082019050919050565b6000602082019050818103600083015261349b8161345f565b9050919050565b60006134ad826127f4565b91506134b8836127f4565b92508282039050818111156134d0576134cf61333f565b5b92915050565b7f4d617820616d6f756e74206d696e746564000000000000000000000000000000600082015250565b600061350c60118361274d565b9150613517826134d6565b602082019050919050565b6000602082019050818103600083015261353b816134ff565b9050919050565b7f4e6f7420656e6f7567682057444f47452073656e742c20636865636b2070726960008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061359e60228361274d565b91506135a982613542565b604082019050919050565b600060208201905081810360008301526135cd81613591565b9050919050565b60006135df826127f4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036136115761361061333f565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613678602c8361274d565b91506136838261361c565b604082019050919050565b600060208201905081810360008301526136a78161366b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061371360188361274d565b915061371e826136dd565b602082019050919050565b6000602082019050818103600083015261374281613706565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006137a560298361274d565b91506137b082613749565b604082019050919050565b600060208201905081810360008301526137d481613798565b9050919050565b600081905092915050565b600081546137f381612e28565b6137fd81866137db565b94506001821660008114613818576001811461382d57613860565b60ff1983168652811515820286019350613860565b61383685612f7d565b60005b8381101561385857815481890152600182019150602081019050613839565b838801955050505b50505092915050565b600061387482612742565b61387e81856137db565b935061388e81856020860161275e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138d06005836137db565b91506138db8261389a565b600582019050919050565b60006138f282856137e6565b91506138fe8284613869565b9150613909826138c3565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061397160268361274d565b915061397c82613915565b604082019050919050565b600060208201905081810360008301526139a081613964565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139dd60208361274d565b91506139e8826139a7565b602082019050919050565b60006020820190508181036000830152613a0c816139d0565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613a6f60258361274d565b9150613a7a82613a13565b604082019050919050565b60006020820190508181036000830152613a9e81613a62565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b0160248361274d565b9150613b0c82613aa5565b604082019050919050565b60006020820190508181036000830152613b3081613af4565b9050919050565b6000613b42826127f4565b9150613b4d836127f4565b9250828201905080821115613b6557613b6461333f565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613ba160198361274d565b9150613bac82613b6b565b602082019050919050565b60006020820190508181036000830152613bd081613b94565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613c3360328361274d565b9150613c3e82613bd7565b604082019050919050565b60006020820190508181036000830152613c6281613c26565b9050919050565b6000613c74826127f4565b9150613c7f836127f4565b925082613c8f57613c8e6133b0565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613cc182613c9a565b613ccb8185613ca5565b9350613cdb81856020860161275e565b613ce481612788565b840191505092915050565b6000608082019050613d046000830187612889565b613d116020830186612889565b613d1e6040830185612a9d565b8181036060830152613d308184613cb6565b905095945050505050565b600081519050613d4a816126b3565b92915050565b600060208284031215613d6657613d6561267d565b5b6000613d7484828501613d3b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613db360208361274d565b9150613dbe82613d7d565b602082019050919050565b60006020820190508181036000830152613de281613da6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613e1f601c8361274d565b9150613e2a82613de9565b602082019050919050565b60006020820190508181036000830152613e4e81613e12565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b7d4522e1b213b19fdcc8d627715e8b8f0bbdf34a9cd7a2564b0bbaf2eb1d6bb64736f6c63430008110033