Token Unioverse Collectibles

NFT  
 

Overview ERC-721

Total Supply:
1,005,313 UNIOC

Holders:
105,335 addresses
 
Filtered by Token Holder (Unioverse: UNIOC Token)

Balance
1 UNIOC
0xed55e4477b795eaa9bb4bca24df42214e1a05c18
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Unioverse Collectibles equip our community with royalty-free art, assets and tools to expand the Unioverse with their own epic adventures, games, comics, and artwork .


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

Contract Source Code Verified (Exact Match)

Contract Name:
RGCTU

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : 721_Tradeup_MKIX.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "./openzeppelin-contracts/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "./openzeppelin-contracts/contracts/access/Ownable.sol";
import "./openzeppelin-contracts/contracts/utils/Counters.sol";
import "./openzeppelin-contracts/contracts/security/ReentrancyGuard.sol";
import "./openzeppelin-contracts/contracts/utils/Strings.sol";
import "./openzeppelin-contracts/contracts/interfaces/IERC2981.sol";

import "./rarible/royalties/contracts/RoyaltiesV2.sol";
import "./rarible/royalties/contracts/LibPart.sol";
import "./rarible/royalties/contracts/LibRoyaltiesV2.sol";

import "./rgc_shared_props.sol";
import "./filter/ERC721OperatorFilter_MKV.sol";

//abstracts
abstract contract ContextMixin
{
    function msgSender() internal view returns (address payable sender)
    {
        if (msg.sender == address(this))
        {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly
            {
            // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(mload(add(array, index)),0xffffffffffffffffffffffffffffffffffffffff)
            }
        }
        else
        {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

contract RGCTU is ERC721URIStorage, Ownable, ReentrancyGuard, IERC2981, ContextMixin, RoyaltiesV2, RGCDelegate, ERC721OperatorFilterV2
{
    using Strings for *;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;
    mapping(uint256 => uint256) public _type;
    mapping(uint256 => string) public _uid;

    string constant collectionName = "Unioverse Collectibles";
    string constant collectionNameUriEncoded = "Unioverse%20Collectibles";
    string constant collectionSymbol = "UNIOC";
    string private baseURI = "https://unft-metadata.rgc-external-stage.unioverse.com/getMetadataForCollectionAndTokenV3/";

    address private royaltyReceiver = 0x65FBf2F9Cd7A7889507D9fAb72cae8bfe3604A95;
    uint256 private royaltySize = 1000;

    address public signingAddress = 0xC8f59c386ef75132C00955c5AD22dA9A09F2021B;

    mapping (uint256 => LibPart.Part[]) public royalties;

    constructor() ERC721(collectionName, collectionSymbol)
    {
        LibPart.Part[] memory _royalties = new LibPart.Part[](1);
        _royalties[0].value = uint96(royaltySize);
        _royalties[0].account = payable(royaltyReceiver);
        royalties[0].push(_royalties[0]);
    }

    function tokenURI(uint tokenId) public view virtual override returns (string memory)
    {
        return string(abi.encodePacked(baseURI, collectionNameUriEncoded, "/", _uid[tokenId]));
    }

    function totalSupply() external view returns (uint256)
    {
        return _tokenIdCounter.current();
    }

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

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount)
    {
        return (royaltyReceiver, (_salePrice * royaltySize) / 10000);
    }

    function setRoyaltySize(uint256 _royaltySize) external onlyOwner
    {
        royaltySize = _royaltySize;

        LibPart.Part[] memory _royalties = new LibPart.Part[](1);
        _royalties[0].value = uint96(royaltySize);
        _royalties[0].account = payable(royaltyReceiver);

        royalties[0].push(_royalties[0]);
    }
    function setRoyaltyReceiver(address _royaltyReceiver) external onlyOwner
    {
        royaltyReceiver = _royaltyReceiver;
    }

    function setSigningAddress(address _address) external onlyOwner
    {
        signingAddress = _address;
    }

    function setDelegate(address delegate) external onlyOwner
    {
        _delegate0 = delegate;
    }
    modifier delegateOnly() override
    {
        require(msg.sender == _delegate0, 'Only Delegated wallet is allowed to do that');
        _;
    }

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

        if(interfaceId == type(IERC2981).interfaceId)
        {
            return true;
        }

        return super.supportsInterface(interfaceId);
    }

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

    function unioTransfer(
        address from,
        address to,
        uint256 tokenId,
        address _signer,
        string memory _base,
        string memory _nonce,
        bytes memory signature
    ) external nonReentrant()
    {
        require(_signer == signingAddress);
        _forceTransfer(from, to, tokenId, _signer, _base, _nonce, signature);
    }

    function mintToIndividual(uint8 _numTokens,address _address, uint256 _tokenType, string[] calldata uid) external delegateOnly
    {
        for (uint256 i = 0; i < _numTokens; i++)
        {
            _tokenIdCounter.increment();
            uint256 currentID = _tokenIdCounter.current();
            _safeMint(_address, currentID);
            _uid[currentID] = uid[i];
            _type[currentID] = _tokenType;
        }
    }

    function mintToBulk(address[] calldata _address, uint256[] calldata _tokenType, string[] calldata uid) external delegateOnly
    {
        for (uint256 i = 0; i < _address.length; i++)
        {
            _tokenIdCounter.increment();
            uint256 currentID = _tokenIdCounter.current();
            _safeMint(_address[i], currentID);
            _uid[currentID] = uid[i];
            _type[currentID] = _tokenType[i];
        }
    }

    function _msgSender() internal override view returns (address sender)
    {
        return ContextMixin.msgSender();
    }

    function setBaseURI(string memory URI) external onlyOwner
    {
        baseURI = URI;
    }

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

}

File 2 of 21 : rgc_shared_props.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract RGCDelegate
{
    address public _delegate0 = 0x7284827C5dcF145d9A6F4AE537F157E8e6ee7FC5;
}

File 3 of 21 : ERC721OperatorFilter_MKV.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "../openzeppelin-contracts/contracts/access/Ownable.sol";
import "../openzeppelin-contracts/contracts/token/ERC721/extensions/ERC721URIStorage.sol";

import "../rgc_shared_props.sol";

import "./IOperatorFilter_MKII.sol";

abstract contract ERC721OperatorFilterV2 is ERC721URIStorage, Ownable, RGCDelegate
{
    /*
        _state variable to check what mode the contract should be in.
        1 blockedList
        2 allowList
        Any other number = turns off functionality.
    */
    uint256 public _state = 1;
    bool public _tradable = false;

    modifier delegateOnly() virtual
    {
        require(msg.sender == _delegate0, 'Only Delegated wallet is allowed to do that');
        _;
    }

    IOperatorFilterV2 private operatorFilter_;

    function setOperatorFilter(IOperatorFilterV2 filter) public delegateOnly
    {
        operatorFilter_ = filter;
    }

    function operatorFilter() public view returns (IOperatorFilterV2)
    {
        return operatorFilter_;
    }

    function setState(uint256 state) external delegateOnly
    {
        _state = state;
    }

    function setTradable(bool tradable) external delegateOnly
    {
        _tradable = tradable;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721) {
        if (
            from != address(0) &&
            to != address(0) &&
            !_mayTransfer(msg.sender, tokenId)
        ) {
            revert("ERC721OperatorFilter: illegal operator");
        }
        super._beforeTokenTransfer(from, to, tokenId);
    }

    /*
        _mayTransfer
        If the contract is "not tradable" whilst the filter is on, the error that is returned will
        be the "ERC721OperatorFilter: illegal operator" error.
    */

    function _mayTransfer(address operator, uint256 tokenId)
    private
    view
    returns (bool)
    {
        if(_state == 1){

            IOperatorFilterV2 filter = operatorFilter_;
            if (address(filter) == address(0)) return true;
            if (_tradable == true){
                if (operator == ownerOf(tokenId)) return true;
            }
            return filter.mayTransfer(msg.sender);

        } else if(_state == 2){

            IOperatorFilterV2 filter = operatorFilter_;
            if (address(filter) == address(0)) return true;
            if (_tradable == true){
                if (operator == ownerOf(tokenId)) return true;
            }
            return filter.mayNotTransfer(msg.sender);
        }
        require(_tradable,'Not currently tradable');
        return true;

    }

}

File 4 of 21 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 21 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

File 6 of 21 : LibPart.sol
// SPDX-License-Identifier: MIT

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;
    }
}

File 7 of 21 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 8 of 21 : Counters.sol
// SPDX-License-Identifier: MIT
// 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 9 of 21 : RoyaltiesV2.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./LibPart.sol";

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 11 of 21 : LibRoyaltiesV2.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

library LibRoyaltiesV2 {
    /*
    * bytes4(keccak256('getRoyalties(LibAsset.AssetType)')) == 0x44c74bcc
    */
    bytes4 constant _INTERFACE_ID_ROYALTIES = 0x44c74bcc;
}

File 12 of 21 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @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) {
        _requireMinted(tokenId);

        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 See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

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

File 13 of 21 : IOperatorFilter_MKII.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IOperatorFilterV2 {
    function mayTransfer(address operator) external view returns (bool);
    function mayNotTransfer(address operator) external view returns (bool);
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    event ForceTransfer(address indexed _from, address indexed _to, uint256 indexed _id);

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /** 
        ======================RGCTU====================
        Mapping _nonces
            keeps a record of all the nonces used for transactions. 
        _forceTransfer
            Internal replication of _transfer with added variables used to authenticate that the message 
            has been signed correctly
        getMessageHash
            This can be used to create the message has that the contract will use, it can also be done with 
            web3.js
        getEthSignedMessageHash
            This returns what the message should look like after it's signed.
        verify
            Check if the signer is the the same as the contract _signer that's noted in the external function forcetransefer()
        recoverSigner
            Recovers the original signing address
        splitSignature
            Splits the signature in a way that's usable by ecrecover.
        ===================================================
    **/

    mapping(string => bool) private _nonces;

    function _forceTransfer(
        address from,
        address to,
        uint256 tokenId,
        address _signer,
        string memory _base,
        string memory _nonce,
        bytes memory signature
    ) internal virtual {

        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        verify(from,to,tokenId,_signer,_base,_nonce,signature);

        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        require(!_nonces[_nonce], "Nonce used in the past");

        _nonces[_nonce] = true;

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

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

        emit Transfer(from, to, tokenId);
        emit ForceTransfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    function getMessageHash(
        address _from,
        address _to,
        uint256 _tokenId,
        string memory _base,
        string memory _nonce
    ) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(_from, _to, _tokenId, _base, _nonce));
    }

    function getEthSignedMessageHash(bytes32 _messageHash)
    public
    pure
    returns (bytes32)
    {
        return
        keccak256(
            abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash)
        );
    }

    function verify(
        address _from,
        address _to,
        uint256 _tokenId,
        address _signer,
        string memory _base,
        string memory _nonce,
        bytes memory signature
    ) internal pure returns (bool) {
        bytes32 messageHash = getMessageHash(_from, _to, _tokenId, _base, _nonce);
        bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash);

        return recoverSigner(ethSignedMessageHash, signature) == _signer;
    }

    function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature)
    public
    pure
    returns (address)
    {
        (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature);

        return ecrecover(_ethSignedMessageHash, v, r, s);
    }

    function splitSignature(bytes memory sig)
    public
    pure
    returns (
        bytes32 r,
        bytes32 s,
        uint8 v
    )
    {
        require(sig.length == 65, "invalid signature length");

        assembly {
            r := mload(add(sig, 32))
            s := mload(add(sig, 64))
            v := byte(0, mload(add(sig, 96)))
        }

    }

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

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

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

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

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

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

File 16 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 17 of 21 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"ForceTransfer","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":"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"},{"inputs":[],"name":"_delegate0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_state","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tradable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_type","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_uid","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageHash","type":"bytes32"}],"name":"getEthSignedMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_base","type":"string"},{"internalType":"string","name":"_nonce","type":"string"}],"name":"getMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint256[]","name":"_tokenType","type":"uint256[]"},{"internalType":"string[]","name":"uid","type":"string[]"}],"name":"mintToBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_numTokens","type":"uint8"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_tokenType","type":"uint256"},{"internalType":"string[]","name":"uid","type":"string[]"}],"name":"mintToIndividual","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilter","outputs":[{"internalType":"contract IOperatorFilterV2","name":"","type":"address"}],"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":[{"internalType":"bytes32","name":"_ethSignedMessageHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"royalties","outputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IOperatorFilterV2","name":"filter","type":"address"}],"name":"setOperatorFilter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltySize","type":"uint256"}],"name":"setRoyaltySize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setSigningAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"state","type":"uint256"}],"name":"setState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"tradable","type":"bool"}],"name":"setTradable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"splitSignature","outputs":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"stateMutability":"pure","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"string","name":"_base","type":"string"},{"internalType":"string","name":"_nonce","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"unioTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052737284827c5dcf145d9a6f4ae537f157e8e6ee7fc5600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600b556000600c60006101000a81548160ff0219169083151502179055506040518060800160405280605a815260200162005f02605a913960109081620000a3919062000866565b507365fbf2f9cd7a7889507d9fab72cae8bfe3604a95601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e860125573c8f59c386ef75132c00955c5ad22da9a09f2021b601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200016157600080fd5b506040518060400160405280601681526020017f556e696f766572736520436f6c6c65637469626c6573000000000000000000008152506040518060400160405280600581526020017f554e494f430000000000000000000000000000000000000000000000000000008152508160009081620001df919062000866565b508060019081620001f1919062000866565b50505062000214620002086200041a60201b60201c565b6200043660201b60201c565b60016009819055506000600167ffffffffffffffff8111156200023c576200023b620005f7565b5b6040519080825280602002602001820160405280156200027957816020015b62000265620005ae565b8152602001906001900390816200025b5790505b509050601254816000815181106200029657620002956200094d565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff1681525050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600081518110620002fe57620002fd6200094d565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060146000808152602001908152602001600020816000815181106200036657620003656200094d565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050506200097c565b600062000431620004fc60201b62001c9a1760201c565b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603620005a757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620005ab565b3390505b90565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200066e57607f821691505b60208210810362000684576200068362000626565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006ee7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006af565b620006fa8683620006af565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000747620007416200073b8462000712565b6200071c565b62000712565b9050919050565b6000819050919050565b620007638362000726565b6200077b62000772826200074e565b848454620006bc565b825550505050565b600090565b6200079262000783565b6200079f81848462000758565b505050565b5b81811015620007c757620007bb60008262000788565b600181019050620007a5565b5050565b601f8211156200081657620007e0816200068a565b620007eb846200069f565b81016020851015620007fb578190505b620008136200080a856200069f565b830182620007a4565b50505b505050565b600082821c905092915050565b60006200083b600019846008026200081b565b1980831691505092915050565b600062000856838362000828565b9150826002028217905092915050565b6200087182620005ec565b67ffffffffffffffff8111156200088d576200088c620005f7565b5b62000899825462000655565b620008a6828285620007cb565b600060209050601f831160018114620008de5760008415620008c9578287015190505b620008d5858262000848565b86555062000945565b601f198416620008ee866200068a565b60005b828110156200091857848901518255600182019150602085019450602081019050620008f1565b8683101562000938578489015162000934601f89168262000828565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b615576806200098c6000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80638924af7411610146578063b3e82dc9116100c3578063d4e000ca11610087578063d4e000ca1461075b578063d783925b14610777578063e4baa6b614610793578063e985e9c5146107af578063f2fde38b146107df578063fa540801146107fb5761025e565b8063b3e82dc9146106a5578063b88d4fde146106c3578063c87b56dd146106df578063ca5eb5e11461070f578063cad96cca1461072b5761025e565b8063a1cb31b71161010a578063a1cb31b7146105ff578063a22cb4651461061d578063a7bb580314610639578063a83a90b81461066b578063a9e966b7146106895761025e565b80638924af74146105465780638da5cb5b146105775780638dc251e31461059557806395d89b41146105b157806397aba7f9146105cf5761025e565b80633d5bb3f3116101df5780636352211e116101a35780636352211e14610486578063689843e0146104b657806370a08231146104d4578063715018a6146105045780637990db111461050e5780637cd505771461052a5761025e565b80633d5bb3f3146103d057806342842e0e14610400578063450ca4a21461041c5780634d7b878f1461044c57806355f804b31461046a5761025e565b80631c450560116102265780631c4505601461031b57806323b872dd1461034b5780632a55205a146103675780633006a33d1461039857806331beb605146103b45761025e565b806301ffc9a71461026357806306fdde0314610293578063081812fc146102b1578063095ea7b3146102e157806318160ddd146102fd575b600080fd5b61027d600480360381019061027891906132f0565b61082b565b60405161028a9190613338565b60405180910390f35b61029b610901565b6040516102a891906133e3565b60405180910390f35b6102cb60048036038101906102c6919061343b565b610993565b6040516102d891906134a9565b60405180910390f35b6102fb60048036038101906102f691906134f0565b6109d9565b005b610305610af0565b604051610312919061353f565b60405180910390f35b6103356004803603810190610330919061343b565b610b01565b604051610342919061353f565b60405180910390f35b6103656004803603810190610360919061355a565b610b19565b005b610381600480360381019061037c91906135ad565b610b79565b60405161038f9291906135ed565b60405180910390f35b6103b260048036038101906103ad91906136b4565b610bc5565b005b6103ce60048036038101906103c9919061373c565b610cff565b005b6103ea60048036038101906103e59190613899565b610d4b565b6040516103f79190613965565b60405180910390f35b61041a6004803603810190610415919061355a565b610d87565b005b6104366004803603810190610431919061343b565b610da7565b60405161044391906133e3565b60405180910390f35b610454610e47565b6040516104619190613338565b60405180910390f35b610484600480360381019061047f9190613980565b610e5a565b005b6104a0600480360381019061049b919061343b565b610e75565b6040516104ad91906134a9565b60405180910390f35b6104be610f26565b6040516104cb9190613a28565b60405180910390f35b6104ee60048036038101906104e9919061373c565b610f50565b6040516104fb919061353f565b60405180910390f35b61050c611007565b005b61052860048036038101906105239190613ae4565b61101b565b005b610544600480360381019061053f9190613c06565b6110e2565b005b610560600480360381019061055b91906135ad565b61118f565b60405161056e929190613c7b565b60405180910390f35b61057f611204565b60405161058c91906134a9565b60405180910390f35b6105af60048036038101906105aa919061373c565b61122e565b005b6105b961127a565b6040516105c691906133e3565b60405180910390f35b6105e960048036038101906105e49190613cd0565b61130c565b6040516105f691906134a9565b60405180910390f35b61060761137b565b604051610614919061353f565b60405180910390f35b61063760048036038101906106329190613d2c565b611381565b005b610653600480360381019061064e9190613d6c565b611397565b60405161066293929190613dc4565b60405180910390f35b6106736113ff565b60405161068091906134a9565b60405180910390f35b6106a3600480360381019061069e919061343b565b611425565b005b6106ad6114bf565b6040516106ba91906134a9565b60405180910390f35b6106dd60048036038101906106d89190613dfb565b6114e5565b005b6106f960048036038101906106f4919061343b565b611547565b60405161070691906133e3565b60405180910390f35b6107296004803603810190610724919061373c565b6115bc565b005b6107456004803603810190610740919061343b565b611608565b6040516107529190613f7a565b60405180910390f35b6107756004803603810190610770919061343b565b61170a565b005b610791600480360381019061078c9190613fda565b611904565b005b6107ad60048036038101906107a891906140b3565b6119d8565b005b6107c960048036038101906107c49190614167565b611b53565b6040516107d69190613338565b60405180910390f35b6107f960048036038101906107f4919061373c565b611be7565b005b610815600480360381019061081091906141a7565b611c6a565b6040516108229190613965565b60405180910390f35b60006344c74bcc60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19160361088257600190506108fc565b7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036108f057600190506108fc565b6108f982611d4a565b90505b919050565b60606000805461091090614203565b80601f016020809104026020016040519081016040528092919081815260200182805461093c90614203565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b5050505050905090565b600061099e82611e2c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e482610e75565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b906142a6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a73611e77565b73ffffffffffffffffffffffffffffffffffffffff161480610aa25750610aa181610a9c611e77565b611b53565b5b610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad890614338565b60405180910390fd5b610aeb8383611e86565b505050565b6000610afc600d611f3f565b905090565b600e6020528060005260406000206000915090505481565b610b2a610b24611e77565b82611f4d565b610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b60906143ca565b60405180910390fd5b610b74838383611fe2565b505050565b600080601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271060125485610bb09190614419565b610bba919061448a565b915091509250929050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c9061452d565b60405180910390fd5b60005b8560ff16811015610cf757610c6d600d612248565b6000610c79600d611f3f565b9050610c85868261225e565b838383818110610c9857610c9761454d565b5b9050602002810190610caa919061458b565b600f60008481526020019081526020016000209182610cca92919061479b565b5084600e600083815260200190815260200160002081905550508080610cef9061486b565b915050610c58565b505050505050565b610d0761227c565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008585858585604051602001610d66959493929190614958565b60405160208183030381529060405280519060200120905095945050505050565b610da2838383604051806020016040528060008152506114e5565b505050565b600f6020528060005260406000206000915090508054610dc690614203565b80601f0160208091040260200160405190810160405280929190818152602001828054610df290614203565b8015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b505050505081565b600c60009054906101000a900460ff1681565b610e6261227c565b8060109081610e7191906149af565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490614acd565b60405180910390fd5b80915050919050565b6000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790614b5f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61100f61227c565b61101960006122fa565b565b600260095403611060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105790614bcb565b60405180910390fd5b6002600981905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146110c257600080fd5b6110d1878787878787876123c0565b600160098190555050505050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111699061452d565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b601460205281600052604060002081815481106111ab57600080fd5b90600052602060002001600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a90046bffffffffffffffffffffffff16905082565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61123661227c565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606001805461128990614203565b80601f01602080910402602001604051908101604052809291908181526020018280546112b590614203565b80156113025780601f106112d757610100808354040283529160200191611302565b820191906000526020600020905b8154815290600101906020018083116112e557829003601f168201915b5050505050905090565b60008060008061131b85611397565b925092509250600186828585604051600081526020016040526040516113449493929190614beb565b6020604051602081039080840390855afa158015611366573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600b5481565b61139361138c611e77565b838361277d565b5050565b600080600060418451146113e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d790614c7c565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac9061452d565b60405180910390fd5b80600b8190555050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114f66114f0611e77565b83611f4d565b611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c906143ca565b60405180910390fd5b611541848484846128e9565b50505050565b606060106040518060400160405280601881526020017f556e696f7665727365253230436f6c6c65637469626c65730000000000000000815250600f60008581526020019081526020016000206040516020016115a693929190614d6b565b6040516020818303038152906040529050919050565b6115c461227c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060146000808152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156116ff578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250508152602001906001019061163d565b505050509050919050565b61171261227c565b806012819055506000600167ffffffffffffffff8111156117365761173561376e565b5b60405190808252806020026020018201604052801561176f57816020015b61175c613246565b8152602001906001900390816117545790505b509050601254816000815181106117895761178861454d565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff1681525050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106117ee576117ed61454d565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060146000808152602001908152602001600020816000815181106118535761185261454d565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198b9061452d565b60405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f9061452d565b60405180910390fd5b60005b86869050811015611b4a57611a80600d612248565b6000611a8c600d611f3f565b9050611abf888884818110611aa457611aa361454d565b5b9050602002016020810190611ab9919061373c565b8261225e565b838383818110611ad257611ad161454d565b5b9050602002810190611ae4919061458b565b600f60008481526020019081526020016000209182611b0492919061479b565b50858583818110611b1857611b1761454d565b5b90506020020135600e600083815260200190815260200160002081905550508080611b429061486b565b915050611a6b565b50505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bef61227c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5590614e19565b60405180910390fd5b611c67816122fa565b50565b600081604051602001611c7d9190614ea6565b604051602081830303815290604052805190602001209050919050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603611d4357600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611d47565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e255750611e2482612945565b5b9050919050565b611e35816129af565b611e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6b90614acd565b60405180910390fd5b50565b6000611e81611c9a565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ef983610e75565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080611f5983610e75565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9b5750611f9a8185611b53565b5b80611fd957508373ffffffffffffffffffffffffffffffffffffffff16611fc184610993565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661200282610e75565b73ffffffffffffffffffffffffffffffffffffffff1614612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204f90614f3e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be90614fd0565b60405180910390fd5b6120d2838383612a1b565b6120dd600082611e86565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461212d9190614ff0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121849190615024565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612243838383612a2b565b505050565b6001816000016000828254019250508190555050565b612278828260405180602001604052806000815250612a30565b5050565b612284611e77565b73ffffffffffffffffffffffffffffffffffffffff166122a2611204565b73ffffffffffffffffffffffffffffffffffffffff16146122f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ef906150a4565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123d16123cb611e77565b86611f4d565b612410576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612407906143ca565b60405180910390fd5b61241f87878787878787612a8b565b508673ffffffffffffffffffffffffffffffffffffffff1661244086610e75565b73ffffffffffffffffffffffffffffffffffffffff1614612496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248d90614f3e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1603612505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fc90614fd0565b60405180910390fd5b60068260405161251591906150c4565b908152602001604051809103902060009054906101000a900460ff1615612571576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256890615127565b60405180910390fd5b600160068360405161258391906150c4565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506125b3600086611e86565b6001600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126039190614ff0565b925050819055506001600360008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461265a9190615024565b92505081905550856002600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fc05c33099d205635ae8e44a7f065878b3f249efeb4edf562d095e2a091da6aa060405160405180910390a4612774878787612a2b565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e290615193565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128dc9190613338565b60405180910390a3505050565b6128f4848484611fe2565b61290084848484612af1565b61293f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293690615225565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612a26838383612c78565b505050565b505050565b612a3a8383612d45565b612a476000848484612af1565b612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d90615225565b60405180910390fd5b505050565b600080612a9b8989898888610d4b565b90506000612aa882611c6a565b90508673ffffffffffffffffffffffffffffffffffffffff16612acb828661130c565b73ffffffffffffffffffffffffffffffffffffffff161492505050979650505050505050565b6000612b128473ffffffffffffffffffffffffffffffffffffffff16612f1e565b15612c6b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b3b611e77565b8786866040518563ffffffff1660e01b8152600401612b5d949392919061529a565b6020604051808303816000875af1925050508015612b9957506040513d601f19601f82011682018060405250810190612b9691906152fb565b60015b612c1b573d8060008114612bc9576040519150601f19603f3d011682016040523d82523d6000602084013e612bce565b606091505b506000815103612c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a90615225565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c70565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612ce25750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612cf55750612cf33382612f41565b155b15612d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2c9061539a565b60405180910390fd5b612d40838383613241565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dab90615406565b60405180910390fd5b612dbd816129af565b15612dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df490615472565b60405180910390fd5b612e0960008383612a1b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e599190615024565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f1a60008383612a2b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006001600b5403613095576000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612fb257600191505061323b565b60011515600c60009054906101000a900460ff1615150361301357612fd683610e75565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361301257600191505061323b565b5b8073ffffffffffffffffffffffffffffffffffffffff1663192c596e336040518263ffffffff1660e01b815260040161304c91906134a9565b602060405180830381865afa158015613069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308d91906154a7565b91505061323b565b6002600b54036131e7576000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361310457600191505061323b565b60011515600c60009054906101000a900460ff161515036131655761312883610e75565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361316457600191505061323b565b5b8073ffffffffffffffffffffffffffffffffffffffff1663879436bf336040518263ffffffff1660e01b815260040161319e91906134a9565b602060405180830381865afa1580156131bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131df91906154a7565b91505061323b565b600c60009054906101000a900460ff16613236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322d90615520565b60405180910390fd5b600190505b92915050565b505050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132cd81613298565b81146132d857600080fd5b50565b6000813590506132ea816132c4565b92915050565b6000602082840312156133065761330561328e565b5b6000613314848285016132db565b91505092915050565b60008115159050919050565b6133328161331d565b82525050565b600060208201905061334d6000830184613329565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561338d578082015181840152602081019050613372565b60008484015250505050565b6000601f19601f8301169050919050565b60006133b582613353565b6133bf818561335e565b93506133cf81856020860161336f565b6133d881613399565b840191505092915050565b600060208201905081810360008301526133fd81846133aa565b905092915050565b6000819050919050565b61341881613405565b811461342357600080fd5b50565b6000813590506134358161340f565b92915050565b6000602082840312156134515761345061328e565b5b600061345f84828501613426565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061349382613468565b9050919050565b6134a381613488565b82525050565b60006020820190506134be600083018461349a565b92915050565b6134cd81613488565b81146134d857600080fd5b50565b6000813590506134ea816134c4565b92915050565b600080604083850312156135075761350661328e565b5b6000613515858286016134db565b925050602061352685828601613426565b9150509250929050565b61353981613405565b82525050565b60006020820190506135546000830184613530565b92915050565b6000806000606084860312156135735761357261328e565b5b6000613581868287016134db565b9350506020613592868287016134db565b92505060406135a386828701613426565b9150509250925092565b600080604083850312156135c4576135c361328e565b5b60006135d285828601613426565b92505060206135e385828601613426565b9150509250929050565b6000604082019050613602600083018561349a565b61360f6020830184613530565b9392505050565b600060ff82169050919050565b61362c81613616565b811461363757600080fd5b50565b60008135905061364981613623565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126136745761367361364f565b5b8235905067ffffffffffffffff81111561369157613690613654565b5b6020830191508360208202830111156136ad576136ac613659565b5b9250929050565b6000806000806000608086880312156136d0576136cf61328e565b5b60006136de8882890161363a565b95505060206136ef888289016134db565b945050604061370088828901613426565b935050606086013567ffffffffffffffff81111561372157613720613293565b5b61372d8882890161365e565b92509250509295509295909350565b6000602082840312156137525761375161328e565b5b6000613760848285016134db565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137a682613399565b810181811067ffffffffffffffff821117156137c5576137c461376e565b5b80604052505050565b60006137d8613284565b90506137e4828261379d565b919050565b600067ffffffffffffffff8211156138045761380361376e565b5b61380d82613399565b9050602081019050919050565b82818337600083830152505050565b600061383c613837846137e9565b6137ce565b90508281526020810184848401111561385857613857613769565b5b61386384828561381a565b509392505050565b600082601f8301126138805761387f61364f565b5b8135613890848260208601613829565b91505092915050565b600080600080600060a086880312156138b5576138b461328e565b5b60006138c3888289016134db565b95505060206138d4888289016134db565b94505060406138e588828901613426565b935050606086013567ffffffffffffffff81111561390657613905613293565b5b6139128882890161386b565b925050608086013567ffffffffffffffff81111561393357613932613293565b5b61393f8882890161386b565b9150509295509295909350565b6000819050919050565b61395f8161394c565b82525050565b600060208201905061397a6000830184613956565b92915050565b6000602082840312156139965761399561328e565b5b600082013567ffffffffffffffff8111156139b4576139b3613293565b5b6139c08482850161386b565b91505092915050565b6000819050919050565b60006139ee6139e96139e484613468565b6139c9565b613468565b9050919050565b6000613a00826139d3565b9050919050565b6000613a12826139f5565b9050919050565b613a2281613a07565b82525050565b6000602082019050613a3d6000830184613a19565b92915050565b600067ffffffffffffffff821115613a5e57613a5d61376e565b5b613a6782613399565b9050602081019050919050565b6000613a87613a8284613a43565b6137ce565b905082815260208101848484011115613aa357613aa2613769565b5b613aae84828561381a565b509392505050565b600082601f830112613acb57613aca61364f565b5b8135613adb848260208601613a74565b91505092915050565b600080600080600080600060e0888a031215613b0357613b0261328e565b5b6000613b118a828b016134db565b9750506020613b228a828b016134db565b9650506040613b338a828b01613426565b9550506060613b448a828b016134db565b945050608088013567ffffffffffffffff811115613b6557613b64613293565b5b613b718a828b0161386b565b93505060a088013567ffffffffffffffff811115613b9257613b91613293565b5b613b9e8a828b0161386b565b92505060c088013567ffffffffffffffff811115613bbf57613bbe613293565b5b613bcb8a828b01613ab6565b91505092959891949750929550565b613be38161331d565b8114613bee57600080fd5b50565b600081359050613c0081613bda565b92915050565b600060208284031215613c1c57613c1b61328e565b5b6000613c2a84828501613bf1565b91505092915050565b6000613c3e82613468565b9050919050565b613c4e81613c33565b82525050565b60006bffffffffffffffffffffffff82169050919050565b613c7581613c54565b82525050565b6000604082019050613c906000830185613c45565b613c9d6020830184613c6c565b9392505050565b613cad8161394c565b8114613cb857600080fd5b50565b600081359050613cca81613ca4565b92915050565b60008060408385031215613ce757613ce661328e565b5b6000613cf585828601613cbb565b925050602083013567ffffffffffffffff811115613d1657613d15613293565b5b613d2285828601613ab6565b9150509250929050565b60008060408385031215613d4357613d4261328e565b5b6000613d51858286016134db565b9250506020613d6285828601613bf1565b9150509250929050565b600060208284031215613d8257613d8161328e565b5b600082013567ffffffffffffffff811115613da057613d9f613293565b5b613dac84828501613ab6565b91505092915050565b613dbe81613616565b82525050565b6000606082019050613dd96000830186613956565b613de66020830185613956565b613df36040830184613db5565b949350505050565b60008060008060808587031215613e1557613e1461328e565b5b6000613e23878288016134db565b9450506020613e34878288016134db565b9350506040613e4587828801613426565b925050606085013567ffffffffffffffff811115613e6657613e65613293565b5b613e7287828801613ab6565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613eb381613c33565b82525050565b613ec281613c54565b82525050565b604082016000820151613ede6000850182613eaa565b506020820151613ef16020850182613eb9565b50505050565b6000613f038383613ec8565b60408301905092915050565b6000602082019050919050565b6000613f2782613e7e565b613f318185613e89565b9350613f3c83613e9a565b8060005b83811015613f6d578151613f548882613ef7565b9750613f5f83613f0f565b925050600181019050613f40565b5085935050505092915050565b60006020820190508181036000830152613f948184613f1c565b905092915050565b6000613fa782613488565b9050919050565b613fb781613f9c565b8114613fc257600080fd5b50565b600081359050613fd481613fae565b92915050565b600060208284031215613ff057613fef61328e565b5b6000613ffe84828501613fc5565b91505092915050565b60008083601f84011261401d5761401c61364f565b5b8235905067ffffffffffffffff81111561403a57614039613654565b5b60208301915083602082028301111561405657614055613659565b5b9250929050565b60008083601f8401126140735761407261364f565b5b8235905067ffffffffffffffff8111156140905761408f613654565b5b6020830191508360208202830111156140ac576140ab613659565b5b9250929050565b600080600080600080606087890312156140d0576140cf61328e565b5b600087013567ffffffffffffffff8111156140ee576140ed613293565b5b6140fa89828a01614007565b9650965050602087013567ffffffffffffffff81111561411d5761411c613293565b5b61412989828a0161405d565b9450945050604087013567ffffffffffffffff81111561414c5761414b613293565b5b61415889828a0161365e565b92509250509295509295509295565b6000806040838503121561417e5761417d61328e565b5b600061418c858286016134db565b925050602061419d858286016134db565b9150509250929050565b6000602082840312156141bd576141bc61328e565b5b60006141cb84828501613cbb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421b57607f821691505b60208210810361422e5761422d6141d4565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061429060218361335e565b915061429b82614234565b604082019050919050565b600060208201905081810360008301526142bf81614283565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614322603e8361335e565b915061432d826142c6565b604082019050919050565b6000602082019050818103600083015261435181614315565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006143b4602e8361335e565b91506143bf82614358565b604082019050919050565b600060208201905081810360008301526143e3816143a7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061442482613405565b915061442f83613405565b925082820261443d81613405565b91508282048414831517614454576144536143ea565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061449582613405565b91506144a083613405565b9250826144b0576144af61445b565b5b828204905092915050565b7f4f6e6c792044656c6567617465642077616c6c657420697320616c6c6f77656460008201527f20746f20646f2074686174000000000000000000000000000000000000000000602082015250565b6000614517602b8361335e565b9150614522826144bb565b604082019050919050565b600060208201905081810360008301526145468161450a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126145a8576145a761457c565b5b80840192508235915067ffffffffffffffff8211156145ca576145c9614581565b5b6020830192506001820236038313156145e6576145e5614586565b5b509250929050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261465b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261461e565b614665868361461e565b95508019841693508086168417925050509392505050565b600061469861469361468e84613405565b6139c9565b613405565b9050919050565b6000819050919050565b6146b28361467d565b6146c66146be8261469f565b84845461462b565b825550505050565b600090565b6146db6146ce565b6146e68184846146a9565b505050565b5b8181101561470a576146ff6000826146d3565b6001810190506146ec565b5050565b601f82111561474f57614720816145f9565b6147298461460e565b81016020851015614738578190505b61474c6147448561460e565b8301826146eb565b50505b505050565b600082821c905092915050565b600061477260001984600802614754565b1980831691505092915050565b600061478b8383614761565b9150826002028217905092915050565b6147a583836145ee565b67ffffffffffffffff8111156147be576147bd61376e565b5b6147c88254614203565b6147d382828561470e565b6000601f83116001811461480257600084156147f0578287013590505b6147fa858261477f565b865550614862565b601f198416614810866145f9565b60005b8281101561483857848901358255600182019150602085019450602081019050614813565b868310156148555784890135614851601f891682614761565b8355505b6001600288020188555050505b50505050505050565b600061487682613405565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148a8576148a76143ea565b5b600182019050919050565b60008160601b9050919050565b60006148cb826148b3565b9050919050565b60006148dd826148c0565b9050919050565b6148f56148f082613488565b6148d2565b82525050565b6000819050919050565b61491661491182613405565b6148fb565b82525050565b600081905092915050565b600061493282613353565b61493c818561491c565b935061494c81856020860161336f565b80840191505092915050565b600061496482886148e4565b60148201915061497482876148e4565b6014820191506149848286614905565b6020820191506149948285614927565b91506149a08284614927565b91508190509695505050505050565b6149b882613353565b67ffffffffffffffff8111156149d1576149d061376e565b5b6149db8254614203565b6149e682828561470e565b600060209050601f831160018114614a195760008415614a07578287015190505b614a11858261477f565b865550614a79565b601f198416614a27866145f9565b60005b82811015614a4f57848901518255600182019150602085019450602081019050614a2a565b86831015614a6c5784890151614a68601f891682614761565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614ab760188361335e565b9150614ac282614a81565b602082019050919050565b60006020820190508181036000830152614ae681614aaa565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614b4960298361335e565b9150614b5482614aed565b604082019050919050565b60006020820190508181036000830152614b7881614b3c565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614bb5601f8361335e565b9150614bc082614b7f565b602082019050919050565b60006020820190508181036000830152614be481614ba8565b9050919050565b6000608082019050614c006000830187613956565b614c0d6020830186613db5565b614c1a6040830185613956565b614c276060830184613956565b95945050505050565b7f696e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b6000614c6660188361335e565b9150614c7182614c30565b602082019050919050565b60006020820190508181036000830152614c9581614c59565b9050919050565b60008154614ca981614203565b614cb3818661491c565b94506001821660008114614cce5760018114614ce357614d16565b60ff1983168652811515820286019350614d16565b614cec856145f9565b60005b83811015614d0e57815481890152600182019150602081019050614cef565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d5560018361491c565b9150614d6082614d1f565b600182019050919050565b6000614d778286614c9c565b9150614d838285614927565b9150614d8e82614d48565b9150614d9a8284614c9c565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e0360268361335e565b9150614e0e82614da7565b604082019050919050565b60006020820190508181036000830152614e3281614df6565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614e6f601c8361491c565b9150614e7a82614e39565b601c82019050919050565b6000819050919050565b614ea0614e9b8261394c565b614e85565b82525050565b6000614eb182614e62565b9150614ebd8284614e8f565b60208201915081905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614f2860258361335e565b9150614f3382614ecc565b604082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614fba60248361335e565b9150614fc582614f5e565b604082019050919050565b60006020820190508181036000830152614fe981614fad565b9050919050565b6000614ffb82613405565b915061500683613405565b925082820390508181111561501e5761501d6143ea565b5b92915050565b600061502f82613405565b915061503a83613405565b9250828201905080821115615052576150516143ea565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061508e60208361335e565b915061509982615058565b602082019050919050565b600060208201905081810360008301526150bd81615081565b9050919050565b60006150d08284614927565b915081905092915050565b7f4e6f6e6365207573656420696e20746865207061737400000000000000000000600082015250565b600061511160168361335e565b915061511c826150db565b602082019050919050565b6000602082019050818103600083015261514081615104565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061517d60198361335e565b915061518882615147565b602082019050919050565b600060208201905081810360008301526151ac81615170565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061520f60328361335e565b915061521a826151b3565b604082019050919050565b6000602082019050818103600083015261523e81615202565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061526c82615245565b6152768185615250565b935061528681856020860161336f565b61528f81613399565b840191505092915050565b60006080820190506152af600083018761349a565b6152bc602083018661349a565b6152c96040830185613530565b81810360608301526152db8184615261565b905095945050505050565b6000815190506152f5816132c4565b92915050565b6000602082840312156153115761531061328e565b5b600061531f848285016152e6565b91505092915050565b7f4552433732314f70657261746f7246696c7465723a20696c6c6567616c206f7060008201527f657261746f720000000000000000000000000000000000000000000000000000602082015250565b600061538460268361335e565b915061538f82615328565b604082019050919050565b600060208201905081810360008301526153b381615377565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006153f060208361335e565b91506153fb826153ba565b602082019050919050565b6000602082019050818103600083015261541f816153e3565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061545c601c8361335e565b915061546782615426565b602082019050919050565b6000602082019050818103600083015261548b8161544f565b9050919050565b6000815190506154a181613bda565b92915050565b6000602082840312156154bd576154bc61328e565b5b60006154cb84828501615492565b91505092915050565b7f4e6f742063757272656e746c79207472616461626c6500000000000000000000600082015250565b600061550a60168361335e565b9150615515826154d4565b602082019050919050565b60006020820190508181036000830152615539816154fd565b905091905056fea2646970667358221220c5988a45396c3491a0e524df96dd2989fb6d54b9a4c98dfdf950cd45b881891164736f6c6343000811003368747470733a2f2f756e66742d6d657461646174612e7267632d65787465726e616c2d73746167652e756e696f76657273652e636f6d2f6765744d65746164617461466f72436f6c6c656374696f6e416e64546f6b656e56332f

Loading