ETH Price: $3,033.64 (-5.95%)
Gas: 7 Gwei

Token

RareAndEliteRATS (RARERATS)
 

Overview

Max Total Supply

460 RARERATS

Holders

164

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 RARERATS
0x7101adcf8d03725eb927a1ddd2987d70154f165a
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:
THERATSCOLLECTIONNFT

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : THERATSCOLLECTIONNFT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

library LibRoyaltiesV2 {
    /*
     * bytes4(keccak256('getRaribleV2Royalties(uint256)')) == 0xcad96cca
     */
    bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca;
}

pragma solidity ^0.8.0;

library LibPart {
    bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)");

    struct Part {
        address payable account;
        uint96 value;
    }

    function hash(Part memory part) internal pure returns (bytes32) {
        return keccak256(abi.encode(TYPE_HASH, part.account, part.value));
    }
}


pragma solidity ^0.8.0;


interface RoyaltiesV2 {
    event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties);

    function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory);
}



pragma solidity ^0.8.0;


abstract contract AbstractRoyalties {
    mapping (uint256 => LibPart.Part[]) internal royalties;

    function _saveRoyalties(uint256 id, LibPart.Part[] memory _royalties) internal {
        uint256 totalValue;
        for (uint i = 0; i < _royalties.length; i++) {
            require(_royalties[i].account != address(0x0), "Recipient should be present");
            require(_royalties[i].value != 0, "Royalty value should be positive");
            totalValue += _royalties[i].value;
            royalties[id].push(_royalties[i]);
        }
        require(totalValue < 10000, "Royalty total value should be < 10000");
        _onRoyaltiesSet(id, _royalties);
    }

    function _updateAccount(uint256 _id, address _from, address _to) internal {
        uint length = royalties[_id].length;
        for(uint i = 0; i < length; i++) {
            if (royalties[_id][i].account == _from) {
                royalties[_id][i].account = payable(address(uint160(_to)));
            }
        }
        
    }

    function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) virtual internal;
}

pragma solidity ^0.8.0;



contract RoyaltiesV2Impl is AbstractRoyalties, RoyaltiesV2 {

    function getRaribleV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) {
        return royalties[id];
    }

    function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) override internal {
        emit RoyaltiesSet(id, _royalties);
    }
    

}
// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts 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: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;


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

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

    bool private _paused;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// 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: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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;
}

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


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

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;


/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

pragma solidity ^0.8.11;

contract THERATSCOLLECTIONNFT is ERC721, ERC721Enumerable, ERC721URIStorage, Pausable, Ownable, RoyaltiesV2Impl {
    using Counters for Counters.Counter;
	
	Counters.Counter private _tokenIdCounter;
    uint256 public MAX_NFTS = 2222;
    uint256 public maxMint;
    bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
    address payable royaltiesRecipientAddress;

    // constructor() ERC721("MyToken", "MTK") {}
	constructor(string memory _name, string memory _symbol) ERC721(_name, _symbol) {
        maxMint = 20;
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    // This Function is used to do a Single mint.
    function safeMint(address to, string memory uri) public onlyOwner{
        require(bytes(uri).length > 0,"Token URI Cant Be null.");
		_tokenIdCounter.increment();
        uint256 tokenId = _tokenIdCounter.current();
        _safeMint(to, tokenId);
        _setTokenURI(tokenId, uri);
    }
	
    // This Function is used to do Batch Mint.
	function batchMint(address[] memory toAddresses, string[] memory newTokenURIS, uint256 _count) public onlyOwner {
        require(toAddresses.length > 0,"To Addresses Cant Be null.");
        require(newTokenURIS.length > 0,"Token URIs Cant Be null");
        require(_count > 0,"Count Cant be Zero");
        require(_tokenIdCounter.current() < MAX_NFTS,"All Tokens Have been minted.");
        require(_tokenIdCounter.current() + _count <= MAX_NFTS,"Token count exceeds with available NFT's.");
        require(_count <= maxMint,"You have exceeded max mint count.");
        require(newTokenURIS.length == _count, "Token URI's & count does not match.");
        require(toAddresses.length == newTokenURIS.length, "user address & Token URI's count does not match.");
        require(royaltiesRecipientAddress != address(0),"Please set roylty receipent wallet address");

        for (uint256 i = 0; i < _count; i++) {
            
           _tokenIdCounter.increment();
            uint256 tokenId = _tokenIdCounter.current();
            setRoyalties(tokenId,royaltiesRecipientAddress,500);
            _safeMint(toAddresses[i], tokenId);
            _setTokenURI(tokenId, newTokenURIS[i]);
        }
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        whenNotPaused
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    // The following functions are overrides required by Solidity.

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721,ERC721Enumerable) returns (bool)
    {
        if(interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES){
            return true;
        }

        if(interfaceId == _INTERFACE_ID_ERC2981){
            return true;
        }

        return super.supportsInterface(interfaceId);
    }
	
     /*
     * @dev Used to get the tokensOfOwner.
     * @return uint256[] for tokensOfOwner.
     */
	function tokensOfOwner(address _owner) external view returns (uint256[] memory ownerTokens) {
         uint256 tokenCount = balanceOf(_owner);
         
          if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalTokens = totalSupply();
            uint256 resultIndex = 0;

            // We count on the fact that all Rats have IDs starting at 1 and increasing
            // sequentially up to the totalCat count.
            uint256 tokensId;

            for (tokensId = 1; tokensId <= totalTokens; tokensId++) {
                if (ownerOf(tokensId) == _owner) {
                    result[resultIndex] = tokensId;
                    resultIndex++;
                }
            }

            return result;
        }
    }
	
	/**
     * @dev Used to set the max mint limit.
     */
    function setMaxMint(uint256 newMaxMint) external  onlyOwner {
        maxMint = newMaxMint;
    }

    /**
     * @dev Used to get the max mint limit.
     * @return uint256 for max mint limit.
     */
    function getMaxMint() public view returns (uint256) {
        return maxMint;
    }

    /**
     * @dev Used to set the max nft available.
     */
    function setMaxNFTs(uint256 newMaxNFTs) external  onlyOwner {
        MAX_NFTS = newMaxNFTs;
    }

    /**
     * @dev Used to get the max pilaties available limit.
     * @return uint256 for max pilaties available.
     */
    function getMaxNFTs() public view returns (uint256) {
        return MAX_NFTS;
    }

    function setRoyalties(uint _tokenId, address payable _royaltiesRecipientAddress,uint96 _percentageBasisPoints) internal onlyOwner{
        LibPart.Part[] memory _royalties = new LibPart.Part[](1);
        _royalties[0].value = _percentageBasisPoints;
        _royalties[0].account = _royaltiesRecipientAddress;
        _saveRoyalties(_tokenId, _royalties);

    }

    function setRoyaltyRecipientAddress(address payable _royaltiesRecipientAddress) public onlyOwner{
        royaltiesRecipientAddress = _royaltiesRecipientAddress;
    }

    function getRoyaltyRecipientAddress() public view returns(address payable){
        return royaltiesRecipientAddress;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_NFTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"toAddresses","type":"address[]"},{"internalType":"string[]","name":"newTokenURIS","type":"string[]"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyRecipientAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"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":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxNFTs","type":"uint256"}],"name":"setMaxNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_royaltiesRecipientAddress","type":"address"}],"name":"setRoyaltyRecipientAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526108ae600e553480156200001757600080fd5b5060405162005c3b38038062005c3b83398181016040528101906200003d9190620003d9565b81818160009080519060200190620000579291906200018c565b508060019080519060200190620000709291906200018c565b5050506000600b60006101000a81548160ff021916908315150217905550620000ae620000a2620000be60201b60201c565b620000c660201b60201c565b6014600f819055505050620004c3565b600033905090565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200019a906200048d565b90600052602060002090601f016020900481019282620001be57600085556200020a565b82601f10620001d957805160ff19168380011785556200020a565b828001600101855582156200020a579182015b8281111562000209578251825591602001919060010190620001ec565b5b5090506200021991906200021d565b5090565b5b80821115620002385760008160009055506001016200021e565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002a5826200025a565b810181811067ffffffffffffffff82111715620002c757620002c66200026b565b5b80604052505050565b6000620002dc6200023c565b9050620002ea82826200029a565b919050565b600067ffffffffffffffff8211156200030d576200030c6200026b565b5b62000318826200025a565b9050602081019050919050565b60005b838110156200034557808201518184015260208101905062000328565b8381111562000355576000848401525b50505050565b6000620003726200036c84620002ef565b620002d0565b90508281526020810184848401111562000391576200039062000255565b5b6200039e84828562000325565b509392505050565b600082601f830112620003be57620003bd62000250565b5b8151620003d08482602086016200035b565b91505092915050565b60008060408385031215620003f357620003f262000246565b5b600083015167ffffffffffffffff8111156200041457620004136200024b565b5b6200042285828601620003a6565b925050602083015167ffffffffffffffff8111156200044657620004456200024b565b5b6200045485828601620003a6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004a657607f821691505b60208210811415620004bd57620004bc6200045e565b5b50919050565b61576880620004d36000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c8063715018a61161011a578063af9009e0116100ad578063d204c45e1161007c578063d204c45e146105c5578063e1c052a4146105e1578063e3d43b1f146105ff578063e985e9c51461061d578063f2fde38b1461064d57610206565b8063af9009e01461052d578063b88d4fde14610549578063c87b56dd14610565578063cad96cca1461059557610206565b80638da5cb5b116100e95780638da5cb5b146104b957806395d89b41146104d7578063a22cb465146104f5578063a552bf951461051157610206565b8063715018a6146104575780637501f741146104615780638456cb591461047f5780638462151c1461048957610206565b806323b872dd1161019d5780634f6ccce71161016c5780634f6ccce71461038d578063547520fe146103bd5780635c975abb146103d95780636352211e146103f757806370a082311461042757610206565b806323b872dd1461031b5780632f745c59146103375780633f4ba83a1461036757806342842e0e1461037157610206565b8063093d8c64116101d9578063093d8c64146102a5578063095ea7b3146102c357806318160ddd146102df5780631f46452f146102fd57610206565b80630116d73f1461020b57806301ffc9a71461022757806306fdde0314610257578063081812fc14610275575b600080fd5b6102256004803603810190610220919061395d565b610669565b005b610241600480360381019061023c9190613a40565b610a68565b60405161024e9190613a88565b60405180910390f35b61025f610b27565b60405161026c9190613b2b565b60405180910390f35b61028f600480360381019061028a9190613b4d565b610bb9565b60405161029c9190613b89565b60405180910390f35b6102ad610c3e565b6040516102ba9190613bb3565b60405180910390f35b6102dd60048036038101906102d89190613bce565b610c44565b005b6102e7610d5c565b6040516102f49190613bb3565b60405180910390f35b610305610d69565b6040516103129190613bb3565b60405180910390f35b61033560048036038101906103309190613c0e565b610d73565b005b610351600480360381019061034c9190613bce565b610dd3565b60405161035e9190613bb3565b60405180910390f35b61036f610e78565b005b61038b60048036038101906103869190613c0e565b610efe565b005b6103a760048036038101906103a29190613b4d565b610f1e565b6040516103b49190613bb3565b60405180910390f35b6103d760048036038101906103d29190613b4d565b610f8f565b005b6103e1611015565b6040516103ee9190613a88565b60405180910390f35b610411600480360381019061040c9190613b4d565b61102c565b60405161041e9190613b89565b60405180910390f35b610441600480360381019061043c9190613c61565b6110de565b60405161044e9190613bb3565b60405180910390f35b61045f611196565b005b61046961121e565b6040516104769190613bb3565b60405180910390f35b610487611224565b005b6104a3600480360381019061049e9190613c61565b6112aa565b6040516104b09190613d4c565b60405180910390f35b6104c1611408565b6040516104ce9190613b89565b60405180910390f35b6104df611432565b6040516104ec9190613b2b565b60405180910390f35b61050f600480360381019061050a9190613d9a565b6114c4565b005b61052b60048036038101906105269190613b4d565b6114da565b005b61054760048036038101906105429190613e18565b611560565b005b610563600480360381019061055e9190613ee6565b611620565b005b61057f600480360381019061057a9190613b4d565b611682565b60405161058c9190613b2b565b60405180910390f35b6105af60048036038101906105aa9190613b4d565b611694565b6040516105bc919061407d565b60405180910390f35b6105df60048036038101906105da919061409f565b611796565b005b6105e9611887565b6040516105f6919061410a565b60405180910390f35b6106076118b1565b6040516106149190613bb3565b60405180910390f35b61063760048036038101906106329190614125565b6118bb565b6040516106449190613a88565b60405180910390f35b61066760048036038101906106629190613c61565b61194f565b005b610671611a47565b73ffffffffffffffffffffffffffffffffffffffff1661068f611408565b73ffffffffffffffffffffffffffffffffffffffff16146106e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106dc906141b1565b60405180910390fd5b6000835111610729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107209061421d565b60405180910390fd5b600082511161076d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076490614289565b60405180910390fd5b600081116107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a7906142f5565b60405180910390fd5b600e546107bd600d611a4f565b106107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f490614361565b60405180910390fd5b600e548161080b600d611a4f565b61081591906143b0565b1115610856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084d90614478565b60405180910390fd5b600f5481111561089b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108929061450a565b60405180910390fd5b808251146108de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d59061459c565b60405180910390fd5b8151835114610922576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109199061462e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab906146c0565b60405180910390fd5b60005b81811015610a62576109c9600d611a5d565b60006109d5600d611a4f565b9050610a0681601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166101f4611a73565b610a2a858381518110610a1c57610a1b6146e0565b5b602002602001015182611bee565b610a4e81858481518110610a4157610a406146e0565b5b6020026020010151611c0c565b508080610a5a9061470f565b9150506109b7565b50505050565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610ac05760019050610b22565b632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610b165760019050610b22565b610b1f82611c80565b90505b919050565b606060008054610b3690614787565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6290614787565b8015610baf5780601f10610b8457610100808354040283529160200191610baf565b820191906000526020600020905b815481529060010190602001808311610b9257829003601f168201915b5050505050905090565b6000610bc482611cfa565b610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa9061482b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e5481565b6000610c4f8261102c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb7906148bd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cdf611a47565b73ffffffffffffffffffffffffffffffffffffffff161480610d0e5750610d0d81610d08611a47565b6118bb565b5b610d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d449061494f565b60405180910390fd5b610d578383611d66565b505050565b6000600880549050905090565b6000600f54905090565b610d84610d7e611a47565b82611e1f565b610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba906149e1565b60405180910390fd5b610dce838383611efd565b505050565b6000610dde836110de565b8210610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690614a73565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e80611a47565b73ffffffffffffffffffffffffffffffffffffffff16610e9e611408565b73ffffffffffffffffffffffffffffffffffffffff1614610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906141b1565b60405180910390fd5b610efc612159565b565b610f1983838360405180602001604052806000815250611620565b505050565b6000610f28610d5c565b8210610f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6090614b05565b60405180910390fd5b60088281548110610f7d57610f7c6146e0565b5b90600052602060002001549050919050565b610f97611a47565b73ffffffffffffffffffffffffffffffffffffffff16610fb5611408565b73ffffffffffffffffffffffffffffffffffffffff161461100b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611002906141b1565b60405180910390fd5b80600f8190555050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90614b97565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690614c29565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119e611a47565b73ffffffffffffffffffffffffffffffffffffffff166111bc611408565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906141b1565b60405180910390fd5b61121c60006121fb565b565b600f5481565b61122c611a47565b73ffffffffffffffffffffffffffffffffffffffff1661124a611408565b73ffffffffffffffffffffffffffffffffffffffff16146112a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611297906141b1565b60405180910390fd5b6112a86122c1565b565b606060006112b7836110de565b9050600081141561131457600067ffffffffffffffff8111156112dd576112dc6135f0565b5b60405190808252806020026020018201604052801561130b5781602001602082028036833780820191505090505b50915050611403565b60008167ffffffffffffffff8111156113305761132f6135f0565b5b60405190808252806020026020018201604052801561135e5781602001602082028036833780820191505090505b509050600061136b610d5c565b9050600080600190505b8281116113fa578673ffffffffffffffffffffffffffffffffffffffff1661139c8261102c565b73ffffffffffffffffffffffffffffffffffffffff1614156113e757808483815181106113cc576113cb6146e0565b5b60200260200101818152505081806113e39061470f565b9250505b80806113f29061470f565b915050611375565b83955050505050505b919050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461144190614787565b80601f016020809104026020016040519081016040528092919081815260200182805461146d90614787565b80156114ba5780601f1061148f576101008083540402835291602001916114ba565b820191906000526020600020905b81548152906001019060200180831161149d57829003601f168201915b5050505050905090565b6114d66114cf611a47565b8383612364565b5050565b6114e2611a47565b73ffffffffffffffffffffffffffffffffffffffff16611500611408565b73ffffffffffffffffffffffffffffffffffffffff1614611556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154d906141b1565b60405180910390fd5b80600e8190555050565b611568611a47565b73ffffffffffffffffffffffffffffffffffffffff16611586611408565b73ffffffffffffffffffffffffffffffffffffffff16146115dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d3906141b1565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61163161162b611a47565b83611e1f565b611670576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611667906149e1565b60405180910390fd5b61167c848484846124d1565b50505050565b606061168d8261252d565b9050919050565b6060600c6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101561178b578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681525050815260200190600101906116c9565b505050509050919050565b61179e611a47565b73ffffffffffffffffffffffffffffffffffffffff166117bc611408565b73ffffffffffffffffffffffffffffffffffffffff1614611812576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611809906141b1565b60405180910390fd5b6000815111611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90614c95565b60405180910390fd5b611860600d611a5d565b600061186c600d611a4f565b90506118788382611bee565b6118828183611c0c565b505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611957611a47565b73ffffffffffffffffffffffffffffffffffffffff16611975611408565b73ffffffffffffffffffffffffffffffffffffffff16146119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c2906141b1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3290614d27565b60405180910390fd5b611a44816121fb565b50565b600033905090565b600081600001549050919050565b6001816000016000828254019250508190555050565b611a7b611a47565b73ffffffffffffffffffffffffffffffffffffffff16611a99611408565b73ffffffffffffffffffffffffffffffffffffffff1614611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae6906141b1565b60405180910390fd5b6000600167ffffffffffffffff811115611b0c57611b0b6135f0565b5b604051908082528060200260200182016040528015611b4557816020015b611b326134e5565b815260200190600190039081611b2a5790505b5090508181600081518110611b5d57611b5c6146e0565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff16815250508281600081518110611ba057611b9f6146e0565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611be8848261267f565b50505050565b611c08828260405180602001604052806000815250612902565b5050565b611c1582611cfa565b611c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4b90614db9565b60405180910390fd5b80600a60008481526020019081526020016000209080519060200190611c7b929190613523565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cf35750611cf28261295d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611dd98361102c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e2a82611cfa565b611e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6090614e4b565b60405180910390fd5b6000611e748361102c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ee357508373ffffffffffffffffffffffffffffffffffffffff16611ecb84610bb9565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ef45750611ef381856118bb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f1d8261102c565b73ffffffffffffffffffffffffffffffffffffffff1614611f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6a90614edd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fda90614f6f565b60405180910390fd5b611fee838383612a3f565b611ff9600082611d66565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120499190614f8f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a091906143b0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612161611015565b6121a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121979061500f565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121e4611a47565b6040516121f19190613b89565b60405180910390a1565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122c9611015565b15612309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123009061507b565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861234d611a47565b60405161235a9190613b89565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ca906150e7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124c49190613a88565b60405180910390a3505050565b6124dc848484611efd565b6124e884848484612a97565b612527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251e90615179565b60405180910390fd5b50505050565b606061253882611cfa565b612577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256e9061520b565b60405180910390fd5b6000600a6000848152602001908152602001600020805461259790614787565b80601f01602080910402602001604051908101604052809291908181526020018280546125c390614787565b80156126105780601f106125e557610100808354040283529160200191612610565b820191906000526020600020905b8154815290600101906020018083116125f357829003601f168201915b505050505090506000612621612c1f565b905060008151141561263757819250505061267a565b60008251111561266c578082604051602001612654929190615267565b6040516020818303038152906040529250505061267a565b61267584612c36565b925050505b919050565b600080600090505b82518110156128ae57600073ffffffffffffffffffffffffffffffffffffffff168382815181106126bb576126ba6146e0565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff16141561271e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612715906152d7565b60405180910390fd5b6000838281518110612733576127326146e0565b5b6020026020010151602001516bffffffffffffffffffffffff16141561278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590615343565b60405180910390fd5b8281815181106127a1576127a06146e0565b5b6020026020010151602001516bffffffffffffffffffffffff16826127c691906143b0565b9150600c60008581526020019081526020016000208382815181106127ee576127ed6146e0565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505080806128a69061470f565b915050612687565b5061271081106128f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ea906153d5565b60405180910390fd5b6128fd8383612cdd565b505050565b61290c8383612d1a565b6129196000848484612a97565b612958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294f90615179565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a2857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a385750612a3782612ee8565b5b9050919050565b612a47611015565b15612a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7e9061507b565b60405180910390fd5b612a92838383612f52565b505050565b6000612ab88473ffffffffffffffffffffffffffffffffffffffff16613066565b15612c12578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ae1611a47565b8786866040518563ffffffff1660e01b8152600401612b03949392919061544a565b6020604051808303816000875af1925050508015612b3f57506040513d601f19601f82011682018060405250810190612b3c91906154ab565b60015b612bc2573d8060008114612b6f576040519150601f19603f3d011682016040523d82523d6000602084013e612b74565b606091505b50600081511415612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb190615179565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c17565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060612c4182611cfa565b612c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c779061554a565b60405180910390fd5b6000612c8a612c1f565b90506000815111612caa5760405180602001604052806000815250612cd5565b80612cb484613079565b604051602001612cc5929190615267565b6040516020818303038152906040525b915050919050565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051612d0e92919061556a565b60405180910390a15050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d81906155e6565b60405180910390fd5b612d9381611cfa565b15612dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dca90615652565b60405180910390fd5b612ddf60008383612a3f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e2f91906143b0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f5d8383836131da565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fa057612f9b816131df565b612fdf565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fde57612fdd8382613228565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130225761301d81613395565b613061565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130605761305f8282613466565b5b5b505050565b600080823b905060008111915050919050565b606060008214156130c1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d5565b600082905060005b600082146130f35780806130dc9061470f565b915050600a826130ec91906156a1565b91506130c9565b60008167ffffffffffffffff81111561310f5761310e6135f0565b5b6040519080825280601f01601f1916602001820160405280156131415781602001600182028036833780820191505090505b5090505b600085146131ce5760018261315a9190614f8f565b9150600a8561316991906156d2565b603061317591906143b0565b60f81b81838151811061318b5761318a6146e0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c791906156a1565b9450613145565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613235846110de565b61323f9190614f8f565b9050600060076000848152602001908152602001600020549050818114613324576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133a99190614f8f565b90506000600960008481526020019081526020016000205490506000600883815481106133d9576133d86146e0565b5b9060005260206000200154905080600883815481106133fb576133fa6146e0565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061344a57613449615703565b5b6001900381819060005260206000200160009055905550505050565b6000613471836110de565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b82805461352f90614787565b90600052602060002090601f0160209004810192826135515760008555613598565b82601f1061356a57805160ff1916838001178555613598565b82800160010185558215613598579182015b8281111561359757825182559160200191906001019061357c565b5b5090506135a591906135a9565b5090565b5b808211156135c25760008160009055506001016135aa565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613628826135df565b810181811067ffffffffffffffff82111715613647576136466135f0565b5b80604052505050565b600061365a6135c6565b9050613666828261361f565b919050565b600067ffffffffffffffff821115613686576136856135f0565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136c78261369c565b9050919050565b6136d7816136bc565b81146136e257600080fd5b50565b6000813590506136f4816136ce565b92915050565b600061370d6137088461366b565b613650565b905080838252602082019050602084028301858111156137305761372f613697565b5b835b81811015613759578061374588826136e5565b845260208401935050602081019050613732565b5050509392505050565b600082601f830112613778576137776135da565b5b81356137888482602086016136fa565b91505092915050565b600067ffffffffffffffff8211156137ac576137ab6135f0565b5b602082029050602081019050919050565b600080fd5b600067ffffffffffffffff8211156137dd576137dc6135f0565b5b6137e6826135df565b9050602081019050919050565b82818337600083830152505050565b6000613815613810846137c2565b613650565b905082815260208101848484011115613831576138306137bd565b5b61383c8482856137f3565b509392505050565b600082601f830112613859576138586135da565b5b8135613869848260208601613802565b91505092915050565b600061388561388084613791565b613650565b905080838252602082019050602084028301858111156138a8576138a7613697565b5b835b818110156138ef57803567ffffffffffffffff8111156138cd576138cc6135da565b5b8086016138da8982613844565b855260208501945050506020810190506138aa565b5050509392505050565b600082601f83011261390e5761390d6135da565b5b813561391e848260208601613872565b91505092915050565b6000819050919050565b61393a81613927565b811461394557600080fd5b50565b60008135905061395781613931565b92915050565b600080600060608486031215613976576139756135d0565b5b600084013567ffffffffffffffff811115613994576139936135d5565b5b6139a086828701613763565b935050602084013567ffffffffffffffff8111156139c1576139c06135d5565b5b6139cd868287016138f9565b92505060406139de86828701613948565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a1d816139e8565b8114613a2857600080fd5b50565b600081359050613a3a81613a14565b92915050565b600060208284031215613a5657613a556135d0565b5b6000613a6484828501613a2b565b91505092915050565b60008115159050919050565b613a8281613a6d565b82525050565b6000602082019050613a9d6000830184613a79565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613add578082015181840152602081019050613ac2565b83811115613aec576000848401525b50505050565b6000613afd82613aa3565b613b078185613aae565b9350613b17818560208601613abf565b613b20816135df565b840191505092915050565b60006020820190508181036000830152613b458184613af2565b905092915050565b600060208284031215613b6357613b626135d0565b5b6000613b7184828501613948565b91505092915050565b613b83816136bc565b82525050565b6000602082019050613b9e6000830184613b7a565b92915050565b613bad81613927565b82525050565b6000602082019050613bc86000830184613ba4565b92915050565b60008060408385031215613be557613be46135d0565b5b6000613bf3858286016136e5565b9250506020613c0485828601613948565b9150509250929050565b600080600060608486031215613c2757613c266135d0565b5b6000613c35868287016136e5565b9350506020613c46868287016136e5565b9250506040613c5786828701613948565b9150509250925092565b600060208284031215613c7757613c766135d0565b5b6000613c85848285016136e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cc381613927565b82525050565b6000613cd58383613cba565b60208301905092915050565b6000602082019050919050565b6000613cf982613c8e565b613d038185613c99565b9350613d0e83613caa565b8060005b83811015613d3f578151613d268882613cc9565b9750613d3183613ce1565b925050600181019050613d12565b5085935050505092915050565b60006020820190508181036000830152613d668184613cee565b905092915050565b613d7781613a6d565b8114613d8257600080fd5b50565b600081359050613d9481613d6e565b92915050565b60008060408385031215613db157613db06135d0565b5b6000613dbf858286016136e5565b9250506020613dd085828601613d85565b9150509250929050565b6000613de58261369c565b9050919050565b613df581613dda565b8114613e0057600080fd5b50565b600081359050613e1281613dec565b92915050565b600060208284031215613e2e57613e2d6135d0565b5b6000613e3c84828501613e03565b91505092915050565b600067ffffffffffffffff821115613e6057613e5f6135f0565b5b613e69826135df565b9050602081019050919050565b6000613e89613e8484613e45565b613650565b905082815260208101848484011115613ea557613ea46137bd565b5b613eb08482856137f3565b509392505050565b600082601f830112613ecd57613ecc6135da565b5b8135613edd848260208601613e76565b91505092915050565b60008060008060808587031215613f0057613eff6135d0565b5b6000613f0e878288016136e5565b9450506020613f1f878288016136e5565b9350506040613f3087828801613948565b925050606085013567ffffffffffffffff811115613f5157613f506135d5565b5b613f5d87828801613eb8565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f9e81613dda565b82525050565b60006bffffffffffffffffffffffff82169050919050565b613fc581613fa4565b82525050565b604082016000820151613fe16000850182613f95565b506020820151613ff46020850182613fbc565b50505050565b60006140068383613fcb565b60408301905092915050565b6000602082019050919050565b600061402a82613f69565b6140348185613f74565b935061403f83613f85565b8060005b838110156140705781516140578882613ffa565b975061406283614012565b925050600181019050614043565b5085935050505092915050565b60006020820190508181036000830152614097818461401f565b905092915050565b600080604083850312156140b6576140b56135d0565b5b60006140c4858286016136e5565b925050602083013567ffffffffffffffff8111156140e5576140e46135d5565b5b6140f185828601613844565b9150509250929050565b61410481613dda565b82525050565b600060208201905061411f60008301846140fb565b92915050565b6000806040838503121561413c5761413b6135d0565b5b600061414a858286016136e5565b925050602061415b858286016136e5565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061419b602083613aae565b91506141a682614165565b602082019050919050565b600060208201905081810360008301526141ca8161418e565b9050919050565b7f546f204164647265737365732043616e74204265206e756c6c2e000000000000600082015250565b6000614207601a83613aae565b9150614212826141d1565b602082019050919050565b60006020820190508181036000830152614236816141fa565b9050919050565b7f546f6b656e20555249732043616e74204265206e756c6c000000000000000000600082015250565b6000614273601783613aae565b915061427e8261423d565b602082019050919050565b600060208201905081810360008301526142a281614266565b9050919050565b7f436f756e742043616e74206265205a65726f0000000000000000000000000000600082015250565b60006142df601283613aae565b91506142ea826142a9565b602082019050919050565b6000602082019050818103600083015261430e816142d2565b9050919050565b7f416c6c20546f6b656e732048617665206265656e206d696e7465642e00000000600082015250565b600061434b601c83613aae565b915061435682614315565b602082019050919050565b6000602082019050818103600083015261437a8161433e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143bb82613927565b91506143c683613927565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143fb576143fa614381565b5b828201905092915050565b7f546f6b656e20636f756e742065786365656473207769746820617661696c616260008201527f6c65204e465427732e0000000000000000000000000000000000000000000000602082015250565b6000614462602983613aae565b915061446d82614406565b604082019050919050565b6000602082019050818103600083015261449181614455565b9050919050565b7f596f752068617665206578636565646564206d6178206d696e7420636f756e7460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006144f4602183613aae565b91506144ff82614498565b604082019050919050565b60006020820190508181036000830152614523816144e7565b9050919050565b7f546f6b656e205552492773202620636f756e7420646f6573206e6f74206d617460008201527f63682e0000000000000000000000000000000000000000000000000000000000602082015250565b6000614586602383613aae565b91506145918261452a565b604082019050919050565b600060208201905081810360008301526145b581614579565b9050919050565b7f757365722061646472657373202620546f6b656e20555249277320636f756e7460008201527f20646f6573206e6f74206d617463682e00000000000000000000000000000000602082015250565b6000614618603083613aae565b9150614623826145bc565b604082019050919050565b600060208201905081810360008301526146478161460b565b9050919050565b7f506c656173652073657420726f796c747920726563656970656e742077616c6c60008201527f6574206164647265737300000000000000000000000000000000000000000000602082015250565b60006146aa602a83613aae565b91506146b58261464e565b604082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061471a82613927565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561474d5761474c614381565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061479f57607f821691505b602082108114156147b3576147b2614758565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614815602c83613aae565b9150614820826147b9565b604082019050919050565b6000602082019050818103600083015261484481614808565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006148a7602183613aae565b91506148b28261484b565b604082019050919050565b600060208201905081810360008301526148d68161489a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614939603883613aae565b9150614944826148dd565b604082019050919050565b600060208201905081810360008301526149688161492c565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149cb603183613aae565b91506149d68261496f565b604082019050919050565b600060208201905081810360008301526149fa816149be565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a5d602b83613aae565b9150614a6882614a01565b604082019050919050565b60006020820190508181036000830152614a8c81614a50565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614aef602c83613aae565b9150614afa82614a93565b604082019050919050565b60006020820190508181036000830152614b1e81614ae2565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b81602983613aae565b9150614b8c82614b25565b604082019050919050565b60006020820190508181036000830152614bb081614b74565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c13602a83613aae565b9150614c1e82614bb7565b604082019050919050565b60006020820190508181036000830152614c4281614c06565b9050919050565b7f546f6b656e205552492043616e74204265206e756c6c2e000000000000000000600082015250565b6000614c7f601783613aae565b9150614c8a82614c49565b602082019050919050565b60006020820190508181036000830152614cae81614c72565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d11602683613aae565b9150614d1c82614cb5565b604082019050919050565b60006020820190508181036000830152614d4081614d04565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614da3602e83613aae565b9150614dae82614d47565b604082019050919050565b60006020820190508181036000830152614dd281614d96565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614e35602c83613aae565b9150614e4082614dd9565b604082019050919050565b60006020820190508181036000830152614e6481614e28565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614ec7602983613aae565b9150614ed282614e6b565b604082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f59602483613aae565b9150614f6482614efd565b604082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b6000614f9a82613927565b9150614fa583613927565b925082821015614fb857614fb7614381565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614ff9601483613aae565b915061500482614fc3565b602082019050919050565b6000602082019050818103600083015261502881614fec565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615065601083613aae565b91506150708261502f565b602082019050919050565b6000602082019050818103600083015261509481615058565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150d1601983613aae565b91506150dc8261509b565b602082019050919050565b60006020820190508181036000830152615100816150c4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615163603283613aae565b915061516e82615107565b604082019050919050565b6000602082019050818103600083015261519281615156565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006151f5603183613aae565b915061520082615199565b604082019050919050565b60006020820190508181036000830152615224816151e8565b9050919050565b600081905092915050565b600061524182613aa3565b61524b818561522b565b935061525b818560208601613abf565b80840191505092915050565b60006152738285615236565b915061527f8284615236565b91508190509392505050565b7f526563697069656e742073686f756c642062652070726573656e740000000000600082015250565b60006152c1601b83613aae565b91506152cc8261528b565b602082019050919050565b600060208201905081810360008301526152f0816152b4565b9050919050565b7f526f79616c74792076616c75652073686f756c6420626520706f736974697665600082015250565b600061532d602083613aae565b9150615338826152f7565b602082019050919050565b6000602082019050818103600083015261535c81615320565b9050919050565b7f526f79616c747920746f74616c2076616c75652073686f756c64206265203c2060008201527f3130303030000000000000000000000000000000000000000000000000000000602082015250565b60006153bf602583613aae565b91506153ca82615363565b604082019050919050565b600060208201905081810360008301526153ee816153b2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061541c826153f5565b6154268185615400565b9350615436818560208601613abf565b61543f816135df565b840191505092915050565b600060808201905061545f6000830187613b7a565b61546c6020830186613b7a565b6154796040830185613ba4565b818103606083015261548b8184615411565b905095945050505050565b6000815190506154a581613a14565b92915050565b6000602082840312156154c1576154c06135d0565b5b60006154cf84828501615496565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615534602f83613aae565b915061553f826154d8565b604082019050919050565b6000602082019050818103600083015261556381615527565b9050919050565b600060408201905061557f6000830185613ba4565b8181036020830152615591818461401f565b90509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006155d0602083613aae565b91506155db8261559a565b602082019050919050565b600060208201905081810360008301526155ff816155c3565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061563c601c83613aae565b915061564782615606565b602082019050919050565b6000602082019050818103600083015261566b8161562f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006156ac82613927565b91506156b783613927565b9250826156c7576156c6615672565b5b828204905092915050565b60006156dd82613927565b91506156e883613927565b9250826156f8576156f7615672565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220e061792dfaeb7f45cdc32c7cc5679682a534caf548c8e91e6e13f80e3fadf16764736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001052617265416e64456c697465524154530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085241524552415453000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c8063715018a61161011a578063af9009e0116100ad578063d204c45e1161007c578063d204c45e146105c5578063e1c052a4146105e1578063e3d43b1f146105ff578063e985e9c51461061d578063f2fde38b1461064d57610206565b8063af9009e01461052d578063b88d4fde14610549578063c87b56dd14610565578063cad96cca1461059557610206565b80638da5cb5b116100e95780638da5cb5b146104b957806395d89b41146104d7578063a22cb465146104f5578063a552bf951461051157610206565b8063715018a6146104575780637501f741146104615780638456cb591461047f5780638462151c1461048957610206565b806323b872dd1161019d5780634f6ccce71161016c5780634f6ccce71461038d578063547520fe146103bd5780635c975abb146103d95780636352211e146103f757806370a082311461042757610206565b806323b872dd1461031b5780632f745c59146103375780633f4ba83a1461036757806342842e0e1461037157610206565b8063093d8c64116101d9578063093d8c64146102a5578063095ea7b3146102c357806318160ddd146102df5780631f46452f146102fd57610206565b80630116d73f1461020b57806301ffc9a71461022757806306fdde0314610257578063081812fc14610275575b600080fd5b6102256004803603810190610220919061395d565b610669565b005b610241600480360381019061023c9190613a40565b610a68565b60405161024e9190613a88565b60405180910390f35b61025f610b27565b60405161026c9190613b2b565b60405180910390f35b61028f600480360381019061028a9190613b4d565b610bb9565b60405161029c9190613b89565b60405180910390f35b6102ad610c3e565b6040516102ba9190613bb3565b60405180910390f35b6102dd60048036038101906102d89190613bce565b610c44565b005b6102e7610d5c565b6040516102f49190613bb3565b60405180910390f35b610305610d69565b6040516103129190613bb3565b60405180910390f35b61033560048036038101906103309190613c0e565b610d73565b005b610351600480360381019061034c9190613bce565b610dd3565b60405161035e9190613bb3565b60405180910390f35b61036f610e78565b005b61038b60048036038101906103869190613c0e565b610efe565b005b6103a760048036038101906103a29190613b4d565b610f1e565b6040516103b49190613bb3565b60405180910390f35b6103d760048036038101906103d29190613b4d565b610f8f565b005b6103e1611015565b6040516103ee9190613a88565b60405180910390f35b610411600480360381019061040c9190613b4d565b61102c565b60405161041e9190613b89565b60405180910390f35b610441600480360381019061043c9190613c61565b6110de565b60405161044e9190613bb3565b60405180910390f35b61045f611196565b005b61046961121e565b6040516104769190613bb3565b60405180910390f35b610487611224565b005b6104a3600480360381019061049e9190613c61565b6112aa565b6040516104b09190613d4c565b60405180910390f35b6104c1611408565b6040516104ce9190613b89565b60405180910390f35b6104df611432565b6040516104ec9190613b2b565b60405180910390f35b61050f600480360381019061050a9190613d9a565b6114c4565b005b61052b60048036038101906105269190613b4d565b6114da565b005b61054760048036038101906105429190613e18565b611560565b005b610563600480360381019061055e9190613ee6565b611620565b005b61057f600480360381019061057a9190613b4d565b611682565b60405161058c9190613b2b565b60405180910390f35b6105af60048036038101906105aa9190613b4d565b611694565b6040516105bc919061407d565b60405180910390f35b6105df60048036038101906105da919061409f565b611796565b005b6105e9611887565b6040516105f6919061410a565b60405180910390f35b6106076118b1565b6040516106149190613bb3565b60405180910390f35b61063760048036038101906106329190614125565b6118bb565b6040516106449190613a88565b60405180910390f35b61066760048036038101906106629190613c61565b61194f565b005b610671611a47565b73ffffffffffffffffffffffffffffffffffffffff1661068f611408565b73ffffffffffffffffffffffffffffffffffffffff16146106e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106dc906141b1565b60405180910390fd5b6000835111610729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107209061421d565b60405180910390fd5b600082511161076d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076490614289565b60405180910390fd5b600081116107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a7906142f5565b60405180910390fd5b600e546107bd600d611a4f565b106107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f490614361565b60405180910390fd5b600e548161080b600d611a4f565b61081591906143b0565b1115610856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084d90614478565b60405180910390fd5b600f5481111561089b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108929061450a565b60405180910390fd5b808251146108de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d59061459c565b60405180910390fd5b8151835114610922576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109199061462e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab906146c0565b60405180910390fd5b60005b81811015610a62576109c9600d611a5d565b60006109d5600d611a4f565b9050610a0681601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166101f4611a73565b610a2a858381518110610a1c57610a1b6146e0565b5b602002602001015182611bee565b610a4e81858481518110610a4157610a406146e0565b5b6020026020010151611c0c565b508080610a5a9061470f565b9150506109b7565b50505050565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610ac05760019050610b22565b632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610b165760019050610b22565b610b1f82611c80565b90505b919050565b606060008054610b3690614787565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6290614787565b8015610baf5780601f10610b8457610100808354040283529160200191610baf565b820191906000526020600020905b815481529060010190602001808311610b9257829003601f168201915b5050505050905090565b6000610bc482611cfa565b610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa9061482b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e5481565b6000610c4f8261102c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb7906148bd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cdf611a47565b73ffffffffffffffffffffffffffffffffffffffff161480610d0e5750610d0d81610d08611a47565b6118bb565b5b610d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d449061494f565b60405180910390fd5b610d578383611d66565b505050565b6000600880549050905090565b6000600f54905090565b610d84610d7e611a47565b82611e1f565b610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba906149e1565b60405180910390fd5b610dce838383611efd565b505050565b6000610dde836110de565b8210610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690614a73565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e80611a47565b73ffffffffffffffffffffffffffffffffffffffff16610e9e611408565b73ffffffffffffffffffffffffffffffffffffffff1614610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906141b1565b60405180910390fd5b610efc612159565b565b610f1983838360405180602001604052806000815250611620565b505050565b6000610f28610d5c565b8210610f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6090614b05565b60405180910390fd5b60088281548110610f7d57610f7c6146e0565b5b90600052602060002001549050919050565b610f97611a47565b73ffffffffffffffffffffffffffffffffffffffff16610fb5611408565b73ffffffffffffffffffffffffffffffffffffffff161461100b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611002906141b1565b60405180910390fd5b80600f8190555050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90614b97565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690614c29565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119e611a47565b73ffffffffffffffffffffffffffffffffffffffff166111bc611408565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906141b1565b60405180910390fd5b61121c60006121fb565b565b600f5481565b61122c611a47565b73ffffffffffffffffffffffffffffffffffffffff1661124a611408565b73ffffffffffffffffffffffffffffffffffffffff16146112a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611297906141b1565b60405180910390fd5b6112a86122c1565b565b606060006112b7836110de565b9050600081141561131457600067ffffffffffffffff8111156112dd576112dc6135f0565b5b60405190808252806020026020018201604052801561130b5781602001602082028036833780820191505090505b50915050611403565b60008167ffffffffffffffff8111156113305761132f6135f0565b5b60405190808252806020026020018201604052801561135e5781602001602082028036833780820191505090505b509050600061136b610d5c565b9050600080600190505b8281116113fa578673ffffffffffffffffffffffffffffffffffffffff1661139c8261102c565b73ffffffffffffffffffffffffffffffffffffffff1614156113e757808483815181106113cc576113cb6146e0565b5b60200260200101818152505081806113e39061470f565b9250505b80806113f29061470f565b915050611375565b83955050505050505b919050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461144190614787565b80601f016020809104026020016040519081016040528092919081815260200182805461146d90614787565b80156114ba5780601f1061148f576101008083540402835291602001916114ba565b820191906000526020600020905b81548152906001019060200180831161149d57829003601f168201915b5050505050905090565b6114d66114cf611a47565b8383612364565b5050565b6114e2611a47565b73ffffffffffffffffffffffffffffffffffffffff16611500611408565b73ffffffffffffffffffffffffffffffffffffffff1614611556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154d906141b1565b60405180910390fd5b80600e8190555050565b611568611a47565b73ffffffffffffffffffffffffffffffffffffffff16611586611408565b73ffffffffffffffffffffffffffffffffffffffff16146115dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d3906141b1565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61163161162b611a47565b83611e1f565b611670576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611667906149e1565b60405180910390fd5b61167c848484846124d1565b50505050565b606061168d8261252d565b9050919050565b6060600c6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101561178b578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681525050815260200190600101906116c9565b505050509050919050565b61179e611a47565b73ffffffffffffffffffffffffffffffffffffffff166117bc611408565b73ffffffffffffffffffffffffffffffffffffffff1614611812576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611809906141b1565b60405180910390fd5b6000815111611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90614c95565b60405180910390fd5b611860600d611a5d565b600061186c600d611a4f565b90506118788382611bee565b6118828183611c0c565b505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611957611a47565b73ffffffffffffffffffffffffffffffffffffffff16611975611408565b73ffffffffffffffffffffffffffffffffffffffff16146119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c2906141b1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3290614d27565b60405180910390fd5b611a44816121fb565b50565b600033905090565b600081600001549050919050565b6001816000016000828254019250508190555050565b611a7b611a47565b73ffffffffffffffffffffffffffffffffffffffff16611a99611408565b73ffffffffffffffffffffffffffffffffffffffff1614611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae6906141b1565b60405180910390fd5b6000600167ffffffffffffffff811115611b0c57611b0b6135f0565b5b604051908082528060200260200182016040528015611b4557816020015b611b326134e5565b815260200190600190039081611b2a5790505b5090508181600081518110611b5d57611b5c6146e0565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff16815250508281600081518110611ba057611b9f6146e0565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611be8848261267f565b50505050565b611c08828260405180602001604052806000815250612902565b5050565b611c1582611cfa565b611c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4b90614db9565b60405180910390fd5b80600a60008481526020019081526020016000209080519060200190611c7b929190613523565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cf35750611cf28261295d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611dd98361102c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e2a82611cfa565b611e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6090614e4b565b60405180910390fd5b6000611e748361102c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ee357508373ffffffffffffffffffffffffffffffffffffffff16611ecb84610bb9565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ef45750611ef381856118bb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f1d8261102c565b73ffffffffffffffffffffffffffffffffffffffff1614611f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6a90614edd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fda90614f6f565b60405180910390fd5b611fee838383612a3f565b611ff9600082611d66565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120499190614f8f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a091906143b0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612161611015565b6121a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121979061500f565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121e4611a47565b6040516121f19190613b89565b60405180910390a1565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122c9611015565b15612309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123009061507b565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861234d611a47565b60405161235a9190613b89565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ca906150e7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124c49190613a88565b60405180910390a3505050565b6124dc848484611efd565b6124e884848484612a97565b612527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251e90615179565b60405180910390fd5b50505050565b606061253882611cfa565b612577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256e9061520b565b60405180910390fd5b6000600a6000848152602001908152602001600020805461259790614787565b80601f01602080910402602001604051908101604052809291908181526020018280546125c390614787565b80156126105780601f106125e557610100808354040283529160200191612610565b820191906000526020600020905b8154815290600101906020018083116125f357829003601f168201915b505050505090506000612621612c1f565b905060008151141561263757819250505061267a565b60008251111561266c578082604051602001612654929190615267565b6040516020818303038152906040529250505061267a565b61267584612c36565b925050505b919050565b600080600090505b82518110156128ae57600073ffffffffffffffffffffffffffffffffffffffff168382815181106126bb576126ba6146e0565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff16141561271e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612715906152d7565b60405180910390fd5b6000838281518110612733576127326146e0565b5b6020026020010151602001516bffffffffffffffffffffffff16141561278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590615343565b60405180910390fd5b8281815181106127a1576127a06146e0565b5b6020026020010151602001516bffffffffffffffffffffffff16826127c691906143b0565b9150600c60008581526020019081526020016000208382815181106127ee576127ed6146e0565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505080806128a69061470f565b915050612687565b5061271081106128f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ea906153d5565b60405180910390fd5b6128fd8383612cdd565b505050565b61290c8383612d1a565b6129196000848484612a97565b612958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294f90615179565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a2857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a385750612a3782612ee8565b5b9050919050565b612a47611015565b15612a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7e9061507b565b60405180910390fd5b612a92838383612f52565b505050565b6000612ab88473ffffffffffffffffffffffffffffffffffffffff16613066565b15612c12578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ae1611a47565b8786866040518563ffffffff1660e01b8152600401612b03949392919061544a565b6020604051808303816000875af1925050508015612b3f57506040513d601f19601f82011682018060405250810190612b3c91906154ab565b60015b612bc2573d8060008114612b6f576040519150601f19603f3d011682016040523d82523d6000602084013e612b74565b606091505b50600081511415612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb190615179565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c17565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060612c4182611cfa565b612c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c779061554a565b60405180910390fd5b6000612c8a612c1f565b90506000815111612caa5760405180602001604052806000815250612cd5565b80612cb484613079565b604051602001612cc5929190615267565b6040516020818303038152906040525b915050919050565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051612d0e92919061556a565b60405180910390a15050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d81906155e6565b60405180910390fd5b612d9381611cfa565b15612dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dca90615652565b60405180910390fd5b612ddf60008383612a3f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e2f91906143b0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f5d8383836131da565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fa057612f9b816131df565b612fdf565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fde57612fdd8382613228565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130225761301d81613395565b613061565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130605761305f8282613466565b5b5b505050565b600080823b905060008111915050919050565b606060008214156130c1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d5565b600082905060005b600082146130f35780806130dc9061470f565b915050600a826130ec91906156a1565b91506130c9565b60008167ffffffffffffffff81111561310f5761310e6135f0565b5b6040519080825280601f01601f1916602001820160405280156131415781602001600182028036833780820191505090505b5090505b600085146131ce5760018261315a9190614f8f565b9150600a8561316991906156d2565b603061317591906143b0565b60f81b81838151811061318b5761318a6146e0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c791906156a1565b9450613145565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613235846110de565b61323f9190614f8f565b9050600060076000848152602001908152602001600020549050818114613324576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133a99190614f8f565b90506000600960008481526020019081526020016000205490506000600883815481106133d9576133d86146e0565b5b9060005260206000200154905080600883815481106133fb576133fa6146e0565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061344a57613449615703565b5b6001900381819060005260206000200160009055905550505050565b6000613471836110de565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b82805461352f90614787565b90600052602060002090601f0160209004810192826135515760008555613598565b82601f1061356a57805160ff1916838001178555613598565b82800160010185558215613598579182015b8281111561359757825182559160200191906001019061357c565b5b5090506135a591906135a9565b5090565b5b808211156135c25760008160009055506001016135aa565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613628826135df565b810181811067ffffffffffffffff82111715613647576136466135f0565b5b80604052505050565b600061365a6135c6565b9050613666828261361f565b919050565b600067ffffffffffffffff821115613686576136856135f0565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136c78261369c565b9050919050565b6136d7816136bc565b81146136e257600080fd5b50565b6000813590506136f4816136ce565b92915050565b600061370d6137088461366b565b613650565b905080838252602082019050602084028301858111156137305761372f613697565b5b835b81811015613759578061374588826136e5565b845260208401935050602081019050613732565b5050509392505050565b600082601f830112613778576137776135da565b5b81356137888482602086016136fa565b91505092915050565b600067ffffffffffffffff8211156137ac576137ab6135f0565b5b602082029050602081019050919050565b600080fd5b600067ffffffffffffffff8211156137dd576137dc6135f0565b5b6137e6826135df565b9050602081019050919050565b82818337600083830152505050565b6000613815613810846137c2565b613650565b905082815260208101848484011115613831576138306137bd565b5b61383c8482856137f3565b509392505050565b600082601f830112613859576138586135da565b5b8135613869848260208601613802565b91505092915050565b600061388561388084613791565b613650565b905080838252602082019050602084028301858111156138a8576138a7613697565b5b835b818110156138ef57803567ffffffffffffffff8111156138cd576138cc6135da565b5b8086016138da8982613844565b855260208501945050506020810190506138aa565b5050509392505050565b600082601f83011261390e5761390d6135da565b5b813561391e848260208601613872565b91505092915050565b6000819050919050565b61393a81613927565b811461394557600080fd5b50565b60008135905061395781613931565b92915050565b600080600060608486031215613976576139756135d0565b5b600084013567ffffffffffffffff811115613994576139936135d5565b5b6139a086828701613763565b935050602084013567ffffffffffffffff8111156139c1576139c06135d5565b5b6139cd868287016138f9565b92505060406139de86828701613948565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a1d816139e8565b8114613a2857600080fd5b50565b600081359050613a3a81613a14565b92915050565b600060208284031215613a5657613a556135d0565b5b6000613a6484828501613a2b565b91505092915050565b60008115159050919050565b613a8281613a6d565b82525050565b6000602082019050613a9d6000830184613a79565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613add578082015181840152602081019050613ac2565b83811115613aec576000848401525b50505050565b6000613afd82613aa3565b613b078185613aae565b9350613b17818560208601613abf565b613b20816135df565b840191505092915050565b60006020820190508181036000830152613b458184613af2565b905092915050565b600060208284031215613b6357613b626135d0565b5b6000613b7184828501613948565b91505092915050565b613b83816136bc565b82525050565b6000602082019050613b9e6000830184613b7a565b92915050565b613bad81613927565b82525050565b6000602082019050613bc86000830184613ba4565b92915050565b60008060408385031215613be557613be46135d0565b5b6000613bf3858286016136e5565b9250506020613c0485828601613948565b9150509250929050565b600080600060608486031215613c2757613c266135d0565b5b6000613c35868287016136e5565b9350506020613c46868287016136e5565b9250506040613c5786828701613948565b9150509250925092565b600060208284031215613c7757613c766135d0565b5b6000613c85848285016136e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cc381613927565b82525050565b6000613cd58383613cba565b60208301905092915050565b6000602082019050919050565b6000613cf982613c8e565b613d038185613c99565b9350613d0e83613caa565b8060005b83811015613d3f578151613d268882613cc9565b9750613d3183613ce1565b925050600181019050613d12565b5085935050505092915050565b60006020820190508181036000830152613d668184613cee565b905092915050565b613d7781613a6d565b8114613d8257600080fd5b50565b600081359050613d9481613d6e565b92915050565b60008060408385031215613db157613db06135d0565b5b6000613dbf858286016136e5565b9250506020613dd085828601613d85565b9150509250929050565b6000613de58261369c565b9050919050565b613df581613dda565b8114613e0057600080fd5b50565b600081359050613e1281613dec565b92915050565b600060208284031215613e2e57613e2d6135d0565b5b6000613e3c84828501613e03565b91505092915050565b600067ffffffffffffffff821115613e6057613e5f6135f0565b5b613e69826135df565b9050602081019050919050565b6000613e89613e8484613e45565b613650565b905082815260208101848484011115613ea557613ea46137bd565b5b613eb08482856137f3565b509392505050565b600082601f830112613ecd57613ecc6135da565b5b8135613edd848260208601613e76565b91505092915050565b60008060008060808587031215613f0057613eff6135d0565b5b6000613f0e878288016136e5565b9450506020613f1f878288016136e5565b9350506040613f3087828801613948565b925050606085013567ffffffffffffffff811115613f5157613f506135d5565b5b613f5d87828801613eb8565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f9e81613dda565b82525050565b60006bffffffffffffffffffffffff82169050919050565b613fc581613fa4565b82525050565b604082016000820151613fe16000850182613f95565b506020820151613ff46020850182613fbc565b50505050565b60006140068383613fcb565b60408301905092915050565b6000602082019050919050565b600061402a82613f69565b6140348185613f74565b935061403f83613f85565b8060005b838110156140705781516140578882613ffa565b975061406283614012565b925050600181019050614043565b5085935050505092915050565b60006020820190508181036000830152614097818461401f565b905092915050565b600080604083850312156140b6576140b56135d0565b5b60006140c4858286016136e5565b925050602083013567ffffffffffffffff8111156140e5576140e46135d5565b5b6140f185828601613844565b9150509250929050565b61410481613dda565b82525050565b600060208201905061411f60008301846140fb565b92915050565b6000806040838503121561413c5761413b6135d0565b5b600061414a858286016136e5565b925050602061415b858286016136e5565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061419b602083613aae565b91506141a682614165565b602082019050919050565b600060208201905081810360008301526141ca8161418e565b9050919050565b7f546f204164647265737365732043616e74204265206e756c6c2e000000000000600082015250565b6000614207601a83613aae565b9150614212826141d1565b602082019050919050565b60006020820190508181036000830152614236816141fa565b9050919050565b7f546f6b656e20555249732043616e74204265206e756c6c000000000000000000600082015250565b6000614273601783613aae565b915061427e8261423d565b602082019050919050565b600060208201905081810360008301526142a281614266565b9050919050565b7f436f756e742043616e74206265205a65726f0000000000000000000000000000600082015250565b60006142df601283613aae565b91506142ea826142a9565b602082019050919050565b6000602082019050818103600083015261430e816142d2565b9050919050565b7f416c6c20546f6b656e732048617665206265656e206d696e7465642e00000000600082015250565b600061434b601c83613aae565b915061435682614315565b602082019050919050565b6000602082019050818103600083015261437a8161433e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143bb82613927565b91506143c683613927565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143fb576143fa614381565b5b828201905092915050565b7f546f6b656e20636f756e742065786365656473207769746820617661696c616260008201527f6c65204e465427732e0000000000000000000000000000000000000000000000602082015250565b6000614462602983613aae565b915061446d82614406565b604082019050919050565b6000602082019050818103600083015261449181614455565b9050919050565b7f596f752068617665206578636565646564206d6178206d696e7420636f756e7460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006144f4602183613aae565b91506144ff82614498565b604082019050919050565b60006020820190508181036000830152614523816144e7565b9050919050565b7f546f6b656e205552492773202620636f756e7420646f6573206e6f74206d617460008201527f63682e0000000000000000000000000000000000000000000000000000000000602082015250565b6000614586602383613aae565b91506145918261452a565b604082019050919050565b600060208201905081810360008301526145b581614579565b9050919050565b7f757365722061646472657373202620546f6b656e20555249277320636f756e7460008201527f20646f6573206e6f74206d617463682e00000000000000000000000000000000602082015250565b6000614618603083613aae565b9150614623826145bc565b604082019050919050565b600060208201905081810360008301526146478161460b565b9050919050565b7f506c656173652073657420726f796c747920726563656970656e742077616c6c60008201527f6574206164647265737300000000000000000000000000000000000000000000602082015250565b60006146aa602a83613aae565b91506146b58261464e565b604082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061471a82613927565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561474d5761474c614381565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061479f57607f821691505b602082108114156147b3576147b2614758565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614815602c83613aae565b9150614820826147b9565b604082019050919050565b6000602082019050818103600083015261484481614808565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006148a7602183613aae565b91506148b28261484b565b604082019050919050565b600060208201905081810360008301526148d68161489a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614939603883613aae565b9150614944826148dd565b604082019050919050565b600060208201905081810360008301526149688161492c565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149cb603183613aae565b91506149d68261496f565b604082019050919050565b600060208201905081810360008301526149fa816149be565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a5d602b83613aae565b9150614a6882614a01565b604082019050919050565b60006020820190508181036000830152614a8c81614a50565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614aef602c83613aae565b9150614afa82614a93565b604082019050919050565b60006020820190508181036000830152614b1e81614ae2565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b81602983613aae565b9150614b8c82614b25565b604082019050919050565b60006020820190508181036000830152614bb081614b74565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c13602a83613aae565b9150614c1e82614bb7565b604082019050919050565b60006020820190508181036000830152614c4281614c06565b9050919050565b7f546f6b656e205552492043616e74204265206e756c6c2e000000000000000000600082015250565b6000614c7f601783613aae565b9150614c8a82614c49565b602082019050919050565b60006020820190508181036000830152614cae81614c72565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d11602683613aae565b9150614d1c82614cb5565b604082019050919050565b60006020820190508181036000830152614d4081614d04565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614da3602e83613aae565b9150614dae82614d47565b604082019050919050565b60006020820190508181036000830152614dd281614d96565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614e35602c83613aae565b9150614e4082614dd9565b604082019050919050565b60006020820190508181036000830152614e6481614e28565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614ec7602983613aae565b9150614ed282614e6b565b604082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f59602483613aae565b9150614f6482614efd565b604082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b6000614f9a82613927565b9150614fa583613927565b925082821015614fb857614fb7614381565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614ff9601483613aae565b915061500482614fc3565b602082019050919050565b6000602082019050818103600083015261502881614fec565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615065601083613aae565b91506150708261502f565b602082019050919050565b6000602082019050818103600083015261509481615058565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150d1601983613aae565b91506150dc8261509b565b602082019050919050565b60006020820190508181036000830152615100816150c4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615163603283613aae565b915061516e82615107565b604082019050919050565b6000602082019050818103600083015261519281615156565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006151f5603183613aae565b915061520082615199565b604082019050919050565b60006020820190508181036000830152615224816151e8565b9050919050565b600081905092915050565b600061524182613aa3565b61524b818561522b565b935061525b818560208601613abf565b80840191505092915050565b60006152738285615236565b915061527f8284615236565b91508190509392505050565b7f526563697069656e742073686f756c642062652070726573656e740000000000600082015250565b60006152c1601b83613aae565b91506152cc8261528b565b602082019050919050565b600060208201905081810360008301526152f0816152b4565b9050919050565b7f526f79616c74792076616c75652073686f756c6420626520706f736974697665600082015250565b600061532d602083613aae565b9150615338826152f7565b602082019050919050565b6000602082019050818103600083015261535c81615320565b9050919050565b7f526f79616c747920746f74616c2076616c75652073686f756c64206265203c2060008201527f3130303030000000000000000000000000000000000000000000000000000000602082015250565b60006153bf602583613aae565b91506153ca82615363565b604082019050919050565b600060208201905081810360008301526153ee816153b2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061541c826153f5565b6154268185615400565b9350615436818560208601613abf565b61543f816135df565b840191505092915050565b600060808201905061545f6000830187613b7a565b61546c6020830186613b7a565b6154796040830185613ba4565b818103606083015261548b8184615411565b905095945050505050565b6000815190506154a581613a14565b92915050565b6000602082840312156154c1576154c06135d0565b5b60006154cf84828501615496565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615534602f83613aae565b915061553f826154d8565b604082019050919050565b6000602082019050818103600083015261556381615527565b9050919050565b600060408201905061557f6000830185613ba4565b8181036020830152615591818461401f565b90509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006155d0602083613aae565b91506155db8261559a565b602082019050919050565b600060208201905081810360008301526155ff816155c3565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061563c601c83613aae565b915061564782615606565b602082019050919050565b6000602082019050818103600083015261566b8161562f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006156ac82613927565b91506156b783613927565b9250826156c7576156c6615672565b5b828204905092915050565b60006156dd82613927565b91506156e883613927565b9250826156f8576156f7615672565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220e061792dfaeb7f45cdc32c7cc5679682a534caf548c8e91e6e13f80e3fadf16764736f6c634300080b0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001052617265416e64456c697465524154530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085241524552415453000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): RareAndEliteRATS
Arg [1] : _symbol (string): RARERATS

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 52617265416e64456c6974655241545300000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 5241524552415453000000000000000000000000000000000000000000000000


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.