ETH Price: $3,004.77 (+4.30%)
Gas: 1 Gwei

Token

StrongXNFT (STRONGXNFT)
 

Overview

Max Total Supply

0 STRONGXNFT

Holders

50

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x71b62c3ecdd42c6ce3ac8f558e2882265f7fc037
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
StrongXNFT

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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:
 *
 * ```solidity
 * 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}:
 *
 * ```solidity
 * 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. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 3 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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: address zero is not a valid owner");
        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 token owner or 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: caller is not token owner or 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, 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);

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

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

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

        _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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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 _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);

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

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

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * 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);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "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 `ids` and `amounts` 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 {}

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        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;
    }
}

File 4 of 15 : 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);
}

File 5 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 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;
}

File 6 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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);
}

File 7 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 11 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 13 of 15 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 14 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

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

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 15 of 15 : StrongXNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.19;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract StrongXNFT is ERC1155, AccessControl {
    using Address for address payable;
    using SafeMath for uint;

    bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE");

    struct Boost {
        uint id;
        uint initialQuantity;
        uint cost;
    }

    string public name = "StrongXNFT";
    string public symbol = "STRONGXNFT";

    Boost public BRONZE = Boost(1, 1000, 0.05 ether);
    Boost public SILVER = Boost(2, 250, 0.15 ether);
    Boost public GOLD = Boost(3, 100, 0.5 ether);
    Boost public PLATINUM = Boost(4, 25, 1.05 ether);

    mapping (uint => Boost) public boosts;
        
    address private immutable admin;
    address private fund;

    event Purchased(
        address indexed account,
        uint id,
        uint amount
    );

    constructor() ERC1155("https://strongx.net/api/token/{id}") {
        admin = _msgSender();

        _mint(address(this), BRONZE.id, BRONZE.initialQuantity, "");
        _mint(address(this), SILVER.id, SILVER.initialQuantity, "");
        _mint(address(this), GOLD.id, GOLD.initialQuantity, "");
        _mint(address(this), PLATINUM.id, PLATINUM.initialQuantity, "");

        boosts[BRONZE.id] = BRONZE;
        boosts[SILVER.id] = SILVER;
        boosts[GOLD.id] = GOLD;
        boosts[PLATINUM.id] = PLATINUM;

        _grantRole(DEFAULT_ADMIN_ROLE, admin);
        _grantRole(MANAGER_ROLE, admin);
    }

    /** PUBLIC FUNCTIONS */

    function purchase(uint id, uint amount) external payable {
        require(address(fund) != address(0), "Fund address not set");
        require(id > 0 && id <= 4, "Invalid token id");
        require(amount > 0, "Amount must be more than zero");
        require(balanceOf(address(this), id) >= amount, "Amount can not be purchased");

        uint cost = amount.mul(boosts[id].cost);
        require(msg.value >= cost, "Value is too low");

        payable(fund).sendValue(msg.value);
        _safeTransferFrom(address(this), _msgSender(), id, amount, "");

        emit Purchased(_msgSender(), id, amount);
    }

    function uri(uint256 _tokenid) override public pure returns (string memory) {
        return string(
            abi.encodePacked(
                "https://strongx.net/api/token/",
                Strings.toString(_tokenid)
            )
        );
    }

    /** RESTRICTED FUNCTIONS */

    function setFund(address _fund) external onlyRole(DEFAULT_ADMIN_ROLE) {
        fund = _fund;
    }

    function mint(address to, uint id, uint amount, bytes calldata data) external onlyRole(MANAGER_ROLE) {
        return _mint(to, id, amount, data);
    }

    function burn(address from, uint id, uint amount) external onlyRole(MANAGER_ROLE) {
        return _burn(from, id, amount);
    }

    function claimBatch(address[] calldata recipients, uint id, uint amount) external onlyRole(MANAGER_ROLE) {
        for (uint index = 0; index < recipients.length; index++) {
            _mint(recipients[index], id, amount, "");
        }
    }

    function setBoostCost(uint id, uint cost) external onlyRole(MANAGER_ROLE) {
        require(id > 0 && id <= 4, "Invalid token id");

        if (id == 1) {
            BRONZE = Boost(BRONZE.id, BRONZE.initialQuantity, cost);
            boosts[BRONZE.id] = BRONZE;
        } else if (id == 2) {
            SILVER = Boost(SILVER.id, SILVER.initialQuantity, cost);
            boosts[SILVER.id] = SILVER;
        } else if (id == 3) {
            GOLD = Boost(GOLD.id, GOLD.initialQuantity, cost);
            boosts[GOLD.id] = GOLD;
        } else {
            PLATINUM = Boost(PLATINUM.id, PLATINUM.initialQuantity, cost);
            boosts[PLATINUM.id] = PLATINUM;
        }
    }

    /** INTERFACE FUNCTIONS */

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Purchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"BRONZE","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"initialQuantity","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GOLD","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"initialQuantity","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PLATINUM","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"initialQuantity","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SILVER","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"initialQuantity","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"boosts","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"initialQuantity","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setBoostCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fund","type":"address"}],"name":"setFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenid","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"}]

60a06040526040518060400160405280600a81526020017f5374726f6e67584e465400000000000000000000000000000000000000000000815250600490816200004a919062000c9f565b506040518060400160405280600a81526020017f5354524f4e47584e4654000000000000000000000000000000000000000000008152506005908162000091919062000c9f565b506040518060600160405280600181526020016103e8815260200166b1a2bc2ec500008152506006600082015181600001556020820151816001015560408201518160020155505060405180606001604052806002815260200160fa8152602001670214e8348c4f000081525060096000820151816000015560208201518160010155604082015181600201555050604051806060016040528060038152602001606481526020016706f05b59d3b20000815250600c600082015181600001556020820151816001015560408201518160020155505060405180606001604052806004815260200160198152602001670e92596fd6290000815250600f6000820151816000015560208201518160010155604082015181600201555050348015620001bb57600080fd5b5060405180606001604052806022815260200162005f7160229139620001e7816200041c60201b60201c565b50620001f86200043160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506200025830600660000154600660010154604051806020016040528060008152506200043960201b60201c565b6200028530600960000154600960010154604051806020016040528060008152506200043960201b60201c565b620002b230600c60000154600c60010154604051806020016040528060008152506200043960201b60201c565b620002df30600f60000154600f60010154604051806020016040528060008152506200043960201b60201c565b60066012600060066000015481526020019081526020016000206000820154816000015560018201548160010155600282015481600201559050506009601260006009600001548152602001908152602001600020600082015481600001556001820154816001015560028201548160020155905050600c60126000600c600001548152602001908152602001600020600082015481600001556001820154816001015560028201548160020155905050600f60126000600f600001548152602001908152602001600020600082015481600001556001820154816001015560028201548160020155905050620003e26000801b6080516200062060201b60201c565b620004167f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086080516200062060201b60201c565b6200137f565b80600290816200042d919062000c9f565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603620004ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a29062000e0d565b60405180910390fd5b6000620004bd6200043160201b60201c565b90506000620004d2856200071260201b60201c565b90506000620004e7856200071260201b60201c565b905062000500836000898585896200079360201b60201c565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000561919062000e5e565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051620005e192919062000eaa565b60405180910390a462000600836000898585896200079b60201b60201c565b6200061783600089898989620007a360201b60201c565b50505050505050565b6200063282826200099760201b60201c565b6200070e5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620006b36200043160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60606000600167ffffffffffffffff81111562000734576200073362000a30565b5b604051908082528060200260200182016040528015620007635781602001602082028036833780820191505090505b50905082816000815181106200077e576200077d62000ed7565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b620007ca8473ffffffffffffffffffffffffffffffffffffffff1662000a0260201b60201c565b156200098f578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016200081395949392919062000fe5565b6020604051808303816000875af19250505080156200085257506040513d601f19601f820116820180604052508101906200084f9190620010b5565b60015b620009035762000861620010f4565b806308c379a003620008c45750620008786200114f565b80620008855750620008c6565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008bb91906200122b565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008fa90620012c5565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146200098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000984906200135d565b60405180910390fd5b505b505050505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000aa757607f821691505b60208210810362000abd5762000abc62000a5f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000b277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000ae8565b62000b33868362000ae8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000b8062000b7a62000b748462000b4b565b62000b55565b62000b4b565b9050919050565b6000819050919050565b62000b9c8362000b5f565b62000bb462000bab8262000b87565b84845462000af5565b825550505050565b600090565b62000bcb62000bbc565b62000bd881848462000b91565b505050565b5b8181101562000c005762000bf460008262000bc1565b60018101905062000bde565b5050565b601f82111562000c4f5762000c198162000ac3565b62000c248462000ad8565b8101602085101562000c34578190505b62000c4c62000c438562000ad8565b83018262000bdd565b50505b505050565b600082821c905092915050565b600062000c746000198460080262000c54565b1980831691505092915050565b600062000c8f838362000c61565b9150826002028217905092915050565b62000caa8262000a25565b67ffffffffffffffff81111562000cc65762000cc562000a30565b5b62000cd2825462000a8e565b62000cdf82828562000c04565b600060209050601f83116001811462000d17576000841562000d02578287015190505b62000d0e858262000c81565b86555062000d7e565b601f19841662000d278662000ac3565b60005b8281101562000d515784890151825560018201915060208501945060208101905062000d2a565b8683101562000d71578489015162000d6d601f89168262000c61565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600062000df560218362000d86565b915062000e028262000d97565b604082019050919050565b6000602082019050818103600083015262000e288162000de6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000e6b8262000b4b565b915062000e788362000b4b565b925082820190508082111562000e935762000e9262000e2f565b5b92915050565b62000ea48162000b4b565b82525050565b600060408201905062000ec1600083018562000e99565b62000ed0602083018462000e99565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000f338262000f06565b9050919050565b62000f458162000f26565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562000f8757808201518184015260208101905062000f6a565b60008484015250505050565b6000601f19601f8301169050919050565b600062000fb18262000f4b565b62000fbd818562000f56565b935062000fcf81856020860162000f67565b62000fda8162000f93565b840191505092915050565b600060a08201905062000ffc600083018862000f3a565b6200100b602083018762000f3a565b6200101a604083018662000e99565b62001029606083018562000e99565b81810360808301526200103d818462000fa4565b90509695505050505050565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6200108f8162001058565b81146200109b57600080fd5b50565b600081519050620010af8162001084565b92915050565b600060208284031215620010ce57620010cd62001053565b5b6000620010de848285016200109e565b91505092915050565b60008160e01c9050919050565b600060033d1115620011165760046000803e62001113600051620010e7565b90505b90565b620011248262000f93565b810181811067ffffffffffffffff8211171562001146576200114562000a30565b5b80604052505050565b600060443d10620011e7576200116462001049565b60043d036004823e80513d602482011167ffffffffffffffff821117156200118e575050620011e7565b808201805167ffffffffffffffff811115620011ae5750505050620011e7565b80602083010160043d038501811115620011cd575050505050620011e7565b620011de8260200185018662001119565b82955050505050505b90565b6000620011f78262000a25565b62001203818562000d86565b93506200121581856020860162000f67565b620012208162000f93565b840191505092915050565b60006020820190508181036000830152620012478184620011ea565b905092915050565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000620012ad60348362000d86565b9150620012ba826200124f565b604082019050919050565b60006020820190508181036000830152620012e0816200129e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006200134560288362000d86565b91506200135282620012e7565b604082019050919050565b60006020820190508181036000830152620013788162001336565b9050919050565b608051614bd96200139860003960005050614bd96000f3fe6080604052600436106101b65760003560e01c8063731133e9116100ec578063d547741f1161008a578063e985e9c511610064578063e985e9c51461062a578063ec87621c14610667578063f242432a14610692578063f5298aca146106bb576101b6565b8063d547741f146105a7578063e00fd543146105d0578063e3e55f08146105fd576101b6565b806395d89b41116100c657806395d89b41146104ff578063a217fddf1461052a578063a22cb46514610555578063bf4a58161461057e576101b6565b8063731133e9146104705780637d24f7c91461049957806391d14854146104c2576101b6565b80632f2ff15d116101595780634afd82e7116101335780634afd82e7146103ab5780634e1273f4146103ea57806356f0593a1461042757806370876c9814610454576101b6565b80632f2ff15d1461032c57806336568abe146103555780633e4bee381461037e576101b6565b80630e21750f116101955780630e21750f146102605780630e89341c14610289578063248a9ca3146102c65780632eb2c2d614610303576101b6565b8062fdd58e146101bb57806301ffc9a7146101f857806306fdde0314610235575b600080fd5b3480156101c757600080fd5b506101e260048036038101906101dd9190612ef7565b6106e4565b6040516101ef9190612f46565b60405180910390f35b34801561020457600080fd5b5061021f600480360381019061021a9190612fb9565b6107ac565b60405161022c9190613001565b60405180910390f35b34801561024157600080fd5b5061024a6107be565b60405161025791906130ac565b60405180910390f35b34801561026c57600080fd5b50610287600480360381019061028291906130ce565b61084c565b005b34801561029557600080fd5b506102b060048036038101906102ab91906130fb565b61089e565b6040516102bd91906130ac565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e8919061315e565b6108cf565b6040516102fa919061319a565b60405180910390f35b34801561030f57600080fd5b5061032a600480360381019061032591906133b2565b6108ef565b005b34801561033857600080fd5b50610353600480360381019061034e9190613481565b610990565b005b34801561036157600080fd5b5061037c60048036038101906103779190613481565b6109b1565b005b34801561038a57600080fd5b50610393610a34565b6040516103a2939291906134c1565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd91906130fb565b610a4c565b6040516103e1939291906134c1565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c91906135bb565b610a76565b60405161041e91906136f1565b60405180910390f35b34801561043357600080fd5b5061043c610b8f565b60405161044b939291906134c1565b60405180910390f35b61046e60048036038101906104699190613713565b610ba7565b005b34801561047c57600080fd5b50610497600480360381019061049291906137ae565b610e51565b005b3480156104a557600080fd5b506104c060048036038101906104bb919061388c565b610ed3565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190613481565b610f68565b6040516104f69190613001565b60405180910390f35b34801561050b57600080fd5b50610514610fd3565b60405161052191906130ac565b60405180910390f35b34801561053657600080fd5b5061053f611061565b60405161054c919061319a565b60405180910390f35b34801561056157600080fd5b5061057c6004803603810190610577919061392c565b611068565b005b34801561058a57600080fd5b506105a560048036038101906105a09190613713565b61107e565b005b3480156105b357600080fd5b506105ce60048036038101906105c99190613481565b611333565b005b3480156105dc57600080fd5b506105e5611354565b6040516105f4939291906134c1565b60405180910390f35b34801561060957600080fd5b5061061261136c565b604051610621939291906134c1565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c919061396c565b611384565b60405161065e9190613001565b60405180910390f35b34801561067357600080fd5b5061067c611418565b604051610689919061319a565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b491906139ac565b61143c565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190613a43565b6114dd565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074b90613b08565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107b782611518565b9050919050565b600480546107cb90613b57565b80601f01602080910402602001604051908101604052809291908181526020018280546107f790613b57565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b505050505081565b6000801b61085981611592565b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60606108a9826115a6565b6040516020016108b99190613c10565b6040516020818303038152906040529050919050565b600060036000838152602001908152602001600020600101549050919050565b6108f7611674565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061093d575061093c85610937611674565b611384565b5b61097c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097390613ca4565b60405180910390fd5b610989858585858561167c565b5050505050565b610999826108cf565b6109a281611592565b6109ac838361199d565b505050565b6109b9611674565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90613d36565b60405180910390fd5b610a308282611a7e565b5050565b600c8060000154908060010154908060020154905083565b60126020528060005260406000206000915090508060000154908060010154908060020154905083565b60608151835114610abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab390613dc8565b60405180910390fd5b6000835167ffffffffffffffff811115610ad957610ad86131ba565b5b604051908082528060200260200182016040528015610b075781602001602082028036833780820191505090505b50905060005b8451811015610b8457610b54858281518110610b2c57610b2b613de8565b5b6020026020010151858381518110610b4757610b46613de8565b5b60200260200101516106e4565b828281518110610b6757610b66613de8565b5b60200260200101818152505080610b7d90613e46565b9050610b0d565b508091505092915050565b600f8060000154908060010154908060020154905083565b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2f90613eda565b60405180910390fd5b600082118015610c49575060048211155b610c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7f90613f46565b60405180910390fd5b60008111610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290613fb2565b60405180910390fd5b80610cd630846106e4565b1015610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e9061401e565b60405180910390fd5b6000610d42601260008581526020019081526020016000206002015483611b6090919063ffffffff16565b905080341015610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e9061408a565b60405180910390fd5b610dd234601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b7690919063ffffffff16565b610df530610dde611674565b858560405180602001604052806000815250611c6a565b610dfd611674565b73ffffffffffffffffffffffffffffffffffffffff167ff761777482b4b40d2bcc0d050cfba6829900a2d8b3484bd0244ec0feeb3db5048484604051610e449291906140aa565b60405180910390a2505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610e7b81611592565b610ecb86868686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611f05565b505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610efd81611592565b60005b85859050811015610f6057610f4d868683818110610f2157610f20613de8565b5b9050602002016020810190610f3691906130ce565b858560405180602001604052806000815250611f05565b8080610f5890613e46565b915050610f00565b505050505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60058054610fe090613b57565b80601f016020809104026020016040519081016040528092919081815260200182805461100c90613b57565b80156110595780601f1061102e57610100808354040283529160200191611059565b820191906000526020600020905b81548152906001019060200180831161103c57829003601f168201915b505050505081565b6000801b81565b61107a611073611674565b83836120b5565b5050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086110a881611592565b6000831180156110b9575060048311155b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90613f46565b60405180910390fd5b6001830361118857604051806060016040528060066000015481526020016006600101548152602001838152506006600082015181600001556020820151816001015560408201518160020155905050600660126000600660000154815260200190815260200160002060008201548160000155600182015481600101556002820154816002015590505061132e565b6002830361121857604051806060016040528060096000015481526020016009600101548152602001838152506009600082015181600001556020820151816001015560408201518160020155905050600960126000600960000154815260200190815260200160002060008201548160000155600182015481600101556002820154816002015590505061132d565b600383036112a8576040518060600160405280600c600001548152602001600c60010154815260200183815250600c600082015181600001556020820151816001015560408201518160020155905050600c60126000600c60000154815260200190815260200160002060008201548160000155600182015481600101556002820154816002015590505061132c565b6040518060600160405280600f600001548152602001600f60010154815260200183815250600f600082015181600001556020820151816001015560408201518160020155905050600f60126000600f6000015481526020019081526020016000206000820154816000015560018201548160010155600282015481600201559050505b5b5b505050565b61133c826108cf565b61134581611592565b61134f8383611a7e565b505050565b60068060000154908060010154908060020154905083565b60098060000154908060010154908060020154905083565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0881565b611444611674565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061148a575061148985611484611674565b611384565b5b6114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c090613ca4565b60405180910390fd5b6114d68585858585611c6a565b5050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861150781611592565b611512848484612221565b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061158b575061158a82612467565b5b9050919050565b6115a38161159e611674565b612549565b50565b6060600060016115b5846125ce565b01905060008167ffffffffffffffff8111156115d4576115d36131ba565b5b6040519080825280601f01601f1916602001820160405280156116065781602001600182028036833780820191505090505b509050600082602001820190505b600115611669578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161165d5761165c6140d3565b5b04945060008503611614575b819350505050919050565b600033905090565b81518351146116c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b790614174565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172690614206565b60405180910390fd5b6000611739611674565b9050611749818787878787612721565b60005b84518110156118fa57600085828151811061176a57611769613de8565b5b60200260200101519050600085838151811061178957611788613de8565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190614298565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118df91906142b8565b92505081905550505050806118f390613e46565b905061174c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119719291906142ec565b60405180910390a4611987818787878787612729565b611995818787878787612731565b505050505050565b6119a78282610f68565b611a7a5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a1f611674565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a888282610f68565b15611b5c5760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b01611674565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008183611b6e9190614323565b905092915050565b80471015611bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb0906143b1565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611bdf90614402565b60006040518083038185875af1925050503d8060008114611c1c576040519150601f19603f3d011682016040523d82523d6000602084013e611c21565b606091505b5050905080611c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5c90614489565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd090614206565b60405180910390fd5b6000611ce3611674565b90506000611cf085612908565b90506000611cfd85612908565b9050611d0d838989858589612721565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90614298565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5991906142b8565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611ed69291906140aa565b60405180910390a4611eec848a8a86868a612729565b611efa848a8a8a8a8a612982565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6b9061451b565b60405180910390fd5b6000611f7e611674565b90506000611f8b85612908565b90506000611f9885612908565b9050611fa983600089858589612721565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461200891906142b8565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516120869291906140aa565b60405180910390a461209d83600089858589612729565b6120ac83600089898989612982565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a906145ad565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122149190613001565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612290576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122879061463f565b60405180910390fd5b600061229a611674565b905060006122a784612908565b905060006122b484612908565b90506122d483876000858560405180602001604052806000815250612721565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508481101561236b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612362906146d1565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516124389291906140aa565b60405180910390a461245e84886000868660405180602001604052806000815250612729565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061253257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612542575061254182612b59565b5b9050919050565b6125538282610f68565b6125ca5761256081612bc3565b61256e8360001c6020612bf0565b60405160200161257f929190614789565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c191906130ac565b60405180910390fd5b5050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061262c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612622576126216140d3565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612669576d04ee2d6d415b85acef8100000000838161265f5761265e6140d3565b5b0492506020810190505b662386f26fc10000831061269857662386f26fc10000838161268e5761268d6140d3565b5b0492506010810190505b6305f5e10083106126c1576305f5e10083816126b7576126b66140d3565b5b0492506008810190505b61271083106126e65761271083816126dc576126db6140d3565b5b0492506004810190505b6064831061270957606483816126ff576126fe6140d3565b5b0492506002810190505b600a8310612718576001810190505b80915050919050565b505050505050565b505050505050565b6127508473ffffffffffffffffffffffffffffffffffffffff16612e2c565b15612900578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612796959493929190614827565b6020604051808303816000875af19250505080156127d257506040513d601f19601f820116820180604052508101906127cf91906148a4565b60015b612877576127de6148de565b806308c379a00361283a57506127f2614900565b806127fd575061283c565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283191906130ac565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286e90614a02565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f590614a94565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612927576129266131ba565b5b6040519080825280602002602001820160405280156129555781602001602082028036833780820191505090505b509050828160008151811061296d5761296c613de8565b5b60200260200101818152505080915050919050565b6129a18473ffffffffffffffffffffffffffffffffffffffff16612e2c565b15612b51578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016129e7959493929190614ab4565b6020604051808303816000875af1925050508015612a2357506040513d601f19601f82011682018060405250810190612a2091906148a4565b60015b612ac857612a2f6148de565b806308c379a003612a8b5750612a43614900565b80612a4e5750612a8d565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8291906130ac565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abf90614a02565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4690614a94565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060612be98273ffffffffffffffffffffffffffffffffffffffff16601460ff16612bf0565b9050919050565b606060006002836002612c039190614323565b612c0d91906142b8565b67ffffffffffffffff811115612c2657612c256131ba565b5b6040519080825280601f01601f191660200182016040528015612c585781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612c9057612c8f613de8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612cf457612cf3613de8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d349190614323565b612d3e91906142b8565b90505b6001811115612dde577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612d8057612d7f613de8565b5b1a60f81b828281518110612d9757612d96613de8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612dd790614b0e565b9050612d41565b5060008414612e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1990614b83565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e8e82612e63565b9050919050565b612e9e81612e83565b8114612ea957600080fd5b50565b600081359050612ebb81612e95565b92915050565b6000819050919050565b612ed481612ec1565b8114612edf57600080fd5b50565b600081359050612ef181612ecb565b92915050565b60008060408385031215612f0e57612f0d612e59565b5b6000612f1c85828601612eac565b9250506020612f2d85828601612ee2565b9150509250929050565b612f4081612ec1565b82525050565b6000602082019050612f5b6000830184612f37565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f9681612f61565b8114612fa157600080fd5b50565b600081359050612fb381612f8d565b92915050565b600060208284031215612fcf57612fce612e59565b5b6000612fdd84828501612fa4565b91505092915050565b60008115159050919050565b612ffb81612fe6565b82525050565b60006020820190506130166000830184612ff2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561305657808201518184015260208101905061303b565b60008484015250505050565b6000601f19601f8301169050919050565b600061307e8261301c565b6130888185613027565b9350613098818560208601613038565b6130a181613062565b840191505092915050565b600060208201905081810360008301526130c68184613073565b905092915050565b6000602082840312156130e4576130e3612e59565b5b60006130f284828501612eac565b91505092915050565b60006020828403121561311157613110612e59565b5b600061311f84828501612ee2565b91505092915050565b6000819050919050565b61313b81613128565b811461314657600080fd5b50565b60008135905061315881613132565b92915050565b60006020828403121561317457613173612e59565b5b600061318284828501613149565b91505092915050565b61319481613128565b82525050565b60006020820190506131af600083018461318b565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131f282613062565b810181811067ffffffffffffffff82111715613211576132106131ba565b5b80604052505050565b6000613224612e4f565b905061323082826131e9565b919050565b600067ffffffffffffffff8211156132505761324f6131ba565b5b602082029050602081019050919050565b600080fd5b600061327961327484613235565b61321a565b9050808382526020820190506020840283018581111561329c5761329b613261565b5b835b818110156132c557806132b18882612ee2565b84526020840193505060208101905061329e565b5050509392505050565b600082601f8301126132e4576132e36131b5565b5b81356132f4848260208601613266565b91505092915050565b600080fd5b600067ffffffffffffffff82111561331d5761331c6131ba565b5b61332682613062565b9050602081019050919050565b82818337600083830152505050565b600061335561335084613302565b61321a565b905082815260208101848484011115613371576133706132fd565b5b61337c848285613333565b509392505050565b600082601f830112613399576133986131b5565b5b81356133a9848260208601613342565b91505092915050565b600080600080600060a086880312156133ce576133cd612e59565b5b60006133dc88828901612eac565b95505060206133ed88828901612eac565b945050604086013567ffffffffffffffff81111561340e5761340d612e5e565b5b61341a888289016132cf565b935050606086013567ffffffffffffffff81111561343b5761343a612e5e565b5b613447888289016132cf565b925050608086013567ffffffffffffffff81111561346857613467612e5e565b5b61347488828901613384565b9150509295509295909350565b6000806040838503121561349857613497612e59565b5b60006134a685828601613149565b92505060206134b785828601612eac565b9150509250929050565b60006060820190506134d66000830186612f37565b6134e36020830185612f37565b6134f06040830184612f37565b949350505050565b600067ffffffffffffffff821115613513576135126131ba565b5b602082029050602081019050919050565b6000613537613532846134f8565b61321a565b9050808382526020820190506020840283018581111561355a57613559613261565b5b835b81811015613583578061356f8882612eac565b84526020840193505060208101905061355c565b5050509392505050565b600082601f8301126135a2576135a16131b5565b5b81356135b2848260208601613524565b91505092915050565b600080604083850312156135d2576135d1612e59565b5b600083013567ffffffffffffffff8111156135f0576135ef612e5e565b5b6135fc8582860161358d565b925050602083013567ffffffffffffffff81111561361d5761361c612e5e565b5b613629858286016132cf565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61366881612ec1565b82525050565b600061367a838361365f565b60208301905092915050565b6000602082019050919050565b600061369e82613633565b6136a8818561363e565b93506136b38361364f565b8060005b838110156136e45781516136cb888261366e565b97506136d683613686565b9250506001810190506136b7565b5085935050505092915050565b6000602082019050818103600083015261370b8184613693565b905092915050565b6000806040838503121561372a57613729612e59565b5b600061373885828601612ee2565b925050602061374985828601612ee2565b9150509250929050565b600080fd5b60008083601f84011261376e5761376d6131b5565b5b8235905067ffffffffffffffff81111561378b5761378a613753565b5b6020830191508360018202830111156137a7576137a6613261565b5b9250929050565b6000806000806000608086880312156137ca576137c9612e59565b5b60006137d888828901612eac565b95505060206137e988828901612ee2565b94505060406137fa88828901612ee2565b935050606086013567ffffffffffffffff81111561381b5761381a612e5e565b5b61382788828901613758565b92509250509295509295909350565b60008083601f84011261384c5761384b6131b5565b5b8235905067ffffffffffffffff81111561386957613868613753565b5b60208301915083602082028301111561388557613884613261565b5b9250929050565b600080600080606085870312156138a6576138a5612e59565b5b600085013567ffffffffffffffff8111156138c4576138c3612e5e565b5b6138d087828801613836565b945094505060206138e387828801612ee2565b92505060406138f487828801612ee2565b91505092959194509250565b61390981612fe6565b811461391457600080fd5b50565b60008135905061392681613900565b92915050565b6000806040838503121561394357613942612e59565b5b600061395185828601612eac565b925050602061396285828601613917565b9150509250929050565b6000806040838503121561398357613982612e59565b5b600061399185828601612eac565b92505060206139a285828601612eac565b9150509250929050565b600080600080600060a086880312156139c8576139c7612e59565b5b60006139d688828901612eac565b95505060206139e788828901612eac565b94505060406139f888828901612ee2565b9350506060613a0988828901612ee2565b925050608086013567ffffffffffffffff811115613a2a57613a29612e5e565b5b613a3688828901613384565b9150509295509295909350565b600080600060608486031215613a5c57613a5b612e59565b5b6000613a6a86828701612eac565b9350506020613a7b86828701612ee2565b9250506040613a8c86828701612ee2565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613af2602a83613027565b9150613afd82613a96565b604082019050919050565b60006020820190508181036000830152613b2181613ae5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b6f57607f821691505b602082108103613b8257613b81613b28565b5b50919050565b600081905092915050565b7f68747470733a2f2f7374726f6e67782e6e65742f6170692f746f6b656e2f0000600082015250565b6000613bc9601e83613b88565b9150613bd482613b93565b601e82019050919050565b6000613bea8261301c565b613bf48185613b88565b9350613c04818560208601613038565b80840191505092915050565b6000613c1b82613bbc565b9150613c278284613bdf565b915081905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613c8e602e83613027565b9150613c9982613c32565b604082019050919050565b60006020820190508181036000830152613cbd81613c81565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613d20602f83613027565b9150613d2b82613cc4565b604082019050919050565b60006020820190508181036000830152613d4f81613d13565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613db2602983613027565b9150613dbd82613d56565b604082019050919050565b60006020820190508181036000830152613de181613da5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e5182612ec1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e8357613e82613e17565b5b600182019050919050565b7f46756e642061646472657373206e6f7420736574000000000000000000000000600082015250565b6000613ec4601483613027565b9150613ecf82613e8e565b602082019050919050565b60006020820190508181036000830152613ef381613eb7565b9050919050565b7f496e76616c696420746f6b656e20696400000000000000000000000000000000600082015250565b6000613f30601083613027565b9150613f3b82613efa565b602082019050919050565b60006020820190508181036000830152613f5f81613f23565b9050919050565b7f416d6f756e74206d757374206265206d6f7265207468616e207a65726f000000600082015250565b6000613f9c601d83613027565b9150613fa782613f66565b602082019050919050565b60006020820190508181036000830152613fcb81613f8f565b9050919050565b7f416d6f756e742063616e206e6f74206265207075726368617365640000000000600082015250565b6000614008601b83613027565b915061401382613fd2565b602082019050919050565b6000602082019050818103600083015261403781613ffb565b9050919050565b7f56616c756520697320746f6f206c6f7700000000000000000000000000000000600082015250565b6000614074601083613027565b915061407f8261403e565b602082019050919050565b600060208201905081810360008301526140a381614067565b9050919050565b60006040820190506140bf6000830185612f37565b6140cc6020830184612f37565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061415e602883613027565b915061416982614102565b604082019050919050565b6000602082019050818103600083015261418d81614151565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006141f0602583613027565b91506141fb82614194565b604082019050919050565b6000602082019050818103600083015261421f816141e3565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614282602a83613027565b915061428d82614226565b604082019050919050565b600060208201905081810360008301526142b181614275565b9050919050565b60006142c382612ec1565b91506142ce83612ec1565b92508282019050808211156142e6576142e5613e17565b5b92915050565b600060408201905081810360008301526143068185613693565b9050818103602083015261431a8184613693565b90509392505050565b600061432e82612ec1565b915061433983612ec1565b925082820261434781612ec1565b9150828204841483151761435e5761435d613e17565b5b5092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061439b601d83613027565b91506143a682614365565b602082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b600081905092915050565b50565b60006143ec6000836143d1565b91506143f7826143dc565b600082019050919050565b600061440d826143df565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614473603a83613027565b915061447e82614417565b604082019050919050565b600060208201905081810360008301526144a281614466565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614505602183613027565b9150614510826144a9565b604082019050919050565b60006020820190508181036000830152614534816144f8565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614597602983613027565b91506145a28261453b565b604082019050919050565b600060208201905081810360008301526145c68161458a565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614629602383613027565b9150614634826145cd565b604082019050919050565b600060208201905081810360008301526146588161461c565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006146bb602483613027565b91506146c68261465f565b604082019050919050565b600060208201905081810360008301526146ea816146ae565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614727601783613b88565b9150614732826146f1565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614773601183613b88565b915061477e8261473d565b601182019050919050565b60006147948261471a565b91506147a08285613bdf565b91506147ab82614766565b91506147b78284613bdf565b91508190509392505050565b6147cc81612e83565b82525050565b600081519050919050565b600082825260208201905092915050565b60006147f9826147d2565b61480381856147dd565b9350614813818560208601613038565b61481c81613062565b840191505092915050565b600060a08201905061483c60008301886147c3565b61484960208301876147c3565b818103604083015261485b8186613693565b9050818103606083015261486f8185613693565b9050818103608083015261488381846147ee565b90509695505050505050565b60008151905061489e81612f8d565b92915050565b6000602082840312156148ba576148b9612e59565b5b60006148c88482850161488f565b91505092915050565b60008160e01c9050919050565b600060033d11156148fd5760046000803e6148fa6000516148d1565b90505b90565b600060443d1061498d57614912612e4f565b60043d036004823e80513d602482011167ffffffffffffffff8211171561493a57505061498d565b808201805167ffffffffffffffff811115614958575050505061498d565b80602083010160043d03850181111561497557505050505061498d565b614984826020018501866131e9565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006149ec603483613027565b91506149f782614990565b604082019050919050565b60006020820190508181036000830152614a1b816149df565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614a7e602883613027565b9150614a8982614a22565b604082019050919050565b60006020820190508181036000830152614aad81614a71565b9050919050565b600060a082019050614ac960008301886147c3565b614ad660208301876147c3565b614ae36040830186612f37565b614af06060830185612f37565b8181036080830152614b0281846147ee565b90509695505050505050565b6000614b1982612ec1565b915060008203614b2c57614b2b613e17565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614b6d602083613027565b9150614b7882614b37565b602082019050919050565b60006020820190508181036000830152614b9c81614b60565b905091905056fea26469706673582212203004d387df0b3ac98be0a85d59be349fe8cb57ca9d285a19ee05bce7d785051564736f6c6343000813003368747470733a2f2f7374726f6e67782e6e65742f6170692f746f6b656e2f7b69647d

Deployed Bytecode

0x6080604052600436106101b65760003560e01c8063731133e9116100ec578063d547741f1161008a578063e985e9c511610064578063e985e9c51461062a578063ec87621c14610667578063f242432a14610692578063f5298aca146106bb576101b6565b8063d547741f146105a7578063e00fd543146105d0578063e3e55f08146105fd576101b6565b806395d89b41116100c657806395d89b41146104ff578063a217fddf1461052a578063a22cb46514610555578063bf4a58161461057e576101b6565b8063731133e9146104705780637d24f7c91461049957806391d14854146104c2576101b6565b80632f2ff15d116101595780634afd82e7116101335780634afd82e7146103ab5780634e1273f4146103ea57806356f0593a1461042757806370876c9814610454576101b6565b80632f2ff15d1461032c57806336568abe146103555780633e4bee381461037e576101b6565b80630e21750f116101955780630e21750f146102605780630e89341c14610289578063248a9ca3146102c65780632eb2c2d614610303576101b6565b8062fdd58e146101bb57806301ffc9a7146101f857806306fdde0314610235575b600080fd5b3480156101c757600080fd5b506101e260048036038101906101dd9190612ef7565b6106e4565b6040516101ef9190612f46565b60405180910390f35b34801561020457600080fd5b5061021f600480360381019061021a9190612fb9565b6107ac565b60405161022c9190613001565b60405180910390f35b34801561024157600080fd5b5061024a6107be565b60405161025791906130ac565b60405180910390f35b34801561026c57600080fd5b50610287600480360381019061028291906130ce565b61084c565b005b34801561029557600080fd5b506102b060048036038101906102ab91906130fb565b61089e565b6040516102bd91906130ac565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e8919061315e565b6108cf565b6040516102fa919061319a565b60405180910390f35b34801561030f57600080fd5b5061032a600480360381019061032591906133b2565b6108ef565b005b34801561033857600080fd5b50610353600480360381019061034e9190613481565b610990565b005b34801561036157600080fd5b5061037c60048036038101906103779190613481565b6109b1565b005b34801561038a57600080fd5b50610393610a34565b6040516103a2939291906134c1565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd91906130fb565b610a4c565b6040516103e1939291906134c1565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c91906135bb565b610a76565b60405161041e91906136f1565b60405180910390f35b34801561043357600080fd5b5061043c610b8f565b60405161044b939291906134c1565b60405180910390f35b61046e60048036038101906104699190613713565b610ba7565b005b34801561047c57600080fd5b50610497600480360381019061049291906137ae565b610e51565b005b3480156104a557600080fd5b506104c060048036038101906104bb919061388c565b610ed3565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190613481565b610f68565b6040516104f69190613001565b60405180910390f35b34801561050b57600080fd5b50610514610fd3565b60405161052191906130ac565b60405180910390f35b34801561053657600080fd5b5061053f611061565b60405161054c919061319a565b60405180910390f35b34801561056157600080fd5b5061057c6004803603810190610577919061392c565b611068565b005b34801561058a57600080fd5b506105a560048036038101906105a09190613713565b61107e565b005b3480156105b357600080fd5b506105ce60048036038101906105c99190613481565b611333565b005b3480156105dc57600080fd5b506105e5611354565b6040516105f4939291906134c1565b60405180910390f35b34801561060957600080fd5b5061061261136c565b604051610621939291906134c1565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c919061396c565b611384565b60405161065e9190613001565b60405180910390f35b34801561067357600080fd5b5061067c611418565b604051610689919061319a565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b491906139ac565b61143c565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190613a43565b6114dd565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074b90613b08565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107b782611518565b9050919050565b600480546107cb90613b57565b80601f01602080910402602001604051908101604052809291908181526020018280546107f790613b57565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b505050505081565b6000801b61085981611592565b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60606108a9826115a6565b6040516020016108b99190613c10565b6040516020818303038152906040529050919050565b600060036000838152602001908152602001600020600101549050919050565b6108f7611674565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061093d575061093c85610937611674565b611384565b5b61097c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097390613ca4565b60405180910390fd5b610989858585858561167c565b5050505050565b610999826108cf565b6109a281611592565b6109ac838361199d565b505050565b6109b9611674565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90613d36565b60405180910390fd5b610a308282611a7e565b5050565b600c8060000154908060010154908060020154905083565b60126020528060005260406000206000915090508060000154908060010154908060020154905083565b60608151835114610abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab390613dc8565b60405180910390fd5b6000835167ffffffffffffffff811115610ad957610ad86131ba565b5b604051908082528060200260200182016040528015610b075781602001602082028036833780820191505090505b50905060005b8451811015610b8457610b54858281518110610b2c57610b2b613de8565b5b6020026020010151858381518110610b4757610b46613de8565b5b60200260200101516106e4565b828281518110610b6757610b66613de8565b5b60200260200101818152505080610b7d90613e46565b9050610b0d565b508091505092915050565b600f8060000154908060010154908060020154905083565b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2f90613eda565b60405180910390fd5b600082118015610c49575060048211155b610c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7f90613f46565b60405180910390fd5b60008111610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290613fb2565b60405180910390fd5b80610cd630846106e4565b1015610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e9061401e565b60405180910390fd5b6000610d42601260008581526020019081526020016000206002015483611b6090919063ffffffff16565b905080341015610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e9061408a565b60405180910390fd5b610dd234601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b7690919063ffffffff16565b610df530610dde611674565b858560405180602001604052806000815250611c6a565b610dfd611674565b73ffffffffffffffffffffffffffffffffffffffff167ff761777482b4b40d2bcc0d050cfba6829900a2d8b3484bd0244ec0feeb3db5048484604051610e449291906140aa565b60405180910390a2505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610e7b81611592565b610ecb86868686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611f05565b505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610efd81611592565b60005b85859050811015610f6057610f4d868683818110610f2157610f20613de8565b5b9050602002016020810190610f3691906130ce565b858560405180602001604052806000815250611f05565b8080610f5890613e46565b915050610f00565b505050505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60058054610fe090613b57565b80601f016020809104026020016040519081016040528092919081815260200182805461100c90613b57565b80156110595780601f1061102e57610100808354040283529160200191611059565b820191906000526020600020905b81548152906001019060200180831161103c57829003601f168201915b505050505081565b6000801b81565b61107a611073611674565b83836120b5565b5050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086110a881611592565b6000831180156110b9575060048311155b6110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90613f46565b60405180910390fd5b6001830361118857604051806060016040528060066000015481526020016006600101548152602001838152506006600082015181600001556020820151816001015560408201518160020155905050600660126000600660000154815260200190815260200160002060008201548160000155600182015481600101556002820154816002015590505061132e565b6002830361121857604051806060016040528060096000015481526020016009600101548152602001838152506009600082015181600001556020820151816001015560408201518160020155905050600960126000600960000154815260200190815260200160002060008201548160000155600182015481600101556002820154816002015590505061132d565b600383036112a8576040518060600160405280600c600001548152602001600c60010154815260200183815250600c600082015181600001556020820151816001015560408201518160020155905050600c60126000600c60000154815260200190815260200160002060008201548160000155600182015481600101556002820154816002015590505061132c565b6040518060600160405280600f600001548152602001600f60010154815260200183815250600f600082015181600001556020820151816001015560408201518160020155905050600f60126000600f6000015481526020019081526020016000206000820154816000015560018201548160010155600282015481600201559050505b5b5b505050565b61133c826108cf565b61134581611592565b61134f8383611a7e565b505050565b60068060000154908060010154908060020154905083565b60098060000154908060010154908060020154905083565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0881565b611444611674565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061148a575061148985611484611674565b611384565b5b6114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c090613ca4565b60405180910390fd5b6114d68585858585611c6a565b5050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861150781611592565b611512848484612221565b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061158b575061158a82612467565b5b9050919050565b6115a38161159e611674565b612549565b50565b6060600060016115b5846125ce565b01905060008167ffffffffffffffff8111156115d4576115d36131ba565b5b6040519080825280601f01601f1916602001820160405280156116065781602001600182028036833780820191505090505b509050600082602001820190505b600115611669578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161165d5761165c6140d3565b5b04945060008503611614575b819350505050919050565b600033905090565b81518351146116c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b790614174565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172690614206565b60405180910390fd5b6000611739611674565b9050611749818787878787612721565b60005b84518110156118fa57600085828151811061176a57611769613de8565b5b60200260200101519050600085838151811061178957611788613de8565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190614298565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118df91906142b8565b92505081905550505050806118f390613e46565b905061174c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119719291906142ec565b60405180910390a4611987818787878787612729565b611995818787878787612731565b505050505050565b6119a78282610f68565b611a7a5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a1f611674565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a888282610f68565b15611b5c5760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b01611674565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008183611b6e9190614323565b905092915050565b80471015611bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb0906143b1565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611bdf90614402565b60006040518083038185875af1925050503d8060008114611c1c576040519150601f19603f3d011682016040523d82523d6000602084013e611c21565b606091505b5050905080611c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5c90614489565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd090614206565b60405180910390fd5b6000611ce3611674565b90506000611cf085612908565b90506000611cfd85612908565b9050611d0d838989858589612721565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90614298565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5991906142b8565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611ed69291906140aa565b60405180910390a4611eec848a8a86868a612729565b611efa848a8a8a8a8a612982565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6b9061451b565b60405180910390fd5b6000611f7e611674565b90506000611f8b85612908565b90506000611f9885612908565b9050611fa983600089858589612721565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461200891906142b8565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516120869291906140aa565b60405180910390a461209d83600089858589612729565b6120ac83600089898989612982565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a906145ad565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122149190613001565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612290576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122879061463f565b60405180910390fd5b600061229a611674565b905060006122a784612908565b905060006122b484612908565b90506122d483876000858560405180602001604052806000815250612721565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508481101561236b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612362906146d1565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516124389291906140aa565b60405180910390a461245e84886000868660405180602001604052806000815250612729565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061253257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612542575061254182612b59565b5b9050919050565b6125538282610f68565b6125ca5761256081612bc3565b61256e8360001c6020612bf0565b60405160200161257f929190614789565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c191906130ac565b60405180910390fd5b5050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061262c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612622576126216140d3565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612669576d04ee2d6d415b85acef8100000000838161265f5761265e6140d3565b5b0492506020810190505b662386f26fc10000831061269857662386f26fc10000838161268e5761268d6140d3565b5b0492506010810190505b6305f5e10083106126c1576305f5e10083816126b7576126b66140d3565b5b0492506008810190505b61271083106126e65761271083816126dc576126db6140d3565b5b0492506004810190505b6064831061270957606483816126ff576126fe6140d3565b5b0492506002810190505b600a8310612718576001810190505b80915050919050565b505050505050565b505050505050565b6127508473ffffffffffffffffffffffffffffffffffffffff16612e2c565b15612900578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612796959493929190614827565b6020604051808303816000875af19250505080156127d257506040513d601f19601f820116820180604052508101906127cf91906148a4565b60015b612877576127de6148de565b806308c379a00361283a57506127f2614900565b806127fd575061283c565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283191906130ac565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286e90614a02565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f590614a94565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612927576129266131ba565b5b6040519080825280602002602001820160405280156129555781602001602082028036833780820191505090505b509050828160008151811061296d5761296c613de8565b5b60200260200101818152505080915050919050565b6129a18473ffffffffffffffffffffffffffffffffffffffff16612e2c565b15612b51578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016129e7959493929190614ab4565b6020604051808303816000875af1925050508015612a2357506040513d601f19601f82011682018060405250810190612a2091906148a4565b60015b612ac857612a2f6148de565b806308c379a003612a8b5750612a43614900565b80612a4e5750612a8d565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8291906130ac565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abf90614a02565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4690614a94565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060612be98273ffffffffffffffffffffffffffffffffffffffff16601460ff16612bf0565b9050919050565b606060006002836002612c039190614323565b612c0d91906142b8565b67ffffffffffffffff811115612c2657612c256131ba565b5b6040519080825280601f01601f191660200182016040528015612c585781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612c9057612c8f613de8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612cf457612cf3613de8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d349190614323565b612d3e91906142b8565b90505b6001811115612dde577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612d8057612d7f613de8565b5b1a60f81b828281518110612d9757612d96613de8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612dd790614b0e565b9050612d41565b5060008414612e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1990614b83565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e8e82612e63565b9050919050565b612e9e81612e83565b8114612ea957600080fd5b50565b600081359050612ebb81612e95565b92915050565b6000819050919050565b612ed481612ec1565b8114612edf57600080fd5b50565b600081359050612ef181612ecb565b92915050565b60008060408385031215612f0e57612f0d612e59565b5b6000612f1c85828601612eac565b9250506020612f2d85828601612ee2565b9150509250929050565b612f4081612ec1565b82525050565b6000602082019050612f5b6000830184612f37565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f9681612f61565b8114612fa157600080fd5b50565b600081359050612fb381612f8d565b92915050565b600060208284031215612fcf57612fce612e59565b5b6000612fdd84828501612fa4565b91505092915050565b60008115159050919050565b612ffb81612fe6565b82525050565b60006020820190506130166000830184612ff2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561305657808201518184015260208101905061303b565b60008484015250505050565b6000601f19601f8301169050919050565b600061307e8261301c565b6130888185613027565b9350613098818560208601613038565b6130a181613062565b840191505092915050565b600060208201905081810360008301526130c68184613073565b905092915050565b6000602082840312156130e4576130e3612e59565b5b60006130f284828501612eac565b91505092915050565b60006020828403121561311157613110612e59565b5b600061311f84828501612ee2565b91505092915050565b6000819050919050565b61313b81613128565b811461314657600080fd5b50565b60008135905061315881613132565b92915050565b60006020828403121561317457613173612e59565b5b600061318284828501613149565b91505092915050565b61319481613128565b82525050565b60006020820190506131af600083018461318b565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131f282613062565b810181811067ffffffffffffffff82111715613211576132106131ba565b5b80604052505050565b6000613224612e4f565b905061323082826131e9565b919050565b600067ffffffffffffffff8211156132505761324f6131ba565b5b602082029050602081019050919050565b600080fd5b600061327961327484613235565b61321a565b9050808382526020820190506020840283018581111561329c5761329b613261565b5b835b818110156132c557806132b18882612ee2565b84526020840193505060208101905061329e565b5050509392505050565b600082601f8301126132e4576132e36131b5565b5b81356132f4848260208601613266565b91505092915050565b600080fd5b600067ffffffffffffffff82111561331d5761331c6131ba565b5b61332682613062565b9050602081019050919050565b82818337600083830152505050565b600061335561335084613302565b61321a565b905082815260208101848484011115613371576133706132fd565b5b61337c848285613333565b509392505050565b600082601f830112613399576133986131b5565b5b81356133a9848260208601613342565b91505092915050565b600080600080600060a086880312156133ce576133cd612e59565b5b60006133dc88828901612eac565b95505060206133ed88828901612eac565b945050604086013567ffffffffffffffff81111561340e5761340d612e5e565b5b61341a888289016132cf565b935050606086013567ffffffffffffffff81111561343b5761343a612e5e565b5b613447888289016132cf565b925050608086013567ffffffffffffffff81111561346857613467612e5e565b5b61347488828901613384565b9150509295509295909350565b6000806040838503121561349857613497612e59565b5b60006134a685828601613149565b92505060206134b785828601612eac565b9150509250929050565b60006060820190506134d66000830186612f37565b6134e36020830185612f37565b6134f06040830184612f37565b949350505050565b600067ffffffffffffffff821115613513576135126131ba565b5b602082029050602081019050919050565b6000613537613532846134f8565b61321a565b9050808382526020820190506020840283018581111561355a57613559613261565b5b835b81811015613583578061356f8882612eac565b84526020840193505060208101905061355c565b5050509392505050565b600082601f8301126135a2576135a16131b5565b5b81356135b2848260208601613524565b91505092915050565b600080604083850312156135d2576135d1612e59565b5b600083013567ffffffffffffffff8111156135f0576135ef612e5e565b5b6135fc8582860161358d565b925050602083013567ffffffffffffffff81111561361d5761361c612e5e565b5b613629858286016132cf565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61366881612ec1565b82525050565b600061367a838361365f565b60208301905092915050565b6000602082019050919050565b600061369e82613633565b6136a8818561363e565b93506136b38361364f565b8060005b838110156136e45781516136cb888261366e565b97506136d683613686565b9250506001810190506136b7565b5085935050505092915050565b6000602082019050818103600083015261370b8184613693565b905092915050565b6000806040838503121561372a57613729612e59565b5b600061373885828601612ee2565b925050602061374985828601612ee2565b9150509250929050565b600080fd5b60008083601f84011261376e5761376d6131b5565b5b8235905067ffffffffffffffff81111561378b5761378a613753565b5b6020830191508360018202830111156137a7576137a6613261565b5b9250929050565b6000806000806000608086880312156137ca576137c9612e59565b5b60006137d888828901612eac565b95505060206137e988828901612ee2565b94505060406137fa88828901612ee2565b935050606086013567ffffffffffffffff81111561381b5761381a612e5e565b5b61382788828901613758565b92509250509295509295909350565b60008083601f84011261384c5761384b6131b5565b5b8235905067ffffffffffffffff81111561386957613868613753565b5b60208301915083602082028301111561388557613884613261565b5b9250929050565b600080600080606085870312156138a6576138a5612e59565b5b600085013567ffffffffffffffff8111156138c4576138c3612e5e565b5b6138d087828801613836565b945094505060206138e387828801612ee2565b92505060406138f487828801612ee2565b91505092959194509250565b61390981612fe6565b811461391457600080fd5b50565b60008135905061392681613900565b92915050565b6000806040838503121561394357613942612e59565b5b600061395185828601612eac565b925050602061396285828601613917565b9150509250929050565b6000806040838503121561398357613982612e59565b5b600061399185828601612eac565b92505060206139a285828601612eac565b9150509250929050565b600080600080600060a086880312156139c8576139c7612e59565b5b60006139d688828901612eac565b95505060206139e788828901612eac565b94505060406139f888828901612ee2565b9350506060613a0988828901612ee2565b925050608086013567ffffffffffffffff811115613a2a57613a29612e5e565b5b613a3688828901613384565b9150509295509295909350565b600080600060608486031215613a5c57613a5b612e59565b5b6000613a6a86828701612eac565b9350506020613a7b86828701612ee2565b9250506040613a8c86828701612ee2565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613af2602a83613027565b9150613afd82613a96565b604082019050919050565b60006020820190508181036000830152613b2181613ae5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b6f57607f821691505b602082108103613b8257613b81613b28565b5b50919050565b600081905092915050565b7f68747470733a2f2f7374726f6e67782e6e65742f6170692f746f6b656e2f0000600082015250565b6000613bc9601e83613b88565b9150613bd482613b93565b601e82019050919050565b6000613bea8261301c565b613bf48185613b88565b9350613c04818560208601613038565b80840191505092915050565b6000613c1b82613bbc565b9150613c278284613bdf565b915081905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613c8e602e83613027565b9150613c9982613c32565b604082019050919050565b60006020820190508181036000830152613cbd81613c81565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613d20602f83613027565b9150613d2b82613cc4565b604082019050919050565b60006020820190508181036000830152613d4f81613d13565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613db2602983613027565b9150613dbd82613d56565b604082019050919050565b60006020820190508181036000830152613de181613da5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e5182612ec1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e8357613e82613e17565b5b600182019050919050565b7f46756e642061646472657373206e6f7420736574000000000000000000000000600082015250565b6000613ec4601483613027565b9150613ecf82613e8e565b602082019050919050565b60006020820190508181036000830152613ef381613eb7565b9050919050565b7f496e76616c696420746f6b656e20696400000000000000000000000000000000600082015250565b6000613f30601083613027565b9150613f3b82613efa565b602082019050919050565b60006020820190508181036000830152613f5f81613f23565b9050919050565b7f416d6f756e74206d757374206265206d6f7265207468616e207a65726f000000600082015250565b6000613f9c601d83613027565b9150613fa782613f66565b602082019050919050565b60006020820190508181036000830152613fcb81613f8f565b9050919050565b7f416d6f756e742063616e206e6f74206265207075726368617365640000000000600082015250565b6000614008601b83613027565b915061401382613fd2565b602082019050919050565b6000602082019050818103600083015261403781613ffb565b9050919050565b7f56616c756520697320746f6f206c6f7700000000000000000000000000000000600082015250565b6000614074601083613027565b915061407f8261403e565b602082019050919050565b600060208201905081810360008301526140a381614067565b9050919050565b60006040820190506140bf6000830185612f37565b6140cc6020830184612f37565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061415e602883613027565b915061416982614102565b604082019050919050565b6000602082019050818103600083015261418d81614151565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006141f0602583613027565b91506141fb82614194565b604082019050919050565b6000602082019050818103600083015261421f816141e3565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614282602a83613027565b915061428d82614226565b604082019050919050565b600060208201905081810360008301526142b181614275565b9050919050565b60006142c382612ec1565b91506142ce83612ec1565b92508282019050808211156142e6576142e5613e17565b5b92915050565b600060408201905081810360008301526143068185613693565b9050818103602083015261431a8184613693565b90509392505050565b600061432e82612ec1565b915061433983612ec1565b925082820261434781612ec1565b9150828204841483151761435e5761435d613e17565b5b5092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061439b601d83613027565b91506143a682614365565b602082019050919050565b600060208201905081810360008301526143ca8161438e565b9050919050565b600081905092915050565b50565b60006143ec6000836143d1565b91506143f7826143dc565b600082019050919050565b600061440d826143df565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614473603a83613027565b915061447e82614417565b604082019050919050565b600060208201905081810360008301526144a281614466565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614505602183613027565b9150614510826144a9565b604082019050919050565b60006020820190508181036000830152614534816144f8565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614597602983613027565b91506145a28261453b565b604082019050919050565b600060208201905081810360008301526145c68161458a565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614629602383613027565b9150614634826145cd565b604082019050919050565b600060208201905081810360008301526146588161461c565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006146bb602483613027565b91506146c68261465f565b604082019050919050565b600060208201905081810360008301526146ea816146ae565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614727601783613b88565b9150614732826146f1565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614773601183613b88565b915061477e8261473d565b601182019050919050565b60006147948261471a565b91506147a08285613bdf565b91506147ab82614766565b91506147b78284613bdf565b91508190509392505050565b6147cc81612e83565b82525050565b600081519050919050565b600082825260208201905092915050565b60006147f9826147d2565b61480381856147dd565b9350614813818560208601613038565b61481c81613062565b840191505092915050565b600060a08201905061483c60008301886147c3565b61484960208301876147c3565b818103604083015261485b8186613693565b9050818103606083015261486f8185613693565b9050818103608083015261488381846147ee565b90509695505050505050565b60008151905061489e81612f8d565b92915050565b6000602082840312156148ba576148b9612e59565b5b60006148c88482850161488f565b91505092915050565b60008160e01c9050919050565b600060033d11156148fd5760046000803e6148fa6000516148d1565b90505b90565b600060443d1061498d57614912612e4f565b60043d036004823e80513d602482011167ffffffffffffffff8211171561493a57505061498d565b808201805167ffffffffffffffff811115614958575050505061498d565b80602083010160043d03850181111561497557505050505061498d565b614984826020018501866131e9565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006149ec603483613027565b91506149f782614990565b604082019050919050565b60006020820190508181036000830152614a1b816149df565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614a7e602883613027565b9150614a8982614a22565b604082019050919050565b60006020820190508181036000830152614aad81614a71565b9050919050565b600060a082019050614ac960008301886147c3565b614ad660208301876147c3565b614ae36040830186612f37565b614af06060830185612f37565b8181036080830152614b0281846147ee565b90509695505050505050565b6000614b1982612ec1565b915060008203614b2c57614b2b613e17565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614b6d602083613027565b9150614b7882614b37565b602082019050919050565b60006020820190508181036000830152614b9c81614b60565b905091905056fea26469706673582212203004d387df0b3ac98be0a85d59be349fe8cb57ca9d285a19ee05bce7d785051564736f6c63430008130033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.