Fix: network codes

This commit is contained in:
Aleksandr Kraiz
2023-02-10 17:28:52 +04:00
parent bd1c8077bb
commit 7882b66871
5 changed files with 11 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ type AtomicSwapHistoryBaseQuery = {
receiver?: string,
used?: 0 | 1,
page?: number,
sourceNetworkCode?: 'ftm' | 'bsc' | 'eth' | 'polygon' | 'okc',
sourceNetworkCode?: typeof networkCodes[number],
}
type AtomicSwapHistorySourceQuery = AtomicSwapHistoryBaseQuery & {