ETH Price: $2,274.00 (-6.08%)

Token

Feature IP Licensing (FTR-IP)
 

Overview

Max Total Supply

0 FTR-IP

Holders

17

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mrkelvinyu.eth
Balance
1 FTR-IP
0x9a192D7AFe4450F723c3A7Be88f66b1B2B3B74DC
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:
LicensingToken

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./interfaces/LicensingTokenI.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

/**
 * @title LicensingToken
 * @dev This contract allows minting licenses for other ERC721 collections.
 * This contract is managed by the LicenseOps contract.
 */
contract LicensingToken is ERC721, AccessControl {
    // the current tokenId
    uint256 public tokenId;

    // baseURI is the base URI for the license.
    string internal baseUri;

    // Emmited when a new buyer token is minted
    event MintBuyerToken(uint256 indexed _tokenId, bytes32 indexed _databaseId);
    // Emmited when a new seller token is minted
    event MintSellerToken(uint256 indexed _tokenId, bytes32 indexed _databaseId);

    // Role who can mint on this contract, the address is the licenseOps
    bytes32 private constant MINTER_ROLE = keccak256("MINTER_ROLE");

    bytes32 private constant OPERATIONS_ROLE = keccak256("OPERATIONS_ROLE");

    // License - > expiration date - store always the biggest value
    mapping(bytes32 => LicenseTypeDetail) private licenseTypeDetails;

    //
    mapping(bytes32 => MasterLicenseTypeDetail) private masterLicenseTypeDetails;

    // Mapping from licensor contract address + licensor tokenid to buyer licenses + licenseType
    mapping(bytes32 => License[]) public registeredLicenses;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token.
     */
    constructor() ERC721("Feature IP Licensing", "FTR-IP") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    /**
     * @dev Safe mint two token one for seller and one for the buyer.
     *
     * @param _to the buyer address
     * @param _licenseType type of license
     * @param _expirationDate expiration date of license - timestamp of when it will expire - it is already validated that it is bigger than block.timestamp
     * @param _exclusive if license is exclusive
     * @param _tokenId licensor tokenid
     * @param _tokenContractAddress licensor contract address
     * @param _tokenOwnerAddress licensor wallet address
     * @param _databaseId license database id
     */
    function safeMint(
        address _to,
        string calldata _licenseType,
        uint256 _expirationDate,
        bool _exclusive,
        uint256 _tokenId,
        address _tokenContractAddress,
        address _tokenOwnerAddress,
        bytes32 _databaseId
    ) external onlyRole(MINTER_ROLE) {
        MasterLicenseTypeDetail memory masterLicenseTypeDetail = masterLicenseTypeDetails[
            concatenateLicenseTypeHash(
                concatenateLicenseHash(_tokenContractAddress, _tokenId),
                "MASTER"
            )
        ];

        // If it's going to mint any license, it shouldnt exist a exclusive master license.
        require(masterLicenseTypeDetail.masterExclusiveMaxExpirationDate <= block.timestamp,
            "LT: Cannot mint. It has a valid exclusive master license."
        );

        if (keccak256(abi.encodePacked(_licenseType)) == keccak256(abi.encodePacked("MASTER"))) {
            // it is going to mint a master so it cannot have an exclusive license that is not expired
            // check for other exclusive licenses TV, DISPLAY
            require(masterLicenseTypeDetail.regularExclusiveMaxExpirationDate <= block.timestamp,
                "LT: Cannot mint Master. It has a exclusive license and is not expired."
            );

            if (_exclusive == true) {
                // if exclusive, it cannot have a master license that is valid
                // ex. there is a non master exlcusive license that is not expired, and we try to mint an exclusive master license
                require(masterLicenseTypeDetail.masterMaxExpirationDate <= block.timestamp,
                    "LT: Cannot mint exclusive Master. It has a valid Master license."
                );

                // if exclusive, it cannot have a non master license that is valid
                // any licenses that is not exclusive
                require(masterLicenseTypeDetail.regularMaxExpirationDate <= block.timestamp,
                    "LT: Cannot mint exclusive Master. It has a valid regular license."
                );
                masterLicenseTypeDetail.masterExclusiveMaxExpirationDate = _expirationDate;
            } else {
                // it isn't a Master exclusive, so update max expiration date
                if (masterLicenseTypeDetail.masterMaxExpirationDate <= _expirationDate) {
                    masterLicenseTypeDetail.masterMaxExpirationDate = _expirationDate;
                }
            }

            // update storage
            masterLicenseTypeDetails[
                concatenateLicenseTypeHash(
                    concatenateLicenseHash(_tokenContractAddress, _tokenId),
                    "MASTER"
                )
            ] = masterLicenseTypeDetail;
            ///
        } else {
            LicenseTypeDetail memory licenseTypeDetail = licenseTypeDetails[
                concatenateLicenseTypeHash(
                    concatenateLicenseHash(_tokenContractAddress, _tokenId),
                    _licenseType
                )
            ];
            if (_exclusive == true) {
                // if it is exclusive, it cannot have another license of the same type valid,
                require(licenseTypeDetail.maxExpirationDate <= block.timestamp,
                    "LT: Cannot mint exclusive license. It has a valid license."
                );

                // it cannot have a Master that is valid.
                require(masterLicenseTypeDetail.masterMaxExpirationDate <= block.timestamp,
                    "LT: Cannot mint exclusive license. It has a valid Master licenses."
                );

                if (!licenseTypeDetail.isExclusive) {
                    licenseTypeDetail.isExclusive = true;
                }

                if (masterLicenseTypeDetail.regularExclusiveMaxExpirationDate <= _expirationDate
                ) {
                    masterLicenseTypeDetail.regularExclusiveMaxExpirationDate = _expirationDate;

                    // update storage
                    masterLicenseTypeDetails[
                        concatenateLicenseTypeHash(
                            concatenateLicenseHash(_tokenContractAddress, _tokenId),
                            "MASTER"
                        )
                    ] = masterLicenseTypeDetail;
                }
            } else {
                // check if there was an exclusive license and it should be expired to be able to mint a non exclusive license
                if (licenseTypeDetail.isExclusive) {
                    require(licenseTypeDetail.maxExpirationDate <= block.timestamp,
                        "LT: Cannot mint a license. It has a valid exclusive license."
                    );

                    // it was exclusive, but is expired, so set to false
                    licenseTypeDetail.isExclusive = false;
                }

                // store the max
                if (masterLicenseTypeDetail.regularMaxExpirationDate <= _expirationDate
                ) {
                    masterLicenseTypeDetail.regularMaxExpirationDate = _expirationDate;

                    // update storage
                    masterLicenseTypeDetails[
                        concatenateLicenseTypeHash(
                            concatenateLicenseHash(_tokenContractAddress, _tokenId),
                            "MASTER"
                        )
                    ] = masterLicenseTypeDetail;
                }
            }

            // update expiration date if this new non exclusive license has a longer expiration date
            // _expirationDate is always greater than block.timestamp
            if (licenseTypeDetail.maxExpirationDate < _expirationDate
            ) {
                licenseTypeDetail.maxExpirationDate = _expirationDate;
            }

            // update storage
            licenseTypeDetails[
                concatenateLicenseTypeHash(
                    concatenateLicenseHash(_tokenContractAddress, _tokenId),
                    _licenseType
                )
            ] = licenseTypeDetail;
        }

        // Buyer Token
        unchecked {
            ++tokenId;
        }

        uint256 buyerTokenId = tokenId;

        //seller token
        unchecked {
            ++tokenId;
        }

        _safeMint(_to, buyerTokenId);
        emit MintBuyerToken(buyerTokenId, _databaseId);

        _safeMint(_tokenOwnerAddress, tokenId);
        emit MintSellerToken(tokenId, _databaseId);

        License memory newLicense = License(
            _licenseType,
            buyerTokenId,
            _expirationDate,
            _exclusive
        );

        // Return the license hash if the license is already registered
        License[] storage licenses = registeredLicenses[
            concatenateLicenseHash(_tokenContractAddress, _tokenId)
        ];
        licenses.push(newLicense);

        registeredLicenses[concatenateLicenseHash(_tokenContractAddress, _tokenId)] = licenses;
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address _from,
        address _to,
        uint256 _tokenId
    ) public virtual override(ERC721) {
        // all buyer token has a seller token.
        //if it is equal to zero, it is a seller token and only admin can transfer it.
        if (_tokenId % 2 == 0) {
            require(
                hasRole(OPERATIONS_ROLE, msg.sender),
                "LT: Only admin can transfer a licensor token"
            );
        }
        else {
            //solhint-disable-next-line max-line-length
            require(_isApprovedOrOwner(msg.sender, _tokenId), "ERC721: transfer caller is not owner nor approved");
        }

        _transfer(_from, _to, _tokenId);
    }

    /**
     * @dev Join the licensor contract address and tokenID to a bytes32 value
     *
     * @param _tokenContractAddress the licensor contract address ex: ape contract address
     * @param _tokenId the licensor tokenId ex: ape tokenId
     */
    function concatenateLicenseHash(address _tokenContractAddress, uint256 _tokenId)
        internal
        pure
        returns (bytes32)
    {
        return keccak256(abi.encodePacked(_tokenContractAddress, _tokenId));
    }

    /**
     * @dev Join the licensor contract address and tokenID to a bytes32 value
     *
     * @param _licenseHash the licensor contract address hashed by concatenateLicenseHash
     * @param _licenseType the licensor type ex: TV, DISPLAY, MASTER
     */
    function concatenateLicenseTypeHash(bytes32 _licenseHash, string memory _licenseType)
        internal
        pure
        returns (bytes32)
    {
        return keccak256(abi.encodePacked(_licenseHash, _licenseType));
    }

    /**
     * @dev Returns a Master license details to control expiration dates
     *
     * @param _tokenContractAddress the licensor contract address
     * @param _tokenId the licensor tokenId
     */
    function getMasterLicenseTypeDetails(address _tokenContractAddress, uint256 _tokenId)
        external
        view
        returns (MasterLicenseTypeDetail memory)
    {
        return
            masterLicenseTypeDetails[
                concatenateLicenseTypeHash(concatenateLicenseHash(_tokenContractAddress, _tokenId), "MASTER")
            ];
    }

    /**
     * @dev Returns a regular license details based on licensor contract address and licensor tokenId
     *      to control expiration dates
     *
     * @param _tokenContractAddress the licensor contract address
     * @param _tokenId the licensor tokenId
     * @param _licenseType type of license
     */
    function getLicenseTypeDetails(
        address _tokenContractAddress,
        uint256 _tokenId,
        string memory _licenseType
    ) external view returns (LicenseTypeDetail memory) {
        return
            licenseTypeDetails[
                concatenateLicenseTypeHash(
                    concatenateLicenseHash(_tokenContractAddress, _tokenId),
                    _licenseType
                )
            ];
    }

    /**
     * @dev Returns a buyer license based on licensor contract address and licensor tokenId.
     * To get all licenses, _offset should be 0 and _to shoud be equal to length. ie: It has 10 licenses
     * so _offset is 0 and _to is 10. If you want licenses 5, 6 and 7, _offset is 4 and _to is 7 and it will
     * return licenses[4], * return licenses[5] and licenses[6].
     *
     * @param _tokenContractAddress the licensor contract address
     * @param _tokenId the licensor tokenId
     * @param _offset initial index of the list to get license (can be from 0 until the last license index)
     * @param _to end index of the list to get license (cannot be greater than length of the array)
     */
    function getLicenses(
        address _tokenContractAddress,
        uint256 _tokenId,
        uint256 _offset,
        uint256 _to
    ) external view returns (License[] memory _resultArr) {
        License[] memory licenses = registeredLicenses[concatenateLicenseHash(_tokenContractAddress, _tokenId)];
        uint256 size = _to - _offset;
        _resultArr = new License[](size);

        for (uint256 i = _offset; i < _to; i++) {
            License memory _license = licenses[i];
            _resultArr[i - _offset] = _license;
        }
    }

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

    /// @dev Sets new minter address. Only Owner can call this function.
    function updateMinter(address _minter) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _setupRole(MINTER_ROLE, _minter);
    }

    /**
     * @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 override(ERC721) returns (string memory) {
        return baseUri;
    }

    /// @dev Sets baseURI of the license tokens.
    function setBaseURI(string memory _baseUri) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(bytes(_baseUri).length > 0, "Base URI was not set");
        baseUri = _baseUri;
    }

    /// @dev Updates the admin role of this contract
    function setAdminRole(address _address) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _setupRole(DEFAULT_ADMIN_ROLE, _address);
    }

    /// @dev Updates the operation role of this contract
    function setOperationsRole(address _address) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _setupRole(OPERATIONS_ROLE, _address);
    }
}

File 2 of 13 : LicensingTokenI.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

struct LicenseProps {
    string licenseType;
    uint256 licenseTerm;
    uint256 licensePrice;
    bool exclusive;
    uint256 tokenId;
    address tokenContractAddress;
    address tokenOwnerAddress;
    bytes32 databaseId;
    uint256 signatureTimeOut;
    bytes sellerSignature;
    bytes adminSignature;
    bool sellerRepresentation;
    address approvedBuyer;
    uint256 approvedFee;
}

struct License {
    string licenseType;
    uint256 buyerTokenId;
    uint256 expirationDate;
    bool exclusive;
}

struct LicenseTypeDetail {
    bool ignoreTimeout;
    uint256 maxExpirationDate;
    bool isExclusive;
}

struct MasterLicenseTypeDetail {
    bool ignoreTimeout;
    uint256 regularMaxExpirationDate;
    uint256 regularExclusiveMaxExpirationDate;
    uint256 masterMaxExpirationDate;
    uint256 masterExclusiveMaxExpirationDate;
}

interface LicensingTokenI is IERC721 {
    function safeMint(
        address _to,
        string memory licenseType,
        uint256 expirationDate,
        bool exclusive,
        uint256 _tokenId,
        address _tokenContractAddress,
        address _tokenOwnerAddress,
        bytes32 _databaseId
    ) external;

    function getMasterLicenseTypeDetails(address _address, uint256 _tokenId) external;
    
    function getLicenseTypeDetails(address _address, uint256 _tokenId, string memory _licenseType) external;

    function getLicenses(address _address, uint256 _tokenId, uint256 _offset, uint256 _to) external;
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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);

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits 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 {}

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

File 12 of 13 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 13 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 virtual 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 virtual {
        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 virtual 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":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"_databaseId","type":"bytes32"}],"name":"MintBuyerToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"_databaseId","type":"bytes32"}],"name":"MintSellerToken","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":"DEFAULT_ADMIN_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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_licenseType","type":"string"}],"name":"getLicenseTypeDetails","outputs":[{"components":[{"internalType":"bool","name":"ignoreTimeout","type":"bool"},{"internalType":"uint256","name":"maxExpirationDate","type":"uint256"},{"internalType":"bool","name":"isExclusive","type":"bool"}],"internalType":"struct LicenseTypeDetail","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_offset","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getLicenses","outputs":[{"components":[{"internalType":"string","name":"licenseType","type":"string"},{"internalType":"uint256","name":"buyerTokenId","type":"uint256"},{"internalType":"uint256","name":"expirationDate","type":"uint256"},{"internalType":"bool","name":"exclusive","type":"bool"}],"internalType":"struct License[]","name":"_resultArr","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getMasterLicenseTypeDetails","outputs":[{"components":[{"internalType":"bool","name":"ignoreTimeout","type":"bool"},{"internalType":"uint256","name":"regularMaxExpirationDate","type":"uint256"},{"internalType":"uint256","name":"regularExclusiveMaxExpirationDate","type":"uint256"},{"internalType":"uint256","name":"masterMaxExpirationDate","type":"uint256"},{"internalType":"uint256","name":"masterExclusiveMaxExpirationDate","type":"uint256"}],"internalType":"struct MasterLicenseTypeDetail","name":"","type":"tuple"}],"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":"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":[],"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":"","type":"bytes32"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"registeredLicenses","outputs":[{"internalType":"string","name":"licenseType","type":"string"},{"internalType":"uint256","name":"buyerTokenId","type":"uint256"},{"internalType":"uint256","name":"expirationDate","type":"uint256"},{"internalType":"bool","name":"exclusive","type":"bool"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string","name":"_licenseType","type":"string"},{"internalType":"uint256","name":"_expirationDate","type":"uint256"},{"internalType":"bool","name":"_exclusive","type":"bool"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_tokenContractAddress","type":"address"},{"internalType":"address","name":"_tokenOwnerAddress","type":"address"},{"internalType":"bytes32","name":"_databaseId","type":"bytes32"}],"name":"safeMint","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":"_address","type":"address"}],"name":"setAdminRole","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":"address","name":"_address","type":"address"}],"name":"setOperationsRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_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":"_minter","type":"address"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601481526020017f46656174757265204950204c6963656e73696e670000000000000000000000008152506040518060400160405280600681526020017f4654522d4950000000000000000000000000000000000000000000000000000081525081600090805190602001906200009692919062000248565b508060019080519060200190620000af92919062000248565b505050620000c76000801b33620000cd60201b60201c565b6200035c565b620000df8282620000e360201b60201c565b5050565b620000f58282620001d560201b60201c565b620001d15760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001766200024060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620002569062000327565b90600052602060002090601f0160209004810192826200027a5760008555620002c6565b82601f106200029557805160ff1916838001178555620002c6565b82800160010185558215620002c6579182015b82811115620002c5578251825591602001919060010190620002a8565b5b509050620002d59190620002d9565b5090565b5b80821115620002f4576000816000905550600101620002da565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200034057607f821691505b602082108103620003565762000355620002f8565b5b50919050565b6153c7806200036c6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806355f804b311610104578063a217fddf116100a2578063beedd41611610071578063beedd4161461054c578063c87b56dd1461057f578063d547741f146105af578063e985e9c5146105cb576101cf565b8063a217fddf146104c6578063a22cb465146104e4578063b88d4fde14610500578063bd6dcc6d1461051c576101cf565b806370a08231116100de57806370a082311461042c57806391d148541461045c57806395d89b411461048c57806397add8d0146104aa576101cf565b806355f804b3146103b05780636352211e146103cc5780636fb1e6cd146103fc576101cf565b8063248a9ca31161017157806342842e0e1161014b57806342842e0e1461032c57806344312b8a146103485780634adc7cfd146103785780634eb03f6e14610394576101cf565b8063248a9ca3146102c45780632f2ff15d146102f457806336568abe14610310576101cf565b8063095ea7b3116101ad578063095ea7b3146102525780630ba601161461026e57806317d70f7c1461028a57806323b872dd146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190613330565b6105fb565b6040516101fb9190613378565b60405180910390f35b61020c61060d565b604051610219919061342c565b60405180910390f35b61023c60048036038101906102379190613484565b61069f565b60405161024991906134f2565b60405180910390f35b61026c60048036038101906102679190613539565b610724565b005b61028860048036038101906102839190613579565b61083b565b005b61029261087e565b60405161029f91906135b5565b60405180910390f35b6102c260048036038101906102bd91906135d0565b610884565b005b6102de60048036038101906102d99190613659565b610960565b6040516102eb9190613695565b60405180910390f35b61030e600480360381019061030991906136b0565b610980565b005b61032a600480360381019061032591906136b0565b6109a9565b005b610346600480360381019061034191906135d0565b610a2c565b005b610362600480360381019061035d9190613539565b610a4c565b60405161036f9190613776565b60405180910390f35b610392600480360381019061038d9190613579565b610b04565b005b6103ae60048036038101906103a99190613579565b610b2a565b005b6103ca60048036038101906103c591906138c6565b610b6d565b005b6103e660048036038101906103e19190613484565b610be1565b6040516103f391906134f2565b60405180910390f35b6104166004803603810190610411919061390f565b610c92565b60405161042391906139c0565b60405180910390f35b61044660048036038101906104419190613579565b610d13565b60405161045391906135b5565b60405180910390f35b610476600480360381019061047191906136b0565b610dca565b6040516104839190613378565b60405180910390f35b610494610e35565b6040516104a1919061342c565b60405180910390f35b6104c460048036038101906104bf9190613a67565b610ec7565b005b6104ce6117ef565b6040516104db9190613695565b60405180910390f35b6104fe60048036038101906104f99190613b3d565b6117f6565b005b61051a60048036038101906105159190613c1e565b61180c565b005b61053660048036038101906105319190613ca1565b61186e565b6040516105439190613e77565b60405180910390f35b61056660048036038101906105619190613e99565b611a83565b6040516105769493929190613ed9565b60405180910390f35b61059960048036038101906105949190613484565b611b65565b6040516105a6919061342c565b60405180910390f35b6105c960048036038101906105c491906136b0565b611c0c565b005b6105e560048036038101906105e09190613f25565b611c35565b6040516105f29190613378565b60405180910390f35b600061060682611cc9565b9050919050565b60606000805461061c90613f94565b80601f016020809104026020016040519081016040528092919081815260200182805461064890613f94565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b60006106aa82611d43565b6106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090614037565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061072f82610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361079f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610796906140c9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107be611daf565b73ffffffffffffffffffffffffffffffffffffffff1614806107ed57506107ec816107e7611daf565b611c35565b5b61082c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108239061415b565b60405180910390fd5b6108368383611db7565b505050565b6000801b6108508161084b611daf565b611e70565b61087a7fe3723f41c074e25ac45636a7cd631386f2e15f8583ade05d0b710b41251f5c7b83611f0d565b5050565b60075481565b600060028261089391906141aa565b03610906576108c27fe3723f41c074e25ac45636a7cd631386f2e15f8583ade05d0b710b41251f5c7b33610dca565b610901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f89061424d565b60405180910390fd5b610950565b6109103382611f1b565b61094f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610946906142df565b60405180910390fd5b5b61095b838383611ff9565b505050565b600060066000838152602001908152602001600020600101549050919050565b61098982610960565b61099a81610995611daf565b611e70565b6109a4838361225f565b505050565b6109b1611daf565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1590614371565b60405180910390fd5b610a288282612340565b5050565b610a478383836040518060200160405280600081525061180c565b505050565b610a54612fd0565b600a6000610aa0610a658686612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b81526020019081526020016000206040518060a00160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905092915050565b6000801b610b1981610b14611daf565b611e70565b610b266000801b83611f0d565b5050565b6000801b610b3f81610b3a611daf565b611e70565b610b697f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683611f0d565b5050565b6000801b610b8281610b7d611daf565b611e70565b6000825111610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd906143dd565b60405180910390fd5b8160089080519060200190610bdc929190613001565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c809061446f565b60405180910390fd5b80915050919050565b610c9a613087565b60096000610cb1610cab8787612422565b85612455565b81526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900460ff16151515158152505090509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614501565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610e4490613f94565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7090613f94565b8015610ebd5780601f10610e9257610100808354040283529160200191610ebd565b820191906000526020600020905b815481529060010190602001808311610ea057829003601f168201915b5050505050905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ef981610ef4611daf565b611e70565b6000600a6000610f47610f0c888a612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b81526020019081526020016000206040518060a00160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090504281608001511115610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe390614593565b60405180910390fd5b604051602001610ffb9061460a565b604051602081830303815290604052805190602001208a8a604051602001611024929190614644565b60405160208183030381529060405280519060200120036111f1574281604001511115611086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107d906146f5565b60405180910390fd5b600115158715150361112f5742816060015111156110d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d090614787565b60405180910390fd5b4281602001511115611120576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111179061483f565b60405180910390fd5b87816080018181525050611146565b8781606001511161114557878160600181815250505b5b80600a6000611193611158898b612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015590505061160f565b60006009600061124e611204898b612422565b8e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612455565b81526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900460ff1615151515815250509050600115158815150361141f5742816020015111156112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f3906148d1565b60405180910390fd5b4282606001511115611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90614989565b60405180910390fd5b806040015161135e5760018160400190151590811515815250505b8882604001511161141a578882604001818152505081600a60006113c06113858a8c612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015560608201518160030155608082015181600401559050505b61153f565b806040015115611482574281602001511115611470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790614a1b565b60405180910390fd5b60008160400190151590811515815250505b8882602001511161153e578882602001818152505081600a60006114e46114a98a8c612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015560608201518160030155608082015181600401559050505b5b888160200151101561155657888160200181815250505b80600960006115b26115688a8c612422565b8f8f8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612455565b815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550905050505b6007600081546001019190508190555060006007549050600760008154600101919050819055506116408c82612488565b83817f57c2f51922bc7ead8ba761c327d53df72b3fd2e91347ccd6563d840a7d2a559f60405160405180910390a361167a85600754612488565b836007547fb1f10db9fd8f2eeea744c7a5d2aecffc69afaa6e08964a5b8d2e3c56f4167e5c60405160405180910390a3600060405180608001604052808d8d8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018381526020018b81526020018a151581525090506000600b60006117258a8c612422565b8152602001908152602001600020905080829080600181540180825580915050600190039060005260206000209060040201600090919091909150600082015181600001908051906020019061177c929190613001565b50602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908315150217905550505080600b60006117c28b8d612422565b81526020019081526020016000209080546117de9291906130ac565b505050505050505050505050505050565b6000801b81565b611808611801611daf565b83836124a6565b5050565b61181d611817611daf565b83611f1b565b61185c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611853906142df565b60405180910390fd5b61186884848484612612565b50505050565b60606000600b60006118808888612422565b8152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156119a157838290600052602060002090600402016040518060800160405290816000820180546118e190613f94565b80601f016020809104026020016040519081016040528092919081815260200182805461190d90613f94565b801561195a5780601f1061192f5761010080835404028352916020019161195a565b820191906000526020600020905b81548152906001019060200180831161193d57829003601f168201915b5050505050815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581525050815260200190600101906118ae565b505050509050600084846119b59190614a6a565b90508067ffffffffffffffff8111156119d1576119d061379b565b5b604051908082528060200260200182016040528015611a0a57816020015b6119f7613165565b8152602001906001900390816119ef5790505b50925060008590505b84811015611a78576000838281518110611a3057611a2f614a9e565b5b6020026020010151905080858884611a489190614a6a565b81518110611a5957611a58614a9e565b5b6020026020010181905250508080611a7090614acd565b915050611a13565b505050949350505050565b600b6020528160005260406000208181548110611a9f57600080fd5b906000526020600020906004020160009150915050806000018054611ac390613f94565b80601f0160208091040260200160405190810160405280929190818152602001828054611aef90613f94565b8015611b3c5780601f10611b1157610100808354040283529160200191611b3c565b820191906000526020600020905b815481529060010190602001808311611b1f57829003601f168201915b5050505050908060010154908060020154908060030160009054906101000a900460ff16905084565b6060611b7082611d43565b611baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba690614b87565b60405180910390fd5b6000611bb961266e565b90506000815111611bd95760405180602001604052806000815250611c04565b80611be384612700565b604051602001611bf4929190614bd8565b6040516020818303038152906040525b915050919050565b611c1582610960565b611c2681611c21611daf565b611e70565b611c308383612340565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d3c5750611d3b82612860565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e2a83610be1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611e7a8282610dca565b611f0957611e9f8173ffffffffffffffffffffffffffffffffffffffff166014612942565b611ead8360001c6020612942565b604051602001611ebe929190614c94565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f00919061342c565b60405180910390fd5b5050565b611f17828261225f565b5050565b6000611f2682611d43565b611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c90614d40565b60405180910390fd5b6000611f7083610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fdf57508373ffffffffffffffffffffffffffffffffffffffff16611fc78461069f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ff05750611fef8185611c35565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661201982610be1565b73ffffffffffffffffffffffffffffffffffffffff161461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690614dd2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d590614e64565b60405180910390fd5b6120e9838383612b7e565b6120f4600082611db7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121449190614a6a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461219b9190614e84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461225a838383612b83565b505050565b6122698282610dca565b61233c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122e1611daf565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61234a8282610dca565b1561241e5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506123c3611daf565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008282604051602001612437929190614f43565b60405160208183030381529060405280519060200120905092915050565b6000828260405160200161246a929190614f90565b60405160208183030381529060405280519060200120905092915050565b6124a2828260405180602001604052806000815250612b88565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90615004565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126059190613378565b60405180910390a3505050565b61261d848484611ff9565b61262984848484612be3565b612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f90615096565b60405180910390fd5b50505050565b60606008805461267d90613f94565b80601f01602080910402602001604051908101604052809291908181526020018280546126a990613f94565b80156126f65780601f106126cb576101008083540402835291602001916126f6565b820191906000526020600020905b8154815290600101906020018083116126d957829003601f168201915b5050505050905090565b606060008203612747576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061285b565b600082905060005b6000821461277957808061276290614acd565b915050600a8261277291906150b6565b915061274f565b60008167ffffffffffffffff8111156127955761279461379b565b5b6040519080825280601f01601f1916602001820160405280156127c75781602001600182028036833780820191505090505b5090505b60008514612854576001826127e09190614a6a565b9150600a856127ef91906141aa565b60306127fb9190614e84565b60f81b81838151811061281157612810614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561284d91906150b6565b94506127cb565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061293b575061293a82612d6a565b5b9050919050565b60606000600283600261295591906150e7565b61295f9190614e84565b67ffffffffffffffff8111156129785761297761379b565b5b6040519080825280601f01601f1916602001820160405280156129aa5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106129e2576129e1614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a4657612a45614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a8691906150e7565b612a909190614e84565b90505b6001811115612b30577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612ad257612ad1614a9e565b5b1a60f81b828281518110612ae957612ae8614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b2990615141565b9050612a93565b5060008414612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b906151b6565b60405180910390fd5b8091505092915050565b505050565b505050565b612b928383612dd4565b612b9f6000848484612be3565b612bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd590615096565b60405180910390fd5b505050565b6000612c048473ffffffffffffffffffffffffffffffffffffffff16612fad565b15612d5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c2d611daf565b8786866040518563ffffffff1660e01b8152600401612c4f949392919061522b565b6020604051808303816000875af1925050508015612c8b57506040513d601f19601f82011682018060405250810190612c88919061528c565b60015b612d0d573d8060008114612cbb576040519150601f19603f3d011682016040523d82523d6000602084013e612cc0565b606091505b506000815103612d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfc90615096565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d62565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90615305565b60405180910390fd5b612e4c81611d43565b15612e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8390615371565b60405180910390fd5b612e9860008383612b7e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee89190614e84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fa960008383612b83565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060a00160405280600015158152602001600081526020016000815260200160008152602001600081525090565b82805461300d90613f94565b90600052602060002090601f01602090048101928261302f5760008555613076565b82601f1061304857805160ff1916838001178555613076565b82800160010185558215613076579182015b8281111561307557825182559160200191906001019061305a565b5b509050613083919061318f565b5090565b6040518060600160405280600015158152602001600081526020016000151581525090565b8280548282559060005260206000209060040281019282156131545760005260206000209160040282015b8281111561315357828260008201816000019080546130f590613f94565b6131009291906131ac565b5060018201548160010155600282015481600201556003820160009054906101000a900460ff168160030160006101000a81548160ff0219169083151502179055505050916004019190600401906130d7565b5b5090506131619190613239565b5090565b60405180608001604052806060815260200160008152602001600081526020016000151581525090565b5b808211156131a8576000816000905550600101613190565b5090565b8280546131b890613f94565b90600052602060002090601f0160209004810192826131da5760008555613228565b82601f106131eb5780548555613228565b8280016001018555821561322857600052602060002091601f016020900482015b8281111561322757825482559160010191906001019061320c565b5b509050613235919061318f565b5090565b5b8082111561328057600080820160006132539190613284565b600182016000905560028201600090556003820160006101000a81549060ff02191690555060040161323a565b5090565b50805461329090613f94565b6000825580601f106132a257506132c1565b601f0160209004906000526020600020908101906132c0919061318f565b5b50565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61330d816132d8565b811461331857600080fd5b50565b60008135905061332a81613304565b92915050565b600060208284031215613346576133456132ce565b5b60006133548482850161331b565b91505092915050565b60008115159050919050565b6133728161335d565b82525050565b600060208201905061338d6000830184613369565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133cd5780820151818401526020810190506133b2565b838111156133dc576000848401525b50505050565b6000601f19601f8301169050919050565b60006133fe82613393565b613408818561339e565b93506134188185602086016133af565b613421816133e2565b840191505092915050565b6000602082019050818103600083015261344681846133f3565b905092915050565b6000819050919050565b6134618161344e565b811461346c57600080fd5b50565b60008135905061347e81613458565b92915050565b60006020828403121561349a576134996132ce565b5b60006134a88482850161346f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134dc826134b1565b9050919050565b6134ec816134d1565b82525050565b600060208201905061350760008301846134e3565b92915050565b613516816134d1565b811461352157600080fd5b50565b6000813590506135338161350d565b92915050565b600080604083850312156135505761354f6132ce565b5b600061355e85828601613524565b925050602061356f8582860161346f565b9150509250929050565b60006020828403121561358f5761358e6132ce565b5b600061359d84828501613524565b91505092915050565b6135af8161344e565b82525050565b60006020820190506135ca60008301846135a6565b92915050565b6000806000606084860312156135e9576135e86132ce565b5b60006135f786828701613524565b935050602061360886828701613524565b92505060406136198682870161346f565b9150509250925092565b6000819050919050565b61363681613623565b811461364157600080fd5b50565b6000813590506136538161362d565b92915050565b60006020828403121561366f5761366e6132ce565b5b600061367d84828501613644565b91505092915050565b61368f81613623565b82525050565b60006020820190506136aa6000830184613686565b92915050565b600080604083850312156136c7576136c66132ce565b5b60006136d585828601613644565b92505060206136e685828601613524565b9150509250929050565b6136f98161335d565b82525050565b6137088161344e565b82525050565b60a08201600082015161372460008501826136f0565b50602082015161373760208501826136ff565b50604082015161374a60408501826136ff565b50606082015161375d60608501826136ff565b50608082015161377060808501826136ff565b50505050565b600060a08201905061378b600083018461370e565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137d3826133e2565b810181811067ffffffffffffffff821117156137f2576137f161379b565b5b80604052505050565b60006138056132c4565b905061381182826137ca565b919050565b600067ffffffffffffffff8211156138315761383061379b565b5b61383a826133e2565b9050602081019050919050565b82818337600083830152505050565b600061386961386484613816565b6137fb565b90508281526020810184848401111561388557613884613796565b5b613890848285613847565b509392505050565b600082601f8301126138ad576138ac613791565b5b81356138bd848260208601613856565b91505092915050565b6000602082840312156138dc576138db6132ce565b5b600082013567ffffffffffffffff8111156138fa576138f96132d3565b5b61390684828501613898565b91505092915050565b600080600060608486031215613928576139276132ce565b5b600061393686828701613524565b93505060206139478682870161346f565b925050604084013567ffffffffffffffff811115613968576139676132d3565b5b61397486828701613898565b9150509250925092565b60608201600082015161399460008501826136f0565b5060208201516139a760208501826136ff565b5060408201516139ba60408501826136f0565b50505050565b60006060820190506139d5600083018461397e565b92915050565b600080fd5b600080fd5b60008083601f8401126139fb576139fa613791565b5b8235905067ffffffffffffffff811115613a1857613a176139db565b5b602083019150836001820283011115613a3457613a336139e0565b5b9250929050565b613a448161335d565b8114613a4f57600080fd5b50565b600081359050613a6181613a3b565b92915050565b60008060008060008060008060006101008a8c031215613a8a57613a896132ce565b5b6000613a988c828d01613524565b99505060208a013567ffffffffffffffff811115613ab957613ab86132d3565b5b613ac58c828d016139e5565b98509850506040613ad88c828d0161346f565b9650506060613ae98c828d01613a52565b9550506080613afa8c828d0161346f565b94505060a0613b0b8c828d01613524565b93505060c0613b1c8c828d01613524565b92505060e0613b2d8c828d01613644565b9150509295985092959850929598565b60008060408385031215613b5457613b536132ce565b5b6000613b6285828601613524565b9250506020613b7385828601613a52565b9150509250929050565b600067ffffffffffffffff821115613b9857613b9761379b565b5b613ba1826133e2565b9050602081019050919050565b6000613bc1613bbc84613b7d565b6137fb565b905082815260208101848484011115613bdd57613bdc613796565b5b613be8848285613847565b509392505050565b600082601f830112613c0557613c04613791565b5b8135613c15848260208601613bae565b91505092915050565b60008060008060808587031215613c3857613c376132ce565b5b6000613c4687828801613524565b9450506020613c5787828801613524565b9350506040613c688782880161346f565b925050606085013567ffffffffffffffff811115613c8957613c886132d3565b5b613c9587828801613bf0565b91505092959194509250565b60008060008060808587031215613cbb57613cba6132ce565b5b6000613cc987828801613524565b9450506020613cda8782880161346f565b9350506040613ceb8782880161346f565b9250506060613cfc8782880161346f565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b6000613d5082613393565b613d5a8185613d34565b9350613d6a8185602086016133af565b613d73816133e2565b840191505092915050565b60006080830160008301518482036000860152613d9b8282613d45565b9150506020830151613db060208601826136ff565b506040830151613dc360408601826136ff565b506060830151613dd660608601826136f0565b508091505092915050565b6000613ded8383613d7e565b905092915050565b6000602082019050919050565b6000613e0d82613d08565b613e178185613d13565b935083602082028501613e2985613d24565b8060005b85811015613e655784840389528151613e468582613de1565b9450613e5183613df5565b925060208a01995050600181019050613e2d565b50829750879550505050505092915050565b60006020820190508181036000830152613e918184613e02565b905092915050565b60008060408385031215613eb057613eaf6132ce565b5b6000613ebe85828601613644565b9250506020613ecf8582860161346f565b9150509250929050565b60006080820190508181036000830152613ef381876133f3565b9050613f0260208301866135a6565b613f0f60408301856135a6565b613f1c6060830184613369565b95945050505050565b60008060408385031215613f3c57613f3b6132ce565b5b6000613f4a85828601613524565b9250506020613f5b85828601613524565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fac57607f821691505b602082108103613fbf57613fbe613f65565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614021602c8361339e565b915061402c82613fc5565b604082019050919050565b6000602082019050818103600083015261405081614014565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140b360218361339e565b91506140be82614057565b604082019050919050565b600060208201905081810360008301526140e2816140a6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061414560388361339e565b9150614150826140e9565b604082019050919050565b6000602082019050818103600083015261417481614138565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141b58261344e565b91506141c08361344e565b9250826141d0576141cf61417b565b5b828206905092915050565b7f4c543a204f6e6c792061646d696e2063616e207472616e736665722061206c6960008201527f63656e736f7220746f6b656e0000000000000000000000000000000000000000602082015250565b6000614237602c8361339e565b9150614242826141db565b604082019050919050565b600060208201905081810360008301526142668161422a565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006142c960318361339e565b91506142d48261426d565b604082019050919050565b600060208201905081810360008301526142f8816142bc565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061435b602f8361339e565b9150614366826142ff565b604082019050919050565b6000602082019050818103600083015261438a8161434e565b9050919050565b7f426173652055524920776173206e6f7420736574000000000000000000000000600082015250565b60006143c760148361339e565b91506143d282614391565b602082019050919050565b600060208201905081810360008301526143f6816143ba565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061445960298361339e565b9150614464826143fd565b604082019050919050565b600060208201905081810360008301526144888161444c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006144eb602a8361339e565b91506144f68261448f565b604082019050919050565b6000602082019050818103600083015261451a816144de565b9050919050565b7f4c543a2043616e6e6f74206d696e742e2049742068617320612076616c69642060008201527f6578636c7573697665206d6173746572206c6963656e73652e00000000000000602082015250565b600061457d60398361339e565b915061458882614521565b604082019050919050565b600060208201905081810360008301526145ac81614570565b9050919050565b600081905092915050565b7f4d41535445520000000000000000000000000000000000000000000000000000600082015250565b60006145f46006836145b3565b91506145ff826145be565b600682019050919050565b6000614615826145e7565b9150819050919050565b600061462b83856145b3565b9350614638838584613847565b82840190509392505050565b600061465182848661461f565b91508190509392505050565b7f4c543a2043616e6e6f74206d696e74204d61737465722e20497420686173206160008201527f206578636c7573697665206c6963656e736520616e64206973206e6f7420657860208201527f70697265642e0000000000000000000000000000000000000000000000000000604082015250565b60006146df60468361339e565b91506146ea8261465d565b606082019050919050565b6000602082019050818103600083015261470e816146d2565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665204d617374657260008201527f2e2049742068617320612076616c6964204d6173746572206c6963656e73652e602082015250565b600061477160408361339e565b915061477c82614715565b604082019050919050565b600060208201905081810360008301526147a081614764565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665204d617374657260008201527f2e2049742068617320612076616c696420726567756c6172206c6963656e736560208201527f2e00000000000000000000000000000000000000000000000000000000000000604082015250565b600061482960418361339e565b9150614834826147a7565b606082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665206c6963656e7360008201527f652e2049742068617320612076616c6964206c6963656e73652e000000000000602082015250565b60006148bb603a8361339e565b91506148c68261485f565b604082019050919050565b600060208201905081810360008301526148ea816148ae565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665206c6963656e7360008201527f652e2049742068617320612076616c6964204d6173746572206c6963656e736560208201527f732e000000000000000000000000000000000000000000000000000000000000604082015250565b600061497360428361339e565b915061497e826148f1565b606082019050919050565b600060208201905081810360008301526149a281614966565b9050919050565b7f4c543a2043616e6e6f74206d696e742061206c6963656e73652e20497420686160008201527f7320612076616c6964206578636c7573697665206c6963656e73652e00000000602082015250565b6000614a05603c8361339e565b9150614a10826149a9565b604082019050919050565b60006020820190508181036000830152614a34816149f8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a758261344e565b9150614a808361344e565b925082821015614a9357614a92614a3b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614ad88261344e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b0a57614b09614a3b565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614b71602f8361339e565b9150614b7c82614b15565b604082019050919050565b60006020820190508181036000830152614ba081614b64565b9050919050565b6000614bb282613393565b614bbc81856145b3565b9350614bcc8185602086016133af565b80840191505092915050565b6000614be48285614ba7565b9150614bf08284614ba7565b91508190509392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614c326017836145b3565b9150614c3d82614bfc565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614c7e6011836145b3565b9150614c8982614c48565b601182019050919050565b6000614c9f82614c25565b9150614cab8285614ba7565b9150614cb682614c71565b9150614cc28284614ba7565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d2a602c8361339e565b9150614d3582614cce565b604082019050919050565b60006020820190508181036000830152614d5981614d1d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614dbc60258361339e565b9150614dc782614d60565b604082019050919050565b60006020820190508181036000830152614deb81614daf565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e4e60248361339e565b9150614e5982614df2565b604082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b6000614e8f8261344e565b9150614e9a8361344e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ecf57614ece614a3b565b5b828201905092915050565b60008160601b9050919050565b6000614ef282614eda565b9050919050565b6000614f0482614ee7565b9050919050565b614f1c614f17826134d1565b614ef9565b82525050565b6000819050919050565b614f3d614f388261344e565b614f22565b82525050565b6000614f4f8285614f0b565b601482019150614f5f8284614f2c565b6020820191508190509392505050565b6000819050919050565b614f8a614f8582613623565b614f6f565b82525050565b6000614f9c8285614f79565b602082019150614fac8284614ba7565b91508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614fee60198361339e565b9150614ff982614fb8565b602082019050919050565b6000602082019050818103600083015261501d81614fe1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061508060328361339e565b915061508b82615024565b604082019050919050565b600060208201905081810360008301526150af81615073565b9050919050565b60006150c18261344e565b91506150cc8361344e565b9250826150dc576150db61417b565b5b828204905092915050565b60006150f28261344e565b91506150fd8361344e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561513657615135614a3b565b5b828202905092915050565b600061514c8261344e565b91506000820361515f5761515e614a3b565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006151a060208361339e565b91506151ab8261516a565b602082019050919050565b600060208201905081810360008301526151cf81615193565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151fd826151d6565b61520781856151e1565b93506152178185602086016133af565b615220816133e2565b840191505092915050565b600060808201905061524060008301876134e3565b61524d60208301866134e3565b61525a60408301856135a6565b818103606083015261526c81846151f2565b905095945050505050565b60008151905061528681613304565b92915050565b6000602082840312156152a2576152a16132ce565b5b60006152b084828501615277565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152ef60208361339e565b91506152fa826152b9565b602082019050919050565b6000602082019050818103600083015261531e816152e2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061535b601c8361339e565b915061536682615325565b602082019050919050565b6000602082019050818103600083015261538a8161534e565b905091905056fea2646970667358221220fdf78c9eef4020e640f049a41818a45ffd7bb910e5b7cb361ad7bb49e0cfde9264736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806355f804b311610104578063a217fddf116100a2578063beedd41611610071578063beedd4161461054c578063c87b56dd1461057f578063d547741f146105af578063e985e9c5146105cb576101cf565b8063a217fddf146104c6578063a22cb465146104e4578063b88d4fde14610500578063bd6dcc6d1461051c576101cf565b806370a08231116100de57806370a082311461042c57806391d148541461045c57806395d89b411461048c57806397add8d0146104aa576101cf565b806355f804b3146103b05780636352211e146103cc5780636fb1e6cd146103fc576101cf565b8063248a9ca31161017157806342842e0e1161014b57806342842e0e1461032c57806344312b8a146103485780634adc7cfd146103785780634eb03f6e14610394576101cf565b8063248a9ca3146102c45780632f2ff15d146102f457806336568abe14610310576101cf565b8063095ea7b3116101ad578063095ea7b3146102525780630ba601161461026e57806317d70f7c1461028a57806323b872dd146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190613330565b6105fb565b6040516101fb9190613378565b60405180910390f35b61020c61060d565b604051610219919061342c565b60405180910390f35b61023c60048036038101906102379190613484565b61069f565b60405161024991906134f2565b60405180910390f35b61026c60048036038101906102679190613539565b610724565b005b61028860048036038101906102839190613579565b61083b565b005b61029261087e565b60405161029f91906135b5565b60405180910390f35b6102c260048036038101906102bd91906135d0565b610884565b005b6102de60048036038101906102d99190613659565b610960565b6040516102eb9190613695565b60405180910390f35b61030e600480360381019061030991906136b0565b610980565b005b61032a600480360381019061032591906136b0565b6109a9565b005b610346600480360381019061034191906135d0565b610a2c565b005b610362600480360381019061035d9190613539565b610a4c565b60405161036f9190613776565b60405180910390f35b610392600480360381019061038d9190613579565b610b04565b005b6103ae60048036038101906103a99190613579565b610b2a565b005b6103ca60048036038101906103c591906138c6565b610b6d565b005b6103e660048036038101906103e19190613484565b610be1565b6040516103f391906134f2565b60405180910390f35b6104166004803603810190610411919061390f565b610c92565b60405161042391906139c0565b60405180910390f35b61044660048036038101906104419190613579565b610d13565b60405161045391906135b5565b60405180910390f35b610476600480360381019061047191906136b0565b610dca565b6040516104839190613378565b60405180910390f35b610494610e35565b6040516104a1919061342c565b60405180910390f35b6104c460048036038101906104bf9190613a67565b610ec7565b005b6104ce6117ef565b6040516104db9190613695565b60405180910390f35b6104fe60048036038101906104f99190613b3d565b6117f6565b005b61051a60048036038101906105159190613c1e565b61180c565b005b61053660048036038101906105319190613ca1565b61186e565b6040516105439190613e77565b60405180910390f35b61056660048036038101906105619190613e99565b611a83565b6040516105769493929190613ed9565b60405180910390f35b61059960048036038101906105949190613484565b611b65565b6040516105a6919061342c565b60405180910390f35b6105c960048036038101906105c491906136b0565b611c0c565b005b6105e560048036038101906105e09190613f25565b611c35565b6040516105f29190613378565b60405180910390f35b600061060682611cc9565b9050919050565b60606000805461061c90613f94565b80601f016020809104026020016040519081016040528092919081815260200182805461064890613f94565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b60006106aa82611d43565b6106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090614037565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061072f82610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361079f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610796906140c9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107be611daf565b73ffffffffffffffffffffffffffffffffffffffff1614806107ed57506107ec816107e7611daf565b611c35565b5b61082c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108239061415b565b60405180910390fd5b6108368383611db7565b505050565b6000801b6108508161084b611daf565b611e70565b61087a7fe3723f41c074e25ac45636a7cd631386f2e15f8583ade05d0b710b41251f5c7b83611f0d565b5050565b60075481565b600060028261089391906141aa565b03610906576108c27fe3723f41c074e25ac45636a7cd631386f2e15f8583ade05d0b710b41251f5c7b33610dca565b610901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f89061424d565b60405180910390fd5b610950565b6109103382611f1b565b61094f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610946906142df565b60405180910390fd5b5b61095b838383611ff9565b505050565b600060066000838152602001908152602001600020600101549050919050565b61098982610960565b61099a81610995611daf565b611e70565b6109a4838361225f565b505050565b6109b1611daf565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1590614371565b60405180910390fd5b610a288282612340565b5050565b610a478383836040518060200160405280600081525061180c565b505050565b610a54612fd0565b600a6000610aa0610a658686612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b81526020019081526020016000206040518060a00160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905092915050565b6000801b610b1981610b14611daf565b611e70565b610b266000801b83611f0d565b5050565b6000801b610b3f81610b3a611daf565b611e70565b610b697f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683611f0d565b5050565b6000801b610b8281610b7d611daf565b611e70565b6000825111610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd906143dd565b60405180910390fd5b8160089080519060200190610bdc929190613001565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c809061446f565b60405180910390fd5b80915050919050565b610c9a613087565b60096000610cb1610cab8787612422565b85612455565b81526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900460ff16151515158152505090509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614501565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610e4490613f94565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7090613f94565b8015610ebd5780601f10610e9257610100808354040283529160200191610ebd565b820191906000526020600020905b815481529060010190602001808311610ea057829003601f168201915b5050505050905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ef981610ef4611daf565b611e70565b6000600a6000610f47610f0c888a612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b81526020019081526020016000206040518060a00160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090504281608001511115610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe390614593565b60405180910390fd5b604051602001610ffb9061460a565b604051602081830303815290604052805190602001208a8a604051602001611024929190614644565b60405160208183030381529060405280519060200120036111f1574281604001511115611086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107d906146f5565b60405180910390fd5b600115158715150361112f5742816060015111156110d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d090614787565b60405180910390fd5b4281602001511115611120576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111179061483f565b60405180910390fd5b87816080018181525050611146565b8781606001511161114557878160600181815250505b5b80600a6000611193611158898b612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015590505061160f565b60006009600061124e611204898b612422565b8e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612455565b81526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900460ff1615151515815250509050600115158815150361141f5742816020015111156112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f3906148d1565b60405180910390fd5b4282606001511115611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90614989565b60405180910390fd5b806040015161135e5760018160400190151590811515815250505b8882604001511161141a578882604001818152505081600a60006113c06113858a8c612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015560608201518160030155608082015181600401559050505b61153f565b806040015115611482574281602001511115611470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790614a1b565b60405180910390fd5b60008160400190151590811515815250505b8882602001511161153e578882602001818152505081600a60006114e46114a98a8c612422565b6040518060400160405280600681526020017f4d41535445520000000000000000000000000000000000000000000000000000815250612455565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015560608201518160030155608082015181600401559050505b5b888160200151101561155657888160200181815250505b80600960006115b26115688a8c612422565b8f8f8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612455565b815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550905050505b6007600081546001019190508190555060006007549050600760008154600101919050819055506116408c82612488565b83817f57c2f51922bc7ead8ba761c327d53df72b3fd2e91347ccd6563d840a7d2a559f60405160405180910390a361167a85600754612488565b836007547fb1f10db9fd8f2eeea744c7a5d2aecffc69afaa6e08964a5b8d2e3c56f4167e5c60405160405180910390a3600060405180608001604052808d8d8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018381526020018b81526020018a151581525090506000600b60006117258a8c612422565b8152602001908152602001600020905080829080600181540180825580915050600190039060005260206000209060040201600090919091909150600082015181600001908051906020019061177c929190613001565b50602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908315150217905550505080600b60006117c28b8d612422565b81526020019081526020016000209080546117de9291906130ac565b505050505050505050505050505050565b6000801b81565b611808611801611daf565b83836124a6565b5050565b61181d611817611daf565b83611f1b565b61185c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611853906142df565b60405180910390fd5b61186884848484612612565b50505050565b60606000600b60006118808888612422565b8152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156119a157838290600052602060002090600402016040518060800160405290816000820180546118e190613f94565b80601f016020809104026020016040519081016040528092919081815260200182805461190d90613f94565b801561195a5780601f1061192f5761010080835404028352916020019161195a565b820191906000526020600020905b81548152906001019060200180831161193d57829003601f168201915b5050505050815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581525050815260200190600101906118ae565b505050509050600084846119b59190614a6a565b90508067ffffffffffffffff8111156119d1576119d061379b565b5b604051908082528060200260200182016040528015611a0a57816020015b6119f7613165565b8152602001906001900390816119ef5790505b50925060008590505b84811015611a78576000838281518110611a3057611a2f614a9e565b5b6020026020010151905080858884611a489190614a6a565b81518110611a5957611a58614a9e565b5b6020026020010181905250508080611a7090614acd565b915050611a13565b505050949350505050565b600b6020528160005260406000208181548110611a9f57600080fd5b906000526020600020906004020160009150915050806000018054611ac390613f94565b80601f0160208091040260200160405190810160405280929190818152602001828054611aef90613f94565b8015611b3c5780601f10611b1157610100808354040283529160200191611b3c565b820191906000526020600020905b815481529060010190602001808311611b1f57829003601f168201915b5050505050908060010154908060020154908060030160009054906101000a900460ff16905084565b6060611b7082611d43565b611baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba690614b87565b60405180910390fd5b6000611bb961266e565b90506000815111611bd95760405180602001604052806000815250611c04565b80611be384612700565b604051602001611bf4929190614bd8565b6040516020818303038152906040525b915050919050565b611c1582610960565b611c2681611c21611daf565b611e70565b611c308383612340565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d3c5750611d3b82612860565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e2a83610be1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611e7a8282610dca565b611f0957611e9f8173ffffffffffffffffffffffffffffffffffffffff166014612942565b611ead8360001c6020612942565b604051602001611ebe929190614c94565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f00919061342c565b60405180910390fd5b5050565b611f17828261225f565b5050565b6000611f2682611d43565b611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c90614d40565b60405180910390fd5b6000611f7083610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fdf57508373ffffffffffffffffffffffffffffffffffffffff16611fc78461069f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ff05750611fef8185611c35565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661201982610be1565b73ffffffffffffffffffffffffffffffffffffffff161461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690614dd2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d590614e64565b60405180910390fd5b6120e9838383612b7e565b6120f4600082611db7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121449190614a6a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461219b9190614e84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461225a838383612b83565b505050565b6122698282610dca565b61233c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122e1611daf565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61234a8282610dca565b1561241e5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506123c3611daf565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008282604051602001612437929190614f43565b60405160208183030381529060405280519060200120905092915050565b6000828260405160200161246a929190614f90565b60405160208183030381529060405280519060200120905092915050565b6124a2828260405180602001604052806000815250612b88565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90615004565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126059190613378565b60405180910390a3505050565b61261d848484611ff9565b61262984848484612be3565b612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f90615096565b60405180910390fd5b50505050565b60606008805461267d90613f94565b80601f01602080910402602001604051908101604052809291908181526020018280546126a990613f94565b80156126f65780601f106126cb576101008083540402835291602001916126f6565b820191906000526020600020905b8154815290600101906020018083116126d957829003601f168201915b5050505050905090565b606060008203612747576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061285b565b600082905060005b6000821461277957808061276290614acd565b915050600a8261277291906150b6565b915061274f565b60008167ffffffffffffffff8111156127955761279461379b565b5b6040519080825280601f01601f1916602001820160405280156127c75781602001600182028036833780820191505090505b5090505b60008514612854576001826127e09190614a6a565b9150600a856127ef91906141aa565b60306127fb9190614e84565b60f81b81838151811061281157612810614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561284d91906150b6565b94506127cb565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061293b575061293a82612d6a565b5b9050919050565b60606000600283600261295591906150e7565b61295f9190614e84565b67ffffffffffffffff8111156129785761297761379b565b5b6040519080825280601f01601f1916602001820160405280156129aa5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106129e2576129e1614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a4657612a45614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a8691906150e7565b612a909190614e84565b90505b6001811115612b30577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612ad257612ad1614a9e565b5b1a60f81b828281518110612ae957612ae8614a9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b2990615141565b9050612a93565b5060008414612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b906151b6565b60405180910390fd5b8091505092915050565b505050565b505050565b612b928383612dd4565b612b9f6000848484612be3565b612bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd590615096565b60405180910390fd5b505050565b6000612c048473ffffffffffffffffffffffffffffffffffffffff16612fad565b15612d5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c2d611daf565b8786866040518563ffffffff1660e01b8152600401612c4f949392919061522b565b6020604051808303816000875af1925050508015612c8b57506040513d601f19601f82011682018060405250810190612c88919061528c565b60015b612d0d573d8060008114612cbb576040519150601f19603f3d011682016040523d82523d6000602084013e612cc0565b606091505b506000815103612d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfc90615096565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d62565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90615305565b60405180910390fd5b612e4c81611d43565b15612e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8390615371565b60405180910390fd5b612e9860008383612b7e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee89190614e84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fa960008383612b83565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060a00160405280600015158152602001600081526020016000815260200160008152602001600081525090565b82805461300d90613f94565b90600052602060002090601f01602090048101928261302f5760008555613076565b82601f1061304857805160ff1916838001178555613076565b82800160010185558215613076579182015b8281111561307557825182559160200191906001019061305a565b5b509050613083919061318f565b5090565b6040518060600160405280600015158152602001600081526020016000151581525090565b8280548282559060005260206000209060040281019282156131545760005260206000209160040282015b8281111561315357828260008201816000019080546130f590613f94565b6131009291906131ac565b5060018201548160010155600282015481600201556003820160009054906101000a900460ff168160030160006101000a81548160ff0219169083151502179055505050916004019190600401906130d7565b5b5090506131619190613239565b5090565b60405180608001604052806060815260200160008152602001600081526020016000151581525090565b5b808211156131a8576000816000905550600101613190565b5090565b8280546131b890613f94565b90600052602060002090601f0160209004810192826131da5760008555613228565b82601f106131eb5780548555613228565b8280016001018555821561322857600052602060002091601f016020900482015b8281111561322757825482559160010191906001019061320c565b5b509050613235919061318f565b5090565b5b8082111561328057600080820160006132539190613284565b600182016000905560028201600090556003820160006101000a81549060ff02191690555060040161323a565b5090565b50805461329090613f94565b6000825580601f106132a257506132c1565b601f0160209004906000526020600020908101906132c0919061318f565b5b50565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61330d816132d8565b811461331857600080fd5b50565b60008135905061332a81613304565b92915050565b600060208284031215613346576133456132ce565b5b60006133548482850161331b565b91505092915050565b60008115159050919050565b6133728161335d565b82525050565b600060208201905061338d6000830184613369565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133cd5780820151818401526020810190506133b2565b838111156133dc576000848401525b50505050565b6000601f19601f8301169050919050565b60006133fe82613393565b613408818561339e565b93506134188185602086016133af565b613421816133e2565b840191505092915050565b6000602082019050818103600083015261344681846133f3565b905092915050565b6000819050919050565b6134618161344e565b811461346c57600080fd5b50565b60008135905061347e81613458565b92915050565b60006020828403121561349a576134996132ce565b5b60006134a88482850161346f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134dc826134b1565b9050919050565b6134ec816134d1565b82525050565b600060208201905061350760008301846134e3565b92915050565b613516816134d1565b811461352157600080fd5b50565b6000813590506135338161350d565b92915050565b600080604083850312156135505761354f6132ce565b5b600061355e85828601613524565b925050602061356f8582860161346f565b9150509250929050565b60006020828403121561358f5761358e6132ce565b5b600061359d84828501613524565b91505092915050565b6135af8161344e565b82525050565b60006020820190506135ca60008301846135a6565b92915050565b6000806000606084860312156135e9576135e86132ce565b5b60006135f786828701613524565b935050602061360886828701613524565b92505060406136198682870161346f565b9150509250925092565b6000819050919050565b61363681613623565b811461364157600080fd5b50565b6000813590506136538161362d565b92915050565b60006020828403121561366f5761366e6132ce565b5b600061367d84828501613644565b91505092915050565b61368f81613623565b82525050565b60006020820190506136aa6000830184613686565b92915050565b600080604083850312156136c7576136c66132ce565b5b60006136d585828601613644565b92505060206136e685828601613524565b9150509250929050565b6136f98161335d565b82525050565b6137088161344e565b82525050565b60a08201600082015161372460008501826136f0565b50602082015161373760208501826136ff565b50604082015161374a60408501826136ff565b50606082015161375d60608501826136ff565b50608082015161377060808501826136ff565b50505050565b600060a08201905061378b600083018461370e565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137d3826133e2565b810181811067ffffffffffffffff821117156137f2576137f161379b565b5b80604052505050565b60006138056132c4565b905061381182826137ca565b919050565b600067ffffffffffffffff8211156138315761383061379b565b5b61383a826133e2565b9050602081019050919050565b82818337600083830152505050565b600061386961386484613816565b6137fb565b90508281526020810184848401111561388557613884613796565b5b613890848285613847565b509392505050565b600082601f8301126138ad576138ac613791565b5b81356138bd848260208601613856565b91505092915050565b6000602082840312156138dc576138db6132ce565b5b600082013567ffffffffffffffff8111156138fa576138f96132d3565b5b61390684828501613898565b91505092915050565b600080600060608486031215613928576139276132ce565b5b600061393686828701613524565b93505060206139478682870161346f565b925050604084013567ffffffffffffffff811115613968576139676132d3565b5b61397486828701613898565b9150509250925092565b60608201600082015161399460008501826136f0565b5060208201516139a760208501826136ff565b5060408201516139ba60408501826136f0565b50505050565b60006060820190506139d5600083018461397e565b92915050565b600080fd5b600080fd5b60008083601f8401126139fb576139fa613791565b5b8235905067ffffffffffffffff811115613a1857613a176139db565b5b602083019150836001820283011115613a3457613a336139e0565b5b9250929050565b613a448161335d565b8114613a4f57600080fd5b50565b600081359050613a6181613a3b565b92915050565b60008060008060008060008060006101008a8c031215613a8a57613a896132ce565b5b6000613a988c828d01613524565b99505060208a013567ffffffffffffffff811115613ab957613ab86132d3565b5b613ac58c828d016139e5565b98509850506040613ad88c828d0161346f565b9650506060613ae98c828d01613a52565b9550506080613afa8c828d0161346f565b94505060a0613b0b8c828d01613524565b93505060c0613b1c8c828d01613524565b92505060e0613b2d8c828d01613644565b9150509295985092959850929598565b60008060408385031215613b5457613b536132ce565b5b6000613b6285828601613524565b9250506020613b7385828601613a52565b9150509250929050565b600067ffffffffffffffff821115613b9857613b9761379b565b5b613ba1826133e2565b9050602081019050919050565b6000613bc1613bbc84613b7d565b6137fb565b905082815260208101848484011115613bdd57613bdc613796565b5b613be8848285613847565b509392505050565b600082601f830112613c0557613c04613791565b5b8135613c15848260208601613bae565b91505092915050565b60008060008060808587031215613c3857613c376132ce565b5b6000613c4687828801613524565b9450506020613c5787828801613524565b9350506040613c688782880161346f565b925050606085013567ffffffffffffffff811115613c8957613c886132d3565b5b613c9587828801613bf0565b91505092959194509250565b60008060008060808587031215613cbb57613cba6132ce565b5b6000613cc987828801613524565b9450506020613cda8782880161346f565b9350506040613ceb8782880161346f565b9250506060613cfc8782880161346f565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b6000613d5082613393565b613d5a8185613d34565b9350613d6a8185602086016133af565b613d73816133e2565b840191505092915050565b60006080830160008301518482036000860152613d9b8282613d45565b9150506020830151613db060208601826136ff565b506040830151613dc360408601826136ff565b506060830151613dd660608601826136f0565b508091505092915050565b6000613ded8383613d7e565b905092915050565b6000602082019050919050565b6000613e0d82613d08565b613e178185613d13565b935083602082028501613e2985613d24565b8060005b85811015613e655784840389528151613e468582613de1565b9450613e5183613df5565b925060208a01995050600181019050613e2d565b50829750879550505050505092915050565b60006020820190508181036000830152613e918184613e02565b905092915050565b60008060408385031215613eb057613eaf6132ce565b5b6000613ebe85828601613644565b9250506020613ecf8582860161346f565b9150509250929050565b60006080820190508181036000830152613ef381876133f3565b9050613f0260208301866135a6565b613f0f60408301856135a6565b613f1c6060830184613369565b95945050505050565b60008060408385031215613f3c57613f3b6132ce565b5b6000613f4a85828601613524565b9250506020613f5b85828601613524565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fac57607f821691505b602082108103613fbf57613fbe613f65565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614021602c8361339e565b915061402c82613fc5565b604082019050919050565b6000602082019050818103600083015261405081614014565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140b360218361339e565b91506140be82614057565b604082019050919050565b600060208201905081810360008301526140e2816140a6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061414560388361339e565b9150614150826140e9565b604082019050919050565b6000602082019050818103600083015261417481614138565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141b58261344e565b91506141c08361344e565b9250826141d0576141cf61417b565b5b828206905092915050565b7f4c543a204f6e6c792061646d696e2063616e207472616e736665722061206c6960008201527f63656e736f7220746f6b656e0000000000000000000000000000000000000000602082015250565b6000614237602c8361339e565b9150614242826141db565b604082019050919050565b600060208201905081810360008301526142668161422a565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006142c960318361339e565b91506142d48261426d565b604082019050919050565b600060208201905081810360008301526142f8816142bc565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061435b602f8361339e565b9150614366826142ff565b604082019050919050565b6000602082019050818103600083015261438a8161434e565b9050919050565b7f426173652055524920776173206e6f7420736574000000000000000000000000600082015250565b60006143c760148361339e565b91506143d282614391565b602082019050919050565b600060208201905081810360008301526143f6816143ba565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061445960298361339e565b9150614464826143fd565b604082019050919050565b600060208201905081810360008301526144888161444c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006144eb602a8361339e565b91506144f68261448f565b604082019050919050565b6000602082019050818103600083015261451a816144de565b9050919050565b7f4c543a2043616e6e6f74206d696e742e2049742068617320612076616c69642060008201527f6578636c7573697665206d6173746572206c6963656e73652e00000000000000602082015250565b600061457d60398361339e565b915061458882614521565b604082019050919050565b600060208201905081810360008301526145ac81614570565b9050919050565b600081905092915050565b7f4d41535445520000000000000000000000000000000000000000000000000000600082015250565b60006145f46006836145b3565b91506145ff826145be565b600682019050919050565b6000614615826145e7565b9150819050919050565b600061462b83856145b3565b9350614638838584613847565b82840190509392505050565b600061465182848661461f565b91508190509392505050565b7f4c543a2043616e6e6f74206d696e74204d61737465722e20497420686173206160008201527f206578636c7573697665206c6963656e736520616e64206973206e6f7420657860208201527f70697265642e0000000000000000000000000000000000000000000000000000604082015250565b60006146df60468361339e565b91506146ea8261465d565b606082019050919050565b6000602082019050818103600083015261470e816146d2565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665204d617374657260008201527f2e2049742068617320612076616c6964204d6173746572206c6963656e73652e602082015250565b600061477160408361339e565b915061477c82614715565b604082019050919050565b600060208201905081810360008301526147a081614764565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665204d617374657260008201527f2e2049742068617320612076616c696420726567756c6172206c6963656e736560208201527f2e00000000000000000000000000000000000000000000000000000000000000604082015250565b600061482960418361339e565b9150614834826147a7565b606082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665206c6963656e7360008201527f652e2049742068617320612076616c6964206c6963656e73652e000000000000602082015250565b60006148bb603a8361339e565b91506148c68261485f565b604082019050919050565b600060208201905081810360008301526148ea816148ae565b9050919050565b7f4c543a2043616e6e6f74206d696e74206578636c7573697665206c6963656e7360008201527f652e2049742068617320612076616c6964204d6173746572206c6963656e736560208201527f732e000000000000000000000000000000000000000000000000000000000000604082015250565b600061497360428361339e565b915061497e826148f1565b606082019050919050565b600060208201905081810360008301526149a281614966565b9050919050565b7f4c543a2043616e6e6f74206d696e742061206c6963656e73652e20497420686160008201527f7320612076616c6964206578636c7573697665206c6963656e73652e00000000602082015250565b6000614a05603c8361339e565b9150614a10826149a9565b604082019050919050565b60006020820190508181036000830152614a34816149f8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a758261344e565b9150614a808361344e565b925082821015614a9357614a92614a3b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614ad88261344e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b0a57614b09614a3b565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614b71602f8361339e565b9150614b7c82614b15565b604082019050919050565b60006020820190508181036000830152614ba081614b64565b9050919050565b6000614bb282613393565b614bbc81856145b3565b9350614bcc8185602086016133af565b80840191505092915050565b6000614be48285614ba7565b9150614bf08284614ba7565b91508190509392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614c326017836145b3565b9150614c3d82614bfc565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614c7e6011836145b3565b9150614c8982614c48565b601182019050919050565b6000614c9f82614c25565b9150614cab8285614ba7565b9150614cb682614c71565b9150614cc28284614ba7565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d2a602c8361339e565b9150614d3582614cce565b604082019050919050565b60006020820190508181036000830152614d5981614d1d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614dbc60258361339e565b9150614dc782614d60565b604082019050919050565b60006020820190508181036000830152614deb81614daf565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e4e60248361339e565b9150614e5982614df2565b604082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b6000614e8f8261344e565b9150614e9a8361344e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ecf57614ece614a3b565b5b828201905092915050565b60008160601b9050919050565b6000614ef282614eda565b9050919050565b6000614f0482614ee7565b9050919050565b614f1c614f17826134d1565b614ef9565b82525050565b6000819050919050565b614f3d614f388261344e565b614f22565b82525050565b6000614f4f8285614f0b565b601482019150614f5f8284614f2c565b6020820191508190509392505050565b6000819050919050565b614f8a614f8582613623565b614f6f565b82525050565b6000614f9c8285614f79565b602082019150614fac8284614ba7565b91508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614fee60198361339e565b9150614ff982614fb8565b602082019050919050565b6000602082019050818103600083015261501d81614fe1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061508060328361339e565b915061508b82615024565b604082019050919050565b600060208201905081810360008301526150af81615073565b9050919050565b60006150c18261344e565b91506150cc8361344e565b9250826150dc576150db61417b565b5b828204905092915050565b60006150f28261344e565b91506150fd8361344e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561513657615135614a3b565b5b828202905092915050565b600061514c8261344e565b91506000820361515f5761515e614a3b565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006151a060208361339e565b91506151ab8261516a565b602082019050919050565b600060208201905081810360008301526151cf81615193565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151fd826151d6565b61520781856151e1565b93506152178185602086016133af565b615220816133e2565b840191505092915050565b600060808201905061524060008301876134e3565b61524d60208301866134e3565b61525a60408301856135a6565b818103606083015261526c81846151f2565b905095945050505050565b60008151905061528681613304565b92915050565b6000602082840312156152a2576152a16132ce565b5b60006152b084828501615277565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152ef60208361339e565b91506152fa826152b9565b602082019050919050565b6000602082019050818103600083015261531e816152e2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061535b601c8361339e565b915061536682615325565b602082019050919050565b6000602082019050818103600083015261538a8161534e565b905091905056fea2646970667358221220fdf78c9eef4020e640f049a41818a45ffd7bb910e5b7cb361ad7bb49e0cfde9264736f6c634300080d0033

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.