POL Price: $0.422706 (+13.47%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Approve412909272023-04-08 13:12:09524 days ago1680959529IN
0xa4D0B80f...67848d643
0 POL0.00554622119.69330324
Approve310043632022-07-22 7:51:36784 days ago1658476296IN
0xa4D0B80f...67848d643
0 POL0.0008813932.980101
Approve310043472022-07-22 7:51:00784 days ago1658476260IN
0xa4D0B80f...67848d643
0 POL0.0021715446.5745936
Claim Reward301500812022-06-29 21:05:01806 days ago1656536701IN
0xa4D0B80f...67848d643
0 POL0.0036228130.53521002
Grant Role301435622022-06-29 16:55:16806 days ago1656521716IN
0xa4D0B80f...67848d643
0 POL0.0057483956.76136234
Add Students301435622022-06-29 16:55:16806 days ago1656521716IN
0xa4D0B80f...67848d643
0 POL0.0030092653.47517887
Approve300907672022-06-28 8:21:21808 days ago1656404481IN
0xa4D0B80f...67848d643
0 POL0.0013987530.0000001
Approve300764732022-06-27 23:31:52808 days ago1656372712IN
0xa4D0B80f...67848d643
0 POL0.0014164630.38
Claim Reward300761782022-06-27 23:21:46808 days ago1656372106IN
0xa4D0B80f...67848d643
0 POL0.0035819830.19106127
Grant Role299820972022-06-25 13:25:31811 days ago1656163531IN
0xa4D0B80f...67848d643
0 POL0.0030523730.14004737
Add Students299819992022-06-25 13:22:07811 days ago1656163327IN
0xa4D0B80f...67848d643
0 POL0.0018383332.66759464
Remove Students ...299818152022-06-25 13:15:47811 days ago1656162947IN
0xa4D0B80f...67848d643
0 POL0.0020650260
Add Students299814062022-06-25 12:59:37811 days ago1656161977IN
0xa4D0B80f...67848d643
0 POL0.0017983931.9442652
Approve298722332022-06-22 15:39:37814 days ago1655912377IN
0xa4D0B80f...67848d643
0 POL0.0008114330.36231616
Approve298722182022-06-22 15:39:07814 days ago1655912347IN
0xa4D0B80f...67848d643
0 POL0.0013987530.00000006
Approve298707882022-06-22 14:45:43814 days ago1655909143IN
0xa4D0B80f...67848d643
0 POL0.0008646632.35428478
Approve298707722022-06-22 14:45:07814 days ago1655909107IN
0xa4D0B80f...67848d643
0 POL0.0014009430.04706658
Claim Reward298701702022-06-22 14:24:26814 days ago1655907866IN
0xa4D0B80f...67848d643
0 POL0.0052945651.28605379
Grant Role298701062022-06-22 14:22:14814 days ago1655907734IN
0xa4D0B80f...67848d643
0 POL0.0061203160.43380158
Add Students298698182022-06-22 14:12:18814 days ago1655907138IN
0xa4D0B80f...67848d643
0 POL0.0021081437.46215929
Transfer298665312022-06-22 12:03:23814 days ago1655899403IN
0xa4D0B80f...67848d643
0 POL0.0016130730.0000001
Approve298371012022-06-21 17:57:07814 days ago1655834227IN
0xa4D0B80f...67848d643
0 POL0.0014472731.04076446
Claim Reward298355162022-06-21 16:58:21814 days ago1655830701IN
0xa4D0B80f...67848d643
0 POL0.0039152533.00000001
Grant Role298353792022-06-21 16:53:39814 days ago1655830419IN
0xa4D0B80f...67848d643
0 POL0.0030381930.00000001
Claim Reward298348272022-06-21 16:34:43814 days ago1655829283IN
0xa4D0B80f...67848d643
0 POL0.0019603230.00000001
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DProgrammingUniversityToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-03-08
*/

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol


// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

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.
 */
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) {
        return _values(set._inner);
    }

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

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

        assembly {
            result := store
        }

        return result;
    }
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/access/IAccessControl.sol


// 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: @openzeppelin/contracts/access/IAccessControlEnumerable.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

// File: @openzeppelin/contracts/access/AccessControlEnumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;




/**
 * @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: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;


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

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

    bool private _paused;

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

// File: contracts/dPUT.sol


pragma solidity ^0.8.2;







/***
SUMMARY: This contract is a token contract which conforms to ERC20 token standard. 
        Beyond that it holds membershipRegister of dProgrammingUniversity Students/Members Onchain
        Making it possible to claim all mined token from our offchain campus activities for real token onchain
        Each offchain Mining+Onchain Claim = minting new token into existence onchain till maximum capped supply of 100Billion reached
        And no more token to be minted. This could take 5,10 to even 50years+ to hit the cap depending on the university growth
AUTHOR(s): Solomon Foskaay (Change this to Anonymous or your name/DAO name)
LIBRARY: Openzeppelin || dProgrammingUniversity (leave for proper crediting)
CORE FEATURES:
        @dev token contract is Mintable + Burnable + Pausable + Role(Access Control ENUMERABLE) 
        + Reentrancy Guard + Event Emiting + Capped Supply (Maximum Token That can ever exist)
        + Students/Membership Rewards Mining Register 

        @param when ever you see student or students it like a compound word which could mean/reffer 
        to any below:
                     Students/Lecturers/Tutors/Instructors/Alumni/All Membership Levels and Fellow Members of dProgramming University
***/
contract DProgrammingUniversityToken is ERC20, ERC20Burnable, Pausable, AccessControlEnumerable, ReentrancyGuard {
    // byte 32 of role based access control
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant STUDENT_ROLE = keccak256("STUDENT_ROLE");

    //Max Supply Cap to avoid students mining unlimited token supply + Make token deflationary in future
    uint256 private immutable _cap; //maximum token supply that will ever existed/be mintable. Can't be changed later


    constructor(uint256 cap_) ERC20("dProgrammingUniversity Token", "dPUT") {
        require(cap_ > 0, "ERC20Capped: cap is 0"); //check to ensure max supply cap set and greater than zero before deploy contract
        _cap = (cap_ * 10 ** decimals()); //convert input to 18decimals. once contract deployed - the max supply cap can not be edited again        
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, msg.sender);
        _grantRole(STUDENT_ROLE, msg.sender);        
        _mint(msg.sender, 10000000 * 10 ** decimals()); //mint initial token total supply of 10Million token to the deployer's wallet
    }

    //Pause contract
    function pause() public onlyRole(PAUSER_ROLE) {
        _pause();
    }

    //Unpause Contract
    function unpause() public onlyRole(PAUSER_ROLE) {
        _unpause();
    }

    /**
     * @dev Returns the cap on the token's total maximum supply to ever exist.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    // Minter
    function mint(address to, uint256 _amount) public onlyRole(MINTER_ROLE) {
        uint256 amount = (_amount * 10 ** decimals()); //casting: this help to ensure right conversion of amount to 18 digits compactible with the token 18digit decimals
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); //check to ensure max supply would not be exceeded if amount minted
        _mint(to, amount);
    } 

    //check contract status before allow transfer . If paused revert
    function _beforeTokenTransfer(address from, address to, uint256 amount)
        internal
        whenNotPaused
        override
    {
        super._beforeTokenTransfer(from, to, amount);
    }

 

    /***
    STUDENT MEMBERSHIP REGISTER AND REWARD SECTION STARTS HERE
    ***/

    /***
    STATE VARIABLES: To be used across this contract henceforth
    ***/
    //Approved Students/Lecturers/Tutors/Alumni/All Memmebership Level and Fellow Members Register Mapping + token Reward assigned to them per time
    mapping(address => uint256) public membershipRegister;
    /***
    INDIVIDUAL STUDENT RECORDS
    ***/
    //Individual student total current available claimable reward tracked per only current student wallet interacting with the contract not overall total of all students
    uint256 claimableStudentRewardBalance;
    //EARNED INDIVIDUAL STUDENT REWARDS: track individual students rewards that has ever been mined as on campus activities reward and added to the membershipRegister mapping ready for claiming
    mapping(address => uint256) public claimableStudentRewardBalanceHistory;  
    //CLAIMED INDIVIDUAL STUDENT REWARDS: track individual students rewards that has ever been CLAIMED SUCCESSFULLY from the membershipRegister mapping and successfully minted into real dPUT token
    mapping(address => uint256) public claimedRewardHistory; 
    /*** 
    OVERALL STUDENTS RECORDS  
    ***/ 
    //EARNED OVERALL STUDENTS REWARDS: track all students rewards that has ever been mined as on campus activities reward and added to the membershipRegister mapping ready for claiming
    uint256 public allStudentsRewardBalanceHistory; 
    //CLAIMED OVERALL STUDENTS REWARDS: track all students rewards that has ever been CLAIMED SUCCESSFULLY from the membershipRegister mapping and successfully minted into real dPUT token
    uint256 public totalClaimedRewardHistory;     



    //INTERNAL FUNCTION: check students amount of mined reward from membershipRegister mapping
    function _checkStudentRewardBalance() internal {
        claimableStudentRewardBalance = membershipRegister[msg.sender]; //check membershipRegister for student reward balance and assign it to state variable claimableStudentRewardBalance
    }   


    //Add students wallet and mined reward to memberhipRegister mapping
    function addStudents(address[] calldata _studentWallet, uint256[] calldata _studentRewardAmount) public onlyRole(MINTER_ROLE) {
        require(_studentWallet.length == _studentRewardAmount.length, "Student Wallets Not Same As RewardAmount Length");
        for(uint256 i = 0; i < _studentWallet.length; i++) {
            membershipRegister[_studentWallet[i]] += _studentRewardAmount[i];
        }

        //Emit an Event here
        //local variable - put msg.sender in a local variable to avoid error passing it through event below
        address RegistrarWallet = address(msg.sender); //casting: to ensure the msg.sender is correctly passed as valid address
        uint256 NoOfStudentsAdded = _studentWallet.length; //This ensures the balance is first divided by 18 decimals before outputing the value to make it easier to read
        uint256 NoOfStudentsRewardAdded = _studentRewardAmount.length; //This is the raw version of the above balance without removing the 18decimal zeros from the output
        // Event Emitter   
        emit addedStudents(RegistrarWallet, NoOfStudentsAdded, NoOfStudentsRewardAdded, _studentWallet, _studentRewardAmount); 

        //call checkStudentRewardBalance function to update the balance of claimableStudentRewardBalance and ensure its uptodate after adding new student and reward always
        _checkStudentRewardBalance();
    }     
 

    //Update Students MembershipRegister By reducing, slashing or totally Removing students reward from MembershipRegister mapping
    function removeStudentsReward(address[] calldata _studentWallet, uint256[] calldata _deductStudentRewardAmount) public onlyRole(MINTER_ROLE) {
        require(_studentWallet.length == _deductStudentRewardAmount.length, "Student Wallets Not Same As DeductRewardAmount Length");
        for(uint256 i = 0; i < _studentWallet.length; i++) {
            membershipRegister[_studentWallet[i]] -= _deductStudentRewardAmount[i];
        }
           
        //Emit an Event here
        //local variable - put msg.sender in a local variable to avoid error passing it through event below
        address RegistrarWallet = address(msg.sender); //casting: to ensure the msg.sender is correctly passed as valid address
        uint256 NoOfStudentsRemoved = _studentWallet.length; //This ensures the balance is first divided by 18 decimals before outputing the value to make it easier to read
        uint256 NoOfStudentsRewardRemoved = _deductStudentRewardAmount.length; //This is the raw version of the above balance without removing the 18decimal zeros from the output
        // Event Emitter   
        emit removedStudentsReward(RegistrarWallet, NoOfStudentsRemoved, NoOfStudentsRewardRemoved, _studentWallet, _deductStudentRewardAmount); 

        //call checkStudentRewardBalance function to update the balance of claimableStudentRewardBalance and ensure its uptodate after removing student and reward always
        _checkStudentRewardBalance();
    }



  
    /***
    students can claim reward by minting new token earned from campus token mining activities
    but must be an approved students/lecturers/tutors/alumni/any membership level and Fellow members of dProgramming University indeed by been first added to the 
    university MembershipRegister mapping
    ***/
    function claimReward() public onlyRole(STUDENT_ROLE) nonReentrant whenNotPaused {

        //security checkpoint to ensure only approved students in membershipRegister can claim rewards
        require(hasRole(STUDENT_ROLE, msg.sender), "Only Approved Student Can Claim Reward - Apply For Admission at dProgrammingUniversity.com"); //double check that wallet calling this function is a students/lecturer/tutors/any membership level and fellow member of dProgramming University indeed
        _checkStudentRewardBalance();//call _checkStudentRewardBalance internal function and pass in student address (msg.sender) to check their membershipRegister Mapping balance value. The value Amount get auto assigned to claimableStudentRewardBalance variable. Then pass the value down to the minter automatically so it can't be entered directly/manually by student for security - to avoid over claiming rewards undue to the student
        require(claimableStudentRewardBalance > 0, "Already Claimed Reward - Participate On Campus Activities To Earn More");//prevent students with zero reward balance in membershipRegister mapping from claiming further rewards        

        //keep record of all INDIVIDUAL claimableStudentRewardBalance
        claimableStudentRewardBalanceHistory[msg.sender] += claimableStudentRewardBalance;

        //keep record of all OVERALL claimable Students Reward Balance History
        allStudentsRewardBalanceHistory += claimableStudentRewardBalance;

        //time to mint reward for the student calling this claimReward() function only if all above security checks 100% passed
        require(ERC20.totalSupply() + claimableStudentRewardBalance <= cap(), "ERC20Capped: cap exceeded"); //check to ensure max supply would not be exceeded if amount of reward requested by the student membershipRegister reward Balance is minted and converted to real token
        _mint(msg.sender, claimableStudentRewardBalance); //mint to student (msg.sender) wallet based on recorded total earned student rewards in the students membershipRegister mapping

        //keep record of all claimedRewardBalance - this only show per individual student address you put in the mapping
        //this code look similar to above and could be written to work directly with the token balance mapping to track minted Token
        // but I decided to keep it simple considering the fact that at this point the transaction can not fail again
        // due to all essential security checks already passed and even the reward has been successfully minted to dPUT real token
        claimedRewardHistory[msg.sender] += claimableStudentRewardBalance; 

        //keep record of all OVERALL claimed Students Reward Balance History - This display all students overall total claimed reward
        totalClaimedRewardHistory += claimableStudentRewardBalance;        

        //Emit an Event here
        //local variable - put msg.sender in a local variable to avoid error passing it through event below
        address _zeroAddress = address(0); //0x0000000000000000000000000000000000000000; default minter address
        address _studentClaimedRewardAddress = address(msg.sender); //casting: to ensure the msg.sender is correctly passed as valid address
        // Event Emitter 
        emit claimedReward(_zeroAddress, _studentClaimedRewardAddress, claimableStudentRewardBalance);

        //once student successfully withdraw reward balance to real token, then deduct withdrawn amount from student membershipRegister mapping balance.
        membershipRegister[msg.sender] -= claimableStudentRewardBalance; 
        
        //update total student reward to reflect minus withdrawn reward after reward successfully claimed by student
        _checkStudentRewardBalance();//call _checkStudentRewardBalance internal function to update claimableStudentRewardBalance and ensure its up-to-date after student successfully claimed their reward always

    }       


    /**
     * @dev Emitted when `mint claimed reward` tokens are transfered from zero address account (`from`) to
     * students' (`to`) account signifying successfully claimed rewards 
     and new token birthed into the our dProgrammingUniversity campus world.
     *
     * Note that `value` may not be zero.
     */
    event claimedReward(address indexed FromMinterAddresss, address indexed ToStudentWallet, uint256 ClaimedRewardValue);

    //Emit event for new student added to membershipRegister
    event addedStudents(address indexed RegistrarWallet, uint256 NoOfStudentsAdded, uint256 NoOfStudentsRewardAdded, address[] _studentWallet, uint256[] _studentRewardAmount);

    //Emit event for slashing or totally removing students reward Amount from membershipRegister
    event removedStudentsReward(address indexed RegistrarWallet, uint256 NoOfStudentsRemoved, uint256 NoOfStudentsRewardRemoved, address[] _studentWallet, uint256[] _deductStudentRewardAmount);

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"cap_","type":"uint256"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"RegistrarWallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"NoOfStudentsAdded","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"NoOfStudentsRewardAdded","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"_studentWallet","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"_studentRewardAmount","type":"uint256[]"}],"name":"addedStudents","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"FromMinterAddresss","type":"address"},{"indexed":true,"internalType":"address","name":"ToStudentWallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"ClaimedRewardValue","type":"uint256"}],"name":"claimedReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"RegistrarWallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"NoOfStudentsRemoved","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"NoOfStudentsRewardRemoved","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"_studentWallet","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"_deductStudentRewardAmount","type":"uint256[]"}],"name":"removedStudentsReward","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STUDENT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_studentWallet","type":"address[]"},{"internalType":"uint256[]","name":"_studentRewardAmount","type":"uint256[]"}],"name":"addStudents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allStudentsRewardBalanceHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimableStudentRewardBalanceHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedRewardHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","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":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"membershipRegister","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_studentWallet","type":"address[]"},{"internalType":"uint256[]","name":"_deductStudentRewardAmount","type":"uint256[]"}],"name":"removeStudentsReward","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":"view","type":"function"},{"inputs":[],"name":"totalClaimedRewardHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200296c3803806200296c833981016040819052620000349162000540565b604080518082018252601c81527f6450726f6772616d6d696e67556e697665727369747920546f6b656e000000006020808301918252835180850190945260048452631914155560e21b90840152815191929162000095916003916200049a565b508051620000ab9060049060208401906200049a565b50506005805460ff1916905550600160085580620001105760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b6200011e6012600a620005be565b6200012a90826200067d565b6080526200013a600033620001ed565b620001667f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620001ed565b620001927f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001ed565b620001be7f36a5c4aaacb6b388bbd448bf11096b7dafc5652bcc9046084fd0e95b1fb0b2cc33620001ed565b620001e633620001d16012600a620005be565b620001e090629896806200067d565b62000230565b50620006f2565b6200020482826200032460201b6200106d1760201c565b60008281526007602090815260409091206200022b918390620010f3620003c8821b17901c565b505050565b6001600160a01b038216620002885760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000107565b6200029660008383620003e8565b8060026000828254620002aa91906200055a565b90915550506001600160a01b03821660009081526020819052604081208054839290620002d99084906200055a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16620003205760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003843390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620003df836001600160a01b03841662000448565b90505b92915050565b60055460ff1615620004305760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000107565b6200022b8383836200022b60201b620006b11760201c565b60008181526001830160205260408120546200049157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620003e2565b506000620003e2565b828054620004a8906200069f565b90600052602060002090601f016020900481019282620004cc576000855562000517565b82601f10620004e757805160ff191683800117855562000517565b8280016001018555821562000517579182015b8281111562000517578251825591602001919060010190620004fa565b506200052592915062000529565b5090565b5b808211156200052557600081556001016200052a565b6000602082840312156200055357600080fd5b5051919050565b60008219821115620005705762000570620006dc565b500190565b600181815b80851115620005b65781600019048211156200059a576200059a620006dc565b80851615620005a857918102915b93841c93908002906200057a565b509250929050565b6000620003df60ff841683600082620005da57506001620003e2565b81620005e957506000620003e2565b81600181146200060257600281146200060d576200062d565b6001915050620003e2565b60ff841115620006215762000621620006dc565b50506001821b620003e2565b5060208310610133831016604e8410600b841016171562000652575081810a620003e2565b6200065e838362000575565b8060001904821115620006755762000675620006dc565b029392505050565b60008160001904831182151516156200069a576200069a620006dc565b500290565b600181811c90821680620006b457607f821691505b60208210811415620006d657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6080516122506200071c600039600081816102f5015281816107e30152610d9401526122506000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80639010d07c11610130578063c8b9b36d116100b8578063dd62ed3e1161007c578063dd62ed3e146104e2578063e1b1a9ad1461051b578063e63ab1e914610524578063f709b2641461054b578063f7be43fb1461056b57600080fd5b8063c8b9b36d1461048b578063ca15c87314610494578063ce387668146104a7578063d5391393146104ba578063d547741f146104cf57600080fd5b8063a217fddf116100ff578063a217fddf14610442578063a457c2d71461044a578063a9059cbb1461045d578063ae9446f714610470578063b88a802f1461048357600080fd5b80639010d07c146103dc57806391d1485414610407578063942614b31461041a57806395d89b411461043a57600080fd5b806336568abe116101be578063575d0bdf11610182578063575d0bdf1461036d5780635c975abb1461038d57806370a082311461039857806379cc6790146103c15780638456cb59146103d457600080fd5b806336568abe14610319578063395093511461032c5780633f4ba83a1461033f57806340c10f191461034757806342966c681461035a57600080fd5b806323b872dd1161020557806323b872dd14610299578063248a9ca3146102ac5780632f2ff15d146102cf578063313ce567146102e4578063355274ea146102f357600080fd5b806301ffc9a71461023757806306fdde031461025f578063095ea7b31461027457806318160ddd14610287575b600080fd5b61024a610245366004611e41565b610592565b60405190151581526020015b60405180910390f35b6102676105bd565b6040516102569190611ee0565b61024a610282366004611d4d565b61064f565b6002545b604051908152602001610256565b61024a6102a7366004611d11565b610667565b61028b6102ba366004611de3565b60009081526006602052604090206001015490565b6102e26102dd366004611dfc565b61068b565b005b60405160128152602001610256565b7f000000000000000000000000000000000000000000000000000000000000000061028b565b6102e2610327366004611dfc565b6106b6565b61024a61033a366004611d4d565b610739565b6102e2610778565b6102e2610355366004611d4d565b6107ae565b6102e2610368366004611de3565b610870565b61028b61037b366004611cc3565b60096020526000908152604090205481565b60055460ff1661024a565b61028b6103a6366004611cc3565b6001600160a01b031660009081526020819052604090205490565b6102e26103cf366004611d4d565b61087a565b6102e261088f565b6103ef6103ea366004611e1f565b6108c2565b6040516001600160a01b039091168152602001610256565b61024a610415366004611dfc565b6108e1565b61028b610428366004611cc3565b600c6020526000908152604090205481565b61026761090c565b61028b600081565b61024a610458366004611d4d565b61091b565b61024a61046b366004611d4d565b6109ad565b6102e261047e366004611d77565b6109bb565b6102e2610b44565b61028b600d5481565b61028b6104a2366004611de3565b610ed7565b6102e26104b5366004611d77565b610eee565b61028b6000805160206121fb83398151915281565b6102e26104dd366004611dfc565b611047565b61028b6104f0366004611cde565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61028b600e5481565b61028b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61028b610559366004611cc3565b600b6020526000908152604090205481565b61028b7f36a5c4aaacb6b388bbd448bf11096b7dafc5652bcc9046084fd0e95b1fb0b2cc81565b60006001600160e01b03198216635a05180f60e01b14806105b757506105b782611108565b92915050565b6060600380546105cc9061214c565b80601f01602080910402602001604051908101604052809291908181526020018280546105f89061214c565b80156106455780601f1061061a57610100808354040283529160200191610645565b820191906000526020600020905b81548152906001019060200180831161062857829003601f168201915b5050505050905090565b60003361065d81858561113d565b5060019392505050565b600033610675858285611261565b6106808585856112ed565b506001949350505050565b6000828152600660205260409020600101546106a781336114c6565b6106b1838361152a565b505050565b6001600160a01b038116331461072b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610735828261154c565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061065d9082908690610773908790611fcd565b61113d565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107a381336114c6565b6107ab61156e565b50565b6000805160206121fb8339815191526107c781336114c6565b60006107d56012600a612028565b6107df90846120d3565b90507f00000000000000000000000000000000000000000000000000000000000000008161080c60025490565b6108169190611fcd565b11156108605760405162461bcd60e51b8152602060048201526019602482015278115490cc8c10d85c1c19590e8818d85c08195e18d959591959603a1b6044820152606401610722565b61086a8482611601565b50505050565b6107ab33826116ec565b610885823383611261565b61073582826116ec565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6108ba81336114c6565b6107ab611846565b60008281526007602052604081206108da908361189e565b9392505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546105cc9061214c565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109a05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610722565b610680828686840361113d565b60003361065d8185856112ed565b6000805160206121fb8339815191526109d481336114c6565b838214610a415760405162461bcd60e51b815260206004820152603560248201527f53747564656e742057616c6c657473204e6f742053616d6520417320446564756044820152740c6e8a4caeec2e4c882dadeeadce84098cadccee8d605b1b6064820152608401610722565b60005b84811015610ad757838382818110610a5e57610a5e6121ce565b9050602002013560096000888885818110610a7b57610a7b6121ce565b9050602002016020810190610a909190611cc3565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610abf91906120f2565b90915550819050610acf81612187565b915050610a44565b5060405133908590849083907f7b9ae1350d5dfbfbc1207f0f722c695801ef1f7c20f5b7c83dff75179f9415ac90610b1a90859085908d9083908d908490611f3d565b60405180910390a2610b3a33600090815260096020526040902054600a55565b5050505050505050565b7f36a5c4aaacb6b388bbd448bf11096b7dafc5652bcc9046084fd0e95b1fb0b2cc610b6f81336114c6565b60026008541415610bc25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610722565b600260085560055460ff1615610bea5760405162461bcd60e51b815260040161072290611f13565b610c147f36a5c4aaacb6b388bbd448bf11096b7dafc5652bcc9046084fd0e95b1fb0b2cc336108e1565b610cac5760405162461bcd60e51b815260206004820152605a60248201527f4f6e6c7920417070726f7665642053747564656e742043616e20436c61696d2060448201527f526577617264202d204170706c7920466f722041646d697373696f6e2061742060648201527f6450726f6772616d6d696e67556e69766572736974792e636f6d000000000000608482015260a401610722565b610cc433600090815260096020526040902054600a55565b6000600a5411610d4b5760405162461bcd60e51b815260206004820152604660248201527f416c726561647920436c61696d656420526577617264202d205061727469636960448201527f70617465204f6e2043616d707573204163746976697469657320546f204561726064820152656e204d6f726560d01b608482015260a401610722565b600a54336000908152600b602052604081208054909190610d6d908490611fcd565b9091555050600a54600d8054600090610d87908490611fcd565b9091555050600a546002547f000000000000000000000000000000000000000000000000000000000000000091610dbd91611fcd565b1115610e075760405162461bcd60e51b8152602060048201526019602482015278115490cc8c10d85c1c19590e8818d85c08195e18d959591959603a1b6044820152606401610722565b610e1333600a54611601565b600a54336000908152600c602052604081208054909190610e35908490611fcd565b9091555050600a54600e8054600090610e4f908490611fcd565b9091555050600a546040519081526000903390819083907f94f10621f329b2f3a16c7a7d8b394a81f40affccf25e952013e282856e9c00ee9060200160405180910390a3600a543360009081526009602052604081208054909190610eb59084906120f2565b909155505033600090815260096020526040902054600a555050600160085550565b60008181526007602052604081206105b7906118aa565b6000805160206121fb833981519152610f0781336114c6565b838214610f6e5760405162461bcd60e51b815260206004820152602f60248201527f53747564656e742057616c6c657473204e6f742053616d65204173205265776160448201526e0e4c882dadeeadce84098cadccee8d608b1b6064820152608401610722565b60005b8481101561100457838382818110610f8b57610f8b6121ce565b9050602002013560096000888885818110610fa857610fa86121ce565b9050602002016020810190610fbd9190611cc3565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610fec9190611fcd565b90915550819050610ffc81612187565b915050610f71565b5060405133908590849083907f96a34c8010ee197c8e597fe00f26b64035b3229b04fcadcfeb25da2ffbc2a0db90610b1a90859085908d9083908d908490611f3d565b60008281526006602052604090206001015461106381336114c6565b6106b1838361154c565b61107782826108e1565b6107355760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110af3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006108da836001600160a01b0384166118b4565b60006001600160e01b03198216637965db0b60e01b14806105b757506301ffc9a760e01b6001600160e01b03198316146105b7565b6001600160a01b03831661119f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610722565b6001600160a01b0382166112005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610722565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461086a57818110156112e05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610722565b61086a848484840361113d565b6001600160a01b0383166113515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610722565b6001600160a01b0382166113b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610722565b6113be838383611903565b6001600160a01b038316600090815260208190526040902054818110156114365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610722565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061146d908490611fcd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114b991815260200190565b60405180910390a361086a565b6114d082826108e1565b610735576114e8816001600160a01b03166014611926565b6114f3836020611926565b604051602001611504929190611e6b565b60408051601f198184030181529082905262461bcd60e51b825261072291600401611ee0565b611534828261106d565b60008281526007602052604090206106b190826110f3565b6115568282611ac2565b60008281526007602052604090206106b19082611b29565b60055460ff166115b75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610722565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166116575760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610722565b61166360008383611903565b80600260008282546116759190611fcd565b90915550506001600160a01b038216600090815260208190526040812080548392906116a2908490611fcd565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03821661174c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610722565b61175882600083611903565b6001600160a01b038216600090815260208190526040902054818110156117cc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610722565b6001600160a01b03831660009081526020819052604081208383039055600280548492906117fb9084906120f2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60055460ff16156118695760405162461bcd60e51b815260040161072290611f13565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115e43390565b60006108da8383611b3e565b60006105b7825490565b60008181526001830160205260408120546118fb575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105b7565b5060006105b7565b60055460ff16156106b15760405162461bcd60e51b815260040161072290611f13565b606060006119358360026120d3565b611940906002611fcd565b67ffffffffffffffff811115611958576119586121e4565b6040519080825280601f01601f191660200182016040528015611982576020820181803683370190505b509050600360fc1b8160008151811061199d5761199d6121ce565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106119cc576119cc6121ce565b60200101906001600160f81b031916908160001a90535060006119f08460026120d3565b6119fb906001611fcd565b90505b6001811115611a73576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611a2f57611a2f6121ce565b1a60f81b828281518110611a4557611a456121ce565b60200101906001600160f81b031916908160001a90535060049490941c93611a6c81612135565b90506119fe565b5083156108da5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610722565b611acc82826108e1565b156107355760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006108da836001600160a01b038416611b68565b6000826000018281548110611b5557611b556121ce565b9060005260206000200154905092915050565b60008181526001830160205260408120548015611c51576000611b8c6001836120f2565b8554909150600090611ba0906001906120f2565b9050818114611c05576000866000018281548110611bc057611bc06121ce565b9060005260206000200154905080876000018481548110611be357611be36121ce565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611c1657611c166121b8565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506105b7565b60009150506105b7565b80356001600160a01b0381168114611c7257600080fd5b919050565b60008083601f840112611c8957600080fd5b50813567ffffffffffffffff811115611ca157600080fd5b6020830191508360208260051b8501011115611cbc57600080fd5b9250929050565b600060208284031215611cd557600080fd5b6108da82611c5b565b60008060408385031215611cf157600080fd5b611cfa83611c5b565b9150611d0860208401611c5b565b90509250929050565b600080600060608486031215611d2657600080fd5b611d2f84611c5b565b9250611d3d60208501611c5b565b9150604084013590509250925092565b60008060408385031215611d6057600080fd5b611d6983611c5b565b946020939093013593505050565b60008060008060408587031215611d8d57600080fd5b843567ffffffffffffffff80821115611da557600080fd5b611db188838901611c77565b90965094506020870135915080821115611dca57600080fd5b50611dd787828801611c77565b95989497509550505050565b600060208284031215611df557600080fd5b5035919050565b60008060408385031215611e0f57600080fd5b82359150611d0860208401611c5b565b60008060408385031215611e3257600080fd5b50508035926020909101359150565b600060208284031215611e5357600080fd5b81356001600160e01b0319811681146108da57600080fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611ea3816017850160208801612109565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611ed4816028840160208801612109565b01602801949350505050565b6020815260008251806020840152611eff816040850160208701612109565b601f01601f19169190910160400192915050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b86815260208082018790526080604083018190528201859052600090869060a08401835b88811015611f8d576001600160a01b03611f7a85611c5b565b1682529282019290820190600101611f61565b5084810360608601528581526001600160fb1b03861115611fad57600080fd5b8560051b9250828783830137600092010190815298975050505050505050565b60008219821115611fe057611fe06121a2565b500190565b600181815b80851115612020578160001904821115612006576120066121a2565b8085161561201357918102915b93841c9390800290611fea565b509250929050565b60006108da60ff841683600082612041575060016105b7565b8161204e575060006105b7565b8160018114612064576002811461206e5761208a565b60019150506105b7565b60ff84111561207f5761207f6121a2565b50506001821b6105b7565b5060208310610133831016604e8410600b84101617156120ad575081810a6105b7565b6120b78383611fe5565b80600019048211156120cb576120cb6121a2565b029392505050565b60008160001904831182151516156120ed576120ed6121a2565b500290565b600082821015612104576121046121a2565b500390565b60005b8381101561212457818101518382015260200161210c565b8381111561086a5750506000910152565b600081612144576121446121a2565b506000190190565b600181811c9082168061216057607f821691505b6020821081141561218157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561219b5761219b6121a2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122042d111ece9aea7913903df44dbf7a89f0b7348db920af1960b23cb46b762e55a64736f6c63430008070033000000000000000000000000000000000000000000000000000000174876e800

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102325760003560e01c80639010d07c11610130578063c8b9b36d116100b8578063dd62ed3e1161007c578063dd62ed3e146104e2578063e1b1a9ad1461051b578063e63ab1e914610524578063f709b2641461054b578063f7be43fb1461056b57600080fd5b8063c8b9b36d1461048b578063ca15c87314610494578063ce387668146104a7578063d5391393146104ba578063d547741f146104cf57600080fd5b8063a217fddf116100ff578063a217fddf14610442578063a457c2d71461044a578063a9059cbb1461045d578063ae9446f714610470578063b88a802f1461048357600080fd5b80639010d07c146103dc57806391d1485414610407578063942614b31461041a57806395d89b411461043a57600080fd5b806336568abe116101be578063575d0bdf11610182578063575d0bdf1461036d5780635c975abb1461038d57806370a082311461039857806379cc6790146103c15780638456cb59146103d457600080fd5b806336568abe14610319578063395093511461032c5780633f4ba83a1461033f57806340c10f191461034757806342966c681461035a57600080fd5b806323b872dd1161020557806323b872dd14610299578063248a9ca3146102ac5780632f2ff15d146102cf578063313ce567146102e4578063355274ea146102f357600080fd5b806301ffc9a71461023757806306fdde031461025f578063095ea7b31461027457806318160ddd14610287575b600080fd5b61024a610245366004611e41565b610592565b60405190151581526020015b60405180910390f35b6102676105bd565b6040516102569190611ee0565b61024a610282366004611d4d565b61064f565b6002545b604051908152602001610256565b61024a6102a7366004611d11565b610667565b61028b6102ba366004611de3565b60009081526006602052604090206001015490565b6102e26102dd366004611dfc565b61068b565b005b60405160128152602001610256565b7f0000000000000000000000000000000000000001431e0fae6d7217caa000000061028b565b6102e2610327366004611dfc565b6106b6565b61024a61033a366004611d4d565b610739565b6102e2610778565b6102e2610355366004611d4d565b6107ae565b6102e2610368366004611de3565b610870565b61028b61037b366004611cc3565b60096020526000908152604090205481565b60055460ff1661024a565b61028b6103a6366004611cc3565b6001600160a01b031660009081526020819052604090205490565b6102e26103cf366004611d4d565b61087a565b6102e261088f565b6103ef6103ea366004611e1f565b6108c2565b6040516001600160a01b039091168152602001610256565b61024a610415366004611dfc565b6108e1565b61028b610428366004611cc3565b600c6020526000908152604090205481565b61026761090c565b61028b600081565b61024a610458366004611d4d565b61091b565b61024a61046b366004611d4d565b6109ad565b6102e261047e366004611d77565b6109bb565b6102e2610b44565b61028b600d5481565b61028b6104a2366004611de3565b610ed7565b6102e26104b5366004611d77565b610eee565b61028b6000805160206121fb83398151915281565b6102e26104dd366004611dfc565b611047565b61028b6104f0366004611cde565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61028b600e5481565b61028b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61028b610559366004611cc3565b600b6020526000908152604090205481565b61028b7f36a5c4aaacb6b388bbd448bf11096b7dafc5652bcc9046084fd0e95b1fb0b2cc81565b60006001600160e01b03198216635a05180f60e01b14806105b757506105b782611108565b92915050565b6060600380546105cc9061214c565b80601f01602080910402602001604051908101604052809291908181526020018280546105f89061214c565b80156106455780601f1061061a57610100808354040283529160200191610645565b820191906000526020600020905b81548152906001019060200180831161062857829003601f168201915b5050505050905090565b60003361065d81858561113d565b5060019392505050565b600033610675858285611261565b6106808585856112ed565b506001949350505050565b6000828152600660205260409020600101546106a781336114c6565b6106b1838361152a565b505050565b6001600160a01b038116331461072b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610735828261154c565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061065d9082908690610773908790611fcd565b61113d565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107a381336114c6565b6107ab61156e565b50565b6000805160206121fb8339815191526107c781336114c6565b60006107d56012600a612028565b6107df90846120d3565b90507f0000000000000000000000000000000000000001431e0fae6d7217caa00000008161080c60025490565b6108169190611fcd565b11156108605760405162461bcd60e51b8152602060048201526019602482015278115490cc8c10d85c1c19590e8818d85c08195e18d959591959603a1b6044820152606401610722565b61086a8482611601565b50505050565b6107ab33826116ec565b610885823383611261565b61073582826116ec565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6108ba81336114c6565b6107ab611846565b60008281526007602052604081206108da908361189e565b9392505050565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546105cc9061214c565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156109a05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610722565b610680828686840361113d565b60003361065d8185856112ed565b6000805160206121fb8339815191526109d481336114c6565b838214610a415760405162461bcd60e51b815260206004820152603560248201527f53747564656e742057616c6c657473204e6f742053616d6520417320446564756044820152740c6e8a4caeec2e4c882dadeeadce84098cadccee8d605b1b6064820152608401610722565b60005b84811015610ad757838382818110610a5e57610a5e6121ce565b9050602002013560096000888885818110610a7b57610a7b6121ce565b9050602002016020810190610a909190611cc3565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610abf91906120f2565b90915550819050610acf81612187565b915050610a44565b5060405133908590849083907f7b9ae1350d5dfbfbc1207f0f722c695801ef1f7c20f5b7c83dff75179f9415ac90610b1a90859085908d9083908d908490611f3d565b60405180910390a2610b3a33600090815260096020526040902054600a55565b5050505050505050565b7f36a5c4aaacb6b388bbd448bf11096b7dafc5652bcc9046084fd0e95b1fb0b2cc610b6f81336114c6565b60026008541415610bc25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610722565b600260085560055460ff1615610bea5760405162461bcd60e51b815260040161072290611f13565b610c147f36a5c4aaacb6b388bbd448bf11096b7dafc5652bcc9046084fd0e95b1fb0b2cc336108e1565b610cac5760405162461bcd60e51b815260206004820152605a60248201527f4f6e6c7920417070726f7665642053747564656e742043616e20436c61696d2060448201527f526577617264202d204170706c7920466f722041646d697373696f6e2061742060648201527f6450726f6772616d6d696e67556e69766572736974792e636f6d000000000000608482015260a401610722565b610cc433600090815260096020526040902054600a55565b6000600a5411610d4b5760405162461bcd60e51b815260206004820152604660248201527f416c726561647920436c61696d656420526577617264202d205061727469636960448201527f70617465204f6e2043616d707573204163746976697469657320546f204561726064820152656e204d6f726560d01b608482015260a401610722565b600a54336000908152600b602052604081208054909190610d6d908490611fcd565b9091555050600a54600d8054600090610d87908490611fcd565b9091555050600a546002547f0000000000000000000000000000000000000001431e0fae6d7217caa000000091610dbd91611fcd565b1115610e075760405162461bcd60e51b8152602060048201526019602482015278115490cc8c10d85c1c19590e8818d85c08195e18d959591959603a1b6044820152606401610722565b610e1333600a54611601565b600a54336000908152600c602052604081208054909190610e35908490611fcd565b9091555050600a54600e8054600090610e4f908490611fcd565b9091555050600a546040519081526000903390819083907f94f10621f329b2f3a16c7a7d8b394a81f40affccf25e952013e282856e9c00ee9060200160405180910390a3600a543360009081526009602052604081208054909190610eb59084906120f2565b909155505033600090815260096020526040902054600a555050600160085550565b60008181526007602052604081206105b7906118aa565b6000805160206121fb833981519152610f0781336114c6565b838214610f6e5760405162461bcd60e51b815260206004820152602f60248201527f53747564656e742057616c6c657473204e6f742053616d65204173205265776160448201526e0e4c882dadeeadce84098cadccee8d608b1b6064820152608401610722565b60005b8481101561100457838382818110610f8b57610f8b6121ce565b9050602002013560096000888885818110610fa857610fa86121ce565b9050602002016020810190610fbd9190611cc3565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610fec9190611fcd565b90915550819050610ffc81612187565b915050610f71565b5060405133908590849083907f96a34c8010ee197c8e597fe00f26b64035b3229b04fcadcfeb25da2ffbc2a0db90610b1a90859085908d9083908d908490611f3d565b60008281526006602052604090206001015461106381336114c6565b6106b1838361154c565b61107782826108e1565b6107355760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110af3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006108da836001600160a01b0384166118b4565b60006001600160e01b03198216637965db0b60e01b14806105b757506301ffc9a760e01b6001600160e01b03198316146105b7565b6001600160a01b03831661119f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610722565b6001600160a01b0382166112005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610722565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461086a57818110156112e05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610722565b61086a848484840361113d565b6001600160a01b0383166113515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610722565b6001600160a01b0382166113b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610722565b6113be838383611903565b6001600160a01b038316600090815260208190526040902054818110156114365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610722565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061146d908490611fcd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114b991815260200190565b60405180910390a361086a565b6114d082826108e1565b610735576114e8816001600160a01b03166014611926565b6114f3836020611926565b604051602001611504929190611e6b565b60408051601f198184030181529082905262461bcd60e51b825261072291600401611ee0565b611534828261106d565b60008281526007602052604090206106b190826110f3565b6115568282611ac2565b60008281526007602052604090206106b19082611b29565b60055460ff166115b75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610722565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166116575760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610722565b61166360008383611903565b80600260008282546116759190611fcd565b90915550506001600160a01b038216600090815260208190526040812080548392906116a2908490611fcd565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03821661174c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610722565b61175882600083611903565b6001600160a01b038216600090815260208190526040902054818110156117cc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610722565b6001600160a01b03831660009081526020819052604081208383039055600280548492906117fb9084906120f2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60055460ff16156118695760405162461bcd60e51b815260040161072290611f13565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115e43390565b60006108da8383611b3e565b60006105b7825490565b60008181526001830160205260408120546118fb575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105b7565b5060006105b7565b60055460ff16156106b15760405162461bcd60e51b815260040161072290611f13565b606060006119358360026120d3565b611940906002611fcd565b67ffffffffffffffff811115611958576119586121e4565b6040519080825280601f01601f191660200182016040528015611982576020820181803683370190505b509050600360fc1b8160008151811061199d5761199d6121ce565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106119cc576119cc6121ce565b60200101906001600160f81b031916908160001a90535060006119f08460026120d3565b6119fb906001611fcd565b90505b6001811115611a73576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611a2f57611a2f6121ce565b1a60f81b828281518110611a4557611a456121ce565b60200101906001600160f81b031916908160001a90535060049490941c93611a6c81612135565b90506119fe565b5083156108da5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610722565b611acc82826108e1565b156107355760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006108da836001600160a01b038416611b68565b6000826000018281548110611b5557611b556121ce565b9060005260206000200154905092915050565b60008181526001830160205260408120548015611c51576000611b8c6001836120f2565b8554909150600090611ba0906001906120f2565b9050818114611c05576000866000018281548110611bc057611bc06121ce565b9060005260206000200154905080876000018481548110611be357611be36121ce565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611c1657611c166121b8565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506105b7565b60009150506105b7565b80356001600160a01b0381168114611c7257600080fd5b919050565b60008083601f840112611c8957600080fd5b50813567ffffffffffffffff811115611ca157600080fd5b6020830191508360208260051b8501011115611cbc57600080fd5b9250929050565b600060208284031215611cd557600080fd5b6108da82611c5b565b60008060408385031215611cf157600080fd5b611cfa83611c5b565b9150611d0860208401611c5b565b90509250929050565b600080600060608486031215611d2657600080fd5b611d2f84611c5b565b9250611d3d60208501611c5b565b9150604084013590509250925092565b60008060408385031215611d6057600080fd5b611d6983611c5b565b946020939093013593505050565b60008060008060408587031215611d8d57600080fd5b843567ffffffffffffffff80821115611da557600080fd5b611db188838901611c77565b90965094506020870135915080821115611dca57600080fd5b50611dd787828801611c77565b95989497509550505050565b600060208284031215611df557600080fd5b5035919050565b60008060408385031215611e0f57600080fd5b82359150611d0860208401611c5b565b60008060408385031215611e3257600080fd5b50508035926020909101359150565b600060208284031215611e5357600080fd5b81356001600160e01b0319811681146108da57600080fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611ea3816017850160208801612109565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611ed4816028840160208801612109565b01602801949350505050565b6020815260008251806020840152611eff816040850160208701612109565b601f01601f19169190910160400192915050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b86815260208082018790526080604083018190528201859052600090869060a08401835b88811015611f8d576001600160a01b03611f7a85611c5b565b1682529282019290820190600101611f61565b5084810360608601528581526001600160fb1b03861115611fad57600080fd5b8560051b9250828783830137600092010190815298975050505050505050565b60008219821115611fe057611fe06121a2565b500190565b600181815b80851115612020578160001904821115612006576120066121a2565b8085161561201357918102915b93841c9390800290611fea565b509250929050565b60006108da60ff841683600082612041575060016105b7565b8161204e575060006105b7565b8160018114612064576002811461206e5761208a565b60019150506105b7565b60ff84111561207f5761207f6121a2565b50506001821b6105b7565b5060208310610133831016604e8410600b84101617156120ad575081810a6105b7565b6120b78383611fe5565b80600019048211156120cb576120cb6121a2565b029392505050565b60008160001904831182151516156120ed576120ed6121a2565b500290565b600082821015612104576121046121a2565b500390565b60005b8381101561212457818101518382015260200161210c565b8381111561086a5750506000910152565b600081612144576121446121a2565b506000190190565b600181811c9082168061216057607f821691505b6020821081141561218157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561219b5761219b6121a2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122042d111ece9aea7913903df44dbf7a89f0b7348db920af1960b23cb46b762e55a64736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000174876e800

-----Decoded View---------------
Arg [0] : cap_ (uint256): 100000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000174876e800


Deployed Bytecode Sourcemap

55951:12938:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32765:214;;;;;;:::i;:::-;;:::i;:::-;;;4727:14:1;;4720:22;4702:41;;4690:2;4675:18;32765:214:0;;;;;;;;42662:100;;;:::i;:::-;;;;;;;:::i;45013:201::-;;;;;;:::i;:::-;;:::i;43782:108::-;43870:12;;43782:108;;;4900:25:1;;;4888:2;4873:18;43782:108:0;4754:177:1;45794:295:0;;;;;;:::i;:::-;;:::i;28628:131::-;;;;;;:::i;:::-;28702:7;28729:12;;;:6;:12;;;;;:22;;;;28628:131;29021:147;;;;;;:::i;:::-;;:::i;:::-;;43624:93;;;43707:2;14774:36:1;;14762:2;14747:18;43624:93:0;14632:184:1;57574:83:0;57645:4;57574:83;;30069:218;;;;;;:::i;:::-;;:::i;46498:240::-;;;;;;:::i;:::-;;:::i;57391:77::-;;;:::i;57680:433::-;;;;;;:::i;:::-;;:::i;54040:91::-;;;;;;:::i;:::-;;:::i;58724:53::-;;;;;;:::i;:::-;;;;;;;;;;;;;;35716:86;35787:7;;;;35716:86;;43953:127;;;;;;:::i;:::-;-1:-1:-1;;;;;44054:18:0;44027:7;44054:18;;;;;;;;;;;;43953:127;54450:164;;;;;;:::i;:::-;;:::i;57286:73::-;;;:::i;33578:153::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4518:32:1;;;4500:51;;4488:2;4473:18;33578:153:0;4354:203:1;27497:147:0;;;;;;:::i;:::-;;:::i;59524:55::-;;;;;;:::i;:::-;;;;;;;;;;;;;;42881:104;;;:::i;26588:49::-;;26633:4;26588:49;;47241:438;;;;;;:::i;:::-;;:::i;44286:193::-;;;;;;:::i;:::-;;:::i;62097:1465::-;;;;;;:::i;:::-;;:::i;63900:3985::-;;;:::i;59827:46::-;;;;;;33905:142;;;;;;:::i;:::-;;:::i;60554:1395::-;;;;;;:::i;:::-;;:::i;56185:62::-;;-1:-1:-1;;;;;;;;;;;56185:62:0;;29413:149;;;;;;:::i;:::-;;:::i;44542:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;44658:18:0;;;44631:7;44658:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;44542:151;60070:40;;;;;;56116:62;;56154:24;56116:62;;59246:71;;;;;;:::i;:::-;;;;;;;;;;;;;;56254:64;;56293:25;56254:64;;32765:214;32850:4;-1:-1:-1;;;;;;32874:57:0;;-1:-1:-1;;;32874:57:0;;:97;;;32935:36;32959:11;32935:23;:36::i;:::-;32867:104;32765:214;-1:-1:-1;;32765:214:0:o;42662:100::-;42716:13;42749:5;42742:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42662:100;:::o;45013:201::-;45096:4;24476:10;45152:32;24476:10;45168:7;45177:6;45152:8;:32::i;:::-;-1:-1:-1;45202:4:0;;45013:201;-1:-1:-1;;;45013:201:0:o;45794:295::-;45925:4;24476:10;45983:38;45999:4;24476:10;46014:6;45983:15;:38::i;:::-;46032:27;46042:4;46048:2;46052:6;46032:9;:27::i;:::-;-1:-1:-1;46077:4:0;;45794:295;-1:-1:-1;;;;45794:295:0:o;29021:147::-;28702:7;28729:12;;;:6;:12;;;;;:22;;;27079:30;27090:4;24476:10;27079;:30::i;:::-;29135:25:::1;29146:4;29152:7;29135:10;:25::i;:::-;29021:147:::0;;;:::o;30069:218::-;-1:-1:-1;;;;;30165:23:0;;24476:10;30165:23;30157:83;;;;-1:-1:-1;;;30157:83:0;;12705:2:1;30157:83:0;;;12687:21:1;12744:2;12724:18;;;12717:30;12783:34;12763:18;;;12756:62;-1:-1:-1;;;12834:18:1;;;12827:45;12889:19;;30157:83:0;;;;;;;;;30253:26;30265:4;30271:7;30253:11;:26::i;:::-;30069:218;;:::o;46498:240::-;24476:10;46586:4;46667:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;46667:27:0;;;;;;;;;;46586:4;;24476:10;46642:66;;24476:10;;46667:27;;:40;;46697:10;;46667:40;:::i;:::-;46642:8;:66::i;57391:77::-;56154:24;27079:30;56154:24;24476:10;27079;:30::i;:::-;57450:10:::1;:8;:10::i;:::-;57391:77:::0;:::o;57680:433::-;-1:-1:-1;;;;;;;;;;;27079:30:0;56223:24;24476:10;27079;:30::i;:::-;57763:14:::1;57791:16;43707:2:::0;57791::::1;:16;:::i;:::-;57781:26;::::0;:7;:26:::1;:::i;:::-;57763:45:::0;-1:-1:-1;57645:4:0;57964:6:::1;57942:19;43870:12:::0;;;43782:108;57942:19:::1;:28;;;;:::i;:::-;:37;;57934:75;;;::::0;-1:-1:-1;;;57934:75:0;;10758:2:1;57934:75:0::1;::::0;::::1;10740:21:1::0;10797:2;10777:18;;;10770:30;-1:-1:-1;;;10816:18:1;;;10809:55;10881:18;;57934:75:0::1;10556:349:1::0;57934:75:0::1;58088:17;58094:2;58098:6;58088:5;:17::i;:::-;57752:361;57680:433:::0;;;:::o;54040:91::-;54096:27;24476:10;54116:6;54096:5;:27::i;54450:164::-;54527:46;54543:7;24476:10;54566:6;54527:15;:46::i;:::-;54584:22;54590:7;54599:6;54584:5;:22::i;57286:73::-;56154:24;27079:30;56154:24;24476:10;27079;:30::i;:::-;57343:8:::1;:6;:8::i;33578:153::-:0;33668:7;33695:18;;;:12;:18;;;;;:28;;33717:5;33695:21;:28::i;:::-;33688:35;33578:153;-1:-1:-1;;;33578:153:0:o;27497:147::-;27583:4;27607:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;27607:29:0;;;;;;;;;;;;;;;27497:147::o;42881:104::-;42937:13;42970:7;42963:14;;;;;:::i;47241:438::-;24476:10;47334:4;47417:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;47417:27:0;;;;;;;;;;47334:4;;24476:10;47463:35;;;;47455:85;;;;-1:-1:-1;;;47455:85:0;;12299:2:1;47455:85:0;;;12281:21:1;12338:2;12318:18;;;12311:30;12377:34;12357:18;;;12350:62;-1:-1:-1;;;12428:18:1;;;12421:35;12473:19;;47455:85:0;12097:401:1;47455:85:0;47576:60;47585:5;47592:7;47620:15;47601:16;:34;47576:8;:60::i;44286:193::-;44365:4;24476:10;44421:28;24476:10;44438:2;44442:6;44421:9;:28::i;62097:1465::-;-1:-1:-1;;;;;;;;;;;27079:30:0;56223:24;24476:10;27079;:30::i;:::-;62257:58;;::::1;62249:124;;;::::0;-1:-1:-1;;;62249:124:0;;11517:2:1;62249:124:0::1;::::0;::::1;11499:21:1::0;11556:2;11536:18;;;11529:30;11595:34;11575:18;;;11568:62;-1:-1:-1;;;11646:18:1;;;11639:51;11707:19;;62249:124:0::1;11315:417:1::0;62249:124:0::1;62388:9;62384:148;62403:25:::0;;::::1;62384:148;;;62491:26;;62518:1;62491:29;;;;;;;:::i;:::-;;;;;;;62450:18;:37;62469:14;;62484:1;62469:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;62450:37:0::1;-1:-1:-1::0;;;;;62450:37:0::1;;;;;;;;;;;;;:70;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;62430:3:0;;-1:-1:-1;62430:3:0::1;::::0;::::1;:::i;:::-;;;;62384:148;;;-1:-1:-1::0;63211:130:0::1;::::0;62728:10:::1;::::0;62853:14;;63033:26;;62728:10;;63211:130:::1;::::0;::::1;::::0;62853:14;;63033:26;;62853:14;;;;63033:26;;;;63211:130:::1;:::i;:::-;;;;;;;;63526:28;60333:10:::0;60314:30;;;;:18;:30;;;;;;60282:29;:62;60224:244;63526:28:::1;62238:1324;;;62097:1465:::0;;;;;:::o;63900:3985::-;56293:25;27079:30;56293:25;24476:10;27079;:30::i;:::-;1812:1:::1;2410:7;;:19;;2402:63;;;::::0;-1:-1:-1;;;2402:63:0;;11939:2:1;2402:63:0::1;::::0;::::1;11921:21:1::0;11978:2;11958:18;;;11951:30;12017:33;11997:18;;;11990:61;12068:18;;2402:63:0::1;11737:355:1::0;2402:63:0::1;1812:1;2543:7;:18:::0;35787:7;;;;36041:9:::2;36033:38;;;;-1:-1:-1::0;;;36033:38:0::2;;;;;;;:::i;:::-;64105:33:::3;56293:25;64127:10;64105:7;:33::i;:::-;64097:136;;;::::0;-1:-1:-1;;;64097:136:0;;7446:2:1;64097:136:0::3;::::0;::::3;7428:21:1::0;7485:2;7465:18;;;7458:30;7524:34;7504:18;;;7497:62;7595:34;7575:18;;;7568:62;7667:28;7646:19;;;7639:57;7713:19;;64097:136:0::3;7244:494:1::0;64097:136:0::3;64396:28;60333:10:::0;60314:30;;;;:18;:30;;;;;;60282:29;:62;60224:244;64396:28:::3;64874:1;64842:29;;:33;64834:116;;;::::0;-1:-1:-1;;;64834:116:0;;9873:2:1;64834:116:0::3;::::0;::::3;9855:21:1::0;9912:2;9892:18;;;9885:30;9951:34;9931:18;;;9924:62;10022:34;10002:18;;;9995:62;-1:-1:-1;;;10073:19:1;;;10066:37;10120:19;;64834:116:0::3;9671:474:1::0;64834:116:0::3;65197:29;::::0;65182:10:::3;65145:48;::::0;;;:36:::3;:48;::::0;;;;:81;;:48;;;:81:::3;::::0;65197:29;;65145:81:::3;:::i;:::-;::::0;;;-1:-1:-1;;65354:29:0::3;::::0;65319:31:::3;:64:::0;;:31:::3;::::0;:64:::3;::::0;65354:29;;65319:64:::3;:::i;:::-;::::0;;;-1:-1:-1;;65555:29:0::3;::::0;43870:12;;57645:4;;65533:51:::3;::::0;::::3;:::i;:::-;:60;;65525:98;;;::::0;-1:-1:-1;;;65525:98:0;;10758:2:1;65525:98:0::3;::::0;::::3;10740:21:1::0;10797:2;10777:18;;;10770:30;-1:-1:-1;;;10816:18:1;;;10809:55;10881:18;;65525:98:0::3;10556:349:1::0;65525:98:0::3;65802:48;65808:10;65820:29;;65802:5;:48::i;:::-;66534:29;::::0;66519:10:::3;66498:32;::::0;;;:20:::3;:32;::::0;;;;:65;;:32;;;:65:::3;::::0;66534:29;;66498:65:::3;:::i;:::-;::::0;;;-1:-1:-1;;66741:29:0::3;::::0;66712:25:::3;:58:::0;;:25:::3;::::0;:58:::3;::::0;66741:29;;66712:58:::3;:::i;:::-;::::0;;;-1:-1:-1;;67275:29:0::3;::::0;67217:88:::3;::::0;4900:25:1;;;66930:20:0::3;::::0;67090:10:::3;::::0;;;66930:20;;67217:88:::3;::::0;4888:2:1;4873:18;67217:88:0::3;;;;;;;67506:29;::::0;67491:10:::3;67472:30;::::0;;;:18:::3;:30;::::0;;;;:63;;:30;;;:63:::3;::::0;67506:29;;67472:63:::3;:::i;:::-;::::0;;;-1:-1:-1;;60333:10:0;60314:30;;;;:18;:30;;;;;;60282:29;:62;-1:-1:-1;;1768:1:0::1;2722:7;:22:::0;-1:-1:-1;63900:3985:0:o;33905:142::-;33985:7;34012:18;;;:12;:18;;;;;:27;;:25;:27::i;60554:1395::-;-1:-1:-1;;;;;;;;;;;27079:30:0;56223:24;24476:10;27079;:30::i;:::-;60699:52;;::::1;60691:112;;;::::0;-1:-1:-1;;;60691:112:0;;9055:2:1;60691:112:0::1;::::0;::::1;9037:21:1::0;9094:2;9074:18;;;9067:30;9133:34;9113:18;;;9106:62;-1:-1:-1;;;9184:18:1;;;9177:45;9239:19;;60691:112:0::1;8853:411:1::0;60691:112:0::1;60818:9;60814:142;60833:25:::0;;::::1;60814:142;;;60921:20;;60942:1;60921:23;;;;;;;:::i;:::-;;;;;;;60880:18;:37;60899:14;;60914:1;60899:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;60880:37:0::1;-1:-1:-1::0;;;;;60880:37:0::1;;;;;;;;;;;;;:64;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;60860:3:0;;-1:-1:-1;60860:3:0::1;::::0;::::1;:::i;:::-;;;;60814:142;;;-1:-1:-1::0;61614:112:0::1;::::0;61141:10:::1;::::0;61264:14;;61442:20;;61141:10;;61614:112:::1;::::0;::::1;::::0;61264:14;;61442:20;;61264:14;;;;61442:20;;;;61614:112:::1;:::i;29413:149::-:0;28702:7;28729:12;;;:6;:12;;;;;:22;;;27079:30;27090:4;24476:10;27079;:30::i;:::-;29528:26:::1;29540:4;29546:7;29528:11;:26::i;31570:238::-:0;31654:22;31662:4;31668:7;31654;:22::i;:::-;31649:152;;31693:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;31693:29:0;;;;;;;;;:36;;-1:-1:-1;;31693:36:0;31725:4;31693:36;;;31776:12;24476:10;;24396:98;31776:12;-1:-1:-1;;;;;31749:40:0;31767:7;-1:-1:-1;;;;;31749:40:0;31761:4;31749:40;;;;;;;;;;31570:238;;:::o;10631:152::-;10701:4;10725:50;10730:3;-1:-1:-1;;;;;10750:23:0;;10725:4;:50::i;27201:204::-;27286:4;-1:-1:-1;;;;;;27310:47:0;;-1:-1:-1;;;27310:47:0;;:87;;-1:-1:-1;;;;;;;;;;17227:40:0;;;27361:36;17118:157;50877:380;-1:-1:-1;;;;;51013:19:0;;51005:68;;;;-1:-1:-1;;;51005:68:0;;11112:2:1;51005:68:0;;;11094:21:1;11151:2;11131:18;;;11124:30;11190:34;11170:18;;;11163:62;-1:-1:-1;;;11241:18:1;;;11234:34;11285:19;;51005:68:0;10910:400:1;51005:68:0;-1:-1:-1;;;;;51092:21:0;;51084:68;;;;-1:-1:-1;;;51084:68:0;;7043:2:1;51084:68:0;;;7025:21:1;7082:2;7062:18;;;7055:30;7121:34;7101:18;;;7094:62;-1:-1:-1;;;7172:18:1;;;7165:32;7214:19;;51084:68:0;6841:398:1;51084:68:0;-1:-1:-1;;;;;51165:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;51217:32;;4900:25:1;;;51217:32:0;;4873:18:1;51217:32:0;;;;;;;50877:380;;;:::o;51544:453::-;-1:-1:-1;;;;;44658:18:0;;;51679:24;44658:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;51746:37:0;;51742:248;;51828:6;51808:16;:26;;51800:68;;;;-1:-1:-1;;;51800:68:0;;7945:2:1;51800:68:0;;;7927:21:1;7984:2;7964:18;;;7957:30;8023:31;8003:18;;;7996:59;8072:18;;51800:68:0;7743:353:1;51800:68:0;51912:51;51921:5;51928:7;51956:6;51937:16;:25;51912:8;:51::i;48158:671::-;-1:-1:-1;;;;;48289:18:0;;48281:68;;;;-1:-1:-1;;;48281:68:0;;10352:2:1;48281:68:0;;;10334:21:1;10391:2;10371:18;;;10364:30;10430:34;10410:18;;;10403:62;-1:-1:-1;;;10481:18:1;;;10474:35;10526:19;;48281:68:0;10150:401:1;48281:68:0;-1:-1:-1;;;;;48368:16:0;;48360:64;;;;-1:-1:-1;;;48360:64:0;;5887:2:1;48360:64:0;;;5869:21:1;5926:2;5906:18;;;5899:30;5965:34;5945:18;;;5938:62;-1:-1:-1;;;6016:18:1;;;6009:33;6059:19;;48360:64:0;5685:399:1;48360:64:0;48437:38;48458:4;48464:2;48468:6;48437:20;:38::i;:::-;-1:-1:-1;;;;;48510:15:0;;48488:19;48510:15;;;;;;;;;;;48544:21;;;;48536:72;;;;-1:-1:-1;;;48536:72:0;;8303:2:1;48536:72:0;;;8285:21:1;8342:2;8322:18;;;8315:30;8381:34;8361:18;;;8354:62;-1:-1:-1;;;8432:18:1;;;8425:36;8478:19;;48536:72:0;8101:402:1;48536:72:0;-1:-1:-1;;;;;48644:15:0;;;:9;:15;;;;;;;;;;;48662:20;;;48644:38;;48704:13;;;;;;;;:23;;48676:6;;48644:9;48704:23;;48676:6;;48704:23;:::i;:::-;;;;;;;;48760:2;-1:-1:-1;;;;;48745:26:0;48754:4;-1:-1:-1;;;;;48745:26:0;;48764:6;48745:26;;;;4900:25:1;;4888:2;4873:18;;4754:177;48745:26:0;;;;;;;;48784:37;29021:147;27934:505;28023:22;28031:4;28037:7;28023;:22::i;:::-;28018:414;;28211:41;28239:7;-1:-1:-1;;;;;28211:41:0;28249:2;28211:19;:41::i;:::-;28325:38;28353:4;28360:2;28325:19;:38::i;:::-;28116:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;28116:270:0;;;;;;;;;;-1:-1:-1;;;28062:358:0;;;;;;;:::i;34140:169::-;34228:31;34245:4;34251:7;34228:16;:31::i;:::-;34270:18;;;;:12;:18;;;;;:31;;34293:7;34270:22;:31::i;34403:174::-;34492:32;34510:4;34516:7;34492:17;:32::i;:::-;34535:18;;;;:12;:18;;;;;:34;;34561:7;34535:25;:34::i;36775:120::-;35787:7;;;;36311:41;;;;-1:-1:-1;;;36311:41:0;;6291:2:1;36311:41:0;;;6273:21:1;6330:2;6310:18;;;6303:30;-1:-1:-1;;;6349:18:1;;;6342:50;6409:18;;36311:41:0;6089:344:1;36311:41:0;36834:7:::1;:15:::0;;-1:-1:-1;;36834:15:0::1;::::0;;36865:22:::1;24476:10:::0;36874:12:::1;36865:22;::::0;-1:-1:-1;;;;;4518:32:1;;;4500:51;;4488:2;4473:18;36865:22:0::1;;;;;;;36775:120::o:0;49116:399::-;-1:-1:-1;;;;;49200:21:0;;49192:65;;;;-1:-1:-1;;;49192:65:0;;13121:2:1;49192:65:0;;;13103:21:1;13160:2;13140:18;;;13133:30;13199:33;13179:18;;;13172:61;13250:18;;49192:65:0;12919:355:1;49192:65:0;49270:49;49299:1;49303:7;49312:6;49270:20;:49::i;:::-;49348:6;49332:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;49365:18:0;;:9;:18;;;;;;;;;;:28;;49387:6;;49365:9;:28;;49387:6;;49365:28;:::i;:::-;;;;-1:-1:-1;;49409:37:0;;4900:25:1;;;-1:-1:-1;;;;;49409:37:0;;;49426:1;;49409:37;;4888:2:1;4873:18;49409:37:0;;;;;;;30069:218;;:::o;49848:591::-;-1:-1:-1;;;;;49932:21:0;;49924:67;;;;-1:-1:-1;;;49924:67:0;;9471:2:1;49924:67:0;;;9453:21:1;9510:2;9490:18;;;9483:30;9549:34;9529:18;;;9522:62;-1:-1:-1;;;9600:18:1;;;9593:31;9641:19;;49924:67:0;9269:397:1;49924:67:0;50004:49;50025:7;50042:1;50046:6;50004:20;:49::i;:::-;-1:-1:-1;;;;;50091:18:0;;50066:22;50091:18;;;;;;;;;;;50128:24;;;;50120:71;;;;-1:-1:-1;;;50120:71:0;;6640:2:1;50120:71:0;;;6622:21:1;6679:2;6659:18;;;6652:30;6718:34;6698:18;;;6691:62;-1:-1:-1;;;6769:18:1;;;6762:32;6811:19;;50120:71:0;6438:398:1;50120:71:0;-1:-1:-1;;;;;50227:18:0;;:9;:18;;;;;;;;;;50248:23;;;50227:44;;50293:12;:22;;50265:6;;50227:9;50293:22;;50265:6;;50293:22;:::i;:::-;;;;-1:-1:-1;;50333:37:0;;4900:25:1;;;50359:1:0;;-1:-1:-1;;;;;50333:37:0;;;;;4888:2:1;4873:18;50333:37:0;;;;;;;29021:147;;;:::o;36516:118::-;35787:7;;;;36041:9;36033:38;;;;-1:-1:-1;;;36033:38:0;;;;;;;:::i;:::-;36576:7:::1;:14:::0;;-1:-1:-1;;36576:14:0::1;36586:4;36576:14;::::0;;36606:20:::1;36613:12;24476:10:::0;;24396:98;11927:158;12001:7;12052:22;12056:3;12068:5;12052:3;:22::i;11456:117::-;11519:7;11546:19;11554:3;6940:18;;6857:109;4546:414;4609:4;6739:19;;;:12;;;:19;;;;;;4626:327;;-1:-1:-1;4669:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;4852:18;;4830:19;;;:12;;;:19;;;;;;:40;;;;4885:11;;4626:327;-1:-1:-1;4936:5:0;4929:12;;58192:199;35787:7;;;;36041:9;36033:38;;;;-1:-1:-1;;;36033:38:0;;;;;;;:::i;18948:451::-;19023:13;19049:19;19081:10;19085:6;19081:1;:10;:::i;:::-;:14;;19094:1;19081:14;:::i;:::-;19071:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19071:25:0;;19049:47;;-1:-1:-1;;;19107:6:0;19114:1;19107:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19107:15:0;;;;;;;;;-1:-1:-1;;;19133:6:0;19140:1;19133:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19133:15:0;;;;;;;;-1:-1:-1;19164:9:0;19176:10;19180:6;19176:1;:10;:::i;:::-;:14;;19189:1;19176:14;:::i;:::-;19164:26;;19159:135;19196:1;19192;:5;19159:135;;;-1:-1:-1;;;19244:5:0;19252:3;19244:11;19231:25;;;;;;;:::i;:::-;;;;19219:6;19226:1;19219:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;19219:37:0;;;;;;;;-1:-1:-1;19281:1:0;19271:11;;;;;19199:3;;;:::i;:::-;;;19159:135;;;-1:-1:-1;19312:10:0;;19304:55;;;;-1:-1:-1;;;19304:55:0;;5526:2:1;19304:55:0;;;5508:21:1;;;5545:18;;;5538:30;5604:34;5584:18;;;5577:62;5656:18;;19304:55:0;5324:356:1;31940:239:0;32024:22;32032:4;32038:7;32024;:22::i;:::-;32020:152;;;32095:5;32063:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;32063:29:0;;;;;;;;;;:37;;-1:-1:-1;;32063:37:0;;;32120:40;24476:10;;32063:12;;32120:40;;32095:5;32120:40;31940:239;;:::o;10959:158::-;11032:4;11056:53;11064:3;-1:-1:-1;;;;;11084:23:0;;11056:7;:53::i;7320:120::-;7387:7;7414:3;:11;;7426:5;7414:18;;;;;;;;:::i;:::-;;;;;;;;;7407:25;;7320:120;;;;:::o;5136:1420::-;5202:4;5341:19;;;:12;;;:19;;;;;;5377:15;;5373:1176;;5752:21;5776:14;5789:1;5776:10;:14;:::i;:::-;5825:18;;5752:38;;-1:-1:-1;5805:17:0;;5825:22;;5846:1;;5825:22;:::i;:::-;5805:42;;5881:13;5868:9;:26;5864:405;;5915:17;5935:3;:11;;5947:9;5935:22;;;;;;;;:::i;:::-;;;;;;;;;5915:42;;6089:9;6060:3;:11;;6072:13;6060:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;6174:23;;;:12;;;:23;;;;;:36;;;5864:405;6350:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;6445:3;:12;;:19;6458:5;6445:19;;;;;;;;;;;6438:26;;;6488:4;6481:11;;;;;;;5373:1176;6532:5;6525:12;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:1;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:186::-;623:6;676:2;664:9;655:7;651:23;647:32;644:52;;;692:1;689;682:12;644:52;715:29;734:9;715:29;:::i;755:260::-;823:6;831;884:2;872:9;863:7;859:23;855:32;852:52;;;900:1;897;890:12;852:52;923:29;942:9;923:29;:::i;:::-;913:39;;971:38;1005:2;994:9;990:18;971:38;:::i;:::-;961:48;;755:260;;;;;:::o;1020:328::-;1097:6;1105;1113;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;:::-;1195:39;;1253:38;1287:2;1276:9;1272:18;1253:38;:::i;:::-;1243:48;;1338:2;1327:9;1323:18;1310:32;1300:42;;1020:328;;;;;:::o;1353:254::-;1421:6;1429;1482:2;1470:9;1461:7;1457:23;1453:32;1450:52;;;1498:1;1495;1488:12;1450:52;1521:29;1540:9;1521:29;:::i;:::-;1511:39;1597:2;1582:18;;;;1569:32;;-1:-1:-1;;;1353:254:1:o;1612:773::-;1734:6;1742;1750;1758;1811:2;1799:9;1790:7;1786:23;1782:32;1779:52;;;1827:1;1824;1817:12;1779:52;1867:9;1854:23;1896:18;1937:2;1929:6;1926:14;1923:34;;;1953:1;1950;1943:12;1923:34;1992:70;2054:7;2045:6;2034:9;2030:22;1992:70;:::i;:::-;2081:8;;-1:-1:-1;1966:96:1;-1:-1:-1;2169:2:1;2154:18;;2141:32;;-1:-1:-1;2185:16:1;;;2182:36;;;2214:1;2211;2204:12;2182:36;;2253:72;2317:7;2306:8;2295:9;2291:24;2253:72;:::i;:::-;1612:773;;;;-1:-1:-1;2344:8:1;-1:-1:-1;;;;1612:773:1:o;2390:180::-;2449:6;2502:2;2490:9;2481:7;2477:23;2473:32;2470:52;;;2518:1;2515;2508:12;2470:52;-1:-1:-1;2541:23:1;;2390:180;-1:-1:-1;2390:180:1:o;2575:254::-;2643:6;2651;2704:2;2692:9;2683:7;2679:23;2675:32;2672:52;;;2720:1;2717;2710:12;2672:52;2756:9;2743:23;2733:33;;2785:38;2819:2;2808:9;2804:18;2785:38;:::i;2834:248::-;2902:6;2910;2963:2;2951:9;2942:7;2938:23;2934:32;2931:52;;;2979:1;2976;2969:12;2931:52;-1:-1:-1;;3002:23:1;;;3072:2;3057:18;;;3044:32;;-1:-1:-1;2834:248:1:o;3087:286::-;3145:6;3198:2;3186:9;3177:7;3173:23;3169:32;3166:52;;;3214:1;3211;3204:12;3166:52;3240:23;;-1:-1:-1;;;;;;3292:32:1;;3282:43;;3272:71;;3339:1;3336;3329:12;3563:786;3974:25;3969:3;3962:38;3944:3;4029:6;4023:13;4045:62;4100:6;4095:2;4090:3;4086:12;4079:4;4071:6;4067:17;4045:62;:::i;:::-;-1:-1:-1;;;4166:2:1;4126:16;;;4158:11;;;4151:40;4216:13;;4238:63;4216:13;4287:2;4279:11;;4272:4;4260:17;;4238:63;:::i;:::-;4321:17;4340:2;4317:26;;3563:786;-1:-1:-1;;;;3563:786:1:o;4936:383::-;5085:2;5074:9;5067:21;5048:4;5117:6;5111:13;5160:6;5155:2;5144:9;5140:18;5133:34;5176:66;5235:6;5230:2;5219:9;5215:18;5210:2;5202:6;5198:15;5176:66;:::i;:::-;5303:2;5282:15;-1:-1:-1;;5278:29:1;5263:45;;;;5310:2;5259:54;;4936:383;-1:-1:-1;;4936:383:1:o;8508:340::-;8710:2;8692:21;;;8749:2;8729:18;;;8722:30;-1:-1:-1;;;8783:2:1;8768:18;;8761:46;8839:2;8824:18;;8508:340::o;13461:1166::-;13818:25;;;13862:2;13880:18;;;13873:34;;;13805:3;13938:2;13923:18;;13916:31;;;13790:19;;13982:22;;;13757:4;;14062:6;;14035:3;14020:19;;13757:4;14096:208;14110:6;14107:1;14104:13;14096:208;;;-1:-1:-1;;;;;14175:26:1;14194:6;14175:26;:::i;:::-;14171:52;14159:65;;14279:15;;;;14244:12;;;;14132:1;14125:9;14096:208;;;-1:-1:-1;14340:19:1;;;14335:2;14320:18;;14313:47;14369:19;;;-1:-1:-1;;;;;14400:31:1;;14397:51;;;14444:1;14441;14434:12;14397:51;14478:6;14475:1;14471:14;14457:28;;14529:6;14521;14516:2;14511:3;14507:12;14494:42;14600:1;14559:16;;14555:25;14589:13;;;14555:25;13461:1166;-1:-1:-1;;;;;;;;13461:1166:1:o;14821:128::-;14861:3;14892:1;14888:6;14885:1;14882:13;14879:39;;;14898:18;;:::i;:::-;-1:-1:-1;14934:9:1;;14821:128::o;14954:422::-;15043:1;15086:5;15043:1;15100:270;15121:7;15111:8;15108:21;15100:270;;;15180:4;15176:1;15172:6;15168:17;15162:4;15159:27;15156:53;;;15189:18;;:::i;:::-;15239:7;15229:8;15225:22;15222:55;;;15259:16;;;;15222:55;15338:22;;;;15298:15;;;;15100:270;;;15104:3;14954:422;;;;;:::o;15381:140::-;15439:5;15468:47;15509:4;15499:8;15495:19;15489:4;15575:5;15605:8;15595:80;;-1:-1:-1;15646:1:1;15660:5;;15595:80;15694:4;15684:76;;-1:-1:-1;15731:1:1;15745:5;;15684:76;15776:4;15794:1;15789:59;;;;15862:1;15857:130;;;;15769:218;;15789:59;15819:1;15810:10;;15833:5;;;15857:130;15894:3;15884:8;15881:17;15878:43;;;15901:18;;:::i;:::-;-1:-1:-1;;15957:1:1;15943:16;;15972:5;;15769:218;;16071:2;16061:8;16058:16;16052:3;16046:4;16043:13;16039:36;16033:2;16023:8;16020:16;16015:2;16009:4;16006:12;16002:35;15999:77;15996:159;;;-1:-1:-1;16108:19:1;;;16140:5;;15996:159;16187:34;16212:8;16206:4;16187:34;:::i;:::-;16257:6;16253:1;16249:6;16245:19;16236:7;16233:32;16230:58;;;16268:18;;:::i;:::-;16306:20;;15526:806;-1:-1:-1;;;15526:806:1:o;16337:168::-;16377:7;16443:1;16439;16435:6;16431:14;16428:1;16425:21;16420:1;16413:9;16406:17;16402:45;16399:71;;;16450:18;;:::i;:::-;-1:-1:-1;16490:9:1;;16337:168::o;16510:125::-;16550:4;16578:1;16575;16572:8;16569:34;;;16583:18;;:::i;:::-;-1:-1:-1;16620:9:1;;16510:125::o;16640:258::-;16712:1;16722:113;16736:6;16733:1;16730:13;16722:113;;;16812:11;;;16806:18;16793:11;;;16786:39;16758:2;16751:10;16722:113;;;16853:6;16850:1;16847:13;16844:48;;;-1:-1:-1;;16888:1:1;16870:16;;16863:27;16640:258::o;16903:136::-;16942:3;16970:5;16960:39;;16979:18;;:::i;:::-;-1:-1:-1;;;17015:18:1;;16903:136::o;17044:380::-;17123:1;17119:12;;;;17166;;;17187:61;;17241:4;17233:6;17229:17;17219:27;;17187:61;17294:2;17286:6;17283:14;17263:18;17260:38;17257:161;;;17340:10;17335:3;17331:20;17328:1;17321:31;17375:4;17372:1;17365:15;17403:4;17400:1;17393:15;17257:161;;17044:380;;;:::o;17429:135::-;17468:3;-1:-1:-1;;17489:17:1;;17486:43;;;17509:18;;:::i;:::-;-1:-1:-1;17556:1:1;17545:13;;17429:135::o;17569:127::-;17630:10;17625:3;17621:20;17618:1;17611:31;17661:4;17658:1;17651:15;17685:4;17682:1;17675:15;17701:127;17762:10;17757:3;17753:20;17750:1;17743:31;17793:4;17790:1;17783:15;17817:4;17814:1;17807:15;17833:127;17894:10;17889:3;17885:20;17882:1;17875:31;17925:4;17922:1;17915:15;17949:4;17946:1;17939:15;17965:127;18026:10;18021:3;18017:20;18014:1;18007:31;18057:4;18054:1;18047:15;18081:4;18078:1;18071:15

Swarm Source

ipfs://42d111ece9aea7913903df44dbf7a89f0b7348db920af1960b23cb46b762e55a

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.