diff --git a/dexs/beethoven-x/index.ts b/dexs/beethoven-x/index.ts index f0beef6992..c80abc1f41 100644 --- a/dexs/beethoven-x/index.ts +++ b/dexs/beethoven-x/index.ts @@ -8,6 +8,7 @@ import request, { gql } from "graphql-request"; const endpoints: ChainEndpoints = { [CHAIN.FANTOM]: sdk.graph.modifyEndpoint('4XKeW12D2RAhqefPYT3MLoT64p1JnT5TBLnYaNeSLA8k'), [CHAIN.OPTIMISM]: sdk.graph.modifyEndpoint('F5jeL2nMXZt5LU6kSway7Vi2PTUcqDbw1gMQEbrmiVdJ'), + [CHAIN.SONIC]: sdk.graph.modifyEndpoint("wwazpiPPt5oJMiTNnQ2VjVxKnKakGDuE2FfEZPD4TKj"), }; interface IPool { diff --git a/fees/beethoven-x.ts b/fees/beethoven-x.ts index 3f35c2584e..0c47df4b72 100644 --- a/fees/beethoven-x.ts +++ b/fees/beethoven-x.ts @@ -5,17 +5,19 @@ import { getFeesExport } from "../helpers/balancer"; type TAddress = { [s: string | Chain]: string; -} +}; const vaultAddresses: TAddress = { [CHAIN.OPTIMISM]: "0xba12222222228d8ba445958a75a0704d566bf2c8", [CHAIN.FANTOM]: "0x20dd72ed959b6147912c2e529f0a0c651c33c9ce", -} + [CHAIN.SONIC]: "0xba12222222228d8ba445958a75a0704d566bf2c8", +}; const adapters: SimpleAdapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: getFeesExport(vaultAddresses[CHAIN.OPTIMISM]), start: '2023-01-01' }, [CHAIN.FANTOM]: { fetch: getFeesExport(vaultAddresses[CHAIN.FANTOM]), start: '2023-01-01' }, + [CHAIN.SONIC]: {fetch: getFeesExport(vaultAddresses[CHAIN.SONIC]), start: "2024-12-14" }, }, version: 2, -} -export default adapters +}; +export default adapters;