Contract 0x026cF1C71A705a0DE19D1Fa21EA43cFaA8a3816b

 

Txn Hash Method
Block
From
To
Value [Txn Fee]
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x9fb35ddab78bc501b0cc6160ae5da1160245d9cc1589d2da0c5bc7818ff6121a513645152022-11-24 1:22:049 days 10 hrs ago 0x4e59b44847b379578588920ca78fbf26c0b4956c  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AccessControlFacet

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-11-24
*/

/** 
 *  SourceUnit: /Users/radmin/Dev/Crypto/SolarDeFi/solar-solidity-modules/contracts/modules/access/AccessControlFacet.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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




/** 
 *  SourceUnit: /Users/radmin/Dev/Crypto/SolarDeFi/solar-solidity-modules/contracts/modules/access/AccessControlFacet.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

    /**
     * @dev Returns the number of values 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;

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

        return result;
    }
}




/** 
 *  SourceUnit: /Users/radmin/Dev/Crypto/SolarDeFi/solar-solidity-modules/contracts/modules/access/AccessControlFacet.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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




/** 
 *  SourceUnit: /Users/radmin/Dev/Crypto/SolarDeFi/solar-solidity-modules/contracts/modules/access/AccessControlFacet.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

////import "./IAccessControl.sol";

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

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




/** 
 *  SourceUnit: /Users/radmin/Dev/Crypto/SolarDeFi/solar-solidity-modules/contracts/modules/access/AccessControlFacet.sol
*/
            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

////////////////////////////////////////////////solarde.fi//////////////////////////////////////////////
//_____/\\\\\\\\\\\_________/\\\\\_______/\\\_________________/\\\\\\\\\_______/\\\\\\\\\_____        //
// ___/\\\/////////\\\_____/\\\///\\\____\/\\\_______________/\\\\\\\\\\\\\___/\\\///////\\\___       //
//  __\//\\\______\///____/\\\/__\///\\\__\/\\\______________/\\\/////////\\\_\/\\\_____\/\\\___      //
//   ___\////\\\__________/\\\______\//\\\_\/\\\_____________\/\\\_______\/\\\_\/\\\\\\\\\\\/____     //
//    ______\////\\\______\/\\\_______\/\\\_\/\\\_____________\/\\\\\\\\\\\\\\\_\/\\\//////\\\____    //
//     _________\////\\\___\//\\\______/\\\__\/\\\_____________\/\\\/////////\\\_\/\\\____\//\\\___   //
//      __/\\\______\//\\\___\///\\\__/\\\____\/\\\_____________\/\\\_______\/\\\_\/\\\_____\//\\\__  //
//       _\///\\\\\\\\\\\/______\///\\\\\/_____\/\\\\\\\\\\\\\\\_\/\\\_______\/\\\_\/\\\______\//\\\_ //
//        ___\///////////__________\/////_______\///////////////__\///________\///__\///________\///__//
////////////////////////////////////////////////////////////////////////////////////////////////////////

pragma solidity ^0.8.9;

////import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
////import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

/**
 * @dev Library version of the OpenZeppelin AccessControlEnumerable contract with Diamond storage.
 * See: https://docs.openzeppelin.com/contracts/4.x/api/access#AccessControl
 * See: https://docs.openzeppelin.com/contracts/4.x/api/access#AccessControlEnumerable
 * See: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/AccessControl.sol
 * See: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/AccessControlEnumerable.sol
 */
library LibAccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    struct Storage {
        mapping(bytes32 => RoleData) roles;
        mapping(bytes32 => EnumerableSet.AddressSet) roleMembers;
    }

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    bytes32 private constant STORAGE_SLOT =
        keccak256("solarprotocol.contracts.access.LibAccessControl");

    /**
     * @dev Returns the storage.
     */
    function _storage() private pure returns (Storage storage s) {
        bytes32 slot = STORAGE_SLOT;
        // solhint-disable no-inline-assembly
        // slither-disable-next-line assembly
        assembly {
            s.slot := slot
        }
        // solhint-enable
    }

    /**
     * @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.
     */
    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)
        internal
        view
        returns (bool)
    {
        return
            _storage().roles[role].members[account] ||
            _storage().roles[getRoleAdmin(role)].members[account];
    }

    /**
     * @dev Revert with a standard message if `msg.sender` is missing `role`.
     * @notice This function is identical to {checkRole} but is following the naming convention.
     */
    function enforceRole(bytes32 role) internal view {
        checkRole(role, msg.sender);
    }

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

    /**
     * @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 {
        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) internal view returns (bytes32) {
        return _storage().roles[role].adminRole;
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function setRoleAdmin(bytes32 role, bytes32 adminRole) internal {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _storage().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 {
        if (!hasRole(role, account)) {
            _storage().roles[role].members[account] = true;
            // slither-disable-next-line unused-return
            _storage().roleMembers[role].add(account);
            emit RoleGranted(role, account, msg.sender);
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function revokeRole(bytes32 role, address account) internal {
        if (hasRole(role, account)) {
            _storage().roles[role].members[account] = false;
            // slither-disable-next-line unused-return
            _storage().roleMembers[role].remove(account);
            emit RoleRevoked(role, account, msg.sender);
        }
    }

    /**
     * @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)
        internal
        view
        returns (address)
    {
        return _storage().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) internal view returns (uint256) {
        return _storage().roleMembers[role].length();
    }
}


/** 
 *  SourceUnit: /Users/radmin/Dev/Crypto/SolarDeFi/solar-solidity-modules/contracts/modules/access/AccessControlFacet.sol
*/

////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT

////////////////////////////////////////////////solarde.fi//////////////////////////////////////////////
//_____/\\\\\\\\\\\_________/\\\\\_______/\\\_________________/\\\\\\\\\_______/\\\\\\\\\_____        //
// ___/\\\/////////\\\_____/\\\///\\\____\/\\\_______________/\\\\\\\\\\\\\___/\\\///////\\\___       //
//  __\//\\\______\///____/\\\/__\///\\\__\/\\\______________/\\\/////////\\\_\/\\\_____\/\\\___      //
//   ___\////\\\__________/\\\______\//\\\_\/\\\_____________\/\\\_______\/\\\_\/\\\\\\\\\\\/____     //
//    ______\////\\\______\/\\\_______\/\\\_\/\\\_____________\/\\\\\\\\\\\\\\\_\/\\\//////\\\____    //
//     _________\////\\\___\//\\\______/\\\__\/\\\_____________\/\\\/////////\\\_\/\\\____\//\\\___   //
//      __/\\\______\//\\\___\///\\\__/\\\____\/\\\_____________\/\\\_______\/\\\_\/\\\_____\//\\\__  //
//       _\///\\\\\\\\\\\/______\///\\\\\/_____\/\\\\\\\\\\\\\\\_\/\\\_______\/\\\_\/\\\______\//\\\_ //
//        ___\///////////__________\/////_______\///////////////__\///________\///__\///________\///__//
////////////////////////////////////////////////////////////////////////////////////////////////////////

pragma solidity ^0.8.9;

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

contract AccessControlFacet is IAccessControlEnumerable {
    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account)
        external
        view
        virtual
        override
        returns (bool)
    {
        return LibAccessControl.hasRole(role, account);
    }

    /**
     * @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
        virtual
        override
        returns (bytes32)
    {
        return LibAccessControl.getRoleAdmin(role);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function setRoleAdmin(bytes32 role, bytes32 adminRole) external {
        LibAccessControl.enforceRole(LibAccessControl.getRoleAdmin(role));

        LibAccessControl.setRoleAdmin(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)
        external
        virtual
        override
    {
        LibAccessControl.enforceRole(LibAccessControl.getRoleAdmin(role));

        LibAccessControl.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)
        external
        virtual
        override
    {
        LibAccessControl.enforceRole(LibAccessControl.getRoleAdmin(role));

        LibAccessControl.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 granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account)
        external
        virtual
        override
    {
        // solhint-disable-next-line reason-string
        require(
            account == msg.sender,
            "AccessControl: can only renounce roles for self"
        );

        LibAccessControl.revokeRole(role, account);
    }

    /**
     * @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)
    {
        return LibAccessControl.getRoleMember(role, 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) external view returns (uint256) {
        return LibAccessControl.getRoleMemberCount(role);
    }
}

Contract Security Audit

Contract ABI

[{"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"},{"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":"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"bytes32","name":"adminRole","type":"bytes32"}],"name":"setRoleAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610eea806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80639010d07c1161005b5780639010d07c146100ee57806391d1485414610126578063ca15c87314610149578063d547741f1461015c57600080fd5b80631e4e00911461008d578063248a9ca3146100a25780632f2ff15d146100c857806336568abe146100db575b600080fd5b6100a061009b366004610bd1565b6101a4565b005b6100b56100b0366004610bf3565b6101ec565b6040519081526020015b60405180910390f35b6100a06100d6366004610c0c565b610224565b6100a06100e9366004610c0c565b610268565b6101016100fc366004610bd1565b61031c565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bf565b610139610134366004610c0c565b61032f565b60405190151581526020016100bf565b6100b5610157366004610bf3565b61033b565b6100a061016a366004610c0c565b60008281527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d2602052604090206001015461031290610346565b60008281527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d260205260409020600101546101de90610346565b6101e88282610353565b5050565b60008181527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d260205260408120600101545b92915050565b60008281527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d2602052604090206001015461025e90610346565b6101e882826103bd565b73ffffffffffffffffffffffffffffffffffffffff81163314610312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6101e882826104bf565b600061032883836105bf565b9392505050565b600061032883836105f6565b600061021e826106e9565b610350813361071f565b50565b60008281527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d26020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b6103c782826105f6565b6101e85760008281527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d26020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452825280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558483527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d3909152902061047590826107c8565b50604051339073ffffffffffffffffffffffffffffffffffffffff83169084907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d90600090a45050565b6104c982826105f6565b156101e85760008281527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d26020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452825280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690558483527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d3909152902061057590826107ea565b50604051339073ffffffffffffffffffffffffffffffffffffffff83169084907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b90600090a45050565b60008281527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d360205260408120610328908361080c565b60007fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d260008481526020918252604080822073ffffffffffffffffffffffffffffffffffffffff86168352909252205460ff168061032857507fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d260006106aa8560009081527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d2602052604090206001015490565b81526020808201929092526040908101600090812073ffffffffffffffffffffffffffffffffffffffff8616825290925290205460ff16905092915050565b60008181527fffaa26784aca465bf23123375047d80ccb2b41102e02e5c4ef5b5aa00624b2d36020526040812061021e90610818565b61072982826105f6565b6101e85761074e8173ffffffffffffffffffffffffffffffffffffffff166014610822565b610759836020610822565b60405160200161076a929190610c85565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261030991600401610d06565b60006103288373ffffffffffffffffffffffffffffffffffffffff8416610a65565b60006103288373ffffffffffffffffffffffffffffffffffffffff8416610ab4565b60006103288383610ba7565b600061021e825490565b60606000610831836002610d86565b61083c906002610dc3565b67ffffffffffffffff81111561085457610854610ddb565b6040519080825280601f01601f19166020018201604052801561087e576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106108b5576108b5610e0a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061091857610918610e0a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000610954846002610d86565b61095f906001610dc3565b90505b60018111156109fc577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106109a0576109a0610e0a565b1a60f81b8282815181106109b6576109b6610e0a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936109f581610e39565b9050610962565b508315610328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610309565b6000818152600183016020526040812054610aac5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561021e565b50600061021e565b60008181526001830160205260408120548015610b9d576000610ad8600183610e6e565b8554909150600090610aec90600190610e6e565b9050818114610b51576000866000018281548110610b0c57610b0c610e0a565b9060005260206000200154905080876000018481548110610b2f57610b2f610e0a565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610b6257610b62610e85565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061021e565b600091505061021e565b6000826000018281548110610bbe57610bbe610e0a565b9060005260206000200154905092915050565b60008060408385031215610be457600080fd5b50508035926020909101359150565b600060208284031215610c0557600080fd5b5035919050565b60008060408385031215610c1f57600080fd5b82359150602083013573ffffffffffffffffffffffffffffffffffffffff81168114610c4a57600080fd5b809150509250929050565b60005b83811015610c70578181015183820152602001610c58565b83811115610c7f576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610cbd816017850160208801610c55565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610cfa816028840160208801610c55565b01602801949350505050565b6020815260008251806020840152610d25816040850160208701610c55565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dbe57610dbe610d57565b500290565b60008219821115610dd657610dd6610d57565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081610e4857610e48610d57565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600082821015610e8057610e80610d57565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220951d1e7df8f8537399c0a8386666aba51f7463b5db9fd0e9b73123a441f978bc64736f6c63430008090033

Deployed ByteCode Sourcemap

30766:4058:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31652:207;;;;;;:::i;:::-;;:::i;:::-;;31324:196;;;;;;:::i;:::-;;:::i;:::-;;;598:25:1;;;586:2;571:18;31324:196:0;;;;;;;;32121:246;;;;;;:::i;:::-;;:::i;33367:355::-;;;;;;:::i;:::-;;:::i;34321:185::-;;;;;;:::i;:::-;;:::i;:::-;;;1445:42:1;1433:55;;;1415:74;;1403:2;1388:18;34321:185:0;1269:226:1;30913:209:0;;;;;;:::i;:::-;;:::i;:::-;;;1665:14:1;;1658:22;1640:41;;1628:2;1613:18;30913:209:0;1500:187:1;34680:141:0;;;;;;:::i;:::-;;:::i;32612:248::-;;;;;;:::i;:::-;26688:7;26715:22;;;23051:60;26715:22;;;;;:32;;;32732:65;;31727:28;:65::i;31652:207::-;26688:7;26715:22;;;23051:60;26715:22;;;;;:32;;;31727:65;;:28;:65::i;:::-;31805:46;31835:4;31841:9;31805:29;:46::i;:::-;31652:207;;:::o;31324:196::-;31445:7;26715:22;;;23051:60;26715:22;;;;;:32;;;31477:35;31470:42;31324:196;-1:-1:-1;;31324:196:0:o;32121:246::-;26688:7;26715:22;;;23051:60;26715:22;;;;;:32;;;32240:65;;31727:28;:65::i;32240:::-;32318:41;32345:4;32351:7;32318:26;:41::i;33367:355::-;33563:21;;;33574:10;33563:21;33541:118;;;;;;;2076:2:1;33541:118:0;;;2058:21:1;2115:2;2095:18;;;2088:30;2154:34;2134:18;;;2127:62;2225:17;2205:18;;;2198:45;2260:19;;33541:118:0;;;;;;;;;33672:42;33700:4;33706:7;33672:27;:42::i;34321:185::-;34423:7;34455:43;34486:4;34492:5;34455:30;:43::i;:::-;34448:50;34321:185;-1:-1:-1;;;34321:185:0:o;30913:209::-;31046:4;31075:39;31100:4;31106:7;31075:24;:39::i;34680:141::-;34745:7;34772:41;34808:4;34772:35;:41::i;25165:95::-;25225:27;25235:4;25241:10;25225:9;:27::i;:::-;25165:95;:::o;26887:252::-;26962:25;26715:22;;;23051:60;26715:22;;;;;;:32;;;;27019:44;;;;27079:52;;26715:32;;27019:44;;26715:32;;:22;;27079:52;;26962:25;27079:52;26951:188;26887:252;;:::o;27268:349::-;27343:22;27351:4;27357:7;27343;:22::i;:::-;27338:272;;27382:16;:22;;;23051:60;27382:22;;;;;;;;:39;;;;;;;;;;:46;;;;27424:4;27382:46;;;27499:28;;;:22;:28;;;;;:41;;27382:39;27499:32;:41::i;:::-;-1:-1:-1;27560:38:0;;27587:10;;27560:38;;;;27572:4;;27560:38;;;;;27268:349;;:::o;27749:353::-;27824:22;27832:4;27838:7;27824;:22::i;:::-;27820:275;;;27905:5;27863:22;;;23051:60;27863:22;;;;;;;;:39;;;;;;;;;;:47;;;;;;27981:28;;;:22;:28;;;;;:44;;27863:39;27981:35;:44::i;:::-;-1:-1:-1;28045:38:0;;28072:10;;28045:38;;;;28057:4;;28045:38;;;;;27749:353;;:::o;28701:180::-;28803:7;28835:28;;;:22;:28;;;;;:38;;28867:5;28835:31;:38::i;24705:257::-;24803:4;23051:60;24845:16;:22;;;;;;;;;;;:39;;;;;;;;;;;;;:109;;-1:-1:-1;23051:60:0;24901:16;24918:18;24931:4;26688:7;26715:22;;;23051:60;26715:22;;;;;:32;;;;26629:126;24918:18;24901:36;;;;;;;;;;;;;;-1:-1:-1;24901:36:0;;;:53;;;;;;;;;;;;;24825:129;;24705:257;;;;:::o;29055:137::-;29120:7;29147:28;;;:22;:28;;;;;:37;;:35;:37::i;25944:496::-;26024:22;26032:4;26038:7;26024;:22::i;:::-;26019:414;;26212:41;26240:7;26212:41;;26250:2;26212:19;:41::i;:::-;26326:38;26354:4;26361:2;26326:19;:38::i;:::-;26117:270;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;26063:358;;;;;;;;:::i;11627:152::-;11697:4;11721:50;11726:3;11746:23;;;11721:4;:50::i;11955:158::-;12028:4;12052:53;12060:3;12080:23;;;12052:7;:53::i;12923:158::-;12997:7;13048:22;13052:3;13064:5;13048:3;:22::i;12452:117::-;12515:7;12542:19;12550:3;7936:18;;7853:109;18310:451;18385:13;18411:19;18443:10;18447:6;18443:1;:10;:::i;:::-;:14;;18456:1;18443:14;:::i;:::-;18433:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18433:25:0;;18411:47;;18469:15;:6;18476:1;18469:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;;18495;:6;18502:1;18495:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;-1:-1:-1;18526:9:0;18538:10;18542:6;18538:1;:10;:::i;:::-;:14;;18551:1;18538:14;:::i;:::-;18526:26;;18521:135;18558:1;18554;:5;18521:135;;;18593:12;18606:5;18614:3;18606:11;18593:25;;;;;;;:::i;:::-;;;;18581:6;18588:1;18581:9;;;;;;;;:::i;:::-;;;;:37;;;;;;;;;;-1:-1:-1;18643:1:0;18633:11;;;;;18561:3;;;:::i;:::-;;;18521:135;;;-1:-1:-1;18674:10:0;;18666:55;;;;;;;5127:2:1;18666:55:0;;;5109:21:1;;;5146:18;;;5139:30;5205:34;5185:18;;;5178:62;5257:18;;18666:55:0;4925:356:1;5542:414:0;5605:4;7735:19;;;:12;;;:19;;;;;;5622:327;;-1:-1:-1;5665:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;5848:18;;5826:19;;;:12;;;:19;;;;;;:40;;;;5881:11;;5622:327;-1:-1:-1;5932:5:0;5925:12;;6132:1420;6198:4;6337:19;;;:12;;;:19;;;;;;6373:15;;6369:1176;;6748:21;6772:14;6785:1;6772:10;:14;:::i;:::-;6821:18;;6748:38;;-1:-1:-1;6801:17:0;;6821:22;;6842:1;;6821:22;:::i;:::-;6801:42;;6877:13;6864:9;:26;6860:405;;6911:17;6931:3;:11;;6943:9;6931:22;;;;;;;;:::i;:::-;;;;;;;;;6911:42;;7085:9;7056:3;:11;;7068:13;7056:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;7170:23;;;:12;;;:23;;;;;:36;;;6860:405;7346:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7441:3;:12;;:19;7454:5;7441:19;;;;;;;;;;;7434:26;;;7484:4;7477:11;;;;;;;6369:1176;7528:5;7521:12;;;;;8316:120;8383:7;8410:3;:11;;8422:5;8410:18;;;;;;;;:::i;:::-;;;;;;;;;8403:25;;8316:120;;;;:::o;14:248:1:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;-1:-1:-1;;182:23:1;;;252:2;237:18;;;224:32;;-1:-1:-1;14:248:1:o;267:180::-;326:6;379:2;367:9;358:7;354:23;350:32;347:52;;;395:1;392;385:12;347:52;-1:-1:-1;418:23:1;;267:180;-1:-1:-1;267:180:1:o;634:377::-;702:6;710;763:2;751:9;742:7;738:23;734:32;731:52;;;779:1;776;769:12;731:52;815:9;802:23;792:33;;875:2;864:9;860:18;847:32;919:42;912:5;908:54;901:5;898:65;888:93;;977:1;974;967:12;888:93;1000:5;990:15;;;634:377;;;;;:::o;2290:258::-;2362:1;2372:113;2386:6;2383:1;2380:13;2372:113;;;2462:11;;;2456:18;2443:11;;;2436:39;2408:2;2401:10;2372:113;;;2503:6;2500:1;2497:13;2494:48;;;2538:1;2529:6;2524:3;2520:16;2513:27;2494:48;;2290:258;;;:::o;2553:786::-;2964:25;2959:3;2952:38;2934:3;3019:6;3013:13;3035:62;3090:6;3085:2;3080:3;3076:12;3069:4;3061:6;3057:17;3035:62;:::i;:::-;3161:19;3156:2;3116:16;;;3148:11;;;3141:40;3206:13;;3228:63;3206:13;3277:2;3269:11;;3262:4;3250:17;;3228:63;:::i;:::-;3311:17;3330:2;3307:26;;2553:786;-1:-1:-1;;;;2553:786:1:o;3344:442::-;3493:2;3482:9;3475:21;3456:4;3525:6;3519:13;3568:6;3563:2;3552:9;3548:18;3541:34;3584:66;3643:6;3638:2;3627:9;3623:18;3618:2;3610:6;3606:15;3584:66;:::i;:::-;3702:2;3690:15;3707:66;3686:88;3671:104;;;;3777:2;3667:113;;3344:442;-1:-1:-1;;3344:442:1:o;3791:184::-;3843:77;3840:1;3833:88;3940:4;3937:1;3930:15;3964:4;3961:1;3954:15;3980:228;4020:7;4146:1;4078:66;4074:74;4071:1;4068:81;4063:1;4056:9;4049:17;4045:105;4042:131;;;4153:18;;:::i;:::-;-1:-1:-1;4193:9:1;;3980:228::o;4213:128::-;4253:3;4284:1;4280:6;4277:1;4274:13;4271:39;;;4290:18;;:::i;:::-;-1:-1:-1;4326:9:1;;4213:128::o;4346:184::-;4398:77;4395:1;4388:88;4495:4;4492:1;4485:15;4519:4;4516:1;4509:15;4535:184;4587:77;4584:1;4577:88;4684:4;4681:1;4674:15;4708:4;4705:1;4698:15;4724:196;4763:3;4791:5;4781:39;;4800:18;;:::i;:::-;-1:-1:-1;4847:66:1;4836:78;;4724:196::o;5286:125::-;5326:4;5354:1;5351;5348:8;5345:34;;;5359:18;;:::i;:::-;-1:-1:-1;5396:9:1;;5286:125::o;5416:184::-;5468:77;5465:1;5458:88;5565:4;5562:1;5555:15;5589:4;5586:1;5579:15

Swarm Source

ipfs://951d1e7df8f8537399c0a8386666aba51f7463b5db9fd0e9b73123a441f978bc
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.