Contract 0x6CC1Ea02F43Cc366452d0037831e202254d93699

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3fa4e42724136d4d5eed0495b1df7061ff65df95b56e5d8d86104cf5d33e55950x60a06040151141572022-09-15 10:45:1117 days 21 hrs ago0xdf3e980a175904a26a7ba627048a789ae6a141cd IN  Create: IdentityV20 CELO0.00044073675
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
IdentityV2

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 0 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at celoscan.io on 2022-09-15
*/

// SPDX-License-Identifier: MIXED

// Sources flattened with hardhat v2.10.2 https://hardhat.org

// File @openzeppelin/contracts-upgradeable/access/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControlUpgradeable {
    /**
     * @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-upgradeable/proxy/utils/[email protected]

// License-Identifier: MIT


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// License-Identifier: MIT


/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// License-Identifier: MIT


/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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-upgradeable/utils/introspection/[email protected]

// License-Identifier: MIT


/**
 * @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 IERC165Upgradeable {
    /**
     * @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-upgradeable/utils/introspection/[email protected]

// License-Identifier: MIT



/**
 * @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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/access/[email protected]

// License-Identifier: MIT






/**
 * @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 AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
    function __AccessControl_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __AccessControl_init_unchained();
    }

    function __AccessControl_init_unchained() internal initializer {
    }
    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(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view 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 {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        StringsUpgradeable.toHexString(uint160(account), 20),
                        " is missing role ",
                        StringsUpgradeable.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 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 granted `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}.
     * ====
     */
    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);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
    uint256[49] private __gap;
}


// File @openzeppelin/contracts-upgradeable/security/[email protected]

// License-Identifier: MIT



/**
 * @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 PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @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.
     */
    function __Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal initializer {
        _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());
    }
    uint256[49] private __gap;
}


// File @openzeppelin/contracts/utils/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)


/**
 * @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/utils/cryptography/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


// File @openzeppelin/contracts/utils/[email protected]

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


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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/interfaces/[email protected]

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


/**
 * @dev Interface of the ERC1271 standard signature validation method for
 * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
 *
 * _Available since v4.1._
 */
interface IERC1271 {
    /**
     * @dev Should return whether the signature provided is valid for the provided data
     * @param hash      Hash of the data to be signed
     * @param signature Signature byte array associated with _data
     */
    function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}


// File @openzeppelin/contracts/utils/cryptography/[email protected]

// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/SignatureChecker.sol)




/**
 * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA
 * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like
 * Argent and Gnosis Safe.
 *
 * _Available since v4.1._
 */
library SignatureChecker {
    /**
     * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the
     * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`.
     *
     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus
     * change through time. It could return true at block N and false at block N+1 (or the opposite).
     */
    function isValidSignatureNow(
        address signer,
        bytes32 hash,
        bytes memory signature
    ) internal view returns (bool) {
        (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature);
        if (error == ECDSA.RecoverError.NoError && recovered == signer) {
            return true;
        }

        (bool success, bytes memory result) = signer.staticcall(
            abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature)
        );
        return (success && result.length == 32 && abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector);
    }
}


// File @openzeppelin/contracts-upgradeable/proxy/beacon/[email protected]

// License-Identifier: MIT


/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeaconUpgradeable {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// License-Identifier: MIT


/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// License-Identifier: MIT


/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlotUpgradeable {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}


// File @openzeppelin/contracts-upgradeable/proxy/ERC1967/[email protected]

// License-Identifier: MIT





/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967UpgradeUpgradeable is Initializable {
    function __ERC1967Upgrade_init() internal initializer {
        __ERC1967Upgrade_init_unchained();
    }

    function __ERC1967Upgrade_init_unchained() internal initializer {
    }
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallSecure(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        address oldImplementation = _getImplementation();

        // Initial upgrade and setup call
        _setImplementation(newImplementation);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(newImplementation, data);
        }

        // Perform rollback test if not already in progress
        StorageSlotUpgradeable.BooleanSlot storage rollbackTesting = StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT);
        if (!rollbackTesting.value) {
            // Trigger rollback using upgradeTo from the new implementation
            rollbackTesting.value = true;
            _functionDelegateCall(
                newImplementation,
                abi.encodeWithSignature("upgradeTo(address)", oldImplementation)
            );
            rollbackTesting.value = false;
            // Check rollback was effective
            require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades");
            // Finally reset to the new implementation and log the upgrade
            _upgradeTo(newImplementation);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);
        }
    }

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed");
    }
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected]

// License-Identifier: MIT



/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is Initializable, ERC1967UpgradeUpgradeable {
    function __UUPSUpgradeable_init() internal initializer {
        __ERC1967Upgrade_init_unchained();
        __UUPSUpgradeable_init_unchained();
    }

    function __UUPSUpgradeable_init_unchained() internal initializer {
    }
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeTo(address newImplementation) external virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallSecure(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallSecure(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;
    uint256[50] private __gap;
}


// File contracts/DAOStackInterfaces.sol

// License-Identifier: MIT


interface Avatar {
	function nativeToken() external view returns (address);

	function nativeReputation() external view returns (address);

	function owner() external view returns (address);
}

interface Controller {
	event RegisterScheme(address indexed _sender, address indexed _scheme);
	event UnregisterScheme(address indexed _sender, address indexed _scheme);

	function genericCall(
		address _contract,
		bytes calldata _data,
		address _avatar,
		uint256 _value
	) external returns (bool, bytes memory);

	function avatar() external view returns (address);

	function unregisterScheme(address _scheme, address _avatar)
		external
		returns (bool);

	function unregisterSelf(address _avatar) external returns (bool);

	function registerScheme(
		address _scheme,
		bytes32 _paramsHash,
		bytes4 _permissions,
		address _avatar
	) external returns (bool);

	function isSchemeRegistered(address _scheme, address _avatar)
		external
		view
		returns (bool);

	function getSchemePermissions(address _scheme, address _avatar)
		external
		view
		returns (bytes4);

	function addGlobalConstraint(
		address _constraint,
		bytes32 _paramHash,
		address _avatar
	) external returns (bool);

	function mintTokens(
		uint256 _amount,
		address _beneficiary,
		address _avatar
	) external returns (bool);

	function externalTokenTransfer(
		address _token,
		address _recipient,
		uint256 _amount,
		address _avatar
	) external returns (bool);

	function sendEther(
		uint256 _amountInWei,
		address payable _to,
		address _avatar
	) external returns (bool);
}

interface GlobalConstraintInterface {
	enum CallPhase {
		Pre,
		Post,
		PreAndPost
	}

	function pre(
		address _scheme,
		bytes32 _params,
		bytes32 _method
	) external returns (bool);

	/**
	 * @dev when return if this globalConstraints is pre, post or both.
	 * @return CallPhase enum indication  Pre, Post or PreAndPost.
	 */
	function when() external returns (CallPhase);
}

interface ReputationInterface {
	function balanceOf(address _user) external view returns (uint256);

	function balanceOfAt(address _user, uint256 _blockNumber)
		external
		view
		returns (uint256);

	function getVotes(address _user) external view returns (uint256);

	function getVotesAt(
		address _user,
		bool _global,
		uint256 _blockNumber
	) external view returns (uint256);

	function totalSupply() external view returns (uint256);

	function totalSupplyAt(uint256 _blockNumber)
		external
		view
		returns (uint256);

	function delegateOf(address _user) external returns (address);
}

interface SchemeRegistrar {
	function proposeScheme(
		Avatar _avatar,
		address _scheme,
		bytes32 _parametersHash,
		bytes4 _permissions,
		string memory _descriptionHash
	) external returns (bytes32);

	event NewSchemeProposal(
		address indexed _avatar,
		bytes32 indexed _proposalId,
		address indexed _intVoteInterface,
		address _scheme,
		bytes32 _parametersHash,
		bytes4 _permissions,
		string _descriptionHash
	);
}

interface IntVoteInterface {
	event NewProposal(
		bytes32 indexed _proposalId,
		address indexed _organization,
		uint256 _numOfChoices,
		address _proposer,
		bytes32 _paramsHash
	);

	event ExecuteProposal(
		bytes32 indexed _proposalId,
		address indexed _organization,
		uint256 _decision,
		uint256 _totalReputation
	);

	event VoteProposal(
		bytes32 indexed _proposalId,
		address indexed _organization,
		address indexed _voter,
		uint256 _vote,
		uint256 _reputation
	);

	event CancelProposal(
		bytes32 indexed _proposalId,
		address indexed _organization
	);
	event CancelVoting(
		bytes32 indexed _proposalId,
		address indexed _organization,
		address indexed _voter
	);

	/**
	 * @dev register a new proposal with the given parameters. Every proposal has a unique ID which is being
	 * generated by calculating keccak256 of a incremented counter.
	 * @param _numOfChoices number of voting choices
	 * @param _proposalParameters defines the parameters of the voting machine used for this proposal
	 * @param _proposer address
	 * @param _organization address - if this address is zero the msg.sender will be used as the organization address.
	 * @return proposal's id.
	 */
	function propose(
		uint256 _numOfChoices,
		bytes32 _proposalParameters,
		address _proposer,
		address _organization
	) external returns (bytes32);

	function vote(
		bytes32 _proposalId,
		uint256 _vote,
		uint256 _rep,
		address _voter
	) external returns (bool);

	function cancelVote(bytes32 _proposalId) external;

	function getNumberOfChoices(bytes32 _proposalId)
		external
		view
		returns (uint256);

	function isVotable(bytes32 _proposalId) external view returns (bool);

	/**
	 * @dev voteStatus returns the reputation voted for a proposal for a specific voting choice.
	 * @param _proposalId the ID of the proposal
	 * @param _choice the index in the
	 * @return voted reputation for the given choice
	 */
	function voteStatus(bytes32 _proposalId, uint256 _choice)
		external
		view
		returns (uint256);

	/**
	 * @dev isAbstainAllow returns if the voting machine allow abstain (0)
	 * @return bool true or false
	 */
	function isAbstainAllow() external pure returns (bool);

	/**
     * @dev getAllowedRangeOfChoices returns the allowed range of choices for a voting machine.
     * @return min - minimum number of choices
               max - maximum number of choices
     */
	function getAllowedRangeOfChoices()
		external
		pure
		returns (uint256 min, uint256 max);
}


// File contracts/utils/DataTypes.sol

// License-Identifier: MIT

library DataTypes {
	// refer to the whitepaper, section 1.1 basic concepts for a formal description of these properties.
	struct ReserveData {
		//stores the reserve configuration
		ReserveConfigurationMap configuration;
		//the liquidity index. Expressed in ray
		uint128 liquidityIndex;
		//variable borrow index. Expressed in ray
		uint128 variableBorrowIndex;
		//the current supply rate. Expressed in ray
		uint128 currentLiquidityRate;
		//the current variable borrow rate. Expressed in ray
		uint128 currentVariableBorrowRate;
		//the current stable borrow rate. Expressed in ray
		uint128 currentStableBorrowRate;
		uint40 lastUpdateTimestamp;
		//tokens addresses
		address aTokenAddress;
		address stableDebtTokenAddress;
		address variableDebtTokenAddress;
		//address of the interest rate strategy
		address interestRateStrategyAddress;
		//the id of the reserve. Represents the position in the list of the active reserves
		uint8 id;
	}

	struct ReserveConfigurationMap {
		//bit 0-15: LTV
		//bit 16-31: Liq. threshold
		//bit 32-47: Liq. bonus
		//bit 48-55: Decimals
		//bit 56: Reserve is active
		//bit 57: reserve is frozen
		//bit 58: borrowing is enabled
		//bit 59: stable rate borrowing enabled
		//bit 60-63: reserved
		//bit 64-79: reserve factor
		uint256 data;
	}
	enum InterestRateMode { NONE, STABLE, VARIABLE }
}


// File contracts/Interfaces.sol

// License-Identifier: MIT


pragma experimental ABIEncoderV2;

interface ERC20 {
	function balanceOf(address addr) external view returns (uint256);

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

	function approve(address spender, uint256 amount) external returns (bool);

	function decimals() external view returns (uint8);

	function mint(address to, uint256 mintAmount) external returns (uint256);

	function burn(uint256 amount) external;

	function totalSupply() external view returns (uint256);

	function allowance(address owner, address spender)
		external
		view
		returns (uint256);

	function transferFrom(
		address sender,
		address recipient,
		uint256 amount
	) external returns (bool);

	function name() external view returns (string memory);

	function symbol() external view returns (string memory);

	event Transfer(address indexed from, address indexed to, uint256 amount);
	event Transfer(
		address indexed from,
		address indexed to,
		uint256 amount,
		bytes data
	);
}

interface cERC20 is ERC20 {
	function mint(uint256 mintAmount) external returns (uint256);

	function redeemUnderlying(uint256 mintAmount) external returns (uint256);

	function redeem(uint256 mintAmount) external returns (uint256);

	function exchangeRateCurrent() external returns (uint256);

	function exchangeRateStored() external view returns (uint256);

	function underlying() external returns (address);
}

interface IGoodDollar is ERC20 {
	function getFees(uint256 value) external view returns (uint256, bool);

	function burn(uint256 amount) external;

	function burnFrom(address account, uint256 amount) external;

	function renounceMinter() external;

	function addMinter(address minter) external;

	function isMinter(address minter) external view returns (bool);

	function transferAndCall(
		address to,
		uint256 value,
		bytes calldata data
	) external returns (bool);

	function formula() external view returns (address);
}

interface IERC2917 is ERC20 {
	/// @dev This emit when interests amount per block is changed by the owner of the contract.
	/// It emits with the old interests amount and the new interests amount.
	event InterestRatePerBlockChanged(uint256 oldValue, uint256 newValue);

	/// @dev This emit when a users' productivity has changed
	/// It emits with the user's address and the the value after the change.
	event ProductivityIncreased(address indexed user, uint256 value);

	/// @dev This emit when a users' productivity has changed
	/// It emits with the user's address and the the value after the change.
	event ProductivityDecreased(address indexed user, uint256 value);

	/// @dev Return the current contract's interests rate per block.
	/// @return The amount of interests currently producing per each block.
	function interestsPerBlock() external view returns (uint256);

	/// @notice Change the current contract's interests rate.
	/// @dev Note the best practice will be restrict the gross product provider's contract address to call this.
	/// @return The true/fase to notice that the value has successfully changed or not, when it succeed, it will emite the InterestRatePerBlockChanged event.
	function changeInterestRatePerBlock(uint256 value) external returns (bool);

	/// @notice It will get the productivity of given user.
	/// @dev it will return 0 if user has no productivity proved in the contract.
	/// @return user's productivity and overall productivity.
	function getProductivity(address user)
		external
		view
		returns (uint256, uint256);

	/// @notice increase a user's productivity.
	/// @dev Note the best practice will be restrict the callee to prove of productivity's contract address.
	/// @return true to confirm that the productivity added success.
	function increaseProductivity(address user, uint256 value)
		external
		returns (bool);

	/// @notice decrease a user's productivity.
	/// @dev Note the best practice will be restrict the callee to prove of productivity's contract address.
	/// @return true to confirm that the productivity removed success.
	function decreaseProductivity(address user, uint256 value)
		external
		returns (bool);

	/// @notice take() will return the interests that callee will get at current block height.
	/// @dev it will always calculated by block.number, so it will change when block height changes.
	/// @return amount of the interests that user are able to mint() at current block height.
	function take() external view returns (uint256);

	/// @notice similar to take(), but with the block height joined to calculate return.
	/// @dev for instance, it returns (_amount, _block), which means at block height _block, the callee has accumulated _amount of interests.
	/// @return amount of interests and the block height.
	function takeWithBlock() external view returns (uint256, uint256);

	/// @notice mint the avaiable interests to callee.
	/// @dev once it mint, the amount of interests will transfer to callee's address.
	/// @return the amount of interests minted.
	function mint() external returns (uint256);
}

interface Staking {
	struct Staker {
		// The staked DAI amount
		uint256 stakedDAI;
		// The latest block number which the
		// staker has staked tokens
		uint256 lastStake;
	}

	function stakeDAI(uint256 amount) external;

	function withdrawStake() external;

	function stakers(address staker) external view returns (Staker memory);
}

interface Uniswap {
	function swapExactETHForTokens(
		uint256 amountOutMin,
		address[] calldata path,
		address to,
		uint256 deadline
	) external payable returns (uint256[] memory amounts);

	function swapExactTokensForETH(
		uint256 amountIn,
		uint256 amountOutMin,
		address[] calldata path,
		address to,
		uint256 deadline
	) external returns (uint256[] memory amounts);

	function swapExactTokensForTokens(
		uint256 amountIn,
		uint256 amountOutMin,
		address[] calldata path,
		address to,
		uint256 deadline
	) external returns (uint256[] memory amounts);

	function WETH() external pure returns (address);

	function factory() external pure returns (address);

	function quote(
		uint256 amountA,
		uint256 reserveA,
		uint256 reserveB
	) external pure returns (uint256 amountB);

	function getAmountIn(
		uint256 amountOut,
		uint256 reserveIn,
		uint256 reserveOut
	) external pure returns (uint256 amountIn);

	function getAmountOut(
		uint256 amountI,
		uint256 reserveIn,
		uint256 reserveOut
	) external pure returns (uint256 amountOut);

	function getAmountsOut(uint256 amountIn, address[] memory path)
		external
		pure
		returns (uint256[] memory amounts);
}

interface UniswapFactory {
	function getPair(address tokenA, address tokenB)
		external
		view
		returns (address);
}

interface UniswapPair {
	function getReserves()
		external
		view
		returns (
			uint112 reserve0,
			uint112 reserve1,
			uint32 blockTimestampLast
		);

	function kLast() external view returns (uint256);

	function token0() external view returns (address);

	function token1() external view returns (address);

	function totalSupply() external view returns (uint256);

	function balanceOf(address owner) external view returns (uint256);
}

interface Reserve {
	function buy(
		address _buyWith,
		uint256 _tokenAmount,
		uint256 _minReturn
	) external returns (uint256);
}

interface IIdentity {
	function isWhitelisted(address user) external view returns (bool);

	function addWhitelistedWithDID(address account, string memory did) external;

	function removeWhitelisted(address account) external;

	function addBlacklisted(address account) external;

	function removeBlacklisted(address account) external;

	function isBlacklisted(address user) external view returns (bool);

	function addIdentityAdmin(address account) external returns (bool);

	function setAvatar(address _avatar) external;

	function isIdentityAdmin(address account) external view returns (bool);

	function owner() external view returns (address);

	function removeContract(address account) external;

	function isDAOContract(address account) external view returns (bool);

	event WhitelistedAdded(address user);
}

interface IIdentityV2 is IIdentity {
	function addWhitelistedWithDIDAndChain(
		address account,
		string memory did,
		uint256 orgChainId,
		uint256 dateAuthenticated
	) external;

	function getWhitelistedRoot(address account)
		external
		view
		returns (address root);
}

interface IUBIScheme {
	function currentDay() external view returns (uint256);

	function periodStart() external view returns (uint256);

	function hasClaimed(address claimer) external view returns (bool);
}

interface IFirstClaimPool {
	function awardUser(address user) external returns (uint256);

	function claimAmount() external view returns (uint256);
}

interface ProxyAdmin {
	function getProxyImplementation(address proxy)
		external
		view
		returns (address);

	function getProxyAdmin(address proxy) external view returns (address);

	function upgrade(address proxy, address implementation) external;

	function owner() external view returns (address);

	function transferOwnership(address newOwner) external;

	function upgradeAndCall(
		address proxy,
		address implementation,
		bytes memory data
	) external;
}

/**
 * @dev Interface for chainlink oracles to obtain price datas
 */
interface AggregatorV3Interface {
	function decimals() external view returns (uint8);

	function description() external view returns (string memory);

	function version() external view returns (uint256);

	// getRoundData and latestRoundData should both raise "No data present"
	// if they do not have data to report, instead of returning unset values
	// which could be misinterpreted as actual reported values.
	function getRoundData(uint80 _roundId)
		external
		view
		returns (
			uint80 roundId,
			int256 answer,
			uint256 startedAt,
			uint256 updatedAt,
			uint80 answeredInRound
		);

	function latestAnswer() external view returns (int256);
}

/**
	@dev interface for AAVE lending Pool
 */
interface ILendingPool {
	/**
	 * @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.
	 * - E.g. User deposits 100 USDC and gets in return 100 aUSDC
	 * @param asset The address of the underlying asset to deposit
	 * @param amount The amount to be deposited
	 * @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user
	 *   wants to receive them on his own wallet, or a different address if the beneficiary of aTokens
	 *   is a different wallet
	 * @param referralCode Code used to register the integrator originating the operation, for potential rewards.
	 *   0 if the action is executed directly by the user, without any middle-man
	 **/
	function deposit(
		address asset,
		uint256 amount,
		address onBehalfOf,
		uint16 referralCode
	) external;

	/**
	 * @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned
	 * E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC
	 * @param asset The address of the underlying asset to withdraw
	 * @param amount The underlying amount to be withdrawn
	 *   - Send the value type(uint256).max in order to withdraw the whole aToken balance
	 * @param to Address that will receive the underlying, same as msg.sender if the user
	 *   wants to receive it on his own wallet, or a different address if the beneficiary is a
	 *   different wallet
	 * @return The final amount withdrawn
	 **/
	function withdraw(
		address asset,
		uint256 amount,
		address to
	) external returns (uint256);

	/**
	 * @dev Returns the state and configuration of the reserve
	 * @param asset The address of the underlying asset of the reserve
	 * @return The state of the reserve
	 **/
	function getReserveData(address asset)
		external
		view
		returns (DataTypes.ReserveData memory);
}

interface IDonationStaking {
	function stakeDonations() external payable;
}

interface INameService {
	function getAddress(string memory _name) external view returns (address);
}

interface IAaveIncentivesController {
	/**
	 * @dev Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards
	 * @param amount Amount of rewards to claim
	 * @param to Address that will be receiving the rewards
	 * @return Rewards claimed
	 **/
	function claimRewards(
		address[] calldata assets,
		uint256 amount,
		address to
	) external returns (uint256);

	/**
	 * @dev Returns the total of rewards of an user, already accrued + not yet accrued
	 * @param user The address of the user
	 * @return The rewards
	 **/
	function getRewardsBalance(address[] calldata assets, address user)
		external
		view
		returns (uint256);
}

interface IGoodStaking {
	function collectUBIInterest(address recipient)
		external
		returns (
			uint256,
			uint256,
			uint256
		);

	function iToken() external view returns (address);

	function currentGains(
		bool _returnTokenBalanceInUSD,
		bool _returnTokenGainsInUSD
	)
		external
		view
		returns (
			uint256,
			uint256,
			uint256,
			uint256,
			uint256
		);

	function getRewardEarned(address user) external view returns (uint256);

	function getGasCostForInterestTransfer() external view returns (uint256);

	function rewardsMinted(
		address user,
		uint256 rewardsPerBlock,
		uint256 blockStart,
		uint256 blockEnd
	) external returns (uint256);
}

interface IHasRouter {
	function getRouter() external view returns (Uniswap);
}

interface IAdminWallet {
	function addAdmins(address payable[] memory _admins) external;

	function removeAdmins(address[] memory _admins) external;

	function owner() external view returns (address);

	function transferOwnership(address _owner) external;
}

interface IMultichainRouter {
	// Swaps `amount` `token` from this chain to `toChainID` chain with recipient `to`
	function anySwapOut(
		address token,
		address to,
		uint256 amount,
		uint256 toChainID
	) external;

	// Swaps `amount` `token` from this chain to `toChainID` chain with recipient `to`
	function anySwapOutUnderlying(
		address token,
		address to,
		uint256 amount,
		uint256 toChainID
	) external;
}


// File contracts/utils/DAOContract.sol

// License-Identifier: MIT



/**
@title Simple contract that keeps DAO contracts registery
*/

contract DAOContract {
	Controller public dao;

	address public avatar;

	INameService public nameService;

	function _onlyAvatar() internal view {
		require(
			address(dao.avatar()) == msg.sender,
			"only avatar can call this method"
		);
	}

	function setDAO(INameService _ns) internal {
		nameService = _ns;
		updateAvatar();
	}

	function updateAvatar() public {
		dao = Controller(nameService.getAddress("CONTROLLER"));
		avatar = dao.avatar();
	}

	function nativeToken() public view returns (IGoodDollar) {
		return IGoodDollar(nameService.getAddress("GOODDOLLAR"));
	}

	uint256[50] private gap;
}


// File contracts/utils/DAOUpgradeableContract.sol

// License-Identifier: MIT



/**
@title Simple contract that adds upgradability to DAOContract
*/

contract DAOUpgradeableContract is Initializable, UUPSUpgradeable, DAOContract {
	function _authorizeUpgrade(address) internal virtual override {
		_onlyAvatar();
	}
}


// File contracts/utils/NameService.sol

// License-Identifier: MIT



/**
@title Simple name to address resolver
*/

contract NameService is Initializable, UUPSUpgradeable {
	mapping(bytes32 => address) public addresses;

	Controller public dao;
	event AddressChanged(string name ,address addr);
	function initialize(
		Controller _dao,
		bytes32[] memory _nameHashes,
		address[] memory _addresses
	) public virtual initializer {
		dao = _dao;
		for (uint256 i = 0; i < _nameHashes.length; i++) {
			addresses[_nameHashes[i]] = _addresses[i];
		}
		addresses[keccak256(bytes("CONTROLLER"))] = address(_dao);
		addresses[keccak256(bytes("AVATAR"))] = address(_dao.avatar());
	}

	function _authorizeUpgrade(address) internal override {
		_onlyAvatar();
	}

	function _onlyAvatar() internal view {
		require(
			address(dao.avatar()) == msg.sender,
			"only avatar can call this method"
		);
	}

	function setAddress(string memory name, address addr) external {
		_onlyAvatar();
		addresses[keccak256(bytes(name))] = addr;
		emit AddressChanged(name, addr);
	}

	function setAddresses(bytes32[] calldata hash, address[] calldata addrs)
		external
	{
		_onlyAvatar();
		for (uint256 i = 0; i < hash.length; i++) {
			addresses[hash[i]] = addrs[i];
		}
	}

	function getAddress(string memory name) external view returns (address) {
		return addresses[keccak256(bytes(name))];
	}
}


// File contracts/identity/IdentityV2.sol


// License-Identifier: MIT






/* @title Identity contract responsible for whitelisting
 * and keeping track of amount of whitelisted users
 */
contract IdentityV2 is
	DAOUpgradeableContract,
	AccessControlUpgradeable,
	PausableUpgradeable
{
	struct Identity {
		uint256 dateAuthenticated;
		uint256 dateAdded;
		string did;
		uint256 whitelistedOnChainId;
		uint8 status; //0 nothing, 1 whitelisted, 2 daocontract, 255 blacklisted
	}

	bytes32 public IDENTITY_ADMIN_ROLE = keccak256("identity_admin");
	bytes32 public PAUSER_ROLE = keccak256("pause_admin");

	uint256 public whitelistedCount;
	uint256 public whitelistedContracts;
	uint256 public authenticationPeriod;

	mapping(address => Identity) public identities;

	mapping(bytes32 => address) public didHashToAddress;

	mapping(address => address) public connectedAccounts;

	IIdentity public oldIdentity;

	address ns; //initial name service
	event BlacklistAdded(address indexed account);
	event BlacklistRemoved(address indexed account);

	event WhitelistedAdded(address indexed account);
	event WhitelistedRemoved(address indexed account);
	event WhitelistedAuthenticated(address indexed account, uint256 timestamp);

	event ContractAdded(address indexed account);
	event ContractRemoved(address indexed account);

	function initialize(
		INameService _nameService,
		address _owner,
		IIdentity _oldIdentity
	) public initializer {
		__AccessControl_init_unchained();
		__Pausable_init_unchained();
		ns = address(_nameService);
		authenticationPeriod = 365 * 3;
		_setupRole(DEFAULT_ADMIN_ROLE, avatar);
		_setupRole(DEFAULT_ADMIN_ROLE, _owner);
		_setupRole(PAUSER_ROLE, avatar);
		_setupRole(PAUSER_ROLE, _owner);
		_setupRole(IDENTITY_ADMIN_ROLE, _owner);
		_setupRole(IDENTITY_ADMIN_ROLE, avatar);

		oldIdentity = _oldIdentity;
	}

	function initDAO() external {
		require(address(nameService) == address(0), "already initialized");
		setDAO(INameService(ns));
		_setupRole(DEFAULT_ADMIN_ROLE, avatar);
		_setupRole(PAUSER_ROLE, avatar);
		_setupRole(IDENTITY_ADMIN_ROLE, avatar);
	}

	modifier onlyWhitelisted() {
		require(isWhitelisted(msg.sender), "not whitelisted");
		_;
	}

	/* @dev Sets a new value for authenticationPeriod.
	 * Can only be called by Identity Administrators.
	 * @param period new value for authenticationPeriod
	 */
	function setAuthenticationPeriod(uint256 period) public whenNotPaused {
		_onlyAvatar();
		authenticationPeriod = period;
	}

	/* @dev Sets the authentication date of `account`
	 * to the current time.
	 * Can only be called by Identity Administrators.
	 * @param account address to change its auth date
	 */
	function authenticate(address account)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		require(identities[account].status == 1, "not whitelisted");
		identities[account].dateAuthenticated = block.timestamp;
		emit WhitelistedAuthenticated(account, block.timestamp);
	}

	/* @dev Adds an address as whitelisted.
	 * Can only be called by Identity Administrators.
	 * @param account address to add as whitelisted
	 */
	function addWhitelisted(address account)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		_addWhitelisted(account, _chainId());
	}

	/* @dev Adds an address as whitelisted under a specific ID
	 * @param account The address to add
	 * @param did the ID to add account under
	 */
	function addWhitelistedWithDIDAndChain(
		address account,
		string memory did,
		uint256 orgChain,
		uint256 dateAuthenticated
	) public onlyRole(IDENTITY_ADMIN_ROLE) whenNotPaused {
		_addWhitelistedWithDID(account, did, orgChain);

		//in case we are whitelisting on a new chain an already whitelisted account, we need to make sure it expires at the same time
		if (dateAuthenticated > 0) {
			identities[account].dateAuthenticated = dateAuthenticated;
		}
	}

	/* @dev Adds an address as whitelisted under a specific ID
	 * @param account The address to add
	 * @param did the ID to add account under
	 */
	function addWhitelistedWithDID(address account, string memory did)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		_addWhitelistedWithDID(account, did, _chainId());
	}

	/* @dev Removes an address as whitelisted.
	 * Can only be called by Identity Administrators.
	 * @param account address to remove as whitelisted
	 */
	function removeWhitelisted(address account)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		if (address(oldIdentity) != address(0))
			oldIdentity.removeWhitelisted(account);
		_removeWhitelisted(account);
	}

	/* @dev Renounces message sender from whitelisted
	 */
	function renounceWhitelisted() public whenNotPaused {
		if (address(oldIdentity) != address(0))
			oldIdentity.removeWhitelisted(msg.sender);
		_removeWhitelisted(msg.sender);
	}

	/* @dev Returns true if given address has been added to whitelist
	 * @param account the address to check
	 * @return a bool indicating weather the address is present in whitelist
	 */
	function isWhitelisted(address account) public view returns (bool) {
		uint256 daysSinceAuthentication = (block.timestamp -
			identities[account].dateAuthenticated) / 1 days;
		return
			((daysSinceAuthentication <= authenticationPeriod) &&
				identities[account].status == 1) ||
			(address(oldIdentity) != address(0) &&
				oldIdentity.isWhitelisted(account));
	}

	/* @dev Function that gives the date the given user was added
	 * @param account The address to check
	 * @return The date the address was added
	 */
	function lastAuthenticated(address account) public view returns (uint256) {
		return identities[account].dateAuthenticated;
	}

	/* @dev Adds an address to blacklist.
	 * Can only be called by Identity Administrators.
	 * @param account address to add as blacklisted
	 */
	function addBlacklisted(address account)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		identities[account].status = 255;
		emit BlacklistAdded(account);
	}

	/* @dev Removes an address from blacklist
	 * Can only be called by Identity Administrators.
	 * @param account address to remove as blacklisted
	 */
	function removeBlacklisted(address account)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		if (address(oldIdentity) != address(0))
			oldIdentity.removeBlacklisted(account);

		identities[account].status = 0;
		emit BlacklistRemoved(account);
	}

	/* @dev Function to add a Contract to list of contracts
	 * @param account The address to add
	 */
	function addContract(address account)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		require(isContract(account), "Given address is not a contract");
		_addWhitelisted(account, _chainId());
		identities[account].status = 2;

		emit ContractAdded(account);
	}

	/* @dev Function to remove a Contract from list of contracts
	 * @param account The address to add
	 */
	function removeContract(address account)
		public
		onlyRole(IDENTITY_ADMIN_ROLE)
		whenNotPaused
	{
		if (address(oldIdentity) != address(0)) oldIdentity.removeContract(account);

		_removeWhitelisted(account);

		emit ContractRemoved(account);
	}

	/* @dev Function to check if given contract is on list of contracts.
	 * @param address to check
	 * @return a bool indicating if address is on list of contracts
	 */
	function isDAOContract(address account) public view returns (bool) {
		return
			identities[account].status == 2 ||
			(address(oldIdentity) != address(0) &&
				oldIdentity.isDAOContract(account));
	}

	/* @dev Internal function to add to whitelisted
	 * @param account the address to add
	 */
	function _addWhitelisted(address account, uint256 orgChain) internal {
		whitelistedCount += 1;
		identities[account].status = 1;
		identities[account].dateAdded = block.timestamp;
		identities[account].dateAuthenticated = block.timestamp;
		identities[account].whitelistedOnChainId = orgChain;
		connectedAccounts[account] = address(0);

		if (isContract(account)) {
			whitelistedContracts += 1;
		}

		emit WhitelistedAdded(account);
	}

	/* @dev Internal whitelisting with did function.
	 * @param account the address to add
	 * @param did the id to register account under
	 */
	function _addWhitelistedWithDID(
		address account,
		string memory did,
		uint256 orgChain
	) internal {
		bytes32 pHash = keccak256(bytes(did));
		require(didHashToAddress[pHash] == address(0), "DID already registered");

		identities[account].did = did;
		didHashToAddress[pHash] = account;

		_addWhitelisted(account, orgChain);
	}

	/* @dev Internal function to remove from whitelisted
	 * @param account the address to add
	 */
	function _removeWhitelisted(address account) internal {
		whitelistedCount -= 1;

		if (isContract(account)) {
			whitelistedContracts -= 1;
		}

		string memory did = identities[account].did;
		bytes32 pHash = keccak256(bytes(did));

		delete identities[account];
		delete didHashToAddress[pHash];

		emit WhitelistedRemoved(account);
	}

	/// @notice helper function to get current chain id
	/// @return chainId id
	function _chainId() internal view returns (uint256 chainId) {
		assembly {
			chainId := chainid()
		}
	}

	/* @dev Returns true if given address has been added to the blacklist
	 * @param account the address to check
	 * @return a bool indicating weather the address is present in the blacklist
	 */
	function isBlacklisted(address account) public view returns (bool) {
		return
			identities[account].status == 255 ||
			(address(oldIdentity) != address(0) &&
				oldIdentity.isBlacklisted(account));
	}

	/* @dev Function to see if given address is a contract
	 * @return true if address is a contract
	 */
	function isContract(address _addr) internal view returns (bool) {
		uint256 length;
		assembly {
			length := extcodesize(_addr)
		}
		return length > 0;
	}

	function connectAccount(address _account, bytes memory signature)
		external
		onlyWhitelisted
	{
		require(
			!isWhitelisted(_account) && !isBlacklisted(_account),
			"invalid account"
		);
		require(connectedAccounts[_account] == address(0x0), "already connected");
		//signature ensures the whitelisted (msg.sender) has submited a signature by connected account
		//that connects both accounts
		require(
			SignatureChecker.isValidSignatureNow(
				_account,
				keccak256(abi.encode(msg.sender, _account)),
				signature
			),
			"invalid signature"
		);
		connectedAccounts[_account] = msg.sender;
	}

	function getWhitelistedRoot(address _account)
		external
		view
		returns (address whitelisted)
	{
		if (isWhitelisted(_account)) return _account;
		if (isWhitelisted(connectedAccounts[_account]))
			return connectedAccounts[_account];

		return address(0x0);
	}

	function pause(bool _toPause) external onlyRole(PAUSER_ROLE) {
		if (_toPause) _pause();
		else _unpause();
	}

	function setDID(string calldata did) external onlyWhitelisted {
		bytes32 pHash = keccak256(bytes(did));
		require(didHashToAddress[pHash] == address(0), "DID already registered");

		bytes32 oldHash = keccak256(bytes(identities[msg.sender].did));
		delete didHashToAddress[oldHash];
		identities[msg.sender].did = did;
		didHashToAddress[pHash] = msg.sender;
	}
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ContractAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ContractRemoved","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"WhitelistedAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"WhitelistedAuthenticated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"WhitelistedRemoved","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IDENTITY_ADMIN_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":[{"internalType":"address","name":"account","type":"address"}],"name":"addBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"string","name":"did","type":"string"}],"name":"addWhitelistedWithDID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"string","name":"did","type":"string"},{"internalType":"uint256","name":"orgChain","type":"uint256"},{"internalType":"uint256","name":"dateAuthenticated","type":"uint256"}],"name":"addWhitelistedWithDIDAndChain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"authenticate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"authenticationPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"avatar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"connectAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"connectedAccounts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dao","outputs":[{"internalType":"contract Controller","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"didHashToAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getWhitelistedRoot","outputs":[{"internalType":"address","name":"whitelisted","type":"address"}],"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":"","type":"address"}],"name":"identities","outputs":[{"internalType":"uint256","name":"dateAuthenticated","type":"uint256"},{"internalType":"uint256","name":"dateAdded","type":"uint256"},{"internalType":"string","name":"did","type":"string"},{"internalType":"uint256","name":"whitelistedOnChainId","type":"uint256"},{"internalType":"uint8","name":"status","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INameService","name":"_nameService","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"contract IIdentity","name":"_oldIdentity","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isDAOContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"lastAuthenticated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameService","outputs":[{"internalType":"contract INameService","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nativeToken","outputs":[{"internalType":"contract IGoodDollar","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldIdentity","outputs":[{"internalType":"contract IIdentity","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_toPause","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeWhitelisted","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":[],"name":"renounceWhitelisted","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":"uint256","name":"period","type":"uint256"}],"name":"setAuthenticationPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"did","type":"string"}],"name":"setDID","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":"updateAvatar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistedContracts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a06040523060601b6080527f091941537c453917ef5b0c67f46f29060aca926ebd752fe441d5625e85c3a576610162557f0b0f1f48172a2124d5545a38711e7e9d2e7a6c0b46b85cf1c1788e7a11ba5bf26101635534801561006157600080fd5b5060805160601c61336c61009560003960008181610e0101528181610e410152818161108a01526110ca015261336c6000f3fe6080604052600436106102025760003560e01c806301ffc9a71461020757806302329a291461023c57806308e0d29d1461025e57806310154bad1461027e578063188efc161461029e5780631aaff63c146102be5780631b027099146102e35780631b3c90a814610303578063248a9ca314610318578063274a827b14610338578063291d9549146103585780632d0e9b46146103785780632f2ff15d146103a557806331b376e2146103c557806336568abe146103dc5780633659cfe6146103fc5780633af32abf1461041c5780633e6326fc1461043c5780634125f0f21461045c5780634162169f1461047d5780634c8a72471461049d5780634f1ef286146104b25780635aef7de6146104c55780635c975abb146104e55780635f539d69146104fe578063613200401461051e57806367c759371461055557806391d148541461058c578063a217fddf146105ac578063b2a1de22146105c1578063b30f7e7f146105d8578063c0c53b8b146105ef578063c375c2ef1461060f578063c6a276c21461062f578063c73cc4ae1461064f578063d547741f1461066f578063d6cd94731461068f578063e1758bd8146106a4578063e1e360ba146106b9578063e63ab1e9146106f0578063e737031a14610707578063f653b81e14610727578063f85ebeb114610758578063fe575a8714610778578063fff930d414610798575b600080fd5b34801561021357600080fd5b50610227610222366004612aed565b6107b8565b60405190151581526020015b60405180910390f35b34801561024857600080fd5b5061025c610257366004612b18565b6107ef565b005b34801561026a57600080fd5b5061025c610279366004612b4a565b610817565b34801561028a57600080fd5b5061025c610299366004612b4a565b6108e7565b3480156102aa57600080fd5b5061025c6102b9366004612b4a565b610923565b3480156102ca57600080fd5b506102d56101625481565b604051908152602001610233565b3480156102ef57600080fd5b5061025c6102fe366004612c12565b6109a6565b34801561030f57600080fd5b5061025c6109e8565b34801561032457600080fd5b506102d5610333366004612c61565b610b2d565b34801561034457600080fd5b5061025c610353366004612c7a565b610b42565b34801561036457600080fd5b5061025c610373366004612b4a565b610c48565b34801561038457600080fd5b50610398610393366004612b4a565b610cf9565b6040516102339190612ceb565b3480156103b157600080fd5b5061025c6103c0366004612cff565b610d5f565b3480156103d157600080fd5b506102d56101665481565b3480156103e857600080fd5b5061025c6103f7366004612cff565b610d7c565b34801561040857600080fd5b5061025c610417366004612b4a565b610df6565b34801561042857600080fd5b50610227610437366004612b4a565b610ebf565b34801561044857600080fd5b50606754610398906001600160a01b031681565b34801561046857600080fd5b5061016a54610398906001600160a01b031681565b34801561048957600080fd5b50606554610398906001600160a01b031681565b3480156104a957600080fd5b5061025c610fcc565b61025c6104c0366004612d2f565b61107f565b3480156104d157600080fd5b50606654610398906001600160a01b031681565b3480156104f157600080fd5b506101305460ff16610227565b34801561050a57600080fd5b5061025c610519366004612b4a565b611135565b34801561052a57600080fd5b50610398610539366004612b4a565b610169602052600090815260409020546001600160a01b031681565b34801561056157600080fd5b50610398610570366004612c61565b610168602052600090815260409020546001600160a01b031681565b34801561059857600080fd5b506102276105a7366004612cff565b611210565b3480156105b857600080fd5b506102d5600081565b3480156105cd57600080fd5b506102d56101645481565b3480156105e457600080fd5b506102d56101655481565b3480156105fb57600080fd5b5061025c61060a366004612d88565b61123b565b34801561061b57600080fd5b5061025c61062a366004612b4a565b611367565b34801561063b57600080fd5b5061025c61064a366004612b4a565b611450565b34801561065b57600080fd5b5061022761066a366004612b4a565b611546565b34801561067b57600080fd5b5061025c61068a366004612cff565b611606565b34801561069b57600080fd5b5061025c611623565b3480156106b057600080fd5b506103986116c6565b3480156106c557600080fd5b506102d56106d4366004612b4a565b6001600160a01b03166000908152610167602052604090205490565b3480156106fc57600080fd5b506102d56101635481565b34801561071357600080fd5b5061025c610722366004612dd3565b611762565b34801561073357600080fd5b50610747610742366004612b4a565b6117c9565b604051610233959493929190612e8a565b34801561076457600080fd5b5061025c610773366004612d2f565b611885565b34801561078457600080fd5b50610227610793366004612b4a565b611a0c565b3480156107a457600080fd5b5061025c6107b3366004612c61565b611a7c565b60006001600160e01b03198216637965db0b60e01b14806107e957506301ffc9a760e01b6001600160e01b03198316145b92915050565b610163546107fd8133611aae565b811561080f5761080b611b12565b5050565b61080b611b83565b610162546108258133611aae565b6101305460ff16156108525760405162461bcd60e51b815260040161084990612ec4565b60405180910390fd5b6001600160a01b0382166000908152610167602052604090206004015460ff166001146108915760405162461bcd60e51b815260040161084990612eee565b6001600160a01b03821660008181526101676020908152604091829020429081905591519182527fb2a82fce6d8c7a633efe9579f77b4edb96bfdf171a49bfc2ce666dc543a1f500910160405180910390a25050565b610162546108f58133611aae565b6101305460ff16156109195760405162461bcd60e51b815260040161084990612ec4565b61080b8246611bff565b610162546109318133611aae565b6101305460ff16156109555760405162461bcd60e51b815260040161084990612ec4565b6001600160a01b03821660008181526101676020526040808220600401805460ff191660ff179055517f44d5fe68b00f68950fb9c1ff0a61ef7f747b1a36359a7e3a7f3324db4b8789679190a25050565b610162546109b48133611aae565b6101305460ff16156109d85760405162461bcd60e51b815260040161084990612ec4565b6109e3838346611ccc565b505050565b60675460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac19060640160206040518083038186803b158015610a4657600080fd5b505afa158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7e9190612f17565b606580546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de691600480820192602092909190829003018186803b158015610ad357600080fd5b505afa158015610ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0b9190612f17565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b600090815260fe602052604090206001015490565b610b4b33610ebf565b610b675760405162461bcd60e51b815260040161084990612eee565b60008282604051610b79929190612f34565b6040805191829003909120600081815261016860205291909120549091506001600160a01b031615610bbd5760405162461bcd60e51b815260040161084990612f44565b33600090815261016760205260408082209051610bdd9160020190612faf565b60408051918290039091206000818152610168602090815283822080546001600160a01b0319169055338252610167905291909120909150610c23906002018585612994565b505060009081526101686020526040902080546001600160a01b031916331790555050565b61016254610c568133611aae565b6101305460ff1615610c7a5760405162461bcd60e51b815260040161084990612ec4565b61016a546001600160a01b031615610cf05761016a5460405163291d954960e01b81526001600160a01b039091169063291d954990610cbd908590600401612ceb565b600060405180830381600087803b158015610cd757600080fd5b505af1158015610ceb573d6000803e3d6000fd5b505050505b61080b82611d71565b6000610d0482610ebf565b15610d0d575090565b6001600160a01b0380831660009081526101696020526040902054610d329116610ebf565b15610d5757506001600160a01b03908116600090815261016960205260409020541690565b506000919050565b610d6882610b2d565b610d728133611aae565b6109e38383611ef9565b6001600160a01b0381163314610dec5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610849565b61080b8282611f7f565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610e3f5760405162461bcd60e51b81526004016108499061304b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e71611fe6565b6001600160a01b031614610e975760405162461bcd60e51b815260040161084990613085565b610ea081612002565b60408051600080825260208201909252610ebc9183919061200a565b50565b6001600160a01b0381166000908152610167602052604081205481906201518090610eea90426130d5565b610ef491906130ec565b9050610166548111158015610f2857506001600160a01b0383166000908152610167602052604090206004015460ff166001145b80610fc5575061016a546001600160a01b031615801590610fc5575061016a54604051633af32abf60e01b81526001600160a01b0390911690633af32abf90610f75908690600401612ceb565b60206040518083038186803b158015610f8d57600080fd5b505afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc5919061310e565b9392505050565b6067546001600160a01b03161561101b5760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610849565b61016b54611031906001600160a01b031661214a565b606654611049906000906001600160a01b031661216d565b6101635460665461106391906001600160a01b031661216d565b6101625460665461107d91906001600160a01b031661216d565b565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156110c85760405162461bcd60e51b81526004016108499061304b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166110fa611fe6565b6001600160a01b0316146111205760405162461bcd60e51b815260040161084990613085565b61112982612002565b61080b8282600161200a565b610162546111438133611aae565b6101305460ff16156111675760405162461bcd60e51b815260040161084990612ec4565b813b6111b55760405162461bcd60e51b815260206004820152601f60248201527f476976656e2061646472657373206973206e6f74206120636f6e7472616374006044820152606401610849565b6111bf8246611bff565b6001600160a01b03821660008181526101676020526040808220600401805460ff19166002179055517f89c66952b48f3e96bf1d8ba1b63189520fd988a6979b8b740bd5c5d8dc53e2059190a25050565b600091825260fe602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600054610100900460ff1680611254575060005460ff16155b6112705760405162461bcd60e51b81526004016108499061312b565b600054610100900460ff16158015611292576000805461ffff19166101011790555b61129a612177565b6112a26121e2565b61016b80546001600160a01b0319166001600160a01b0386811691909117909155610447610166556066546112da916000911661216d565b6112e560008461216d565b610163546066546112ff91906001600160a01b031661216d565b61130c610163548461216d565b611319610162548461216d565b6101625460665461133391906001600160a01b031661216d565b61016a80546001600160a01b0319166001600160a01b0384161790558015611361576000805461ff00191690555b50505050565b610162546113758133611aae565b6101305460ff16156113995760405162461bcd60e51b815260040161084990612ec4565b61016a546001600160a01b03161561140f5761016a5460405163c375c2ef60e01b81526001600160a01b039091169063c375c2ef906113dc908590600401612ceb565b600060405180830381600087803b1580156113f657600080fd5b505af115801561140a573d6000803e3d6000fd5b505050505b61141882611d71565b6040516001600160a01b038316907f8d30d41865a0b811b9545d879520d2dde9f4cc49e4241f486ad9752bc904b56590600090a25050565b6101625461145e8133611aae565b6101305460ff16156114825760405162461bcd60e51b815260040161084990612ec4565b61016a546001600160a01b0316156114f85761016a546040516363513b6160e11b81526001600160a01b039091169063c6a276c2906114c5908590600401612ceb565b600060405180830381600087803b1580156114df57600080fd5b505af11580156114f3573d6000803e3d6000fd5b505050505b6001600160a01b03821660008181526101676020526040808220600401805460ff19169055517f1747ca720b1a174a464b6513ace29b1d3190b5f632b9f34147017c81425bfde89190a25050565b6001600160a01b0381166000908152610167602052604081206004015460ff16600214806107e9575061016a546001600160a01b0316158015906107e9575061016a5460405163639e625760e11b81526001600160a01b039091169063c73cc4ae906115b6908590600401612ceb565b60206040518083038186803b1580156115ce57600080fd5b505afa1580156115e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e9919061310e565b61160f82610b2d565b6116198133611aae565b6109e38383611f7f565b6101305460ff16156116475760405162461bcd60e51b815260040161084990612ec4565b61016a546001600160a01b0316156116bd5761016a5460405163291d954960e01b81526001600160a01b039091169063291d95499061168a903390600401612ceb565b600060405180830381600087803b1580156116a457600080fd5b505af11580156116b8573d6000803e3d6000fd5b505050505b61107d33611d71565b60675460405163bf40fac160e01b815260206004820152600a60248201526923a7a7a22227a62620a960b11b60448201526000916001600160a01b03169063bf40fac19060640160206040518083038186803b15801561172557600080fd5b505afa158015611739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175d9190612f17565b905090565b610162546117708133611aae565b6101305460ff16156117945760405162461bcd60e51b815260040161084990612ec4565b61179f858585611ccc565b81156117c2576001600160a01b0385166000908152610167602052604090208290555b5050505050565b61016760205260009081526040902080546001820154600283018054929391926117f290612f74565b80601f016020809104026020016040519081016040528092919081815260200182805461181e90612f74565b801561186b5780601f106118405761010080835404028352916020019161186b565b820191906000526020600020905b81548152906001019060200180831161184e57829003601f168201915b50505050600383015460049093015491929160ff16905085565b61188e33610ebf565b6118aa5760405162461bcd60e51b815260040161084990612eee565b6118b382610ebf565b1580156118c657506118c482611a0c565b155b6119045760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081858d8dbdd5b9d608a1b6044820152606401610849565b6001600160a01b038281166000908152610169602052604090205416156119615760405162461bcd60e51b8152602060048201526011602482015270185b1c9958591e4818dbdb9b9958dd1959607a1b6044820152606401610849565b604080513360208201526001600160a01b038416918101919091526119a19083906060016040516020818303038152906040528051906020012083612258565b6119e15760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b6044820152606401610849565b506001600160a01b031660009081526101696020526040902080546001600160a01b03191633179055565b6001600160a01b0381166000908152610167602052604081206004015460ff90811614806107e9575061016a546001600160a01b0316158015906107e9575061016a5460405163fe575a8760e01b81526001600160a01b039091169063fe575a87906115b6908590600401612ceb565b6101305460ff1615611aa05760405162461bcd60e51b815260040161084990612ec4565b611aa86123a4565b61016655565b611ab88282611210565b61080b57611ad0816001600160a01b03166014612476565b611adb836020612476565b604051602001611aec929190613179565b60408051601f198184030181529082905262461bcd60e51b8252610849916004016131e8565b6101305460ff1615611b365760405162461bcd60e51b815260040161084990612ec4565b610130805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b6c3390565b604051611b799190612ceb565b60405180910390a1565b6101305460ff16611bcd5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610849565b610130805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611b6c565b60016101646000828254611c1391906131fb565b90915550506001600160a01b03821660009081526101676020908152604080832060048101805460ff19166001908117909155429082018190558155600301849055610169909152902080546001600160a01b0319169055611c75823b151590565b15611c945760016101656000828254611c8e91906131fb565b90915550505b6040516001600160a01b038316907fee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f90600090a25050565b815160208084019190912060008181526101689092526040909120546001600160a01b031615611d0e5760405162461bcd60e51b815260040161084990612f44565b6001600160a01b0384166000908152610167602090815260409091208451611d3e92600290920191860190612a18565b5060008181526101686020526040902080546001600160a01b0319166001600160a01b0386161790556113618483611bff565b60016101646000828254611d8591906130d5565b9091555050803b15611dab5760016101656000828254611da591906130d5565b90915550505b6001600160a01b0381166000908152610167602052604081206002018054611dd290612f74565b80601f0160208091040260200160405190810160405280929190818152602001828054611dfe90612f74565b8015611e4b5780601f10611e2057610100808354040283529160200191611e4b565b820191906000526020600020905b815481529060010190602001808311611e2e57829003601f168201915b505083516020808601919091206001600160a01b038816600090815261016790925260408220828155600181018390559596509493509150611e9290506002830182612a8c565b506000600382018190556004909101805460ff19169055818152610168602052604080822080546001600160a01b0319169055516001600160a01b038516917f270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b691a2505050565b611f038282611210565b61080b57600082815260fe602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f3b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611f898282611210565b1561080b57600082815260fe602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000805160206132f0833981519152546001600160a01b031690565b610ebc6123a4565b6000612014611fe6565b905061201f84612611565b60008351118061202c5750815b1561203d5761203b84846126a4565b505b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143805460ff166117c257805460ff191660011781556040516120b8908690612089908590602401612ceb565b60408051601f198184030181529190526020810180516001600160e01b0316631b2ce7f360e11b1790526126a4565b50805460ff191681556120c9611fe6565b6001600160a01b0316826001600160a01b0316146121415760405162461bcd60e51b815260206004820152602f60248201527f45524331393637557067726164653a207570677261646520627265616b73206660448201526e75727468657220757067726164657360881b6064820152608401610849565b6117c28561278f565b606780546001600160a01b0319166001600160a01b038316179055610ebc6109e8565b61080b8282611ef9565b600054610100900460ff1680612190575060005460ff16155b6121ac5760405162461bcd60e51b81526004016108499061312b565b600054610100900460ff161580156121ce576000805461ffff19166101011790555b8015610ebc576000805461ff001916905550565b600054610100900460ff16806121fb575060005460ff16155b6122175760405162461bcd60e51b81526004016108499061312b565b600054610100900460ff16158015612239576000805461ffff19166101011790555b610130805460ff191690558015610ebc576000805461ff001916905550565b600080600061226785856127cf565b9092509050600081600481111561228057612280613213565b14801561229e5750856001600160a01b0316826001600160a01b0316145b156122ae57600192505050610fc5565b600080876001600160a01b0316631626ba7e60e01b88886040516024016122d6929190613229565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051612314919061324a565b600060405180830381855afa9150503d806000811461234f576040519150601f19603f3d011682016040523d82523d6000602084013e612354565b606091505b5091509150818015612367575080516020145b801561239857508051630b135d3f60e11b9061238c9083016020908101908401613266565b6001600160e01b031916145b98975050505050505050565b60655460408051632d77bef360e11b8152905133926001600160a01b031691635aef7de6916004808301926020929190829003018186803b1580156123e857600080fd5b505afa1580156123fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124209190612f17565b6001600160a01b03161461107d5760405162461bcd60e51b815260206004820181905260248201527f6f6e6c79206176617461722063616e2063616c6c2074686973206d6574686f646044820152606401610849565b60606000612485836002613283565b6124909060026131fb565b6001600160401b038111156124a7576124a7612b67565b6040519080825280601f01601f1916602001820160405280156124d1576020820181803683370190505b509050600360fc1b816000815181106124ec576124ec6132a2565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061251b5761251b6132a2565b60200101906001600160f81b031916908160001a905350600061253f846002613283565b61254a9060016131fb565b90505b60018111156125c2576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061257e5761257e6132a2565b1a60f81b828281518110612594576125946132a2565b60200101906001600160f81b031916908160001a90535060049490941c936125bb816132b8565b905061254d565b508315610fc55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610849565b803b6126755760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610849565b6000805160206132f083398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060823b6127035760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610849565b600080846001600160a01b03168460405161271e919061324a565b600060405180830381855af49150503d8060008114612759576040519150601f19603f3d011682016040523d82523d6000602084013e61275e565b606091505b509150915061278682826040518060600160405280602781526020016133106027913961283f565b95945050505050565b61279881612611565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6000808251604114156128065760208301516040840151606085015160001a6127fa87828585612878565b94509450505050612838565b825160401415612830576020830151604084015161282586838361295b565b935093505050612838565b506000905060025b9250929050565b6060831561284e575081610fc5565b82511561285e5782518084602001fd5b8160405162461bcd60e51b815260040161084991906131e8565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156128a55750600090506003612952565b8460ff16601b141580156128bd57508460ff16601c14155b156128ce5750600090506004612952565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612922573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661294b57600060019250925050612952565b9150600090505b94509492505050565b6000806001600160ff1b0383168161297860ff86901c601b6131fb565b905061298687828885612878565b935093505050935093915050565b8280546129a090612f74565b90600052602060002090601f0160209004810192826129c25760008555612a08565b82601f106129db5782800160ff19823516178555612a08565b82800160010185558215612a08579182015b82811115612a085782358255916020019190600101906129ed565b50612a14929150612ac2565b5090565b828054612a2490612f74565b90600052602060002090601f016020900481019282612a465760008555612a08565b82601f10612a5f57805160ff1916838001178555612a08565b82800160010185558215612a08579182015b82811115612a08578251825591602001919060010190612a71565b508054612a9890612f74565b6000825580601f10612aa8575050565b601f016020900490600052602060002090810190610ebc91905b5b80821115612a145760008155600101612ac3565b6001600160e01b031981168114610ebc57600080fd5b600060208284031215612aff57600080fd5b8135610fc581612ad7565b8015158114610ebc57600080fd5b600060208284031215612b2a57600080fd5b8135610fc581612b0a565b6001600160a01b0381168114610ebc57600080fd5b600060208284031215612b5c57600080fd5b8135610fc581612b35565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612b9757612b97612b67565b604051601f8501601f19908116603f01168101908282118183101715612bbf57612bbf612b67565b81604052809350858152868686011115612bd857600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612c0357600080fd5b610fc583833560208501612b7d565b60008060408385031215612c2557600080fd5b8235612c3081612b35565b915060208301356001600160401b03811115612c4b57600080fd5b612c5785828601612bf2565b9150509250929050565b600060208284031215612c7357600080fd5b5035919050565b60008060208385031215612c8d57600080fd5b82356001600160401b0380821115612ca457600080fd5b818501915085601f830112612cb857600080fd5b813581811115612cc757600080fd5b866020828501011115612cd957600080fd5b60209290920196919550909350505050565b6001600160a01b0391909116815260200190565b60008060408385031215612d1257600080fd5b823591506020830135612d2481612b35565b809150509250929050565b60008060408385031215612d4257600080fd5b8235612d4d81612b35565b915060208301356001600160401b03811115612d6857600080fd5b8301601f81018513612d7957600080fd5b612c5785823560208401612b7d565b600080600060608486031215612d9d57600080fd5b8335612da881612b35565b92506020840135612db881612b35565b91506040840135612dc881612b35565b809150509250925092565b60008060008060808587031215612de957600080fd5b8435612df481612b35565b935060208501356001600160401b03811115612e0f57600080fd5b612e1b87828801612bf2565b949794965050505060408301359260600135919050565b60005b83811015612e4d578181015183820152602001612e35565b838111156113615750506000910152565b60008151808452612e76816020860160208601612e32565b601f01601f19169290920160200192915050565b85815284602082015260a060408201526000612ea960a0830186612e5e565b905083606083015260ff831660808301529695505050505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252600f908201526e1b9bdd081dda1a5d195b1a5cdd1959608a1b604082015260600190565b600060208284031215612f2957600080fd5b8151610fc581612b35565b8183823760009101908152919050565b60208082526016908201527511125108185b1c9958591e481c9959da5cdd195c995960521b604082015260600190565b600181811c90821680612f8857607f821691505b60208210811415612fa957634e487b7160e01b600052602260045260246000fd5b50919050565b600080835481600182811c915080831680612fcb57607f831692505b6020808410821415612feb57634e487b7160e01b86526022600452602486fd5b818015612fff57600181146130105761303d565b60ff1986168952848901965061303d565b60008a81526020902060005b868110156130355781548b82015290850190830161301c565b505084890196505b509498975050505050505050565b6020808252602c908201526000805160206132d083398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206132d083398151915260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000828210156130e7576130e76130bf565b500390565b60008261310957634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561312057600080fd5b8151610fc581612b0a565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516131ab816017850160208801612e32565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516131dc816028840160208801612e32565b01602801949350505050565b602081526000610fc56020830184612e5e565b6000821982111561320e5761320e6130bf565b500190565b634e487b7160e01b600052602160045260246000fd5b8281526040602082015260006132426040830184612e5e565b949350505050565b6000825161325c818460208701612e32565b9190910192915050565b60006020828403121561327857600080fd5b8151610fc581612ad7565b600081600019048311821515161561329d5761329d6130bf565b500290565b634e487b7160e01b600052603260045260246000fd5b6000816132c7576132c76130bf565b50600019019056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122016bb284175c89b6293efdd3bebfbd93826532eec88e3c45654e9bcf4ad6b37c764736f6c63430008080033

Deployed ByteCode Sourcemap

89137:11315:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13210:215;;;;;;;;;;-1:-1:-1;13210:215:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;13210:215:0;;;;;;;;99961:113;;;;;;;;;;-1:-1:-1;99961:113:0;;;;;:::i;:::-;;:::i;:::-;;91699:290;;;;;;;;;;-1:-1:-1;91699:290:0;;;;;:::i;:::-;;:::i;92144:149::-;;;;;;;;;;-1:-1:-1;92144:149:0;;;;;:::i;:::-;;:::i;94911:178::-;;;;;;;;;;-1:-1:-1;94911:178:0;;;;;:::i;:::-;;:::i;89443:64::-;;;;;;;;;;;;;;;;;;;1495:25:1;;;1483:2;1468:18;89443:64:0;1349:177:1;93077:187:0;;;;;;;;;;-1:-1:-1;93077:187:0;;;;;:::i;:::-;;:::i;86867:121::-;;;;;;;;;;;;;:::i;14654:123::-;;;;;;;;;;-1:-1:-1;14654:123:0;;;;;:::i;:::-;;:::i;100079:370::-;;;;;;;;;;-1:-1:-1;100079:370:0;;;;;:::i;:::-;;:::i;93425:230::-;;;;;;;;;;-1:-1:-1;93425:230:0;;;;;:::i;:::-;;:::i;99684:272::-;;;;;;;;;;-1:-1:-1;99684:272:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;15039:147::-;;;;;;;;;;-1:-1:-1;15039:147:0;;;;;:::i;:::-;;:::i;89644:35::-;;;;;;;;;;;;;;;;16087:218;;;;;;;;;;-1:-1:-1;16087:218:0;;;;;:::i;:::-;;:::i;63290:202::-;;;;;;;;;;-1:-1:-1;63290:202:0;;;;;:::i;:::-;;:::i;94095:375::-;;;;;;;;;;-1:-1:-1;94095:375:0;;;;;:::i;:::-;;:::i;86591:31::-;;;;;;;;;;-1:-1:-1;86591:31:0;;;;-1:-1:-1;;;;;86591:31:0;;;89852:28;;;;;;;;;;-1:-1:-1;89852:28:0;;;;-1:-1:-1;;;;;89852:28:0;;;86537:21;;;;;;;;;;-1:-1:-1;86537:21:0;;;;-1:-1:-1;;;;;86537:21:0;;;90852:256;;;;;;;;;;;;;:::i;63751:227::-;;;;;;:::i;:::-;;:::i;86564:21::-;;;;;;;;;;-1:-1:-1;86564:21:0;;;;-1:-1:-1;;;;;86564:21:0;;;19223:86;;;;;;;;;;-1:-1:-1;19294:7:0;;;;19223:86;;95627:283;;;;;;;;;;-1:-1:-1;95627:283:0;;;;;:::i;:::-;;:::i;89794:52::-;;;;;;;;;;-1:-1:-1;89794:52:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;89794:52:0;;;89737:51;;;;;;;;;;-1:-1:-1;89737:51:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;89737:51:0;;;13517:139;;;;;;;;;;-1:-1:-1;13517:139:0;;;;;:::i;:::-;;:::i;12597:49::-;;;;;;;;;;-1:-1:-1;12597:49:0;12642:4;12597:49;;89570:31;;;;;;;;;;;;;;;;89605:35;;;;;;;;;;;;;;;;90309:538;;;;;;;;;;-1:-1:-1;90309:538:0;;;;;:::i;:::-;;:::i;96023:258::-;;;;;;;;;;-1:-1:-1;96023:258:0;;;;;:::i;:::-;;:::i;95249:270::-;;;;;;;;;;-1:-1:-1;95249:270:0;;;;;:::i;:::-;;:::i;96458:206::-;;;;;;;;;;-1:-1:-1;96458:206:0;;;;;:::i;:::-;;:::i;15431:149::-;;;;;;;;;;-1:-1:-1;15431:149:0;;;;;:::i;:::-;;:::i;93718:182::-;;;;;;;;;;;;;:::i;86993:123::-;;;;;;;;;;;;;:::i;94630:128::-;;;;;;;;;;-1:-1:-1;94630:128:0;;;;;:::i;:::-;-1:-1:-1;;;;;94716:19:0;94695:7;94716:19;;;:10;:19;;;;;:37;;94630:128;89511:53;;;;;;;;;;;;;;;;92448:474;;;;;;;;;;-1:-1:-1;92448:474:0;;;;;:::i;:::-;;:::i;89685:46::-;;;;;;;;;;-1:-1:-1;89685:46:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;99052:627::-;;;;;;;;;;-1:-1:-1;99052:627:0;;;;;:::i;:::-;;:::i;98566:208::-;;;;;;;;;;-1:-1:-1;98566:208:0;;;;;:::i;:::-;;:::i;91379:127::-;;;;;;;;;;-1:-1:-1;91379:127:0;;;;;:::i;:::-;;:::i;13210:215::-;13295:4;-1:-1:-1;;;;;;13319:58:0;;-1:-1:-1;;;13319:58:0;;:98;;-1:-1:-1;;;;;;;;;;10244:51:0;;;13381:36;13312:105;13210:215;-1:-1:-1;;13210:215:0:o;99961:113::-;100009:11;;13088:30;100009:11;5929:10;13088;:30::i;:::-;100031:8:::1;100027:42;;;100041:8;:6;:8::i;:::-;99961:113:::0;;:::o;100027:42::-:1;100059:10;:8;:10::i;91699:290::-:0;91760:19;;13088:30;91760:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1::0;;;;;91813:19:0;::::2;;::::0;;;:10:::2;:19;::::0;;;;:26:::2;;::::0;::::2;;::::0;:31:::2;91805:59;;;;-1:-1:-1::0;;;91805:59:0::2;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;91869:19:0;::::2;;::::0;;;:10:::2;:19;::::0;;;;;;;;91909:15:::2;91869:55:::0;;;;91934:50;;1495:25:1;;;91934:50:0::2;::::0;1468:18:1;91934:50:0::2;;;;;;;91699:290:::0;;:::o;92144:149::-;92207:19;;13088:30;92207:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;92252:36:::2;92268:7:::0;98345:9;92252:15:::2;:36::i;94911:178::-:0;94974:19;;13088:30;94974:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;95019:19:0;::::2;;::::0;;;:10:::2;:19;::::0;;;;;:26:::2;;:32:::0;;-1:-1:-1;;95019:32:0::2;95048:3;95019:32;::::0;;95061:23;::::2;::::0;95019:19;95061:23:::2;94911:178:::0;;:::o;93077:187::-;93166:19;;13088:30;93166:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;93211:48:::2;93234:7:::0;93243:3;98345:9;93211:22:::2;:48::i;:::-;93077:187:::0;;;:::o;86867:121::-;86920:11;;:36;;-1:-1:-1;;;86920:36:0;;9274:2:1;86920:36:0;;;9256:21:1;9313:2;9293:18;;;9286:30;-1:-1:-1;;;9332:18:1;;;9325:40;-1:-1:-1;;;;;86920:11:0;;;;:22;;9382:18:1;;86920:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86903:3;:54;;-1:-1:-1;;;;;;86903:54:0;-1:-1:-1;;;;;86903:54:0;;;;;;;;;86971:12;;;-1:-1:-1;;;86971:12:0;;;;:10;;:12;;;;;;;;;;;;;;;86903:54;86971:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86962:6;:21;;-1:-1:-1;;;;;;86962:21:0;-1:-1:-1;;;;;86962:21:0;;;;;;;;;;86867:121::o;14654:123::-;14720:7;14747:12;;;:6;:12;;;;;:22;;;;14654:123::o;100079:370::-;91153:25;91167:10;91153:13;:25::i;:::-;91145:53;;;;-1:-1:-1;;;91145:53:0;;;;;;;:::i;:::-;100146:13:::1;100178:3;;100162:21;;;;;;;:::i;:::-;;::::0;;;;;::::1;::::0;;;100231:1:::1;100196:23:::0;;;:16:::1;:23;::::0;;;;;;100162:21;;-1:-1:-1;;;;;;100196:23:0::1;:37:::0;100188:72:::1;;;;-1:-1:-1::0;;;100188:72:0::1;;;;;;;:::i;:::-;100312:10;100267:15;100301:22:::0;;;:10:::1;:22;::::0;;;;;100285:44;;::::1;::::0;100301:26:::1;;::::0;100285:44:::1;:::i;:::-;;::::0;;;;;::::1;::::0;;;100341:25:::1;::::0;;;:16:::1;:25;::::0;;;;;;100334:32;;-1:-1:-1;;;;;;100334:32:0::1;::::0;;100382:10:::1;100371:22:::0;;:10:::1;:22:::0;;;;;;100285:44;;-1:-1:-1;100371:32:0::1;::::0;:26:::1;;100400:3:::0;;100371:32:::1;:::i;:::-;-1:-1:-1::0;;100408:23:0::1;::::0;;;:16:::1;:23;::::0;;;;:36;;-1:-1:-1;;;;;;100408:36:0::1;100434:10;100408:36;::::0;;-1:-1:-1;;100079:370:0:o;93425:230::-;93491:19;;13088:30;93491:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;93548:11:::2;::::0;-1:-1:-1;;;;;93548:11:0::2;93540:34:::0;93536:82:::2;;93580:11;::::0;:38:::2;::::0;-1:-1:-1;;;93580:38:0;;-1:-1:-1;;;;;93580:11:0;;::::2;::::0;:29:::2;::::0;:38:::2;::::0;93610:7;;93580:38:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;93536:82;93623:27;93642:7;93623:18;:27::i;99684:272::-:0;99762:19;99794:23;99808:8;99794:13;:23::i;:::-;99790:44;;;-1:-1:-1;99826:8:0;99684:272::o;99790:44::-;-1:-1:-1;;;;;99857:27:0;;;;;;;:17;:27;;;;;;99843:42;;99857:27;99843:13;:42::i;:::-;99839:86;;;-1:-1:-1;;;;;;99898:27:0;;;;;;;:17;:27;;;;;;;;99684:272::o;99839:86::-;-1:-1:-1;99947:3:0;;99684:272;-1:-1:-1;99684:272:0:o;15039:147::-;15122:18;15135:4;15122:12;:18::i;:::-;13088:30;13099:4;5929:10;13088;:30::i;:::-;15153:25:::1;15164:4;15170:7;15153:10;:25::i;16087:218::-:0;-1:-1:-1;;;;;16183:23:0;;5929:10;16183:23;16175:83;;;;-1:-1:-1;;;16175:83:0;;12119:2:1;16175:83:0;;;12101:21:1;12158:2;12138:18;;;12131:30;12197:34;12177:18;;;12170:62;-1:-1:-1;;;12248:18:1;;;12241:45;12303:19;;16175:83:0;11917:411:1;16175:83:0;16271:26;16283:4;16289:7;16271:11;:26::i;63290:202::-;62919:4;-1:-1:-1;;;;;62928:6:0;62911:23;;;62903:80;;;;-1:-1:-1;;;62903:80:0;;;;;;;:::i;:::-;63026:6;-1:-1:-1;;;;;63002:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;63002:30:0;;62994:87;;;;-1:-1:-1;;;62994:87:0;;;;;;;:::i;:::-;63374:36:::1;63392:17;63374;:36::i;:::-;63464:12;::::0;;63474:1:::1;63464:12:::0;;;::::1;::::0;::::1;::::0;;;63421:63:::1;::::0;63445:17;;63464:12;63421:23:::1;:63::i;:::-;63290:202:::0;:::o;94095:375::-;-1:-1:-1;;;;;94224:19:0;;94156:4;94224:19;;;:10;:19;;;;;:37;94156:4;;94265:6;;94202:59;;:15;:59;:::i;:::-;94201:70;;;;:::i;:::-;94167:104;;94316:20;;94289:23;:47;;94288:89;;;;-1:-1:-1;;;;;;94346:19:0;;;;;;:10;:19;;;;;:26;;;;;;:31;94288:89;94287:178;;;-1:-1:-1;94395:11:0;;-1:-1:-1;;;;;94395:11:0;94387:34;;;;:77;;-1:-1:-1;94430:11:0;;:34;;-1:-1:-1;;;94430:34:0;;-1:-1:-1;;;;;94430:11:0;;;;:25;;:34;;94456:7;;94430:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;94276:189;94095:375;-1:-1:-1;;;94095:375:0:o;90852:256::-;90901:11;;-1:-1:-1;;;;;90901:11:0;90893:34;90885:66;;;;-1:-1:-1;;;90885:66:0;;14095:2:1;90885:66:0;;;14077:21:1;14134:2;14114:18;;;14107:30;-1:-1:-1;;;14153:18:1;;;14146:49;14212:18;;90885:66:0;13893:343:1;90885:66:0;90976:2;;90956:24;;-1:-1:-1;;;;;90976:2:0;90956:6;:24::i;:::-;91016:6;;90985:38;;12642:4;;-1:-1:-1;;;;;91016:6:0;90985:10;:38::i;:::-;91039:11;;91052:6;;91028:31;;91039:11;-1:-1:-1;;;;;91052:6:0;91028:10;:31::i;:::-;91075:19;;91096:6;;91064:39;;91075:19;-1:-1:-1;;;;;91096:6:0;91064:10;:39::i;:::-;90852:256::o;63751:227::-;62919:4;-1:-1:-1;;;;;62928:6:0;62911:23;;;62903:80;;;;-1:-1:-1;;;62903:80:0;;;;;;;:::i;:::-;63026:6;-1:-1:-1;;;;;63002:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;63002:30:0;;62994:87;;;;-1:-1:-1;;;62994:87:0;;;;;;;:::i;:::-;63869:36:::1;63887:17;63869;:36::i;:::-;63916:54;63940:17;63959:4;63965;63916:23;:54::i;95627:283::-:0;95687:19;;13088:30;95687:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;98998:18:::0;;95732:63:::2;;;::::0;-1:-1:-1;;;95732:63:0;;14443:2:1;95732:63:0::2;::::0;::::2;14425:21:1::0;14482:2;14462:18;;;14455:30;14521:33;14501:18;;;14494:61;14572:18;;95732:63:0::2;14241:355:1::0;95732:63:0::2;95800:36;95816:7:::0;98345:9;92252:15:::2;:36::i;95800:::-;-1:-1:-1::0;;;;;95841:19:0;::::2;;::::0;;;:10:::2;:19;::::0;;;;;:26:::2;;:30:::0;;-1:-1:-1;;95841:30:0::2;95870:1;95841:30;::::0;;95883:22;::::2;::::0;95841:19;95883:22:::2;95627:283:::0;;:::o;13517:139::-;13595:4;13619:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;13619:29:0;;;;;;;;;;;;;;;13517:139::o;90309:538::-;4643:13;;;;;;;;:30;;-1:-1:-1;4661:12:0;;;;4660:13;4643:30;4635:89;;;;-1:-1:-1;;;4635:89:0;;;;;;;:::i;:::-;4737:19;4760:13;;;;;;4759:14;4784:101;;;;4819:13;:20;;-1:-1:-1;;4854:19:0;;;;;4784:101;90433:32:::1;:30;:32::i;:::-;90470:27;:25;:27::i;:::-;90502:2;:26:::0;;-1:-1:-1;;;;;;90502:26:0::1;-1:-1:-1::0;;;;;90502:26:0;;::::1;::::0;;;::::1;::::0;;;90556:7:::1;90533:20;:30:::0;90599:6:::1;::::0;90568:38:::1;::::0;-1:-1:-1;;90599:6:0::1;90568:10;:38::i;:::-;90611;12642:4;90642:6:::0;90611:10:::1;:38::i;:::-;90665:11;::::0;90678:6:::1;::::0;90654:31:::1;::::0;90665:11;-1:-1:-1;;;;;90678:6:0::1;90654:10;:31::i;:::-;90690;90701:11;;90714:6;90690:10;:31::i;:::-;90726:39;90737:19;;90758:6;90726:10;:39::i;:::-;90781:19;::::0;90802:6:::1;::::0;90770:39:::1;::::0;90781:19;-1:-1:-1;;;;;90802:6:0::1;90770:10;:39::i;:::-;90816:11;:26:::0;;-1:-1:-1;;;;;;90816:26:0::1;-1:-1:-1::0;;;;;90816:26:0;::::1;;::::0;;4911:68;;;;4962:5;4946:21;;-1:-1:-1;;4946:21:0;;;4911:68;4624:362;90309:538;;;:::o;96023:258::-;96086:19;;13088:30;96086:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;96143:11:::2;::::0;-1:-1:-1;;;;;96143:11:0::2;96135:34:::0;96131:75:::2;;96171:11;::::0;:35:::2;::::0;-1:-1:-1;;;96171:35:0;;-1:-1:-1;;;;;96171:11:0;;::::2;::::0;:26:::2;::::0;:35:::2;::::0;96198:7;;96171:35:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;96131:75;96213:27;96232:7;96213:18;:27::i;:::-;96252:24;::::0;-1:-1:-1;;;;;96252:24:0;::::2;::::0;::::2;::::0;;;::::2;96023:258:::0;;:::o;95249:270::-;95315:19;;13088:30;95315:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;95372:11:::2;::::0;-1:-1:-1;;;;;95372:11:0::2;95364:34:::0;95360:82:::2;;95404:11;::::0;:38:::2;::::0;-1:-1:-1;;;95404:38:0;;-1:-1:-1;;;;;95404:11:0;;::::2;::::0;:29:::2;::::0;:38:::2;::::0;95434:7;;95404:38:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;95360:82;-1:-1:-1::0;;;;;95449:19:0;::::2;95478:1;95449:19:::0;;;:10:::2;:19;::::0;;;;;:26:::2;;:30:::0;;-1:-1:-1;;95449:30:0::2;::::0;;95489:25;::::2;::::0;95478:1;95489:25:::2;95249:270:::0;;:::o;96458:206::-;-1:-1:-1;;;;;96541:19:0;;96519:4;96541:19;;;:10;:19;;;;;:26;;;;;96571:1;96541:31;;:118;;-1:-1:-1;96589:11:0;;-1:-1:-1;;;;;96589:11:0;96581:34;;;;:77;;-1:-1:-1;96624:11:0;;:34;;-1:-1:-1;;;96624:34:0;;-1:-1:-1;;;;;96624:11:0;;;;:25;;:34;;96650:7;;96624:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;15431:149::-;15515:18;15528:4;15515:12;:18::i;:::-;13088:30;13099:4;5929:10;13088;:30::i;:::-;15546:26:::1;15558:4;15564:7;15546:11;:26::i;93718:182::-:0;19294:7;;;;19548:9;19540:38;;;;-1:-1:-1;;;19540:38:0;;;;;;;:::i;:::-;93787:11:::1;::::0;-1:-1:-1;;;;;93787:11:0::1;93779:34:::0;93775:85:::1;;93819:11;::::0;:41:::1;::::0;-1:-1:-1;;;93819:41:0;;-1:-1:-1;;;;;93819:11:0;;::::1;::::0;:29:::1;::::0;:41:::1;::::0;93849:10:::1;::::0;93819:41:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;93775:85;93865:30;93884:10;93865:18;:30::i;86993:123::-:0;87074:11;;:36;;-1:-1:-1;;;87074:36:0;;15218:2:1;87074:36:0;;;15200:21:1;15257:2;15237:18;;;15230:30;-1:-1:-1;;;15276:18:1;;;15269:40;87037:11:0;;-1:-1:-1;;;;;87074:11:0;;:22;;15326:18:1;;87074:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;87055:56;;86993:123;:::o;92448:474::-;92600:19;;13088:30;92600:19;5929:10;13088;:30::i;:::-;19294:7;;;;19548:9:::1;19540:38;;;;-1:-1:-1::0;;;19540:38:0::1;;;;;;;:::i;:::-;92640:46:::2;92663:7;92672:3;92677:8;92640:22;:46::i;:::-;92826:21:::0;;92822:96:::2;;-1:-1:-1::0;;;;;92855:19:0;::::2;;::::0;;;:10:::2;:19;::::0;;;;:57;;;92822:96:::2;92448:474:::0;;;;;:::o;89685:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;89685:46:0;;;;;;;;;;;;;;;-1:-1:-1;89685:46:0;:::o;99052:627::-;91153:25;91167:10;91153:13;:25::i;:::-;91145:53;;;;-1:-1:-1;;;91145:53:0;;;;;;;:::i;:::-;99170:23:::1;99184:8;99170:13;:23::i;:::-;99169:24;:52;;;;;99198:23;99212:8;99198:13;:23::i;:::-;99197:24;99169:52;99156:93;;;::::0;-1:-1:-1;;;99156:93:0;;15557:2:1;99156:93:0::1;::::0;::::1;15539:21:1::0;15596:2;15576:18;;;15569:30;-1:-1:-1;;;15615:18:1;;;15608:45;15670:18;;99156:93:0::1;15355:339:1::0;99156:93:0::1;-1:-1:-1::0;;;;;99262:27:0;;::::1;99301:3;99262:27:::0;;;:17:::1;:27;::::0;;;;;::::1;:43:::0;99254:73:::1;;;::::0;-1:-1:-1;;;99254:73:0;;15901:2:1;99254:73:0::1;::::0;::::1;15883:21:1::0;15940:2;15920:18;;;15913:30;-1:-1:-1;;;15959:18:1;;;15952:47;16016:18;;99254:73:0::1;15699:341:1::0;99254:73:0::1;99544:32;::::0;;99555:10:::1;99544:32;::::0;::::1;16257:34:1::0;-1:-1:-1;;;;;16327:15:1;;16307:18;;;16300:43;;;;99476:123:0::1;::::0;99519:8;;16192:18:1;;99544:32:0::1;;;;;;;;;;;;99534:43;;;;;;99584:9;99476:36;:123::i;:::-;99463:166;;;::::0;-1:-1:-1;;;99463:166:0;;16556:2:1;99463:166:0::1;::::0;::::1;16538:21:1::0;16595:2;16575:18;;;16568:30;-1:-1:-1;;;16614:18:1;;;16607:47;16671:18;;99463:166:0::1;16354:341:1::0;99463:166:0::1;-1:-1:-1::0;;;;;;99634:27:0::1;;::::0;;;:17:::1;:27;::::0;;;;:40;;-1:-1:-1;;;;;;99634:40:0::1;99664:10;99634:40;::::0;;99052:627::o;98566:208::-;-1:-1:-1;;;;;98649:19:0;;98627:4;98649:19;;;:10;:19;;;;;:26;;;;;;;:33;;:120;;-1:-1:-1;98699:11:0;;-1:-1:-1;;;;;98699:11:0;98691:34;;;;:77;;-1:-1:-1;98734:11:0;;:34;;-1:-1:-1;;;98734:34:0;;-1:-1:-1;;;;;98734:11:0;;;;:25;;:34;;98760:7;;98734:34;;;:::i;91379:127::-;19294:7;;;;19548:9;19540:38;;;;-1:-1:-1;;;19540:38:0;;;;;;;:::i;:::-;91454:13:::1;:11;:13::i;:::-;91472:20;:29:::0;91379:127::o;13946:519::-;14027:22;14035:4;14041:7;14027;:22::i;:::-;14022:436;;14215:52;14254:7;-1:-1:-1;;;;;14215:52:0;14264:2;14215:30;:52::i;:::-;14340:49;14379:4;14386:2;14340:30;:49::i;:::-;14120:292;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;14120:292:0;;;;;;;;;;-1:-1:-1;;;14066:380:0;;;;;;;:::i;20023:118::-;19294:7;;;;19548:9;19540:38;;;;-1:-1:-1;;;19540:38:0;;;;;;;:::i;:::-;20083:7:::1;:14:::0;;-1:-1:-1;;20083:14:0::1;20093:4;20083:14;::::0;;20113:20:::1;20120:12;5929:10:::0;;5849:98;20120:12:::1;20113:20;;;;;;:::i;:::-;;;;;;;;20023:118::o:0;20282:120::-;19294:7;;;;19818:41;;;;-1:-1:-1;;;19818:41:0;;17918:2:1;19818:41:0;;;17900:21:1;17957:2;17937:18;;;17930:30;-1:-1:-1;;;17976:18:1;;;17969:50;18036:18;;19818:41:0;17716:344:1;19818:41:0;20341:7:::1;:15:::0;;-1:-1:-1;;20341:15:0::1;::::0;;20372:22:::1;5929:10:::0;20381:12:::1;5849:98:::0;96764:452;96858:1;96838:16;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;96864:19:0;;;;;;:10;:19;;;;;;;;:26;;;:30;;-1:-1:-1;;96864:30:0;96893:1;96864:30;;;;;;96931:15;96899:29;;;:47;;;96951:55;;-1:-1:-1;97011:40:0;:51;;;97067:17;:26;;;;;:39;;-1:-1:-1;;;;;;97067:39:0;;;97117:19;96875:7;98998:18;99032:10;;;98885:162;97117:19;97113:62;;;97168:1;97144:20;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;97113:62:0;97186:25;;-1:-1:-1;;;;;97186:25:0;;;;;;;;96764:452;;:::o;97366:347::-;97495:21;;;;;;;;;;97479:13;97529:23;;;:16;:23;;;;;;;;-1:-1:-1;;;;;97529:23:0;:37;97521:72;;;;-1:-1:-1;;;97521:72:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;97600:19:0;;;;;;:10;:19;;;;;;;;:29;;;;:23;;;;;:29;;;;:::i;:::-;-1:-1:-1;97634:23:0;;;;:16;:23;;;;;:33;;-1:-1:-1;;;;;;97634:33:0;-1:-1:-1;;;;;97634:33:0;;;;;97674:34;97634:33;97699:8;97674:15;:34::i;97818:352::-;97897:1;97877:16;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;98998:18:0;;99032:10;97905:62;;97960:1;97936:20;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;97905:62:0;-1:-1:-1;;;;;97993:19:0;;97973:17;97993:19;;;:10;:19;;;;;:23;;97973:43;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;98037:21:0;;;;;;;;;;-1:-1:-1;;;;;98072:19:0;;98021:13;98072:19;;;:10;:19;;;;;;98065:26;;;;;;;;;97973:43;;-1:-1:-1;98037:21:0;98072:19;-1:-1:-1;98021:13:0;-1:-1:-1;98065:26:0;;-1:-1:-1;98065:26:0;;;98021:13;98065:26;:::i;:::-;-1:-1:-1;98065:26:0;;;;;;;;;;;;;-1:-1:-1;;98065:26:0;;;98103:23;;;:16;:23;;;;;;98096:30;;-1:-1:-1;;;;;;98096:30:0;;;98138:27;-1:-1:-1;;;;;98138:27:0;;;;;;97872:298;;97818:352;:::o;17391:229::-;17466:22;17474:4;17480:7;17466;:22::i;:::-;17461:152;;17505:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;17505:29:0;;;;;;;;;:36;;-1:-1:-1;;17505:36:0;17537:4;17505:36;;;17588:12;5929:10;;5849:98;17588:12;-1:-1:-1;;;;;17561:40:0;17579:7;-1:-1:-1;;;;;17561:40:0;17573:4;17561:40;;;;;;;;;;17391:229;;:::o;17628:230::-;17703:22;17711:4;17717:7;17703;:22::i;:::-;17699:152;;;17774:5;17742:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;17742:29:0;;;;;;;;;;:37;;-1:-1:-1;;17742:37:0;;;17799:40;5929:10;;17742:12;;17799:40;;17774:5;17799:40;17628:230;;:::o;54654:153::-;-1:-1:-1;;;;;;;;;;;54734:65:0;-1:-1:-1;;;;;54734:65:0;;54654:153::o;87399:85::-;87466:13;:11;:13::i;56072:1268::-;56221:25;56249:20;:18;:20::i;:::-;56221:48;;56325:37;56344:17;56325:18;:37::i;:::-;56391:1;56377:4;:11;:15;:28;;;;56396:9;56377:28;56373:107;;;56422:46;56444:17;56463:4;56422:21;:46::i;:::-;;56373:107;54025:66;56683:21;;;;56678:655;;56798:28;;-1:-1:-1;;56798:28:0;56822:4;56798:28;;;56917:64;;56841:155;;56881:17;;56917:64;;56963:17;;56917:64;;;:::i;:::-;;;;-1:-1:-1;;56917:64:0;;;;;;;;;;;;;;-1:-1:-1;;;;;56917:64:0;-1:-1:-1;;;56917:64:0;;;56841:21;:155::i;:::-;-1:-1:-1;57011:29:0;;-1:-1:-1;;57011:29:0;;;57129:20;:18;:20::i;:::-;-1:-1:-1;;;;;57108:41:0;:17;-1:-1:-1;;;;;57108:41:0;;57100:101;;;;-1:-1:-1;;;57100:101:0;;18400:2:1;57100:101:0;;;18382:21:1;18439:2;18419:18;;;18412:30;18478:34;18458:18;;;18451:62;-1:-1:-1;;;18529:18:1;;;18522:45;18584:19;;57100:101:0;18198:411:1;57100:101:0;57292:29;57303:17;57292:10;:29::i;86773:89::-;86821:11;:17;;-1:-1:-1;;;;;;86821:17:0;-1:-1:-1;;;;;86821:17:0;;;;;86843:14;:12;:14::i;16888:112::-;16967:25;16978:4;16984:7;16967:10;:25::i;12365:71::-;4643:13;;;;;;;;:30;;-1:-1:-1;4661:12:0;;;;4660:13;4643:30;4635:89;;;;-1:-1:-1;;;4635:89:0;;;;;;;:::i;:::-;4737:19;4760:13;;;;;;4759:14;4784:101;;;;4819:13;:20;;-1:-1:-1;;4854:19:0;;;;;4784:101;4915:14;4911:68;;;4962:5;4946:21;;-1:-1:-1;;4946:21:0;;;4624:362;12365:71::o;19031:92::-;4643:13;;;;;;;;:30;;-1:-1:-1;4661:12:0;;;;4660:13;4643:30;4635:89;;;;-1:-1:-1;;;4635:89:0;;;;;;;:::i;:::-;4737:19;4760:13;;;;;;4759:14;4784:101;;;;4819:13;:20;;-1:-1:-1;;4854:19:0;;;;;4784:101;19100:7:::1;:15:::0;;-1:-1:-1;;19100:15:0::1;::::0;;4911:68;;;;4962:5;4946:21;;-1:-1:-1;;4946:21:0;;;4624:362;19031:92::o;42381:647::-;42521:4;42539:17;42558:24;42586:33;42603:4;42609:9;42586:16;:33::i;:::-;42538:81;;-1:-1:-1;42538:81:0;-1:-1:-1;42643:26:0;42634:5;:35;;;;;;;;:::i;:::-;;:58;;;;;42686:6;-1:-1:-1;;;;;42673:19:0;:9;-1:-1:-1;;;;;42673:19:0;;42634:58;42630:102;;;42716:4;42709:11;;;;;;42630:102;42745:12;42759:19;42782:6;-1:-1:-1;;;;;42782:17:0;42837:34;;;42873:4;42879:9;42814:75;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;42814:75:0;;;;;;;;;;;;;;-1:-1:-1;;;;;42814:75:0;-1:-1:-1;;;;;;42814:75:0;;;;;;;;;;42782:118;;;;42814:75;42782:118;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42744:156;;;;42919:7;:30;;;;;42930:6;:13;42947:2;42930:19;42919:30;:100;;;;-1:-1:-1;42953:28:0;;-1:-1:-1;;;42985:34:0;42953:28;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;42953:66:0;;42919:100;42911:109;42381:647;-1:-1:-1;;;;;;;;42381:647:0:o;86628:140::-;86691:3;;:12;;;-1:-1:-1;;;86691:12:0;;;;86708:10;;-1:-1:-1;;;;;86691:3:0;;:10;;:12;;;;;;;;;;;;;;:3;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;86683:35:0;;86670:93;;;;-1:-1:-1;;;86670:93:0;;19775:2:1;86670:93:0;;;19757:21:1;;;19794:18;;;19787:30;19853:34;19833:18;;;19826:62;19905:18;;86670:93:0;19573:356:1;7750:451:0;7825:13;7851:19;7883:10;7887:6;7883:1;:10;:::i;:::-;:14;;7896:1;7883:14;:::i;:::-;-1:-1:-1;;;;;7873:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7873:25:0;;7851:47;;-1:-1:-1;;;7909:6:0;7916:1;7909:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;7909:15:0;;;;;;;;;-1:-1:-1;;;7935:6:0;7942:1;7935:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;7935:15:0;;;;;;;;-1:-1:-1;7966:9:0;7978:10;7982:6;7978:1;:10;:::i;:::-;:14;;7991:1;7978:14;:::i;:::-;7966:26;;7961:135;7998:1;7994;:5;7961:135;;;-1:-1:-1;;;8046:5:0;8054:3;8046:11;8033:25;;;;;;;:::i;:::-;;;;8021:6;8028:1;8021:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;8021:37:0;;;;;;;;-1:-1:-1;8083:1:0;8073:11;;;;;8001:3;;;:::i;:::-;;;7961:135;;;-1:-1:-1;8114:10:0;;8106:55;;;;-1:-1:-1;;;8106:55:0;;20582:2:1;8106:55:0;;;20564:21:1;;;20601:18;;;20594:30;20660:34;20640:18;;;20633:62;20712:18;;8106:55:0;20380:356:1;54903:284:0;98998:18;;54977:106;;;;-1:-1:-1;;;54977:106:0;;20943:2:1;54977:106:0;;;20925:21:1;20982:2;20962:18;;;20955:30;21021:34;21001:18;;;20994:62;-1:-1:-1;;;21072:18:1;;;21065:43;21125:19;;54977:106:0;20741:409:1;54977:106:0;-1:-1:-1;;;;;;;;;;;55094:85:0;;-1:-1:-1;;;;;;55094:85:0;-1:-1:-1;;;;;55094:85:0;;;;;;;;;;54903:284::o;60609:461::-;60692:12;98998:18;;60717:88;;;;-1:-1:-1;;;60717:88:0;;21357:2:1;60717:88:0;;;21339:21:1;21396:2;21376:18;;;21369:30;21435:34;21415:18;;;21408:62;-1:-1:-1;;;21486:18:1;;;21479:36;21532:19;;60717:88:0;21155:402:1;60717:88:0;60879:12;60893:23;60920:6;-1:-1:-1;;;;;60920:19:0;60940:4;60920:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60878:67;;;;60963:99;60999:7;61008:10;60963:99;;;;;;;;;;;;;;;;;:35;:99::i;:::-;60956:106;60609:461;-1:-1:-1;;;;;60609:461:0:o;55300:155::-;55367:37;55386:17;55367:18;:37::i;:::-;55420:27;;-1:-1:-1;;;;;55420:27:0;;;;;;;;55300:155;:::o;24888:1308::-;24969:7;24978:12;25203:9;:16;25223:2;25203:22;25199:990;;;25499:4;25484:20;;25478:27;25549:4;25534:20;;25528:27;25607:4;25592:20;;25586:27;25242:9;25578:36;25650:25;25661:4;25578:36;25478:27;25528;25650:10;:25::i;:::-;25643:32;;;;;;;;;25199:990;25697:9;:16;25717:2;25697:22;25693:496;;;25972:4;25957:20;;25951:27;26023:4;26008:20;;26002:27;26065:23;26076:4;25951:27;26002;26065:10;:23::i;:::-;26058:30;;;;;;;;25693:496;-1:-1:-1;26137:1:0;;-1:-1:-1;26141:35:0;25693:496;24888:1308;;;;;:::o;49959:712::-;50109:12;50138:7;50134:530;;;-1:-1:-1;50169:10:0;50162:17;;50134:530;50283:17;;:21;50279:374;;50481:10;50475:17;50542:15;50529:10;50525:2;50521:19;50514:44;50279:374;50624:12;50617:20;;-1:-1:-1;;;50617:20:0;;;;;;;;:::i;28450:1632::-;28581:7;;-1:-1:-1;;;;;29502:79:0;;29498:163;;;-1:-1:-1;29614:1:0;;-1:-1:-1;29618:30:0;29598:51;;29498:163;29675:1;:7;;29680:2;29675:7;;:18;;;;;29686:1;:7;;29691:2;29686:7;;29675:18;29671:102;;;-1:-1:-1;29726:1:0;;-1:-1:-1;29730:30:0;29710:51;;29671:102;29887:24;;;29870:14;29887:24;;;;;;;;;21789:25:1;;;21862:4;21850:17;;21830:18;;;21823:45;;;;21884:18;;;21877:34;;;21927:18;;;21920:34;;;29887:24:0;;21761:19:1;;29887:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29887:24:0;;-1:-1:-1;;29887:24:0;;;-1:-1:-1;;;;;;;29926:20:0;;29922:103;;29979:1;29983:29;29963:50;;;;;;;29922:103;30045:6;-1:-1:-1;30053:20:0;;-1:-1:-1;28450:1632:0;;;;;;;;:::o;27492:344::-;27606:7;;-1:-1:-1;;;;;27652:80:0;;27606:7;27759:25;27775:3;27760:18;;;27782:2;27759:25;:::i;:::-;27743:42;;27803:25;27814:4;27820:1;27823;27826;27803:10;:25::i;:::-;27796:32;;;;;;27492:344;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:118::-;678:5;671:13;664:21;657:5;654:32;644:60;;700:1;697;690:12;715:241;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;879:9;866:23;898:28;920:5;898:28;:::i;961:131::-;-1:-1:-1;;;;;1036:31:1;;1026:42;;1016:70;;1082:1;1079;1072:12;1097:247;1156:6;1209:2;1197:9;1188:7;1184:23;1180:32;1177:52;;;1225:1;1222;1215:12;1177:52;1264:9;1251:23;1283:31;1308:5;1283:31;:::i;1531:127::-;1592:10;1587:3;1583:20;1580:1;1573:31;1623:4;1620:1;1613:15;1647:4;1644:1;1637:15;1663:632;1728:5;-1:-1:-1;;;;;1788:14:1;;;1785:40;;;1805:18;;:::i;:::-;1880:2;1874:9;1848:2;1934:15;;-1:-1:-1;;1930:24:1;;;1956:2;1926:33;1922:42;1910:55;;;1980:18;;;2000:22;;;1977:46;1974:72;;;2026:18;;:::i;:::-;2066:10;2062:2;2055:22;2095:6;2086:15;;2125:6;2117;2110:22;2165:3;2156:6;2151:3;2147:16;2144:25;2141:45;;;2182:1;2179;2172:12;2141:45;2232:6;2227:3;2220:4;2212:6;2208:17;2195:44;2287:1;2280:4;2271:6;2263;2259:19;2255:30;2248:41;;;;1663:632;;;;;:::o;2300:222::-;2343:5;2396:3;2389:4;2381:6;2377:17;2373:27;2363:55;;2414:1;2411;2404:12;2363:55;2436:80;2512:3;2503:6;2490:20;2483:4;2475:6;2471:17;2436:80;:::i;2527:457::-;2605:6;2613;2666:2;2654:9;2645:7;2641:23;2637:32;2634:52;;;2682:1;2679;2672:12;2634:52;2721:9;2708:23;2740:31;2765:5;2740:31;:::i;:::-;2790:5;-1:-1:-1;2846:2:1;2831:18;;2818:32;-1:-1:-1;;;;;2862:30:1;;2859:50;;;2905:1;2902;2895:12;2859:50;2928;2970:7;2961:6;2950:9;2946:22;2928:50;:::i;:::-;2918:60;;;2527:457;;;;;:::o;2989:180::-;3048:6;3101:2;3089:9;3080:7;3076:23;3072:32;3069:52;;;3117:1;3114;3107:12;3069:52;-1:-1:-1;3140:23:1;;2989:180;-1:-1:-1;2989:180:1:o;3174:592::-;3245:6;3253;3306:2;3294:9;3285:7;3281:23;3277:32;3274:52;;;3322:1;3319;3312:12;3274:52;3349:23;;-1:-1:-1;;;;;3421:14:1;;;3418:34;;;3448:1;3445;3438:12;3418:34;3486:6;3475:9;3471:22;3461:32;;3531:7;3524:4;3520:2;3516:13;3512:27;3502:55;;3553:1;3550;3543:12;3502:55;3593:2;3580:16;3619:2;3611:6;3608:14;3605:34;;;3635:1;3632;3625:12;3605:34;3680:7;3675:2;3666:6;3662:2;3658:15;3654:24;3651:37;3648:57;;;3701:1;3698;3691:12;3648:57;3732:2;3724:11;;;;;3754:6;;-1:-1:-1;3174:592:1;;-1:-1:-1;;;;3174:592:1:o;3771:203::-;-1:-1:-1;;;;;3935:32:1;;;;3917:51;;3905:2;3890:18;;3771:203::o;3979:315::-;4047:6;4055;4108:2;4096:9;4087:7;4083:23;4079:32;4076:52;;;4124:1;4121;4114:12;4076:52;4160:9;4147:23;4137:33;;4220:2;4209:9;4205:18;4192:32;4233:31;4258:5;4233:31;:::i;:::-;4283:5;4273:15;;;3979:315;;;;;:::o;5163:585::-;5240:6;5248;5301:2;5289:9;5280:7;5276:23;5272:32;5269:52;;;5317:1;5314;5307:12;5269:52;5356:9;5343:23;5375:31;5400:5;5375:31;:::i;:::-;5425:5;-1:-1:-1;5481:2:1;5466:18;;5453:32;-1:-1:-1;;;;;5497:30:1;;5494:50;;;5540:1;5537;5530:12;5494:50;5563:22;;5616:4;5608:13;;5604:27;-1:-1:-1;5594:55:1;;5645:1;5642;5635:12;5594:55;5668:74;5734:7;5729:2;5716:16;5711:2;5707;5703:11;5668:74;:::i;5753:568::-;5869:6;5877;5885;5938:2;5926:9;5917:7;5913:23;5909:32;5906:52;;;5954:1;5951;5944:12;5906:52;5993:9;5980:23;6012:31;6037:5;6012:31;:::i;:::-;6062:5;-1:-1:-1;6119:2:1;6104:18;;6091:32;6132:33;6091:32;6132:33;:::i;:::-;6184:7;-1:-1:-1;6243:2:1;6228:18;;6215:32;6256:33;6215:32;6256:33;:::i;:::-;6308:7;6298:17;;;5753:568;;;;;:::o;6554:594::-;6650:6;6658;6666;6674;6727:3;6715:9;6706:7;6702:23;6698:33;6695:53;;;6744:1;6741;6734:12;6695:53;6783:9;6770:23;6802:31;6827:5;6802:31;:::i;:::-;6852:5;-1:-1:-1;6908:2:1;6893:18;;6880:32;-1:-1:-1;;;;;6924:30:1;;6921:50;;;6967:1;6964;6957:12;6921:50;6990;7032:7;7023:6;7012:9;7008:22;6990:50;:::i;:::-;6554:594;;6980:60;;-1:-1:-1;;;;7087:2:1;7072:18;;7059:32;;7138:2;7123:18;7110:32;;6554:594;-1:-1:-1;6554:594:1:o;7153:258::-;7225:1;7235:113;7249:6;7246:1;7243:13;7235:113;;;7325:11;;;7319:18;7306:11;;;7299:39;7271:2;7264:10;7235:113;;;7366:6;7363:1;7360:13;7357:48;;;-1:-1:-1;;7401:1:1;7383:16;;7376:27;7153:258::o;7416:::-;7458:3;7496:5;7490:12;7523:6;7518:3;7511:19;7539:63;7595:6;7588:4;7583:3;7579:14;7572:4;7565:5;7561:16;7539:63;:::i;:::-;7656:2;7635:15;-1:-1:-1;;7631:29:1;7622:39;;;;7663:4;7618:50;;7416:258;-1:-1:-1;;7416:258:1:o;7679:514::-;7936:6;7925:9;7918:25;7979:6;7974:2;7963:9;7959:18;7952:34;8022:3;8017:2;8006:9;8002:18;7995:31;7899:4;8043:46;8084:3;8073:9;8069:19;8061:6;8043:46;:::i;:::-;8035:54;;8125:6;8120:2;8109:9;8105:18;8098:34;8181:4;8173:6;8169:17;8163:3;8152:9;8148:19;8141:46;7679:514;;;;;;;;:::o;8383:340::-;8585:2;8567:21;;;8624:2;8604:18;;;8597:30;-1:-1:-1;;;8658:2:1;8643:18;;8636:46;8714:2;8699:18;;8383:340::o;8728:339::-;8930:2;8912:21;;;8969:2;8949:18;;;8942:30;-1:-1:-1;;;9003:2:1;8988:18;;8981:45;9058:2;9043:18;;8728:339::o;9411:251::-;9481:6;9534:2;9522:9;9513:7;9509:23;9505:32;9502:52;;;9550:1;9547;9540:12;9502:52;9582:9;9576:16;9601:31;9626:5;9601:31;:::i;9667:271::-;9850:6;9842;9837:3;9824:33;9806:3;9876:16;;9901:13;;;9876:16;9667:271;-1:-1:-1;9667:271:1:o;9943:346::-;10145:2;10127:21;;;10184:2;10164:18;;;10157:30;-1:-1:-1;;;10218:2:1;10203:18;;10196:52;10280:2;10265:18;;9943:346::o;10294:380::-;10373:1;10369:12;;;;10416;;;10437:61;;10491:4;10483:6;10479:17;10469:27;;10437:61;10544:2;10536:6;10533:14;10513:18;10510:38;10507:161;;;10590:10;10585:3;10581:20;10578:1;10571:31;10625:4;10622:1;10615:15;10653:4;10650:1;10643:15;10507:161;;10294:380;;;:::o;10808:1104::-;10938:3;10967:1;11000:6;10994:13;11030:3;11052:1;11080:9;11076:2;11072:18;11062:28;;11140:2;11129:9;11125:18;11162;11152:61;;11206:4;11198:6;11194:17;11184:27;;11152:61;11232:2;11280;11272:6;11269:14;11249:18;11246:38;11243:165;;;-1:-1:-1;;;11307:33:1;;11363:4;11360:1;11353:15;11393:4;11314:3;11381:17;11243:165;11424:18;11451:104;;;;11569:1;11564:323;;;;11417:470;;11451:104;-1:-1:-1;;11484:24:1;;11472:37;;11529:16;;;;-1:-1:-1;11451:104:1;;11564:323;10755:1;10748:14;;;10792:4;10779:18;;11662:1;11676:165;11690:6;11687:1;11684:13;11676:165;;;11768:14;;11755:11;;;11748:35;11811:16;;;;11705:10;;11676:165;;;11680:3;;11870:6;11865:3;11861:16;11854:23;;11417:470;-1:-1:-1;11903:3:1;;10808:1104;-1:-1:-1;;;;;;;;10808:1104:1:o;12333:408::-;12535:2;12517:21;;;12574:2;12554:18;;;12547:30;-1:-1:-1;;;;;;;;;;;12608:2:1;12593:18;;12586:62;-1:-1:-1;;;12679:2:1;12664:18;;12657:42;12731:3;12716:19;;12333:408::o;12746:::-;12948:2;12930:21;;;12987:2;12967:18;;;12960:30;-1:-1:-1;;;;;;;;;;;13021:2:1;13006:18;;12999:62;-1:-1:-1;;;13092:2:1;13077:18;;13070:42;13144:3;13129:19;;12746:408::o;13159:127::-;13220:10;13215:3;13211:20;13208:1;13201:31;13251:4;13248:1;13241:15;13275:4;13272:1;13265:15;13291:125;13331:4;13359:1;13356;13353:8;13350:34;;;13364:18;;:::i;:::-;-1:-1:-1;13401:9:1;;13291:125::o;13421:217::-;13461:1;13487;13477:132;;13531:10;13526:3;13522:20;13519:1;13512:31;13566:4;13563:1;13556:15;13594:4;13591:1;13584:15;13477:132;-1:-1:-1;13623:9:1;;13421:217::o;13643:245::-;13710:6;13763:2;13751:9;13742:7;13738:23;13734:32;13731:52;;;13779:1;13776;13769:12;13731:52;13811:9;13805:16;13830:28;13852:5;13830:28;:::i;14601:410::-;14803:2;14785:21;;;14842:2;14822:18;;;14815:30;14881:34;14876:2;14861:18;;14854:62;-1:-1:-1;;;14947:2:1;14932:18;;14925:44;15001:3;14986:19;;14601:410::o;16700:786::-;-1:-1:-1;;;17106:3:1;17099:38;17081:3;17166:6;17160:13;17182:62;17237:6;17232:2;17227:3;17223:12;17216:4;17208:6;17204:17;17182:62;:::i;:::-;-1:-1:-1;;;17303:2:1;17263:16;;;17295:11;;;17288:40;17353:13;;17375:63;17353:13;17424:2;17416:11;;17409:4;17397:17;;17375:63;:::i;:::-;17458:17;17477:2;17454:26;;16700:786;-1:-1:-1;;;;16700:786:1:o;17491:220::-;17640:2;17629:9;17622:21;17603:4;17660:45;17701:2;17690:9;17686:18;17678:6;17660:45;:::i;18065:128::-;18105:3;18136:1;18132:6;18129:1;18126:13;18123:39;;;18142:18;;:::i;:::-;-1:-1:-1;18178:9:1;;18065:128::o;18614:127::-;18675:10;18670:3;18666:20;18663:1;18656:31;18706:4;18703:1;18696:15;18730:4;18727:1;18720:15;18746:289;18921:6;18910:9;18903:25;18964:2;18959;18948:9;18944:18;18937:30;18884:4;18984:45;19025:2;19014:9;19010:18;19002:6;18984:45;:::i;:::-;18976:53;18746:289;-1:-1:-1;;;;18746:289:1:o;19040:274::-;19169:3;19207:6;19201:13;19223:53;19269:6;19264:3;19257:4;19249:6;19245:17;19223:53;:::i;:::-;19292:16;;;;;19040:274;-1:-1:-1;;19040:274:1:o;19319:249::-;19388:6;19441:2;19429:9;19420:7;19416:23;19412:32;19409:52;;;19457:1;19454;19447:12;19409:52;19489:9;19483:16;19508:30;19532:5;19508:30;:::i;19934:168::-;19974:7;20040:1;20036;20032:6;20028:14;20025:1;20022:21;20017:1;20010:9;20003:17;19999:45;19996:71;;;20047:18;;:::i;:::-;-1:-1:-1;20087:9:1;;19934:168::o;20107:127::-;20168:10;20163:3;20159:20;20156:1;20149:31;20199:4;20196:1;20189:15;20223:4;20220:1;20213:15;20239:136;20278:3;20306:5;20296:39;;20315:18;;:::i;:::-;-1:-1:-1;;;20351:18:1;;20239:136::o

Swarm Source

ipfs://16bb284175c89b6293efdd3bebfbd93826532eec88e3c45654e9bcf4ad6b37c7
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.