import { usePermissionsLogic , TUsePermissions , IPermissionReturnType , RequirementList , Requirement , } from '../permissions' ; export const useBlockchainInboxPermissionsLogic = ( props ) : IPermissionReturnType => { const requirementList = [ Requirement . IsLoggedIn , Requirement . IsActiveUser , Requirement . IsPartOfApprovedOrg , Requirement . HasExchangeDepositAddress , ] ; const permissions = usePermissionsLogic ( { ... props , config : requirementList , } ) ; return { ... permissions , } ; } ;