Address Details
contract

0x90CD3BF6bD7F2f2260d676ad5C8Ff2475CbadCAB

Contract Name
PlastikERC1155V1
Creator
0x4c45c6–9e9f2c at 0x88d05d–4e1215
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
1 Transactions
Transfers
0 Transfers
Gas Used
29,043
Last Balance Update
15962055
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
PlastikERC1155V1




Optimization enabled
false
Compiler version
v0.8.9+commit.e5eed63a




EVM Version
london




Verified at
2022-11-03T12:24:13.162414Z

contracts/PlastikERC1155V1.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";

/// @custom:security-contact daniel@nozama.green
contract PlastikERC1155V1 is
    Ownable,
    ERC1155,
    ERC2981,
    AccessControl,
    Pausable,
    ERC1155Burnable,
    ERC1155Supply
{
    bytes32 public constant URI_SETTER_ROLE = keccak256("URI_SETTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    struct Sign {
        uint8 v;
        bytes32 r;
        bytes32 s;
    }

    constructor() ERC1155("https://plastiks.io") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(URI_SETTER_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, msg.sender);
    }

    function verifySign(string memory tokenURI, Sign memory sign) internal view {
        bytes32 hash = keccak256(abi.encodePacked(this,tokenURI));
        require(owner() == ecrecover(keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)), sign.v, sign.r, sign.s), "Owner sign verification failed");
    }

    function setURI(string memory newuri) public onlyRole(URI_SETTER_ROLE) {
        _setURI(newuri);
    }

    function pause() public onlyRole(PAUSER_ROLE) {
        _pause();
    }

    function unpause() public onlyRole(PAUSER_ROLE) {
        _unpause();
    }

    function mint(
        address account,
        string memory uri,
        uint256 id,
        uint256 amount,
        uint96 fee,
        Sign memory sign,
        bytes memory data
    ) public onlyRole(MINTER_ROLE) {
        verifySign(uri, sign);
        _mint(account, id, amount, data);
        _setTokenRoyalty(id, account, fee);
    }

    //TODO add fee and royalty
    function mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public onlyRole(MINTER_ROLE) {
        _mintBatch(to, ids, amounts, data);
    }

    
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) whenNotPaused {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    // The following functions are overrides required by Solidity.

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

/_openzeppelin/contracts/access/AccessControl.sol

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

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

/_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/access/Ownable.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/interfaces/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts/interfaces/IERC2981.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

/_openzeppelin/contracts/security/Pausable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

/_openzeppelin/contracts/token/ERC1155/ERC1155.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}
          

/_openzeppelin/contracts/token/ERC1155/IERC1155.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}
          

/_openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}
          

/_openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}
          

/_openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}
          

/_openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}
          

/_openzeppelin/contracts/token/common/ERC2981.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}
          

/_openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/_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 v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

/_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);
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"account","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":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","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":"TransferBatch","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256[]","name":"ids","internalType":"uint256[]","indexed":false},{"type":"uint256[]","name":"values","internalType":"uint256[]","indexed":false}],"anonymous":false},{"type":"event","name":"TransferSingle","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"URI","inputs":[{"type":"string","name":"value","internalType":"string","indexed":false},{"type":"uint256","name":"id","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"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":"MINTER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"PAUSER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"URI_SETTER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"balanceOfBatch","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burnBatch","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint256[]","name":"values","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"exists","inputs":[{"type":"uint256","name":"id","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":"account","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"string","name":"uri","internalType":"string"},{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint96","name":"fee","internalType":"uint96"},{"type":"tuple","name":"sign","internalType":"struct PlastikERC1155V1.Sign","components":[{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintBatch","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"royaltyInfo","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_salePrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeBatchTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setURI","inputs":[{"type":"string","name":"newuri","internalType":"string"}]},{"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":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uri","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b506040518060400160405280601381526020017f68747470733a2f2f706c617374696b732e696f00000000000000000000000000815250620000686200005c6200014660201b60201c565b6200014e60201b60201c565b62000079816200021260201b60201c565b506000600760006101000a81548160ff021916908315150217905550620000aa6000801b336200022e60201b60201c565b620000dc7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c336200022e60201b60201c565b6200010e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200022e60201b60201c565b620001407f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200022e60201b60201c565b620004a0565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600390805190602001906200022a9291906200038b565b5050565b6200024082826200032060201b60201c565b6200031c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002c16200014660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82805462000399906200046a565b90600052602060002090601f016020900481019282620003bd576000855562000409565b82601f10620003d857805160ff191683800117855562000409565b8280016001018555821562000409579182015b8281111562000408578251825591602001919060010190620003eb565b5b5090506200041891906200041c565b5090565b5b80821115620004375760008160009055506001016200041d565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200048357607f821691505b602082108114156200049a57620004996200043b565b5b50919050565b61573c80620004b06000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c8063715018a61161010f578063bd85b039116100a2578063e985e9c511610071578063e985e9c514610568578063f242432a14610598578063f2fde38b146105b4578063f5298aca146105d0576101e4565b8063bd85b039146104e0578063d539139314610510578063d547741f1461052e578063e63ab1e91461054a576101e4565b80638da5cb5b116100de5780638da5cb5b1461045857806391d1485414610476578063a217fddf146104a6578063a22cb465146104c4576101e4565b8063715018a61461040a5780637f345710146104145780638272c554146104325780638456cb591461044e576101e4565b80632eb2c2d6116101875780634e1273f4116101565780634e1273f4146103705780634f558e79146103a05780635c975abb146103d05780636b20c454146103ee576101e4565b80632eb2c2d6146103125780632f2ff15d1461032e57806336568abe1461034a5780633f4ba83a14610366576101e4565b80630e89341c116101c35780630e89341c146102655780631f7fdffa14610295578063248a9ca3146102b15780632a55205a146102e1576101e4565b8062fdd58e146101e957806301ffc9a71461021957806302fe530514610249575b600080fd5b61020360048036038101906101fe91906135ac565b6105ec565b60405161021091906135fb565b60405180910390f35b610233600480360381019061022e919061366e565b6106b6565b60405161024091906136b6565b60405180910390f35b610263600480360381019061025e9190613817565b6106c8565b005b61027f600480360381019061027a9190613860565b610707565b60405161028c9190613915565b60405180910390f35b6102af60048036038101906102aa9190613aa0565b61079b565b005b6102cb60048036038101906102c69190613b91565b6107e0565b6040516102d89190613bcd565b60405180910390f35b6102fb60048036038101906102f69190613be8565b610800565b604051610309929190613c37565b60405180910390f35b61032c60048036038101906103279190613c60565b6109eb565b005b61034860048036038101906103439190613d2f565b610a8c565b005b610364600480360381019061035f9190613d2f565b610ab5565b005b61036e610b38565b005b61038a60048036038101906103859190613e32565b610b75565b6040516103979190613f68565b60405180910390f35b6103ba60048036038101906103b59190613860565b610c8e565b6040516103c791906136b6565b60405180910390f35b6103d8610ca2565b6040516103e591906136b6565b60405180910390f35b61040860048036038101906104039190613f8a565b610cb9565b005b610412610d56565b005b61041c610dde565b6040516104299190613bcd565b60405180910390f35b61044c600480360381019061044791906140fb565b610e02565b005b610456610e5f565b005b610460610e9c565b60405161046d91906141d7565b60405180910390f35b610490600480360381019061048b9190613d2f565b610ec5565b60405161049d91906136b6565b60405180910390f35b6104ae610f30565b6040516104bb9190613bcd565b60405180910390f35b6104de60048036038101906104d9919061421e565b610f37565b005b6104fa60048036038101906104f59190613860565b610f4d565b60405161050791906135fb565b60405180910390f35b610518610f6a565b6040516105259190613bcd565b60405180910390f35b61054860048036038101906105439190613d2f565b610f8e565b005b610552610fb7565b60405161055f9190613bcd565b60405180910390f35b610582600480360381019061057d919061425e565b610fdb565b60405161058f91906136b6565b60405180910390f35b6105b260048036038101906105ad919061429e565b61106f565b005b6105ce60048036038101906105c99190614335565b611110565b005b6105ea60048036038101906105e59190614362565b611208565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561065d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065490614427565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106c1826112a5565b9050919050565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c6106fa816106f561131f565b611327565b610703826113c4565b5050565b60606003805461071690614476565b80601f016020809104026020016040519081016040528092919081815260200182805461074290614476565b801561078f5780601f106107645761010080835404028352916020019161078f565b820191906000526020600020905b81548152906001019060200180831161077257829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66107cd816107c861131f565b611327565b6107d9858585856113de565b5050505050565b600060066000838152602001908152602001600020600101549050919050565b6000806000600560008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156109965760046040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006109a06115fd565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866109cc91906144d7565b6109d69190614560565b90508160000151819350935050509250929050565b6109f361131f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a395750610a3885610a3361131f565b610fdb565b5b610a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6f90614603565b60405180910390fd5b610a858585858585611607565b5050505050565b610a95826107e0565b610aa681610aa161131f565b611327565b610ab0838361191e565b505050565b610abd61131f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614695565b60405180910390fd5b610b3482826119ff565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610b6a81610b6561131f565b611327565b610b72611ae1565b50565b60608151835114610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290614727565b60405180910390fd5b6000835167ffffffffffffffff811115610bd857610bd76136ec565b5b604051908082528060200260200182016040528015610c065781602001602082028036833780820191505090505b50905060005b8451811015610c8357610c53858281518110610c2b57610c2a614747565b5b6020026020010151858381518110610c4657610c45614747565b5b60200260200101516105ec565b828281518110610c6657610c65614747565b5b60200260200101818152505080610c7c90614776565b9050610c0c565b508091505092915050565b600080610c9a83610f4d565b119050919050565b6000600760009054906101000a900460ff16905090565b610cc161131f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d075750610d0683610d0161131f565b610fdb565b5b610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90614831565b60405180910390fd5b610d51838383611b83565b505050565b610d5e61131f565b73ffffffffffffffffffffffffffffffffffffffff16610d7c610e9c565b73ffffffffffffffffffffffffffffffffffffffff1614610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061489d565b60405180910390fd5b610ddc6000611e36565b565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c81565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e3481610e2f61131f565b611327565b610e3e8784611efa565b610e4a88878785612021565b610e558689866121b8565b5050505050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610e9181610e8c61131f565b611327565b610e99612360565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610f49610f4261131f565b8383612403565b5050565b600060086000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610f97826107e0565b610fa881610fa361131f565b611327565b610fb283836119ff565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61107761131f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110bd57506110bc856110b761131f565b610fdb565b5b6110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390614831565b60405180910390fd5b6111098585858585612570565b5050505050565b61111861131f565b73ffffffffffffffffffffffffffffffffffffffff16611136610e9c565b73ffffffffffffffffffffffffffffffffffffffff161461118c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111839061489d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f39061492f565b60405180910390fd5b61120581611e36565b50565b61121061131f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061125657506112558361125061131f565b610fdb565b5b611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90614831565b60405180910390fd5b6112a08383836127f5565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611318575061131782612a14565b5b9050919050565b600033905090565b6113318282610ec5565b6113c0576113568173ffffffffffffffffffffffffffffffffffffffff166014612a8e565b6113648360001c6020612a8e565b604051602001611375929190614a23565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b79190613915565b60405180910390fd5b5050565b80600390805190602001906113da929190613461565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590614acf565b60405180910390fd5b8151835114611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990614b61565b60405180910390fd5b600061149c61131f565b90506114ad81600087878787612cca565b60005b8451811015611567578381815181106114cc576114cb614747565b5b6020026020010151600160008784815181106114eb576114ea614747565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461154d9190614b81565b92505081905550808061155f90614776565b9150506114b0565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115df929190614bd7565b60405180910390a46115f681600087878787612d28565b5050505050565b6000612710905090565b815183511461164b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164290614b61565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b290614c80565b60405180910390fd5b60006116c561131f565b90506116d5818787878787612cca565b60005b84518110156118895760008582815181106116f6576116f5614747565b5b60200260200101519050600085838151811061171557611714614747565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614d12565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461186e9190614b81565b925050819055505050508061188290614776565b90506116d8565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611900929190614bd7565b60405180910390a4611916818787878787612d28565b505050505050565b6119288282610ec5565b6119fb5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119a061131f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a098282610ec5565b15611add5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a8261131f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611ae9610ca2565b611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f90614d7e565b60405180910390fd5b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b6c61131f565b604051611b7991906141d7565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bea90614e10565b60405180910390fd5b8051825114611c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2e90614b61565b60405180910390fd5b6000611c4161131f565b9050611c6181856000868660405180602001604052806000815250612cca565b60005b8351811015611db0576000848281518110611c8257611c81614747565b5b602002602001015190506000848381518110611ca157611ca0614747565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a90614ea2565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611da890614776565b915050611c64565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611e28929190614bd7565b60405180910390a450505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60003083604051602001611f0f929190614f5a565b604051602081830303815290604052805190602001209050600181604051602001611f3a9190614fef565b6040516020818303038152906040528051906020012083600001518460200151856040015160405160008152602001604052604051611f7c9493929190615024565b6020604051602081039080840390855afa158015611f9e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16611fc6610e9c565b73ffffffffffffffffffffffffffffffffffffffff161461201c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612013906150b5565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890614acf565b60405180910390fd5b600061209b61131f565b90506120bc816000876120ad88612f0f565b6120b688612f0f565b87612cca565b826001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211c9190614b81565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161219a9291906150d5565b60405180910390a46121b181600087878787612f89565b5050505050565b6121c06115fd565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561221e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221590615170565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561228e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612285906151dc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b612368610ca2565b156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f90615248565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123ec61131f565b6040516123f991906141d7565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612472576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612469906152da565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161256391906136b6565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d790614c80565b60405180910390fd5b60006125ea61131f565b905061260a8187876125fb88612f0f565b61260488612f0f565b87612cca565b60006001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156126a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269990614d12565b60405180910390fd5b8381036001600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127599190614b81565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516127d69291906150d5565b60405180910390a46127ec828888888888612f89565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285c90614e10565b60405180910390fd5b600061286f61131f565b905061289f8185600061288187612f0f565b61288a87612f0f565b60405180602001604052806000815250612cca565b60006001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e90614ea2565b60405180910390fd5b8281036001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612a059291906150d5565b60405180910390a45050505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a875750612a8682613170565b5b9050919050565b606060006002836002612aa191906144d7565b612aab9190614b81565b67ffffffffffffffff811115612ac457612ac36136ec565b5b6040519080825280601f01601f191660200182016040528015612af65781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612b2e57612b2d614747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612b9257612b91614747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612bd291906144d7565b612bdc9190614b81565b90505b6001811115612c7c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612c1e57612c1d614747565b5b1a60f81b828281518110612c3557612c34614747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c75906152fa565b9050612bdf565b5060008414612cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb790615370565b60405180910390fd5b8091505092915050565b612cd2610ca2565b15612d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0990615248565b60405180910390fd5b612d20868686868686613252565b505050505050565b612d478473ffffffffffffffffffffffffffffffffffffffff166133cc565b15612f07578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d8d9594939291906153e5565b602060405180830381600087803b158015612da757600080fd5b505af1925050508015612dd857506040513d601f19601f82011682018060405250810190612dd59190615462565b60015b612e7e57612de461549c565b806308c379a01415612e415750612df96154be565b80612e045750612e43565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e389190613915565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e75906155c6565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efc90615658565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612f2e57612f2d6136ec565b5b604051908082528060200260200182016040528015612f5c5781602001602082028036833780820191505090505b5090508281600081518110612f7457612f73614747565b5b60200260200101818152505080915050919050565b612fa88473ffffffffffffffffffffffffffffffffffffffff166133cc565b15613168578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fee959493929190615678565b602060405180830381600087803b15801561300857600080fd5b505af192505050801561303957506040513d601f19601f820116820180604052508101906130369190615462565b60015b6130df5761304561549c565b806308c379a014156130a2575061305a6154be565b8061306557506130a4565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130999190613915565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d6906155c6565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315d90615658565b60405180910390fd5b505b505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061323b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061324b575061324a826133ef565b5b9050919050565b613260868686868686613459565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156133125760005b8351811015613310578281815181106132b4576132b3614747565b5b6020026020010151600860008684815181106132d3576132d2614747565b5b6020026020010151815260200190815260200160002060008282546132f89190614b81565b925050819055508061330990614776565b9050613298565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133c45760005b83518110156133c25782818151811061336657613365614747565b5b60200260200101516008600086848151811061338557613384614747565b5b6020026020010151815260200190815260200160002060008282546133aa91906156d2565b92505081905550806133bb90614776565b905061334a565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050505050565b82805461346d90614476565b90600052602060002090601f01602090048101928261348f57600085556134d6565b82601f106134a857805160ff19168380011785556134d6565b828001600101855582156134d6579182015b828111156134d55782518255916020019190600101906134ba565b5b5090506134e391906134e7565b5090565b5b808211156135005760008160009055506001016134e8565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061354382613518565b9050919050565b61355381613538565b811461355e57600080fd5b50565b6000813590506135708161354a565b92915050565b6000819050919050565b61358981613576565b811461359457600080fd5b50565b6000813590506135a681613580565b92915050565b600080604083850312156135c3576135c261350e565b5b60006135d185828601613561565b92505060206135e285828601613597565b9150509250929050565b6135f581613576565b82525050565b600060208201905061361060008301846135ec565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61364b81613616565b811461365657600080fd5b50565b60008135905061366881613642565b92915050565b6000602082840312156136845761368361350e565b5b600061369284828501613659565b91505092915050565b60008115159050919050565b6136b08161369b565b82525050565b60006020820190506136cb60008301846136a7565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613724826136db565b810181811067ffffffffffffffff82111715613743576137426136ec565b5b80604052505050565b6000613756613504565b9050613762828261371b565b919050565b600067ffffffffffffffff821115613782576137816136ec565b5b61378b826136db565b9050602081019050919050565b82818337600083830152505050565b60006137ba6137b584613767565b61374c565b9050828152602081018484840111156137d6576137d56136d6565b5b6137e1848285613798565b509392505050565b600082601f8301126137fe576137fd6136d1565b5b813561380e8482602086016137a7565b91505092915050565b60006020828403121561382d5761382c61350e565b5b600082013567ffffffffffffffff81111561384b5761384a613513565b5b613857848285016137e9565b91505092915050565b6000602082840312156138765761387561350e565b5b600061388484828501613597565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138c75780820151818401526020810190506138ac565b838111156138d6576000848401525b50505050565b60006138e78261388d565b6138f18185613898565b93506139018185602086016138a9565b61390a816136db565b840191505092915050565b6000602082019050818103600083015261392f81846138dc565b905092915050565b600067ffffffffffffffff821115613952576139516136ec565b5b602082029050602081019050919050565b600080fd5b600061397b61397684613937565b61374c565b9050808382526020820190506020840283018581111561399e5761399d613963565b5b835b818110156139c757806139b38882613597565b8452602084019350506020810190506139a0565b5050509392505050565b600082601f8301126139e6576139e56136d1565b5b81356139f6848260208601613968565b91505092915050565b600067ffffffffffffffff821115613a1a57613a196136ec565b5b613a23826136db565b9050602081019050919050565b6000613a43613a3e846139ff565b61374c565b905082815260208101848484011115613a5f57613a5e6136d6565b5b613a6a848285613798565b509392505050565b600082601f830112613a8757613a866136d1565b5b8135613a97848260208601613a30565b91505092915050565b60008060008060808587031215613aba57613ab961350e565b5b6000613ac887828801613561565b945050602085013567ffffffffffffffff811115613ae957613ae8613513565b5b613af5878288016139d1565b935050604085013567ffffffffffffffff811115613b1657613b15613513565b5b613b22878288016139d1565b925050606085013567ffffffffffffffff811115613b4357613b42613513565b5b613b4f87828801613a72565b91505092959194509250565b6000819050919050565b613b6e81613b5b565b8114613b7957600080fd5b50565b600081359050613b8b81613b65565b92915050565b600060208284031215613ba757613ba661350e565b5b6000613bb584828501613b7c565b91505092915050565b613bc781613b5b565b82525050565b6000602082019050613be26000830184613bbe565b92915050565b60008060408385031215613bff57613bfe61350e565b5b6000613c0d85828601613597565b9250506020613c1e85828601613597565b9150509250929050565b613c3181613538565b82525050565b6000604082019050613c4c6000830185613c28565b613c5960208301846135ec565b9392505050565b600080600080600060a08688031215613c7c57613c7b61350e565b5b6000613c8a88828901613561565b9550506020613c9b88828901613561565b945050604086013567ffffffffffffffff811115613cbc57613cbb613513565b5b613cc8888289016139d1565b935050606086013567ffffffffffffffff811115613ce957613ce8613513565b5b613cf5888289016139d1565b925050608086013567ffffffffffffffff811115613d1657613d15613513565b5b613d2288828901613a72565b9150509295509295909350565b60008060408385031215613d4657613d4561350e565b5b6000613d5485828601613b7c565b9250506020613d6585828601613561565b9150509250929050565b600067ffffffffffffffff821115613d8a57613d896136ec565b5b602082029050602081019050919050565b6000613dae613da984613d6f565b61374c565b90508083825260208201905060208402830185811115613dd157613dd0613963565b5b835b81811015613dfa5780613de68882613561565b845260208401935050602081019050613dd3565b5050509392505050565b600082601f830112613e1957613e186136d1565b5b8135613e29848260208601613d9b565b91505092915050565b60008060408385031215613e4957613e4861350e565b5b600083013567ffffffffffffffff811115613e6757613e66613513565b5b613e7385828601613e04565b925050602083013567ffffffffffffffff811115613e9457613e93613513565b5b613ea0858286016139d1565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613edf81613576565b82525050565b6000613ef18383613ed6565b60208301905092915050565b6000602082019050919050565b6000613f1582613eaa565b613f1f8185613eb5565b9350613f2a83613ec6565b8060005b83811015613f5b578151613f428882613ee5565b9750613f4d83613efd565b925050600181019050613f2e565b5085935050505092915050565b60006020820190508181036000830152613f828184613f0a565b905092915050565b600080600060608486031215613fa357613fa261350e565b5b6000613fb186828701613561565b935050602084013567ffffffffffffffff811115613fd257613fd1613513565b5b613fde868287016139d1565b925050604084013567ffffffffffffffff811115613fff57613ffe613513565b5b61400b868287016139d1565b9150509250925092565b60006bffffffffffffffffffffffff82169050919050565b61403681614015565b811461404157600080fd5b50565b6000813590506140538161402d565b92915050565b600080fd5b600060ff82169050919050565b6140748161405e565b811461407f57600080fd5b50565b6000813590506140918161406b565b92915050565b6000606082840312156140ad576140ac614059565b5b6140b7606061374c565b905060006140c784828501614082565b60008301525060206140db84828501613b7c565b60208301525060406140ef84828501613b7c565b60408301525092915050565b6000806000806000806000610120888a03121561411b5761411a61350e565b5b60006141298a828b01613561565b975050602088013567ffffffffffffffff81111561414a57614149613513565b5b6141568a828b016137e9565b96505060406141678a828b01613597565b95505060606141788a828b01613597565b94505060806141898a828b01614044565b93505060a061419a8a828b01614097565b92505061010088013567ffffffffffffffff8111156141bc576141bb613513565b5b6141c88a828b01613a72565b91505092959891949750929550565b60006020820190506141ec6000830184613c28565b92915050565b6141fb8161369b565b811461420657600080fd5b50565b600081359050614218816141f2565b92915050565b600080604083850312156142355761423461350e565b5b600061424385828601613561565b925050602061425485828601614209565b9150509250929050565b600080604083850312156142755761427461350e565b5b600061428385828601613561565b925050602061429485828601613561565b9150509250929050565b600080600080600060a086880312156142ba576142b961350e565b5b60006142c888828901613561565b95505060206142d988828901613561565b94505060406142ea88828901613597565b93505060606142fb88828901613597565b925050608086013567ffffffffffffffff81111561431c5761431b613513565b5b61432888828901613a72565b9150509295509295909350565b60006020828403121561434b5761434a61350e565b5b600061435984828501613561565b91505092915050565b60008060006060848603121561437b5761437a61350e565b5b600061438986828701613561565b935050602061439a86828701613597565b92505060406143ab86828701613597565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614411602b83613898565b915061441c826143b5565b604082019050919050565b6000602082019050818103600083015261444081614404565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061448e57607f821691505b602082108114156144a2576144a1614447565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144e282613576565b91506144ed83613576565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614526576145256144a8565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061456b82613576565b915061457683613576565b92508261458657614585614531565b5b828204905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006145ed603283613898565b91506145f882614591565b604082019050919050565b6000602082019050818103600083015261461c816145e0565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061467f602f83613898565b915061468a82614623565b604082019050919050565b600060208201905081810360008301526146ae81614672565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614711602983613898565b915061471c826146b5565b604082019050919050565b6000602082019050818103600083015261474081614704565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061478182613576565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147b4576147b36144a8565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061481b602983613898565b9150614826826147bf565b604082019050919050565b6000602082019050818103600083015261484a8161480e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614887602083613898565b915061489282614851565b602082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614919602683613898565b9150614924826148bd565b604082019050919050565b600060208201905081810360008301526149488161490c565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061499060178361494f565b915061499b8261495a565b601782019050919050565b60006149b18261388d565b6149bb818561494f565b93506149cb8185602086016138a9565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614a0d60118361494f565b9150614a18826149d7565b601182019050919050565b6000614a2e82614983565b9150614a3a82856149a6565b9150614a4582614a00565b9150614a5182846149a6565b91508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ab9602183613898565b9150614ac482614a5d565b604082019050919050565b60006020820190508181036000830152614ae881614aac565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614b4b602883613898565b9150614b5682614aef565b604082019050919050565b60006020820190508181036000830152614b7a81614b3e565b9050919050565b6000614b8c82613576565b9150614b9783613576565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bcc57614bcb6144a8565b5b828201905092915050565b60006040820190508181036000830152614bf18185613f0a565b90508181036020830152614c058184613f0a565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614c6a602583613898565b9150614c7582614c0e565b604082019050919050565b60006020820190508181036000830152614c9981614c5d565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614cfc602a83613898565b9150614d0782614ca0565b604082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614d68601483613898565b9150614d7382614d32565b602082019050919050565b60006020820190508181036000830152614d9781614d5b565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614dfa602383613898565b9150614e0582614d9e565b604082019050919050565b60006020820190508181036000830152614e2981614ded565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614e8c602483613898565b9150614e9782614e30565b604082019050919050565b60006020820190508181036000830152614ebb81614e7f565b9050919050565b6000819050919050565b6000614ee7614ee2614edd84613518565b614ec2565b613518565b9050919050565b6000614ef982614ecc565b9050919050565b6000614f0b82614eee565b9050919050565b60008160601b9050919050565b6000614f2a82614f12565b9050919050565b6000614f3c82614f1f565b9050919050565b614f54614f4f82614f00565b614f31565b82525050565b6000614f668285614f43565b601482019150614f7682846149a6565b91508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614fb8601c8361494f565b9150614fc382614f82565b601c82019050919050565b6000819050919050565b614fe9614fe482613b5b565b614fce565b82525050565b6000614ffa82614fab565b91506150068284614fd8565b60208201915081905092915050565b61501e8161405e565b82525050565b60006080820190506150396000830187613bbe565b6150466020830186615015565b6150536040830185613bbe565b6150606060830184613bbe565b95945050505050565b7f4f776e6572207369676e20766572696669636174696f6e206661696c65640000600082015250565b600061509f601e83613898565b91506150aa82615069565b602082019050919050565b600060208201905081810360008301526150ce81615092565b9050919050565b60006040820190506150ea60008301856135ec565b6150f760208301846135ec565b9392505050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061515a602a83613898565b9150615165826150fe565b604082019050919050565b600060208201905081810360008301526151898161514d565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b60006151c6601b83613898565b91506151d182615190565b602082019050919050565b600060208201905081810360008301526151f5816151b9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615232601083613898565b915061523d826151fc565b602082019050919050565b6000602082019050818103600083015261526181615225565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006152c4602983613898565b91506152cf82615268565b604082019050919050565b600060208201905081810360008301526152f3816152b7565b9050919050565b600061530582613576565b91506000821415615319576153186144a8565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061535a602083613898565b915061536582615324565b602082019050919050565b600060208201905081810360008301526153898161534d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006153b782615390565b6153c1818561539b565b93506153d18185602086016138a9565b6153da816136db565b840191505092915050565b600060a0820190506153fa6000830188613c28565b6154076020830187613c28565b81810360408301526154198186613f0a565b9050818103606083015261542d8185613f0a565b9050818103608083015261544181846153ac565b90509695505050505050565b60008151905061545c81613642565b92915050565b6000602082840312156154785761547761350e565b5b60006154868482850161544d565b91505092915050565b60008160e01c9050919050565b600060033d11156154bb5760046000803e6154b860005161548f565b90505b90565b600060443d10156154ce57615551565b6154d6613504565b60043d036004823e80513d602482011167ffffffffffffffff821117156154fe575050615551565b808201805167ffffffffffffffff81111561551c5750505050615551565b80602083010160043d038501811115615539575050505050615551565b6155488260200185018661371b565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006155b0603483613898565b91506155bb82615554565b604082019050919050565b600060208201905081810360008301526155df816155a3565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615642602883613898565b915061564d826155e6565b604082019050919050565b6000602082019050818103600083015261567181615635565b9050919050565b600060a08201905061568d6000830188613c28565b61569a6020830187613c28565b6156a760408301866135ec565b6156b460608301856135ec565b81810360808301526156c681846153ac565b90509695505050505050565b60006156dd82613576565b91506156e883613576565b9250828210156156fb576156fa6144a8565b5b82820390509291505056fea2646970667358221220d1e2b07d6a37be6c9d220b45ad90a0b9ad1c97feeab6846910c13d821f1b115a64736f6c63430008090033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101e45760003560e01c8063715018a61161010f578063bd85b039116100a2578063e985e9c511610071578063e985e9c514610568578063f242432a14610598578063f2fde38b146105b4578063f5298aca146105d0576101e4565b8063bd85b039146104e0578063d539139314610510578063d547741f1461052e578063e63ab1e91461054a576101e4565b80638da5cb5b116100de5780638da5cb5b1461045857806391d1485414610476578063a217fddf146104a6578063a22cb465146104c4576101e4565b8063715018a61461040a5780637f345710146104145780638272c554146104325780638456cb591461044e576101e4565b80632eb2c2d6116101875780634e1273f4116101565780634e1273f4146103705780634f558e79146103a05780635c975abb146103d05780636b20c454146103ee576101e4565b80632eb2c2d6146103125780632f2ff15d1461032e57806336568abe1461034a5780633f4ba83a14610366576101e4565b80630e89341c116101c35780630e89341c146102655780631f7fdffa14610295578063248a9ca3146102b15780632a55205a146102e1576101e4565b8062fdd58e146101e957806301ffc9a71461021957806302fe530514610249575b600080fd5b61020360048036038101906101fe91906135ac565b6105ec565b60405161021091906135fb565b60405180910390f35b610233600480360381019061022e919061366e565b6106b6565b60405161024091906136b6565b60405180910390f35b610263600480360381019061025e9190613817565b6106c8565b005b61027f600480360381019061027a9190613860565b610707565b60405161028c9190613915565b60405180910390f35b6102af60048036038101906102aa9190613aa0565b61079b565b005b6102cb60048036038101906102c69190613b91565b6107e0565b6040516102d89190613bcd565b60405180910390f35b6102fb60048036038101906102f69190613be8565b610800565b604051610309929190613c37565b60405180910390f35b61032c60048036038101906103279190613c60565b6109eb565b005b61034860048036038101906103439190613d2f565b610a8c565b005b610364600480360381019061035f9190613d2f565b610ab5565b005b61036e610b38565b005b61038a60048036038101906103859190613e32565b610b75565b6040516103979190613f68565b60405180910390f35b6103ba60048036038101906103b59190613860565b610c8e565b6040516103c791906136b6565b60405180910390f35b6103d8610ca2565b6040516103e591906136b6565b60405180910390f35b61040860048036038101906104039190613f8a565b610cb9565b005b610412610d56565b005b61041c610dde565b6040516104299190613bcd565b60405180910390f35b61044c600480360381019061044791906140fb565b610e02565b005b610456610e5f565b005b610460610e9c565b60405161046d91906141d7565b60405180910390f35b610490600480360381019061048b9190613d2f565b610ec5565b60405161049d91906136b6565b60405180910390f35b6104ae610f30565b6040516104bb9190613bcd565b60405180910390f35b6104de60048036038101906104d9919061421e565b610f37565b005b6104fa60048036038101906104f59190613860565b610f4d565b60405161050791906135fb565b60405180910390f35b610518610f6a565b6040516105259190613bcd565b60405180910390f35b61054860048036038101906105439190613d2f565b610f8e565b005b610552610fb7565b60405161055f9190613bcd565b60405180910390f35b610582600480360381019061057d919061425e565b610fdb565b60405161058f91906136b6565b60405180910390f35b6105b260048036038101906105ad919061429e565b61106f565b005b6105ce60048036038101906105c99190614335565b611110565b005b6105ea60048036038101906105e59190614362565b611208565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561065d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065490614427565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106c1826112a5565b9050919050565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c6106fa816106f561131f565b611327565b610703826113c4565b5050565b60606003805461071690614476565b80601f016020809104026020016040519081016040528092919081815260200182805461074290614476565b801561078f5780601f106107645761010080835404028352916020019161078f565b820191906000526020600020905b81548152906001019060200180831161077257829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66107cd816107c861131f565b611327565b6107d9858585856113de565b5050505050565b600060066000838152602001908152602001600020600101549050919050565b6000806000600560008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156109965760046040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006109a06115fd565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866109cc91906144d7565b6109d69190614560565b90508160000151819350935050509250929050565b6109f361131f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a395750610a3885610a3361131f565b610fdb565b5b610a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6f90614603565b60405180910390fd5b610a858585858585611607565b5050505050565b610a95826107e0565b610aa681610aa161131f565b611327565b610ab0838361191e565b505050565b610abd61131f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614695565b60405180910390fd5b610b3482826119ff565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610b6a81610b6561131f565b611327565b610b72611ae1565b50565b60608151835114610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290614727565b60405180910390fd5b6000835167ffffffffffffffff811115610bd857610bd76136ec565b5b604051908082528060200260200182016040528015610c065781602001602082028036833780820191505090505b50905060005b8451811015610c8357610c53858281518110610c2b57610c2a614747565b5b6020026020010151858381518110610c4657610c45614747565b5b60200260200101516105ec565b828281518110610c6657610c65614747565b5b60200260200101818152505080610c7c90614776565b9050610c0c565b508091505092915050565b600080610c9a83610f4d565b119050919050565b6000600760009054906101000a900460ff16905090565b610cc161131f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d075750610d0683610d0161131f565b610fdb565b5b610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90614831565b60405180910390fd5b610d51838383611b83565b505050565b610d5e61131f565b73ffffffffffffffffffffffffffffffffffffffff16610d7c610e9c565b73ffffffffffffffffffffffffffffffffffffffff1614610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061489d565b60405180910390fd5b610ddc6000611e36565b565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c81565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e3481610e2f61131f565b611327565b610e3e8784611efa565b610e4a88878785612021565b610e558689866121b8565b5050505050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610e9181610e8c61131f565b611327565b610e99612360565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610f49610f4261131f565b8383612403565b5050565b600060086000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610f97826107e0565b610fa881610fa361131f565b611327565b610fb283836119ff565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61107761131f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110bd57506110bc856110b761131f565b610fdb565b5b6110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390614831565b60405180910390fd5b6111098585858585612570565b5050505050565b61111861131f565b73ffffffffffffffffffffffffffffffffffffffff16611136610e9c565b73ffffffffffffffffffffffffffffffffffffffff161461118c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111839061489d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f39061492f565b60405180910390fd5b61120581611e36565b50565b61121061131f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061125657506112558361125061131f565b610fdb565b5b611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90614831565b60405180910390fd5b6112a08383836127f5565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611318575061131782612a14565b5b9050919050565b600033905090565b6113318282610ec5565b6113c0576113568173ffffffffffffffffffffffffffffffffffffffff166014612a8e565b6113648360001c6020612a8e565b604051602001611375929190614a23565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b79190613915565b60405180910390fd5b5050565b80600390805190602001906113da929190613461565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590614acf565b60405180910390fd5b8151835114611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990614b61565b60405180910390fd5b600061149c61131f565b90506114ad81600087878787612cca565b60005b8451811015611567578381815181106114cc576114cb614747565b5b6020026020010151600160008784815181106114eb576114ea614747565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461154d9190614b81565b92505081905550808061155f90614776565b9150506114b0565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115df929190614bd7565b60405180910390a46115f681600087878787612d28565b5050505050565b6000612710905090565b815183511461164b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164290614b61565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b290614c80565b60405180910390fd5b60006116c561131f565b90506116d5818787878787612cca565b60005b84518110156118895760008582815181106116f6576116f5614747565b5b60200260200101519050600085838151811061171557611714614747565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614d12565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461186e9190614b81565b925050819055505050508061188290614776565b90506116d8565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611900929190614bd7565b60405180910390a4611916818787878787612d28565b505050505050565b6119288282610ec5565b6119fb5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119a061131f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a098282610ec5565b15611add5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a8261131f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611ae9610ca2565b611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f90614d7e565b60405180910390fd5b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b6c61131f565b604051611b7991906141d7565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bea90614e10565b60405180910390fd5b8051825114611c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2e90614b61565b60405180910390fd5b6000611c4161131f565b9050611c6181856000868660405180602001604052806000815250612cca565b60005b8351811015611db0576000848281518110611c8257611c81614747565b5b602002602001015190506000848381518110611ca157611ca0614747565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a90614ea2565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611da890614776565b915050611c64565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611e28929190614bd7565b60405180910390a450505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60003083604051602001611f0f929190614f5a565b604051602081830303815290604052805190602001209050600181604051602001611f3a9190614fef565b6040516020818303038152906040528051906020012083600001518460200151856040015160405160008152602001604052604051611f7c9493929190615024565b6020604051602081039080840390855afa158015611f9e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff16611fc6610e9c565b73ffffffffffffffffffffffffffffffffffffffff161461201c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612013906150b5565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890614acf565b60405180910390fd5b600061209b61131f565b90506120bc816000876120ad88612f0f565b6120b688612f0f565b87612cca565b826001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211c9190614b81565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161219a9291906150d5565b60405180910390a46121b181600087878787612f89565b5050505050565b6121c06115fd565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561221e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221590615170565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561228e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612285906151dc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b612368610ca2565b156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f90615248565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123ec61131f565b6040516123f991906141d7565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612472576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612469906152da565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161256391906136b6565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d790614c80565b60405180910390fd5b60006125ea61131f565b905061260a8187876125fb88612f0f565b61260488612f0f565b87612cca565b60006001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156126a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269990614d12565b60405180910390fd5b8381036001600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127599190614b81565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516127d69291906150d5565b60405180910390a46127ec828888888888612f89565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285c90614e10565b60405180910390fd5b600061286f61131f565b905061289f8185600061288187612f0f565b61288a87612f0f565b60405180602001604052806000815250612cca565b60006001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e90614ea2565b60405180910390fd5b8281036001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612a059291906150d5565b60405180910390a45050505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a875750612a8682613170565b5b9050919050565b606060006002836002612aa191906144d7565b612aab9190614b81565b67ffffffffffffffff811115612ac457612ac36136ec565b5b6040519080825280601f01601f191660200182016040528015612af65781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612b2e57612b2d614747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612b9257612b91614747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612bd291906144d7565b612bdc9190614b81565b90505b6001811115612c7c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612c1e57612c1d614747565b5b1a60f81b828281518110612c3557612c34614747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c75906152fa565b9050612bdf565b5060008414612cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb790615370565b60405180910390fd5b8091505092915050565b612cd2610ca2565b15612d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0990615248565b60405180910390fd5b612d20868686868686613252565b505050505050565b612d478473ffffffffffffffffffffffffffffffffffffffff166133cc565b15612f07578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d8d9594939291906153e5565b602060405180830381600087803b158015612da757600080fd5b505af1925050508015612dd857506040513d601f19601f82011682018060405250810190612dd59190615462565b60015b612e7e57612de461549c565b806308c379a01415612e415750612df96154be565b80612e045750612e43565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e389190613915565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e75906155c6565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efc90615658565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612f2e57612f2d6136ec565b5b604051908082528060200260200182016040528015612f5c5781602001602082028036833780820191505090505b5090508281600081518110612f7457612f73614747565b5b60200260200101818152505080915050919050565b612fa88473ffffffffffffffffffffffffffffffffffffffff166133cc565b15613168578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fee959493929190615678565b602060405180830381600087803b15801561300857600080fd5b505af192505050801561303957506040513d601f19601f820116820180604052508101906130369190615462565b60015b6130df5761304561549c565b806308c379a014156130a2575061305a6154be565b8061306557506130a4565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130999190613915565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d6906155c6565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315d90615658565b60405180910390fd5b505b505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061323b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061324b575061324a826133ef565b5b9050919050565b613260868686868686613459565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156133125760005b8351811015613310578281815181106132b4576132b3614747565b5b6020026020010151600860008684815181106132d3576132d2614747565b5b6020026020010151815260200190815260200160002060008282546132f89190614b81565b925050819055508061330990614776565b9050613298565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133c45760005b83518110156133c25782818151811061336657613365614747565b5b60200260200101516008600086848151811061338557613384614747565b5b6020026020010151815260200190815260200160002060008282546133aa91906156d2565b92505081905550806133bb90614776565b905061334a565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050505050565b82805461346d90614476565b90600052602060002090601f01602090048101928261348f57600085556134d6565b82601f106134a857805160ff19168380011785556134d6565b828001600101855582156134d6579182015b828111156134d55782518255916020019190600101906134ba565b5b5090506134e391906134e7565b5090565b5b808211156135005760008160009055506001016134e8565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061354382613518565b9050919050565b61355381613538565b811461355e57600080fd5b50565b6000813590506135708161354a565b92915050565b6000819050919050565b61358981613576565b811461359457600080fd5b50565b6000813590506135a681613580565b92915050565b600080604083850312156135c3576135c261350e565b5b60006135d185828601613561565b92505060206135e285828601613597565b9150509250929050565b6135f581613576565b82525050565b600060208201905061361060008301846135ec565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61364b81613616565b811461365657600080fd5b50565b60008135905061366881613642565b92915050565b6000602082840312156136845761368361350e565b5b600061369284828501613659565b91505092915050565b60008115159050919050565b6136b08161369b565b82525050565b60006020820190506136cb60008301846136a7565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613724826136db565b810181811067ffffffffffffffff82111715613743576137426136ec565b5b80604052505050565b6000613756613504565b9050613762828261371b565b919050565b600067ffffffffffffffff821115613782576137816136ec565b5b61378b826136db565b9050602081019050919050565b82818337600083830152505050565b60006137ba6137b584613767565b61374c565b9050828152602081018484840111156137d6576137d56136d6565b5b6137e1848285613798565b509392505050565b600082601f8301126137fe576137fd6136d1565b5b813561380e8482602086016137a7565b91505092915050565b60006020828403121561382d5761382c61350e565b5b600082013567ffffffffffffffff81111561384b5761384a613513565b5b613857848285016137e9565b91505092915050565b6000602082840312156138765761387561350e565b5b600061388484828501613597565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138c75780820151818401526020810190506138ac565b838111156138d6576000848401525b50505050565b60006138e78261388d565b6138f18185613898565b93506139018185602086016138a9565b61390a816136db565b840191505092915050565b6000602082019050818103600083015261392f81846138dc565b905092915050565b600067ffffffffffffffff821115613952576139516136ec565b5b602082029050602081019050919050565b600080fd5b600061397b61397684613937565b61374c565b9050808382526020820190506020840283018581111561399e5761399d613963565b5b835b818110156139c757806139b38882613597565b8452602084019350506020810190506139a0565b5050509392505050565b600082601f8301126139e6576139e56136d1565b5b81356139f6848260208601613968565b91505092915050565b600067ffffffffffffffff821115613a1a57613a196136ec565b5b613a23826136db565b9050602081019050919050565b6000613a43613a3e846139ff565b61374c565b905082815260208101848484011115613a5f57613a5e6136d6565b5b613a6a848285613798565b509392505050565b600082601f830112613a8757613a866136d1565b5b8135613a97848260208601613a30565b91505092915050565b60008060008060808587031215613aba57613ab961350e565b5b6000613ac887828801613561565b945050602085013567ffffffffffffffff811115613ae957613ae8613513565b5b613af5878288016139d1565b935050604085013567ffffffffffffffff811115613b1657613b15613513565b5b613b22878288016139d1565b925050606085013567ffffffffffffffff811115613b4357613b42613513565b5b613b4f87828801613a72565b91505092959194509250565b6000819050919050565b613b6e81613b5b565b8114613b7957600080fd5b50565b600081359050613b8b81613b65565b92915050565b600060208284031215613ba757613ba661350e565b5b6000613bb584828501613b7c565b91505092915050565b613bc781613b5b565b82525050565b6000602082019050613be26000830184613bbe565b92915050565b60008060408385031215613bff57613bfe61350e565b5b6000613c0d85828601613597565b9250506020613c1e85828601613597565b9150509250929050565b613c3181613538565b82525050565b6000604082019050613c4c6000830185613c28565b613c5960208301846135ec565b9392505050565b600080600080600060a08688031215613c7c57613c7b61350e565b5b6000613c8a88828901613561565b9550506020613c9b88828901613561565b945050604086013567ffffffffffffffff811115613cbc57613cbb613513565b5b613cc8888289016139d1565b935050606086013567ffffffffffffffff811115613ce957613ce8613513565b5b613cf5888289016139d1565b925050608086013567ffffffffffffffff811115613d1657613d15613513565b5b613d2288828901613a72565b9150509295509295909350565b60008060408385031215613d4657613d4561350e565b5b6000613d5485828601613b7c565b9250506020613d6585828601613561565b9150509250929050565b600067ffffffffffffffff821115613d8a57613d896136ec565b5b602082029050602081019050919050565b6000613dae613da984613d6f565b61374c565b90508083825260208201905060208402830185811115613dd157613dd0613963565b5b835b81811015613dfa5780613de68882613561565b845260208401935050602081019050613dd3565b5050509392505050565b600082601f830112613e1957613e186136d1565b5b8135613e29848260208601613d9b565b91505092915050565b60008060408385031215613e4957613e4861350e565b5b600083013567ffffffffffffffff811115613e6757613e66613513565b5b613e7385828601613e04565b925050602083013567ffffffffffffffff811115613e9457613e93613513565b5b613ea0858286016139d1565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613edf81613576565b82525050565b6000613ef18383613ed6565b60208301905092915050565b6000602082019050919050565b6000613f1582613eaa565b613f1f8185613eb5565b9350613f2a83613ec6565b8060005b83811015613f5b578151613f428882613ee5565b9750613f4d83613efd565b925050600181019050613f2e565b5085935050505092915050565b60006020820190508181036000830152613f828184613f0a565b905092915050565b600080600060608486031215613fa357613fa261350e565b5b6000613fb186828701613561565b935050602084013567ffffffffffffffff811115613fd257613fd1613513565b5b613fde868287016139d1565b925050604084013567ffffffffffffffff811115613fff57613ffe613513565b5b61400b868287016139d1565b9150509250925092565b60006bffffffffffffffffffffffff82169050919050565b61403681614015565b811461404157600080fd5b50565b6000813590506140538161402d565b92915050565b600080fd5b600060ff82169050919050565b6140748161405e565b811461407f57600080fd5b50565b6000813590506140918161406b565b92915050565b6000606082840312156140ad576140ac614059565b5b6140b7606061374c565b905060006140c784828501614082565b60008301525060206140db84828501613b7c565b60208301525060406140ef84828501613b7c565b60408301525092915050565b6000806000806000806000610120888a03121561411b5761411a61350e565b5b60006141298a828b01613561565b975050602088013567ffffffffffffffff81111561414a57614149613513565b5b6141568a828b016137e9565b96505060406141678a828b01613597565b95505060606141788a828b01613597565b94505060806141898a828b01614044565b93505060a061419a8a828b01614097565b92505061010088013567ffffffffffffffff8111156141bc576141bb613513565b5b6141c88a828b01613a72565b91505092959891949750929550565b60006020820190506141ec6000830184613c28565b92915050565b6141fb8161369b565b811461420657600080fd5b50565b600081359050614218816141f2565b92915050565b600080604083850312156142355761423461350e565b5b600061424385828601613561565b925050602061425485828601614209565b9150509250929050565b600080604083850312156142755761427461350e565b5b600061428385828601613561565b925050602061429485828601613561565b9150509250929050565b600080600080600060a086880312156142ba576142b961350e565b5b60006142c888828901613561565b95505060206142d988828901613561565b94505060406142ea88828901613597565b93505060606142fb88828901613597565b925050608086013567ffffffffffffffff81111561431c5761431b613513565b5b61432888828901613a72565b9150509295509295909350565b60006020828403121561434b5761434a61350e565b5b600061435984828501613561565b91505092915050565b60008060006060848603121561437b5761437a61350e565b5b600061438986828701613561565b935050602061439a86828701613597565b92505060406143ab86828701613597565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614411602b83613898565b915061441c826143b5565b604082019050919050565b6000602082019050818103600083015261444081614404565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061448e57607f821691505b602082108114156144a2576144a1614447565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144e282613576565b91506144ed83613576565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614526576145256144a8565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061456b82613576565b915061457683613576565b92508261458657614585614531565b5b828204905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006145ed603283613898565b91506145f882614591565b604082019050919050565b6000602082019050818103600083015261461c816145e0565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061467f602f83613898565b915061468a82614623565b604082019050919050565b600060208201905081810360008301526146ae81614672565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614711602983613898565b915061471c826146b5565b604082019050919050565b6000602082019050818103600083015261474081614704565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061478182613576565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147b4576147b36144a8565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061481b602983613898565b9150614826826147bf565b604082019050919050565b6000602082019050818103600083015261484a8161480e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614887602083613898565b915061489282614851565b602082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614919602683613898565b9150614924826148bd565b604082019050919050565b600060208201905081810360008301526149488161490c565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061499060178361494f565b915061499b8261495a565b601782019050919050565b60006149b18261388d565b6149bb818561494f565b93506149cb8185602086016138a9565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614a0d60118361494f565b9150614a18826149d7565b601182019050919050565b6000614a2e82614983565b9150614a3a82856149a6565b9150614a4582614a00565b9150614a5182846149a6565b91508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ab9602183613898565b9150614ac482614a5d565b604082019050919050565b60006020820190508181036000830152614ae881614aac565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614b4b602883613898565b9150614b5682614aef565b604082019050919050565b60006020820190508181036000830152614b7a81614b3e565b9050919050565b6000614b8c82613576565b9150614b9783613576565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bcc57614bcb6144a8565b5b828201905092915050565b60006040820190508181036000830152614bf18185613f0a565b90508181036020830152614c058184613f0a565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614c6a602583613898565b9150614c7582614c0e565b604082019050919050565b60006020820190508181036000830152614c9981614c5d565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614cfc602a83613898565b9150614d0782614ca0565b604082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614d68601483613898565b9150614d7382614d32565b602082019050919050565b60006020820190508181036000830152614d9781614d5b565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614dfa602383613898565b9150614e0582614d9e565b604082019050919050565b60006020820190508181036000830152614e2981614ded565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614e8c602483613898565b9150614e9782614e30565b604082019050919050565b60006020820190508181036000830152614ebb81614e7f565b9050919050565b6000819050919050565b6000614ee7614ee2614edd84613518565b614ec2565b613518565b9050919050565b6000614ef982614ecc565b9050919050565b6000614f0b82614eee565b9050919050565b60008160601b9050919050565b6000614f2a82614f12565b9050919050565b6000614f3c82614f1f565b9050919050565b614f54614f4f82614f00565b614f31565b82525050565b6000614f668285614f43565b601482019150614f7682846149a6565b91508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614fb8601c8361494f565b9150614fc382614f82565b601c82019050919050565b6000819050919050565b614fe9614fe482613b5b565b614fce565b82525050565b6000614ffa82614fab565b91506150068284614fd8565b60208201915081905092915050565b61501e8161405e565b82525050565b60006080820190506150396000830187613bbe565b6150466020830186615015565b6150536040830185613bbe565b6150606060830184613bbe565b95945050505050565b7f4f776e6572207369676e20766572696669636174696f6e206661696c65640000600082015250565b600061509f601e83613898565b91506150aa82615069565b602082019050919050565b600060208201905081810360008301526150ce81615092565b9050919050565b60006040820190506150ea60008301856135ec565b6150f760208301846135ec565b9392505050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061515a602a83613898565b9150615165826150fe565b604082019050919050565b600060208201905081810360008301526151898161514d565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b60006151c6601b83613898565b91506151d182615190565b602082019050919050565b600060208201905081810360008301526151f5816151b9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615232601083613898565b915061523d826151fc565b602082019050919050565b6000602082019050818103600083015261526181615225565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006152c4602983613898565b91506152cf82615268565b604082019050919050565b600060208201905081810360008301526152f3816152b7565b9050919050565b600061530582613576565b91506000821415615319576153186144a8565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061535a602083613898565b915061536582615324565b602082019050919050565b600060208201905081810360008301526153898161534d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006153b782615390565b6153c1818561539b565b93506153d18185602086016138a9565b6153da816136db565b840191505092915050565b600060a0820190506153fa6000830188613c28565b6154076020830187613c28565b81810360408301526154198186613f0a565b9050818103606083015261542d8185613f0a565b9050818103608083015261544181846153ac565b90509695505050505050565b60008151905061545c81613642565b92915050565b6000602082840312156154785761547761350e565b5b60006154868482850161544d565b91505092915050565b60008160e01c9050919050565b600060033d11156154bb5760046000803e6154b860005161548f565b90505b90565b600060443d10156154ce57615551565b6154d6613504565b60043d036004823e80513d602482011167ffffffffffffffff821117156154fe575050615551565b808201805167ffffffffffffffff81111561551c5750505050615551565b80602083010160043d038501811115615539575050505050615551565b6155488260200185018661371b565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006155b0603483613898565b91506155bb82615554565b604082019050919050565b600060208201905081810360008301526155df816155a3565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615642602883613898565b915061564d826155e6565b604082019050919050565b6000602082019050818103600083015261567181615635565b9050919050565b600060a08201905061568d6000830188613c28565b61569a6020830187613c28565b6156a760408301866135ec565b6156b460608301856135ec565b81810360808301526156c681846153ac565b90509695505050505050565b60006156dd82613576565b91506156e883613576565b9250828210156156fb576156fa6144a8565b5b82820390509291505056fea2646970667358221220d1e2b07d6a37be6c9d220b45ad90a0b9ad1c97feeab6846910c13d821f1b115a64736f6c63430008090033