ETH Price: $3,392.47 (-1.18%)

Token

CLOUDEE SLEEPING CLUB (CLOUDEE)
 

Overview

Max Total Supply

1,551 CLOUDEE

Holders

310

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
3 CLOUDEE
0x5a483ed10e283bccb89eb4d60424284e6652f1ba
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:
NFT721

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : NFT721.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "./OwnPause.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

error NotAuthorizedNorOwner();

contract NFT721 is OwnPause, ERC721Enumerable {
    using Strings for uint256;

    uint256 public currentTokenID;
    uint256 public currentLuckyTokenID;
    string public baseURI;

    event Mint(address indexed to, uint256 indexed tokenID);
    event MintBatch(address[] beneficiaries, uint256 fromID, uint256 toID);

    constructor(
        string memory _name,
        string memory _symbol,
        string memory baseURI_
    ) Ownable() ERC721(_name, _symbol) {
        baseURI = baseURI_;
        currentTokenID = 1;
        currentLuckyTokenID = 100000000000;
    }

    /**
       	@notice Update new Base URI
       	@dev  Caller must be Owner
		@param	baseURI_				New Base URI
    */
    function updateBaseURI(string calldata baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    /**
       	@notice Mint NFT to `_beneficiary`
       	@dev  Caller must be Authorized
		@param	_beneficiary				Address of Beneficiary
    */
    function mint(address _beneficiary) external isAuthorized {
        uint256 _currentTokenID = currentTokenID;
        _safeMint(_beneficiary, _currentTokenID, "");

        emit Mint(_beneficiary, _currentTokenID);
        currentTokenID++;
    }

    /**
       	@notice Lucky Mint NFT to `_beneficiary`
       	@dev  Caller must be Authorized
		@param	_beneficiary				Address of Beneficiary
    */
    function luckyMint(address _beneficiary) external isAuthorized {
        uint256 _currentLuckyTokenID = currentLuckyTokenID;
        _safeMint(_beneficiary, _currentLuckyTokenID, "");

        emit Mint(_beneficiary, _currentLuckyTokenID);
        currentLuckyTokenID++;
    }

    /**
       	@notice Mint a batch of NFT to `_beneficiaries`
       	@dev  Caller must be Owner
		@param	_beneficiaries				A list of Beneficiaries
    */
    function mintBatch(address[] calldata _beneficiaries) external isAuthorized {
        uint256 _amount = _beneficiaries.length;
        uint256 _currentTokenID = currentTokenID;
        for (uint256 i; i < _amount; i++)
            _safeMint(_beneficiaries[i], _currentTokenID + i, "");

        emit MintBatch(_beneficiaries, _currentTokenID, _currentTokenID + _amount - 1);
        currentTokenID += _amount;
    }

    /**
       	@notice Burn a batch of `_tokenIds`
       	@dev  Caller must be Owner
		@param	_tokenIds		        A list of burning `_tokenIds`
    */
    function burn(uint256[] calldata _tokenIds) external {
        bool authorized;
        address _caller = msg.sender;
        uint256 _len = _tokenIds.length;
        if (_caller == owner()) authorized = true;
        
        uint256 _id;
        for (uint256 i; i < _len; i++) {
            _id = _tokenIds[i];
            if (!authorized && ownerOf(_id) != _caller) revert NotAuthorizedNorOwner();

            _burn(_id);
        }
    }

    /**
       	@notice Query a list of `_tokenIds` that owned by `_account`
       	@dev  Caller can be ANY
		@param	_account			Account's address to query
		@param	_fromIdx		    Starting index
		@param	_toIdx			    Ending index
    */
	function tokensByOwner(address _account, uint256 _fromIdx, uint256 _toIdx) external view returns (uint256[] memory _tokens) {
		uint256 _len = _toIdx - _fromIdx + 1;
		_tokens = new uint256[](_len);

		for(uint256 i; i < _len; i++) 
			_tokens[i] = tokenOfOwnerByIndex(_account, _fromIdx + i);
	}

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI_ = _baseURI();

        if(tokenId >= currentLuckyTokenID){
            return bytes(baseURI_).length > 0 ? string(abi.encodePacked(baseURI_, "box", ".json")) : "";
        }
        return bytes(baseURI_).length > 0 ? string(abi.encodePacked(baseURI_, tokenId.toString(), ".json")) : "";
    }

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

}

File 2 of 15 : 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 15 : OwnPause.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract OwnPause is Ownable, Pausable {
    // List of _authorizedAddressList addresses
    mapping(address => bool) internal _authorizedAddressList;

    event EventGrantAuthorized(address auth_);
    event EventRevokeAuthorized(address auth_);

    modifier isOwner() {
        require(msg.sender == owner(), "OwnPause: not owner");
        _;
    }

    modifier isAuthorized() {
        require(
            msg.sender == owner() || _authorizedAddressList[msg.sender] == true,
            "OwnPause: unauthorized"
        );
        _;
    }

    function checkAuthorized(address auth_) public view returns (bool) {
        require(auth_ != address(0), "OwnPause: invalid auth_ address ");

        return auth_ == owner() || _authorizedAddressList[auth_] == true;
    }

    function grantAuthorized(address auth_) external isOwner {
        require(auth_ != address(0), "OwnPause: invalid auth_ address ");

        _authorizedAddressList[auth_] = true;

        emit EventGrantAuthorized(auth_);
    }

    function revokeAuthorized(address auth_) external isOwner {
        require(auth_ != address(0), "OwnPause: invalid auth_ address ");

        _authorizedAddressList[auth_] = false;

        emit EventRevokeAuthorized(auth_);
    }

    function pause() external isOwner {
        _pause();
    }

    function unpause() external isOwner {
        _unpause();
    }
}

File 4 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 5 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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: address zero is not a valid owner");
        return _balances[owner];
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

File 6 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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);

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

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

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

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

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

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

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

File 8 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 15 : 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 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 15 : 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 12 of 15 : 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 15 : 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);
}

File 14 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 15 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotAuthorizedNorOwner","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"auth_","type":"address"}],"name":"EventGrantAuthorized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"auth_","type":"address"}],"name":"EventRevokeAuthorized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"beneficiaries","type":"address[]"},{"indexed":false,"internalType":"uint256","name":"fromID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toID","type":"uint256"}],"name":"MintBatch","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"auth_","type":"address"}],"name":"checkAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentLuckyTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"auth_","type":"address"}],"name":"grantAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"luckyMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_beneficiaries","type":"address[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"auth_","type":"address"}],"name":"revokeAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_fromIdx","type":"uint256"},{"internalType":"uint256","name":"_toIdx","type":"uint256"}],"name":"tokensByOwner","outputs":[{"internalType":"uint256[]","name":"_tokens","type":"uint256[]"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004e6d38038062004e6d8339818101604052810190620000379190620003f6565b8282620000596200004d620000dd60201b60201c565b620000e560201b60201c565b60008060146101000a81548160ff02191690831515021790555081600290805190602001906200008b929190620001a9565b508060039080519060200190620000a4929190620001a9565b50505080600e9080519060200190620000bf929190620001a9565b506001600c8190555064174876e800600d8190555050505062000514565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001b790620004de565b90600052602060002090601f016020900481019282620001db576000855562000227565b82601f10620001f657805160ff191683800117855562000227565b8280016001018555821562000227579182015b828111156200022657825182559160200191906001019062000209565b5b5090506200023691906200023a565b5090565b5b80821115620002555760008160009055506001016200023b565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002c28262000277565b810181811067ffffffffffffffff82111715620002e457620002e362000288565b5b80604052505050565b6000620002f962000259565b9050620003078282620002b7565b919050565b600067ffffffffffffffff8211156200032a576200032962000288565b5b620003358262000277565b9050602081019050919050565b60005b838110156200036257808201518184015260208101905062000345565b8381111562000372576000848401525b50505050565b60006200038f62000389846200030c565b620002ed565b905082815260208101848484011115620003ae57620003ad62000272565b5b620003bb84828562000342565b509392505050565b600082601f830112620003db57620003da6200026d565b5b8151620003ed84826020860162000378565b91505092915050565b60008060006060848603121562000412576200041162000263565b5b600084015167ffffffffffffffff81111562000433576200043262000268565b5b6200044186828701620003c3565b935050602084015167ffffffffffffffff81111562000465576200046462000268565b5b6200047386828701620003c3565b925050604084015167ffffffffffffffff81111562000497576200049662000268565b5b620004a586828701620003c3565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004f757607f821691505b602082108114156200050e576200050d620004af565b5b50919050565b61494980620005246000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80636c0360eb1161011a57806395d89b41116100ad578063bb62115e1161007c578063bb62115e1461059b578063c87b56dd146105b9578063e3055f8e146105e9578063e985e9c514610619578063f2fde38b1461064957610206565b806395d89b4114610529578063a22cb46514610547578063b80f55c914610563578063b88d4fde1461057f57610206565b80638da5cb5b116100e95780638da5cb5b146104b7578063927f59ba146104d5578063931688cb146104f157806394f3ed311461050d57610206565b80636c0360eb1461045557806370a0823114610473578063715018a6146104a35780638456cb59146104ad57610206565b80633f46f4241161019d57806343198ac41161016c57806343198ac41461038b5780634f6ccce7146103bb5780635c975abb146103eb5780636352211e146104095780636a6278421461043957610206565b80633f46f4241461032b5780633f48be2d146103495780633f4ba83a1461036557806342842e0e1461036f57610206565b806318160ddd116101d957806318160ddd146102a557806323b872dd146102c35780632be7c0b8146102df5780632f745c59146102fb57610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190613142565b610665565b604051610232919061318a565b60405180910390f35b6102436106df565b604051610250919061323e565b60405180910390f35b610273600480360381019061026e9190613296565b610771565b6040516102809190613304565b60405180910390f35b6102a3600480360381019061029e919061334b565b6107b7565b005b6102ad6108cf565b6040516102ba919061339a565b60405180910390f35b6102dd60048036038101906102d891906133b5565b6108dc565b005b6102f960048036038101906102f49190613408565b61093c565b005b6103156004803603810190610310919061334b565b610a8d565b604051610322919061339a565b60405180910390f35b610333610b32565b604051610340919061339a565b60405180910390f35b610363600480360381019061035e9190613408565b610b38565b005b61036d610caf565b005b610389600480360381019061038491906133b5565b610d2e565b005b6103a560048036038101906103a09190613435565b610d4e565b6040516103b29190613546565b60405180910390f35b6103d560048036038101906103d09190613296565b610e12565b6040516103e2919061339a565b60405180910390f35b6103f3610e83565b604051610400919061318a565b60405180910390f35b610423600480360381019061041e9190613296565b610e99565b6040516104309190613304565b60405180910390f35b610453600480360381019061044e9190613408565b610f4b565b005b61045d61109c565b60405161046a919061323e565b60405180910390f35b61048d60048036038101906104889190613408565b61112a565b60405161049a919061339a565b60405180910390f35b6104ab6111e2565b005b6104b56111f6565b005b6104bf611275565b6040516104cc9190613304565b60405180910390f35b6104ef60048036038101906104ea91906135cd565b61129e565b005b61050b60048036038101906105069190613670565b61145b565b005b61052760048036038101906105229190613408565b611479565b005b6105316115ef565b60405161053e919061323e565b60405180910390f35b610561600480360381019061055c91906136e9565b611681565b005b61057d6004803603810190610578919061377f565b611697565b005b610599600480360381019061059491906138fc565b6117ab565b005b6105a361180d565b6040516105b0919061339a565b60405180910390f35b6105d360048036038101906105ce9190613296565b611813565b6040516105e0919061323e565b60405180910390f35b61060360048036038101906105fe9190613408565b6118cc565b604051610610919061318a565b60405180910390f35b610633600480360381019061062e919061397f565b6119d5565b604051610640919061318a565b60405180910390f35b610663600480360381019061065e9190613408565b611a69565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d857506106d782611aed565b5b9050919050565b6060600280546106ee906139ee565b80601f016020809104026020016040519081016040528092919081815260200182805461071a906139ee565b80156107675780601f1061073c57610100808354040283529160200191610767565b820191906000526020600020905b81548152906001019060200180831161074a57829003601f168201915b5050505050905090565b600061077c82611bcf565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c282610e99565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082a90613a92565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610852611c1a565b73ffffffffffffffffffffffffffffffffffffffff16148061088157506108808161087b611c1a565b6119d5565b5b6108c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b790613b24565b60405180910390fd5b6108ca8383611c22565b505050565b6000600a80549050905090565b6108ed6108e7611c1a565b82611cdb565b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092390613bb6565b60405180910390fd5b610937838383611d70565b505050565b610944611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109cd575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0390613c22565b60405180910390fd5b6000600d549050610a2d828260405180602001604052806000815250611fd7565b808273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3600d6000815480929190610a8490613c71565b91905055505050565b6000610a988361112a565b8210610ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad090613d2c565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d5481565b610b40611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490613d98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490613e04565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f48d42037a339be3ce4c67b781af7467d90953ebe212844cf74b105c9d02ecc3381604051610ca49190613304565b60405180910390a150565b610cb7611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90613d98565b60405180910390fd5b610d2c612032565b565b610d49838383604051806020016040528060008152506117ab565b505050565b6060600060018484610d609190613e24565b610d6a9190613e58565b90508067ffffffffffffffff811115610d8657610d856137d1565b5b604051908082528060200260200182016040528015610db45781602001602082028036833780820191505090505b50915060005b81811015610e0957610dd7868287610dd29190613e58565b610a8d565b838281518110610dea57610de9613eae565b5b6020026020010181815250508080610e0190613c71565b915050610dba565b50509392505050565b6000610e1c6108cf565b8210610e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5490613f4f565b60405180910390fd5b600a8281548110610e7157610e70613eae565b5b90600052602060002001549050919050565b60008060149054906101000a900460ff16905090565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613fbb565b60405180910390fd5b80915050919050565b610f53611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610fdc575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290613c22565b60405180910390fd5b6000600c54905061103c828260405180602001604052806000815250611fd7565b808273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3600c600081548092919061109390613c71565b91905055505050565b600e80546110a9906139ee565b80601f01602080910402602001604051908101604052809291908181526020018280546110d5906139ee565b80156111225780601f106110f757610100808354040283529160200191611122565b820191906000526020600020905b81548152906001019060200180831161110557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111929061404d565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111ea612094565b6111f46000612112565b565b6111fe611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290613d98565b60405180910390fd5b6112736121d6565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112a6611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061132f575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590613c22565b60405180910390fd5b60008282905090506000600c54905060005b828110156113e7576113d485858381811061139e5761139d613eae565b5b90506020020160208101906113b39190613408565b82846113bf9190613e58565b60405180602001604052806000815250611fd7565b80806113df90613c71565b915050611380565b507f01a889f6a03bc7293d0e50c5fe2b11cb9f1d3e867d0b4c08649df70fee9596068484836001868661141a9190613e58565b6114249190613e24565b6040516114349493929190614130565b60405180910390a181600c600082825461144e9190613e58565b9250508190555050505050565b611463612094565b8181600e9190611474929190613033565b505050565b611481611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590613d98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590613e04565b60405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa8de8f411f18b21588820f82c1c480c9010afa6ef212a9585ade363f56542816816040516115e49190613304565b60405180910390a150565b6060600380546115fe906139ee565b80601f016020809104026020016040519081016040528092919081815260200182805461162a906139ee565b80156116775780601f1061164c57610100808354040283529160200191611677565b820191906000526020600020905b81548152906001019060200180831161165a57829003601f168201915b5050505050905090565b61169361168c611c1a565b8383612239565b5050565b60008033905060008484905090506116ad611275565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e557600192505b6000805b828110156117a25786868281811061170457611703613eae565b5b9050602002013591508415801561174f57508373ffffffffffffffffffffffffffffffffffffffff1661173683610e99565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611786576040517fc5c9402000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61178f826123a6565b808061179a90613c71565b9150506116e9565b50505050505050565b6117bc6117b6611c1a565b83611cdb565b6117fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f290613bb6565b60405180910390fd5b611807848484846124c3565b50505050565b600c5481565b606061181e82611bcf565b600061182861251f565b9050600d54831061187a5760008151116118515760405180602001604052806000815250611872565b806040516020016118629190614244565b6040516020818303038152906040525b9150506118c7565b600081511161189857604051806020016040528060008152506118c3565b806118a2846125b1565b6040516020016118b3929190614271565b6040516020818303038152906040525b9150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561193d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193490613e04565b60405180910390fd5b611945611275565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806119ce575060011515600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a71612094565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890614312565b60405180910390fd5b611aea81612112565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bb857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bc85750611bc782612712565b5b9050919050565b611bd88161277c565b611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90613fbb565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c9583610e99565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611ce783610e99565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d295750611d2881856119d5565b5b80611d6757508373ffffffffffffffffffffffffffffffffffffffff16611d4f84610771565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d9082610e99565b73ffffffffffffffffffffffffffffffffffffffff1614611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd906143a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d90614436565b60405180910390fd5b611e618383836127e8565b611e6c600082611c22565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebc9190613e24565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f139190613e58565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fd28383836128fc565b505050565b611fe18383612901565b611fee6000848484612adb565b61202d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612024906144c8565b60405180910390fd5b505050565b61203a612c72565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61207d611c1a565b60405161208a9190613304565b60405180910390a1565b61209c611c1a565b73ffffffffffffffffffffffffffffffffffffffff166120ba611275565b73ffffffffffffffffffffffffffffffffffffffff1614612110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210790614534565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121de612cbb565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612222611c1a565b60405161222f9190613304565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f906145a0565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612399919061318a565b60405180910390a3505050565b60006123b182610e99565b90506123bf816000846127e8565b6123ca600083611c22565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241a9190613e24565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124bf816000846128fc565b5050565b6124ce848484611d70565b6124da84848484612adb565b612519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612510906144c8565b60405180910390fd5b50505050565b6060600e805461252e906139ee565b80601f016020809104026020016040519081016040528092919081815260200182805461255a906139ee565b80156125a75780601f1061257c576101008083540402835291602001916125a7565b820191906000526020600020905b81548152906001019060200180831161258a57829003601f168201915b5050505050905090565b606060008214156125f9576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061270d565b600082905060005b6000821461262b57808061261490613c71565b915050600a8261262491906145ef565b9150612601565b60008167ffffffffffffffff811115612647576126466137d1565b5b6040519080825280601f01601f1916602001820160405280156126795781602001600182028036833780820191505090505b5090505b60008514612706576001826126929190613e24565b9150600a856126a19190614620565b60306126ad9190613e58565b60f81b8183815181106126c3576126c2613eae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126ff91906145ef565b945061267d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6127f3838383612d05565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128365761283181612d0a565b612875565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612874576128738382612d53565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128b8576128b381612ec0565b6128f7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128f6576128f58282612f91565b5b5b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612971576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129689061469d565b60405180910390fd5b61297a8161277c565b156129ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b190614709565b60405180910390fd5b6129c6600083836127e8565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a169190613e58565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ad7600083836128fc565b5050565b6000612afc8473ffffffffffffffffffffffffffffffffffffffff16613010565b15612c65578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b25611c1a565b8786866040518563ffffffff1660e01b8152600401612b47949392919061477e565b602060405180830381600087803b158015612b6157600080fd5b505af1925050508015612b9257506040513d601f19601f82011682018060405250810190612b8f91906147df565b60015b612c15573d8060008114612bc2576040519150601f19603f3d011682016040523d82523d6000602084013e612bc7565b606091505b50600081511415612c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c04906144c8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c6a565b600190505b949350505050565b612c7a610e83565b612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb090614858565b60405180910390fd5b565b612cc3610e83565b15612d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa906148c4565b60405180910390fd5b565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d608461112a565b612d6a9190613e24565b9050600060096000848152602001908152602001600020549050818114612e4f576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050612ed49190613e24565b90506000600b60008481526020019081526020016000205490506000600a8381548110612f0457612f03613eae565b5b9060005260206000200154905080600a8381548110612f2657612f25613eae565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480612f7557612f746148e4565b5b6001900381819060005260206000200160009055905550505050565b6000612f9c8361112a565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461303f906139ee565b90600052602060002090601f01602090048101928261306157600085556130a8565b82601f1061307a57803560ff19168380011785556130a8565b828001600101855582156130a8579182015b828111156130a757823582559160200191906001019061308c565b5b5090506130b591906130b9565b5090565b5b808211156130d25760008160009055506001016130ba565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61311f816130ea565b811461312a57600080fd5b50565b60008135905061313c81613116565b92915050565b600060208284031215613158576131576130e0565b5b60006131668482850161312d565b91505092915050565b60008115159050919050565b6131848161316f565b82525050565b600060208201905061319f600083018461317b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131df5780820151818401526020810190506131c4565b838111156131ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000613210826131a5565b61321a81856131b0565b935061322a8185602086016131c1565b613233816131f4565b840191505092915050565b600060208201905081810360008301526132588184613205565b905092915050565b6000819050919050565b61327381613260565b811461327e57600080fd5b50565b6000813590506132908161326a565b92915050565b6000602082840312156132ac576132ab6130e0565b5b60006132ba84828501613281565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132ee826132c3565b9050919050565b6132fe816132e3565b82525050565b600060208201905061331960008301846132f5565b92915050565b613328816132e3565b811461333357600080fd5b50565b6000813590506133458161331f565b92915050565b60008060408385031215613362576133616130e0565b5b600061337085828601613336565b925050602061338185828601613281565b9150509250929050565b61339481613260565b82525050565b60006020820190506133af600083018461338b565b92915050565b6000806000606084860312156133ce576133cd6130e0565b5b60006133dc86828701613336565b93505060206133ed86828701613336565b92505060406133fe86828701613281565b9150509250925092565b60006020828403121561341e5761341d6130e0565b5b600061342c84828501613336565b91505092915050565b60008060006060848603121561344e5761344d6130e0565b5b600061345c86828701613336565b935050602061346d86828701613281565b925050604061347e86828701613281565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6134bd81613260565b82525050565b60006134cf83836134b4565b60208301905092915050565b6000602082019050919050565b60006134f382613488565b6134fd8185613493565b9350613508836134a4565b8060005b8381101561353957815161352088826134c3565b975061352b836134db565b92505060018101905061350c565b5085935050505092915050565b6000602082019050818103600083015261356081846134e8565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261358d5761358c613568565b5b8235905067ffffffffffffffff8111156135aa576135a961356d565b5b6020830191508360208202830111156135c6576135c5613572565b5b9250929050565b600080602083850312156135e4576135e36130e0565b5b600083013567ffffffffffffffff811115613602576136016130e5565b5b61360e85828601613577565b92509250509250929050565b60008083601f8401126136305761362f613568565b5b8235905067ffffffffffffffff81111561364d5761364c61356d565b5b60208301915083600182028301111561366957613668613572565b5b9250929050565b60008060208385031215613687576136866130e0565b5b600083013567ffffffffffffffff8111156136a5576136a46130e5565b5b6136b18582860161361a565b92509250509250929050565b6136c68161316f565b81146136d157600080fd5b50565b6000813590506136e3816136bd565b92915050565b60008060408385031215613700576136ff6130e0565b5b600061370e85828601613336565b925050602061371f858286016136d4565b9150509250929050565b60008083601f84011261373f5761373e613568565b5b8235905067ffffffffffffffff81111561375c5761375b61356d565b5b60208301915083602082028301111561377857613777613572565b5b9250929050565b60008060208385031215613796576137956130e0565b5b600083013567ffffffffffffffff8111156137b4576137b36130e5565b5b6137c085828601613729565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613809826131f4565b810181811067ffffffffffffffff82111715613828576138276137d1565b5b80604052505050565b600061383b6130d6565b90506138478282613800565b919050565b600067ffffffffffffffff821115613867576138666137d1565b5b613870826131f4565b9050602081019050919050565b82818337600083830152505050565b600061389f61389a8461384c565b613831565b9050828152602081018484840111156138bb576138ba6137cc565b5b6138c684828561387d565b509392505050565b600082601f8301126138e3576138e2613568565b5b81356138f384826020860161388c565b91505092915050565b60008060008060808587031215613916576139156130e0565b5b600061392487828801613336565b945050602061393587828801613336565b935050604061394687828801613281565b925050606085013567ffffffffffffffff811115613967576139666130e5565b5b613973878288016138ce565b91505092959194509250565b60008060408385031215613996576139956130e0565b5b60006139a485828601613336565b92505060206139b585828601613336565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a0657607f821691505b60208210811415613a1a57613a196139bf565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a7c6021836131b0565b9150613a8782613a20565b604082019050919050565b60006020820190508181036000830152613aab81613a6f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613b0e603e836131b0565b9150613b1982613ab2565b604082019050919050565b60006020820190508181036000830152613b3d81613b01565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613ba0602e836131b0565b9150613bab82613b44565b604082019050919050565b60006020820190508181036000830152613bcf81613b93565b9050919050565b7f4f776e50617573653a20756e617574686f72697a656400000000000000000000600082015250565b6000613c0c6016836131b0565b9150613c1782613bd6565b602082019050919050565b60006020820190508181036000830152613c3b81613bff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c7c82613260565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613caf57613cae613c42565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613d16602b836131b0565b9150613d2182613cba565b604082019050919050565b60006020820190508181036000830152613d4581613d09565b9050919050565b7f4f776e50617573653a206e6f74206f776e657200000000000000000000000000600082015250565b6000613d826013836131b0565b9150613d8d82613d4c565b602082019050919050565b60006020820190508181036000830152613db181613d75565b9050919050565b7f4f776e50617573653a20696e76616c696420617574685f206164647265737320600082015250565b6000613dee6020836131b0565b9150613df982613db8565b602082019050919050565b60006020820190508181036000830152613e1d81613de1565b9050919050565b6000613e2f82613260565b9150613e3a83613260565b925082821015613e4d57613e4c613c42565b5b828203905092915050565b6000613e6382613260565b9150613e6e83613260565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ea357613ea2613c42565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613f39602c836131b0565b9150613f4482613edd565b604082019050919050565b60006020820190508181036000830152613f6881613f2c565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613fa56018836131b0565b9150613fb082613f6f565b602082019050919050565b60006020820190508181036000830152613fd481613f98565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006140376029836131b0565b915061404282613fdb565b604082019050919050565b600060208201905081810360008301526140668161402a565b9050919050565b600082825260208201905092915050565b6000819050919050565b614091816132e3565b82525050565b60006140a38383614088565b60208301905092915050565b60006140be6020840184613336565b905092915050565b6000602082019050919050565b60006140df838561406d565b93506140ea8261407e565b8060005b858110156141235761410082846140af565b61410a8882614097565b9750614115836140c6565b9250506001810190506140ee565b5085925050509392505050565b6000606082019050818103600083015261414b8186886140d3565b905061415a602083018561338b565b614167604083018461338b565b95945050505050565b600081905092915050565b6000614186826131a5565b6141908185614170565b93506141a08185602086016131c1565b80840191505092915050565b7f626f780000000000000000000000000000000000000000000000000000000000600082015250565b60006141e2600383614170565b91506141ed826141ac565b600382019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061422e600583614170565b9150614239826141f8565b600582019050919050565b6000614250828461417b565b915061425b826141d5565b915061426682614221565b915081905092915050565b600061427d828561417b565b9150614289828461417b565b915061429482614221565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142fc6026836131b0565b9150614307826142a0565b604082019050919050565b6000602082019050818103600083015261432b816142ef565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061438e6025836131b0565b915061439982614332565b604082019050919050565b600060208201905081810360008301526143bd81614381565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006144206024836131b0565b915061442b826143c4565b604082019050919050565b6000602082019050818103600083015261444f81614413565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006144b26032836131b0565b91506144bd82614456565b604082019050919050565b600060208201905081810360008301526144e1816144a5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061451e6020836131b0565b9150614529826144e8565b602082019050919050565b6000602082019050818103600083015261454d81614511565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061458a6019836131b0565b915061459582614554565b602082019050919050565b600060208201905081810360008301526145b98161457d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145fa82613260565b915061460583613260565b925082614615576146146145c0565b5b828204905092915050565b600061462b82613260565b915061463683613260565b925082614646576146456145c0565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006146876020836131b0565b915061469282614651565b602082019050919050565b600060208201905081810360008301526146b68161467a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006146f3601c836131b0565b91506146fe826146bd565b602082019050919050565b60006020820190508181036000830152614722816146e6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061475082614729565b61475a8185614734565b935061476a8185602086016131c1565b614773816131f4565b840191505092915050565b600060808201905061479360008301876132f5565b6147a060208301866132f5565b6147ad604083018561338b565b81810360608301526147bf8184614745565b905095945050505050565b6000815190506147d981613116565b92915050565b6000602082840312156147f5576147f46130e0565b5b6000614803848285016147ca565b91505092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006148426014836131b0565b915061484d8261480c565b602082019050919050565b6000602082019050818103600083015261487181614835565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006148ae6010836131b0565b91506148b982614878565b602082019050919050565b600060208201905081810360008301526148dd816148a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220aeb1e2a5f055ec7e678d86d923bf55e4f1a4475a820dda313503f7b917f5d96c64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000015434c4f5544454520534c454550494e4720434c554200000000000000000000000000000000000000000000000000000000000000000000000000000000000007434c4f5544454500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6f62732e736c6565706675747572652e636f6d2f636c6f756465652f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c80636c0360eb1161011a57806395d89b41116100ad578063bb62115e1161007c578063bb62115e1461059b578063c87b56dd146105b9578063e3055f8e146105e9578063e985e9c514610619578063f2fde38b1461064957610206565b806395d89b4114610529578063a22cb46514610547578063b80f55c914610563578063b88d4fde1461057f57610206565b80638da5cb5b116100e95780638da5cb5b146104b7578063927f59ba146104d5578063931688cb146104f157806394f3ed311461050d57610206565b80636c0360eb1461045557806370a0823114610473578063715018a6146104a35780638456cb59146104ad57610206565b80633f46f4241161019d57806343198ac41161016c57806343198ac41461038b5780634f6ccce7146103bb5780635c975abb146103eb5780636352211e146104095780636a6278421461043957610206565b80633f46f4241461032b5780633f48be2d146103495780633f4ba83a1461036557806342842e0e1461036f57610206565b806318160ddd116101d957806318160ddd146102a557806323b872dd146102c35780632be7c0b8146102df5780632f745c59146102fb57610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190613142565b610665565b604051610232919061318a565b60405180910390f35b6102436106df565b604051610250919061323e565b60405180910390f35b610273600480360381019061026e9190613296565b610771565b6040516102809190613304565b60405180910390f35b6102a3600480360381019061029e919061334b565b6107b7565b005b6102ad6108cf565b6040516102ba919061339a565b60405180910390f35b6102dd60048036038101906102d891906133b5565b6108dc565b005b6102f960048036038101906102f49190613408565b61093c565b005b6103156004803603810190610310919061334b565b610a8d565b604051610322919061339a565b60405180910390f35b610333610b32565b604051610340919061339a565b60405180910390f35b610363600480360381019061035e9190613408565b610b38565b005b61036d610caf565b005b610389600480360381019061038491906133b5565b610d2e565b005b6103a560048036038101906103a09190613435565b610d4e565b6040516103b29190613546565b60405180910390f35b6103d560048036038101906103d09190613296565b610e12565b6040516103e2919061339a565b60405180910390f35b6103f3610e83565b604051610400919061318a565b60405180910390f35b610423600480360381019061041e9190613296565b610e99565b6040516104309190613304565b60405180910390f35b610453600480360381019061044e9190613408565b610f4b565b005b61045d61109c565b60405161046a919061323e565b60405180910390f35b61048d60048036038101906104889190613408565b61112a565b60405161049a919061339a565b60405180910390f35b6104ab6111e2565b005b6104b56111f6565b005b6104bf611275565b6040516104cc9190613304565b60405180910390f35b6104ef60048036038101906104ea91906135cd565b61129e565b005b61050b60048036038101906105069190613670565b61145b565b005b61052760048036038101906105229190613408565b611479565b005b6105316115ef565b60405161053e919061323e565b60405180910390f35b610561600480360381019061055c91906136e9565b611681565b005b61057d6004803603810190610578919061377f565b611697565b005b610599600480360381019061059491906138fc565b6117ab565b005b6105a361180d565b6040516105b0919061339a565b60405180910390f35b6105d360048036038101906105ce9190613296565b611813565b6040516105e0919061323e565b60405180910390f35b61060360048036038101906105fe9190613408565b6118cc565b604051610610919061318a565b60405180910390f35b610633600480360381019061062e919061397f565b6119d5565b604051610640919061318a565b60405180910390f35b610663600480360381019061065e9190613408565b611a69565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d857506106d782611aed565b5b9050919050565b6060600280546106ee906139ee565b80601f016020809104026020016040519081016040528092919081815260200182805461071a906139ee565b80156107675780601f1061073c57610100808354040283529160200191610767565b820191906000526020600020905b81548152906001019060200180831161074a57829003601f168201915b5050505050905090565b600061077c82611bcf565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c282610e99565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082a90613a92565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610852611c1a565b73ffffffffffffffffffffffffffffffffffffffff16148061088157506108808161087b611c1a565b6119d5565b5b6108c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b790613b24565b60405180910390fd5b6108ca8383611c22565b505050565b6000600a80549050905090565b6108ed6108e7611c1a565b82611cdb565b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092390613bb6565b60405180910390fd5b610937838383611d70565b505050565b610944611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109cd575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0390613c22565b60405180910390fd5b6000600d549050610a2d828260405180602001604052806000815250611fd7565b808273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3600d6000815480929190610a8490613c71565b91905055505050565b6000610a988361112a565b8210610ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad090613d2c565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d5481565b610b40611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490613d98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490613e04565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f48d42037a339be3ce4c67b781af7467d90953ebe212844cf74b105c9d02ecc3381604051610ca49190613304565b60405180910390a150565b610cb7611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90613d98565b60405180910390fd5b610d2c612032565b565b610d49838383604051806020016040528060008152506117ab565b505050565b6060600060018484610d609190613e24565b610d6a9190613e58565b90508067ffffffffffffffff811115610d8657610d856137d1565b5b604051908082528060200260200182016040528015610db45781602001602082028036833780820191505090505b50915060005b81811015610e0957610dd7868287610dd29190613e58565b610a8d565b838281518110610dea57610de9613eae565b5b6020026020010181815250508080610e0190613c71565b915050610dba565b50509392505050565b6000610e1c6108cf565b8210610e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5490613f4f565b60405180910390fd5b600a8281548110610e7157610e70613eae565b5b90600052602060002001549050919050565b60008060149054906101000a900460ff16905090565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613fbb565b60405180910390fd5b80915050919050565b610f53611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610fdc575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290613c22565b60405180910390fd5b6000600c54905061103c828260405180602001604052806000815250611fd7565b808273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3600c600081548092919061109390613c71565b91905055505050565b600e80546110a9906139ee565b80601f01602080910402602001604051908101604052809291908181526020018280546110d5906139ee565b80156111225780601f106110f757610100808354040283529160200191611122565b820191906000526020600020905b81548152906001019060200180831161110557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111929061404d565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111ea612094565b6111f46000612112565b565b6111fe611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290613d98565b60405180910390fd5b6112736121d6565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112a6611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061132f575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590613c22565b60405180910390fd5b60008282905090506000600c54905060005b828110156113e7576113d485858381811061139e5761139d613eae565b5b90506020020160208101906113b39190613408565b82846113bf9190613e58565b60405180602001604052806000815250611fd7565b80806113df90613c71565b915050611380565b507f01a889f6a03bc7293d0e50c5fe2b11cb9f1d3e867d0b4c08649df70fee9596068484836001868661141a9190613e58565b6114249190613e24565b6040516114349493929190614130565b60405180910390a181600c600082825461144e9190613e58565b9250508190555050505050565b611463612094565b8181600e9190611474929190613033565b505050565b611481611275565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590613d98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590613e04565b60405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa8de8f411f18b21588820f82c1c480c9010afa6ef212a9585ade363f56542816816040516115e49190613304565b60405180910390a150565b6060600380546115fe906139ee565b80601f016020809104026020016040519081016040528092919081815260200182805461162a906139ee565b80156116775780601f1061164c57610100808354040283529160200191611677565b820191906000526020600020905b81548152906001019060200180831161165a57829003601f168201915b5050505050905090565b61169361168c611c1a565b8383612239565b5050565b60008033905060008484905090506116ad611275565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e557600192505b6000805b828110156117a25786868281811061170457611703613eae565b5b9050602002013591508415801561174f57508373ffffffffffffffffffffffffffffffffffffffff1661173683610e99565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611786576040517fc5c9402000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61178f826123a6565b808061179a90613c71565b9150506116e9565b50505050505050565b6117bc6117b6611c1a565b83611cdb565b6117fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f290613bb6565b60405180910390fd5b611807848484846124c3565b50505050565b600c5481565b606061181e82611bcf565b600061182861251f565b9050600d54831061187a5760008151116118515760405180602001604052806000815250611872565b806040516020016118629190614244565b6040516020818303038152906040525b9150506118c7565b600081511161189857604051806020016040528060008152506118c3565b806118a2846125b1565b6040516020016118b3929190614271565b6040516020818303038152906040525b9150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561193d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193490613e04565b60405180910390fd5b611945611275565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806119ce575060011515600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a71612094565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890614312565b60405180910390fd5b611aea81612112565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bb857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bc85750611bc782612712565b5b9050919050565b611bd88161277c565b611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90613fbb565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c9583610e99565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611ce783610e99565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d295750611d2881856119d5565b5b80611d6757508373ffffffffffffffffffffffffffffffffffffffff16611d4f84610771565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d9082610e99565b73ffffffffffffffffffffffffffffffffffffffff1614611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd906143a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d90614436565b60405180910390fd5b611e618383836127e8565b611e6c600082611c22565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebc9190613e24565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f139190613e58565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fd28383836128fc565b505050565b611fe18383612901565b611fee6000848484612adb565b61202d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612024906144c8565b60405180910390fd5b505050565b61203a612c72565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61207d611c1a565b60405161208a9190613304565b60405180910390a1565b61209c611c1a565b73ffffffffffffffffffffffffffffffffffffffff166120ba611275565b73ffffffffffffffffffffffffffffffffffffffff1614612110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210790614534565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121de612cbb565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612222611c1a565b60405161222f9190613304565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f906145a0565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612399919061318a565b60405180910390a3505050565b60006123b182610e99565b90506123bf816000846127e8565b6123ca600083611c22565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241a9190613e24565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124bf816000846128fc565b5050565b6124ce848484611d70565b6124da84848484612adb565b612519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612510906144c8565b60405180910390fd5b50505050565b6060600e805461252e906139ee565b80601f016020809104026020016040519081016040528092919081815260200182805461255a906139ee565b80156125a75780601f1061257c576101008083540402835291602001916125a7565b820191906000526020600020905b81548152906001019060200180831161258a57829003601f168201915b5050505050905090565b606060008214156125f9576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061270d565b600082905060005b6000821461262b57808061261490613c71565b915050600a8261262491906145ef565b9150612601565b60008167ffffffffffffffff811115612647576126466137d1565b5b6040519080825280601f01601f1916602001820160405280156126795781602001600182028036833780820191505090505b5090505b60008514612706576001826126929190613e24565b9150600a856126a19190614620565b60306126ad9190613e58565b60f81b8183815181106126c3576126c2613eae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126ff91906145ef565b945061267d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6127f3838383612d05565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128365761283181612d0a565b612875565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612874576128738382612d53565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128b8576128b381612ec0565b6128f7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128f6576128f58282612f91565b5b5b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612971576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129689061469d565b60405180910390fd5b61297a8161277c565b156129ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b190614709565b60405180910390fd5b6129c6600083836127e8565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a169190613e58565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ad7600083836128fc565b5050565b6000612afc8473ffffffffffffffffffffffffffffffffffffffff16613010565b15612c65578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b25611c1a565b8786866040518563ffffffff1660e01b8152600401612b47949392919061477e565b602060405180830381600087803b158015612b6157600080fd5b505af1925050508015612b9257506040513d601f19601f82011682018060405250810190612b8f91906147df565b60015b612c15573d8060008114612bc2576040519150601f19603f3d011682016040523d82523d6000602084013e612bc7565b606091505b50600081511415612c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c04906144c8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c6a565b600190505b949350505050565b612c7a610e83565b612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb090614858565b60405180910390fd5b565b612cc3610e83565b15612d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa906148c4565b60405180910390fd5b565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d608461112a565b612d6a9190613e24565b9050600060096000848152602001908152602001600020549050818114612e4f576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050612ed49190613e24565b90506000600b60008481526020019081526020016000205490506000600a8381548110612f0457612f03613eae565b5b9060005260206000200154905080600a8381548110612f2657612f25613eae565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480612f7557612f746148e4565b5b6001900381819060005260206000200160009055905550505050565b6000612f9c8361112a565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461303f906139ee565b90600052602060002090601f01602090048101928261306157600085556130a8565b82601f1061307a57803560ff19168380011785556130a8565b828001600101855582156130a8579182015b828111156130a757823582559160200191906001019061308c565b5b5090506130b591906130b9565b5090565b5b808211156130d25760008160009055506001016130ba565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61311f816130ea565b811461312a57600080fd5b50565b60008135905061313c81613116565b92915050565b600060208284031215613158576131576130e0565b5b60006131668482850161312d565b91505092915050565b60008115159050919050565b6131848161316f565b82525050565b600060208201905061319f600083018461317b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131df5780820151818401526020810190506131c4565b838111156131ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000613210826131a5565b61321a81856131b0565b935061322a8185602086016131c1565b613233816131f4565b840191505092915050565b600060208201905081810360008301526132588184613205565b905092915050565b6000819050919050565b61327381613260565b811461327e57600080fd5b50565b6000813590506132908161326a565b92915050565b6000602082840312156132ac576132ab6130e0565b5b60006132ba84828501613281565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132ee826132c3565b9050919050565b6132fe816132e3565b82525050565b600060208201905061331960008301846132f5565b92915050565b613328816132e3565b811461333357600080fd5b50565b6000813590506133458161331f565b92915050565b60008060408385031215613362576133616130e0565b5b600061337085828601613336565b925050602061338185828601613281565b9150509250929050565b61339481613260565b82525050565b60006020820190506133af600083018461338b565b92915050565b6000806000606084860312156133ce576133cd6130e0565b5b60006133dc86828701613336565b93505060206133ed86828701613336565b92505060406133fe86828701613281565b9150509250925092565b60006020828403121561341e5761341d6130e0565b5b600061342c84828501613336565b91505092915050565b60008060006060848603121561344e5761344d6130e0565b5b600061345c86828701613336565b935050602061346d86828701613281565b925050604061347e86828701613281565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6134bd81613260565b82525050565b60006134cf83836134b4565b60208301905092915050565b6000602082019050919050565b60006134f382613488565b6134fd8185613493565b9350613508836134a4565b8060005b8381101561353957815161352088826134c3565b975061352b836134db565b92505060018101905061350c565b5085935050505092915050565b6000602082019050818103600083015261356081846134e8565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261358d5761358c613568565b5b8235905067ffffffffffffffff8111156135aa576135a961356d565b5b6020830191508360208202830111156135c6576135c5613572565b5b9250929050565b600080602083850312156135e4576135e36130e0565b5b600083013567ffffffffffffffff811115613602576136016130e5565b5b61360e85828601613577565b92509250509250929050565b60008083601f8401126136305761362f613568565b5b8235905067ffffffffffffffff81111561364d5761364c61356d565b5b60208301915083600182028301111561366957613668613572565b5b9250929050565b60008060208385031215613687576136866130e0565b5b600083013567ffffffffffffffff8111156136a5576136a46130e5565b5b6136b18582860161361a565b92509250509250929050565b6136c68161316f565b81146136d157600080fd5b50565b6000813590506136e3816136bd565b92915050565b60008060408385031215613700576136ff6130e0565b5b600061370e85828601613336565b925050602061371f858286016136d4565b9150509250929050565b60008083601f84011261373f5761373e613568565b5b8235905067ffffffffffffffff81111561375c5761375b61356d565b5b60208301915083602082028301111561377857613777613572565b5b9250929050565b60008060208385031215613796576137956130e0565b5b600083013567ffffffffffffffff8111156137b4576137b36130e5565b5b6137c085828601613729565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613809826131f4565b810181811067ffffffffffffffff82111715613828576138276137d1565b5b80604052505050565b600061383b6130d6565b90506138478282613800565b919050565b600067ffffffffffffffff821115613867576138666137d1565b5b613870826131f4565b9050602081019050919050565b82818337600083830152505050565b600061389f61389a8461384c565b613831565b9050828152602081018484840111156138bb576138ba6137cc565b5b6138c684828561387d565b509392505050565b600082601f8301126138e3576138e2613568565b5b81356138f384826020860161388c565b91505092915050565b60008060008060808587031215613916576139156130e0565b5b600061392487828801613336565b945050602061393587828801613336565b935050604061394687828801613281565b925050606085013567ffffffffffffffff811115613967576139666130e5565b5b613973878288016138ce565b91505092959194509250565b60008060408385031215613996576139956130e0565b5b60006139a485828601613336565b92505060206139b585828601613336565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a0657607f821691505b60208210811415613a1a57613a196139bf565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a7c6021836131b0565b9150613a8782613a20565b604082019050919050565b60006020820190508181036000830152613aab81613a6f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613b0e603e836131b0565b9150613b1982613ab2565b604082019050919050565b60006020820190508181036000830152613b3d81613b01565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613ba0602e836131b0565b9150613bab82613b44565b604082019050919050565b60006020820190508181036000830152613bcf81613b93565b9050919050565b7f4f776e50617573653a20756e617574686f72697a656400000000000000000000600082015250565b6000613c0c6016836131b0565b9150613c1782613bd6565b602082019050919050565b60006020820190508181036000830152613c3b81613bff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c7c82613260565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613caf57613cae613c42565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613d16602b836131b0565b9150613d2182613cba565b604082019050919050565b60006020820190508181036000830152613d4581613d09565b9050919050565b7f4f776e50617573653a206e6f74206f776e657200000000000000000000000000600082015250565b6000613d826013836131b0565b9150613d8d82613d4c565b602082019050919050565b60006020820190508181036000830152613db181613d75565b9050919050565b7f4f776e50617573653a20696e76616c696420617574685f206164647265737320600082015250565b6000613dee6020836131b0565b9150613df982613db8565b602082019050919050565b60006020820190508181036000830152613e1d81613de1565b9050919050565b6000613e2f82613260565b9150613e3a83613260565b925082821015613e4d57613e4c613c42565b5b828203905092915050565b6000613e6382613260565b9150613e6e83613260565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ea357613ea2613c42565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613f39602c836131b0565b9150613f4482613edd565b604082019050919050565b60006020820190508181036000830152613f6881613f2c565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613fa56018836131b0565b9150613fb082613f6f565b602082019050919050565b60006020820190508181036000830152613fd481613f98565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006140376029836131b0565b915061404282613fdb565b604082019050919050565b600060208201905081810360008301526140668161402a565b9050919050565b600082825260208201905092915050565b6000819050919050565b614091816132e3565b82525050565b60006140a38383614088565b60208301905092915050565b60006140be6020840184613336565b905092915050565b6000602082019050919050565b60006140df838561406d565b93506140ea8261407e565b8060005b858110156141235761410082846140af565b61410a8882614097565b9750614115836140c6565b9250506001810190506140ee565b5085925050509392505050565b6000606082019050818103600083015261414b8186886140d3565b905061415a602083018561338b565b614167604083018461338b565b95945050505050565b600081905092915050565b6000614186826131a5565b6141908185614170565b93506141a08185602086016131c1565b80840191505092915050565b7f626f780000000000000000000000000000000000000000000000000000000000600082015250565b60006141e2600383614170565b91506141ed826141ac565b600382019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061422e600583614170565b9150614239826141f8565b600582019050919050565b6000614250828461417b565b915061425b826141d5565b915061426682614221565b915081905092915050565b600061427d828561417b565b9150614289828461417b565b915061429482614221565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142fc6026836131b0565b9150614307826142a0565b604082019050919050565b6000602082019050818103600083015261432b816142ef565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061438e6025836131b0565b915061439982614332565b604082019050919050565b600060208201905081810360008301526143bd81614381565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006144206024836131b0565b915061442b826143c4565b604082019050919050565b6000602082019050818103600083015261444f81614413565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006144b26032836131b0565b91506144bd82614456565b604082019050919050565b600060208201905081810360008301526144e1816144a5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061451e6020836131b0565b9150614529826144e8565b602082019050919050565b6000602082019050818103600083015261454d81614511565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061458a6019836131b0565b915061459582614554565b602082019050919050565b600060208201905081810360008301526145b98161457d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145fa82613260565b915061460583613260565b925082614615576146146145c0565b5b828204905092915050565b600061462b82613260565b915061463683613260565b925082614646576146456145c0565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006146876020836131b0565b915061469282614651565b602082019050919050565b600060208201905081810360008301526146b68161467a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006146f3601c836131b0565b91506146fe826146bd565b602082019050919050565b60006020820190508181036000830152614722816146e6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061475082614729565b61475a8185614734565b935061476a8185602086016131c1565b614773816131f4565b840191505092915050565b600060808201905061479360008301876132f5565b6147a060208301866132f5565b6147ad604083018561338b565b81810360608301526147bf8184614745565b905095945050505050565b6000815190506147d981613116565b92915050565b6000602082840312156147f5576147f46130e0565b5b6000614803848285016147ca565b91505092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006148426014836131b0565b915061484d8261480c565b602082019050919050565b6000602082019050818103600083015261487181614835565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006148ae6010836131b0565b91506148b982614878565b602082019050919050565b600060208201905081810360008301526148dd816148a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220aeb1e2a5f055ec7e678d86d923bf55e4f1a4475a820dda313503f7b917f5d96c64736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000015434c4f5544454520534c454550494e4720434c554200000000000000000000000000000000000000000000000000000000000000000000000000000000000007434c4f5544454500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6f62732e736c6565706675747572652e636f6d2f636c6f756465652f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): CLOUDEE SLEEPING CLUB
Arg [1] : _symbol (string): CLOUDEE
Arg [2] : baseURI_ (string): https://obs.sleepfuture.com/cloudee/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [4] : 434c4f5544454520534c454550494e4720434c55420000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 434c4f5544454500000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [8] : 68747470733a2f2f6f62732e736c6565706675747572652e636f6d2f636c6f75
Arg [9] : 6465652f00000000000000000000000000000000000000000000000000000000


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.