diff --git a/dexs/kinetix/index.ts b/dexs/kinetix/index.ts index 10e43a045c..a82f90e898 100644 --- a/dexs/kinetix/index.ts +++ b/dexs/kinetix/index.ts @@ -4,8 +4,7 @@ import { CHAIN } from "../../helpers/chains"; import { getUniqStartOfTodayTimestamp } from "../../helpers/getUniSubgraphVolume"; const endpoints: { [key: string]: string } = { - [CHAIN.KAVA]: - "https://kava-graph-node.metavault.trade/subgraphs/name/kinetixfi/kfi-subgraph", + [CHAIN.KAVA]: "https://kava-graph-node.metavault.trade/subgraphs/name/kinetixfi/kfi-subgraph", }; const historicalData = gql` @@ -78,7 +77,7 @@ const getFetch = const getStartTimestamp = async (chain: string) => { const startTimestamps: { [chain: string]: number } = { - [CHAIN.KAVA]: 1654041600, + [CHAIN.KAVA]: 1693267200, }; return startTimestamps[chain]; }; @@ -90,7 +89,6 @@ const adapter: SimpleAdapter = { [chain]: { fetch: getFetch(chain), start: async () => getStartTimestamp(chain), - runAtCurrTime: true, }, }; }, {}), diff --git a/fees/kinetix/index.ts b/fees/kinetix/index.ts index de2814bc46..b6f719ec79 100644 --- a/fees/kinetix/index.ts +++ b/fees/kinetix/index.ts @@ -47,7 +47,7 @@ const adapter: Adapter = { adapter: { [CHAIN.KAVA]: { fetch: graphs(endpoints)(CHAIN.KAVA), - start: async () => 5995754, + start: async () => 1693267200, meta: { methodology: "All mint, burn, marginAndLiquidation and swap fees are collected and the daily fee amount is determined. Daily revenue is calculated as 30% of the total fee.",