ETH Price: $3,383.69 (-1.57%)
Gas: 1 Gwei

Token

Glove (GLO)
 

Overview

Max Total Supply

3,382.15066686065276662 GLO

Holders

443

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1.735322666046337092 GLO

Value
$0.00
0x3E95fEF1176acF5e5d2EF67D9C856E4ECAc73E1F
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:
Glove

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 2 of 12 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

File 3 of 12 : 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 4 of 12 : IAccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 5 of 12 : 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 6 of 12 : 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 7 of 12 : 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 8 of 12 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

File 10 of 12 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 11 of 12 : Glove.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.17;

import { AccessControlEnumerable } from "@openzeppelin/contracts/access/AccessControlEnumerable.sol";

import { IGlove } from "./interfaces/IGlove.sol";


contract Glove is IGlove, AccessControlEnumerable
{
  bytes32 public constant CREDITOR_ROLE = keccak256("CREDITOR_ROLE");

  bytes32 private constant _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
  bytes32 private constant _DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

  bytes32 private constant _NAME_HASH = keccak256("Glove");
  bytes32 private constant _VERSION_HASH = keccak256("1");

  bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
  uint256 private immutable _CACHED_CHAIN_ID;
  address private immutable _CACHED_THIS;


  uint256 private _totalSupply;

  mapping(address => uint256) private _nonce;

  mapping(address => uint256) private _credit;

  mapping(address => uint256) private _balance;
  mapping(address => mapping(address => uint256)) private _allowance;


  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);


  constructor ()
  {
    _CACHED_THIS = address(this);
    _CACHED_CHAIN_ID = block.chainid;
    _CACHED_DOMAIN_SEPARATOR = _separator();


    _setupRole(CREDITOR_ROLE, msg.sender);
    _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _setRoleAdmin(CREDITOR_ROLE, DEFAULT_ADMIN_ROLE);
  }


  function name () public pure returns (string memory)
  {
    return "Glove";
  }

  function symbol () public pure returns (string memory)
  {
    return "GLO";
  }

  function decimals () public pure returns (uint8)
  {
    return 18;
  }

  function totalSupply () public view returns (uint256)
  {
    return _totalSupply;
  }

  function balanceOf (address account) public view returns (uint256)
  {
    return _balance[account];
  }


  function creditOf (address account) public view returns (uint256)
  {
    return _credit[account];
  }

  function creditlessOf (address account) public view returns (uint256)
  {
    return _balance[account] - _credit[account];
  }


  function _separator () private view returns (bytes32)
  {
    return keccak256(abi.encode(_DOMAIN_TYPEHASH, _NAME_HASH, _VERSION_HASH, block.chainid, address(this)));
  }

  function DOMAIN_SEPARATOR () public view returns (bytes32)
  {
    return (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) ? _CACHED_DOMAIN_SEPARATOR : _separator();
  }

  function nonces (address owner) public view returns (uint256)
  {
    return _nonce[owner];
  }

  function allowance (address owner, address spender) public view returns (uint256)
  {
    return _allowance[owner][spender];
  }


  function _approve (address owner, address spender, uint256 amount) internal
  {
    _allowance[owner][spender] = amount;


    emit Approval(owner, spender, amount);
  }

  function approve (address spender, uint256 amount) public returns (bool)
  {
    _approve(msg.sender, spender, amount);


    return true;
  }

  function increaseAllowance (address spender, uint256 amount) public returns (bool)
  {
    _approve(msg.sender, spender, _allowance[msg.sender][spender] + amount);


    return true;
  }

  function decreaseAllowance (address spender, uint256 amount) public returns (bool)
  {
    uint256 currentAllowance = _allowance[msg.sender][spender];

    require(currentAllowance >= amount, "GLO: decreasing < 0");


    unchecked
    {
      _approve(msg.sender, spender, currentAllowance - amount);
    }


    return true;
  }

  function permit (address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public
  {
    require(block.timestamp <= deadline, "GLO: expired deadline");


    bytes32 hash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _nonce[owner]++, deadline));
    address signer = ecrecover(keccak256(abi.encodePacked("\x19\x01", DOMAIN_SEPARATOR(), hash)), v, r, s);

    require(signer != address(0) && signer == owner, "GLO: !valid sig");


    _approve(owner, spender, value);
  }


  function _isCreditor () internal view
  {
    require(hasRole(CREDITOR_ROLE, msg.sender), "GLO: !creditor");
  }

  function _transfer (address from, address to, uint256 amount) internal
  {
    require(to != address(0), "GLO: transfer to 0 addr");


    uint256 balance = _balance[from];

    require(balance >= amount, "GLO: amount > balance");


    unchecked
    {
      _balance[from] = balance - amount;
      _balance[to] += amount;
    }


    emit Transfer(from, to, amount);
  }

  function _transferCredits (address from, address to, uint256 amount) internal
  {
    uint256 credit = _credit[from];

    bool senderIsCreditor = hasRole(CREDITOR_ROLE, from);
    bool recipientIsCreditor = hasRole(CREDITOR_ROLE, to);


    if (!senderIsCreditor && !recipientIsCreditor)
    {
      require(credit >= amount, "GLO: amount > credit");
    }


    _credit[from] = credit > amount ? credit - amount : 0;


    if (senderIsCreditor || recipientIsCreditor)
    {
      _credit[to] += amount;
    }
    else if (from == tx.origin)
    {
      _credit[to] += (_balance[to] > amount ? amount : ((amount * 99_00) / 100_00));
    }
  }

  function transfer (address to, uint256 amount) public returns (bool)
  {
    _transfer(msg.sender, to, amount);
    _transferCredits(msg.sender, to, amount);


    return true;
  }

  function transferCreditless (address to, uint256 amount) public returns (bool)
  {
    _isCreditor();


    _transfer(msg.sender, to, amount);

    _credit[msg.sender] = _credit[msg.sender] > amount ? (_credit[msg.sender] - amount) : 0;


    return true;
  }

  function transferFrom (address from, address to, uint256 amount) public returns (bool)
  {
    uint256 currentAllowance = _allowance[from][msg.sender];


    if (currentAllowance != type(uint256).max)
    {
      require(currentAllowance >= amount, "GLO: !enough allowance");


      unchecked
      {
        _approve(from, msg.sender, currentAllowance - amount);
      }
    }


    _transfer(from, to, amount);
    _transferCredits(from, to, amount);


    return true;
  }


  function _creditize (address account, uint256 amount) internal
  {
    _isCreditor();


    uint256 balance = _balance[account];
    uint256 addition = _credit[account] + amount;


    _credit[account] = addition > balance ? balance : addition;
  }

  function _mint (address account, uint256 amount) internal
  {
    require(account != address(0), "GLO: mint to 0 addr");


    _totalSupply += amount;


    unchecked
    {
      _balance[account] += amount;
    }


    emit Transfer(address(0), account, amount);
  }

  function mint (address account, uint256 amount) external
  {
    _mint(account, amount);
    _creditize(account, amount);
  }

  function mintCreditless (address account, uint256 amount) external
  {
    _isCreditor();


    _mint(account, amount);
  }

  function creditize (address account, uint256 amount) external returns (bool)
  {
    _creditize(account, amount);


    return true;
  }


  function _decreditize (address account, uint256 amount) internal
  {
    _isCreditor();


    uint256 credit = _credit[account];


    _credit[account] = credit > amount ? (credit - amount) : 0;
  }

  function _burn (address account, uint256 amount) internal
  {
    uint256 balance = _balance[account];

    require(balance >= amount, "GLO: burn > balance");


    unchecked
    {
      _balance[account] = balance - amount;
      _totalSupply -= amount;
    }


    emit Transfer(account, address(0), amount);
  }

  function burn (address account, uint256 amount) external
  {
    _isCreditor();


    uint256 creditless = _balance[account] - _credit[account];


    _burn(account, amount);


    if (amount > creditless)
    {
      _decreditize(account, amount);
    }
  }

  function decreditize (address account, uint256 amount) external returns (bool)
  {
    _decreditize(account, amount);


    return true;
  }
}

File 12 of 12 : IGlove.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.17;


interface IGlove
{
  function balanceOf (address account) external view returns (uint256);


  function creditOf (address account) external view returns (uint256);

  function creditlessOf (address account) external view returns (uint256);


  function transfer (address to, uint256 amount) external returns (bool);

  function transferFrom (address from, address to, uint256 amount) external returns (bool);

  function transferCreditless (address to, uint256 amount) external returns (bool);


  function mint (address account, uint256 amount) external;

  function mintCreditless (address account, uint256 amount) external;

  function creditize (address account, uint256 credits) external returns (bool);


  function burn (address account, uint256 amount) external;

  function decreditize (address account, uint256 credits) external returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CREDITOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"creditOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"creditize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"creditlessOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"decreditize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintCreditless","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","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":"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":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferCreditless","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250504660a081815250506200005e620000e760201b60201c565b60808181525050620000977fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb8336200017f60201b60201c565b620000ac6000801b336200017f60201b60201c565b620000e17fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb86000801b6200019560201b60201c565b6200056f565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fb9e7c51d1fac61665b3fd236d8c1c4a79529084b22ecf3be81cdf4995f30814a7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016200016495949392919062000512565b60405160208183030381529060405280519060200120905090565b620001918282620001f860201b60201c565b5050565b6000620001a8836200024060201b60201c565b905081600080858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b6200020f82826200025f60201b6200136e1760201c565b6200023b81600160008581526020019081526020016000206200035060201b6200144e1790919060201c565b505050565b6000806000838152602001908152602001600020600101549050919050565b6200027182826200038860201b60201c565b6200034c57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002f1620003f260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000380836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620003fa60201b60201c565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b60006200040e83836200047460201b60201c565b620004695782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506200046e565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b6000819050919050565b620004ac8162000497565b82525050565b6000819050919050565b620004c781620004b2565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004fa82620004cd565b9050919050565b6200050c81620004ed565b82525050565b600060a082019050620005296000830188620004a1565b620005386020830187620004a1565b620005476040830186620004a1565b620005566060830185620004bc565b62000565608083018462000501565b9695505050505050565b60805160a05160c0516136706200059f60003960006109bf01526000610a1501526000610a4a01526136706000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80637affb63a1161010f578063a457c2d7116100a2578063d2d9f2a611610071578063d2d9f2a614610653578063d505accf14610683578063d547741f1461069f578063dd62ed3e146106bb576101f0565b8063a457c2d7146105a5578063a9059cbb146105d5578063b31deaf114610605578063ca15c87314610623576101f0565b806391d14854116100de57806391d148541461051d57806395d89b411461054d5780639dc29fac1461056b578063a217fddf14610587576101f0565b80637affb63a1461045d5780637ecebe001461048d5780638628b30d146104bd5780639010d07c146104ed576101f0565b8063313ce5671161018757806339b0f3cd1161015657806339b0f3cd146103c557806340c10f19146103e157806370a08231146103fd578063758072501461042d576101f0565b8063313ce5671461033d5780633644e5151461035b57806336568abe146103795780633950935114610395576101f0565b8063232d88ba116101c3578063232d88ba1461029157806323b872dd146102c1578063248a9ca3146102f15780632f2ff15d14610321576101f0565b806301ffc9a7146101f557806306fdde0314610225578063095ea7b31461024357806318160ddd14610273575b600080fd5b61020f600480360381019061020a9190612713565b6106eb565b60405161021c919061275b565b60405180910390f35b61022d610765565b60405161023a9190612806565b60405180910390f35b61025d600480360381019061025891906128bc565b6107a2565b60405161026a919061275b565b60405180910390f35b61027b6107b9565b604051610288919061290b565b60405180910390f35b6102ab60048036038101906102a69190612926565b6107c3565b6040516102b8919061290b565b60405180910390f35b6102db60048036038101906102d69190612953565b610856565b6040516102e8919061275b565b60405180910390f35b61030b600480360381019061030691906129dc565b610972565b6040516103189190612a18565b60405180910390f35b61033b60048036038101906103369190612a33565b610991565b005b6103456109b2565b6040516103529190612a8f565b60405180910390f35b6103636109bb565b6040516103709190612a18565b60405180910390f35b610393600480360381019061038e9190612a33565b610a6f565b005b6103af60048036038101906103aa91906128bc565b610af2565b6040516103bc919061275b565b60405180910390f35b6103df60048036038101906103da91906128bc565b610b90565b005b6103fb60048036038101906103f691906128bc565b610ba6565b005b61041760048036038101906104129190612926565b610bbe565b604051610424919061290b565b60405180910390f35b61044760048036038101906104429190612926565b610c07565b604051610454919061290b565b60405180910390f35b610477600480360381019061047291906128bc565b610c50565b604051610484919061275b565b60405180910390f35b6104a760048036038101906104a29190612926565b610c66565b6040516104b4919061290b565b60405180910390f35b6104d760048036038101906104d291906128bc565b610caf565b6040516104e4919061275b565b60405180910390f35b61050760048036038101906105029190612aaa565b610cc5565b6040516105149190612af9565b60405180910390f35b61053760048036038101906105329190612a33565b610cf4565b604051610544919061275b565b60405180910390f35b610555610d5e565b6040516105629190612806565b60405180910390f35b610585600480360381019061058091906128bc565b610d9b565b005b61058f610e53565b60405161059c9190612a18565b60405180910390f35b6105bf60048036038101906105ba91906128bc565b610e5a565b6040516105cc919061275b565b60405180910390f35b6105ef60048036038101906105ea91906128bc565b610f37565b6040516105fc919061275b565b60405180910390f35b61060d610f59565b60405161061a9190612a18565b60405180910390f35b61063d600480360381019061063891906129dc565b610f7d565b60405161064a919061290b565b60405180910390f35b61066d600480360381019061066891906128bc565b610fa1565b60405161067a919061275b565b60405180910390f35b61069d60048036038101906106989190612b40565b61109c565b005b6106b960048036038101906106b49190612a33565b6112c6565b005b6106d560048036038101906106d09190612be2565b6112e7565b6040516106e2919061290b565b60405180910390f35b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075e575061075d8261147e565b5b9050919050565b60606040518060400160405280600581526020017f476c6f7665000000000000000000000000000000000000000000000000000000815250905090565b60006107af3384846114f8565b6001905092915050565b6000600254905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461084f9190612c51565b9050919050565b600080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109505782811015610942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093990612cd1565b60405180910390fd5b61094f85338584036114f8565b5b61095b8585856115e3565b6109668585856117d7565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61099a82610972565b6109a381611a8d565b6109ad8383611aa1565b505050565b60006012905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015610a3757507f000000000000000000000000000000000000000000000000000000000000000046145b610a4857610a43611ad5565b610a6a565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b610a77611b6b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb90612d63565b60405180910390fd5b610aee8282611b73565b5050565b6000610b86338484600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b819190612d83565b6114f8565b6001905092915050565b610b98611ba7565b610ba28282611c12565b5050565b610bb08282611c12565b610bba8282611d51565b5050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610c5c8383611d51565b6001905092915050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610cbb8383611e44565b6001905092915050565b6000610cec8260016000868152602001908152602001600020611ef390919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606040518060400160405280600381526020017f474c4f0000000000000000000000000000000000000000000000000000000000815250905090565b610da3611ba7565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e2f9190612c51565b9050610e3b8383611f0d565b80821115610e4e57610e4d8383611e44565b5b505050565b6000801b81565b600080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690612e03565b60405180910390fd5b610f2c33858584036114f8565b600191505092915050565b6000610f443384846115e3565b610f4f3384846117d7565b6001905092915050565b7fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb881565b6000610f9a60016000848152602001908152602001600020612055565b9050919050565b6000610fab611ba7565b610fb63384846115e3565b81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161100357600061104f565b81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461104e9190612c51565b5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b834211156110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690612e6f565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888600360008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061115590612e8f565b919050558960405160200161116f96959493929190612ed7565b604051602081830303815290604052805190602001209050600060016111936109bb565b836040516020016111a5929190612fb0565b60405160208183030381529060405280519060200120868686604051600081526020016040526040516111db9493929190612fe7565b6020604051602081039080840390855afa1580156111fd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561127157508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790613078565b60405180910390fd5b6112bb8989896114f8565b505050505050505050565b6112cf82610972565b6112d881611a8d565b6112e28383611b73565b505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113788282610cf4565b61144a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113ef611b6b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000611476836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61206a565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114f157506114f0826120da565b5b9050919050565b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516115d6919061290b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611652576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611649906130e4565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d090613150565b60405180910390fd5b818103600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117c9919061290b565b60405180910390a350505050565b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006118477fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb886610cf4565b905060006118757fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb886610cf4565b905081158015611883575080155b156118cc57838310156118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c2906131bc565b60405180910390fd5b5b8383116118da5760006118e7565b83836118e69190612c51565b5b600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081806119335750805b156119935783600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119879190612d83565b92505081905550611a85565b3273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1603611a845783600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611a2c576127106126ac85611a1d91906131dc565b611a27919061324d565b611a2e565b835b600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7c9190612d83565b925050819055505b5b505050505050565b611a9e81611a99611b6b565b612144565b50565b611aab828261136e565b611ad0816001600085815260200190815260200160002061144e90919063ffffffff16565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fb9e7c51d1fac61665b3fd236d8c1c4a79529084b22ecf3be81cdf4995f30814a7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc64630604051602001611b5095949392919061327e565b60405160208183030381529060405280519060200120905090565b600033905090565b611b7d82826121c9565b611ba281600160008581526020019081526020016000206122aa90919063ffffffff16565b505050565b611bd17fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb833610cf4565b611c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c079061331d565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890613389565b60405180910390fd5b8060026000828254611c939190612d83565b9250508190555080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d45919061290b565b60405180910390a35050565b611d59611ba7565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dea9190612d83565b9050818111611df95780611dfb565b815b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b611e4c611ba7565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818111611e9e576000611eab565b8181611eaa9190612c51565b5b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6000611f0283600001836122da565b60001c905092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8b906133f5565b60405180910390fd5b818103600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612048919061290b565b60405180910390a3505050565b600061206382600001612305565b9050919050565b60006120768383612316565b6120cf5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506120d4565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61214e8282610cf4565b6121c55761215b81612339565b6121698360001c6020612366565b60405160200161217a9291906134de565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bc9190612806565b60405180910390fd5b5050565b6121d38282610cf4565b156122a657600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061224b611b6b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006122d2836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6125a2565b905092915050565b60008260000182815481106122f2576122f1613518565b5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b606061235f8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612366565b9050919050565b60606000600283600261237991906131dc565b6123839190612d83565b67ffffffffffffffff81111561239c5761239b613547565b5b6040519080825280601f01601f1916602001820160405280156123ce5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061240657612405613518565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061246a57612469613518565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026124aa91906131dc565b6124b49190612d83565b90505b6001811115612554577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106124f6576124f5613518565b5b1a60f81b82828151811061250d5761250c613518565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061254d90613576565b90506124b7565b5060008414612598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258f906135eb565b60405180910390fd5b8091505092915050565b600080836001016000848152602001908152602001600020549050600081146126aa5760006001826125d49190612c51565b90506000600186600001805490506125ec9190612c51565b905081811461265b57600086600001828154811061260d5761260c613518565b5b906000526020600020015490508087600001848154811061263157612630613518565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b8560000180548061266f5761266e61360b565b5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506126b0565b60009150505b92915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126f0816126bb565b81146126fb57600080fd5b50565b60008135905061270d816126e7565b92915050565b600060208284031215612729576127286126b6565b5b6000612737848285016126fe565b91505092915050565b60008115159050919050565b61275581612740565b82525050565b6000602082019050612770600083018461274c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127b0578082015181840152602081019050612795565b60008484015250505050565b6000601f19601f8301169050919050565b60006127d882612776565b6127e28185612781565b93506127f2818560208601612792565b6127fb816127bc565b840191505092915050565b6000602082019050818103600083015261282081846127cd565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061285382612828565b9050919050565b61286381612848565b811461286e57600080fd5b50565b6000813590506128808161285a565b92915050565b6000819050919050565b61289981612886565b81146128a457600080fd5b50565b6000813590506128b681612890565b92915050565b600080604083850312156128d3576128d26126b6565b5b60006128e185828601612871565b92505060206128f2858286016128a7565b9150509250929050565b61290581612886565b82525050565b600060208201905061292060008301846128fc565b92915050565b60006020828403121561293c5761293b6126b6565b5b600061294a84828501612871565b91505092915050565b60008060006060848603121561296c5761296b6126b6565b5b600061297a86828701612871565b935050602061298b86828701612871565b925050604061299c868287016128a7565b9150509250925092565b6000819050919050565b6129b9816129a6565b81146129c457600080fd5b50565b6000813590506129d6816129b0565b92915050565b6000602082840312156129f2576129f16126b6565b5b6000612a00848285016129c7565b91505092915050565b612a12816129a6565b82525050565b6000602082019050612a2d6000830184612a09565b92915050565b60008060408385031215612a4a57612a496126b6565b5b6000612a58858286016129c7565b9250506020612a6985828601612871565b9150509250929050565b600060ff82169050919050565b612a8981612a73565b82525050565b6000602082019050612aa46000830184612a80565b92915050565b60008060408385031215612ac157612ac06126b6565b5b6000612acf858286016129c7565b9250506020612ae0858286016128a7565b9150509250929050565b612af381612848565b82525050565b6000602082019050612b0e6000830184612aea565b92915050565b612b1d81612a73565b8114612b2857600080fd5b50565b600081359050612b3a81612b14565b92915050565b600080600080600080600060e0888a031215612b5f57612b5e6126b6565b5b6000612b6d8a828b01612871565b9750506020612b7e8a828b01612871565b9650506040612b8f8a828b016128a7565b9550506060612ba08a828b016128a7565b9450506080612bb18a828b01612b2b565b93505060a0612bc28a828b016129c7565b92505060c0612bd38a828b016129c7565b91505092959891949750929550565b60008060408385031215612bf957612bf86126b6565b5b6000612c0785828601612871565b9250506020612c1885828601612871565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c5c82612886565b9150612c6783612886565b9250828203905081811115612c7f57612c7e612c22565b5b92915050565b7f474c4f3a2021656e6f75676820616c6c6f77616e636500000000000000000000600082015250565b6000612cbb601683612781565b9150612cc682612c85565b602082019050919050565b60006020820190508181036000830152612cea81612cae565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612d4d602f83612781565b9150612d5882612cf1565b604082019050919050565b60006020820190508181036000830152612d7c81612d40565b9050919050565b6000612d8e82612886565b9150612d9983612886565b9250828201905080821115612db157612db0612c22565b5b92915050565b7f474c4f3a2064656372656173696e67203c203000000000000000000000000000600082015250565b6000612ded601383612781565b9150612df882612db7565b602082019050919050565b60006020820190508181036000830152612e1c81612de0565b9050919050565b7f474c4f3a206578706972656420646561646c696e650000000000000000000000600082015250565b6000612e59601583612781565b9150612e6482612e23565b602082019050919050565b60006020820190508181036000830152612e8881612e4c565b9050919050565b6000612e9a82612886565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ecc57612ecb612c22565b5b600182019050919050565b600060c082019050612eec6000830189612a09565b612ef96020830188612aea565b612f066040830187612aea565b612f1360608301866128fc565b612f2060808301856128fc565b612f2d60a08301846128fc565b979650505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000612f79600283612f38565b9150612f8482612f43565b600282019050919050565b6000819050919050565b612faa612fa5826129a6565b612f8f565b82525050565b6000612fbb82612f6c565b9150612fc78285612f99565b602082019150612fd78284612f99565b6020820191508190509392505050565b6000608082019050612ffc6000830187612a09565b6130096020830186612a80565b6130166040830185612a09565b6130236060830184612a09565b95945050505050565b7f474c4f3a202176616c6964207369670000000000000000000000000000000000600082015250565b6000613062600f83612781565b915061306d8261302c565b602082019050919050565b6000602082019050818103600083015261309181613055565b9050919050565b7f474c4f3a207472616e7366657220746f20302061646472000000000000000000600082015250565b60006130ce601783612781565b91506130d982613098565b602082019050919050565b600060208201905081810360008301526130fd816130c1565b9050919050565b7f474c4f3a20616d6f756e74203e2062616c616e63650000000000000000000000600082015250565b600061313a601583612781565b915061314582613104565b602082019050919050565b600060208201905081810360008301526131698161312d565b9050919050565b7f474c4f3a20616d6f756e74203e20637265646974000000000000000000000000600082015250565b60006131a6601483612781565b91506131b182613170565b602082019050919050565b600060208201905081810360008301526131d581613199565b9050919050565b60006131e782612886565b91506131f283612886565b925082820261320081612886565b9150828204841483151761321757613216612c22565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061325882612886565b915061326383612886565b9250826132735761327261321e565b5b828204905092915050565b600060a0820190506132936000830188612a09565b6132a06020830187612a09565b6132ad6040830186612a09565b6132ba60608301856128fc565b6132c76080830184612aea565b9695505050505050565b7f474c4f3a20216372656469746f72000000000000000000000000000000000000600082015250565b6000613307600e83612781565b9150613312826132d1565b602082019050919050565b60006020820190508181036000830152613336816132fa565b9050919050565b7f474c4f3a206d696e7420746f2030206164647200000000000000000000000000600082015250565b6000613373601383612781565b915061337e8261333d565b602082019050919050565b600060208201905081810360008301526133a281613366565b9050919050565b7f474c4f3a206275726e203e2062616c616e636500000000000000000000000000600082015250565b60006133df601383612781565b91506133ea826133a9565b602082019050919050565b6000602082019050818103600083015261340e816133d2565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061344b601783612f38565b915061345682613415565b601782019050919050565b600061346c82612776565b6134768185612f38565b9350613486818560208601612792565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006134c8601183612f38565b91506134d382613492565b601182019050919050565b60006134e98261343e565b91506134f58285613461565b9150613500826134bb565b915061350c8284613461565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600061358182612886565b91506000820361359457613593612c22565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006135d5602083612781565b91506135e08261359f565b602082019050919050565b60006020820190508181036000830152613604816135c8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220206f1755ad945d235bd0d0b20eb2b33ca961de2c787b9bb56bb59bb80cb4938964736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80637affb63a1161010f578063a457c2d7116100a2578063d2d9f2a611610071578063d2d9f2a614610653578063d505accf14610683578063d547741f1461069f578063dd62ed3e146106bb576101f0565b8063a457c2d7146105a5578063a9059cbb146105d5578063b31deaf114610605578063ca15c87314610623576101f0565b806391d14854116100de57806391d148541461051d57806395d89b411461054d5780639dc29fac1461056b578063a217fddf14610587576101f0565b80637affb63a1461045d5780637ecebe001461048d5780638628b30d146104bd5780639010d07c146104ed576101f0565b8063313ce5671161018757806339b0f3cd1161015657806339b0f3cd146103c557806340c10f19146103e157806370a08231146103fd578063758072501461042d576101f0565b8063313ce5671461033d5780633644e5151461035b57806336568abe146103795780633950935114610395576101f0565b8063232d88ba116101c3578063232d88ba1461029157806323b872dd146102c1578063248a9ca3146102f15780632f2ff15d14610321576101f0565b806301ffc9a7146101f557806306fdde0314610225578063095ea7b31461024357806318160ddd14610273575b600080fd5b61020f600480360381019061020a9190612713565b6106eb565b60405161021c919061275b565b60405180910390f35b61022d610765565b60405161023a9190612806565b60405180910390f35b61025d600480360381019061025891906128bc565b6107a2565b60405161026a919061275b565b60405180910390f35b61027b6107b9565b604051610288919061290b565b60405180910390f35b6102ab60048036038101906102a69190612926565b6107c3565b6040516102b8919061290b565b60405180910390f35b6102db60048036038101906102d69190612953565b610856565b6040516102e8919061275b565b60405180910390f35b61030b600480360381019061030691906129dc565b610972565b6040516103189190612a18565b60405180910390f35b61033b60048036038101906103369190612a33565b610991565b005b6103456109b2565b6040516103529190612a8f565b60405180910390f35b6103636109bb565b6040516103709190612a18565b60405180910390f35b610393600480360381019061038e9190612a33565b610a6f565b005b6103af60048036038101906103aa91906128bc565b610af2565b6040516103bc919061275b565b60405180910390f35b6103df60048036038101906103da91906128bc565b610b90565b005b6103fb60048036038101906103f691906128bc565b610ba6565b005b61041760048036038101906104129190612926565b610bbe565b604051610424919061290b565b60405180910390f35b61044760048036038101906104429190612926565b610c07565b604051610454919061290b565b60405180910390f35b610477600480360381019061047291906128bc565b610c50565b604051610484919061275b565b60405180910390f35b6104a760048036038101906104a29190612926565b610c66565b6040516104b4919061290b565b60405180910390f35b6104d760048036038101906104d291906128bc565b610caf565b6040516104e4919061275b565b60405180910390f35b61050760048036038101906105029190612aaa565b610cc5565b6040516105149190612af9565b60405180910390f35b61053760048036038101906105329190612a33565b610cf4565b604051610544919061275b565b60405180910390f35b610555610d5e565b6040516105629190612806565b60405180910390f35b610585600480360381019061058091906128bc565b610d9b565b005b61058f610e53565b60405161059c9190612a18565b60405180910390f35b6105bf60048036038101906105ba91906128bc565b610e5a565b6040516105cc919061275b565b60405180910390f35b6105ef60048036038101906105ea91906128bc565b610f37565b6040516105fc919061275b565b60405180910390f35b61060d610f59565b60405161061a9190612a18565b60405180910390f35b61063d600480360381019061063891906129dc565b610f7d565b60405161064a919061290b565b60405180910390f35b61066d600480360381019061066891906128bc565b610fa1565b60405161067a919061275b565b60405180910390f35b61069d60048036038101906106989190612b40565b61109c565b005b6106b960048036038101906106b49190612a33565b6112c6565b005b6106d560048036038101906106d09190612be2565b6112e7565b6040516106e2919061290b565b60405180910390f35b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075e575061075d8261147e565b5b9050919050565b60606040518060400160405280600581526020017f476c6f7665000000000000000000000000000000000000000000000000000000815250905090565b60006107af3384846114f8565b6001905092915050565b6000600254905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461084f9190612c51565b9050919050565b600080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109505782811015610942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093990612cd1565b60405180910390fd5b61094f85338584036114f8565b5b61095b8585856115e3565b6109668585856117d7565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61099a82610972565b6109a381611a8d565b6109ad8383611aa1565b505050565b60006012905090565b60007f00000000000000000000000070c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015610a3757507f000000000000000000000000000000000000000000000000000000000000000146145b610a4857610a43611ad5565b610a6a565b7ff1d42421e8ef69fc1b3df5a03f327e927e7a965e70525fc143638195e02868425b905090565b610a77611b6b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb90612d63565b60405180910390fd5b610aee8282611b73565b5050565b6000610b86338484600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b819190612d83565b6114f8565b6001905092915050565b610b98611ba7565b610ba28282611c12565b5050565b610bb08282611c12565b610bba8282611d51565b5050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610c5c8383611d51565b6001905092915050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610cbb8383611e44565b6001905092915050565b6000610cec8260016000868152602001908152602001600020611ef390919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606040518060400160405280600381526020017f474c4f0000000000000000000000000000000000000000000000000000000000815250905090565b610da3611ba7565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e2f9190612c51565b9050610e3b8383611f0d565b80821115610e4e57610e4d8383611e44565b5b505050565b6000801b81565b600080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690612e03565b60405180910390fd5b610f2c33858584036114f8565b600191505092915050565b6000610f443384846115e3565b610f4f3384846117d7565b6001905092915050565b7fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb881565b6000610f9a60016000848152602001908152602001600020612055565b9050919050565b6000610fab611ba7565b610fb63384846115e3565b81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161100357600061104f565b81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461104e9190612c51565b5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b834211156110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690612e6f565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888600360008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061115590612e8f565b919050558960405160200161116f96959493929190612ed7565b604051602081830303815290604052805190602001209050600060016111936109bb565b836040516020016111a5929190612fb0565b60405160208183030381529060405280519060200120868686604051600081526020016040526040516111db9493929190612fe7565b6020604051602081039080840390855afa1580156111fd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561127157508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790613078565b60405180910390fd5b6112bb8989896114f8565b505050505050505050565b6112cf82610972565b6112d881611a8d565b6112e28383611b73565b505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113788282610cf4565b61144a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113ef611b6b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000611476836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61206a565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114f157506114f0826120da565b5b9050919050565b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516115d6919061290b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611652576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611649906130e4565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d090613150565b60405180910390fd5b818103600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117c9919061290b565b60405180910390a350505050565b6000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006118477fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb886610cf4565b905060006118757fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb886610cf4565b905081158015611883575080155b156118cc57838310156118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c2906131bc565b60405180910390fd5b5b8383116118da5760006118e7565b83836118e69190612c51565b5b600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081806119335750805b156119935783600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119879190612d83565b92505081905550611a85565b3273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1603611a845783600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611a2c576127106126ac85611a1d91906131dc565b611a27919061324d565b611a2e565b835b600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7c9190612d83565b925050819055505b5b505050505050565b611a9e81611a99611b6b565b612144565b50565b611aab828261136e565b611ad0816001600085815260200190815260200160002061144e90919063ffffffff16565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fb9e7c51d1fac61665b3fd236d8c1c4a79529084b22ecf3be81cdf4995f30814a7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc64630604051602001611b5095949392919061327e565b60405160208183030381529060405280519060200120905090565b600033905090565b611b7d82826121c9565b611ba281600160008581526020019081526020016000206122aa90919063ffffffff16565b505050565b611bd17fbe74a168a238bf2df7daa27dd5487ac84cb89ae44fd7e7d1e4b6397bfe51dcb833610cf4565b611c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c079061331d565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890613389565b60405180910390fd5b8060026000828254611c939190612d83565b9250508190555080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d45919061290b565b60405180910390a35050565b611d59611ba7565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dea9190612d83565b9050818111611df95780611dfb565b815b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b611e4c611ba7565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818111611e9e576000611eab565b8181611eaa9190612c51565b5b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6000611f0283600001836122da565b60001c905092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8b906133f5565b60405180910390fd5b818103600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612048919061290b565b60405180910390a3505050565b600061206382600001612305565b9050919050565b60006120768383612316565b6120cf5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506120d4565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61214e8282610cf4565b6121c55761215b81612339565b6121698360001c6020612366565b60405160200161217a9291906134de565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bc9190612806565b60405180910390fd5b5050565b6121d38282610cf4565b156122a657600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061224b611b6b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006122d2836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6125a2565b905092915050565b60008260000182815481106122f2576122f1613518565b5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b606061235f8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612366565b9050919050565b60606000600283600261237991906131dc565b6123839190612d83565b67ffffffffffffffff81111561239c5761239b613547565b5b6040519080825280601f01601f1916602001820160405280156123ce5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061240657612405613518565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061246a57612469613518565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026124aa91906131dc565b6124b49190612d83565b90505b6001811115612554577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106124f6576124f5613518565b5b1a60f81b82828151811061250d5761250c613518565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061254d90613576565b90506124b7565b5060008414612598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258f906135eb565b60405180910390fd5b8091505092915050565b600080836001016000848152602001908152602001600020549050600081146126aa5760006001826125d49190612c51565b90506000600186600001805490506125ec9190612c51565b905081811461265b57600086600001828154811061260d5761260c613518565b5b906000526020600020015490508087600001848154811061263157612630613518565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b8560000180548061266f5761266e61360b565b5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506126b0565b60009150505b92915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126f0816126bb565b81146126fb57600080fd5b50565b60008135905061270d816126e7565b92915050565b600060208284031215612729576127286126b6565b5b6000612737848285016126fe565b91505092915050565b60008115159050919050565b61275581612740565b82525050565b6000602082019050612770600083018461274c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127b0578082015181840152602081019050612795565b60008484015250505050565b6000601f19601f8301169050919050565b60006127d882612776565b6127e28185612781565b93506127f2818560208601612792565b6127fb816127bc565b840191505092915050565b6000602082019050818103600083015261282081846127cd565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061285382612828565b9050919050565b61286381612848565b811461286e57600080fd5b50565b6000813590506128808161285a565b92915050565b6000819050919050565b61289981612886565b81146128a457600080fd5b50565b6000813590506128b681612890565b92915050565b600080604083850312156128d3576128d26126b6565b5b60006128e185828601612871565b92505060206128f2858286016128a7565b9150509250929050565b61290581612886565b82525050565b600060208201905061292060008301846128fc565b92915050565b60006020828403121561293c5761293b6126b6565b5b600061294a84828501612871565b91505092915050565b60008060006060848603121561296c5761296b6126b6565b5b600061297a86828701612871565b935050602061298b86828701612871565b925050604061299c868287016128a7565b9150509250925092565b6000819050919050565b6129b9816129a6565b81146129c457600080fd5b50565b6000813590506129d6816129b0565b92915050565b6000602082840312156129f2576129f16126b6565b5b6000612a00848285016129c7565b91505092915050565b612a12816129a6565b82525050565b6000602082019050612a2d6000830184612a09565b92915050565b60008060408385031215612a4a57612a496126b6565b5b6000612a58858286016129c7565b9250506020612a6985828601612871565b9150509250929050565b600060ff82169050919050565b612a8981612a73565b82525050565b6000602082019050612aa46000830184612a80565b92915050565b60008060408385031215612ac157612ac06126b6565b5b6000612acf858286016129c7565b9250506020612ae0858286016128a7565b9150509250929050565b612af381612848565b82525050565b6000602082019050612b0e6000830184612aea565b92915050565b612b1d81612a73565b8114612b2857600080fd5b50565b600081359050612b3a81612b14565b92915050565b600080600080600080600060e0888a031215612b5f57612b5e6126b6565b5b6000612b6d8a828b01612871565b9750506020612b7e8a828b01612871565b9650506040612b8f8a828b016128a7565b9550506060612ba08a828b016128a7565b9450506080612bb18a828b01612b2b565b93505060a0612bc28a828b016129c7565b92505060c0612bd38a828b016129c7565b91505092959891949750929550565b60008060408385031215612bf957612bf86126b6565b5b6000612c0785828601612871565b9250506020612c1885828601612871565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c5c82612886565b9150612c6783612886565b9250828203905081811115612c7f57612c7e612c22565b5b92915050565b7f474c4f3a2021656e6f75676820616c6c6f77616e636500000000000000000000600082015250565b6000612cbb601683612781565b9150612cc682612c85565b602082019050919050565b60006020820190508181036000830152612cea81612cae565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612d4d602f83612781565b9150612d5882612cf1565b604082019050919050565b60006020820190508181036000830152612d7c81612d40565b9050919050565b6000612d8e82612886565b9150612d9983612886565b9250828201905080821115612db157612db0612c22565b5b92915050565b7f474c4f3a2064656372656173696e67203c203000000000000000000000000000600082015250565b6000612ded601383612781565b9150612df882612db7565b602082019050919050565b60006020820190508181036000830152612e1c81612de0565b9050919050565b7f474c4f3a206578706972656420646561646c696e650000000000000000000000600082015250565b6000612e59601583612781565b9150612e6482612e23565b602082019050919050565b60006020820190508181036000830152612e8881612e4c565b9050919050565b6000612e9a82612886565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ecc57612ecb612c22565b5b600182019050919050565b600060c082019050612eec6000830189612a09565b612ef96020830188612aea565b612f066040830187612aea565b612f1360608301866128fc565b612f2060808301856128fc565b612f2d60a08301846128fc565b979650505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000612f79600283612f38565b9150612f8482612f43565b600282019050919050565b6000819050919050565b612faa612fa5826129a6565b612f8f565b82525050565b6000612fbb82612f6c565b9150612fc78285612f99565b602082019150612fd78284612f99565b6020820191508190509392505050565b6000608082019050612ffc6000830187612a09565b6130096020830186612a80565b6130166040830185612a09565b6130236060830184612a09565b95945050505050565b7f474c4f3a202176616c6964207369670000000000000000000000000000000000600082015250565b6000613062600f83612781565b915061306d8261302c565b602082019050919050565b6000602082019050818103600083015261309181613055565b9050919050565b7f474c4f3a207472616e7366657220746f20302061646472000000000000000000600082015250565b60006130ce601783612781565b91506130d982613098565b602082019050919050565b600060208201905081810360008301526130fd816130c1565b9050919050565b7f474c4f3a20616d6f756e74203e2062616c616e63650000000000000000000000600082015250565b600061313a601583612781565b915061314582613104565b602082019050919050565b600060208201905081810360008301526131698161312d565b9050919050565b7f474c4f3a20616d6f756e74203e20637265646974000000000000000000000000600082015250565b60006131a6601483612781565b91506131b182613170565b602082019050919050565b600060208201905081810360008301526131d581613199565b9050919050565b60006131e782612886565b91506131f283612886565b925082820261320081612886565b9150828204841483151761321757613216612c22565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061325882612886565b915061326383612886565b9250826132735761327261321e565b5b828204905092915050565b600060a0820190506132936000830188612a09565b6132a06020830187612a09565b6132ad6040830186612a09565b6132ba60608301856128fc565b6132c76080830184612aea565b9695505050505050565b7f474c4f3a20216372656469746f72000000000000000000000000000000000000600082015250565b6000613307600e83612781565b9150613312826132d1565b602082019050919050565b60006020820190508181036000830152613336816132fa565b9050919050565b7f474c4f3a206d696e7420746f2030206164647200000000000000000000000000600082015250565b6000613373601383612781565b915061337e8261333d565b602082019050919050565b600060208201905081810360008301526133a281613366565b9050919050565b7f474c4f3a206275726e203e2062616c616e636500000000000000000000000000600082015250565b60006133df601383612781565b91506133ea826133a9565b602082019050919050565b6000602082019050818103600083015261340e816133d2565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061344b601783612f38565b915061345682613415565b601782019050919050565b600061346c82612776565b6134768185612f38565b9350613486818560208601612792565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006134c8601183612f38565b91506134d382613492565b601182019050919050565b60006134e98261343e565b91506134f58285613461565b9150613500826134bb565b915061350c8284613461565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600061358182612886565b91506000820361359457613593612c22565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006135d5602083612781565b91506135e08261359f565b602082019050919050565b60006020820190508181036000830152613604816135c8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220206f1755ad945d235bd0d0b20eb2b33ca961de2c787b9bb56bb59bb80cb4938964736f6c63430008110033

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.