ETH Price: $3,389.74 (+1.80%)

Token

ISLANDverse (IVERSE)
 

Overview

Max Total Supply

131 IVERSE

Holders

29

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
5 IVERSE
0xa57930732f6deb41164788b28bd62e2e3bd99c19
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:
NFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : NFT.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract NFT is ERC721Enumerable, AccessControl {
    using SafeMath for uint256;

    string private _baseTokenURI;
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");
    mapping(uint256 => bytes1) private _nftType;

    constructor() ERC721("ISLANDverse", "IVERSE") {
        _baseTokenURI = "https://raw.githubusercontent.com/islanddoges/nfts/master/";
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

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

    function grantMinter(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Onlyowner");

        grantRole(MINTER_ROLE, account);
    }

    function grantBurner(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Onlyowner");

        grantRole(BURNER_ROLE, account);
    }

    function revokeMinter(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Onlyowner");

        revokeRole(MINTER_ROLE, account);
    }

    function revokeBurner(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Onlyowner");

        revokeRole(BURNER_ROLE, account);
    }

    function minterMint(address account, bytes1 nft_type) public {
        require(hasRole(MINTER_ROLE, msg.sender), "Onlyminter");

        uint256 _curr = totalSupply();
        _safeMint(account, _curr);
        _nftType[_curr] = nft_type;
    }

    function burnerBurn(uint256 index) public {
        require(hasRole(BURNER_ROLE, msg.sender), "Onlyburner");

        _burn(index);
    }

    function getType(uint256 index) public view returns (bytes1) {
        return _nftType[index];
    }

    function setType(uint256 index, bytes1 nft_type) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Onlyowner");

        _nftType[index] = nft_type;
    }

    function setBaseURI(string memory baseURI) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Onlyowner");

        _baseTokenURI = baseURI;
    }

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

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId)));
    }

    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }
}

File 2 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 4 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 5 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 7 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 tokenId);

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

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

File 12 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 13 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 14 of 15 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 15 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"burnerBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getType","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes1","name":"nft_type","type":"bytes1"}],"name":"minterMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bytes1","name":"nft_type","type":"bytes1"}],"name":"setType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600b81526020017f49534c414e4476657273650000000000000000000000000000000000000000008152506040518060400160405280600681526020017f49564552534500000000000000000000000000000000000000000000000000008152508160009080519060200190620000969291906200027a565b508060019080519060200190620000af9291906200027a565b5050506040518060600160405280603a815260200162004990603a9139600b9080519060200190620000e39291906200027a565b50620000f96000801b33620000ff60201b60201c565b6200038f565b6200011182826200011560201b60201c565b5050565b6200012782826200020760201b60201c565b62000203576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001a86200027260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620002889062000359565b90600052602060002090601f016020900481019282620002ac5760008555620002f8565b82601f10620002c757805160ff1916838001178555620002f8565b82800160010185558215620002f8579182015b82811115620002f7578251825591602001919060010190620002da565b5b5090506200030791906200030b565b5090565b5b80821115620003265760008160009055506001016200030c565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200037257607f821691505b602082108114156200038957620003886200032a565b5b50919050565b6145f1806200039f6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80634f6ccce71161011a578063a22cb465116100ad578063d53913931161007c578063d53913931461061d578063d547741f1461063b578063e985e9c514610657578063fd3558cf14610687578063fe73e8f4146106a357610206565b8063a22cb46514610599578063b88d4fde146105b5578063c87b56dd146105d1578063cfbd48851461060157610206565b806382015e56116100e957806382015e561461051157806391d148541461052d57806395d89b411461055d578063a217fddf1461057b57610206565b80634f6ccce71461046557806355f804b3146104955780636352211e146104b157806370a08231146104e157610206565b8063248a9ca31161019d5780632f745c591161016c5780632f745c591461039d57806336568abe146103cd5780634036ab78146103e957806342842e0e14610419578063438b63001461043557610206565b8063248a9ca314610317578063261707fa14610347578063282c51f3146103635780632f2ff15d1461038157610206565b8063095ea7b3116101d9578063095ea7b3146102a557806310511f96146102c157806318160ddd146102dd57806323b872dd146102fb57610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc146102595780630900cc3314610289575b600080fd5b61022560048036038101906102209190612cee565b6106bf565b6040516102329190612d36565b60405180910390f35b6102436106d1565b6040516102509190612dea565b60405180910390f35b610273600480360381019061026e9190612e42565b610763565b6040516102809190612eb0565b60405180910390f35b6102a3600480360381019061029e9190612ef7565b6107e8565b005b6102bf60048036038101906102ba9190612f24565b610861565b005b6102db60048036038101906102d69190612ef7565b610979565b005b6102e56109f2565b6040516102f29190612f73565b60405180910390f35b61031560048036038101906103109190612f8e565b6109ff565b005b610331600480360381019061032c9190613017565b610a5f565b60405161033e9190613053565b60405180910390f35b610361600480360381019061035c9190612ef7565b610a7f565b005b61036b610af8565b6040516103789190613053565b60405180910390f35b61039b6004803603810190610396919061306e565b610b1c565b005b6103b760048036038101906103b29190612f24565b610b45565b6040516103c49190612f73565b60405180910390f35b6103e760048036038101906103e2919061306e565b610bea565b005b61040360048036038101906103fe9190612e42565b610c6d565b60405161041091906130e9565b60405180910390f35b610433600480360381019061042e9190612f8e565b610c97565b005b61044f600480360381019061044a9190612ef7565b610cb7565b60405161045c91906131c2565b60405180910390f35b61047f600480360381019061047a9190612e42565b610d65565b60405161048c9190612f73565b60405180910390f35b6104af60048036038101906104aa9190613319565b610dd6565b005b6104cb60048036038101906104c69190612e42565b610e3c565b6040516104d89190612eb0565b60405180910390f35b6104fb60048036038101906104f69190612ef7565b610eee565b6040516105089190612f73565b60405180910390f35b61052b60048036038101906105269190612e42565b610fa6565b005b6105476004803603810190610542919061306e565b61101b565b6040516105549190612d36565b60405180910390f35b610565611086565b6040516105729190612dea565b60405180910390f35b610583611118565b6040516105909190613053565b60405180910390f35b6105b360048036038101906105ae919061338e565b61111f565b005b6105cf60048036038101906105ca919061346f565b611135565b005b6105eb60048036038101906105e69190612e42565b611197565b6040516105f89190612dea565b60405180910390f35b61061b60048036038101906106169190612ef7565b6111cb565b005b610625611244565b6040516106329190613053565b60405180910390f35b6106556004803603810190610650919061306e565b611268565b005b610671600480360381019061066c91906134f2565b611291565b60405161067e9190612d36565b60405180910390f35b6106a1600480360381019061069c919061355e565b611325565b005b6106bd60048036038101906106b8919061359e565b6113a1565b005b60006106ca82611451565b9050919050565b6060600080546106e09061360d565b80601f016020809104026020016040519081016040528092919081815260200182805461070c9061360d565b80156107595780601f1061072e57610100808354040283529160200191610759565b820191906000526020600020905b81548152906001019060200180831161073c57829003601f168201915b5050505050905090565b600061076e826114cb565b6107ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a4906136b1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107f56000801b3361101b565b610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b9061371d565b60405180910390fd5b61085e7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84882611268565b50565b600061086c82610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d4906137af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc611537565b73ffffffffffffffffffffffffffffffffffffffff16148061092b575061092a81610925611537565b611291565b5b61096a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096190613841565b60405180910390fd5b610974838361153f565b505050565b6109866000801b3361101b565b6109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc9061371d565b60405180910390fd5b6109ef7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84882610b1c565b50565b6000600880549050905090565b610a10610a0a611537565b826115f8565b610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a46906138d3565b60405180910390fd5b610a5a8383836116d6565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610a8c6000801b3361101b565b610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac29061371d565b60405180910390fd5b610af57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610b1c565b50565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b610b2582610a5f565b610b3681610b31611537565b611932565b610b4083836119cf565b505050565b6000610b5083610eee565b8210610b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8890613965565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bf2611537565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c56906139f7565b60405180910390fd5b610c698282611ab0565b5050565b6000600c600083815260200190815260200160002060009054906101000a900460f81b9050919050565b610cb283838360405180602001604052806000815250611135565b505050565b60606000610cc483610eee565b905060008167ffffffffffffffff811115610ce257610ce16131ee565b5b604051908082528060200260200182016040528015610d105781602001602082028036833780820191505090505b50905060005b82811015610d5a57610d288582610b45565b828281518110610d3b57610d3a613a17565b5b6020026020010181815250508080610d5290613a75565b915050610d16565b508092505050919050565b6000610d6f6109f2565b8210610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613b30565b60405180910390fd5b60088281548110610dc457610dc3613a17565b5b90600052602060002001549050919050565b610de36000801b3361101b565b610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e199061371d565b60405180910390fd5b80600b9080519060200190610e38929190612bdf565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc90613bc2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5690613c54565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fd07f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8483361101b565b61100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100690613cc0565b60405180910390fd5b61101881611b92565b50565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546110959061360d565b80601f01602080910402602001604051908101604052809291908181526020018280546110c19061360d565b801561110e5780601f106110e35761010080835404028352916020019161110e565b820191906000526020600020905b8154815290600101906020018083116110f157829003601f168201915b5050505050905090565b6000801b81565b61113161112a611537565b8383611ca3565b5050565b611146611140611537565b836115f8565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906138d3565b60405180910390fd5b61119184848484611e10565b50505050565b6060600b6111a483611e6c565b6040516020016111b5929190613db0565b6040516020818303038152906040529050919050565b6111d86000801b3361101b565b611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e9061371d565b60405180910390fd5b6112417f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611268565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61127182610a5f565b6112828161127d611537565b611932565b61128c8383611ab0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113326000801b3361101b565b611371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113689061371d565b60405180910390fd5b80600c600084815260200190815260200160002060006101000a81548160ff021916908360f81c02179055505050565b6113cb7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361101b565b61140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190613e20565b60405180910390fd5b60006114146109f2565b90506114208382611fcd565b81600c600083815260200190815260200160002060006101000a81548160ff021916908360f81c0217905550505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114c457506114c382611feb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166115b283610e3c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611603826114cb565b611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990613eb2565b60405180910390fd5b600061164d83610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116bc57508373ffffffffffffffffffffffffffffffffffffffff166116a484610763565b73ffffffffffffffffffffffffffffffffffffffff16145b806116cd57506116cc8185611291565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166116f682610e3c565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390613f44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613fd6565b60405180910390fd5b6117c7838383612065565b6117d260008261153f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118229190613ff6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611879919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61193c828261101b565b6119cb576119618173ffffffffffffffffffffffffffffffffffffffff166014612179565b61196f8360001c6020612179565b604051602001611980929190614118565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c29190612dea565b60405180910390fd5b5050565b6119d9828261101b565b611aac576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a51611537565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611aba828261101b565b15611b8e576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b33611537565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000611b9d82610e3c565b9050611bab81600084612065565b611bb660008361153f565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c069190613ff6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d099061419e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e039190612d36565b60405180910390a3505050565b611e1b8484846116d6565b611e27848484846123b5565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614230565b60405180910390fd5b50505050565b60606000821415611eb4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fc8565b600082905060005b60008214611ee6578080611ecf90613a75565b915050600a82611edf919061427f565b9150611ebc565b60008167ffffffffffffffff811115611f0257611f016131ee565b5b6040519080825280601f01601f191660200182016040528015611f345781602001600182028036833780820191505090505b5090505b60008514611fc157600182611f4d9190613ff6565b9150600a85611f5c91906142b0565b6030611f68919061402a565b60f81b818381518110611f7e57611f7d613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fba919061427f565b9450611f38565b8093505050505b919050565b611fe782826040518060200160405280600081525061254c565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061205e575061205d826125a7565b5b9050919050565b612070838383612689565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120b3576120ae8161268e565b6120f2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120f1576120f083826126d7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121355761213081612844565b612174565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612173576121728282612915565b5b5b505050565b60606000600283600261218c91906142e1565b612196919061402a565b67ffffffffffffffff8111156121af576121ae6131ee565b5b6040519080825280601f01601f1916602001820160405280156121e15781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061221957612218613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061227d5761227c613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026122bd91906142e1565b6122c7919061402a565b90505b6001811115612367577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061230957612308613a17565b5b1a60f81b8282815181106123205761231f613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806123609061433b565b90506122ca565b50600084146123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a2906143b1565b60405180910390fd5b8091505092915050565b60006123d68473ffffffffffffffffffffffffffffffffffffffff16612994565b1561253f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123ff611537565b8786866040518563ffffffff1660e01b81526004016124219493929190614426565b602060405180830381600087803b15801561243b57600080fd5b505af192505050801561246c57506040513d601f19601f820116820180604052508101906124699190614487565b60015b6124ef573d806000811461249c576040519150601f19603f3d011682016040523d82523d6000602084013e6124a1565b606091505b506000815114156124e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124de90614230565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612544565b600190505b949350505050565b61255683836129a7565b61256360008484846123b5565b6125a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259990614230565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061267257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612682575061268182612b75565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126e484610eee565b6126ee9190613ff6565b90506000600760008481526020019081526020016000205490508181146127d3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128589190613ff6565b905060006009600084815260200190815260200160002054905060006008838154811061288857612887613a17565b5b9060005260206000200154905080600883815481106128aa576128a9613a17565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128f9576128f86144b4565b5b6001900381819060005260206000200160009055905550505050565b600061292083610eee565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0e9061452f565b60405180910390fd5b612a20816114cb565b15612a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a579061459b565b60405180910390fd5b612a6c60008383612065565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612abc919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054612beb9061360d565b90600052602060002090601f016020900481019282612c0d5760008555612c54565b82601f10612c2657805160ff1916838001178555612c54565b82800160010185558215612c54579182015b82811115612c53578251825591602001919060010190612c38565b5b509050612c619190612c65565b5090565b5b80821115612c7e576000816000905550600101612c66565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ccb81612c96565b8114612cd657600080fd5b50565b600081359050612ce881612cc2565b92915050565b600060208284031215612d0457612d03612c8c565b5b6000612d1284828501612cd9565b91505092915050565b60008115159050919050565b612d3081612d1b565b82525050565b6000602082019050612d4b6000830184612d27565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d8b578082015181840152602081019050612d70565b83811115612d9a576000848401525b50505050565b6000601f19601f8301169050919050565b6000612dbc82612d51565b612dc68185612d5c565b9350612dd6818560208601612d6d565b612ddf81612da0565b840191505092915050565b60006020820190508181036000830152612e048184612db1565b905092915050565b6000819050919050565b612e1f81612e0c565b8114612e2a57600080fd5b50565b600081359050612e3c81612e16565b92915050565b600060208284031215612e5857612e57612c8c565b5b6000612e6684828501612e2d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e9a82612e6f565b9050919050565b612eaa81612e8f565b82525050565b6000602082019050612ec56000830184612ea1565b92915050565b612ed481612e8f565b8114612edf57600080fd5b50565b600081359050612ef181612ecb565b92915050565b600060208284031215612f0d57612f0c612c8c565b5b6000612f1b84828501612ee2565b91505092915050565b60008060408385031215612f3b57612f3a612c8c565b5b6000612f4985828601612ee2565b9250506020612f5a85828601612e2d565b9150509250929050565b612f6d81612e0c565b82525050565b6000602082019050612f886000830184612f64565b92915050565b600080600060608486031215612fa757612fa6612c8c565b5b6000612fb586828701612ee2565b9350506020612fc686828701612ee2565b9250506040612fd786828701612e2d565b9150509250925092565b6000819050919050565b612ff481612fe1565b8114612fff57600080fd5b50565b60008135905061301181612feb565b92915050565b60006020828403121561302d5761302c612c8c565b5b600061303b84828501613002565b91505092915050565b61304d81612fe1565b82525050565b60006020820190506130686000830184613044565b92915050565b6000806040838503121561308557613084612c8c565b5b600061309385828601613002565b92505060206130a485828601612ee2565b9150509250929050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6130e3816130ae565b82525050565b60006020820190506130fe60008301846130da565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61313981612e0c565b82525050565b600061314b8383613130565b60208301905092915050565b6000602082019050919050565b600061316f82613104565b613179818561310f565b935061318483613120565b8060005b838110156131b557815161319c888261313f565b97506131a783613157565b925050600181019050613188565b5085935050505092915050565b600060208201905081810360008301526131dc8184613164565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61322682612da0565b810181811067ffffffffffffffff82111715613245576132446131ee565b5b80604052505050565b6000613258612c82565b9050613264828261321d565b919050565b600067ffffffffffffffff821115613284576132836131ee565b5b61328d82612da0565b9050602081019050919050565b82818337600083830152505050565b60006132bc6132b784613269565b61324e565b9050828152602081018484840111156132d8576132d76131e9565b5b6132e384828561329a565b509392505050565b600082601f830112613300576132ff6131e4565b5b81356133108482602086016132a9565b91505092915050565b60006020828403121561332f5761332e612c8c565b5b600082013567ffffffffffffffff81111561334d5761334c612c91565b5b613359848285016132eb565b91505092915050565b61336b81612d1b565b811461337657600080fd5b50565b60008135905061338881613362565b92915050565b600080604083850312156133a5576133a4612c8c565b5b60006133b385828601612ee2565b92505060206133c485828601613379565b9150509250929050565b600067ffffffffffffffff8211156133e9576133e86131ee565b5b6133f282612da0565b9050602081019050919050565b600061341261340d846133ce565b61324e565b90508281526020810184848401111561342e5761342d6131e9565b5b61343984828561329a565b509392505050565b600082601f830112613456576134556131e4565b5b81356134668482602086016133ff565b91505092915050565b6000806000806080858703121561348957613488612c8c565b5b600061349787828801612ee2565b94505060206134a887828801612ee2565b93505060406134b987828801612e2d565b925050606085013567ffffffffffffffff8111156134da576134d9612c91565b5b6134e687828801613441565b91505092959194509250565b6000806040838503121561350957613508612c8c565b5b600061351785828601612ee2565b925050602061352885828601612ee2565b9150509250929050565b61353b816130ae565b811461354657600080fd5b50565b60008135905061355881613532565b92915050565b6000806040838503121561357557613574612c8c565b5b600061358385828601612e2d565b925050602061359485828601613549565b9150509250929050565b600080604083850312156135b5576135b4612c8c565b5b60006135c385828601612ee2565b92505060206135d485828601613549565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061362557607f821691505b60208210811415613639576136386135de565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061369b602c83612d5c565b91506136a68261363f565b604082019050919050565b600060208201905081810360008301526136ca8161368e565b9050919050565b7f4f6e6c796f776e65720000000000000000000000000000000000000000000000600082015250565b6000613707600983612d5c565b9150613712826136d1565b602082019050919050565b60006020820190508181036000830152613736816136fa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613799602183612d5c565b91506137a48261373d565b604082019050919050565b600060208201905081810360008301526137c88161378c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061382b603883612d5c565b9150613836826137cf565b604082019050919050565b6000602082019050818103600083015261385a8161381e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006138bd603183612d5c565b91506138c882613861565b604082019050919050565b600060208201905081810360008301526138ec816138b0565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061394f602b83612d5c565b915061395a826138f3565b604082019050919050565b6000602082019050818103600083015261397e81613942565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006139e1602f83612d5c565b91506139ec82613985565b604082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a8082612e0c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ab357613ab2613a46565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613b1a602c83612d5c565b9150613b2582613abe565b604082019050919050565b60006020820190508181036000830152613b4981613b0d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613bac602983612d5c565b9150613bb782613b50565b604082019050919050565b60006020820190508181036000830152613bdb81613b9f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613c3e602a83612d5c565b9150613c4982613be2565b604082019050919050565b60006020820190508181036000830152613c6d81613c31565b9050919050565b7f4f6e6c796275726e657200000000000000000000000000000000000000000000600082015250565b6000613caa600a83612d5c565b9150613cb582613c74565b602082019050919050565b60006020820190508181036000830152613cd981613c9d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d0d8161360d565b613d178186613ce0565b94506001821660008114613d325760018114613d4357613d76565b60ff19831686528186019350613d76565b613d4c85613ceb565b60005b83811015613d6e57815481890152600182019150602081019050613d4f565b838801955050505b50505092915050565b6000613d8a82612d51565b613d948185613ce0565b9350613da4818560208601612d6d565b80840191505092915050565b6000613dbc8285613d00565b9150613dc88284613d7f565b91508190509392505050565b7f4f6e6c796d696e74657200000000000000000000000000000000000000000000600082015250565b6000613e0a600a83612d5c565b9150613e1582613dd4565b602082019050919050565b60006020820190508181036000830152613e3981613dfd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613e9c602c83612d5c565b9150613ea782613e40565b604082019050919050565b60006020820190508181036000830152613ecb81613e8f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613f2e602983612d5c565b9150613f3982613ed2565b604082019050919050565b60006020820190508181036000830152613f5d81613f21565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613fc0602483612d5c565b9150613fcb82613f64565b604082019050919050565b60006020820190508181036000830152613fef81613fb3565b9050919050565b600061400182612e0c565b915061400c83612e0c565b92508282101561401f5761401e613a46565b5b828203905092915050565b600061403582612e0c565b915061404083612e0c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561407557614074613a46565b5b828201905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006140b6601783613ce0565b91506140c182614080565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614102601183613ce0565b915061410d826140cc565b601182019050919050565b6000614123826140a9565b915061412f8285613d7f565b915061413a826140f5565b91506141468284613d7f565b91508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614188601983612d5c565b915061419382614152565b602082019050919050565b600060208201905081810360008301526141b78161417b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061421a603283612d5c565b9150614225826141be565b604082019050919050565b600060208201905081810360008301526142498161420d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061428a82612e0c565b915061429583612e0c565b9250826142a5576142a4614250565b5b828204905092915050565b60006142bb82612e0c565b91506142c683612e0c565b9250826142d6576142d5614250565b5b828206905092915050565b60006142ec82612e0c565b91506142f783612e0c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143305761432f613a46565b5b828202905092915050565b600061434682612e0c565b9150600082141561435a57614359613a46565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061439b602083612d5c565b91506143a682614365565b602082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143f8826143d1565b61440281856143dc565b9350614412818560208601612d6d565b61441b81612da0565b840191505092915050565b600060808201905061443b6000830187612ea1565b6144486020830186612ea1565b6144556040830185612f64565b818103606083015261446781846143ed565b905095945050505050565b60008151905061448181612cc2565b92915050565b60006020828403121561449d5761449c612c8c565b5b60006144ab84828501614472565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614519602083612d5c565b9150614524826144e3565b602082019050919050565b600060208201905081810360008301526145488161450c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614585601c83612d5c565b91506145908261454f565b602082019050919050565b600060208201905081810360008301526145b481614578565b905091905056fea2646970667358221220a7759fb9f8bc82351f8df65f8d75ad3794dba8c0dc2708872b37bde0f216fc9b64736f6c6343000809003368747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f69736c616e64646f6765732f6e6674732f6d61737465722f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c80634f6ccce71161011a578063a22cb465116100ad578063d53913931161007c578063d53913931461061d578063d547741f1461063b578063e985e9c514610657578063fd3558cf14610687578063fe73e8f4146106a357610206565b8063a22cb46514610599578063b88d4fde146105b5578063c87b56dd146105d1578063cfbd48851461060157610206565b806382015e56116100e957806382015e561461051157806391d148541461052d57806395d89b411461055d578063a217fddf1461057b57610206565b80634f6ccce71461046557806355f804b3146104955780636352211e146104b157806370a08231146104e157610206565b8063248a9ca31161019d5780632f745c591161016c5780632f745c591461039d57806336568abe146103cd5780634036ab78146103e957806342842e0e14610419578063438b63001461043557610206565b8063248a9ca314610317578063261707fa14610347578063282c51f3146103635780632f2ff15d1461038157610206565b8063095ea7b3116101d9578063095ea7b3146102a557806310511f96146102c157806318160ddd146102dd57806323b872dd146102fb57610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc146102595780630900cc3314610289575b600080fd5b61022560048036038101906102209190612cee565b6106bf565b6040516102329190612d36565b60405180910390f35b6102436106d1565b6040516102509190612dea565b60405180910390f35b610273600480360381019061026e9190612e42565b610763565b6040516102809190612eb0565b60405180910390f35b6102a3600480360381019061029e9190612ef7565b6107e8565b005b6102bf60048036038101906102ba9190612f24565b610861565b005b6102db60048036038101906102d69190612ef7565b610979565b005b6102e56109f2565b6040516102f29190612f73565b60405180910390f35b61031560048036038101906103109190612f8e565b6109ff565b005b610331600480360381019061032c9190613017565b610a5f565b60405161033e9190613053565b60405180910390f35b610361600480360381019061035c9190612ef7565b610a7f565b005b61036b610af8565b6040516103789190613053565b60405180910390f35b61039b6004803603810190610396919061306e565b610b1c565b005b6103b760048036038101906103b29190612f24565b610b45565b6040516103c49190612f73565b60405180910390f35b6103e760048036038101906103e2919061306e565b610bea565b005b61040360048036038101906103fe9190612e42565b610c6d565b60405161041091906130e9565b60405180910390f35b610433600480360381019061042e9190612f8e565b610c97565b005b61044f600480360381019061044a9190612ef7565b610cb7565b60405161045c91906131c2565b60405180910390f35b61047f600480360381019061047a9190612e42565b610d65565b60405161048c9190612f73565b60405180910390f35b6104af60048036038101906104aa9190613319565b610dd6565b005b6104cb60048036038101906104c69190612e42565b610e3c565b6040516104d89190612eb0565b60405180910390f35b6104fb60048036038101906104f69190612ef7565b610eee565b6040516105089190612f73565b60405180910390f35b61052b60048036038101906105269190612e42565b610fa6565b005b6105476004803603810190610542919061306e565b61101b565b6040516105549190612d36565b60405180910390f35b610565611086565b6040516105729190612dea565b60405180910390f35b610583611118565b6040516105909190613053565b60405180910390f35b6105b360048036038101906105ae919061338e565b61111f565b005b6105cf60048036038101906105ca919061346f565b611135565b005b6105eb60048036038101906105e69190612e42565b611197565b6040516105f89190612dea565b60405180910390f35b61061b60048036038101906106169190612ef7565b6111cb565b005b610625611244565b6040516106329190613053565b60405180910390f35b6106556004803603810190610650919061306e565b611268565b005b610671600480360381019061066c91906134f2565b611291565b60405161067e9190612d36565b60405180910390f35b6106a1600480360381019061069c919061355e565b611325565b005b6106bd60048036038101906106b8919061359e565b6113a1565b005b60006106ca82611451565b9050919050565b6060600080546106e09061360d565b80601f016020809104026020016040519081016040528092919081815260200182805461070c9061360d565b80156107595780601f1061072e57610100808354040283529160200191610759565b820191906000526020600020905b81548152906001019060200180831161073c57829003601f168201915b5050505050905090565b600061076e826114cb565b6107ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a4906136b1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107f56000801b3361101b565b610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b9061371d565b60405180910390fd5b61085e7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84882611268565b50565b600061086c82610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d4906137af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc611537565b73ffffffffffffffffffffffffffffffffffffffff16148061092b575061092a81610925611537565b611291565b5b61096a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096190613841565b60405180910390fd5b610974838361153f565b505050565b6109866000801b3361101b565b6109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc9061371d565b60405180910390fd5b6109ef7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84882610b1c565b50565b6000600880549050905090565b610a10610a0a611537565b826115f8565b610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a46906138d3565b60405180910390fd5b610a5a8383836116d6565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610a8c6000801b3361101b565b610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac29061371d565b60405180910390fd5b610af57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610b1c565b50565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b610b2582610a5f565b610b3681610b31611537565b611932565b610b4083836119cf565b505050565b6000610b5083610eee565b8210610b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8890613965565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bf2611537565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c56906139f7565b60405180910390fd5b610c698282611ab0565b5050565b6000600c600083815260200190815260200160002060009054906101000a900460f81b9050919050565b610cb283838360405180602001604052806000815250611135565b505050565b60606000610cc483610eee565b905060008167ffffffffffffffff811115610ce257610ce16131ee565b5b604051908082528060200260200182016040528015610d105781602001602082028036833780820191505090505b50905060005b82811015610d5a57610d288582610b45565b828281518110610d3b57610d3a613a17565b5b6020026020010181815250508080610d5290613a75565b915050610d16565b508092505050919050565b6000610d6f6109f2565b8210610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613b30565b60405180910390fd5b60088281548110610dc457610dc3613a17565b5b90600052602060002001549050919050565b610de36000801b3361101b565b610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e199061371d565b60405180910390fd5b80600b9080519060200190610e38929190612bdf565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc90613bc2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5690613c54565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fd07f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8483361101b565b61100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100690613cc0565b60405180910390fd5b61101881611b92565b50565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546110959061360d565b80601f01602080910402602001604051908101604052809291908181526020018280546110c19061360d565b801561110e5780601f106110e35761010080835404028352916020019161110e565b820191906000526020600020905b8154815290600101906020018083116110f157829003601f168201915b5050505050905090565b6000801b81565b61113161112a611537565b8383611ca3565b5050565b611146611140611537565b836115f8565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906138d3565b60405180910390fd5b61119184848484611e10565b50505050565b6060600b6111a483611e6c565b6040516020016111b5929190613db0565b6040516020818303038152906040529050919050565b6111d86000801b3361101b565b611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e9061371d565b60405180910390fd5b6112417f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611268565b50565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61127182610a5f565b6112828161127d611537565b611932565b61128c8383611ab0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113326000801b3361101b565b611371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113689061371d565b60405180910390fd5b80600c600084815260200190815260200160002060006101000a81548160ff021916908360f81c02179055505050565b6113cb7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361101b565b61140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190613e20565b60405180910390fd5b60006114146109f2565b90506114208382611fcd565b81600c600083815260200190815260200160002060006101000a81548160ff021916908360f81c0217905550505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114c457506114c382611feb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166115b283610e3c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611603826114cb565b611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990613eb2565b60405180910390fd5b600061164d83610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116bc57508373ffffffffffffffffffffffffffffffffffffffff166116a484610763565b73ffffffffffffffffffffffffffffffffffffffff16145b806116cd57506116cc8185611291565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166116f682610e3c565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390613f44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613fd6565b60405180910390fd5b6117c7838383612065565b6117d260008261153f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118229190613ff6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611879919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61193c828261101b565b6119cb576119618173ffffffffffffffffffffffffffffffffffffffff166014612179565b61196f8360001c6020612179565b604051602001611980929190614118565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c29190612dea565b60405180910390fd5b5050565b6119d9828261101b565b611aac576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a51611537565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611aba828261101b565b15611b8e576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b33611537565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000611b9d82610e3c565b9050611bab81600084612065565b611bb660008361153f565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c069190613ff6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d099061419e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e039190612d36565b60405180910390a3505050565b611e1b8484846116d6565b611e27848484846123b5565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614230565b60405180910390fd5b50505050565b60606000821415611eb4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fc8565b600082905060005b60008214611ee6578080611ecf90613a75565b915050600a82611edf919061427f565b9150611ebc565b60008167ffffffffffffffff811115611f0257611f016131ee565b5b6040519080825280601f01601f191660200182016040528015611f345781602001600182028036833780820191505090505b5090505b60008514611fc157600182611f4d9190613ff6565b9150600a85611f5c91906142b0565b6030611f68919061402a565b60f81b818381518110611f7e57611f7d613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fba919061427f565b9450611f38565b8093505050505b919050565b611fe782826040518060200160405280600081525061254c565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061205e575061205d826125a7565b5b9050919050565b612070838383612689565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120b3576120ae8161268e565b6120f2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120f1576120f083826126d7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121355761213081612844565b612174565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612173576121728282612915565b5b5b505050565b60606000600283600261218c91906142e1565b612196919061402a565b67ffffffffffffffff8111156121af576121ae6131ee565b5b6040519080825280601f01601f1916602001820160405280156121e15781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061221957612218613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061227d5761227c613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026122bd91906142e1565b6122c7919061402a565b90505b6001811115612367577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061230957612308613a17565b5b1a60f81b8282815181106123205761231f613a17565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806123609061433b565b90506122ca565b50600084146123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a2906143b1565b60405180910390fd5b8091505092915050565b60006123d68473ffffffffffffffffffffffffffffffffffffffff16612994565b1561253f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123ff611537565b8786866040518563ffffffff1660e01b81526004016124219493929190614426565b602060405180830381600087803b15801561243b57600080fd5b505af192505050801561246c57506040513d601f19601f820116820180604052508101906124699190614487565b60015b6124ef573d806000811461249c576040519150601f19603f3d011682016040523d82523d6000602084013e6124a1565b606091505b506000815114156124e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124de90614230565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612544565b600190505b949350505050565b61255683836129a7565b61256360008484846123b5565b6125a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259990614230565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061267257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612682575061268182612b75565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126e484610eee565b6126ee9190613ff6565b90506000600760008481526020019081526020016000205490508181146127d3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128589190613ff6565b905060006009600084815260200190815260200160002054905060006008838154811061288857612887613a17565b5b9060005260206000200154905080600883815481106128aa576128a9613a17565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128f9576128f86144b4565b5b6001900381819060005260206000200160009055905550505050565b600061292083610eee565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0e9061452f565b60405180910390fd5b612a20816114cb565b15612a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a579061459b565b60405180910390fd5b612a6c60008383612065565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612abc919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054612beb9061360d565b90600052602060002090601f016020900481019282612c0d5760008555612c54565b82601f10612c2657805160ff1916838001178555612c54565b82800160010185558215612c54579182015b82811115612c53578251825591602001919060010190612c38565b5b509050612c619190612c65565b5090565b5b80821115612c7e576000816000905550600101612c66565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ccb81612c96565b8114612cd657600080fd5b50565b600081359050612ce881612cc2565b92915050565b600060208284031215612d0457612d03612c8c565b5b6000612d1284828501612cd9565b91505092915050565b60008115159050919050565b612d3081612d1b565b82525050565b6000602082019050612d4b6000830184612d27565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d8b578082015181840152602081019050612d70565b83811115612d9a576000848401525b50505050565b6000601f19601f8301169050919050565b6000612dbc82612d51565b612dc68185612d5c565b9350612dd6818560208601612d6d565b612ddf81612da0565b840191505092915050565b60006020820190508181036000830152612e048184612db1565b905092915050565b6000819050919050565b612e1f81612e0c565b8114612e2a57600080fd5b50565b600081359050612e3c81612e16565b92915050565b600060208284031215612e5857612e57612c8c565b5b6000612e6684828501612e2d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e9a82612e6f565b9050919050565b612eaa81612e8f565b82525050565b6000602082019050612ec56000830184612ea1565b92915050565b612ed481612e8f565b8114612edf57600080fd5b50565b600081359050612ef181612ecb565b92915050565b600060208284031215612f0d57612f0c612c8c565b5b6000612f1b84828501612ee2565b91505092915050565b60008060408385031215612f3b57612f3a612c8c565b5b6000612f4985828601612ee2565b9250506020612f5a85828601612e2d565b9150509250929050565b612f6d81612e0c565b82525050565b6000602082019050612f886000830184612f64565b92915050565b600080600060608486031215612fa757612fa6612c8c565b5b6000612fb586828701612ee2565b9350506020612fc686828701612ee2565b9250506040612fd786828701612e2d565b9150509250925092565b6000819050919050565b612ff481612fe1565b8114612fff57600080fd5b50565b60008135905061301181612feb565b92915050565b60006020828403121561302d5761302c612c8c565b5b600061303b84828501613002565b91505092915050565b61304d81612fe1565b82525050565b60006020820190506130686000830184613044565b92915050565b6000806040838503121561308557613084612c8c565b5b600061309385828601613002565b92505060206130a485828601612ee2565b9150509250929050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6130e3816130ae565b82525050565b60006020820190506130fe60008301846130da565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61313981612e0c565b82525050565b600061314b8383613130565b60208301905092915050565b6000602082019050919050565b600061316f82613104565b613179818561310f565b935061318483613120565b8060005b838110156131b557815161319c888261313f565b97506131a783613157565b925050600181019050613188565b5085935050505092915050565b600060208201905081810360008301526131dc8184613164565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61322682612da0565b810181811067ffffffffffffffff82111715613245576132446131ee565b5b80604052505050565b6000613258612c82565b9050613264828261321d565b919050565b600067ffffffffffffffff821115613284576132836131ee565b5b61328d82612da0565b9050602081019050919050565b82818337600083830152505050565b60006132bc6132b784613269565b61324e565b9050828152602081018484840111156132d8576132d76131e9565b5b6132e384828561329a565b509392505050565b600082601f830112613300576132ff6131e4565b5b81356133108482602086016132a9565b91505092915050565b60006020828403121561332f5761332e612c8c565b5b600082013567ffffffffffffffff81111561334d5761334c612c91565b5b613359848285016132eb565b91505092915050565b61336b81612d1b565b811461337657600080fd5b50565b60008135905061338881613362565b92915050565b600080604083850312156133a5576133a4612c8c565b5b60006133b385828601612ee2565b92505060206133c485828601613379565b9150509250929050565b600067ffffffffffffffff8211156133e9576133e86131ee565b5b6133f282612da0565b9050602081019050919050565b600061341261340d846133ce565b61324e565b90508281526020810184848401111561342e5761342d6131e9565b5b61343984828561329a565b509392505050565b600082601f830112613456576134556131e4565b5b81356134668482602086016133ff565b91505092915050565b6000806000806080858703121561348957613488612c8c565b5b600061349787828801612ee2565b94505060206134a887828801612ee2565b93505060406134b987828801612e2d565b925050606085013567ffffffffffffffff8111156134da576134d9612c91565b5b6134e687828801613441565b91505092959194509250565b6000806040838503121561350957613508612c8c565b5b600061351785828601612ee2565b925050602061352885828601612ee2565b9150509250929050565b61353b816130ae565b811461354657600080fd5b50565b60008135905061355881613532565b92915050565b6000806040838503121561357557613574612c8c565b5b600061358385828601612e2d565b925050602061359485828601613549565b9150509250929050565b600080604083850312156135b5576135b4612c8c565b5b60006135c385828601612ee2565b92505060206135d485828601613549565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061362557607f821691505b60208210811415613639576136386135de565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061369b602c83612d5c565b91506136a68261363f565b604082019050919050565b600060208201905081810360008301526136ca8161368e565b9050919050565b7f4f6e6c796f776e65720000000000000000000000000000000000000000000000600082015250565b6000613707600983612d5c565b9150613712826136d1565b602082019050919050565b60006020820190508181036000830152613736816136fa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613799602183612d5c565b91506137a48261373d565b604082019050919050565b600060208201905081810360008301526137c88161378c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061382b603883612d5c565b9150613836826137cf565b604082019050919050565b6000602082019050818103600083015261385a8161381e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006138bd603183612d5c565b91506138c882613861565b604082019050919050565b600060208201905081810360008301526138ec816138b0565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061394f602b83612d5c565b915061395a826138f3565b604082019050919050565b6000602082019050818103600083015261397e81613942565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006139e1602f83612d5c565b91506139ec82613985565b604082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a8082612e0c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ab357613ab2613a46565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613b1a602c83612d5c565b9150613b2582613abe565b604082019050919050565b60006020820190508181036000830152613b4981613b0d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613bac602983612d5c565b9150613bb782613b50565b604082019050919050565b60006020820190508181036000830152613bdb81613b9f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613c3e602a83612d5c565b9150613c4982613be2565b604082019050919050565b60006020820190508181036000830152613c6d81613c31565b9050919050565b7f4f6e6c796275726e657200000000000000000000000000000000000000000000600082015250565b6000613caa600a83612d5c565b9150613cb582613c74565b602082019050919050565b60006020820190508181036000830152613cd981613c9d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d0d8161360d565b613d178186613ce0565b94506001821660008114613d325760018114613d4357613d76565b60ff19831686528186019350613d76565b613d4c85613ceb565b60005b83811015613d6e57815481890152600182019150602081019050613d4f565b838801955050505b50505092915050565b6000613d8a82612d51565b613d948185613ce0565b9350613da4818560208601612d6d565b80840191505092915050565b6000613dbc8285613d00565b9150613dc88284613d7f565b91508190509392505050565b7f4f6e6c796d696e74657200000000000000000000000000000000000000000000600082015250565b6000613e0a600a83612d5c565b9150613e1582613dd4565b602082019050919050565b60006020820190508181036000830152613e3981613dfd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613e9c602c83612d5c565b9150613ea782613e40565b604082019050919050565b60006020820190508181036000830152613ecb81613e8f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613f2e602983612d5c565b9150613f3982613ed2565b604082019050919050565b60006020820190508181036000830152613f5d81613f21565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613fc0602483612d5c565b9150613fcb82613f64565b604082019050919050565b60006020820190508181036000830152613fef81613fb3565b9050919050565b600061400182612e0c565b915061400c83612e0c565b92508282101561401f5761401e613a46565b5b828203905092915050565b600061403582612e0c565b915061404083612e0c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561407557614074613a46565b5b828201905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006140b6601783613ce0565b91506140c182614080565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614102601183613ce0565b915061410d826140cc565b601182019050919050565b6000614123826140a9565b915061412f8285613d7f565b915061413a826140f5565b91506141468284613d7f565b91508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614188601983612d5c565b915061419382614152565b602082019050919050565b600060208201905081810360008301526141b78161417b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061421a603283612d5c565b9150614225826141be565b604082019050919050565b600060208201905081810360008301526142498161420d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061428a82612e0c565b915061429583612e0c565b9250826142a5576142a4614250565b5b828204905092915050565b60006142bb82612e0c565b91506142c683612e0c565b9250826142d6576142d5614250565b5b828206905092915050565b60006142ec82612e0c565b91506142f783612e0c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143305761432f613a46565b5b828202905092915050565b600061434682612e0c565b9150600082141561435a57614359613a46565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061439b602083612d5c565b91506143a682614365565b602082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143f8826143d1565b61440281856143dc565b9350614412818560208601612d6d565b61441b81612da0565b840191505092915050565b600060808201905061443b6000830187612ea1565b6144486020830186612ea1565b6144556040830185612f64565b818103606083015261446781846143ed565b905095945050505050565b60008151905061448181612cc2565b92915050565b60006020828403121561449d5761449c612c8c565b5b60006144ab84828501614472565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614519602083612d5c565b9150614524826144e3565b602082019050919050565b600060208201905081810360008301526145488161450c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614585601c83612d5c565b91506145908261454f565b602082019050919050565b600060208201905081810360008301526145b481614578565b905091905056fea2646970667358221220a7759fb9f8bc82351f8df65f8d75ad3794dba8c0dc2708872b37bde0f216fc9b64736f6c63430008090033

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.