fix: swapMarket and swapLimit

This commit is contained in:
Alex Kraiz
2024-01-04 17:47:53 +04:00
parent 0633f9c113
commit c42e660867
5 changed files with 115 additions and 58 deletions

View File

@@ -0,0 +1,8 @@
import { type Factory } from '../types.js';
import { factories } from '../index.js';
const isValidFactory = (factory: string): factory is Factory => {
return factories.some((f) => f === factory);
};
export default isValidFactory;