Skip to content

Commit f149dd6

Browse files
committed
add chain mapping for kyberswap
1 parent 05006a3 commit f149dd6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

meta_aggregation_api/providers/kyberswap_v1/kyberswap_provider_v1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
42161: 'arbitrum',
3737
43114: 'avalanche',
3838
250: 'fantom',
39+
8453: 'base',
3940
}
4041

4142

meta_aggregation_api/services/meta_aggregation_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async def get_swap_meta_price(
207207

208208
prices_tasks = []
209209
for provider in self.providers.values():
210-
if provider is None:
210+
if provider is None or chain_id not in provider:
211211
continue
212212
provider_name = provider['name']
213213

0 commit comments

Comments
 (0)