Address Details
contract
token

0x34422efA66294820a0bb169294c28a880B9a88bf

Token
Sacuda Credit Score (SACS)
Creator
0xfe614b–c944e7 at 0x55684c–b94e60
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
8 Transactions
Transfers
0 Transfers
Gas Used
1,144,636
Last Balance Update
14690493
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
Sacuda




Optimization enabled
false
Compiler version
v0.8.11+commit.d7f03943




EVM Version
london




Verified at
2023-01-27T11:42:01.578125Z

Sacuda.sol

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.11;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import {TokenURIDescriptor} from "./TokenURIDescriptor.sol";

/** @dev Report with percentages of health in each catgegory */
struct CreditReportPercentages {
    uint8 paymentHistory;
    uint8 amountOwed;
    uint8 creditLength;
    uint8 creditMix;
    uint8 newCredit;
}

contract Sacuda is ERC721, AccessControl {
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN");
    bytes32 public constant CLERK_ROLE = keccak256("CLERK");
    bytes32 public constant ENHANCER_ROLE = keccak256("ENHANCER");
    bytes32 public constant WOB_ROLE = keccak256("WOMAN_OF_BUSSINESS");

    // bytes32 public constant WOB = keccak256("WOMAN_OF_BUSSINESS");

    uint256 public totalSupply;

    /** @dev Weights for Credit Scores */
    uint8 public paymentHistoryWeight;
    uint8 public amountOwedWeight;
    uint8 public creditLengthWeight;
    uint8 public creditMixWeight;
    uint8 public newCreditWeight;

    /** @dev Credit Score Storage */
    mapping(uint256 => CreditReportPercentages) public report;

    /** @dev Name Storage */
    mapping(uint256 => string) public name;

    /** @dev tokenId Storage */
    mapping(address => uint256) public nftId;

    /** Errors */
    error NotAPercentage();

    /** Events */
    event UserReportUpdated(
        uint256 indexed tokenId,
        uint8 paymentHistory,
        uint8 amountOwed,
        uint8 creditLength,
        uint8 creditMix,
        uint8 newCredit
    );
    event WeightsUpdated(
        uint8 paymentHistory,
        uint8 amountOwed,
        uint8 creditLength,
        uint8 creditMix,
        uint8 newCredit
    );
    event NameUpdated(uint256 indexed tokenId, string newName);

    /** @notice constructor for contract */
    constructor() ERC721("Sacuda Credit Score", "SACS") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        paymentHistoryWeight = 35;
        amountOwedWeight = 30;
        creditLengthWeight = 15;
        creditMixWeight = 10;
        newCreditWeight = 10;
        _setRoleAdmin(CLERK_ROLE, ADMIN_ROLE);
    }

    /** @dev Override required by AccessControl/ERC721 */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /** @dev Override to make Tokens non-transferable */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal override {
        require(
            (from == address(0) || to == address(0)),
            "Non-Transferable Token"
        );
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);
    }

    /** @notice Only one non-transferable token per address */
    function mint(
        address _user,
        bool _isEnhancer,
        string memory _name
    ) external onlyRole(CLERK_ROLE) {
        require(balanceOf(_user) == 0, "Already Registered");
        uint256 tokenId = ++totalSupply;
        _mint(_user, tokenId);
        nftId[_user] = tokenId;
        // isEnhancer[tokenId] = _isEnhancer;
        if (_isEnhancer) {
            _grantRole(ENHANCER_ROLE, _user);
            report[tokenId].amountOwed = 100; // Trying to set score to 0
        } else {
            _grantRole(WOB_ROLE, _user);
            report[tokenId].paymentHistory = 100;
            // report[tokenId].amountOwed = 0; // Already in 0
            report[tokenId].creditLength = 100;
            report[tokenId].creditMix = 100;
            report[tokenId].newCredit = 100;
            emit UserReportUpdated(tokenId, 100, 0, 100, 100, 100);
        }
        name[tokenId] = _name;
        emit UserReportUpdated(tokenId, 100, 0, 100, 100, 100);
        emit NameUpdated(tokenId, _name);
    }

    /** @dev Ability to burn some tokens only by BURNER roles */
    function burn(uint256 tokenId) public onlyRole(CLERK_ROLE) {
        // Remove the roles for the holder
        address user = ownerOf(tokenId);
        _revokeRole(ENHANCER_ROLE, user);
        _revokeRole(WOB_ROLE, user);
        // Free storage for credit report and name
        delete report[tokenId];
        delete name[tokenId];
        // Burn the token
        delete nftId[user];
        _burn(tokenId);
        // Emit events for credit report and name
        emit UserReportUpdated(tokenId, 0, 0, 0, 0, 0);
        emit NameUpdated(tokenId, "");
    }

    /** @dev Override to have on-chain SVG NFTs */
    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        // _requireMinted(tokenId); // This gets checked when calling score()
        uint256 scoring = score(tokenId);

        bool isEnhancer = hasRole(ENHANCER_ROLE, ownerOf(tokenId));
        return
            TokenURIDescriptor.tokenURI(
                isEnhancer,
                scoring,
                tokenId,
                name[tokenId],
                super.name(),
                super.symbol()
            );
    }

    /** @notice Credit Score of the user */
    function score(uint256 _tokenId) public view returns (uint256) {
        _requireMinted(_tokenId);
        CreditReportPercentages storage r = report[_tokenId];
        uint256 userScore = (uint256(r.paymentHistory) *
            uint256(paymentHistoryWeight) +
            (100 - uint256(r.amountOwed)) *
            uint256(amountOwedWeight) +
            uint256(r.creditLength) *
            uint256(creditLengthWeight) +
            uint256(r.creditMix) *
            uint256(creditMixWeight) +
            uint256(r.newCredit) *
            uint256(newCreditWeight)) / 100;
        return userScore;
    }

    /** @notice Update username function */
    function updateName(uint256 tokenId, string memory _name)
        external
        onlyRole(CLERK_ROLE)
    {
        _requireMinted(tokenId);
        name[tokenId] = _name;
    }

    /** @notice Update User's Credit Report */
    function updateReport(uint256 _tokenId, bytes memory data)
        external
        onlyRole(CLERK_ROLE)
    {
        _requireMinted(_tokenId);
        CreditReportPercentages memory r;
        (
            r.paymentHistory,
            r.amountOwed,
            r.creditLength,
            r.creditMix,
            r.newCredit
        ) = abi.decode(data, (uint8, uint8, uint8, uint8, uint8));
        if (
            r.paymentHistory > 100 ||
            r.amountOwed > 100 ||
            r.creditLength > 100 ||
            r.creditMix > 100 ||
            r.newCredit > 100
        ) revert NotAPercentage();
        report[_tokenId] = r;
        emit UserReportUpdated(
            _tokenId,
            r.paymentHistory,
            r.amountOwed,
            r.creditLength,
            r.creditMix,
            r.newCredit
        );
    }

    /** @notice Update System's Weights for Credit Score */
    function updateWeights(bytes memory data) external onlyRole(ADMIN_ROLE) {
        (
            uint8 paymentHistory,
            uint8 amountOwed,
            uint8 creditLength,
            uint8 creditMix,
            uint8 newCredit
        ) = abi.decode(data, (uint8, uint8, uint8, uint8, uint8));
        if (
            paymentHistory +
                amountOwed +
                creditLength +
                creditMix +
                newCredit !=
            100
        ) revert NotAPercentage();
        paymentHistoryWeight = paymentHistory;
        amountOwedWeight = amountOwed;
        creditLengthWeight = creditLength;
        creditMixWeight = creditMix;
        newCreditWeight = newCredit;
        emit WeightsUpdated(
            paymentHistory,
            amountOwed,
            creditLength,
            creditMix,
            newCredit
        );
    }

    /** -- Administrative functions for Roles -- */

    /** @dev Function to add an admin (admin + minter + burner) */
    function addAdmin(address user) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _grantRole(ADMIN_ROLE, user);
        _grantRole(CLERK_ROLE, user);
    }

    /** @dev Function to remove an admin (admin + minter + burner) */
    function removeAdmin(address user) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _revokeRole(ADMIN_ROLE, user);
        _revokeRole(CLERK_ROLE, user);
    }

    /** @dev Function to add a clerk (minter + burner) */
    function addClerk(address user) external onlyRole(ADMIN_ROLE) {
        _grantRole(CLERK_ROLE, user);
    }

    /** @dev Function to remove a clerk (minter + burner) */
    function removeClerk(address user) external onlyRole(ADMIN_ROLE) {
        _revokeRole(CLERK_ROLE, user);
    }
}
        

/TokenURIDescriptor.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

string constant SVG_START = '<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 600 600" font-family="Arial, Helvetica, sans-serif"><rect x="0" y="0" width="100%" height="100%" fill="#';
string constant BG_WOB = "ffeaed";
string constant BG_ENH = "b9e7be";
string constant SVG_HEADER = '" rx="5%" /><g id="logo" fill="#0398b0"><path d="m47 25c-18 0 -18 15 -18 18 0 23 25 32 36 32 2 0 3 -1 3 -3 0 -3 -2 -4 -2 -20c0 -15 -4 -27 -19 -27m29 50c-6 0 -6 1 -6 3 0 1 11 33 28 33 9 0 17 -7 17 -17 0 -8 0 -19 -39 -19m 0 -20a12 12 0 1 0 24 0a12 12 0 1 0 -24 0m-34 38a11 11 0 1 0 22 0a11 11 0 1 0 -22 0z" /></g><g id="text" font-size="80"><text x="140" y="110" font-weight="bolder" fill="#000a">SACUDA</text><text x="50%" y="50%" text-anchor="middle" fill="';
string constant FONT_WOB = 'deeppink">';
string constant FONT_ENH = 'green">';
string constant SVG_USERNAME = '</text><text x="50%" y="64%" text-anchor="middle" font-size="36" fill="';
string constant SVG_SCORE = '</text><text x="50%" y="80%" text-anchor="middle" font-size="48" fill="coral">SCORE: ';
// SCORE (uint -> string)
string constant SVG_END = "</text></g></svg>";

library TokenURIDescriptor {
    function getSVG(
        bool _isEnhancer,
        uint256 _score,
        string memory _userName
    ) internal pure returns (string memory) {
        string memory usernameLine;
        string memory bgColor;
        string memory fontColor;
        string memory userType;
        string memory scoringLine;
        if (_isEnhancer) {
            bgColor = BG_ENH;
            fontColor = FONT_ENH;
            userType = "ENHANCER";
        } else {
            bgColor = BG_WOB;
            fontColor = FONT_WOB;
            userType = "WOB";
            scoringLine = string(
                abi.encodePacked(SVG_SCORE, Strings.toString(_score))
            );
        }
        if (bytes(_userName).length > 0) {
            usernameLine = string(
                abi.encodePacked(SVG_USERNAME, fontColor, _userName)
            );
        }
        return
            string(
                abi.encodePacked(
                    SVG_START,
                    bgColor,
                    SVG_HEADER,
                    fontColor,
                    userType,
                    usernameLine,
                    scoringLine,
                    SVG_END
                )
            );
    }

    function tokenURI(
        bool _isEnhancer,
        uint256 _score,
        uint256 _tokenId,
        string memory _userName,
        string memory _name,
        string memory _symbol
    ) internal pure returns (string memory) {
        string memory traits;
        if (_isEnhancer) {
            traits = string(
                abi.encodePacked(
                    '","attributes":[{"trait_type":"User Type","value":"',
                    "Enhancer"
                )
            );
        } else {
            traits = string(
                abi.encodePacked(
                    '","attributes":[{"trait_type":"User Type","value":"',
                    "WOB",
                    '"},{"trait_type":"Score","value":"',
                    Strings.toString(_score)
                )
            );
        }
        string memory o = string(
            abi.encodePacked(
                '{"name":"',
                _name,
                " #",
                Strings.toString(_tokenId),
                " (",
                _userName,
                ")",
                '","symbol":"',
                _symbol
            )
        );
        string memory output = string(
            abi.encodePacked(
                o,
                '","description":"Sacuda Scoring","image": "data:image/svg+xml;base64,',
                Base64.encode(bytes(getSVG(_isEnhancer, _score, _userName))),
                traits,
                '"}]}'
            )
        );

        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(bytes(output))
                )
            );
    }
}
          

/_openzeppelin/contracts/access/AccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

/_openzeppelin/contracts/access/IAccessControl.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/token/ERC721/ERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(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 or 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 or 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 or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

    /**
     * @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, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @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. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}
          

/_openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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);
}
          

/_openzeppelin/contracts/token/ERC721/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);
}
          

/_openzeppelin/contracts/token/ERC721/extensions/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);
}
          

/_openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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);
        }
    }
}
          

/_openzeppelin/contracts/utils/Base64.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}
          

/_openzeppelin/contracts/utils/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;
    }
}
          

/_openzeppelin/contracts/utils/Strings.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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);
    }
}
          

/_openzeppelin/contracts/utils/introspection/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;
    }
}
          

/_openzeppelin/contracts/utils/introspection/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);
}
          

/_openzeppelin/contracts/utils/math/Math.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"error","name":"NotAPercentage","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"NameUpdated","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"string","name":"newName","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"UserReportUpdated","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"uint8","name":"paymentHistory","internalType":"uint8","indexed":false},{"type":"uint8","name":"amountOwed","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditLength","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditMix","internalType":"uint8","indexed":false},{"type":"uint8","name":"newCredit","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"event","name":"WeightsUpdated","inputs":[{"type":"uint8","name":"paymentHistory","internalType":"uint8","indexed":false},{"type":"uint8","name":"amountOwed","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditLength","internalType":"uint8","indexed":false},{"type":"uint8","name":"creditMix","internalType":"uint8","indexed":false},{"type":"uint8","name":"newCredit","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"CLERK_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"ENHANCER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"WOB_ROLE","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addAdmin","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addClerk","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"amountOwedWeight","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"creditLengthWeight","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"creditMixWeight","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_user","internalType":"address"},{"type":"bool","name":"_isEnhancer","internalType":"bool"},{"type":"string","name":"_name","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"newCreditWeight","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nftId","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"paymentHistoryWeight","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeAdmin","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeClerk","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"paymentHistory","internalType":"uint8"},{"type":"uint8","name":"amountOwed","internalType":"uint8"},{"type":"uint8","name":"creditLength","internalType":"uint8"},{"type":"uint8","name":"creditMix","internalType":"uint8"},{"type":"uint8","name":"newCredit","internalType":"uint8"}],"name":"report","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"score","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateName","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"_name","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateReport","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateWeights","inputs":[{"type":"bytes","name":"data","internalType":"bytes"}]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b506040518060400160405280601381526020017f536163756461204372656469742053636f7265000000000000000000000000008152506040518060400160405280600481526020017f534143530000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009692919062000394565b508060019080519060200190620000af92919062000394565b505050620000c76000801b33620001ab60201b60201c565b6023600860006101000a81548160ff021916908360ff160217905550601e600860016101000a81548160ff021916908360ff160217905550600f600860026101000a81548160ff021916908360ff160217905550600a600860036101000a81548160ff021916908360ff160217905550600a600860046101000a81548160ff021916908360ff160217905550620001a57f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e97fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec426200029d60201b60201c565b620004a9565b620001bd82826200030160201b60201c565b620002995760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200023e6200036c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620002b0836200037460201b60201c565b90508160066000858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600060066000838152602001908152602001600020600101549050919050565b828054620003a29062000473565b90600052602060002090601f016020900481019282620003c6576000855562000412565b82601f10620003e157805160ff191683800117855562000412565b8280016001018555821562000412579182015b8281111562000411578251825591602001919060010190620003f4565b5b50905062000421919062000425565b5090565b5b808211156200044057600081600090555060010162000426565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200048c57607f821691505b60208210811415620004a357620004a262000444565b5b50919050565b615bb680620004b96000396000f3fe608060405234801561001057600080fd5b506004361061025d5760003560e01c806375b238fc11610146578063b5e4a227116100c3578063d1730f1f11610087578063d1730f1f14610738578063d547741f14610768578063e985e9c514610784578063ef243480146107b4578063f76f370b146107d0578063fccdaa64146107ec5761025d565b8063b5e4a22714610680578063b88d4fde1461069e578063bf0446ad146106ba578063bfbdaae8146106d8578063c87b56dd146107085761025d565b8063988489b81161010a578063988489b8146105ee578063a217fddf1461060a578063a22cb46514610628578063a544cf3b14610644578063b273535b146106625761025d565b806375b238fc146105305780637f76b2821461054e57806391d148541461056c57806395d89b411461059c578063969b1cdb146105ba5761025d565b80632f2ff15d116101df57806342966c68116101a357806342966c681461045e57806353e76f2c1461047a57806355e54f36146104965780636352211e146104b457806370480275146104e457806370a08231146105005761025d565b80632f2ff15d146103d057806336568abe146103ec5780633e58117c146104085780633fc2a8a81461042457806342842e0e146104425761025d565b80631785f53c116102265780631785f53c1461032c57806318160ddd1461034857806323b872dd14610366578063248a9ca3146103825780632ec19017146103b25761025d565b8062ad800c1461026257806301ffc9a71461029257806306fdde03146102c2578063081812fc146102e0578063095ea7b314610310575b600080fd5b61027c60048036038101906102779190613aea565b610808565b6040516102899190613bb0565b60405180910390f35b6102ac60048036038101906102a79190613c2a565b6108a8565b6040516102b99190613c72565b60405180910390f35b6102ca6108ba565b6040516102d79190613bb0565b60405180910390f35b6102fa60048036038101906102f59190613aea565b61094c565b6040516103079190613cce565b60405180910390f35b61032a60048036038101906103259190613d15565b610992565b005b61034660048036038101906103419190613d55565b610aaa565b005b610350610b0f565b60405161035d9190613d91565b60405180910390f35b610380600480360381019061037b9190613dac565b610b15565b005b61039c60048036038101906103979190613e35565b610b75565b6040516103a99190613e71565b60405180910390f35b6103ba610b95565b6040516103c79190613ea8565b60405180910390f35b6103ea60048036038101906103e59190613ec3565b610ba8565b005b61040660048036038101906104019190613ec3565b610bc9565b005b610422600480360381019061041d9190613d55565b610c4c565b005b61042c610ca4565b6040516104399190613e71565b60405180910390f35b61045c60048036038101906104579190613dac565b610cc8565b005b61047860048036038101906104739190613aea565b610ce8565b005b610494600480360381019061048f9190614038565b610ed6565b005b61049e610f36565b6040516104ab9190613e71565b60405180910390f35b6104ce60048036038101906104c99190613aea565b610f5a565b6040516104db9190613cce565b60405180910390f35b6104fe60048036038101906104f99190613d55565b610fe1565b005b61051a60048036038101906105159190613d55565b611046565b6040516105279190613d91565b60405180910390f35b6105386110fe565b6040516105459190613e71565b60405180910390f35b610556611122565b6040516105639190613ea8565b60405180910390f35b61058660048036038101906105819190613ec3565b611135565b6040516105939190613c72565b60405180910390f35b6105a46111a0565b6040516105b19190613bb0565b60405180910390f35b6105d460048036038101906105cf9190613aea565b611232565b6040516105e5959493929190614094565b60405180910390f35b61060860048036038101906106039190614113565b6112a9565b005b6106126115c4565b60405161061f9190613e71565b60405180910390f35b610642600480360381019061063d9190614182565b6115cb565b005b61064c6115e1565b6040516106599190613ea8565b60405180910390f35b61066a6115f4565b6040516106779190613ea8565b60405180910390f35b610688611607565b6040516106959190613e71565b60405180910390f35b6106b860048036038101906106b39190614263565b61162b565b005b6106c261168d565b6040516106cf9190613ea8565b60405180910390f35b6106f260048036038101906106ed9190613d55565b6116a0565b6040516106ff9190613d91565b60405180910390f35b610722600480360381019061071d9190613aea565b6116b8565b60405161072f9190613bb0565b60405180910390f35b610752600480360381019061074d9190613aea565b6117bd565b60405161075f9190613d91565b60405180910390f35b610782600480360381019061077d9190613ec3565b611927565b005b61079e600480360381019061079991906142e6565b611948565b6040516107ab9190613c72565b60405180910390f35b6107ce60048036038101906107c99190614326565b6119dc565b005b6107ea60048036038101906107e59190613d55565b611c16565b005b61080660048036038101906108019190614382565b611c6e565b005b600a6020528060005260406000206000915090508054610827906143fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610853906143fa565b80156108a05780601f10610875576101008083540402835291602001916108a0565b820191906000526020600020905b81548152906001019060200180831161088357829003601f168201915b505050505081565b60006108b382611df6565b9050919050565b6060600080546108c9906143fa565b80601f01602080910402602001604051908101604052809291908181526020018280546108f5906143fa565b80156109425780601f1061091757610100808354040283529160200191610942565b820191906000526020600020905b81548152906001019060200180831161092557829003601f168201915b5050505050905090565b600061095782611e70565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099d82610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a059061449e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2d611ebb565b73ffffffffffffffffffffffffffffffffffffffff161480610a5c5750610a5b81610a56611ebb565b611948565b5b610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9290614530565b60405180910390fd5b610aa58383611ec3565b505050565b6000801b610ab781611f7c565b610ae17fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4283611f90565b610b0b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983611f90565b5050565b60075481565b610b26610b20611ebb565b82612072565b610b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5c906145c2565b60405180910390fd5b610b70838383612107565b505050565b600060066000838152602001908152602001600020600101549050919050565b600860049054906101000a900460ff1681565b610bb182610b75565b610bba81611f7c565b610bc48383612401565b505050565b610bd1611ebb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590614654565b60405180910390fd5b610c488282611f90565b5050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42610c7681611f7c565b610ca07f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983611f90565b5050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e981565b610ce38383836040518060200160405280600081525061162b565b505050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e9610d1281611f7c565b6000610d1d83610f5a565b9050610d497fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2482611f90565b610d737f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd82611f90565b60096000848152602001908152602001600020600080820160006101000a81549060ff02191690556000820160016101000a81549060ff02191690556000820160026101000a81549060ff02191690556000820160036101000a81549060ff02191690556000820160046101000a81549060ff02191690555050600a60008481526020019081526020016000206000610e0c919061397f565b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009055610e58836124e2565b827fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f6196000806000806000604051610e939594939291906146b9565b60405180910390a2827f70a8f52a5cc7cf2d25e71645299888cb2ed1590225e7fca72f35ac61cf61d324604051610ec990614732565b60405180910390a2505050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e9610f0081611f7c565b610f0983611e70565b81600a60008581526020019081526020016000209080519060200190610f309291906139bf565b50505050565b7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2481565b600080610f6683612630565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcf9061479e565b60405180910390fd5b80915050919050565b6000801b610fee81611f7c565b6110187fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4283612401565b6110427f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983612401565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90614830565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4281565b600860009054906101000a900460ff1681565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546111af906143fa565b80601f01602080910402602001604051908101604052809291908181526020018280546111db906143fa565b80156112285780601f106111fd57610100808354040283529160200191611228565b820191906000526020600020905b81548152906001019060200180831161120b57829003601f168201915b5050505050905090565b60096020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16905085565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e96112d381611f7c565b60006112de85611046565b1461131e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113159061489c565b60405180910390fd5b600060076000815461132f906148eb565b9190508190559050611341858261266d565b80600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555083156113ea576113b57fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2486612401565b60646009600083815260200190815260200160002060000160016101000a81548160ff021916908360ff160217905550611519565b6114147f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd86612401565b60646009600083815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160046101000a81548160ff021916908360ff160217905550807fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f61960646000606480606460405161151095949392919061496f565b60405180910390a25b82600a600083815260200190815260200160002090805190602001906115409291906139bf565b50807fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f61960646000606480606460405161157d95949392919061496f565b60405180910390a2807f70a8f52a5cc7cf2d25e71645299888cb2ed1590225e7fca72f35ac61cf61d324846040516115b59190613bb0565b60405180910390a25050505050565b6000801b81565b6115dd6115d6611ebb565b838361288b565b5050565b600860029054906101000a900460ff1681565b600860039054906101000a900460ff1681565b7f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd81565b61163c611636611ebb565b83612072565b61167b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611672906145c2565b60405180910390fd5b611687848484846129f8565b50505050565b600860019054906101000a900460ff1681565b600b6020528060005260406000206000915090505481565b606060006116c5836117bd565b905060006116fb7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf246116f686610f5a565b611135565b90506117b4818386600a60008981526020019081526020016000208054611721906143fa565b80601f016020809104026020016040519081016040528092919081815260200182805461174d906143fa565b801561179a5780601f1061176f5761010080835404028352916020019161179a565b820191906000526020600020905b81548152906001019060200180831161177d57829003601f168201915b50505050506117a76108ba565b6117af6111a0565b612a54565b92505050919050565b60006117c882611e70565b600060096000848152602001908152602001600020905060006064600860049054906101000a900460ff1660ff168360000160049054906101000a900460ff1660ff1661181591906149c2565b600860039054906101000a900460ff1660ff168460000160039054906101000a900460ff1660ff1661184791906149c2565b600860029054906101000a900460ff1660ff168560000160029054906101000a900460ff1660ff1661187991906149c2565b600860019054906101000a900460ff1660ff168660000160019054906101000a900460ff1660ff1660646118ad9190614a1c565b6118b791906149c2565b600860009054906101000a900460ff1660ff168760000160009054906101000a900460ff1660ff166118e991906149c2565b6118f39190614a50565b6118fd9190614a50565b6119079190614a50565b6119119190614a50565b61191b9190614ad5565b90508092505050919050565b61193082610b75565b61193981611f7c565b6119438383611f90565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e9611a0681611f7c565b611a0f83611e70565b611a17613a45565b82806020019051810190611a2b9190614b32565b85600001866020018760400188606001896080018560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff1681525050505050506064816000015160ff161180611a9357506064816020015160ff16115b80611aa557506064816040015160ff16115b80611ab757506064816060015160ff16115b80611ac957506064816080015160ff16115b15611b00576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806009600086815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff160217905550905050837fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f61982600001518360200151846040015185606001518660800151604051611c08959493929190614094565b60405180910390a250505050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42611c4081611f7c565b611c6a7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983612401565b5050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42611c9881611f7c565b600080600080600086806020019051810190611cb49190614b32565b9450945094509450945060648183858789611ccf9190614bad565b611cd99190614bad565b611ce39190614bad565b611ced9190614bad565b60ff1614611d27576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84600860006101000a81548160ff021916908360ff16021790555083600860016101000a81548160ff021916908360ff16021790555082600860026101000a81548160ff021916908360ff16021790555081600860036101000a81548160ff021916908360ff16021790555080600860046101000a81548160ff021916908360ff1602179055507f61b5a7230e6ad7228528de923cff523fb0666f143f67881732054398000700368585858585604051611de5959493929190614094565b60405180910390a150505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e695750611e6882612b50565b5b9050919050565b611e7981612c32565b611eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf9061479e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f3683610f5a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611f8d81611f88611ebb565b612c73565b50565b611f9a8282611135565b1561206e5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612013611ebb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008061207e83610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120c057506120bf8185611948565b5b806120fe57508373ffffffffffffffffffffffffffffffffffffffff166120e68461094c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661212782610f5a565b73ffffffffffffffffffffffffffffffffffffffff161461217d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217490614c56565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e490614ce8565b60405180910390fd5b6121fa8383836001612cf8565b8273ffffffffffffffffffffffffffffffffffffffff1661221a82610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614612270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226790614c56565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123fc8383836001612db0565b505050565b61240b8282611135565b6124de5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612483611ebb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006124ed82610f5a565b90506124fd816000846001612cf8565b61250682610f5a565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262c816000846001612db0565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d490614d54565b60405180910390fd5b6126e681612c32565b15612726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271d90614dc0565b60405180910390fd5b612734600083836001612cf8565b61273d81612c32565b1561277d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277490614dc0565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612887600083836001612db0565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f190614e2c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129eb9190613c72565b60405180910390a3505050565b612a03848484612107565b612a0f84848484612db6565b612a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4590614ebe565b60405180910390fd5b50505050565b6060808715612a8257604051602001612a6c90614fa7565b6040516020818303038152906040529050612aad565b612a8b87612f3e565b604051602001612a9b91906150b6565b60405160208183030381529060405290505b600084612ab988612f3e565b8786604051602001612ace949392919061526a565b6040516020818303038152906040529050600081612af5612af08c8c8b613016565b6132ac565b84604051602001612b08939291906153c3565b6040516020818303038152906040529050612b22816132ac565b604051602001612b329190615456565b60405160208183030381529060405293505050509695505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c1b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c2b5750612c2a82613410565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612c5483612630565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612c7d8282611135565b612cf457612c8a8161347a565b612c988360001c60206134a7565b604051602001612ca9929190615510565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ceb9190613bb0565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d5f5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b612d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9590615596565b60405180910390fd5b612daa848484846136e3565b50505050565b50505050565b6000612dd78473ffffffffffffffffffffffffffffffffffffffff16613809565b15612f31578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e00611ebb565b8786866040518563ffffffff1660e01b8152600401612e22949392919061560b565b6020604051808303816000875af1925050508015612e5e57506040513d601f19601f82011682018060405250810190612e5b919061566c565b60015b612ee1573d8060008114612e8e576040519150601f19603f3d011682016040523d82523d6000602084013e612e93565b606091505b50600081511415612ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed090614ebe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f36565b600190505b949350505050565b606060006001612f4d8461382c565b01905060008167ffffffffffffffff811115612f6c57612f6b613f0d565b5b6040519080825280601f01601f191660200182016040528015612f9e5781602001600182028036833780820191505090505b509050600082602001820190505b60011561300b578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ff557612ff4614aa6565b5b04945060008514156130065761300b565b612fac565b819350505050919050565b60608060608060608088156130d2576040518060400160405280600681526020017f623965376265000000000000000000000000000000000000000000000000000081525093506040518060400160405280600781526020017f677265656e223e0000000000000000000000000000000000000000000000000081525092506040518060400160405280600881526020017f454e48414e43455200000000000000000000000000000000000000000000000081525091506131bf565b6040518060400160405280600681526020017f666665616564000000000000000000000000000000000000000000000000000081525093506040518060400160405280600a81526020017f6465657070696e6b223e0000000000000000000000000000000000000000000081525092506040518060400160405280600381526020017f574f42000000000000000000000000000000000000000000000000000000000081525091506040518060800160405280605581526020016158266055913961319c89612f3e565b6040516020016131ad929190615699565b60405160208183030381529060405290505b600087511115613208576040518060800160405280604781526020016159316047913983886040516020016131f6939291906156bd565b60405160208183030381529060405294505b6040518060e0016040528060b6815260200161587b60b69139846040518061020001604052806101c981526020016159b86101c99139858589866040518060400160405280601181526020017f3c2f746578743e3c2f673e3c2f7376673e00000000000000000000000000000081525060405160200161328f9897969594939291906156ee565b604051602081830303815290604052955050505050509392505050565b60606000825114156132cf5760405180602001604052806000815250905061340b565b600060405180606001604052806040815260200161597860409139905060006003600285516132fe9190614a50565b6133089190614ad5565b600461331491906149c2565b67ffffffffffffffff81111561332d5761332c613f0d565b5b6040519080825280601f01601f19166020018201604052801561335f5781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156133cb576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050613370565b50506003865106600181146133e757600281146133fa57613402565b603d6001830353603d6002830353613402565b603d60018303535b50505080925050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606134a08273ffffffffffffffffffffffffffffffffffffffff16601460ff166134a7565b9050919050565b6060600060028360026134ba91906149c2565b6134c49190614a50565b67ffffffffffffffff8111156134dd576134dc613f0d565b5b6040519080825280601f01601f19166020018201604052801561350f5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061354757613546615760565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106135ab576135aa615760565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135eb91906149c2565b6135f59190614a50565b90505b6001811115613695577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061363757613636615760565b5b1a60f81b82828151811061364e5761364d615760565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061368e9061578f565b90506135f8565b50600084146136d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d090615805565b60405180910390fd5b8091505092915050565b600181111561380357600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146137775780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461376f9190614a1c565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138025780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137fa9190614a50565b925050819055505b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061388a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816138805761387f614aa6565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106138c7576d04ee2d6d415b85acef810000000083816138bd576138bc614aa6565b5b0492506020810190505b662386f26fc1000083106138f657662386f26fc1000083816138ec576138eb614aa6565b5b0492506010810190505b6305f5e100831061391f576305f5e100838161391557613914614aa6565b5b0492506008810190505b612710831061394457612710838161393a57613939614aa6565b5b0492506004810190505b60648310613967576064838161395d5761395c614aa6565b5b0492506002810190505b600a8310613976576001810190505b80915050919050565b50805461398b906143fa565b6000825580601f1061399d57506139bc565b601f0160209004906000526020600020908101906139bb9190613a83565b5b50565b8280546139cb906143fa565b90600052602060002090601f0160209004810192826139ed5760008555613a34565b82601f10613a0657805160ff1916838001178555613a34565b82800160010185558215613a34579182015b82811115613a33578251825591602001919060010190613a18565b5b509050613a419190613a83565b5090565b6040518060a00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b5b80821115613a9c576000816000905550600101613a84565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b613ac781613ab4565b8114613ad257600080fd5b50565b600081359050613ae481613abe565b92915050565b600060208284031215613b0057613aff613aaa565b5b6000613b0e84828501613ad5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b51578082015181840152602081019050613b36565b83811115613b60576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b8282613b17565b613b8c8185613b22565b9350613b9c818560208601613b33565b613ba581613b66565b840191505092915050565b60006020820190508181036000830152613bca8184613b77565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c0781613bd2565b8114613c1257600080fd5b50565b600081359050613c2481613bfe565b92915050565b600060208284031215613c4057613c3f613aaa565b5b6000613c4e84828501613c15565b91505092915050565b60008115159050919050565b613c6c81613c57565b82525050565b6000602082019050613c876000830184613c63565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613cb882613c8d565b9050919050565b613cc881613cad565b82525050565b6000602082019050613ce36000830184613cbf565b92915050565b613cf281613cad565b8114613cfd57600080fd5b50565b600081359050613d0f81613ce9565b92915050565b60008060408385031215613d2c57613d2b613aaa565b5b6000613d3a85828601613d00565b9250506020613d4b85828601613ad5565b9150509250929050565b600060208284031215613d6b57613d6a613aaa565b5b6000613d7984828501613d00565b91505092915050565b613d8b81613ab4565b82525050565b6000602082019050613da66000830184613d82565b92915050565b600080600060608486031215613dc557613dc4613aaa565b5b6000613dd386828701613d00565b9350506020613de486828701613d00565b9250506040613df586828701613ad5565b9150509250925092565b6000819050919050565b613e1281613dff565b8114613e1d57600080fd5b50565b600081359050613e2f81613e09565b92915050565b600060208284031215613e4b57613e4a613aaa565b5b6000613e5984828501613e20565b91505092915050565b613e6b81613dff565b82525050565b6000602082019050613e866000830184613e62565b92915050565b600060ff82169050919050565b613ea281613e8c565b82525050565b6000602082019050613ebd6000830184613e99565b92915050565b60008060408385031215613eda57613ed9613aaa565b5b6000613ee885828601613e20565b9250506020613ef985828601613d00565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f4582613b66565b810181811067ffffffffffffffff82111715613f6457613f63613f0d565b5b80604052505050565b6000613f77613aa0565b9050613f838282613f3c565b919050565b600067ffffffffffffffff821115613fa357613fa2613f0d565b5b613fac82613b66565b9050602081019050919050565b82818337600083830152505050565b6000613fdb613fd684613f88565b613f6d565b905082815260208101848484011115613ff757613ff6613f08565b5b614002848285613fb9565b509392505050565b600082601f83011261401f5761401e613f03565b5b813561402f848260208601613fc8565b91505092915050565b6000806040838503121561404f5761404e613aaa565b5b600061405d85828601613ad5565b925050602083013567ffffffffffffffff81111561407e5761407d613aaf565b5b61408a8582860161400a565b9150509250929050565b600060a0820190506140a96000830188613e99565b6140b66020830187613e99565b6140c36040830186613e99565b6140d06060830185613e99565b6140dd6080830184613e99565b9695505050505050565b6140f081613c57565b81146140fb57600080fd5b50565b60008135905061410d816140e7565b92915050565b60008060006060848603121561412c5761412b613aaa565b5b600061413a86828701613d00565b935050602061414b868287016140fe565b925050604084013567ffffffffffffffff81111561416c5761416b613aaf565b5b6141788682870161400a565b9150509250925092565b6000806040838503121561419957614198613aaa565b5b60006141a785828601613d00565b92505060206141b8858286016140fe565b9150509250929050565b600067ffffffffffffffff8211156141dd576141dc613f0d565b5b6141e682613b66565b9050602081019050919050565b6000614206614201846141c2565b613f6d565b90508281526020810184848401111561422257614221613f08565b5b61422d848285613fb9565b509392505050565b600082601f83011261424a57614249613f03565b5b813561425a8482602086016141f3565b91505092915050565b6000806000806080858703121561427d5761427c613aaa565b5b600061428b87828801613d00565b945050602061429c87828801613d00565b93505060406142ad87828801613ad5565b925050606085013567ffffffffffffffff8111156142ce576142cd613aaf565b5b6142da87828801614235565b91505092959194509250565b600080604083850312156142fd576142fc613aaa565b5b600061430b85828601613d00565b925050602061431c85828601613d00565b9150509250929050565b6000806040838503121561433d5761433c613aaa565b5b600061434b85828601613ad5565b925050602083013567ffffffffffffffff81111561436c5761436b613aaf565b5b61437885828601614235565b9150509250929050565b60006020828403121561439857614397613aaa565b5b600082013567ffffffffffffffff8111156143b6576143b5613aaf565b5b6143c284828501614235565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061441257607f821691505b60208210811415614426576144256143cb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614488602183613b22565b91506144938261442c565b604082019050919050565b600060208201905081810360008301526144b78161447b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061451a603d83613b22565b9150614525826144be565b604082019050919050565b600060208201905081810360008301526145498161450d565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006145ac602d83613b22565b91506145b782614550565b604082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061463e602f83613b22565b9150614649826145e2565b604082019050919050565b6000602082019050818103600083015261466d81614631565b9050919050565b6000819050919050565b6000819050919050565b60006146a361469e61469984614674565b61467e565b613e8c565b9050919050565b6146b381614688565b82525050565b600060a0820190506146ce60008301886146aa565b6146db60208301876146aa565b6146e860408301866146aa565b6146f560608301856146aa565b61470260808301846146aa565b9695505050505050565b50565b600061471c600083613b22565b91506147278261470c565b600082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614788601883613b22565b915061479382614752565b602082019050919050565b600060208201905081810360008301526147b78161477b565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061481a602983613b22565b9150614825826147be565b604082019050919050565b600060208201905081810360008301526148498161480d565b9050919050565b7f416c726561647920526567697374657265640000000000000000000000000000600082015250565b6000614886601283613b22565b915061489182614850565b602082019050919050565b600060208201905081810360008301526148b581614879565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f682613ab4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614929576149286148bc565b5b600182019050919050565b6000819050919050565b600061495961495461494f84614934565b61467e565b613e8c565b9050919050565b6149698161493e565b82525050565b600060a0820190506149846000830188614960565b61499160208301876146aa565b61499e6040830186614960565b6149ab6060830185614960565b6149b86080830184614960565b9695505050505050565b60006149cd82613ab4565b91506149d883613ab4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a1157614a106148bc565b5b828202905092915050565b6000614a2782613ab4565b9150614a3283613ab4565b925082821015614a4557614a446148bc565b5b828203905092915050565b6000614a5b82613ab4565b9150614a6683613ab4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a9b57614a9a6148bc565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ae082613ab4565b9150614aeb83613ab4565b925082614afb57614afa614aa6565b5b828204905092915050565b614b0f81613e8c565b8114614b1a57600080fd5b50565b600081519050614b2c81614b06565b92915050565b600080600080600060a08688031215614b4e57614b4d613aaa565b5b6000614b5c88828901614b1d565b9550506020614b6d88828901614b1d565b9450506040614b7e88828901614b1d565b9350506060614b8f88828901614b1d565b9250506080614ba088828901614b1d565b9150509295509295909350565b6000614bb882613e8c565b9150614bc383613e8c565b92508260ff03821115614bd957614bd86148bc565b5b828201905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c40602583613b22565b9150614c4b82614be4565b604082019050919050565b60006020820190508181036000830152614c6f81614c33565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614cd2602483613b22565b9150614cdd82614c76565b604082019050919050565b60006020820190508181036000830152614d0181614cc5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d3e602083613b22565b9150614d4982614d08565b602082019050919050565b60006020820190508181036000830152614d6d81614d31565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614daa601c83613b22565b9150614db582614d74565b602082019050919050565b60006020820190508181036000830152614dd981614d9d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614e16601983613b22565b9150614e2182614de0565b602082019050919050565b60006020820190508181036000830152614e4581614e09565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ea8603283613b22565b9150614eb382614e4c565b604082019050919050565b60006020820190508181036000830152614ed781614e9b565b9050919050565b600081905092915050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a225560008201527f7365722054797065222c2276616c7565223a2200000000000000000000000000602082015250565b6000614f45603383614ede565b9150614f5082614ee9565b603382019050919050565b7f456e68616e636572000000000000000000000000000000000000000000000000600082015250565b6000614f91600883614ede565b9150614f9c82614f5b565b600882019050919050565b6000614fb282614f38565b9150614fbd82614f84565b9150819050919050565b7f574f420000000000000000000000000000000000000000000000000000000000600082015250565b6000614ffd600383614ede565b915061500882614fc7565b600382019050919050565b7f227d2c7b2274726169745f74797065223a2253636f7265222c2276616c75652260008201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b600061506f602283614ede565b915061507a82615013565b602282019050919050565b600061509082613b17565b61509a8185614ede565b93506150aa818560208601613b33565b80840191505092915050565b60006150c182614f38565b91506150cc82614ff0565b91506150d782615062565b91506150e38284615085565b915081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000615124600983614ede565b915061512f826150ee565b600982019050919050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b6000615170600283614ede565b915061517b8261513a565b600282019050919050565b7f2028000000000000000000000000000000000000000000000000000000000000600082015250565b60006151bc600283614ede565b91506151c782615186565b600282019050919050565b7f2900000000000000000000000000000000000000000000000000000000000000600082015250565b6000615208600183614ede565b9150615213826151d2565b600182019050919050565b7f222c2273796d626f6c223a220000000000000000000000000000000000000000600082015250565b6000615254600c83614ede565b915061525f8261521e565b600c82019050919050565b600061527582615117565b91506152818287615085565b915061528c82615163565b91506152988286615085565b91506152a3826151af565b91506152af8285615085565b91506152ba826151fb565b91506152c582615247565b91506152d18284615085565b915081905095945050505050565b7f222c226465736372697074696f6e223a225361637564612053636f72696e672260008201527f2c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626160208201527f736536342c000000000000000000000000000000000000000000000000000000604082015250565b6000615361604583614ede565b915061536c826152df565b604582019050919050565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b60006153ad600483614ede565b91506153b882615377565b600482019050919050565b60006153cf8286615085565b91506153da82615354565b91506153e68285615085565b91506153f28284615085565b91506153fd826153a0565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000615440601d83614ede565b915061544b8261540a565b601d82019050919050565b600061546182615433565b915061546d8284615085565b915081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006154ae601783614ede565b91506154b982615478565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006154fa601183614ede565b9150615505826154c4565b601182019050919050565b600061551b826154a1565b91506155278285615085565b9150615532826154ed565b915061553e8284615085565b91508190509392505050565b7f4e6f6e2d5472616e7366657261626c6520546f6b656e00000000000000000000600082015250565b6000615580601683613b22565b915061558b8261554a565b602082019050919050565b600060208201905081810360008301526155af81615573565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155dd826155b6565b6155e781856155c1565b93506155f7818560208601613b33565b61560081613b66565b840191505092915050565b60006080820190506156206000830187613cbf565b61562d6020830186613cbf565b61563a6040830185613d82565b818103606083015261564c81846155d2565b905095945050505050565b60008151905061566681613bfe565b92915050565b60006020828403121561568257615681613aaa565b5b600061569084828501615657565b91505092915050565b60006156a58285615085565b91506156b18284615085565b91508190509392505050565b60006156c98286615085565b91506156d58285615085565b91506156e18284615085565b9150819050949350505050565b60006156fa828b615085565b9150615706828a615085565b91506157128289615085565b915061571e8288615085565b915061572a8287615085565b91506157368286615085565b91506157428285615085565b915061574e8284615085565b91508190509998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061579a82613ab4565b915060008214156157ae576157ad6148bc565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006157ef602083613b22565b91506157fa826157b9565b602082019050919050565b6000602082019050818103600083015261581e816157e2565b905091905056fe3c2f746578743e3c7465787420783d223530252220793d223830252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223438222066696c6c3d22636f72616c223e53434f52453a203c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2235303022206865696768743d22353030222076696577426f783d2230203020363030203630302220666f6e742d66616d696c793d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e3c7265637420783d22302220793d2230222077696474683d223130302522206865696768743d2231303025222066696c6c3d22233c2f746578743e3c7465787420783d223530252220793d223634252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223336222066696c6c3d224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222072783d22352522202f3e3c672069643d226c6f676f222066696c6c3d2223303339386230223e3c7061746820643d226d3437203235632d31382030202d3138203135202d31382031382030203233203235203332203336203332203220302033202d312033202d332030202d33202d32202d34202d32202d32306330202d3135202d34202d3237202d3139202d32376d3239203530632d362030202d362031202d3620332030203120313120333320323820333320392030203137202d37203137202d31372030202d382030202d3139202d3339202d31396d2030202d32306131322031322030203120302032342030613132203132203020312030202d323420306d2d33342033386131312031312030203120302032322030613131203131203020312030202d323220307a22202f3e3c2f673e3c672069643d22746578742220666f6e742d73697a653d223830223e3c7465787420783d223134302220793d223131302220666f6e742d7765696768743d22626f6c646572222066696c6c3d222330303061223e5341435544413c2f746578743e3c7465787420783d223530252220793d223530252220746578742d616e63686f723d226d6964646c65222066696c6c3d22a264697066735822122012dba63d9be816525e8d8e2a7bdc9119da0226e46cf59a21f07a150a53f465ea64736f6c634300080b0033

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061025d5760003560e01c806375b238fc11610146578063b5e4a227116100c3578063d1730f1f11610087578063d1730f1f14610738578063d547741f14610768578063e985e9c514610784578063ef243480146107b4578063f76f370b146107d0578063fccdaa64146107ec5761025d565b8063b5e4a22714610680578063b88d4fde1461069e578063bf0446ad146106ba578063bfbdaae8146106d8578063c87b56dd146107085761025d565b8063988489b81161010a578063988489b8146105ee578063a217fddf1461060a578063a22cb46514610628578063a544cf3b14610644578063b273535b146106625761025d565b806375b238fc146105305780637f76b2821461054e57806391d148541461056c57806395d89b411461059c578063969b1cdb146105ba5761025d565b80632f2ff15d116101df57806342966c68116101a357806342966c681461045e57806353e76f2c1461047a57806355e54f36146104965780636352211e146104b457806370480275146104e457806370a08231146105005761025d565b80632f2ff15d146103d057806336568abe146103ec5780633e58117c146104085780633fc2a8a81461042457806342842e0e146104425761025d565b80631785f53c116102265780631785f53c1461032c57806318160ddd1461034857806323b872dd14610366578063248a9ca3146103825780632ec19017146103b25761025d565b8062ad800c1461026257806301ffc9a71461029257806306fdde03146102c2578063081812fc146102e0578063095ea7b314610310575b600080fd5b61027c60048036038101906102779190613aea565b610808565b6040516102899190613bb0565b60405180910390f35b6102ac60048036038101906102a79190613c2a565b6108a8565b6040516102b99190613c72565b60405180910390f35b6102ca6108ba565b6040516102d79190613bb0565b60405180910390f35b6102fa60048036038101906102f59190613aea565b61094c565b6040516103079190613cce565b60405180910390f35b61032a60048036038101906103259190613d15565b610992565b005b61034660048036038101906103419190613d55565b610aaa565b005b610350610b0f565b60405161035d9190613d91565b60405180910390f35b610380600480360381019061037b9190613dac565b610b15565b005b61039c60048036038101906103979190613e35565b610b75565b6040516103a99190613e71565b60405180910390f35b6103ba610b95565b6040516103c79190613ea8565b60405180910390f35b6103ea60048036038101906103e59190613ec3565b610ba8565b005b61040660048036038101906104019190613ec3565b610bc9565b005b610422600480360381019061041d9190613d55565b610c4c565b005b61042c610ca4565b6040516104399190613e71565b60405180910390f35b61045c60048036038101906104579190613dac565b610cc8565b005b61047860048036038101906104739190613aea565b610ce8565b005b610494600480360381019061048f9190614038565b610ed6565b005b61049e610f36565b6040516104ab9190613e71565b60405180910390f35b6104ce60048036038101906104c99190613aea565b610f5a565b6040516104db9190613cce565b60405180910390f35b6104fe60048036038101906104f99190613d55565b610fe1565b005b61051a60048036038101906105159190613d55565b611046565b6040516105279190613d91565b60405180910390f35b6105386110fe565b6040516105459190613e71565b60405180910390f35b610556611122565b6040516105639190613ea8565b60405180910390f35b61058660048036038101906105819190613ec3565b611135565b6040516105939190613c72565b60405180910390f35b6105a46111a0565b6040516105b19190613bb0565b60405180910390f35b6105d460048036038101906105cf9190613aea565b611232565b6040516105e5959493929190614094565b60405180910390f35b61060860048036038101906106039190614113565b6112a9565b005b6106126115c4565b60405161061f9190613e71565b60405180910390f35b610642600480360381019061063d9190614182565b6115cb565b005b61064c6115e1565b6040516106599190613ea8565b60405180910390f35b61066a6115f4565b6040516106779190613ea8565b60405180910390f35b610688611607565b6040516106959190613e71565b60405180910390f35b6106b860048036038101906106b39190614263565b61162b565b005b6106c261168d565b6040516106cf9190613ea8565b60405180910390f35b6106f260048036038101906106ed9190613d55565b6116a0565b6040516106ff9190613d91565b60405180910390f35b610722600480360381019061071d9190613aea565b6116b8565b60405161072f9190613bb0565b60405180910390f35b610752600480360381019061074d9190613aea565b6117bd565b60405161075f9190613d91565b60405180910390f35b610782600480360381019061077d9190613ec3565b611927565b005b61079e600480360381019061079991906142e6565b611948565b6040516107ab9190613c72565b60405180910390f35b6107ce60048036038101906107c99190614326565b6119dc565b005b6107ea60048036038101906107e59190613d55565b611c16565b005b61080660048036038101906108019190614382565b611c6e565b005b600a6020528060005260406000206000915090508054610827906143fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610853906143fa565b80156108a05780601f10610875576101008083540402835291602001916108a0565b820191906000526020600020905b81548152906001019060200180831161088357829003601f168201915b505050505081565b60006108b382611df6565b9050919050565b6060600080546108c9906143fa565b80601f01602080910402602001604051908101604052809291908181526020018280546108f5906143fa565b80156109425780601f1061091757610100808354040283529160200191610942565b820191906000526020600020905b81548152906001019060200180831161092557829003601f168201915b5050505050905090565b600061095782611e70565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099d82610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a059061449e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2d611ebb565b73ffffffffffffffffffffffffffffffffffffffff161480610a5c5750610a5b81610a56611ebb565b611948565b5b610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9290614530565b60405180910390fd5b610aa58383611ec3565b505050565b6000801b610ab781611f7c565b610ae17fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4283611f90565b610b0b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983611f90565b5050565b60075481565b610b26610b20611ebb565b82612072565b610b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5c906145c2565b60405180910390fd5b610b70838383612107565b505050565b600060066000838152602001908152602001600020600101549050919050565b600860049054906101000a900460ff1681565b610bb182610b75565b610bba81611f7c565b610bc48383612401565b505050565b610bd1611ebb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590614654565b60405180910390fd5b610c488282611f90565b5050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42610c7681611f7c565b610ca07f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983611f90565b5050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e981565b610ce38383836040518060200160405280600081525061162b565b505050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e9610d1281611f7c565b6000610d1d83610f5a565b9050610d497fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2482611f90565b610d737f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd82611f90565b60096000848152602001908152602001600020600080820160006101000a81549060ff02191690556000820160016101000a81549060ff02191690556000820160026101000a81549060ff02191690556000820160036101000a81549060ff02191690556000820160046101000a81549060ff02191690555050600a60008481526020019081526020016000206000610e0c919061397f565b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009055610e58836124e2565b827fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f6196000806000806000604051610e939594939291906146b9565b60405180910390a2827f70a8f52a5cc7cf2d25e71645299888cb2ed1590225e7fca72f35ac61cf61d324604051610ec990614732565b60405180910390a2505050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e9610f0081611f7c565b610f0983611e70565b81600a60008581526020019081526020016000209080519060200190610f309291906139bf565b50505050565b7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2481565b600080610f6683612630565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcf9061479e565b60405180910390fd5b80915050919050565b6000801b610fee81611f7c565b6110187fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4283612401565b6110427f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983612401565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90614830565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4281565b600860009054906101000a900460ff1681565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546111af906143fa565b80601f01602080910402602001604051908101604052809291908181526020018280546111db906143fa565b80156112285780601f106111fd57610100808354040283529160200191611228565b820191906000526020600020905b81548152906001019060200180831161120b57829003601f168201915b5050505050905090565b60096020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16905085565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e96112d381611f7c565b60006112de85611046565b1461131e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113159061489c565b60405180910390fd5b600060076000815461132f906148eb565b9190508190559050611341858261266d565b80600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555083156113ea576113b57fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf2486612401565b60646009600083815260200190815260200160002060000160016101000a81548160ff021916908360ff160217905550611519565b6114147f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd86612401565b60646009600083815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555060646009600083815260200190815260200160002060000160046101000a81548160ff021916908360ff160217905550807fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f61960646000606480606460405161151095949392919061496f565b60405180910390a25b82600a600083815260200190815260200160002090805190602001906115409291906139bf565b50807fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f61960646000606480606460405161157d95949392919061496f565b60405180910390a2807f70a8f52a5cc7cf2d25e71645299888cb2ed1590225e7fca72f35ac61cf61d324846040516115b59190613bb0565b60405180910390a25050505050565b6000801b81565b6115dd6115d6611ebb565b838361288b565b5050565b600860029054906101000a900460ff1681565b600860039054906101000a900460ff1681565b7f498bf36e2fbef2653329df98fa621b014358e41daebc97009253d2364a1a70bd81565b61163c611636611ebb565b83612072565b61167b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611672906145c2565b60405180910390fd5b611687848484846129f8565b50505050565b600860019054906101000a900460ff1681565b600b6020528060005260406000206000915090505481565b606060006116c5836117bd565b905060006116fb7fd65b6e327dd83cd6cd304493e69128b248953070f6fb45a75b6d1cfb13eaaf246116f686610f5a565b611135565b90506117b4818386600a60008981526020019081526020016000208054611721906143fa565b80601f016020809104026020016040519081016040528092919081815260200182805461174d906143fa565b801561179a5780601f1061176f5761010080835404028352916020019161179a565b820191906000526020600020905b81548152906001019060200180831161177d57829003601f168201915b50505050506117a76108ba565b6117af6111a0565b612a54565b92505050919050565b60006117c882611e70565b600060096000848152602001908152602001600020905060006064600860049054906101000a900460ff1660ff168360000160049054906101000a900460ff1660ff1661181591906149c2565b600860039054906101000a900460ff1660ff168460000160039054906101000a900460ff1660ff1661184791906149c2565b600860029054906101000a900460ff1660ff168560000160029054906101000a900460ff1660ff1661187991906149c2565b600860019054906101000a900460ff1660ff168660000160019054906101000a900460ff1660ff1660646118ad9190614a1c565b6118b791906149c2565b600860009054906101000a900460ff1660ff168760000160009054906101000a900460ff1660ff166118e991906149c2565b6118f39190614a50565b6118fd9190614a50565b6119079190614a50565b6119119190614a50565b61191b9190614ad5565b90508092505050919050565b61193082610b75565b61193981611f7c565b6119438383611f90565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e9611a0681611f7c565b611a0f83611e70565b611a17613a45565b82806020019051810190611a2b9190614b32565b85600001866020018760400188606001896080018560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff168152508560ff1660ff1681525050505050506064816000015160ff161180611a9357506064816020015160ff16115b80611aa557506064816040015160ff16115b80611ab757506064816060015160ff16115b80611ac957506064816080015160ff16115b15611b00576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806009600086815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff160217905550905050837fb396665453a2ebbab31d5f8c27d55053b108e7e9a5ae590567270143f525f61982600001518360200151846040015185606001518660800151604051611c08959493929190614094565b60405180910390a250505050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42611c4081611f7c565b611c6a7f153e6b3a2b240dece8a316463bffae6ab6dd12a1fd2bf40d3215fd838444a9e983612401565b5050565b7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42611c9881611f7c565b600080600080600086806020019051810190611cb49190614b32565b9450945094509450945060648183858789611ccf9190614bad565b611cd99190614bad565b611ce39190614bad565b611ced9190614bad565b60ff1614611d27576040517fc78758c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84600860006101000a81548160ff021916908360ff16021790555083600860016101000a81548160ff021916908360ff16021790555082600860026101000a81548160ff021916908360ff16021790555081600860036101000a81548160ff021916908360ff16021790555080600860046101000a81548160ff021916908360ff1602179055507f61b5a7230e6ad7228528de923cff523fb0666f143f67881732054398000700368585858585604051611de5959493929190614094565b60405180910390a150505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e695750611e6882612b50565b5b9050919050565b611e7981612c32565b611eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf9061479e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f3683610f5a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611f8d81611f88611ebb565b612c73565b50565b611f9a8282611135565b1561206e5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612013611ebb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008061207e83610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120c057506120bf8185611948565b5b806120fe57508373ffffffffffffffffffffffffffffffffffffffff166120e68461094c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661212782610f5a565b73ffffffffffffffffffffffffffffffffffffffff161461217d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217490614c56565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e490614ce8565b60405180910390fd5b6121fa8383836001612cf8565b8273ffffffffffffffffffffffffffffffffffffffff1661221a82610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614612270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226790614c56565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123fc8383836001612db0565b505050565b61240b8282611135565b6124de5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612483611ebb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006124ed82610f5a565b90506124fd816000846001612cf8565b61250682610f5a565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262c816000846001612db0565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d490614d54565b60405180910390fd5b6126e681612c32565b15612726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271d90614dc0565b60405180910390fd5b612734600083836001612cf8565b61273d81612c32565b1561277d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277490614dc0565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612887600083836001612db0565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f190614e2c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129eb9190613c72565b60405180910390a3505050565b612a03848484612107565b612a0f84848484612db6565b612a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4590614ebe565b60405180910390fd5b50505050565b6060808715612a8257604051602001612a6c90614fa7565b6040516020818303038152906040529050612aad565b612a8b87612f3e565b604051602001612a9b91906150b6565b60405160208183030381529060405290505b600084612ab988612f3e565b8786604051602001612ace949392919061526a565b6040516020818303038152906040529050600081612af5612af08c8c8b613016565b6132ac565b84604051602001612b08939291906153c3565b6040516020818303038152906040529050612b22816132ac565b604051602001612b329190615456565b60405160208183030381529060405293505050509695505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c1b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c2b5750612c2a82613410565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612c5483612630565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612c7d8282611135565b612cf457612c8a8161347a565b612c988360001c60206134a7565b604051602001612ca9929190615510565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ceb9190613bb0565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d5f5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b612d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9590615596565b60405180910390fd5b612daa848484846136e3565b50505050565b50505050565b6000612dd78473ffffffffffffffffffffffffffffffffffffffff16613809565b15612f31578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e00611ebb565b8786866040518563ffffffff1660e01b8152600401612e22949392919061560b565b6020604051808303816000875af1925050508015612e5e57506040513d601f19601f82011682018060405250810190612e5b919061566c565b60015b612ee1573d8060008114612e8e576040519150601f19603f3d011682016040523d82523d6000602084013e612e93565b606091505b50600081511415612ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed090614ebe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f36565b600190505b949350505050565b606060006001612f4d8461382c565b01905060008167ffffffffffffffff811115612f6c57612f6b613f0d565b5b6040519080825280601f01601f191660200182016040528015612f9e5781602001600182028036833780820191505090505b509050600082602001820190505b60011561300b578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ff557612ff4614aa6565b5b04945060008514156130065761300b565b612fac565b819350505050919050565b60608060608060608088156130d2576040518060400160405280600681526020017f623965376265000000000000000000000000000000000000000000000000000081525093506040518060400160405280600781526020017f677265656e223e0000000000000000000000000000000000000000000000000081525092506040518060400160405280600881526020017f454e48414e43455200000000000000000000000000000000000000000000000081525091506131bf565b6040518060400160405280600681526020017f666665616564000000000000000000000000000000000000000000000000000081525093506040518060400160405280600a81526020017f6465657070696e6b223e0000000000000000000000000000000000000000000081525092506040518060400160405280600381526020017f574f42000000000000000000000000000000000000000000000000000000000081525091506040518060800160405280605581526020016158266055913961319c89612f3e565b6040516020016131ad929190615699565b60405160208183030381529060405290505b600087511115613208576040518060800160405280604781526020016159316047913983886040516020016131f6939291906156bd565b60405160208183030381529060405294505b6040518060e0016040528060b6815260200161587b60b69139846040518061020001604052806101c981526020016159b86101c99139858589866040518060400160405280601181526020017f3c2f746578743e3c2f673e3c2f7376673e00000000000000000000000000000081525060405160200161328f9897969594939291906156ee565b604051602081830303815290604052955050505050509392505050565b60606000825114156132cf5760405180602001604052806000815250905061340b565b600060405180606001604052806040815260200161597860409139905060006003600285516132fe9190614a50565b6133089190614ad5565b600461331491906149c2565b67ffffffffffffffff81111561332d5761332c613f0d565b5b6040519080825280601f01601f19166020018201604052801561335f5781602001600182028036833780820191505090505b509050600182016020820185865187015b808210156133cb576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050613370565b50506003865106600181146133e757600281146133fa57613402565b603d6001830353603d6002830353613402565b603d60018303535b50505080925050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606134a08273ffffffffffffffffffffffffffffffffffffffff16601460ff166134a7565b9050919050565b6060600060028360026134ba91906149c2565b6134c49190614a50565b67ffffffffffffffff8111156134dd576134dc613f0d565b5b6040519080825280601f01601f19166020018201604052801561350f5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061354757613546615760565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106135ab576135aa615760565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135eb91906149c2565b6135f59190614a50565b90505b6001811115613695577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061363757613636615760565b5b1a60f81b82828151811061364e5761364d615760565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061368e9061578f565b90506135f8565b50600084146136d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d090615805565b60405180910390fd5b8091505092915050565b600181111561380357600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146137775780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461376f9190614a1c565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138025780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137fa9190614a50565b925050819055505b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061388a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816138805761387f614aa6565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106138c7576d04ee2d6d415b85acef810000000083816138bd576138bc614aa6565b5b0492506020810190505b662386f26fc1000083106138f657662386f26fc1000083816138ec576138eb614aa6565b5b0492506010810190505b6305f5e100831061391f576305f5e100838161391557613914614aa6565b5b0492506008810190505b612710831061394457612710838161393a57613939614aa6565b5b0492506004810190505b60648310613967576064838161395d5761395c614aa6565b5b0492506002810190505b600a8310613976576001810190505b80915050919050565b50805461398b906143fa565b6000825580601f1061399d57506139bc565b601f0160209004906000526020600020908101906139bb9190613a83565b5b50565b8280546139cb906143fa565b90600052602060002090601f0160209004810192826139ed5760008555613a34565b82601f10613a0657805160ff1916838001178555613a34565b82800160010185558215613a34579182015b82811115613a33578251825591602001919060010190613a18565b5b509050613a419190613a83565b5090565b6040518060a00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b5b80821115613a9c576000816000905550600101613a84565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b613ac781613ab4565b8114613ad257600080fd5b50565b600081359050613ae481613abe565b92915050565b600060208284031215613b0057613aff613aaa565b5b6000613b0e84828501613ad5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b51578082015181840152602081019050613b36565b83811115613b60576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b8282613b17565b613b8c8185613b22565b9350613b9c818560208601613b33565b613ba581613b66565b840191505092915050565b60006020820190508181036000830152613bca8184613b77565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c0781613bd2565b8114613c1257600080fd5b50565b600081359050613c2481613bfe565b92915050565b600060208284031215613c4057613c3f613aaa565b5b6000613c4e84828501613c15565b91505092915050565b60008115159050919050565b613c6c81613c57565b82525050565b6000602082019050613c876000830184613c63565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613cb882613c8d565b9050919050565b613cc881613cad565b82525050565b6000602082019050613ce36000830184613cbf565b92915050565b613cf281613cad565b8114613cfd57600080fd5b50565b600081359050613d0f81613ce9565b92915050565b60008060408385031215613d2c57613d2b613aaa565b5b6000613d3a85828601613d00565b9250506020613d4b85828601613ad5565b9150509250929050565b600060208284031215613d6b57613d6a613aaa565b5b6000613d7984828501613d00565b91505092915050565b613d8b81613ab4565b82525050565b6000602082019050613da66000830184613d82565b92915050565b600080600060608486031215613dc557613dc4613aaa565b5b6000613dd386828701613d00565b9350506020613de486828701613d00565b9250506040613df586828701613ad5565b9150509250925092565b6000819050919050565b613e1281613dff565b8114613e1d57600080fd5b50565b600081359050613e2f81613e09565b92915050565b600060208284031215613e4b57613e4a613aaa565b5b6000613e5984828501613e20565b91505092915050565b613e6b81613dff565b82525050565b6000602082019050613e866000830184613e62565b92915050565b600060ff82169050919050565b613ea281613e8c565b82525050565b6000602082019050613ebd6000830184613e99565b92915050565b60008060408385031215613eda57613ed9613aaa565b5b6000613ee885828601613e20565b9250506020613ef985828601613d00565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f4582613b66565b810181811067ffffffffffffffff82111715613f6457613f63613f0d565b5b80604052505050565b6000613f77613aa0565b9050613f838282613f3c565b919050565b600067ffffffffffffffff821115613fa357613fa2613f0d565b5b613fac82613b66565b9050602081019050919050565b82818337600083830152505050565b6000613fdb613fd684613f88565b613f6d565b905082815260208101848484011115613ff757613ff6613f08565b5b614002848285613fb9565b509392505050565b600082601f83011261401f5761401e613f03565b5b813561402f848260208601613fc8565b91505092915050565b6000806040838503121561404f5761404e613aaa565b5b600061405d85828601613ad5565b925050602083013567ffffffffffffffff81111561407e5761407d613aaf565b5b61408a8582860161400a565b9150509250929050565b600060a0820190506140a96000830188613e99565b6140b66020830187613e99565b6140c36040830186613e99565b6140d06060830185613e99565b6140dd6080830184613e99565b9695505050505050565b6140f081613c57565b81146140fb57600080fd5b50565b60008135905061410d816140e7565b92915050565b60008060006060848603121561412c5761412b613aaa565b5b600061413a86828701613d00565b935050602061414b868287016140fe565b925050604084013567ffffffffffffffff81111561416c5761416b613aaf565b5b6141788682870161400a565b9150509250925092565b6000806040838503121561419957614198613aaa565b5b60006141a785828601613d00565b92505060206141b8858286016140fe565b9150509250929050565b600067ffffffffffffffff8211156141dd576141dc613f0d565b5b6141e682613b66565b9050602081019050919050565b6000614206614201846141c2565b613f6d565b90508281526020810184848401111561422257614221613f08565b5b61422d848285613fb9565b509392505050565b600082601f83011261424a57614249613f03565b5b813561425a8482602086016141f3565b91505092915050565b6000806000806080858703121561427d5761427c613aaa565b5b600061428b87828801613d00565b945050602061429c87828801613d00565b93505060406142ad87828801613ad5565b925050606085013567ffffffffffffffff8111156142ce576142cd613aaf565b5b6142da87828801614235565b91505092959194509250565b600080604083850312156142fd576142fc613aaa565b5b600061430b85828601613d00565b925050602061431c85828601613d00565b9150509250929050565b6000806040838503121561433d5761433c613aaa565b5b600061434b85828601613ad5565b925050602083013567ffffffffffffffff81111561436c5761436b613aaf565b5b61437885828601614235565b9150509250929050565b60006020828403121561439857614397613aaa565b5b600082013567ffffffffffffffff8111156143b6576143b5613aaf565b5b6143c284828501614235565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061441257607f821691505b60208210811415614426576144256143cb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614488602183613b22565b91506144938261442c565b604082019050919050565b600060208201905081810360008301526144b78161447b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061451a603d83613b22565b9150614525826144be565b604082019050919050565b600060208201905081810360008301526145498161450d565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006145ac602d83613b22565b91506145b782614550565b604082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061463e602f83613b22565b9150614649826145e2565b604082019050919050565b6000602082019050818103600083015261466d81614631565b9050919050565b6000819050919050565b6000819050919050565b60006146a361469e61469984614674565b61467e565b613e8c565b9050919050565b6146b381614688565b82525050565b600060a0820190506146ce60008301886146aa565b6146db60208301876146aa565b6146e860408301866146aa565b6146f560608301856146aa565b61470260808301846146aa565b9695505050505050565b50565b600061471c600083613b22565b91506147278261470c565b600082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614788601883613b22565b915061479382614752565b602082019050919050565b600060208201905081810360008301526147b78161477b565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061481a602983613b22565b9150614825826147be565b604082019050919050565b600060208201905081810360008301526148498161480d565b9050919050565b7f416c726561647920526567697374657265640000000000000000000000000000600082015250565b6000614886601283613b22565b915061489182614850565b602082019050919050565b600060208201905081810360008301526148b581614879565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f682613ab4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614929576149286148bc565b5b600182019050919050565b6000819050919050565b600061495961495461494f84614934565b61467e565b613e8c565b9050919050565b6149698161493e565b82525050565b600060a0820190506149846000830188614960565b61499160208301876146aa565b61499e6040830186614960565b6149ab6060830185614960565b6149b86080830184614960565b9695505050505050565b60006149cd82613ab4565b91506149d883613ab4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a1157614a106148bc565b5b828202905092915050565b6000614a2782613ab4565b9150614a3283613ab4565b925082821015614a4557614a446148bc565b5b828203905092915050565b6000614a5b82613ab4565b9150614a6683613ab4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a9b57614a9a6148bc565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ae082613ab4565b9150614aeb83613ab4565b925082614afb57614afa614aa6565b5b828204905092915050565b614b0f81613e8c565b8114614b1a57600080fd5b50565b600081519050614b2c81614b06565b92915050565b600080600080600060a08688031215614b4e57614b4d613aaa565b5b6000614b5c88828901614b1d565b9550506020614b6d88828901614b1d565b9450506040614b7e88828901614b1d565b9350506060614b8f88828901614b1d565b9250506080614ba088828901614b1d565b9150509295509295909350565b6000614bb882613e8c565b9150614bc383613e8c565b92508260ff03821115614bd957614bd86148bc565b5b828201905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c40602583613b22565b9150614c4b82614be4565b604082019050919050565b60006020820190508181036000830152614c6f81614c33565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614cd2602483613b22565b9150614cdd82614c76565b604082019050919050565b60006020820190508181036000830152614d0181614cc5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d3e602083613b22565b9150614d4982614d08565b602082019050919050565b60006020820190508181036000830152614d6d81614d31565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614daa601c83613b22565b9150614db582614d74565b602082019050919050565b60006020820190508181036000830152614dd981614d9d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614e16601983613b22565b9150614e2182614de0565b602082019050919050565b60006020820190508181036000830152614e4581614e09565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ea8603283613b22565b9150614eb382614e4c565b604082019050919050565b60006020820190508181036000830152614ed781614e9b565b9050919050565b600081905092915050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a225560008201527f7365722054797065222c2276616c7565223a2200000000000000000000000000602082015250565b6000614f45603383614ede565b9150614f5082614ee9565b603382019050919050565b7f456e68616e636572000000000000000000000000000000000000000000000000600082015250565b6000614f91600883614ede565b9150614f9c82614f5b565b600882019050919050565b6000614fb282614f38565b9150614fbd82614f84565b9150819050919050565b7f574f420000000000000000000000000000000000000000000000000000000000600082015250565b6000614ffd600383614ede565b915061500882614fc7565b600382019050919050565b7f227d2c7b2274726169745f74797065223a2253636f7265222c2276616c75652260008201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b600061506f602283614ede565b915061507a82615013565b602282019050919050565b600061509082613b17565b61509a8185614ede565b93506150aa818560208601613b33565b80840191505092915050565b60006150c182614f38565b91506150cc82614ff0565b91506150d782615062565b91506150e38284615085565b915081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000615124600983614ede565b915061512f826150ee565b600982019050919050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b6000615170600283614ede565b915061517b8261513a565b600282019050919050565b7f2028000000000000000000000000000000000000000000000000000000000000600082015250565b60006151bc600283614ede565b91506151c782615186565b600282019050919050565b7f2900000000000000000000000000000000000000000000000000000000000000600082015250565b6000615208600183614ede565b9150615213826151d2565b600182019050919050565b7f222c2273796d626f6c223a220000000000000000000000000000000000000000600082015250565b6000615254600c83614ede565b915061525f8261521e565b600c82019050919050565b600061527582615117565b91506152818287615085565b915061528c82615163565b91506152988286615085565b91506152a3826151af565b91506152af8285615085565b91506152ba826151fb565b91506152c582615247565b91506152d18284615085565b915081905095945050505050565b7f222c226465736372697074696f6e223a225361637564612053636f72696e672260008201527f2c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626160208201527f736536342c000000000000000000000000000000000000000000000000000000604082015250565b6000615361604583614ede565b915061536c826152df565b604582019050919050565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b60006153ad600483614ede565b91506153b882615377565b600482019050919050565b60006153cf8286615085565b91506153da82615354565b91506153e68285615085565b91506153f28284615085565b91506153fd826153a0565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000615440601d83614ede565b915061544b8261540a565b601d82019050919050565b600061546182615433565b915061546d8284615085565b915081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006154ae601783614ede565b91506154b982615478565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006154fa601183614ede565b9150615505826154c4565b601182019050919050565b600061551b826154a1565b91506155278285615085565b9150615532826154ed565b915061553e8284615085565b91508190509392505050565b7f4e6f6e2d5472616e7366657261626c6520546f6b656e00000000000000000000600082015250565b6000615580601683613b22565b915061558b8261554a565b602082019050919050565b600060208201905081810360008301526155af81615573565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155dd826155b6565b6155e781856155c1565b93506155f7818560208601613b33565b61560081613b66565b840191505092915050565b60006080820190506156206000830187613cbf565b61562d6020830186613cbf565b61563a6040830185613d82565b818103606083015261564c81846155d2565b905095945050505050565b60008151905061566681613bfe565b92915050565b60006020828403121561568257615681613aaa565b5b600061569084828501615657565b91505092915050565b60006156a58285615085565b91506156b18284615085565b91508190509392505050565b60006156c98286615085565b91506156d58285615085565b91506156e18284615085565b9150819050949350505050565b60006156fa828b615085565b9150615706828a615085565b91506157128289615085565b915061571e8288615085565b915061572a8287615085565b91506157368286615085565b91506157428285615085565b915061574e8284615085565b91508190509998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061579a82613ab4565b915060008214156157ae576157ad6148bc565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006157ef602083613b22565b91506157fa826157b9565b602082019050919050565b6000602082019050818103600083015261581e816157e2565b905091905056fe3c2f746578743e3c7465787420783d223530252220793d223830252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223438222066696c6c3d22636f72616c223e53434f52453a203c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2235303022206865696768743d22353030222076696577426f783d2230203020363030203630302220666f6e742d66616d696c793d22417269616c2c2048656c7665746963612c2073616e732d7365726966223e3c7265637420783d22302220793d2230222077696474683d223130302522206865696768743d2231303025222066696c6c3d22233c2f746578743e3c7465787420783d223530252220793d223634252220746578742d616e63686f723d226d6964646c652220666f6e742d73697a653d223336222066696c6c3d224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222072783d22352522202f3e3c672069643d226c6f676f222066696c6c3d2223303339386230223e3c7061746820643d226d3437203235632d31382030202d3138203135202d31382031382030203233203235203332203336203332203220302033202d312033202d332030202d33202d32202d34202d32202d32306330202d3135202d34202d3237202d3139202d32376d3239203530632d362030202d362031202d3620332030203120313120333320323820333320392030203137202d37203137202d31372030202d382030202d3139202d3339202d31396d2030202d32306131322031322030203120302032342030613132203132203020312030202d323420306d2d33342033386131312031312030203120302032322030613131203131203020312030202d323220307a22202f3e3c2f673e3c672069643d22746578742220666f6e742d73697a653d223830223e3c7465787420783d223134302220793d223131302220666f6e742d7765696768743d22626f6c646572222066696c6c3d222330303061223e5341435544413c2f746578743e3c7465787420783d223530252220793d223530252220746578742d616e63686f723d226d6964646c65222066696c6c3d22a264697066735822122012dba63d9be816525e8d8e2a7bdc9119da0226e46cf59a21f07a150a53f465ea64736f6c634300080b0033