From fad8bc08b8872e91ecb68853312027209b7266ea Mon Sep 17 00:00:00 2001 From: 0xgnek <0xgnek@gmail.com> Date: Sun, 19 Jan 2025 14:40:42 +0000 Subject: [PATCH] add sonic --- aggregators/kyberswap/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aggregators/kyberswap/index.ts b/aggregators/kyberswap/index.ts index 28c1ce6a89..8ecfe8c461 100644 --- a/aggregators/kyberswap/index.ts +++ b/aggregators/kyberswap/index.ts @@ -19,6 +19,7 @@ const chainToId: Record = { [CHAIN.BLAST]: 81457, [CHAIN.POLYGON_ZKEVM]: 1101, [CHAIN.BITTORRENT]: 199, + [CHAIN.SONIC]: 146, }; const fetch = async (_a: any, _b: any, options: FetchOptions) => { @@ -99,6 +100,10 @@ const adapter = { fetch: fetch, start: '2021-09-22', }, + [CHAIN.SONIC]: { + fetch: fetch, + start: '2021-09-22', + }, }, };