ETH Price: $2,504.43 (-0.81%)

Token

Dead Decor Co. (DDC)
 

Overview

Max Total Supply

149 DDC

Holders

134

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 DDC
0x071154d9a07c377606ca84b755ab5004f8e3f7ff
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DeadDecor

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract DeadDecor is ERC721Enumerable,Ownable {

    mapping (address => uint) roomReservations;

    address _proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;

    uint public constant MAX_SUPPLY = 500;
    uint public _reservedRoomPrice = 0.05 ether;
    uint public _roomPrice = 0.07 ether;
    string public _metadataURI;

    bool public _canBuyReservedRoom = false;
    bool public _canBuyRoom = false;

    constructor(string memory uri) ERC721("Dead Decor Co.", "DDC") {
        _metadataURI = uri;
    }

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

    function setMetadataURI(string memory uri) external onlyOwner {
        _metadataURI = uri;
    }

    function maxSupply() external pure returns (uint) {
        return MAX_SUPPLY;
    }

    function reserveRooms(address[] calldata addresses,uint[] calldata roomIds) external onlyOwner {
        for(uint i = 0;i<roomIds.length;i++)
        {
            roomReservations[addresses[i]] = roomIds[i];
        }
    }

    function getReservation(address addr) external view returns (uint) {
        return roomReservations[addr];
    }

    function canBuyReservedRoom() external view returns (bool){
        return _canBuyReservedRoom;
    }

    function toggleCanBuyReservedRoom() external onlyOwner {
        _canBuyReservedRoom = !_canBuyReservedRoom;
    }

    function toggleCanBuyRoom() external onlyOwner {
        _canBuyRoom = !_canBuyRoom;
    }

    function canBuyRoom() external view returns (bool){
        return _canBuyRoom;
    }

    function isApprovedForAll(address owner, address operator)
    override
    public
    view
    returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(_proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    function setReservedRoomPrice(uint price) external onlyOwner {
        _reservedRoomPrice = price;
    }

    function getReservedRoomPrice() external view returns (uint){
        return _reservedRoomPrice;
    }

    function setRoomPrice(uint price) external onlyOwner {
        _roomPrice = price;
    }

    function getRoomPrice() external view returns (uint){
        return _roomPrice;
    }

    function roomSold(uint roomId) external view returns (bool){
        return _exists(roomId);
    }

    function buyReservedRoom(uint roomId) public payable {
        require(msg.value >= _reservedRoomPrice,"More eth required");
        require(_canBuyReservedRoom,"You cannot buy your room yet.");
        require(roomReservations[msg.sender] == roomId,"This room is not reserved for you.");
        require(!_exists(roomId),"Room already sold.");
        _safeMint(msg.sender, roomId);
    }

    function buyRoom(uint roomId) public payable {
        require(msg.value >= _roomPrice,"More eth required");
        require(roomId > 0 && roomId < (MAX_SUPPLY + 1),"Room does not exist.");
        require(balanceOf(msg.sender) < 3,"You may only mint 3 rooms.");
        require(_canBuyRoom,"You cannot buy your room yet.");
        require(!_exists(roomId),"Room already sold.");
        _safeMint(msg.sender, roomId);
    }

    function withdraw() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Withdrawal failed");
    }
}

File 2 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @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 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

File 4 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {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 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 {
                    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 {}
}

File 5 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// 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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_canBuyReservedRoom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_canBuyRoom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reservedRoomPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_roomPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"roomId","type":"uint256"}],"name":"buyReservedRoom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"roomId","type":"uint256"}],"name":"buyRoom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"canBuyReservedRoom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canBuyRoom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getReservation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReservedRoomPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoomPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"roomIds","type":"uint256[]"}],"name":"reserveRooms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"roomId","type":"uint256"}],"name":"roomSold","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setReservedRoomPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setRoomPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleCanBuyReservedRoom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleCanBuyRoom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405273a5409ec958c83c3f309868babaca7c86dcb077c1600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555066b1a2bc2ec50000600d5566f8b0a10e470000600e556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff021916908315150217905550348015620000b257600080fd5b5060405162004f5c38038062004f5c8339818101604052810190620000d89190620004d3565b6040518060400160405280600e81526020017f44656164204465636f7220436f2e0000000000000000000000000000000000008152506040518060400160405280600381526020017f444443000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200015c92919062000286565b5080600190805190602001906200017592919062000286565b505050620001986200018c620001b860201b60201c565b620001c060201b60201c565b80600f9080519060200190620001b092919062000286565b505062000589565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002949062000553565b90600052602060002090601f016020900481019282620002b8576000855562000304565b82601f10620002d357805160ff191683800117855562000304565b8280016001018555821562000304579182015b8281111562000303578251825591602001919060010190620002e6565b5b50905062000313919062000317565b5090565b5b808211156200033257600081600090555060010162000318565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200039f8262000354565b810181811067ffffffffffffffff82111715620003c157620003c062000365565b5b80604052505050565b6000620003d662000336565b9050620003e4828262000394565b919050565b600067ffffffffffffffff82111562000407576200040662000365565b5b620004128262000354565b9050602081019050919050565b60005b838110156200043f57808201518184015260208101905062000422565b838111156200044f576000848401525b50505050565b60006200046c6200046684620003e9565b620003ca565b9050828152602081018484840111156200048b576200048a6200034f565b5b620004988482856200041f565b509392505050565b600082601f830112620004b857620004b76200034a565b5b8151620004ca84826020860162000455565b91505092915050565b600060208284031215620004ec57620004eb62000340565b5b600082015167ffffffffffffffff8111156200050d576200050c62000345565b5b6200051b84828501620004a0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200056c57607f821691505b6020821081141562000583576200058262000524565b5b50919050565b6149c380620005996000396000f3fe6080604052600436106102465760003560e01c8063750521f511610139578063b2066f80116100b6578063c87b56dd1161007a578063c87b56dd1461084b578063d4a6762314610888578063d5abeb01146108b3578063e985e9c5146108de578063ed8f9cf91461091b578063f2fde38b1461093757610246565b8063b2066f8014610752578063b3ab7cd21461078f578063b454c5fc146107ba578063b88d4fde146107e5578063bd25262f1461080e57610246565b80638bbe86e1116100fd5780638bbe86e11461067f5780638da5cb5b146106a85780639075a8c7146106d357806395d89b41146106fe578063a22cb4651461072957610246565b8063750521f5146105c05780637976ba56146105e95780637dc194da1461061457806382cb93f51461063f5780638788713a1461066857610246565b80633e3f4f5c116101c757806357a3b5361161018b57806357a3b536146104fc5780636352211e1461051357806370a0823114610550578063715018a61461058d5780637406f0f9146105a457610246565b80633e3f4f5c1461041757806342842e0e14610440578063443182d0146104695780634f6ccce71461049457806353f80808146104d157610246565b806323b872dd1161020e57806323b872dd146103445780632f745c591461036d57806332cb6b0c146103aa5780633ccfd60b146103d55780633d32d103146103ec57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613109565b610960565b60405161027f9190613151565b60405180910390f35b34801561029457600080fd5b5061029d6109da565b6040516102aa9190613205565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d5919061325d565b610a6c565b6040516102e791906132cb565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613312565b610af1565b005b34801561032557600080fd5b5061032e610c09565b60405161033b9190613361565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061337c565b610c16565b005b34801561037957600080fd5b50610394600480360381019061038f9190613312565b610c76565b6040516103a19190613361565b60405180910390f35b3480156103b657600080fd5b506103bf610d1b565b6040516103cc9190613361565b60405180910390f35b3480156103e157600080fd5b506103ea610d21565b005b3480156103f857600080fd5b50610401610e4c565b60405161040e9190613361565b60405180910390f35b34801561042357600080fd5b5061043e6004803603810190610439919061325d565b610e52565b005b34801561044c57600080fd5b506104676004803603810190610462919061337c565b610ed8565b005b34801561047557600080fd5b5061047e610ef8565b60405161048b9190613361565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b6919061325d565b610f02565b6040516104c89190613361565b60405180910390f35b3480156104dd57600080fd5b506104e6610f73565b6040516104f39190613151565b60405180910390f35b34801561050857600080fd5b50610511610f8a565b005b34801561051f57600080fd5b5061053a6004803603810190610535919061325d565b611032565b60405161054791906132cb565b60405180910390f35b34801561055c57600080fd5b50610577600480360381019061057291906133cf565b6110e4565b6040516105849190613361565b60405180910390f35b34801561059957600080fd5b506105a261119c565b005b6105be60048036038101906105b9919061325d565b611224565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613531565b61138f565b005b3480156105f557600080fd5b506105fe611425565b60405161060b9190613151565b60405180910390f35b34801561062057600080fd5b50610629611438565b6040516106369190613151565b60405180910390f35b34801561064b57600080fd5b506106666004803603810190610661919061325d565b61144b565b005b34801561067457600080fd5b5061067d6114d1565b005b34801561068b57600080fd5b506106a660048036038101906106a19190613630565b611579565b005b3480156106b457600080fd5b506106bd6116a1565b6040516106ca91906132cb565b60405180910390f35b3480156106df57600080fd5b506106e86116cb565b6040516106f59190613361565b60405180910390f35b34801561070a57600080fd5b506107136116d5565b6040516107209190613205565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b91906136dd565b611767565b005b34801561075e57600080fd5b50610779600480360381019061077491906133cf565b61177d565b6040516107869190613361565b60405180910390f35b34801561079b57600080fd5b506107a46117c6565b6040516107b19190613151565b60405180910390f35b3480156107c657600080fd5b506107cf6117dd565b6040516107dc9190613361565b60405180910390f35b3480156107f157600080fd5b5061080c600480360381019061080791906137be565b6117e3565b005b34801561081a57600080fd5b506108356004803603810190610830919061325d565b611845565b6040516108429190613151565b60405180910390f35b34801561085757600080fd5b50610872600480360381019061086d919061325d565b611857565b60405161087f9190613205565b60405180910390f35b34801561089457600080fd5b5061089d6118fe565b6040516108aa9190613205565b60405180910390f35b3480156108bf57600080fd5b506108c861198c565b6040516108d59190613361565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613841565b611996565b6040516109129190613151565b60405180910390f35b6109356004803603810190610930919061325d565b611a98565b005b34801561094357600080fd5b5061095e600480360381019061095991906133cf565b611c29565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d357506109d282611d21565b5b9050919050565b6060600080546109e9906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a15906138b0565b8015610a625780601f10610a3757610100808354040283529160200191610a62565b820191906000526020600020905b815481529060010190602001808311610a4557829003601f168201915b5050505050905090565b6000610a7782611e03565b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad90613954565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afc82611032565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b64906139e6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8c611e6f565b73ffffffffffffffffffffffffffffffffffffffff161480610bbb5750610bba81610bb5611e6f565b611996565b5b610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190613a78565b60405180910390fd5b610c048383611e77565b505050565b6000600880549050905090565b610c27610c21611e6f565b82611f30565b610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90613b0a565b60405180910390fd5b610c7183838361200e565b505050565b6000610c81836110e4565b8210610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb990613b9c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6101f481565b610d29611e6f565b73ffffffffffffffffffffffffffffffffffffffff16610d476116a1565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490613c08565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610dc390613c59565b60006040518083038185875af1925050503d8060008114610e00576040519150601f19603f3d011682016040523d82523d6000602084013e610e05565b606091505b5050905080610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613cba565b60405180910390fd5b50565b600e5481565b610e5a611e6f565b73ffffffffffffffffffffffffffffffffffffffff16610e786116a1565b73ffffffffffffffffffffffffffffffffffffffff1614610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590613c08565b60405180910390fd5b80600d8190555050565b610ef3838383604051806020016040528060008152506117e3565b505050565b6000600d54905090565b6000610f0c610c09565b8210610f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4490613d4c565b60405180910390fd5b60088281548110610f6157610f60613d6c565b5b90600052602060002001549050919050565b6000601060009054906101000a900460ff16905090565b610f92611e6f565b73ffffffffffffffffffffffffffffffffffffffff16610fb06116a1565b73ffffffffffffffffffffffffffffffffffffffff1614611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613c08565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290613e0d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c90613e9f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111a4611e6f565b73ffffffffffffffffffffffffffffffffffffffff166111c26116a1565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90613c08565b60405180910390fd5b611222600061226a565b565b600d54341015611269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126090613f0b565b60405180910390fd5b601060009054906101000a900460ff166112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af90613f77565b60405180910390fd5b80600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090614009565b60405180910390fd5b61134281611e03565b15611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990614075565b60405180910390fd5b61138c3382612330565b50565b611397611e6f565b73ffffffffffffffffffffffffffffffffffffffff166113b56116a1565b73ffffffffffffffffffffffffffffffffffffffff161461140b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140290613c08565b60405180910390fd5b80600f9080519060200190611421929190612ffa565b5050565b601060009054906101000a900460ff1681565b601060019054906101000a900460ff1681565b611453611e6f565b73ffffffffffffffffffffffffffffffffffffffff166114716116a1565b73ffffffffffffffffffffffffffffffffffffffff16146114c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114be90613c08565b60405180910390fd5b80600e8190555050565b6114d9611e6f565b73ffffffffffffffffffffffffffffffffffffffff166114f76116a1565b73ffffffffffffffffffffffffffffffffffffffff161461154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490613c08565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b611581611e6f565b73ffffffffffffffffffffffffffffffffffffffff1661159f6116a1565b73ffffffffffffffffffffffffffffffffffffffff16146115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90613c08565b60405180910390fd5b60005b8282905081101561169a5782828281811061161657611615613d6c565b5b90506020020135600b600087878581811061163457611633613d6c565b5b905060200201602081019061164991906133cf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611692906140c4565b9150506115f8565b5050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e54905090565b6060600180546116e4906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611710906138b0565b801561175d5780601f106117325761010080835404028352916020019161175d565b820191906000526020600020905b81548152906001019060200180831161174057829003601f168201915b5050505050905090565b611779611772611e6f565b838361234e565b5050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000601060019054906101000a900460ff16905090565b600d5481565b6117f46117ee611e6f565b83611f30565b611833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182a90613b0a565b60405180910390fd5b61183f848484846124bb565b50505050565b600061185082611e03565b9050919050565b606061186282611e03565b6118a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118989061417f565b60405180910390fd5b60006118ab612517565b905060008151116118cb57604051806020016040528060008152506118f6565b806118d5846125a9565b6040516020016118e69291906141db565b6040516020818303038152906040525b915050919050565b600f805461190b906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611937906138b0565b80156119845780601f1061195957610100808354040283529160200191611984565b820191906000526020600020905b81548152906001019060200180831161196757829003601f168201915b505050505081565b60006101f4905090565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611a0e91906132cb565b60206040518083038186803b158015611a2657600080fd5b505afa158015611a3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5e919061423d565b73ffffffffffffffffffffffffffffffffffffffff161415611a84576001915050611a92565b611a8e848461270a565b9150505b92915050565b600e54341015611add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad490613f0b565b60405180910390fd5b600081118015611afa575060016101f4611af7919061426a565b81105b611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b309061430c565b60405180910390fd5b6003611b44336110e4565b10611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b90614378565b60405180910390fd5b601060019054906101000a900460ff16611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca90613f77565b60405180910390fd5b611bdc81611e03565b15611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1390614075565b60405180910390fd5b611c263382612330565b50565b611c31611e6f565b73ffffffffffffffffffffffffffffffffffffffff16611c4f6116a1565b73ffffffffffffffffffffffffffffffffffffffff1614611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90613c08565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0c9061440a565b60405180910390fd5b611d1e8161226a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dec57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611dfc5750611dfb8261279e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eea83611032565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f3b82611e03565b611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f719061449c565b60405180910390fd5b6000611f8583611032565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ff457508373ffffffffffffffffffffffffffffffffffffffff16611fdc84610a6c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061200557506120048185611996565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661202e82611032565b73ffffffffffffffffffffffffffffffffffffffff1614612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b9061452e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120eb906145c0565b60405180910390fd5b6120ff838383612808565b61210a600082611e77565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215a91906145e0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121b1919061426a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61234a82826040518060200160405280600081525061291c565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b490614660565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124ae9190613151565b60405180910390a3505050565b6124c684848461200e565b6124d284848484612977565b612511576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612508906146f2565b60405180910390fd5b50505050565b6060600f8054612526906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054612552906138b0565b801561259f5780601f106125745761010080835404028352916020019161259f565b820191906000526020600020905b81548152906001019060200180831161258257829003601f168201915b5050505050905090565b606060008214156125f1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612705565b600082905060005b6000821461262357808061260c906140c4565b915050600a8261261c9190614741565b91506125f9565b60008167ffffffffffffffff81111561263f5761263e613406565b5b6040519080825280601f01601f1916602001820160405280156126715781602001600182028036833780820191505090505b5090505b600085146126fe5760018261268a91906145e0565b9150600a856126999190614772565b60306126a5919061426a565b60f81b8183815181106126bb576126ba613d6c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126f79190614741565b9450612675565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612813838383612b0e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128565761285181612b13565b612895565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612894576128938382612b5c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d8576128d381612cc9565b612917565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612916576129158282612d9a565b5b5b505050565b6129268383612e19565b6129336000848484612977565b612972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612969906146f2565b60405180910390fd5b505050565b60006129988473ffffffffffffffffffffffffffffffffffffffff16612fe7565b15612b01578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129c1611e6f565b8786866040518563ffffffff1660e01b81526004016129e394939291906147f8565b602060405180830381600087803b1580156129fd57600080fd5b505af1925050508015612a2e57506040513d601f19601f82011682018060405250810190612a2b9190614859565b60015b612ab1573d8060008114612a5e576040519150601f19603f3d011682016040523d82523d6000602084013e612a63565b606091505b50600081511415612aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa0906146f2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b06565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b69846110e4565b612b7391906145e0565b9050600060076000848152602001908152602001600020549050818114612c58576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cdd91906145e0565b9050600060096000848152602001908152602001600020549050600060088381548110612d0d57612d0c613d6c565b5b906000526020600020015490508060088381548110612d2f57612d2e613d6c565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d7e57612d7d614886565b5b6001900381819060005260206000200160009055905550505050565b6000612da5836110e4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090614901565b60405180910390fd5b612e9281611e03565b15612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec99061496d565b60405180910390fd5b612ede60008383612808565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2e919061426a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613006906138b0565b90600052602060002090601f016020900481019282613028576000855561306f565b82601f1061304157805160ff191683800117855561306f565b8280016001018555821561306f579182015b8281111561306e578251825591602001919060010190613053565b5b50905061307c9190613080565b5090565b5b80821115613099576000816000905550600101613081565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130e6816130b1565b81146130f157600080fd5b50565b600081359050613103816130dd565b92915050565b60006020828403121561311f5761311e6130a7565b5b600061312d848285016130f4565b91505092915050565b60008115159050919050565b61314b81613136565b82525050565b60006020820190506131666000830184613142565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a657808201518184015260208101905061318b565b838111156131b5576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d78261316c565b6131e18185613177565b93506131f1818560208601613188565b6131fa816131bb565b840191505092915050565b6000602082019050818103600083015261321f81846131cc565b905092915050565b6000819050919050565b61323a81613227565b811461324557600080fd5b50565b60008135905061325781613231565b92915050565b600060208284031215613273576132726130a7565b5b600061328184828501613248565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b58261328a565b9050919050565b6132c5816132aa565b82525050565b60006020820190506132e060008301846132bc565b92915050565b6132ef816132aa565b81146132fa57600080fd5b50565b60008135905061330c816132e6565b92915050565b60008060408385031215613329576133286130a7565b5b6000613337858286016132fd565b925050602061334885828601613248565b9150509250929050565b61335b81613227565b82525050565b60006020820190506133766000830184613352565b92915050565b600080600060608486031215613395576133946130a7565b5b60006133a3868287016132fd565b93505060206133b4868287016132fd565b92505060406133c586828701613248565b9150509250925092565b6000602082840312156133e5576133e46130a7565b5b60006133f3848285016132fd565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61343e826131bb565b810181811067ffffffffffffffff8211171561345d5761345c613406565b5b80604052505050565b600061347061309d565b905061347c8282613435565b919050565b600067ffffffffffffffff82111561349c5761349b613406565b5b6134a5826131bb565b9050602081019050919050565b82818337600083830152505050565b60006134d46134cf84613481565b613466565b9050828152602081018484840111156134f0576134ef613401565b5b6134fb8482856134b2565b509392505050565b600082601f830112613518576135176133fc565b5b81356135288482602086016134c1565b91505092915050565b600060208284031215613547576135466130a7565b5b600082013567ffffffffffffffff811115613565576135646130ac565b5b61357184828501613503565b91505092915050565b600080fd5b600080fd5b60008083601f84011261359a576135996133fc565b5b8235905067ffffffffffffffff8111156135b7576135b661357a565b5b6020830191508360208202830111156135d3576135d261357f565b5b9250929050565b60008083601f8401126135f0576135ef6133fc565b5b8235905067ffffffffffffffff81111561360d5761360c61357a565b5b6020830191508360208202830111156136295761362861357f565b5b9250929050565b6000806000806040858703121561364a576136496130a7565b5b600085013567ffffffffffffffff811115613668576136676130ac565b5b61367487828801613584565b9450945050602085013567ffffffffffffffff811115613697576136966130ac565b5b6136a3878288016135da565b925092505092959194509250565b6136ba81613136565b81146136c557600080fd5b50565b6000813590506136d7816136b1565b92915050565b600080604083850312156136f4576136f36130a7565b5b6000613702858286016132fd565b9250506020613713858286016136c8565b9150509250929050565b600067ffffffffffffffff82111561373857613737613406565b5b613741826131bb565b9050602081019050919050565b600061376161375c8461371d565b613466565b90508281526020810184848401111561377d5761377c613401565b5b6137888482856134b2565b509392505050565b600082601f8301126137a5576137a46133fc565b5b81356137b584826020860161374e565b91505092915050565b600080600080608085870312156137d8576137d76130a7565b5b60006137e6878288016132fd565b94505060206137f7878288016132fd565b935050604061380887828801613248565b925050606085013567ffffffffffffffff811115613829576138286130ac565b5b61383587828801613790565b91505092959194509250565b60008060408385031215613858576138576130a7565b5b6000613866858286016132fd565b9250506020613877858286016132fd565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138c857607f821691505b602082108114156138dc576138db613881565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061393e602c83613177565b9150613949826138e2565b604082019050919050565b6000602082019050818103600083015261396d81613931565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139d0602183613177565b91506139db82613974565b604082019050919050565b600060208201905081810360008301526139ff816139c3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613a62603883613177565b9150613a6d82613a06565b604082019050919050565b60006020820190508181036000830152613a9181613a55565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613af4603183613177565b9150613aff82613a98565b604082019050919050565b60006020820190508181036000830152613b2381613ae7565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613b86602b83613177565b9150613b9182613b2a565b604082019050919050565b60006020820190508181036000830152613bb581613b79565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bf2602083613177565b9150613bfd82613bbc565b602082019050919050565b60006020820190508181036000830152613c2181613be5565b9050919050565b600081905092915050565b50565b6000613c43600083613c28565b9150613c4e82613c33565b600082019050919050565b6000613c6482613c36565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b6000613ca4601183613177565b9150613caf82613c6e565b602082019050919050565b60006020820190508181036000830152613cd381613c97565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613d36602c83613177565b9150613d4182613cda565b604082019050919050565b60006020820190508181036000830152613d6581613d29565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613df7602983613177565b9150613e0282613d9b565b604082019050919050565b60006020820190508181036000830152613e2681613dea565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613e89602a83613177565b9150613e9482613e2d565b604082019050919050565b60006020820190508181036000830152613eb881613e7c565b9050919050565b7f4d6f726520657468207265717569726564000000000000000000000000000000600082015250565b6000613ef5601183613177565b9150613f0082613ebf565b602082019050919050565b60006020820190508181036000830152613f2481613ee8565b9050919050565b7f596f752063616e6e6f742062757920796f757220726f6f6d207965742e000000600082015250565b6000613f61601d83613177565b9150613f6c82613f2b565b602082019050919050565b60006020820190508181036000830152613f9081613f54565b9050919050565b7f5468697320726f6f6d206973206e6f7420726573657276656420666f7220796f60008201527f752e000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ff3602283613177565b9150613ffe82613f97565b604082019050919050565b6000602082019050818103600083015261402281613fe6565b9050919050565b7f526f6f6d20616c726561647920736f6c642e0000000000000000000000000000600082015250565b600061405f601283613177565b915061406a82614029565b602082019050919050565b6000602082019050818103600083015261408e81614052565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140cf82613227565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561410257614101614095565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614169602f83613177565b91506141748261410d565b604082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b600081905092915050565b60006141b58261316c565b6141bf818561419f565b93506141cf818560208601613188565b80840191505092915050565b60006141e782856141aa565b91506141f382846141aa565b91508190509392505050565b600061420a826132aa565b9050919050565b61421a816141ff565b811461422557600080fd5b50565b60008151905061423781614211565b92915050565b600060208284031215614253576142526130a7565b5b600061426184828501614228565b91505092915050565b600061427582613227565b915061428083613227565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b5576142b4614095565b5b828201905092915050565b7f526f6f6d20646f6573206e6f742065786973742e000000000000000000000000600082015250565b60006142f6601483613177565b9150614301826142c0565b602082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b7f596f75206d6179206f6e6c79206d696e74203320726f6f6d732e000000000000600082015250565b6000614362601a83613177565b915061436d8261432c565b602082019050919050565b6000602082019050818103600083015261439181614355565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143f4602683613177565b91506143ff82614398565b604082019050919050565b60006020820190508181036000830152614423816143e7565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614486602c83613177565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614518602983613177565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006145aa602483613177565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b60006145eb82613227565b91506145f683613227565b92508282101561460957614608614095565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061464a601983613177565b915061465582614614565b602082019050919050565b600060208201905081810360008301526146798161463d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006146dc603283613177565b91506146e782614680565b604082019050919050565b6000602082019050818103600083015261470b816146cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061474c82613227565b915061475783613227565b92508261476757614766614712565b5b828204905092915050565b600061477d82613227565b915061478883613227565b92508261479857614797614712565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006147ca826147a3565b6147d481856147ae565b93506147e4818560208601613188565b6147ed816131bb565b840191505092915050565b600060808201905061480d60008301876132bc565b61481a60208301866132bc565b6148276040830185613352565b818103606083015261483981846147bf565b905095945050505050565b600081519050614853816130dd565b92915050565b60006020828403121561486f5761486e6130a7565b5b600061487d84828501614844565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148eb602083613177565b91506148f6826148b5565b602082019050919050565b6000602082019050818103600083015261491a816148de565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614957601c83613177565b915061496282614921565b602082019050919050565b600060208201905081810360008301526149868161494a565b905091905056fea26469706673582212201c6ad736700f074d37b580141734eda322d19b8c06672461e1c77c3d9d468a3b64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f646561646465636f722e636f2f6d657461646174612f0000

Deployed Bytecode

0x6080604052600436106102465760003560e01c8063750521f511610139578063b2066f80116100b6578063c87b56dd1161007a578063c87b56dd1461084b578063d4a6762314610888578063d5abeb01146108b3578063e985e9c5146108de578063ed8f9cf91461091b578063f2fde38b1461093757610246565b8063b2066f8014610752578063b3ab7cd21461078f578063b454c5fc146107ba578063b88d4fde146107e5578063bd25262f1461080e57610246565b80638bbe86e1116100fd5780638bbe86e11461067f5780638da5cb5b146106a85780639075a8c7146106d357806395d89b41146106fe578063a22cb4651461072957610246565b8063750521f5146105c05780637976ba56146105e95780637dc194da1461061457806382cb93f51461063f5780638788713a1461066857610246565b80633e3f4f5c116101c757806357a3b5361161018b57806357a3b536146104fc5780636352211e1461051357806370a0823114610550578063715018a61461058d5780637406f0f9146105a457610246565b80633e3f4f5c1461041757806342842e0e14610440578063443182d0146104695780634f6ccce71461049457806353f80808146104d157610246565b806323b872dd1161020e57806323b872dd146103445780632f745c591461036d57806332cb6b0c146103aa5780633ccfd60b146103d55780633d32d103146103ec57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613109565b610960565b60405161027f9190613151565b60405180910390f35b34801561029457600080fd5b5061029d6109da565b6040516102aa9190613205565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d5919061325d565b610a6c565b6040516102e791906132cb565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613312565b610af1565b005b34801561032557600080fd5b5061032e610c09565b60405161033b9190613361565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061337c565b610c16565b005b34801561037957600080fd5b50610394600480360381019061038f9190613312565b610c76565b6040516103a19190613361565b60405180910390f35b3480156103b657600080fd5b506103bf610d1b565b6040516103cc9190613361565b60405180910390f35b3480156103e157600080fd5b506103ea610d21565b005b3480156103f857600080fd5b50610401610e4c565b60405161040e9190613361565b60405180910390f35b34801561042357600080fd5b5061043e6004803603810190610439919061325d565b610e52565b005b34801561044c57600080fd5b506104676004803603810190610462919061337c565b610ed8565b005b34801561047557600080fd5b5061047e610ef8565b60405161048b9190613361565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b6919061325d565b610f02565b6040516104c89190613361565b60405180910390f35b3480156104dd57600080fd5b506104e6610f73565b6040516104f39190613151565b60405180910390f35b34801561050857600080fd5b50610511610f8a565b005b34801561051f57600080fd5b5061053a6004803603810190610535919061325d565b611032565b60405161054791906132cb565b60405180910390f35b34801561055c57600080fd5b50610577600480360381019061057291906133cf565b6110e4565b6040516105849190613361565b60405180910390f35b34801561059957600080fd5b506105a261119c565b005b6105be60048036038101906105b9919061325d565b611224565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613531565b61138f565b005b3480156105f557600080fd5b506105fe611425565b60405161060b9190613151565b60405180910390f35b34801561062057600080fd5b50610629611438565b6040516106369190613151565b60405180910390f35b34801561064b57600080fd5b506106666004803603810190610661919061325d565b61144b565b005b34801561067457600080fd5b5061067d6114d1565b005b34801561068b57600080fd5b506106a660048036038101906106a19190613630565b611579565b005b3480156106b457600080fd5b506106bd6116a1565b6040516106ca91906132cb565b60405180910390f35b3480156106df57600080fd5b506106e86116cb565b6040516106f59190613361565b60405180910390f35b34801561070a57600080fd5b506107136116d5565b6040516107209190613205565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b91906136dd565b611767565b005b34801561075e57600080fd5b50610779600480360381019061077491906133cf565b61177d565b6040516107869190613361565b60405180910390f35b34801561079b57600080fd5b506107a46117c6565b6040516107b19190613151565b60405180910390f35b3480156107c657600080fd5b506107cf6117dd565b6040516107dc9190613361565b60405180910390f35b3480156107f157600080fd5b5061080c600480360381019061080791906137be565b6117e3565b005b34801561081a57600080fd5b506108356004803603810190610830919061325d565b611845565b6040516108429190613151565b60405180910390f35b34801561085757600080fd5b50610872600480360381019061086d919061325d565b611857565b60405161087f9190613205565b60405180910390f35b34801561089457600080fd5b5061089d6118fe565b6040516108aa9190613205565b60405180910390f35b3480156108bf57600080fd5b506108c861198c565b6040516108d59190613361565b60405180910390f35b3480156108ea57600080fd5b5061090560048036038101906109009190613841565b611996565b6040516109129190613151565b60405180910390f35b6109356004803603810190610930919061325d565b611a98565b005b34801561094357600080fd5b5061095e600480360381019061095991906133cf565b611c29565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d357506109d282611d21565b5b9050919050565b6060600080546109e9906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a15906138b0565b8015610a625780601f10610a3757610100808354040283529160200191610a62565b820191906000526020600020905b815481529060010190602001808311610a4557829003601f168201915b5050505050905090565b6000610a7782611e03565b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad90613954565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afc82611032565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b64906139e6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8c611e6f565b73ffffffffffffffffffffffffffffffffffffffff161480610bbb5750610bba81610bb5611e6f565b611996565b5b610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190613a78565b60405180910390fd5b610c048383611e77565b505050565b6000600880549050905090565b610c27610c21611e6f565b82611f30565b610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90613b0a565b60405180910390fd5b610c7183838361200e565b505050565b6000610c81836110e4565b8210610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb990613b9c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6101f481565b610d29611e6f565b73ffffffffffffffffffffffffffffffffffffffff16610d476116a1565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490613c08565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610dc390613c59565b60006040518083038185875af1925050503d8060008114610e00576040519150601f19603f3d011682016040523d82523d6000602084013e610e05565b606091505b5050905080610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613cba565b60405180910390fd5b50565b600e5481565b610e5a611e6f565b73ffffffffffffffffffffffffffffffffffffffff16610e786116a1565b73ffffffffffffffffffffffffffffffffffffffff1614610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590613c08565b60405180910390fd5b80600d8190555050565b610ef3838383604051806020016040528060008152506117e3565b505050565b6000600d54905090565b6000610f0c610c09565b8210610f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4490613d4c565b60405180910390fd5b60088281548110610f6157610f60613d6c565b5b90600052602060002001549050919050565b6000601060009054906101000a900460ff16905090565b610f92611e6f565b73ffffffffffffffffffffffffffffffffffffffff16610fb06116a1565b73ffffffffffffffffffffffffffffffffffffffff1614611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613c08565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290613e0d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c90613e9f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111a4611e6f565b73ffffffffffffffffffffffffffffffffffffffff166111c26116a1565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90613c08565b60405180910390fd5b611222600061226a565b565b600d54341015611269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126090613f0b565b60405180910390fd5b601060009054906101000a900460ff166112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af90613f77565b60405180910390fd5b80600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090614009565b60405180910390fd5b61134281611e03565b15611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990614075565b60405180910390fd5b61138c3382612330565b50565b611397611e6f565b73ffffffffffffffffffffffffffffffffffffffff166113b56116a1565b73ffffffffffffffffffffffffffffffffffffffff161461140b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140290613c08565b60405180910390fd5b80600f9080519060200190611421929190612ffa565b5050565b601060009054906101000a900460ff1681565b601060019054906101000a900460ff1681565b611453611e6f565b73ffffffffffffffffffffffffffffffffffffffff166114716116a1565b73ffffffffffffffffffffffffffffffffffffffff16146114c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114be90613c08565b60405180910390fd5b80600e8190555050565b6114d9611e6f565b73ffffffffffffffffffffffffffffffffffffffff166114f76116a1565b73ffffffffffffffffffffffffffffffffffffffff161461154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490613c08565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b611581611e6f565b73ffffffffffffffffffffffffffffffffffffffff1661159f6116a1565b73ffffffffffffffffffffffffffffffffffffffff16146115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90613c08565b60405180910390fd5b60005b8282905081101561169a5782828281811061161657611615613d6c565b5b90506020020135600b600087878581811061163457611633613d6c565b5b905060200201602081019061164991906133cf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611692906140c4565b9150506115f8565b5050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e54905090565b6060600180546116e4906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611710906138b0565b801561175d5780601f106117325761010080835404028352916020019161175d565b820191906000526020600020905b81548152906001019060200180831161174057829003601f168201915b5050505050905090565b611779611772611e6f565b838361234e565b5050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000601060019054906101000a900460ff16905090565b600d5481565b6117f46117ee611e6f565b83611f30565b611833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182a90613b0a565b60405180910390fd5b61183f848484846124bb565b50505050565b600061185082611e03565b9050919050565b606061186282611e03565b6118a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118989061417f565b60405180910390fd5b60006118ab612517565b905060008151116118cb57604051806020016040528060008152506118f6565b806118d5846125a9565b6040516020016118e69291906141db565b6040516020818303038152906040525b915050919050565b600f805461190b906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611937906138b0565b80156119845780601f1061195957610100808354040283529160200191611984565b820191906000526020600020905b81548152906001019060200180831161196757829003601f168201915b505050505081565b60006101f4905090565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611a0e91906132cb565b60206040518083038186803b158015611a2657600080fd5b505afa158015611a3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5e919061423d565b73ffffffffffffffffffffffffffffffffffffffff161415611a84576001915050611a92565b611a8e848461270a565b9150505b92915050565b600e54341015611add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad490613f0b565b60405180910390fd5b600081118015611afa575060016101f4611af7919061426a565b81105b611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b309061430c565b60405180910390fd5b6003611b44336110e4565b10611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b90614378565b60405180910390fd5b601060019054906101000a900460ff16611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca90613f77565b60405180910390fd5b611bdc81611e03565b15611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1390614075565b60405180910390fd5b611c263382612330565b50565b611c31611e6f565b73ffffffffffffffffffffffffffffffffffffffff16611c4f6116a1565b73ffffffffffffffffffffffffffffffffffffffff1614611ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9c90613c08565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0c9061440a565b60405180910390fd5b611d1e8161226a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dec57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611dfc5750611dfb8261279e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eea83611032565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f3b82611e03565b611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f719061449c565b60405180910390fd5b6000611f8583611032565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ff457508373ffffffffffffffffffffffffffffffffffffffff16611fdc84610a6c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061200557506120048185611996565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661202e82611032565b73ffffffffffffffffffffffffffffffffffffffff1614612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b9061452e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120eb906145c0565b60405180910390fd5b6120ff838383612808565b61210a600082611e77565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215a91906145e0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121b1919061426a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61234a82826040518060200160405280600081525061291c565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b490614660565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124ae9190613151565b60405180910390a3505050565b6124c684848461200e565b6124d284848484612977565b612511576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612508906146f2565b60405180910390fd5b50505050565b6060600f8054612526906138b0565b80601f0160208091040260200160405190810160405280929190818152602001828054612552906138b0565b801561259f5780601f106125745761010080835404028352916020019161259f565b820191906000526020600020905b81548152906001019060200180831161258257829003601f168201915b5050505050905090565b606060008214156125f1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612705565b600082905060005b6000821461262357808061260c906140c4565b915050600a8261261c9190614741565b91506125f9565b60008167ffffffffffffffff81111561263f5761263e613406565b5b6040519080825280601f01601f1916602001820160405280156126715781602001600182028036833780820191505090505b5090505b600085146126fe5760018261268a91906145e0565b9150600a856126999190614772565b60306126a5919061426a565b60f81b8183815181106126bb576126ba613d6c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126f79190614741565b9450612675565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612813838383612b0e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128565761285181612b13565b612895565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612894576128938382612b5c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d8576128d381612cc9565b612917565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612916576129158282612d9a565b5b5b505050565b6129268383612e19565b6129336000848484612977565b612972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612969906146f2565b60405180910390fd5b505050565b60006129988473ffffffffffffffffffffffffffffffffffffffff16612fe7565b15612b01578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129c1611e6f565b8786866040518563ffffffff1660e01b81526004016129e394939291906147f8565b602060405180830381600087803b1580156129fd57600080fd5b505af1925050508015612a2e57506040513d601f19601f82011682018060405250810190612a2b9190614859565b60015b612ab1573d8060008114612a5e576040519150601f19603f3d011682016040523d82523d6000602084013e612a63565b606091505b50600081511415612aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa0906146f2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b06565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b69846110e4565b612b7391906145e0565b9050600060076000848152602001908152602001600020549050818114612c58576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cdd91906145e0565b9050600060096000848152602001908152602001600020549050600060088381548110612d0d57612d0c613d6c565b5b906000526020600020015490508060088381548110612d2f57612d2e613d6c565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d7e57612d7d614886565b5b6001900381819060005260206000200160009055905550505050565b6000612da5836110e4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090614901565b60405180910390fd5b612e9281611e03565b15612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec99061496d565b60405180910390fd5b612ede60008383612808565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2e919061426a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613006906138b0565b90600052602060002090601f016020900481019282613028576000855561306f565b82601f1061304157805160ff191683800117855561306f565b8280016001018555821561306f579182015b8281111561306e578251825591602001919060010190613053565b5b50905061307c9190613080565b5090565b5b80821115613099576000816000905550600101613081565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130e6816130b1565b81146130f157600080fd5b50565b600081359050613103816130dd565b92915050565b60006020828403121561311f5761311e6130a7565b5b600061312d848285016130f4565b91505092915050565b60008115159050919050565b61314b81613136565b82525050565b60006020820190506131666000830184613142565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a657808201518184015260208101905061318b565b838111156131b5576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d78261316c565b6131e18185613177565b93506131f1818560208601613188565b6131fa816131bb565b840191505092915050565b6000602082019050818103600083015261321f81846131cc565b905092915050565b6000819050919050565b61323a81613227565b811461324557600080fd5b50565b60008135905061325781613231565b92915050565b600060208284031215613273576132726130a7565b5b600061328184828501613248565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b58261328a565b9050919050565b6132c5816132aa565b82525050565b60006020820190506132e060008301846132bc565b92915050565b6132ef816132aa565b81146132fa57600080fd5b50565b60008135905061330c816132e6565b92915050565b60008060408385031215613329576133286130a7565b5b6000613337858286016132fd565b925050602061334885828601613248565b9150509250929050565b61335b81613227565b82525050565b60006020820190506133766000830184613352565b92915050565b600080600060608486031215613395576133946130a7565b5b60006133a3868287016132fd565b93505060206133b4868287016132fd565b92505060406133c586828701613248565b9150509250925092565b6000602082840312156133e5576133e46130a7565b5b60006133f3848285016132fd565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61343e826131bb565b810181811067ffffffffffffffff8211171561345d5761345c613406565b5b80604052505050565b600061347061309d565b905061347c8282613435565b919050565b600067ffffffffffffffff82111561349c5761349b613406565b5b6134a5826131bb565b9050602081019050919050565b82818337600083830152505050565b60006134d46134cf84613481565b613466565b9050828152602081018484840111156134f0576134ef613401565b5b6134fb8482856134b2565b509392505050565b600082601f830112613518576135176133fc565b5b81356135288482602086016134c1565b91505092915050565b600060208284031215613547576135466130a7565b5b600082013567ffffffffffffffff811115613565576135646130ac565b5b61357184828501613503565b91505092915050565b600080fd5b600080fd5b60008083601f84011261359a576135996133fc565b5b8235905067ffffffffffffffff8111156135b7576135b661357a565b5b6020830191508360208202830111156135d3576135d261357f565b5b9250929050565b60008083601f8401126135f0576135ef6133fc565b5b8235905067ffffffffffffffff81111561360d5761360c61357a565b5b6020830191508360208202830111156136295761362861357f565b5b9250929050565b6000806000806040858703121561364a576136496130a7565b5b600085013567ffffffffffffffff811115613668576136676130ac565b5b61367487828801613584565b9450945050602085013567ffffffffffffffff811115613697576136966130ac565b5b6136a3878288016135da565b925092505092959194509250565b6136ba81613136565b81146136c557600080fd5b50565b6000813590506136d7816136b1565b92915050565b600080604083850312156136f4576136f36130a7565b5b6000613702858286016132fd565b9250506020613713858286016136c8565b9150509250929050565b600067ffffffffffffffff82111561373857613737613406565b5b613741826131bb565b9050602081019050919050565b600061376161375c8461371d565b613466565b90508281526020810184848401111561377d5761377c613401565b5b6137888482856134b2565b509392505050565b600082601f8301126137a5576137a46133fc565b5b81356137b584826020860161374e565b91505092915050565b600080600080608085870312156137d8576137d76130a7565b5b60006137e6878288016132fd565b94505060206137f7878288016132fd565b935050604061380887828801613248565b925050606085013567ffffffffffffffff811115613829576138286130ac565b5b61383587828801613790565b91505092959194509250565b60008060408385031215613858576138576130a7565b5b6000613866858286016132fd565b9250506020613877858286016132fd565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138c857607f821691505b602082108114156138dc576138db613881565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061393e602c83613177565b9150613949826138e2565b604082019050919050565b6000602082019050818103600083015261396d81613931565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139d0602183613177565b91506139db82613974565b604082019050919050565b600060208201905081810360008301526139ff816139c3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613a62603883613177565b9150613a6d82613a06565b604082019050919050565b60006020820190508181036000830152613a9181613a55565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613af4603183613177565b9150613aff82613a98565b604082019050919050565b60006020820190508181036000830152613b2381613ae7565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613b86602b83613177565b9150613b9182613b2a565b604082019050919050565b60006020820190508181036000830152613bb581613b79565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bf2602083613177565b9150613bfd82613bbc565b602082019050919050565b60006020820190508181036000830152613c2181613be5565b9050919050565b600081905092915050565b50565b6000613c43600083613c28565b9150613c4e82613c33565b600082019050919050565b6000613c6482613c36565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b6000613ca4601183613177565b9150613caf82613c6e565b602082019050919050565b60006020820190508181036000830152613cd381613c97565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613d36602c83613177565b9150613d4182613cda565b604082019050919050565b60006020820190508181036000830152613d6581613d29565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613df7602983613177565b9150613e0282613d9b565b604082019050919050565b60006020820190508181036000830152613e2681613dea565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613e89602a83613177565b9150613e9482613e2d565b604082019050919050565b60006020820190508181036000830152613eb881613e7c565b9050919050565b7f4d6f726520657468207265717569726564000000000000000000000000000000600082015250565b6000613ef5601183613177565b9150613f0082613ebf565b602082019050919050565b60006020820190508181036000830152613f2481613ee8565b9050919050565b7f596f752063616e6e6f742062757920796f757220726f6f6d207965742e000000600082015250565b6000613f61601d83613177565b9150613f6c82613f2b565b602082019050919050565b60006020820190508181036000830152613f9081613f54565b9050919050565b7f5468697320726f6f6d206973206e6f7420726573657276656420666f7220796f60008201527f752e000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ff3602283613177565b9150613ffe82613f97565b604082019050919050565b6000602082019050818103600083015261402281613fe6565b9050919050565b7f526f6f6d20616c726561647920736f6c642e0000000000000000000000000000600082015250565b600061405f601283613177565b915061406a82614029565b602082019050919050565b6000602082019050818103600083015261408e81614052565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140cf82613227565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561410257614101614095565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614169602f83613177565b91506141748261410d565b604082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b600081905092915050565b60006141b58261316c565b6141bf818561419f565b93506141cf818560208601613188565b80840191505092915050565b60006141e782856141aa565b91506141f382846141aa565b91508190509392505050565b600061420a826132aa565b9050919050565b61421a816141ff565b811461422557600080fd5b50565b60008151905061423781614211565b92915050565b600060208284031215614253576142526130a7565b5b600061426184828501614228565b91505092915050565b600061427582613227565b915061428083613227565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b5576142b4614095565b5b828201905092915050565b7f526f6f6d20646f6573206e6f742065786973742e000000000000000000000000600082015250565b60006142f6601483613177565b9150614301826142c0565b602082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b7f596f75206d6179206f6e6c79206d696e74203320726f6f6d732e000000000000600082015250565b6000614362601a83613177565b915061436d8261432c565b602082019050919050565b6000602082019050818103600083015261439181614355565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143f4602683613177565b91506143ff82614398565b604082019050919050565b60006020820190508181036000830152614423816143e7565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614486602c83613177565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614518602983613177565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006145aa602483613177565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b60006145eb82613227565b91506145f683613227565b92508282101561460957614608614095565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061464a601983613177565b915061465582614614565b602082019050919050565b600060208201905081810360008301526146798161463d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006146dc603283613177565b91506146e782614680565b604082019050919050565b6000602082019050818103600083015261470b816146cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061474c82613227565b915061475783613227565b92508261476757614766614712565b5b828204905092915050565b600061477d82613227565b915061478883613227565b92508261479857614797614712565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006147ca826147a3565b6147d481856147ae565b93506147e4818560208601613188565b6147ed816131bb565b840191505092915050565b600060808201905061480d60008301876132bc565b61481a60208301866132bc565b6148276040830185613352565b818103606083015261483981846147bf565b905095945050505050565b600081519050614853816130dd565b92915050565b60006020828403121561486f5761486e6130a7565b5b600061487d84828501614844565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148eb602083613177565b91506148f6826148b5565b602082019050919050565b6000602082019050818103600083015261491a816148de565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614957601c83613177565b915061496282614921565b602082019050919050565b600060208201905081810360008301526149868161494a565b905091905056fea26469706673582212201c6ad736700f074d37b580141734eda322d19b8c06672461e1c77c3d9d468a3b64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f646561646465636f722e636f2f6d657461646174612f0000

-----Decoded View---------------
Arg [0] : uri (string): https://deaddecor.co/metadata/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [2] : 68747470733a2f2f646561646465636f722e636f2f6d657461646174612f0000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.