Skip to content

Commit

Permalink
chore: change RelayerType to enum
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Sep 4, 2023
1 parent 323423d commit 67a85a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/axelar-local-dev/src/relay/Relayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { networks } from '../Network';
import { Command } from './Command';
import { CallContractArgs, CallContractWithTokenArgs, RelayCommand, RelayData } from './types';

export type RelayerType = 'near' | 'aptos' | 'evm' | 'sui';
export enum RelayerType {
Sui = 'sui',
Evm = 'evm',
Aptos = 'aptos',
Near = 'near',
}
export type RelayerMap = Partial<Record<RelayerType, Relayer>> & { [key: string]: Relayer | undefined };

export abstract class Relayer {
Expand Down

0 comments on commit 67a85a8

Please sign in to comment.