synapsecns/sanguine

View on GitHub
packages/synapse-interface/components/Maintenance/functions/isValidBridgeModule.ts

Summary

Maintainability
A
1 hr
Test Coverage
export const isValidBridgeModule = (
  module: any
): module is 'SynapseBridge' | 'SynapseRFQ' | 'SynapseCCTP' | 'ALL' => {
  return ['SynapseBridge', 'SynapseRFQ', 'SynapseCCTP', 'ALL'].includes(module)
}