Contract Address Details

0x7D96a78c04337914379ffB2094a48d8E809234eC

Token
DARK LEGENDS DEMONS (LEGENDS)
Creator
0x554939ā€“14fce4 at 0x929b1cā€“559985
Balance
0 Doge
Tokens
Fetching tokens...
Transactions
8 Transactions
Transfers
0 Transfers
Gas Used
70,350,996
Last Balance Update
17529107
Contract name:
DarkLegendsDemons




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




EVM Version
default




Verified at
2022-11-02T19:51:12.485486Z

Constructor Arguments

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000259000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569616b6c6f7a746c3475337470693632337a7064766e326976726c697371323535626b6e36766d3675346b37346a663732763332612e697066732e6e667473746f726167652e6c696e6b2f00000000000000

Arg [0] (string) : https://bafybeiakloztl4u3tpi623zpdvn2ivrlisq255bkn6vm6u4k74jf72v32a.ipfs.nftstorage.link/
Arg [1] (uint256) : 601

              

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


pragma solidity ^0.8.17;









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

    string public uri;
    uint256 public maxSupply; // 601

    constructor(string memory _uri, uint256 _maxSupply) ERC721("DARK LEGENDS DEMONS", "LEGENDS") {
        uri = _uri;
        maxSupply = _maxSupply;
    }

    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 safeMint(address to) public onlyOwner returns (uint256) {
        uint256 tokenId = _tokenIdCounter.current();
        require(_tokenIdCounter.current() <= maxSupply -1, "Max amount minted");
        _tokenIdCounter.increment();
        _safeMint(to, tokenId);
        return tokenId;
    }

    function batchMint(address to, uint256 number) external onlyOwner {
        for(uint256 i=0; i < number; i++) {
            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 safeBatchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) external {
    }
    
    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_uri","internalType":"string"},{"type":"uint256","name":"_maxSupply","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":"nonpayable","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":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"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":"nonpayable","outputs":[],"name":"safeBatchTransferFrom","inputs":[{"type":"address","name":"_from","internalType":"address"},{"type":"address","name":"_to","internalType":"address"},{"type":"uint256[]","name":"_tokenIds","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","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":"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":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uri","inputs":[]}]
            

Contract Creation Code

0x60806040523480156200001157600080fd5b5060405162003f4a38038062003f4a8339818101604052810190620000379190620003a6565b6040518060400160405280601381526020017f4441524b204c4547454e44532044454d4f4e53000000000000000000000000008152506040518060400160405280600781526020017f4c4547454e4453000000000000000000000000000000000000000000000000008152508160009081620000b491906200064d565b508060019081620000c691906200064d565b505050620000e9620000dd6200010a60201b60201c565b6200011260201b60201c565b81600c9081620000fa91906200064d565b5080600d81905550505062000734565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200024182620001f6565b810181811067ffffffffffffffff8211171562000263576200026262000207565b5b80604052505050565b600062000278620001d8565b905062000286828262000236565b919050565b600067ffffffffffffffff821115620002a957620002a862000207565b5b620002b482620001f6565b9050602081019050919050565b60005b83811015620002e1578082015181840152602081019050620002c4565b60008484015250505050565b600062000304620002fe846200028b565b6200026c565b905082815260208101848484011115620003235762000322620001f1565b5b62000330848285620002c1565b509392505050565b600082601f83011262000350576200034f620001ec565b5b815162000362848260208601620002ed565b91505092915050565b6000819050919050565b62000380816200036b565b81146200038c57600080fd5b50565b600081519050620003a08162000375565b92915050565b60008060408385031215620003c057620003bf620001e2565b5b600083015167ffffffffffffffff811115620003e157620003e0620001e7565b5b620003ef8582860162000338565b925050602062000402858286016200038f565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200045f57607f821691505b60208210810362000475576200047462000417565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004df7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004a0565b620004eb8683620004a0565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200052e6200052862000522846200036b565b62000503565b6200036b565b9050919050565b6000819050919050565b6200054a836200050d565b62000562620005598262000535565b848454620004ad565b825550505050565b600090565b620005796200056a565b620005868184846200053f565b505050565b5b81811015620005ae57620005a26000826200056f565b6001810190506200058c565b5050565b601f821115620005fd57620005c7816200047b565b620005d28462000490565b81016020851015620005e2578190505b620005fa620005f18562000490565b8301826200058b565b50505b505050565b600082821c905092915050565b6000620006226000198460080262000602565b1980831691505092915050565b60006200063d83836200060f565b9150826002028217905092915050565b62000658826200040c565b67ffffffffffffffff81111562000674576200067362000207565b5b62000680825462000446565b6200068d828285620005b2565b600060209050601f831160018114620006c55760008415620006b0578287015190505b620006bc85826200062f565b8655506200072c565b601f198416620006d5866200047b565b60005b82811015620006ff57848901518255600182019150602085019450602081019050620006d8565b868310156200071f57848901516200071b601f8916826200060f565b8355505b6001600288020188555050505b505050505050565b61380680620007446000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80634f6ccce7116100de578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461045a578063e985e9c514610478578063eac989f8146104a8578063f2fde38b146104c657610173565b8063a22cb465146103f2578063b88d4fde1461040e578063c87b56dd1461042a57610173565b80634f6ccce71461031c5780636352211e1461034c57806370a082311461037c578063715018a6146103ac5780638da5cb5b146103b657806395d89b41146103d457610173565b806318160ddd1161013057806318160ddd1461024a57806323b872dd146102685780632f745c591461028457806340d097c3146102b457806342842e0e146102e457806343508b051461030057610173565b806301ffc9a714610178578063034601ec146101a857806306fdde03146101c4578063081812fc146101e2578063095ea7b3146102125780630e709b1b1461022e575b600080fd5b610192600480360381019061018d919061215c565b6104e2565b60405161019f91906121a4565b60405180910390f35b6101c260048036038101906101bd91906123ac565b6104f4565b005b6101cc6104f9565b6040516101d9919061249a565b60405180910390f35b6101fc60048036038101906101f791906124bc565b61058b565b60405161020991906124f8565b60405180910390f35b61022c60048036038101906102279190612513565b6105d1565b005b61024860048036038101906102439190612608565b6106e8565b005b610252610703565b60405161025f9190612660565b60405180910390f35b610282600480360381019061027d919061267b565b610710565b005b61029e60048036038101906102999190612513565b610770565b6040516102ab9190612660565b60405180910390f35b6102ce60048036038101906102c991906126ce565b610815565b6040516102db9190612660565b60405180910390f35b6102fe60048036038101906102f9919061267b565b6108a4565b005b61031a60048036038101906103159190612513565b6108c4565b005b610336600480360381019061033191906124bc565b6108f9565b6040516103439190612660565b60405180910390f35b610366600480360381019061036191906124bc565b61096a565b60405161037391906124f8565b60405180910390f35b610396600480360381019061039191906126ce565b610a1b565b6040516103a39190612660565b60405180910390f35b6103b4610ad2565b005b6103be610ae6565b6040516103cb91906124f8565b60405180910390f35b6103dc610b10565b6040516103e9919061249a565b60405180910390f35b61040c60048036038101906104079190612727565b610ba2565b005b61042860048036038101906104239190612808565b610bb8565b005b610444600480360381019061043f91906124bc565b610c1a565b604051610451919061249a565b60405180910390f35b610462610c4e565b60405161046f9190612660565b60405180910390f35b610492600480360381019061048d919061288b565b610c54565b60405161049f91906121a4565b60405180910390f35b6104b0610ce8565b6040516104bd919061249a565b60405180910390f35b6104e060048036038101906104db91906126ce565b610d76565b005b60006104ed82610df9565b9050919050565b505050565b606060008054610508906128fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610534906128fa565b80156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b600061059682610e73565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105dc8261096a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361064c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106439061299d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661066b610ebe565b73ffffffffffffffffffffffffffffffffffffffff16148061069a575061069981610694610ebe565b610c54565b5b6106d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d090612a2f565b60405180910390fd5b6106e38383610ec6565b505050565b6106f0610f7f565b80600c90816106ff9190612bfb565b5050565b6000600880549050905090565b61072161071b610ebe565b82610ffd565b610760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075790612d3f565b60405180910390fd5b61076b838383611092565b505050565b600061077b83610a1b565b82106107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b390612dd1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600061081f610f7f565b600061082b600b6112f8565b90506001600d5461083c9190612e20565b610846600b6112f8565b1115610887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087e90612ea0565b60405180910390fd5b610891600b611306565b61089b838261131c565b80915050919050565b6108bf83838360405180602001604052806000815250610bb8565b505050565b6108cc610f7f565b60005b818110156108f4576108e083610815565b5080806108ec90612ec0565b9150506108cf565b505050565b6000610903610703565b8210610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90612f7a565b60405180910390fd5b6008828154811061095857610957612f9a565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990613015565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a82906130a7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ada610f7f565b610ae4600061133a565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610b1f906128fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4b906128fa565b8015610b985780601f10610b6d57610100808354040283529160200191610b98565b820191906000526020600020905b815481529060010190602001808311610b7b57829003601f168201915b5050505050905090565b610bb4610bad610ebe565b8383611400565b5050565b610bc9610bc3610ebe565b83610ffd565b610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90612d3f565b60405180910390fd5b610c148484848461156c565b50505050565b6060600c610c27836115c8565b604051602001610c389291906131d2565b6040516020818303038152906040529050919050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c8054610cf5906128fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610d21906128fa565b8015610d6e5780601f10610d4357610100808354040283529160200191610d6e565b820191906000526020600020905b815481529060010190602001808311610d5157829003601f168201915b505050505081565b610d7e610f7f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490613273565b60405180910390fd5b610df68161133a565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e6c5750610e6b82611728565b5b9050919050565b610e7c8161180a565b610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613015565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610f398361096a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610f87610ebe565b73ffffffffffffffffffffffffffffffffffffffff16610fa5610ae6565b73ffffffffffffffffffffffffffffffffffffffff1614610ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff2906132df565b60405180910390fd5b565b6000806110098361096a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061104b575061104a8185610c54565b5b8061108957508373ffffffffffffffffffffffffffffffffffffffff166110718461058b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166110b28261096a565b73ffffffffffffffffffffffffffffffffffffffff1614611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90613371565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116e90613403565b60405180910390fd5b611182838383611876565b61118d600082610ec6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111dd9190612e20565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112349190613423565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112f3838383611886565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b61133682826040518060200160405280600081525061188b565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361146e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611465906134a3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161155f91906121a4565b60405180910390a3505050565b611577848484611092565b611583848484846118e6565b6115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b990613535565b60405180910390fd5b50505050565b60606000820361160f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611723565b600082905060005b6000821461164157808061162a90612ec0565b915050600a8261163a9190613584565b9150611617565b60008167ffffffffffffffff81111561165d5761165c612233565b5b6040519080825280601f01601f19166020018201604052801561168f5781602001600182028036833780820191505090505b5090505b6000851461171c576001826116a89190612e20565b9150600a856116b791906135b5565b60306116c39190613423565b60f81b8183815181106116d9576116d8612f9a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856117159190613584565b9450611693565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117f357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611803575061180282611a6d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611881838383611ad7565b505050565b505050565b6118958383611be9565b6118a260008484846118e6565b6118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d890613535565b60405180910390fd5b505050565b60006119078473ffffffffffffffffffffffffffffffffffffffff16611dc2565b15611a60578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611930610ebe565b8786866040518563ffffffff1660e01b8152600401611952949392919061363b565b6020604051808303816000875af192505050801561198e57506040513d601f19601f8201168201806040525081019061198b919061369c565b60015b611a10573d80600081146119be576040519150601f19603f3d011682016040523d82523d6000602084013e6119c3565b606091505b506000815103611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff90613535565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611a65565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ae2838383611de5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b2457611b1f81611dea565b611b63565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b6257611b618382611e33565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ba557611ba081611fa0565b611be4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611be357611be28282612071565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f90613715565b60405180910390fd5b611c618161180a565b15611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9890613781565b60405180910390fd5b611cad60008383611876565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cfd9190613423565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611dbe60008383611886565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611e4084610a1b565b611e4a9190612e20565b9050600060076000848152602001908152602001600020549050818114611f2f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050611fb49190612e20565b9050600060096000848152602001908152602001600020549050600060088381548110611fe457611fe3612f9a565b5b90600052602060002001549050806008838154811061200657612005612f9a565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612055576120546137a1565b5b6001900381819060005260206000200160009055905550505050565b600061207c83610a1b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61213981612104565b811461214457600080fd5b50565b60008135905061215681612130565b92915050565b600060208284031215612172576121716120fa565b5b600061218084828501612147565b91505092915050565b60008115159050919050565b61219e81612189565b82525050565b60006020820190506121b96000830184612195565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121ea826121bf565b9050919050565b6121fa816121df565b811461220557600080fd5b50565b600081359050612217816121f1565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61226b82612222565b810181811067ffffffffffffffff8211171561228a57612289612233565b5b80604052505050565b600061229d6120f0565b90506122a98282612262565b919050565b600067ffffffffffffffff8211156122c9576122c8612233565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6122f2816122df565b81146122fd57600080fd5b50565b60008135905061230f816122e9565b92915050565b6000612328612323846122ae565b612293565b9050808382526020820190506020840283018581111561234b5761234a6122da565b5b835b8181101561237457806123608882612300565b84526020840193505060208101905061234d565b5050509392505050565b600082601f8301126123935761239261221d565b5b81356123a3848260208601612315565b91505092915050565b6000806000606084860312156123c5576123c46120fa565b5b60006123d386828701612208565b93505060206123e486828701612208565b925050604084013567ffffffffffffffff811115612405576124046120ff565b5b6124118682870161237e565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b60005b8381101561245557808201518184015260208101905061243a565b60008484015250505050565b600061246c8261241b565b6124768185612426565b9350612486818560208601612437565b61248f81612222565b840191505092915050565b600060208201905081810360008301526124b48184612461565b905092915050565b6000602082840312156124d2576124d16120fa565b5b60006124e084828501612300565b91505092915050565b6124f2816121df565b82525050565b600060208201905061250d60008301846124e9565b92915050565b6000806040838503121561252a576125296120fa565b5b600061253885828601612208565b925050602061254985828601612300565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561257357612572612233565b5b61257c82612222565b9050602081019050919050565b82818337600083830152505050565b60006125ab6125a684612558565b612293565b9050828152602081018484840111156125c7576125c6612553565b5b6125d2848285612589565b509392505050565b600082601f8301126125ef576125ee61221d565b5b81356125ff848260208601612598565b91505092915050565b60006020828403121561261e5761261d6120fa565b5b600082013567ffffffffffffffff81111561263c5761263b6120ff565b5b612648848285016125da565b91505092915050565b61265a816122df565b82525050565b60006020820190506126756000830184612651565b92915050565b600080600060608486031215612694576126936120fa565b5b60006126a286828701612208565b93505060206126b386828701612208565b92505060406126c486828701612300565b9150509250925092565b6000602082840312156126e4576126e36120fa565b5b60006126f284828501612208565b91505092915050565b61270481612189565b811461270f57600080fd5b50565b600081359050612721816126fb565b92915050565b6000806040838503121561273e5761273d6120fa565b5b600061274c85828601612208565b925050602061275d85828601612712565b9150509250929050565b600067ffffffffffffffff82111561278257612781612233565b5b61278b82612222565b9050602081019050919050565b60006127ab6127a684612767565b612293565b9050828152602081018484840111156127c7576127c6612553565b5b6127d2848285612589565b509392505050565b600082601f8301126127ef576127ee61221d565b5b81356127ff848260208601612798565b91505092915050565b60008060008060808587031215612822576128216120fa565b5b600061283087828801612208565b945050602061284187828801612208565b935050604061285287828801612300565b925050606085013567ffffffffffffffff811115612873576128726120ff565b5b61287f878288016127da565b91505092959194509250565b600080604083850312156128a2576128a16120fa565b5b60006128b085828601612208565b92505060206128c185828601612208565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061291257607f821691505b602082108103612925576129246128cb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612987602183612426565b91506129928261292b565b604082019050919050565b600060208201905081810360008301526129b68161297a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612a19603e83612426565b9150612a24826129bd565b604082019050919050565b60006020820190508181036000830152612a4881612a0c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612ab17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612a74565b612abb8683612a74565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612af8612af3612aee846122df565b612ad3565b6122df565b9050919050565b6000819050919050565b612b1283612add565b612b26612b1e82612aff565b848454612a81565b825550505050565b600090565b612b3b612b2e565b612b46818484612b09565b505050565b5b81811015612b6a57612b5f600082612b33565b600181019050612b4c565b5050565b601f821115612baf57612b8081612a4f565b612b8984612a64565b81016020851015612b98578190505b612bac612ba485612a64565b830182612b4b565b50505b505050565b600082821c905092915050565b6000612bd260001984600802612bb4565b1980831691505092915050565b6000612beb8383612bc1565b9150826002028217905092915050565b612c048261241b565b67ffffffffffffffff811115612c1d57612c1c612233565b5b612c2782546128fa565b612c32828285612b6e565b600060209050601f831160018114612c655760008415612c53578287015190505b612c5d8582612bdf565b865550612cc5565b601f198416612c7386612a4f565b60005b82811015612c9b57848901518255600182019150602085019450602081019050612c76565b86831015612cb85784890151612cb4601f891682612bc1565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612d29602e83612426565b9150612d3482612ccd565b604082019050919050565b60006020820190508181036000830152612d5881612d1c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000612dbb602b83612426565b9150612dc682612d5f565b604082019050919050565b60006020820190508181036000830152612dea81612dae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e2b826122df565b9150612e36836122df565b9250828203905081811115612e4e57612e4d612df1565b5b92915050565b7f4d617820616d6f756e74206d696e746564000000000000000000000000000000600082015250565b6000612e8a601183612426565b9150612e9582612e54565b602082019050919050565b60006020820190508181036000830152612eb981612e7d565b9050919050565b6000612ecb826122df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612efd57612efc612df1565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000612f64602c83612426565b9150612f6f82612f08565b604082019050919050565b60006020820190508181036000830152612f9381612f57565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612fff601883612426565b915061300a82612fc9565b602082019050919050565b6000602082019050818103600083015261302e81612ff2565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613091602983612426565b915061309c82613035565b604082019050919050565b600060208201905081810360008301526130c081613084565b9050919050565b600081905092915050565b600081546130df816128fa565b6130e981866130c7565b9450600182166000811461310457600181146131195761314c565b60ff198316865281151582028601935061314c565b61312285612a4f565b60005b8381101561314457815481890152600182019150602081019050613125565b838801955050505b50505092915050565b60006131608261241b565b61316a81856130c7565b935061317a818560208601612437565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006131bc6005836130c7565b91506131c782613186565b600582019050919050565b60006131de82856130d2565b91506131ea8284613155565b91506131f5826131af565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061325d602683612426565b915061326882613201565b604082019050919050565b6000602082019050818103600083015261328c81613250565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132c9602083612426565b91506132d482613293565b602082019050919050565b600060208201905081810360008301526132f8816132bc565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061335b602583612426565b9150613366826132ff565b604082019050919050565b6000602082019050818103600083015261338a8161334e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006133ed602483612426565b91506133f882613391565b604082019050919050565b6000602082019050818103600083015261341c816133e0565b9050919050565b600061342e826122df565b9150613439836122df565b925082820190508082111561345157613450612df1565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061348d601983612426565b915061349882613457565b602082019050919050565b600060208201905081810360008301526134bc81613480565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061351f603283612426565b915061352a826134c3565b604082019050919050565b6000602082019050818103600083015261354e81613512565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061358f826122df565b915061359a836122df565b9250826135aa576135a9613555565b5b828204905092915050565b60006135c0826122df565b91506135cb836122df565b9250826135db576135da613555565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061360d826135e6565b61361781856135f1565b9350613627818560208601612437565b61363081612222565b840191505092915050565b600060808201905061365060008301876124e9565b61365d60208301866124e9565b61366a6040830185612651565b818103606083015261367c8184613602565b905095945050505050565b60008151905061369681612130565b92915050565b6000602082840312156136b2576136b16120fa565b5b60006136c084828501613687565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006136ff602083612426565b915061370a826136c9565b602082019050919050565b6000602082019050818103600083015261372e816136f2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061376b601c83612426565b915061377682613735565b602082019050919050565b6000602082019050818103600083015261379a8161375e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220a4f3b2678c96fadd14a812c59ebdc7f65bbe98090011c4610fc6862349f759c164736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000259000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569616b6c6f7a746c3475337470693632337a7064766e326976726c697371323535626b6e36766d3675346b37346a663732763332612e697066732e6e667473746f726167652e6c696e6b2f00000000000000

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c80634f6ccce7116100de578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461045a578063e985e9c514610478578063eac989f8146104a8578063f2fde38b146104c657610173565b8063a22cb465146103f2578063b88d4fde1461040e578063c87b56dd1461042a57610173565b80634f6ccce71461031c5780636352211e1461034c57806370a082311461037c578063715018a6146103ac5780638da5cb5b146103b657806395d89b41146103d457610173565b806318160ddd1161013057806318160ddd1461024a57806323b872dd146102685780632f745c591461028457806340d097c3146102b457806342842e0e146102e457806343508b051461030057610173565b806301ffc9a714610178578063034601ec146101a857806306fdde03146101c4578063081812fc146101e2578063095ea7b3146102125780630e709b1b1461022e575b600080fd5b610192600480360381019061018d919061215c565b6104e2565b60405161019f91906121a4565b60405180910390f35b6101c260048036038101906101bd91906123ac565b6104f4565b005b6101cc6104f9565b6040516101d9919061249a565b60405180910390f35b6101fc60048036038101906101f791906124bc565b61058b565b60405161020991906124f8565b60405180910390f35b61022c60048036038101906102279190612513565b6105d1565b005b61024860048036038101906102439190612608565b6106e8565b005b610252610703565b60405161025f9190612660565b60405180910390f35b610282600480360381019061027d919061267b565b610710565b005b61029e60048036038101906102999190612513565b610770565b6040516102ab9190612660565b60405180910390f35b6102ce60048036038101906102c991906126ce565b610815565b6040516102db9190612660565b60405180910390f35b6102fe60048036038101906102f9919061267b565b6108a4565b005b61031a60048036038101906103159190612513565b6108c4565b005b610336600480360381019061033191906124bc565b6108f9565b6040516103439190612660565b60405180910390f35b610366600480360381019061036191906124bc565b61096a565b60405161037391906124f8565b60405180910390f35b610396600480360381019061039191906126ce565b610a1b565b6040516103a39190612660565b60405180910390f35b6103b4610ad2565b005b6103be610ae6565b6040516103cb91906124f8565b60405180910390f35b6103dc610b10565b6040516103e9919061249a565b60405180910390f35b61040c60048036038101906104079190612727565b610ba2565b005b61042860048036038101906104239190612808565b610bb8565b005b610444600480360381019061043f91906124bc565b610c1a565b604051610451919061249a565b60405180910390f35b610462610c4e565b60405161046f9190612660565b60405180910390f35b610492600480360381019061048d919061288b565b610c54565b60405161049f91906121a4565b60405180910390f35b6104b0610ce8565b6040516104bd919061249a565b60405180910390f35b6104e060048036038101906104db91906126ce565b610d76565b005b60006104ed82610df9565b9050919050565b505050565b606060008054610508906128fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610534906128fa565b80156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b600061059682610e73565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105dc8261096a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361064c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106439061299d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661066b610ebe565b73ffffffffffffffffffffffffffffffffffffffff16148061069a575061069981610694610ebe565b610c54565b5b6106d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d090612a2f565b60405180910390fd5b6106e38383610ec6565b505050565b6106f0610f7f565b80600c90816106ff9190612bfb565b5050565b6000600880549050905090565b61072161071b610ebe565b82610ffd565b610760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075790612d3f565b60405180910390fd5b61076b838383611092565b505050565b600061077b83610a1b565b82106107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b390612dd1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600061081f610f7f565b600061082b600b6112f8565b90506001600d5461083c9190612e20565b610846600b6112f8565b1115610887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087e90612ea0565b60405180910390fd5b610891600b611306565b61089b838261131c565b80915050919050565b6108bf83838360405180602001604052806000815250610bb8565b505050565b6108cc610f7f565b60005b818110156108f4576108e083610815565b5080806108ec90612ec0565b9150506108cf565b505050565b6000610903610703565b8210610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90612f7a565b60405180910390fd5b6008828154811061095857610957612f9a565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990613015565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a82906130a7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ada610f7f565b610ae4600061133a565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610b1f906128fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4b906128fa565b8015610b985780601f10610b6d57610100808354040283529160200191610b98565b820191906000526020600020905b815481529060010190602001808311610b7b57829003601f168201915b5050505050905090565b610bb4610bad610ebe565b8383611400565b5050565b610bc9610bc3610ebe565b83610ffd565b610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90612d3f565b60405180910390fd5b610c148484848461156c565b50505050565b6060600c610c27836115c8565b604051602001610c389291906131d2565b6040516020818303038152906040529050919050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c8054610cf5906128fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610d21906128fa565b8015610d6e5780601f10610d4357610100808354040283529160200191610d6e565b820191906000526020600020905b815481529060010190602001808311610d5157829003601f168201915b505050505081565b610d7e610f7f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490613273565b60405180910390fd5b610df68161133a565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e6c5750610e6b82611728565b5b9050919050565b610e7c8161180a565b610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613015565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610f398361096a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610f87610ebe565b73ffffffffffffffffffffffffffffffffffffffff16610fa5610ae6565b73ffffffffffffffffffffffffffffffffffffffff1614610ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff2906132df565b60405180910390fd5b565b6000806110098361096a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061104b575061104a8185610c54565b5b8061108957508373ffffffffffffffffffffffffffffffffffffffff166110718461058b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166110b28261096a565b73ffffffffffffffffffffffffffffffffffffffff1614611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90613371565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116e90613403565b60405180910390fd5b611182838383611876565b61118d600082610ec6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111dd9190612e20565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112349190613423565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112f3838383611886565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b61133682826040518060200160405280600081525061188b565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361146e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611465906134a3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161155f91906121a4565b60405180910390a3505050565b611577848484611092565b611583848484846118e6565b6115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b990613535565b60405180910390fd5b50505050565b60606000820361160f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611723565b600082905060005b6000821461164157808061162a90612ec0565b915050600a8261163a9190613584565b9150611617565b60008167ffffffffffffffff81111561165d5761165c612233565b5b6040519080825280601f01601f19166020018201604052801561168f5781602001600182028036833780820191505090505b5090505b6000851461171c576001826116a89190612e20565b9150600a856116b791906135b5565b60306116c39190613423565b60f81b8183815181106116d9576116d8612f9a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856117159190613584565b9450611693565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117f357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611803575061180282611a6d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611881838383611ad7565b505050565b505050565b6118958383611be9565b6118a260008484846118e6565b6118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d890613535565b60405180910390fd5b505050565b60006119078473ffffffffffffffffffffffffffffffffffffffff16611dc2565b15611a60578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611930610ebe565b8786866040518563ffffffff1660e01b8152600401611952949392919061363b565b6020604051808303816000875af192505050801561198e57506040513d601f19601f8201168201806040525081019061198b919061369c565b60015b611a10573d80600081146119be576040519150601f19603f3d011682016040523d82523d6000602084013e6119c3565b606091505b506000815103611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff90613535565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611a65565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ae2838383611de5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b2457611b1f81611dea565b611b63565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b6257611b618382611e33565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ba557611ba081611fa0565b611be4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611be357611be28282612071565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f90613715565b60405180910390fd5b611c618161180a565b15611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9890613781565b60405180910390fd5b611cad60008383611876565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cfd9190613423565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611dbe60008383611886565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611e4084610a1b565b611e4a9190612e20565b9050600060076000848152602001908152602001600020549050818114611f2f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050611fb49190612e20565b9050600060096000848152602001908152602001600020549050600060088381548110611fe457611fe3612f9a565b5b90600052602060002001549050806008838154811061200657612005612f9a565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612055576120546137a1565b5b6001900381819060005260206000200160009055905550505050565b600061207c83610a1b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61213981612104565b811461214457600080fd5b50565b60008135905061215681612130565b92915050565b600060208284031215612172576121716120fa565b5b600061218084828501612147565b91505092915050565b60008115159050919050565b61219e81612189565b82525050565b60006020820190506121b96000830184612195565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121ea826121bf565b9050919050565b6121fa816121df565b811461220557600080fd5b50565b600081359050612217816121f1565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61226b82612222565b810181811067ffffffffffffffff8211171561228a57612289612233565b5b80604052505050565b600061229d6120f0565b90506122a98282612262565b919050565b600067ffffffffffffffff8211156122c9576122c8612233565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6122f2816122df565b81146122fd57600080fd5b50565b60008135905061230f816122e9565b92915050565b6000612328612323846122ae565b612293565b9050808382526020820190506020840283018581111561234b5761234a6122da565b5b835b8181101561237457806123608882612300565b84526020840193505060208101905061234d565b5050509392505050565b600082601f8301126123935761239261221d565b5b81356123a3848260208601612315565b91505092915050565b6000806000606084860312156123c5576123c46120fa565b5b60006123d386828701612208565b93505060206123e486828701612208565b925050604084013567ffffffffffffffff811115612405576124046120ff565b5b6124118682870161237e565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b60005b8381101561245557808201518184015260208101905061243a565b60008484015250505050565b600061246c8261241b565b6124768185612426565b9350612486818560208601612437565b61248f81612222565b840191505092915050565b600060208201905081810360008301526124b48184612461565b905092915050565b6000602082840312156124d2576124d16120fa565b5b60006124e084828501612300565b91505092915050565b6124f2816121df565b82525050565b600060208201905061250d60008301846124e9565b92915050565b6000806040838503121561252a576125296120fa565b5b600061253885828601612208565b925050602061254985828601612300565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561257357612572612233565b5b61257c82612222565b9050602081019050919050565b82818337600083830152505050565b60006125ab6125a684612558565b612293565b9050828152602081018484840111156125c7576125c6612553565b5b6125d2848285612589565b509392505050565b600082601f8301126125ef576125ee61221d565b5b81356125ff848260208601612598565b91505092915050565b60006020828403121561261e5761261d6120fa565b5b600082013567ffffffffffffffff81111561263c5761263b6120ff565b5b612648848285016125da565b91505092915050565b61265a816122df565b82525050565b60006020820190506126756000830184612651565b92915050565b600080600060608486031215612694576126936120fa565b5b60006126a286828701612208565b93505060206126b386828701612208565b92505060406126c486828701612300565b9150509250925092565b6000602082840312156126e4576126e36120fa565b5b60006126f284828501612208565b91505092915050565b61270481612189565b811461270f57600080fd5b50565b600081359050612721816126fb565b92915050565b6000806040838503121561273e5761273d6120fa565b5b600061274c85828601612208565b925050602061275d85828601612712565b9150509250929050565b600067ffffffffffffffff82111561278257612781612233565b5b61278b82612222565b9050602081019050919050565b60006127ab6127a684612767565b612293565b9050828152602081018484840111156127c7576127c6612553565b5b6127d2848285612589565b509392505050565b600082601f8301126127ef576127ee61221d565b5b81356127ff848260208601612798565b91505092915050565b60008060008060808587031215612822576128216120fa565b5b600061283087828801612208565b945050602061284187828801612208565b935050604061285287828801612300565b925050606085013567ffffffffffffffff811115612873576128726120ff565b5b61287f878288016127da565b91505092959194509250565b600080604083850312156128a2576128a16120fa565b5b60006128b085828601612208565b92505060206128c185828601612208565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061291257607f821691505b602082108103612925576129246128cb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612987602183612426565b91506129928261292b565b604082019050919050565b600060208201905081810360008301526129b68161297a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612a19603e83612426565b9150612a24826129bd565b604082019050919050565b60006020820190508181036000830152612a4881612a0c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612ab17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612a74565b612abb8683612a74565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612af8612af3612aee846122df565b612ad3565b6122df565b9050919050565b6000819050919050565b612b1283612add565b612b26612b1e82612aff565b848454612a81565b825550505050565b600090565b612b3b612b2e565b612b46818484612b09565b505050565b5b81811015612b6a57612b5f600082612b33565b600181019050612b4c565b5050565b601f821115612baf57612b8081612a4f565b612b8984612a64565b81016020851015612b98578190505b612bac612ba485612a64565b830182612b4b565b50505b505050565b600082821c905092915050565b6000612bd260001984600802612bb4565b1980831691505092915050565b6000612beb8383612bc1565b9150826002028217905092915050565b612c048261241b565b67ffffffffffffffff811115612c1d57612c1c612233565b5b612c2782546128fa565b612c32828285612b6e565b600060209050601f831160018114612c655760008415612c53578287015190505b612c5d8582612bdf565b865550612cc5565b601f198416612c7386612a4f565b60005b82811015612c9b57848901518255600182019150602085019450602081019050612c76565b86831015612cb85784890151612cb4601f891682612bc1565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612d29602e83612426565b9150612d3482612ccd565b604082019050919050565b60006020820190508181036000830152612d5881612d1c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000612dbb602b83612426565b9150612dc682612d5f565b604082019050919050565b60006020820190508181036000830152612dea81612dae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e2b826122df565b9150612e36836122df565b9250828203905081811115612e4e57612e4d612df1565b5b92915050565b7f4d617820616d6f756e74206d696e746564000000000000000000000000000000600082015250565b6000612e8a601183612426565b9150612e9582612e54565b602082019050919050565b60006020820190508181036000830152612eb981612e7d565b9050919050565b6000612ecb826122df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612efd57612efc612df1565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000612f64602c83612426565b9150612f6f82612f08565b604082019050919050565b60006020820190508181036000830152612f9381612f57565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612fff601883612426565b915061300a82612fc9565b602082019050919050565b6000602082019050818103600083015261302e81612ff2565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613091602983612426565b915061309c82613035565b604082019050919050565b600060208201905081810360008301526130c081613084565b9050919050565b600081905092915050565b600081546130df816128fa565b6130e981866130c7565b9450600182166000811461310457600181146131195761314c565b60ff198316865281151582028601935061314c565b61312285612a4f565b60005b8381101561314457815481890152600182019150602081019050613125565b838801955050505b50505092915050565b60006131608261241b565b61316a81856130c7565b935061317a818560208601612437565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006131bc6005836130c7565b91506131c782613186565b600582019050919050565b60006131de82856130d2565b91506131ea8284613155565b91506131f5826131af565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061325d602683612426565b915061326882613201565b604082019050919050565b6000602082019050818103600083015261328c81613250565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132c9602083612426565b91506132d482613293565b602082019050919050565b600060208201905081810360008301526132f8816132bc565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061335b602583612426565b9150613366826132ff565b604082019050919050565b6000602082019050818103600083015261338a8161334e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006133ed602483612426565b91506133f882613391565b604082019050919050565b6000602082019050818103600083015261341c816133e0565b9050919050565b600061342e826122df565b9150613439836122df565b925082820190508082111561345157613450612df1565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061348d601983612426565b915061349882613457565b602082019050919050565b600060208201905081810360008301526134bc81613480565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061351f603283612426565b915061352a826134c3565b604082019050919050565b6000602082019050818103600083015261354e81613512565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061358f826122df565b915061359a836122df565b9250826135aa576135a9613555565b5b828204905092915050565b60006135c0826122df565b91506135cb836122df565b9250826135db576135da613555565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061360d826135e6565b61361781856135f1565b9350613627818560208601612437565b61363081612222565b840191505092915050565b600060808201905061365060008301876124e9565b61365d60208301866124e9565b61366a6040830185612651565b818103606083015261367c8184613602565b905095945050505050565b60008151905061369681612130565b92915050565b6000602082840312156136b2576136b16120fa565b5b60006136c084828501613687565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006136ff602083612426565b915061370a826136c9565b602082019050919050565b6000602082019050818103600083015261372e816136f2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061376b601c83612426565b915061377682613735565b602082019050919050565b6000602082019050818103600083015261379a8161375e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220a4f3b2678c96fadd14a812c59ebdc7f65bbe98090011c4610fc6862349f759c164736f6c63430008110033