mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-12 12:04:21 +00:00
7 lines
230 B
TypeScript
7 lines
230 B
TypeScript
import { EnclaveMethods } from './types';
|
|
|
|
export const PROTOCOL_NAME = 'eth-enclave';
|
|
|
|
const eventTypes = Object.values(EnclaveMethods);
|
|
export const isValidEventType = (e: string): e is EnclaveMethods => eventTypes.includes(e);
|