diff --git a/aggregator-derivatives/sharpe-perp/index.ts b/aggregator-derivatives/sharpe-perp/index.ts index fa4e03cf79..b29a4ece92 100644 --- a/aggregator-derivatives/sharpe-perp/index.ts +++ b/aggregator-derivatives/sharpe-perp/index.ts @@ -20,7 +20,7 @@ export default { adapter: { [CHAIN.ETHEREUM]: { fetch: fetch, - start: 1711963031 + start: '2024-04-01' }, }, version: 2 diff --git a/aggregator-derivatives/unidex-agg-perp/index.ts b/aggregator-derivatives/unidex-agg-perp/index.ts index 084344af33..4e34537c4d 100644 --- a/aggregator-derivatives/unidex-agg-perp/index.ts +++ b/aggregator-derivatives/unidex-agg-perp/index.ts @@ -107,21 +107,21 @@ const adapteraggderivative: any = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetch(CHAIN.OPTIMISM), - start: 1687422746, + start: '2023-06-22', meta: { methodology, }, }, [CHAIN.ERA]: { fetch: fetch(CHAIN.ERA), - start: 1687422746, + start: '2023-06-22', meta: { methodology, }, }, [CHAIN.ARBITRUM]: { fetch: fetch(CHAIN.ARBITRUM), - start: 1687422746, + start: '2023-06-22', customBackfill: customBackfill(CHAIN.ARBITRUM, fetch), meta: { methodology, @@ -129,28 +129,28 @@ const adapteraggderivative: any = { }, [CHAIN.BASE]: { fetch: fetch(CHAIN.BASE), - start: 1687422746, + start: '2023-06-22', meta: { methodology, }, }, [CHAIN.FANTOM]: { fetch: fetch(CHAIN.FANTOM), - start: 1687422746, + start: '2023-06-22', meta: { methodology, }, }, [CHAIN.METIS]: { fetch: fetch(CHAIN.METIS), - start: 1687898060, + start: '2023-06-27', meta: { methodology, }, }, [CHAIN.EVMOS]: { fetch: fetch(CHAIN.EVMOS), - start: 1700104066, + start: '2023-11-16', meta: { methodology, }, diff --git a/aggregators/1inch-agg/index.ts b/aggregators/1inch-agg/index.ts index 13ececa496..68e6930cf2 100644 --- a/aggregators/1inch-agg/index.ts +++ b/aggregators/1inch-agg/index.ts @@ -38,7 +38,7 @@ const adapter: any = { [(chainsMap as any)[chain] || chain]: { fetch: fetch(chain), runAtCurrTime: true, - start: 1701734400, + start: '2023-12-05', }, }; }, {}), diff --git a/aggregators/7k-aggregator/index.ts b/aggregators/7k-aggregator/index.ts index cc4447938f..8a56bdd9d0 100644 --- a/aggregators/7k-aggregator/index.ts +++ b/aggregators/7k-aggregator/index.ts @@ -16,7 +16,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch, - start: 1719563120, + start: '2024-06-28', }, }, }; diff --git a/aggregators/aftermath-aggregator/index.ts b/aggregators/aftermath-aggregator/index.ts index 3532e08920..0e6b5adf70 100644 --- a/aggregators/aftermath-aggregator/index.ts +++ b/aggregators/aftermath-aggregator/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch, - start: 1689811200 + start: '2023-07-20' }, }, }; diff --git a/aggregators/aggre/index.ts b/aggregators/aggre/index.ts index fc9dc65dd3..5ecd3e48ca 100644 --- a/aggregators/aggre/index.ts +++ b/aggregators/aggre/index.ts @@ -27,7 +27,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch, - start: 1698660910, + start: '2023-10-30', } } }, {}), diff --git a/aggregators/aperture-swap/index.ts b/aggregators/aperture-swap/index.ts index b712184a2d..10f220d582 100644 --- a/aggregators/aperture-swap/index.ts +++ b/aggregators/aperture-swap/index.ts @@ -82,47 +82,47 @@ const adapter: SimpleAdapter = { [CHAIN.ETHEREUM]: { fetch: fetch, runAtCurrTime: false, - start: 1689657695, + start: '2023-07-18', }, [CHAIN.ARBITRUM]: { fetch: fetch, runAtCurrTime: false, - start: 1689014691, + start: '2023-07-10', }, [CHAIN.AVAX]: { fetch: fetch, runAtCurrTime: false, - start: 1696671295, + start: '2023-10-07', }, [CHAIN.BASE]: { fetch: fetch, runAtCurrTime: false, - start: 1697229723, + start: '2023-10-13', }, [CHAIN.BSC]: { fetch: fetch, runAtCurrTime: false, - start: 1696963675, + start: '2023-10-10', }, [CHAIN.OPTIMISM]: { fetch: fetch, runAtCurrTime: false, - start: 1696888429, + start: '2023-10-09', }, [CHAIN.POLYGON]: { fetch: fetch, runAtCurrTime: false, - start: 1696888519, + start: '2023-10-09', }, [CHAIN.MANTA]: { fetch: fetch, runAtCurrTime: false, - start: 1695079629, + start: '2023-09-19', }, [CHAIN.SCROLL]: { fetch: fetch, runAtCurrTime: false, - start: 1702694992, + start: '2023-12-16', } } }; diff --git a/aggregators/arcane-dex/index.ts b/aggregators/arcane-dex/index.ts index 7f06334040..107caf618a 100644 --- a/aggregators/arcane-dex/index.ts +++ b/aggregators/arcane-dex/index.ts @@ -53,7 +53,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetchVolume, - start: 1700092800 + start: '2023-11-16' , } } diff --git a/aggregators/bebop/index.ts b/aggregators/bebop/index.ts index f8d063d098..dc2c5498c4 100644 --- a/aggregators/bebop/index.ts +++ b/aggregators/bebop/index.ts @@ -119,17 +119,17 @@ const adapter: Adapter = { version: 2, isExpensiveAdapter: true, adapter: { - arbitrum: { fetch: fetchDune, start: 1685491200, }, - ethereum: { fetch: fetchDune, start: 1685491200, }, - polygon: { fetch: fetchDune, start: 1685491200, }, - bsc: { fetch: fetchDune, start: 1685491200, }, - blast: { fetch, start: 1685491200, }, - era: { fetch, start: 1685491200, }, - optimism: { fetch: fetchDune, start: 1685491200, }, - mode: { fetch, start: 1685491200, }, - base: { fetch: fetchDune, start: 1685491200, }, - scroll: { fetch: fetchDune, start: 1685491200, }, - taiko: { fetch, start: 1685491200, }, + arbitrum: { fetch: fetchDune, start: '2023-05-31', }, + ethereum: { fetch: fetchDune, start: '2023-05-31', }, + polygon: { fetch: fetchDune, start: '2023-05-31', }, + bsc: { fetch: fetchDune, start: '2023-05-31', }, + blast: { fetch, start: '2023-05-31', }, + era: { fetch, start: '2023-05-31', }, + optimism: { fetch: fetchDune, start: '2023-05-31', }, + mode: { fetch, start: '2023-05-31', }, + base: { fetch: fetchDune, start: '2023-05-31', }, + scroll: { fetch: fetchDune, start: '2023-05-31', }, + taiko: { fetch, start: '2023-05-31', }, }, }; diff --git a/aggregators/cetus-aggregator/index.ts b/aggregators/cetus-aggregator/index.ts index 7132e7c6b0..8cb97400cb 100644 --- a/aggregators/cetus-aggregator/index.ts +++ b/aggregators/cetus-aggregator/index.ts @@ -15,7 +15,7 @@ const adapter_agge: any = { adapter: { [CHAIN.SUI]: { fetch: fetchVolume, - start: 1721260800, + start: '2024-07-18', }, }, }; diff --git a/aggregators/chainspot/index.ts b/aggregators/chainspot/index.ts index eff1ca543f..e367016291 100644 --- a/aggregators/chainspot/index.ts +++ b/aggregators/chainspot/index.ts @@ -91,7 +91,7 @@ const adapter: any = { ...acc, [chain]: { fetch: fetch, - start: 1704067200, + start: '2024-01-01', }, }; }, {}), diff --git a/aggregators/conveyor/index.ts b/aggregators/conveyor/index.ts index 71ed534fc0..779519d71a 100644 --- a/aggregators/conveyor/index.ts +++ b/aggregators/conveyor/index.ts @@ -35,7 +35,7 @@ const adapter: any = { [(chainsMap as any)[chain] || chain]: { fetch: fetch(chain), runAtCurrTime: true, - start: 1692897682, + start: '2023-08-24', }, }; }, {}), diff --git a/aggregators/cowswap/index.ts b/aggregators/cowswap/index.ts index 78d623fcf1..a1f8d96ae4 100644 --- a/aggregators/cowswap/index.ts +++ b/aggregators/cowswap/index.ts @@ -16,9 +16,9 @@ const fetch = async (timestamp: number, _: ChainBlocks, { createBalances, getLog const adapter: any = { adapter: { - ethereum: { fetch, start: 1685491200, }, - xdai: { fetch, start: 1685491200, }, - arbitrum: { fetch, start: 1714142553, }, + ethereum: { fetch, start: '2023-05-31', }, + xdai: { fetch, start: '2023-05-31', }, + arbitrum: { fetch, start: '2024-04-26', }, }, }; diff --git a/aggregators/dforce/index.ts b/aggregators/dforce/index.ts index a155d37fc7..b0028167ea 100644 --- a/aggregators/dforce/index.ts +++ b/aggregators/dforce/index.ts @@ -37,7 +37,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: fetch(chain), - start: 1679097600, + start: '2023-03-18', runAtCurrTime: true } } diff --git a/aggregators/dodo-agg/index.ts b/aggregators/dodo-agg/index.ts index 88c2e8d7e0..3716b8e89f 100644 --- a/aggregators/dodo-agg/index.ts +++ b/aggregators/dodo-agg/index.ts @@ -38,7 +38,7 @@ const adapter_agg = { adapter: {}, }; -Object.keys(config).forEach((chain) => adapter_agg.adapter[chain] = { fetch, start: 1690848000, }); +Object.keys(config).forEach((chain) => adapter_agg.adapter[chain] = { fetch, start: '2023-08-01', }); const adapter: SimpleAdapter = { adapter: adapter_agg.adapter, diff --git a/aggregators/etaswap/index.ts b/aggregators/etaswap/index.ts index a4aea7c301..9f1b510b8b 100644 --- a/aggregators/etaswap/index.ts +++ b/aggregators/etaswap/index.ts @@ -17,7 +17,7 @@ const adapter: any = { adapter: { [CHAIN.HEDERA]: { fetch: fetchLogs, - start: 1709395559, + start: '2024-03-02', }, }, }; diff --git a/aggregators/fibrous-finance/index.ts b/aggregators/fibrous-finance/index.ts index 8e036363b6..38cd3305d4 100644 --- a/aggregators/fibrous-finance/index.ts +++ b/aggregators/fibrous-finance/index.ts @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STARKNET]: { fetch, - start: 1683408691, + start: '2023-05-06', runAtCurrTime: true }, }, diff --git a/aggregators/flowx-aggregator/index.ts b/aggregators/flowx-aggregator/index.ts index b89ff05c89..f8f6e7be89 100644 --- a/aggregators/flowx-aggregator/index.ts +++ b/aggregators/flowx-aggregator/index.ts @@ -20,7 +20,7 @@ const adapter: any = { adapter: { [CHAIN.SUI]: { fetch: fetchVolume, - start: 1717200000, + start: '2024-06-01', }, }, }; diff --git a/aggregators/hinkal/index.ts b/aggregators/hinkal/index.ts index a90a35e629..2e2474d879 100644 --- a/aggregators/hinkal/index.ts +++ b/aggregators/hinkal/index.ts @@ -117,15 +117,15 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetchEthereum, - start: 1699563104, + start: '2023-11-09', }, - [CHAIN.BASE]: { fetch: fetchBase, start: 1711054304 }, - [CHAIN.ARBITRUM]: { fetch: fetchArbitrum, start: 1699476704 }, - [CHAIN.POLYGON]: { fetch: fetchPolygon, start: 1699390304 }, - [CHAIN.BSC]: { fetch: fetchBNB, start: 1699476704 }, - [CHAIN.AVAX]: { fetch: fetchAVALANCHE, start: 1699476704 }, - [CHAIN.OPTIMISM]: { fetch: fetchOPTIMISM, start: 1699390304 }, - [CHAIN.BLAST]: { fetch: fetchBLAST, start: 1716497504 }, + [CHAIN.BASE]: { fetch: fetchBase, start: '2024-03-21' }, + [CHAIN.ARBITRUM]: { fetch: fetchArbitrum, start: '2023-11-08' }, + [CHAIN.POLYGON]: { fetch: fetchPolygon, start: '2023-11-07' }, + [CHAIN.BSC]: { fetch: fetchBNB, start: '2023-11-08' }, + [CHAIN.AVAX]: { fetch: fetchAVALANCHE, start: '2023-11-08' }, + [CHAIN.OPTIMISM]: { fetch: fetchOPTIMISM, start: '2023-11-07' }, + [CHAIN.BLAST]: { fetch: fetchBLAST, start: '2024-05-23' }, }, }; diff --git a/aggregators/hop-aggregator/index.ts b/aggregators/hop-aggregator/index.ts index b0a73d03b7..12560436e8 100644 --- a/aggregators/hop-aggregator/index.ts +++ b/aggregators/hop-aggregator/index.ts @@ -20,7 +20,7 @@ const adapter: any = { adapter: { [CHAIN.SUI]: { fetch: fetchVolume, - start: 1714276800 + start: '2024-04-28' }, }, }; diff --git a/aggregators/injex/index.ts b/aggregators/injex/index.ts index 24b7a95a54..a3a8fa88aa 100644 --- a/aggregators/injex/index.ts +++ b/aggregators/injex/index.ts @@ -14,7 +14,7 @@ const adapter: any = { adapter: { injective: { fetch: fetchLogs, - start: 1716411599, + start: '2024-05-22', }, }, }; diff --git a/aggregators/jeton/index.ts b/aggregators/jeton/index.ts index c97e52e519..21dff8d20d 100644 --- a/aggregators/jeton/index.ts +++ b/aggregators/jeton/index.ts @@ -64,7 +64,7 @@ const adapter: Adapter = { ...acc, [key]: { fetch: fetch(key), - start: 1693785600, + start: '2023-09-04', }, }; }, {}), diff --git a/aggregators/jumper-exchange/index.ts b/aggregators/jumper-exchange/index.ts index 5563b753f1..d0ff6b8869 100644 --- a/aggregators/jumper-exchange/index.ts +++ b/aggregators/jumper-exchange/index.ts @@ -42,7 +42,7 @@ const adapter: SimpleAdapter = { adapter: Object.keys(contract).reduce((acc, chain) => { return { ...acc, - [chain]: { fetch, start: 1691625600, } + [chain]: { fetch, start: '2023-08-10', } } }, {}) }; diff --git a/aggregators/jupiter-aggregator/index.ts b/aggregators/jupiter-aggregator/index.ts index 863d13d6f3..34c738fbab 100644 --- a/aggregators/jupiter-aggregator/index.ts +++ b/aggregators/jupiter-aggregator/index.ts @@ -20,7 +20,7 @@ const adapter: any = { adapter: { [CHAIN.SOLANA]: { fetch, - start: 1681599600, + start: '2023-04-16', meta: { methodology: { totalVolume: diff --git a/aggregators/kyberswap/index.ts b/aggregators/kyberswap/index.ts index 73255f892f..28c1ce6a89 100644 --- a/aggregators/kyberswap/index.ts +++ b/aggregators/kyberswap/index.ts @@ -41,63 +41,63 @@ const adapter = { adapter: { [CHAIN.BASE]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.MANTLE]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.BLAST]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.POLYGON_ZKEVM]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, /*[CHAIN.BITTORRENT]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', },*/ [CHAIN.ETHEREUM]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1632268800, + start: '2021-09-22', }, [CHAIN.AVAX]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.BSC]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.FANTOM]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.OPTIMISM]: { fetch: fetch, - start: 1632268800, + start: '2021-09-22', }, [CHAIN.POLYGON]: { fetch: fetch, - start: 1622544000, + start: '2021-06-01', }, [CHAIN.LINEA]: { fetch: fetch, - start: 1632268800, + start: '2021-09-22', }, [CHAIN.SCROLL]: { fetch: fetch, - start: 1632268800, + start: '2021-09-22', }, [CHAIN.ERA]: { fetch: fetch, - start: 1632268800, + start: '2021-09-22', }, }, }; diff --git a/aggregators/lumia/index.ts b/aggregators/lumia/index.ts index 33c6a6022c..bae1fe02e1 100644 --- a/aggregators/lumia/index.ts +++ b/aggregators/lumia/index.ts @@ -39,7 +39,7 @@ const adapter: SimpleAdapter = { ...acc, [key]: { fetch: fetch(value), - start: 1672531200, // 01.01.2023 + start: '2023-01-01', // 01.01.2023 }, }; }, {}), diff --git a/aggregators/magpie/index.ts b/aggregators/magpie/index.ts index 3b3a04638a..20b25cebc4 100644 --- a/aggregators/magpie/index.ts +++ b/aggregators/magpie/index.ts @@ -25,72 +25,72 @@ const fetch = async (_t: number, _: ChainBlocks, {chain, startOfDay}: FetchOptio [CHAIN.ETHEREUM]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.ARBITRUM]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.POLYGON]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.AVAX]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.BSC]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.OPTIMISM]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.BASE]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.SCROLL]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.MANTA]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.TAIKO]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.POLYGON_ZKEVM]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.BLAST]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.METIS]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, [CHAIN.FANTOM]: { fetch: fetch, runAtCurrTime: true, - start: 1662595200, + start: '2022-09-08', }, }, // isExpensiveAdapter: true, diff --git a/aggregators/navi/index.ts b/aggregators/navi/index.ts index 88ad246157..698d6a89ab 100644 --- a/aggregators/navi/index.ts +++ b/aggregators/navi/index.ts @@ -33,7 +33,7 @@ const navi_aggregator: any = { adapter: { [CHAIN.SUI]: { fetch: fetchDailyVolume, - start: 1728111600, + start: '2024-10-05', }, }, }; diff --git a/aggregators/okx/index.ts b/aggregators/okx/index.ts index 23ed826cdf..1f4723d64a 100644 --- a/aggregators/okx/index.ts +++ b/aggregators/okx/index.ts @@ -83,7 +83,7 @@ const adapter: any = { ...acc, [chain]: { fetch: fetch, - start: 1652745600, + start: '2022-05-17', }, }; }, {}), diff --git a/aggregators/opt-agg/index.ts b/aggregators/opt-agg/index.ts index cf82c98f74..7fa108cdce 100644 --- a/aggregators/opt-agg/index.ts +++ b/aggregators/opt-agg/index.ts @@ -17,7 +17,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.WEMIX]: { fetch, - start: 1705017600, + start: '2024-01-12', runAtCurrTime: true }, }, diff --git a/aggregators/paraswap/paraswapApi.ts b/aggregators/paraswap/paraswapApi.ts index ebc5b52535..cbe88dc58a 100644 --- a/aggregators/paraswap/paraswapApi.ts +++ b/aggregators/paraswap/paraswapApi.ts @@ -68,7 +68,7 @@ const adapter: Adapter = { ...all, [chain]:{ fetch: fetch(chain), - start: 1647907200, + start: '2022-03-22', } }), {} as any) } diff --git a/aggregators/plexus/index.ts b/aggregators/plexus/index.ts index 571184bcde..1e2af43009 100644 --- a/aggregators/plexus/index.ts +++ b/aggregators/plexus/index.ts @@ -43,7 +43,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: fetch(ChainId[chain]), - start: 1675209600, + start: '2023-02-01', }, }; }, {}), diff --git a/aggregators/rubic/index.ts b/aggregators/rubic/index.ts index e313bd6264..e214633efa 100644 --- a/aggregators/rubic/index.ts +++ b/aggregators/rubic/index.ts @@ -70,7 +70,7 @@ const adapter: SimpleAdapter = { ...acc, [key]: { fetch: fetch(value), - start: 1672531200, // 01.01.2023 + start: '2023-01-01', // 01.01.2023 }, }; }, {}), diff --git a/aggregators/scallop/index.ts b/aggregators/scallop/index.ts index c53c0e88f4..4e695364bf 100644 --- a/aggregators/scallop/index.ts +++ b/aggregators/scallop/index.ts @@ -14,7 +14,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch, - start: 1722877683, + start: '2024-08-05', }, }, }; diff --git a/aggregators/swap-coffee/index.ts b/aggregators/swap-coffee/index.ts index 8c5e84e273..d8d0d7f43b 100644 --- a/aggregators/swap-coffee/index.ts +++ b/aggregators/swap-coffee/index.ts @@ -30,7 +30,7 @@ const adapter: Adapter = { adapter: { [CHAIN.TON]: { fetch, - start: 1717957740, + start: '2024-06-09', }, } } diff --git a/aggregators/swapgpt/index.ts b/aggregators/swapgpt/index.ts index 60cccdccb4..0b0ede4a9d 100644 --- a/aggregators/swapgpt/index.ts +++ b/aggregators/swapgpt/index.ts @@ -30,7 +30,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch, - start: 1701129600, + start: '2023-11-28', }, }, }; diff --git a/aggregators/titan/index.ts b/aggregators/titan/index.ts index aa4bd5e1ae..19bac7dc93 100644 --- a/aggregators/titan/index.ts +++ b/aggregators/titan/index.ts @@ -22,7 +22,7 @@ const adapter: Adapter = { adapter: { [CHAIN.TON]: { fetch, - start: 1730250000, + start: '2024-10-30', }, } } diff --git a/aggregators/tondiamonds/index.ts b/aggregators/tondiamonds/index.ts index 3ff9b91116..334a152ca9 100644 --- a/aggregators/tondiamonds/index.ts +++ b/aggregators/tondiamonds/index.ts @@ -18,7 +18,7 @@ const adapter: Adapter = { adapter: { [CHAIN.TON]: { fetch, - start: 1725148800, + start: '2024-09-01', }, } } diff --git a/aggregators/udex-agg/index.ts b/aggregators/udex-agg/index.ts index 1435d1c972..fc41ab94cc 100644 --- a/aggregators/udex-agg/index.ts +++ b/aggregators/udex-agg/index.ts @@ -37,7 +37,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch, - start: 1726531200, + start: '2024-09-17', runAtCurrTime:false }, } diff --git a/aggregators/unizen/index.ts b/aggregators/unizen/index.ts index b2510cd926..73cc9d1f3a 100644 --- a/aggregators/unizen/index.ts +++ b/aggregators/unizen/index.ts @@ -71,7 +71,7 @@ const adapter: SimpleAdapter = { [chain]: { fetch: fetch(chain), runAtCurrTime: true, - start: 1729356360, + start: '2024-10-19', }, }; }, {}), diff --git a/aggregators/wolfswap/index.ts b/aggregators/wolfswap/index.ts index 7a073b99ef..142528b685 100644 --- a/aggregators/wolfswap/index.ts +++ b/aggregators/wolfswap/index.ts @@ -25,13 +25,13 @@ const fetch = async (timestamp: number, _: ChainBlocks, { createBalances, getLog const adapter: any = { adapter: { - polygon: { fetch, start: 1710972000, }, - cronos: { fetch, start: 1711317600, }, - cronos_zkevm: { fetch, start: 1718830800, }, - base: { fetch, start: 1713128400, }, - avax: { fetch, start: 1717189200, }, - //sei: { fetch, start: 1717189200, }, - blast: { fetch, start: 1709848800, }, + polygon: { fetch, start: '2024-03-20', }, + cronos: { fetch, start: '2024-03-24', }, + cronos_zkevm: { fetch, start: '2024-06-19', }, + base: { fetch, start: '2024-04-14', }, + avax: { fetch, start: '2024-05-31', }, + //sei: { fetch, start: '2024-05-31', }, + blast: { fetch, start: '2024-03-07', }, }, }; diff --git a/aggregators/wowmax/index.ts b/aggregators/wowmax/index.ts index 36dda617bc..023ad4694f 100644 --- a/aggregators/wowmax/index.ts +++ b/aggregators/wowmax/index.ts @@ -54,7 +54,7 @@ const adapter: any = { ...acc, [chain]: { fetch: fetch(chain), - start: 1705104000, + start: '2024-01-13', }, }; }, {}), diff --git a/aggregators/yield-yak/index.ts b/aggregators/yield-yak/index.ts index 33a0548e36..592e89c9b9 100644 --- a/aggregators/yield-yak/index.ts +++ b/aggregators/yield-yak/index.ts @@ -17,8 +17,8 @@ const fetch = async (timestamp: number , _: ChainBlocks, { createBalances, getLo const adapter: any = { adapter: { - avax: { fetch, start: 1685491200, }, - arbitrum: { fetch, start: 1685491200, }, + avax: { fetch, start: '2023-05-31', }, + arbitrum: { fetch, start: '2023-05-31', }, }, }; diff --git a/aggregators/zrx/index.ts b/aggregators/zrx/index.ts index 50d221ad4e..8e930df7c9 100644 --- a/aggregators/zrx/index.ts +++ b/aggregators/zrx/index.ts @@ -39,7 +39,7 @@ const adapter: any = { ...acc, [chain]: { fetch: fetch, - start: 1652745600, + start: '2022-05-17', }, }; }, {}), diff --git a/bridge-aggregators/bungee/index.ts b/bridge-aggregators/bungee/index.ts index 4b34650476..f26916c2a4 100644 --- a/bridge-aggregators/bungee/index.ts +++ b/bridge-aggregators/bungee/index.ts @@ -44,7 +44,7 @@ const adapter: SimpleAdapter = { adapter: Object.keys(contract).reduce((acc, chain) => { return { ...acc, - [chain]: { fetch, start: 1691625600, } + [chain]: { fetch, start: '2023-08-10', } } }, {}) }; diff --git a/bridge-aggregators/jumper.exchange/index.ts b/bridge-aggregators/jumper.exchange/index.ts index aa2200cc32..828a5239bd 100644 --- a/bridge-aggregators/jumper.exchange/index.ts +++ b/bridge-aggregators/jumper.exchange/index.ts @@ -45,7 +45,7 @@ const adapter: SimpleAdapter = { adapter: Object.keys(contract).reduce((acc, chain) => { return { ...acc, - [chain]: { fetch, start: 1691625600, } + [chain]: { fetch, start: '2023-08-10', } } }, {}) }; diff --git a/bridge-aggregators/sharpe-bridge/index.ts b/bridge-aggregators/sharpe-bridge/index.ts index 6594796693..7cf87b39df 100644 --- a/bridge-aggregators/sharpe-bridge/index.ts +++ b/bridge-aggregators/sharpe-bridge/index.ts @@ -46,7 +46,7 @@ const adapter: SimpleAdapter = { adapter: Object.keys(contract).reduce((acc, chain) => { return { ...acc, - [chain]: { fetch, start: 1711963031, } + [chain]: { fetch, start: '2024-04-01', } } }, {}) }; diff --git a/bridge-aggregators/xy-finance/index.ts b/bridge-aggregators/xy-finance/index.ts index f1065e18c0..90f6c6cadf 100644 --- a/bridge-aggregators/xy-finance/index.ts +++ b/bridge-aggregators/xy-finance/index.ts @@ -179,7 +179,7 @@ const adapter: SimpleAdapter = { adapter: Object.keys(contract).reduce((acc, chain) => { return { ...acc, - [chain]: { fetch, start: 1691625600, } + [chain]: { fetch, start: '2023-08-10', } } }, {}) } diff --git a/dexs/0x/index.ts b/dexs/0x/index.ts index 69693deb80..5073018bd9 100644 --- a/dexs/0x/index.ts +++ b/dexs/0x/index.ts @@ -12,7 +12,7 @@ const config = { [CHAIN.AVAX]: { exchange: '0xdef1c0ded9bec7f1a1670819833240f027b25eff' }, arbitrum: { exchange: '0xdef1c0ded9bec7f1a1670819833240f027b25eff' }, base: { exchange: '0xdef1c0ded9bec7f1a1670819833240f027b25eff' }, -} as {[chain:string]:{exchange:string}} +} as { [chain: string]: { exchange: string } } // https://github.com/0xProject/protocol/blob/development/packages/contract-artifacts/artifacts/IZeroEx.json const abi = { @@ -77,11 +77,11 @@ const adaptersERC1155: any = {} const adaptersERC721: any = {} const adaptersERCLimit: any = {} Object.keys(config).forEach(chain => { - adaptersRFQ[chain] = { fetch: fetchRFQ, start: 0 } - adaptersOTC[chain] = { fetch: fetchOTC, start: 0 } - adaptersERC1155[chain] = { fetch: fetchERC1155, start: 0 } - adaptersERC721[chain] = { fetch: fetchERC721, start: 0 } - adaptersERCLimit[chain] = { fetch: fetchERCLimit, start: 0 } + adaptersRFQ[chain] = { fetch: fetchRFQ } + adaptersOTC[chain] = { fetch: fetchOTC } + adaptersERC1155[chain] = { fetch: fetchERC1155 } + adaptersERC721[chain] = { fetch: fetchERC721 } + adaptersERCLimit[chain] = { fetch: fetchERCLimit } }) const adapter: BreakdownAdapter = { diff --git a/dexs/10kswap/index.ts b/dexs/10kswap/index.ts index e665e4cd98..6d8dd324c8 100644 --- a/dexs/10kswap/index.ts +++ b/dexs/10kswap/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STARKNET]: { fetch, - start: 1663545600 + start: '2022-09-19' }, }, }; diff --git a/dexs/FeeFree/index.ts b/dexs/FeeFree/index.ts index 8450fd6ac9..bf18f38af9 100644 --- a/dexs/FeeFree/index.ts +++ b/dexs/FeeFree/index.ts @@ -80,11 +80,11 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ZORA]: { fetch: fetchVolume, - start: 1714060800, + start: '2024-04-25', }, [CHAIN.BASE]: { fetch: fetchVolume, - start: 1714939200, + start: '2024-05-05', }, } } diff --git a/dexs/ICDex/index.ts b/dexs/ICDex/index.ts index cf667a707e..a2e76c4167 100644 --- a/dexs/ICDex/index.ts +++ b/dexs/ICDex/index.ts @@ -23,7 +23,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ICP]: { fetch: fetch, - start: 1705363200, + start: '2024-01-16', }, } }; diff --git a/dexs/MantisSwap/index.ts b/dexs/MantisSwap/index.ts index 187a707724..03442f84eb 100644 --- a/dexs/MantisSwap/index.ts +++ b/dexs/MantisSwap/index.ts @@ -24,15 +24,15 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.POLYGON]: { fetch: fetch("137"), - start: 1679309404, + start: '2023-03-20', }, [CHAIN.POLYGON_ZKEVM]: { fetch: fetch("1101"), - start: 1685355566, + start: '2023-05-29', }, [CHAIN.MODE]: { fetch: fetch("34443"), - start: 1709717650, + start: '2024-03-06', }, }, }; diff --git a/dexs/Omnidrome/index.ts b/dexs/Omnidrome/index.ts index 622c264c26..13e67f919d 100644 --- a/dexs/Omnidrome/index.ts +++ b/dexs/Omnidrome/index.ts @@ -8,7 +8,7 @@ const adapters: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.ZETA]: { fetch: async (timestamp: number) => {return {timestamp, dailyVolume: '0'}}, - start: 1707177600, + start: '2024-02-06', } } } diff --git a/dexs/Scopuly/index.ts b/dexs/Scopuly/index.ts index d363084b08..8ae63f6706 100644 --- a/dexs/Scopuly/index.ts +++ b/dexs/Scopuly/index.ts @@ -36,7 +36,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STELLAR]: { fetch, - start: 1706572800, + start: '2024-01-30', }, }, }; diff --git a/dexs/SubstanceX/index.ts b/dexs/SubstanceX/index.ts index 6f3ed1002c..6b84223cd3 100644 --- a/dexs/SubstanceX/index.ts +++ b/dexs/SubstanceX/index.ts @@ -12,18 +12,18 @@ const endpoints = { }; const blockNumberGraph = { - [CHAIN.ARBITRUM]: sdk.graph.modifyEndpoint('64DCU8nq48qdDABnobpDafsg7RF75Rx5soKrHiGA8mqp'), - [CHAIN.ZETA]: "https://gql-zeta.substancex.io/subgraphs/name/substanceexchangedevelop/zeta-blocks" + [CHAIN.ARBITRUM]: sdk.graph.modifyEndpoint('64DCU8nq48qdDABnobpDafsg7RF75Rx5soKrHiGA8mqp'), + [CHAIN.ZETA]: "https://gql-zeta.substancex.io/subgraphs/name/substanceexchangedevelop/zeta-blocks" } -const headers = { 'sex-dev': 'ServerDev'} +const headers = { 'sex-dev': 'ServerDev' } as any const graphs = (graphUrls: ChainEndpoints) => { return (chain: Chain) => { return async (timestamp: number) => { - // Get blockNumers - const blockNumerQuery = gql` + // Get blockNumers + const blockNumerQuery = gql` { blocks( where: {timestamp_lte:${timestamp}} @@ -36,7 +36,7 @@ const graphs = (graphUrls: ChainEndpoints) => { } } `; - const last24hBlockNumberQuery = gql` + const last24hBlockNumberQuery = gql` { blocks( where: {timestamp_lte:${timestamp - 24 * 60 * 60}} @@ -50,24 +50,24 @@ const graphs = (graphUrls: ChainEndpoints) => { } `; - const blockNumberGraphQLClient = new GraphQLClient(blockNumberGraph[chain], { - headers: chain === CHAIN.ZETA ? headers: null, - }); - const graphQLClient = new GraphQLClient(graphUrls[chain], { - headers: chain === CHAIN.ZETA ? headers: null, - }); + const blockNumberGraphQLClient = new GraphQLClient(blockNumberGraph[chain], { + headers: chain === CHAIN.ZETA ? headers : null, + }); + const graphQLClient = new GraphQLClient(graphUrls[chain], { + headers: chain === CHAIN.ZETA ? headers : null, + }); - const blockNumber = ( - await blockNumberGraphQLClient.request(blockNumerQuery) - ).blocks[0].number; - const last24hBlockNumber = ( - await blockNumberGraphQLClient.request(last24hBlockNumberQuery) - ).blocks[0].number; + const blockNumber = ( + await blockNumberGraphQLClient.request(blockNumerQuery) + ).blocks[0].number; + const last24hBlockNumber = ( + await blockNumberGraphQLClient.request(last24hBlockNumberQuery) + ).blocks[0].number; - // get total volume - const tradeVolumeQuery = gql` + // get total volume + const tradeVolumeQuery = gql` { protocolMetrics(block:{number:${blockNumber}}){ totalVolume @@ -75,8 +75,8 @@ const graphs = (graphUrls: ChainEndpoints) => { } `; - // get total volume 24 hours ago - const lastTradeVolumeQuery = gql` + // get total volume 24 hours ago + const lastTradeVolumeQuery = gql` { protocolMetrics(block:{number:${last24hBlockNumber}}){ totalVolume @@ -85,44 +85,36 @@ const graphs = (graphUrls: ChainEndpoints) => { `; - let tradeVolume = ( - await graphQLClient.request(tradeVolumeQuery) - ).protocolMetrics[0].totalVolume + let tradeVolume = ( + await graphQLClient.request(tradeVolumeQuery) + ).protocolMetrics[0].totalVolume - let last24hTradeVolume = ( - await graphQLClient.request(lastTradeVolumeQuery) - ).protocolMetrics[0].totalVolume - - const totalVolume = Number(tradeVolume) / 10 ** 6 - const dailyVolume = (Number(tradeVolume) - Number(last24hTradeVolume)) / 10 ** 6 - - return { - timestamp, - totalVolume: totalVolume.toString(), - dailyVolume: dailyVolume.toString(), - }; - } + let last24hTradeVolume = ( + await graphQLClient.request(lastTradeVolumeQuery) + ).protocolMetrics[0].totalVolume + const totalVolume = Number(tradeVolume) / 10 ** 6 + const dailyVolume = (Number(tradeVolume) - Number(last24hTradeVolume)) / 10 ** 6 return { timestamp, - totalVolume: "0", - dailyVolume: "0", + totalVolume: totalVolume.toString(), + dailyVolume: dailyVolume.toString(), }; - }; + } }; +}; const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { - fetch: graphs(endpoints)(CHAIN.ARBITRUM), - start: 1700323200, + fetch: graphs(endpoints)(CHAIN.ARBITRUM) as any, + start: '2023-11-18', }, [CHAIN.ZETA]: { - fetch: graphs(endpoints)(CHAIN.ZETA), - start: 2631301, - }, + fetch: graphs(endpoints)(CHAIN.ZETA) as any, + }, }, }; diff --git a/dexs/aark/index.ts b/dexs/aark/index.ts index 84663e396b..f5ae50ea6f 100644 --- a/dexs/aark/index.ts +++ b/dexs/aark/index.ts @@ -21,7 +21,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1691845200, + start: '2023-08-12', }, }, }; diff --git a/dexs/acala-swap/index.ts b/dexs/acala-swap/index.ts index c05cfeb7a1..58061e5341 100644 --- a/dexs/acala-swap/index.ts +++ b/dexs/acala-swap/index.ts @@ -46,7 +46,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ACALA]: { fetch: fetch, - start: 1671667200 + start: '2022-12-22' }, }, }; diff --git a/dexs/aequinox/index.ts b/dexs/aequinox/index.ts index 735a90d67f..1d3de0022c 100644 --- a/dexs/aequinox/index.ts +++ b/dexs/aequinox/index.ts @@ -40,7 +40,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.BSC]: { fetch: fetch, - start: 1673568000 + start: '2023-01-13' }, }, }; diff --git a/dexs/aerodrome-slipstream/index.ts b/dexs/aerodrome-slipstream/index.ts index 91ec0708fa..19ed76a1f3 100644 --- a/dexs/aerodrome-slipstream/index.ts +++ b/dexs/aerodrome-slipstream/index.ts @@ -45,7 +45,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetch as any, - start: 1714743000, + start: '2024-05-03', } } } diff --git a/dexs/aevo/index.ts b/dexs/aevo/index.ts index 0d1da14c3c..ecb1d86408 100644 --- a/dexs/aevo/index.ts +++ b/dexs/aevo/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetchAevoVolumeData, - start: 1681430400, + start: '2023-04-14', }, }, }; diff --git a/dexs/aftermath-fi-amm/index.ts b/dexs/aftermath-fi-amm/index.ts index 6df60315e8..a663b00028 100644 --- a/dexs/aftermath-fi-amm/index.ts +++ b/dexs/aftermath-fi-amm/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch, - start: 1689811200 + start: '2023-07-20' }, }, }; diff --git a/dexs/agni-fi/index.ts b/dexs/agni-fi/index.ts index 66e31d4ad3..f8edc13ab8 100644 --- a/dexs/agni-fi/index.ts +++ b/dexs/agni-fi/index.ts @@ -28,7 +28,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.MANTLE]: { fetch: v3Graphs(CHAIN.MANTLE), - start: 1689724800, + start: '2023-07-19', }, }, }; diff --git a/dexs/airswap/index.ts b/dexs/airswap/index.ts index fac0ab7400..51eb403459 100644 --- a/dexs/airswap/index.ts +++ b/dexs/airswap/index.ts @@ -27,11 +27,11 @@ const fetch = (async (timestamp: number, _: any, { getLogs, createBalances, chai const adapter: SimpleAdapter = { adapter: { - [CHAIN.ETHEREUM]: { fetch, start: 1680307200, }, - [CHAIN.POLYGON]: { fetch, start: 1680307200, }, - [CHAIN.AVAX]: { fetch, start: 1680307200, }, - [CHAIN.BSC]: { fetch, start: 1680307200, }, - [CHAIN.ARBITRUM]: { fetch, start: 1689811200, }, + [CHAIN.ETHEREUM]: { fetch, start: '2023-04-01', }, + [CHAIN.POLYGON]: { fetch, start: '2023-04-01', }, + [CHAIN.AVAX]: { fetch, start: '2023-04-01', }, + [CHAIN.BSC]: { fetch, start: '2023-04-01', }, + [CHAIN.ARBITRUM]: { fetch, start: '2023-07-20', }, } }; diff --git a/dexs/aldrin/index.ts b/dexs/aldrin/index.ts index a32e23adc2..6066f6ac72 100644 --- a/dexs/aldrin/index.ts +++ b/dexs/aldrin/index.ts @@ -51,7 +51,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.SOLANA]: { fetch: fetch, - start: 1643188527, + start: '2022-01-26', customBackfill: customBackfill(CHAIN.SOLANA as Chain, () => fetch) }, }, diff --git a/dexs/ambient/index.ts b/dexs/ambient/index.ts index f5c063634f..da6d42950f 100644 --- a/dexs/ambient/index.ts +++ b/dexs/ambient/index.ts @@ -37,7 +37,7 @@ const fetch: FetchV2 = async ({ startTimestamp, endTimestamp, createBalances, ch return { dailyVolume, dailyFees, } } -const adapter = { fetch, start: 1685232000, } +const adapter = { fetch, start: '2023-05-28', } export default { diff --git a/dexs/anyhedge/index.ts b/dexs/anyhedge/index.ts index 88be091da0..b92b229299 100644 --- a/dexs/anyhedge/index.ts +++ b/dexs/anyhedge/index.ts @@ -69,7 +69,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BITCOIN_CASH]: { fetch: fetchAnyhedgeVolumeData, - start: 1654787405, + start: '2022-06-09', meta: { methodology } diff --git a/dexs/apestore/index.ts b/dexs/apestore/index.ts index 33f6f52a0f..18ade3251a 100644 --- a/dexs/apestore/index.ts +++ b/dexs/apestore/index.ts @@ -24,7 +24,7 @@ const adapter: Adapter = { timestamp: volumeData.timeStamp, }; }, - start: 1712265900, + start: '2024-04-04', }, ethereum: { fetch: async (options: FetchOptions): Promise => { @@ -40,7 +40,7 @@ const adapter: Adapter = { timestamp: volumeData.timeStamp, }; }, - start: 1712265900, + start: '2024-04-04', } }, }; diff --git a/dexs/apex-omni/index.ts b/dexs/apex-omni/index.ts index 9399727b90..a6dd66f5c1 100644 --- a/dexs/apex-omni/index.ts +++ b/dexs/apex-omni/index.ts @@ -57,7 +57,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: getVolume, - start: 1718380800, + start: '2024-06-14', } }, }; diff --git a/dexs/apex/index.ts b/dexs/apex/index.ts index ebedc57580..a6dc11a4c9 100644 --- a/dexs/apex/index.ts +++ b/dexs/apex/index.ts @@ -67,7 +67,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: getVolume, - start: 1664928000, + start: '2022-10-05', } }, }; diff --git a/dexs/apollox/index.ts b/dexs/apollox/index.ts index ad07efe6d2..51632df8da 100644 --- a/dexs/apollox/index.ts +++ b/dexs/apollox/index.ts @@ -122,7 +122,7 @@ const adapter: SimpleAdapter = { timestamp, }; }, - start: 1682035200, + start: '2023-04-21', }, [CHAIN.ARBITRUM]: { // runAtCurrTime: true, @@ -137,7 +137,7 @@ const adapter: SimpleAdapter = { totalVolume, }; }, - start: 1682035200, + start: '2023-04-21', }, [CHAIN.OP_BNB]: { // runAtCurrTime: true, @@ -152,7 +152,7 @@ const adapter: SimpleAdapter = { totalVolume, }; }, - start: 1682035200, + start: '2023-04-21', }, [CHAIN.BASE]: { // runAtCurrTime: true, @@ -167,7 +167,7 @@ const adapter: SimpleAdapter = { totalVolume, }; }, - start: 1682035200, + start: '2023-04-21', }, }, }; diff --git a/dexs/aqua-network/index.ts b/dexs/aqua-network/index.ts index f2150973c3..05b23b7b29 100644 --- a/dexs/aqua-network/index.ts +++ b/dexs/aqua-network/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STELLAR]: { fetch, - start: 1719792000, + start: '2024-07-01', }, }, }; diff --git a/dexs/ascent/index.ts b/dexs/ascent/index.ts index 522f650d54..42b9a12121 100644 --- a/dexs/ascent/index.ts +++ b/dexs/ascent/index.ts @@ -33,13 +33,13 @@ const adapter: BreakdownAdapter = { v2: { [CHAIN.EON]: { fetch: graphs(CHAIN.EON), - start: 1698796800 + start: '2023-11-01' }, }, v3: { [CHAIN.EON]: { fetch: graphsV3(CHAIN.EON), - start: 1699401600 + start: '2023-11-08' }, } } diff --git a/dexs/ash-perp/index.ts b/dexs/ash-perp/index.ts index 01391259e8..02bbd1fa05 100644 --- a/dexs/ash-perp/index.ts +++ b/dexs/ash-perp/index.ts @@ -34,7 +34,7 @@ const adapter: SimpleAdapter = { [CHAIN.ELROND]: { fetch: fetch, runAtCurrTime: true, - start: 1707782400 + start: '2024-02-13' }, }, }; diff --git a/dexs/ashswap/index.ts b/dexs/ashswap/index.ts index b5228ccf0e..0075b203c4 100644 --- a/dexs/ashswap/index.ts +++ b/dexs/ashswap/index.ts @@ -32,7 +32,7 @@ const adapter: SimpleAdapter = { [CHAIN.ELROND]: { fetch: fetch, runAtCurrTime: true, - start: 1676592000 + start: '2023-02-17' }, }, }; diff --git a/dexs/astrolescent/index.ts b/dexs/astrolescent/index.ts index 58c930f176..6f882a924c 100644 --- a/dexs/astrolescent/index.ts +++ b/dexs/astrolescent/index.ts @@ -20,7 +20,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.RADIXDLT]: { fetch: fetchVolume, - start: 1698624000, + start: '2023-10-30', customBackfill: customBackfill(CHAIN.RADIXDLT, () => fetchVolume), runAtCurrTime: false } diff --git a/dexs/aux-exchange/index.ts b/dexs/aux-exchange/index.ts index ae6a1a9f18..720d856bdb 100644 --- a/dexs/aux-exchange/index.ts +++ b/dexs/aux-exchange/index.ts @@ -49,7 +49,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch, - start: 1699488000, + start: '2023-11-09', runAtCurrTime: true, }, }, diff --git a/dexs/avantis/index.ts b/dexs/avantis/index.ts index adfd6c0346..9d942c5559 100644 --- a/dexs/avantis/index.ts +++ b/dexs/avantis/index.ts @@ -50,7 +50,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetchData(CHAIN.BASE), - start: 1706313600, + start: '2024-01-27', }, }, }; diff --git a/dexs/axial/index.ts b/dexs/axial/index.ts index b6cf35f1bf..77f06d25e7 100644 --- a/dexs/axial/index.ts +++ b/dexs/axial/index.ts @@ -27,7 +27,7 @@ const adapter: SimpleAdapter = { fetch, runAtCurrTime: true, customBackfill: undefined, - start: 1672704000, + start: '2023-01-03', }, } }; diff --git a/dexs/balanced/index.ts b/dexs/balanced/index.ts index dadf7fa742..f1261e720e 100644 --- a/dexs/balanced/index.ts +++ b/dexs/balanced/index.ts @@ -6,7 +6,7 @@ export default { adapter: { [CHAIN.ICON]: { runAtCurrTime: true, - start: 1700000000, + start: '2023-11-14', meta: { methodology: { Fees: 'Fees: Collected from borrowers and traders.', diff --git a/dexs/balancer/index.ts b/dexs/balancer/index.ts index 240dc0ac56..8650992f2e 100644 --- a/dexs/balancer/index.ts +++ b/dexs/balancer/index.ts @@ -73,7 +73,7 @@ const adapter: BreakdownAdapter = { v1: { [CHAIN.ETHEREUM]: { fetch: v1graphs(CHAIN.ETHEREUM), - start: 1582761600, + start: '2020-02-27', }, }, v2: Object.keys(endpoints).reduce((acc, chain) => { diff --git a/dexs/bancor/index.ts b/dexs/bancor/index.ts index d41c773083..6ecc7686d3 100644 --- a/dexs/bancor/index.ts +++ b/dexs/bancor/index.ts @@ -63,7 +63,7 @@ const adapter: BreakdownAdapter = { fetch: graphs("ethereum"), runAtCurrTime: false, customBackfill: undefined, - start: 1570665600, + start: '2019-10-10', } }, "v3": { diff --git a/dexs/baryon/index.ts b/dexs/baryon/index.ts index 91f88faf14..233233bc79 100644 --- a/dexs/baryon/index.ts +++ b/dexs/baryon/index.ts @@ -22,7 +22,6 @@ export default { [BSC]: { fetch: graphs, runAtCurrTime: true, - start: 0 }, }, } as Adapter; \ No newline at end of file diff --git a/dexs/based-markets/index.ts b/dexs/based-markets/index.ts index e8738f7cf6..0fb34f6280 100644 --- a/dexs/based-markets/index.ts +++ b/dexs/based-markets/index.ts @@ -21,7 +21,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetch(CHAIN.BASE), - start: 1704009000, + start: '2023-12-31', }, }, }; diff --git a/dexs/baseswap/index.ts b/dexs/baseswap/index.ts index 6c6c9d9205..2bf5cae638 100644 --- a/dexs/baseswap/index.ts +++ b/dexs/baseswap/index.ts @@ -76,7 +76,7 @@ const adapter: BreakdownAdapter = { ...acc, [chain]: { fetch: v2Graph(chain as Chain), - start: 1690495200, + start: '2023-07-28', customBackfill: customBackfill(chain, v2Graph), meta: { methodology: v2Methodology }, }, diff --git a/dexs/beamex/index.ts b/dexs/beamex/index.ts index 2d3e022319..82eedbcf0c 100644 --- a/dexs/beamex/index.ts +++ b/dexs/beamex/index.ts @@ -101,7 +101,7 @@ const adapter: BreakdownAdapter = { "beamex-swap": { [CHAIN.MOONBEAN]: { fetch: getFetch(historicalDataSwap)(CHAIN.MOONBEAN), - start: 1687421388, + start: '2023-06-22', meta: { methodology: { ...methodologyBeamex, @@ -112,7 +112,7 @@ const adapter: BreakdownAdapter = { "beamex-perps": { [CHAIN.MOONBEAN]: { fetch: getFetch(historicalDataDerivatives)(CHAIN.MOONBEAN), - start: 1687421388, + start: '2023-06-22', meta: { methodology: { ...methodologyBeamex, diff --git a/dexs/beamswap-v3/index.ts b/dexs/beamswap-v3/index.ts index 3fed8eabde..87e58decf5 100644 --- a/dexs/beamswap-v3/index.ts +++ b/dexs/beamswap-v3/index.ts @@ -40,7 +40,7 @@ const adapter: BreakdownAdapter = { v3: { [CHAIN.MOONBEAN]: { fetch: v3Graphs(CHAIN.MOONBEAN), - start: 1684397388, + start: '2023-05-18', customBackfill: customBackfill(CHAIN.MOONBEAN, v3Graphs), meta: { methodology: { diff --git a/dexs/beamswap/index.ts b/dexs/beamswap/index.ts index d0319e6877..6ce3b8ea6a 100644 --- a/dexs/beamswap/index.ts +++ b/dexs/beamswap/index.ts @@ -87,7 +87,7 @@ const adapter: BreakdownAdapter = { "stable-amm": { [CHAIN.MOONBEAN]: { fetch: v1graphs(CHAIN.MOONBEAN), - start: 1656914570, + start: '2022-07-04', customBackfill: customBackfill(CHAIN.MOONBEAN, v1graphs), meta: { methodology: { diff --git a/dexs/beethoven-x/index.ts b/dexs/beethoven-x/index.ts index 9d37b1424b..f0beef6992 100644 --- a/dexs/beethoven-x/index.ts +++ b/dexs/beethoven-x/index.ts @@ -58,7 +58,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: v2Graphs(chain), - start: 1633392000, + start: '2021-10-05', } } }, {}) diff --git a/dexs/bisq/index.ts b/dexs/bisq/index.ts index 77e403b078..874ab6adc5 100644 --- a/dexs/bisq/index.ts +++ b/dexs/bisq/index.ts @@ -31,7 +31,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BITCOIN]: { fetch, - start: 1525651200, + start: '2018-05-07', }, }, }; diff --git a/dexs/bitkeep/index.ts b/dexs/bitkeep/index.ts index 69d128c593..360307a2db 100644 --- a/dexs/bitkeep/index.ts +++ b/dexs/bitkeep/index.ts @@ -37,31 +37,31 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: graph(CHAIN.ETHEREUM), - start: 1667232000, + start: '2022-10-31', }, // [CHAIN.POLYGON]: { // fetch: graph(CHAIN.POLYGON), - // start: 1667232000, + // start: '2022-10-31', // }, [CHAIN.BSC]: { fetch: graph(CHAIN.BSC), - start: 1667232000, + start: '2022-10-31', }, [CHAIN.HECO]: { fetch: graph(CHAIN.HECO), - start: 1667232000, + start: '2022-10-31', }, [CHAIN.FANTOM]: { fetch: graph(CHAIN.FANTOM), - start: 1667232000, + start: '2022-10-31', }, [CHAIN.ARBITRUM]: { fetch: graph(CHAIN.ARBITRUM), - start: 1667232000, + start: '2022-10-31', }, [CHAIN.OPTIMISM]: { fetch: graph(CHAIN.OPTIMISM), - start: 1667232000, + start: '2022-10-31', }, } }; diff --git a/dexs/bladeswap/index.ts b/dexs/bladeswap/index.ts index c7af6a01ad..98dfd08254 100644 --- a/dexs/bladeswap/index.ts +++ b/dexs/bladeswap/index.ts @@ -40,7 +40,7 @@ const adapter: BreakdownAdapter = { v2: { [CHAIN.BLAST]: { fetch, - start: 1709208245, + start: '2024-02-29', } }, CL: adapters.adapter diff --git a/dexs/blastfutures/index.ts b/dexs/blastfutures/index.ts index 8d3cd0fc38..cd2abb38ab 100644 --- a/dexs/blastfutures/index.ts +++ b/dexs/blastfutures/index.ts @@ -31,7 +31,7 @@ const adapter: SimpleAdapter = { adapter: { "blast": { fetch: fetchVolume, - start: 1700179200, // Replace with actual start timestamp + start: '2023-11-17', // Replace with actual start timestamp }, }, }; diff --git a/dexs/bmx-freestyle/index.ts b/dexs/bmx-freestyle/index.ts index b0ffea9888..10ded2c81e 100644 --- a/dexs/bmx-freestyle/index.ts +++ b/dexs/bmx-freestyle/index.ts @@ -113,7 +113,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetchFreestyleVolume, - start: 1714554000, + start: '2024-05-01', }, }, }; diff --git a/dexs/brine/index.ts b/dexs/brine/index.ts index 86ebeba2ff..27a9f01c53 100644 --- a/dexs/brine/index.ts +++ b/dexs/brine/index.ts @@ -17,7 +17,7 @@ const adapter: SimpleAdapter = { [CHAIN.ETHEREUM]: { fetch, runAtCurrTime: false, - start: 1680739200, + start: '2023-04-06', }, }, }; diff --git a/dexs/bsx/index.ts b/dexs/bsx/index.ts index 576d0d7aa0..2879bd8a20 100644 --- a/dexs/bsx/index.ts +++ b/dexs/bsx/index.ts @@ -26,7 +26,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetchBsxVolumeData, - start: 1711929600, + start: '2024-04-01', }, }, }; diff --git a/dexs/bulbaswap/index.ts b/dexs/bulbaswap/index.ts index 17ec5fb856..c64e86b05f 100644 --- a/dexs/bulbaswap/index.ts +++ b/dexs/bulbaswap/index.ts @@ -81,13 +81,13 @@ const adapter: BreakdownAdapter = { 'v2': { [CHAIN.MORPH]: { fetch: fetchV2Data, - start: 1618435200, + start: '2021-04-14', }, }, 'v3': { [CHAIN.MORPH]: { fetch: fetchV3Data, - start: 1618435200, + start: '2021-04-14', }, }, } diff --git a/dexs/butterxyz/index.ts b/dexs/butterxyz/index.ts index 6fbc9541b6..439f6499f1 100644 --- a/dexs/butterxyz/index.ts +++ b/dexs/butterxyz/index.ts @@ -8,7 +8,7 @@ export default { fetch: getUniV3LogAdapter({ factory: "0xEECa0a86431A7B42ca2Ee5F479832c3D4a4c2644", }), - start: 1702339200, + start: '2023-12-12', }, }, }; diff --git a/dexs/c3-exchange/index.ts b/dexs/c3-exchange/index.ts index 33db0459f9..986f0b2d65 100644 --- a/dexs/c3-exchange/index.ts +++ b/dexs/c3-exchange/index.ts @@ -58,7 +58,7 @@ function adapterConstructor( ...obj, [chain]: { fetch: fetchVolumeFunc, - start: 1688169600, // 1st July 2023, 00:00:00 GMT + start: '2023-07-01', // 1st July 2023, 00:00:00 GMT // runAtCurrTime: false, meta: { methodology: { diff --git a/dexs/cables/index.ts b/dexs/cables/index.ts index 984405a782..5b5f9d1d19 100644 --- a/dexs/cables/index.ts +++ b/dexs/cables/index.ts @@ -24,11 +24,11 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1727647200, + start: '2024-09-30', }, [CHAIN.AVAX]: { fetch: fetch, - start: 1727647200, + start: '2024-09-30', }, }, }; diff --git a/dexs/capybara-exchange/index.ts b/dexs/capybara-exchange/index.ts index 60c876a4c0..0b7cb1108f 100644 --- a/dexs/capybara-exchange/index.ts +++ b/dexs/capybara-exchange/index.ts @@ -72,7 +72,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.KLAYTN]: { fetch: fetchVolume(CHAIN.KLAYTN), - start: 1715752335 + start: '2024-05-15' } } }; diff --git a/dexs/capybara-perp/index.ts b/dexs/capybara-perp/index.ts index dcdf196bea..f6edc3b59c 100644 --- a/dexs/capybara-perp/index.ts +++ b/dexs/capybara-perp/index.ts @@ -50,7 +50,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.KLAYTN]: { fetch: getFetch(CHAIN.KLAYTN), - start: 1727568000, + start: '2024-09-29', }, }, }; diff --git a/dexs/cauldron/index.ts b/dexs/cauldron/index.ts index 779784a769..7a19ebe827 100644 --- a/dexs/cauldron/index.ts +++ b/dexs/cauldron/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BITCOIN_CASH]: { fetch: fetchCauldronVolume, - start: 1688198180, + start: '2023-07-01', meta: { methodology } diff --git a/dexs/caviarnine-lsu-pool/index.ts b/dexs/caviarnine-lsu-pool/index.ts index 5fa0b68355..ac2b9e2382 100644 --- a/dexs/caviarnine-lsu-pool/index.ts +++ b/dexs/caviarnine-lsu-pool/index.ts @@ -32,7 +32,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.RADIXDLT]: { fetch: fetchFees, - start: 1699142400, + start: '2023-11-05', // runAtCurrTime: true } } diff --git a/dexs/caviarnine/index.ts b/dexs/caviarnine/index.ts index 142ea8b2e2..20d2292f78 100644 --- a/dexs/caviarnine/index.ts +++ b/dexs/caviarnine/index.ts @@ -25,7 +25,7 @@ const adapters: BreakdownAdapter = { orderbook: { [CHAIN.RADIXDLT]: { fetch: fetchSpot, - start: 1698710400, + start: '2023-10-31', // runAtCurrTime: true } }, @@ -41,7 +41,7 @@ const adapters: BreakdownAdapter = { timestamp } }, - start: 1698710400, + start: '2023-10-31', // runAtCurrTime: true } } diff --git a/dexs/cellana-finance/index.ts b/dexs/cellana-finance/index.ts index 18d8b191ae..6cbf647079 100644 --- a/dexs/cellana-finance/index.ts +++ b/dexs/cellana-finance/index.ts @@ -53,7 +53,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch, - start: 1709078400 + start: '2024-02-28' }, }, }; diff --git a/dexs/cetus/index.ts b/dexs/cetus/index.ts index f041c58e8b..50d50baae6 100644 --- a/dexs/cetus/index.ts +++ b/dexs/cetus/index.ts @@ -52,11 +52,11 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch: fetch(CHAIN.APTOS), - start: 1666224000, + start: '2022-10-20', }, [CHAIN.SUI]: { fetch: fetch(CHAIN.SUI), - start: 1682985600, + start: '2023-05-02', } } }; diff --git a/dexs/chainflip/index.ts b/dexs/chainflip/index.ts index c7045cb633..bef0e1b14b 100644 --- a/dexs/chainflip/index.ts +++ b/dexs/chainflip/index.ts @@ -18,7 +18,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.CHAINFLIP]: { fetch, - start: 1700740800, // FLIP went live on 2023-11-23 12:00 UTC + start: '2023-11-23', // FLIP went live on 2023-11-23 12:00 UTC runAtCurrTime: true, meta: { methodology: { diff --git a/dexs/cherryswap/index.ts b/dexs/cherryswap/index.ts index e17f5a39b3..b280143def 100644 --- a/dexs/cherryswap/index.ts +++ b/dexs/cherryswap/index.ts @@ -57,7 +57,7 @@ const adapter: SimpleAdapter = { dailyVolume: '0' } }, - start: 1627385129, + start: '2021-07-27', }, }, }; diff --git a/dexs/clipper/index.ts b/dexs/clipper/index.ts index 72a0e1ab12..327abc820e 100644 --- a/dexs/clipper/index.ts +++ b/dexs/clipper/index.ts @@ -30,7 +30,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: graphs(chain as Chain), - start: 1657437036, + start: '2022-07-10', } } }, {}) diff --git a/dexs/clober-v2/index.ts b/dexs/clober-v2/index.ts index 63a592472e..b792caaed0 100644 --- a/dexs/clober-v2/index.ts +++ b/dexs/clober-v2/index.ts @@ -62,7 +62,7 @@ const adapter: SimpleAdapter = { [CHAIN.BASE]: { fetch: fetch, // runAtCurrTime: true, - start: 1718169619, + start: '2024-06-12', meta: { methodology: 'Volume is calculated by summing the quote token volume of all trades on the protocol.', } @@ -70,7 +70,7 @@ const adapter: SimpleAdapter = { [CHAIN.ERA]: { fetch: fetch, // runAtCurrTime: true, - start: 1718169619, + start: '2024-06-12', meta: { methodology: 'Volume is calculated by summing the quote token volume of all trades on the protocol.', } diff --git a/dexs/clober/index.ts b/dexs/clober/index.ts index 085155aad7..eacd666d2c 100644 --- a/dexs/clober/index.ts +++ b/dexs/clober/index.ts @@ -35,22 +35,22 @@ const adapter: SimpleAdapter = { [CHAIN.ETHEREUM]: { fetch: fetch('1'), runAtCurrTime: true, - start: 1683331200, + start: '2023-05-06', }, [CHAIN.POLYGON]: { fetch: fetch('137'), runAtCurrTime: true, - start: 1683331200, + start: '2023-05-06', }, [CHAIN.ARBITRUM]: { fetch: fetch('42161'), runAtCurrTime: true, - start: 1683331200, + start: '2023-05-06', }, [CHAIN.POLYGON_ZKEVM]: { fetch: fetch('1101'), runAtCurrTime: true, - start: 1683331200, + start: '2023-05-06', }, } }; diff --git a/dexs/concordex-io/index.ts b/dexs/concordex-io/index.ts index 7137e38d61..5afa335d5a 100644 --- a/dexs/concordex-io/index.ts +++ b/dexs/concordex-io/index.ts @@ -17,7 +17,7 @@ const rpc = (url: string, method: string, params: any) => const adapter: SimpleAdapter = { adapter: { concordium: { - start: 1688198518, + start: '2023-07-01', fetch: async (ts) => { const data = await rpc(POOLS_SERVICE_URL, 'volumes_statistic', { timestamp: ts, diff --git a/dexs/contango/index.ts b/dexs/contango/index.ts index a3aab7af06..a4e054446f 100644 --- a/dexs/contango/index.ts +++ b/dexs/contango/index.ts @@ -109,27 +109,27 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetchVolume(CHAIN.ARBITRUM), - start: 1696291200, + start: '2023-10-03', }, [CHAIN.OPTIMISM]: { fetch: fetchVolume(CHAIN.OPTIMISM), - start: 1696204800, + start: '2023-10-02', }, [CHAIN.ETHEREUM]: { fetch: fetchVolume(CHAIN.ETHEREUM), - start: 1696291200, + start: '2023-10-03', }, [CHAIN.POLYGON]: { fetch: fetchVolume(CHAIN.POLYGON), - start: 1697155200, + start: '2023-10-13', }, [CHAIN.BASE]: { fetch: fetchVolume(CHAIN.BASE), - start: 1696809600, + start: '2023-10-09', }, [CHAIN.XDAI]: { fetch: fetchVolume(CHAIN.XDAI), - start: 1696550400, + start: '2023-10-06', }, } }; diff --git a/dexs/crescent-swap/index.ts b/dexs/crescent-swap/index.ts index 7f68b79088..914773ec74 100644 --- a/dexs/crescent-swap/index.ts +++ b/dexs/crescent-swap/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: graphs(CHAIN.ARBITRUM), - start: 1685491200 + start: '2023-05-31' }, }, }; diff --git a/dexs/cropper-clmm/index.ts b/dexs/cropper-clmm/index.ts index 445cbffa2c..9b196c3225 100644 --- a/dexs/cropper-clmm/index.ts +++ b/dexs/cropper-clmm/index.ts @@ -25,7 +25,7 @@ export default { [CHAIN.SOLANA]: { fetch: fetch, runAtCurrTime: true, - start: 1714435200, + start: '2024-04-30', } } } diff --git a/dexs/cyberperp/index.ts b/dexs/cyberperp/index.ts index 55f5aefbb9..b50ae6f726 100644 --- a/dexs/cyberperp/index.ts +++ b/dexs/cyberperp/index.ts @@ -7,7 +7,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.IOTAEVM]: { fetch: fetchVolume, - start: 1721692800, + start: '2024-07-23', }, }, }; diff --git a/dexs/darkness/index.ts b/dexs/darkness/index.ts index 7a706deca1..ead1248164 100644 --- a/dexs/darkness/index.ts +++ b/dexs/darkness/index.ts @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = { fetch, runAtCurrTime: true, customBackfill: undefined, - start: 1672790400, + start: '2023-01-04', }, } }; diff --git a/dexs/dedust/index.ts b/dexs/dedust/index.ts index 60b107d34f..2ee20c720b 100644 --- a/dexs/dedust/index.ts +++ b/dexs/dedust/index.ts @@ -78,7 +78,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.TON]: { fetch, - start: 1681931480, + start: '2023-04-19', }, }, }; diff --git a/dexs/deepbook-sui/index.ts b/dexs/deepbook-sui/index.ts index 3a5e8ea4a8..c84900b25c 100644 --- a/dexs/deepbook-sui/index.ts +++ b/dexs/deepbook-sui/index.ts @@ -35,7 +35,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch, - start: 1687824000, + start: '2023-06-27', }, }, }; diff --git a/dexs/deepbookv3-sui/index.ts b/dexs/deepbookv3-sui/index.ts index c2730640a5..04ac3b0798 100644 --- a/dexs/deepbookv3-sui/index.ts +++ b/dexs/deepbookv3-sui/index.ts @@ -70,7 +70,7 @@ export default { adapter: { [CHAIN.SUI]: { fetch: fetch, - start: 1727758800, + start: '2024-10-01', meta: { methodology, }, diff --git a/dexs/defibox/index.ts b/dexs/defibox/index.ts index 529fa2ff2f..4c599d5292 100644 --- a/dexs/defibox/index.ts +++ b/dexs/defibox/index.ts @@ -35,17 +35,17 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.EOS]: { fetch: graph(CHAIN.EOS), - start: 1674345600, + start: '2023-01-22', runAtCurrTime: true, }, [CHAIN.WAX]: { fetch: graph(CHAIN.WAX), - start: 1674345600, + start: '2023-01-22', runAtCurrTime: true, }, // [CHAIN.BSC]: { // fetch: graph(CHAIN.BSC), - // start: 1674345600, + // start: '2023-01-22', // runAtCurrTime: true, // }, }, diff --git a/dexs/defiplaza/index.ts b/dexs/defiplaza/index.ts index 9e3e2357b5..7c71408014 100644 --- a/dexs/defiplaza/index.ts +++ b/dexs/defiplaza/index.ts @@ -57,7 +57,7 @@ const adapter: SimpleAdapter = { SupplySideRevenue: "LPs revenue is a small percentage of each swap, which is updated manually on an irregular basis to optimize aggregator volume.", } }, - start: 1633237008 + start: '2021-10-03' }, [CHAIN.RADIXDLT]: { fetch: async (timestamp: number): Promise => { @@ -86,7 +86,7 @@ const adapter: SimpleAdapter = { SupplySideRevenue: "LPs revenue is 0.5% of each swap, double if hopping between pairs is needed.", } }, - start: 1700784000 + start: '2023-11-24' } }, }; diff --git a/dexs/defx/index.ts b/dexs/defx/index.ts index 7d2b490554..07113b03e0 100644 --- a/dexs/defx/index.ts +++ b/dexs/defx/index.ts @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch, - start: 1727780831, + start: '2024-10-01', runAtCurrTime: true }, } diff --git a/dexs/dexter-tezos/index.ts b/dexs/dexter-tezos/index.ts index ff6eaca20f..42163756b9 100644 --- a/dexs/dexter-tezos/index.ts +++ b/dexs/dexter-tezos/index.ts @@ -28,7 +28,6 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.TEZOS]: { fetch: fetchVolume, - start: 0 } } } diff --git a/dexs/dexter/index.ts b/dexs/dexter/index.ts index dcaa44fdcd..1b4a352308 100644 --- a/dexs/dexter/index.ts +++ b/dexs/dexter/index.ts @@ -21,7 +21,7 @@ const adapter: SimpleAdapter = { persistence: { fetch, runAtCurrTime: false, - start: 1679875200, + start: '2023-03-27', }, }, }; diff --git a/dexs/dragonswap-sei-v3/index.ts b/dexs/dragonswap-sei-v3/index.ts index b53920672a..bde0c9c8d1 100644 --- a/dexs/dragonswap-sei-v3/index.ts +++ b/dexs/dragonswap-sei-v3/index.ts @@ -27,7 +27,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SEI]: { fetch, - start: 1716854400, + start: '2024-05-28', }, } } diff --git a/dexs/dragonswap-sei/index.ts b/dexs/dragonswap-sei/index.ts index 12a9d3828f..7a75f7c5d1 100644 --- a/dexs/dragonswap-sei/index.ts +++ b/dexs/dragonswap-sei/index.ts @@ -27,7 +27,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SEI]: { fetch, - start: 1716854400, + start: '2024-05-28', }, } } diff --git a/dexs/drift-protocol/index.ts b/dexs/drift-protocol/index.ts index a55e241857..7c2e930ad2 100644 --- a/dexs/drift-protocol/index.ts +++ b/dexs/drift-protocol/index.ts @@ -64,13 +64,13 @@ const adapter: BreakdownAdapter = { swap: { [CHAIN.SOLANA]: { fetch: (_t: any, _tt: any, options: FetchOptions) => fetch("spot", options), - start: 1690239600, + start: '2023-07-25', }, }, derivatives: { [CHAIN.SOLANA]: { fetch: (_t: any, _tt: any, options: FetchOptions) => fetch("perp", options), - start: 1690239600, + start: '2023-07-25', }, }, }, diff --git a/dexs/dusa/index.ts b/dexs/dusa/index.ts index accf6ae334..5f8b44d782 100644 --- a/dexs/dusa/index.ts +++ b/dexs/dusa/index.ts @@ -31,7 +31,7 @@ const adapter: Adapter = { adapter: { massa: { fetch: fetchVolume, - start: 1713170000 + start: '2024-04-15' }, } } diff --git a/dexs/dx25/index.ts b/dexs/dx25/index.ts index 9e3360ecd7..2b979b1280 100644 --- a/dexs/dx25/index.ts +++ b/dexs/dx25/index.ts @@ -19,7 +19,7 @@ const rpc = (url: string, method: string, params: any) => const adapter: SimpleAdapter = { adapter: { [CHAIN.ELROND]: { - start: 1697414400, + start: '2023-10-16', fetch: async (ts) => { const data = await rpc(POOLS_SERVICE_URL, 'volumes_statistic', { timestamp: ts, diff --git a/dexs/dydx-v4/index.ts b/dexs/dydx-v4/index.ts index ae6412f773..4297a830df 100644 --- a/dexs/dydx-v4/index.ts +++ b/dexs/dydx-v4/index.ts @@ -18,7 +18,7 @@ const adapter: SimpleAdapter = { "dydx": { runAtCurrTime:true, fetch, - start: 1614211200, + start: '2021-02-25', }, }, }; diff --git a/dexs/dydx/index.ts b/dexs/dydx/index.ts index 6be678a6e4..49b31dc4cb 100644 --- a/dexs/dydx/index.ts +++ b/dexs/dydx/index.ts @@ -42,7 +42,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.ETHEREUM]: { fetch, - start: 1614211200, + start: '2021-02-25', }, }, }; diff --git a/dexs/e3/index.ts b/dexs/e3/index.ts index 113e7b47ea..6a166872ee 100644 --- a/dexs/e3/index.ts +++ b/dexs/e3/index.ts @@ -40,9 +40,9 @@ const fetch: any = async (timestamp: number, _: ChainBlocks, { getLogs, api, cre const adapter: SimpleAdapter = { adapter: { - [CHAIN.FANTOM]: { fetch, start: 1681130543, }, - [CHAIN.ARBITRUM]: { fetch, start: 1686459416, }, - [CHAIN.BASE]: { fetch, start: 1691547000, } + [CHAIN.FANTOM]: { fetch, start: '2023-04-10', }, + [CHAIN.ARBITRUM]: { fetch, start: '2023-06-11', }, + [CHAIN.BASE]: { fetch, start: '2023-08-09', } } }; diff --git a/dexs/edgeX/index.ts b/dexs/edgeX/index.ts index 40e51aedec..18d9a1207d 100644 --- a/dexs/edgeX/index.ts +++ b/dexs/edgeX/index.ts @@ -53,7 +53,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1722902400, + start: '2024-08-06', }, }, }; diff --git a/dexs/ekubo/index.ts b/dexs/ekubo/index.ts index f3b9d8b1d5..d209f8de09 100644 --- a/dexs/ekubo/index.ts +++ b/dexs/ekubo/index.ts @@ -23,7 +23,7 @@ const adapter: Adapter = { [CHAIN.STARKNET]: { fetch: fetch, runAtCurrTime: true, - start: 1695081600 + start: '2023-09-19' }, } } diff --git a/dexs/elektrik/index.ts b/dexs/elektrik/index.ts index 18b2659856..4ae13f369a 100644 --- a/dexs/elektrik/index.ts +++ b/dexs/elektrik/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.LIGHTLINK_PHOENIX]: { fetch: graphs(CHAIN.LIGHTLINK_PHOENIX), - start: 1697155200 + start: '2023-10-13' }, }, }; diff --git a/dexs/elexium/index.ts b/dexs/elexium/index.ts index f87e62f578..3e92028dc1 100644 --- a/dexs/elexium/index.ts +++ b/dexs/elexium/index.ts @@ -18,7 +18,7 @@ const adapter: SimpleAdapter = { 'alephium': { fetch: fetchVolume, runAtCurrTime: true, - start: 1654992851, + start: '2022-06-12', } } } diff --git a/dexs/emdx/index.ts b/dexs/emdx/index.ts index 0d986e7274..1fc70ea60a 100644 --- a/dexs/emdx/index.ts +++ b/dexs/emdx/index.ts @@ -17,7 +17,7 @@ const adapter: Adapter = { adapter: { [CHAIN.AVAX]: { fetch, - start: 1653134400 + start: '2022-05-21' }, } } diff --git a/dexs/equation-v2/index.ts b/dexs/equation-v2/index.ts index 160ffd9d7e..c3a26466e6 100644 --- a/dexs/equation-v2/index.ts +++ b/dexs/equation-v2/index.ts @@ -58,7 +58,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: getFetch()(CHAIN.ARBITRUM), - start: 1706227200, + start: '2024-01-26', meta:{ methodology: methodology, }, diff --git a/dexs/equation-v3/index.ts b/dexs/equation-v3/index.ts index 4babfdd2a9..e91afa3688 100644 --- a/dexs/equation-v3/index.ts +++ b/dexs/equation-v3/index.ts @@ -57,7 +57,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: getFetch()(CHAIN.ARBITRUM), - start: 1715558400, + start: '2024-05-13', meta:{ methodology: methodology, }, diff --git a/dexs/equation/index.ts b/dexs/equation/index.ts index cba4cedee0..4e95169874 100644 --- a/dexs/equation/index.ts +++ b/dexs/equation/index.ts @@ -58,7 +58,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: getFetch()(CHAIN.ARBITRUM), - start: 1697760000, + start: '2023-10-20', meta: { methodology: methodology, }, diff --git a/dexs/exinswap/index.ts b/dexs/exinswap/index.ts index e7c4830fcb..af65c58d7d 100644 --- a/dexs/exinswap/index.ts +++ b/dexs/exinswap/index.ts @@ -37,7 +37,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.MIXIN]: { fetch, - start: 1600704000, + start: '2020-09-21', }, } }; diff --git a/dexs/fairyswap/index.ts b/dexs/fairyswap/index.ts index b47a1a8372..3426cd5f70 100644 --- a/dexs/fairyswap/index.ts +++ b/dexs/fairyswap/index.ts @@ -53,7 +53,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.FINDORA]: { fetch: graphs(CHAIN.FINDORA), - start: 1647684000, + start: '2022-03-19', }, }, }; diff --git a/dexs/fcon-dex/index.ts b/dexs/fcon-dex/index.ts index 69fa9b8e8a..1e73b17d34 100644 --- a/dexs/fcon-dex/index.ts +++ b/dexs/fcon-dex/index.ts @@ -32,7 +32,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.MANTLE]: { fetch: async (timestamp: number) => {return {timestamp}}, - start: 1691280000, + start: '2023-08-06', }, }, }; diff --git a/dexs/fenix-finance-v3/index.ts b/dexs/fenix-finance-v3/index.ts index 343c6c9255..f94f0dcf94 100644 --- a/dexs/fenix-finance-v3/index.ts +++ b/dexs/fenix-finance-v3/index.ts @@ -27,7 +27,6 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BLAST]: { fetch: graphsAlgebraV3(CHAIN.BLAST), - start: 1596025, }, }, }; diff --git a/dexs/fenix-finance/index.ts b/dexs/fenix-finance/index.ts index e946ce1f7a..31208d8a0d 100644 --- a/dexs/fenix-finance/index.ts +++ b/dexs/fenix-finance/index.ts @@ -33,7 +33,6 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BLAST]: { fetch: graphs(CHAIN.BLAST), - start: 1596021, }, }, }; diff --git a/dexs/ferro/index.ts b/dexs/ferro/index.ts index a01ccb061f..30468ca8bf 100644 --- a/dexs/ferro/index.ts +++ b/dexs/ferro/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.CRONOS]: { fetch: graphs(CHAIN.CRONOS), - start: 1661731973, + start: '2022-08-29', }, }, }; diff --git a/dexs/filament/index.ts b/dexs/filament/index.ts index 7c3ef58e11..907f581968 100644 --- a/dexs/filament/index.ts +++ b/dexs/filament/index.ts @@ -20,7 +20,6 @@ const adapter: SimpleAdapter = { adapter: { sei: { fetch, - start: 100601154, runAtCurrTime: true, }, }, diff --git a/dexs/firefly/index.ts b/dexs/firefly/index.ts index 2bd8193753..f7a5de273e 100644 --- a/dexs/firefly/index.ts +++ b/dexs/firefly/index.ts @@ -9,7 +9,7 @@ const adapter: Adapter = { fetch: getUniV3LogAdapter({ factory: "0x8666EF9DC0cA5336147f1B11f2C4fC2ecA809B95", }), - start: 1711991119, + start: '2024-04-01', }, }, }; diff --git a/dexs/fjord-foundry/index.ts b/dexs/fjord-foundry/index.ts index ba984fc71a..b0ed249565 100644 --- a/dexs/fjord-foundry/index.ts +++ b/dexs/fjord-foundry/index.ts @@ -67,7 +67,7 @@ const adapter: BreakdownAdapter = { ...acc, [chain]: { fetch: async (_ts: number, _chain: any, { startOfDay }: FetchOptions) => await getV2Data(startOfDay, v2ChainIDs[chain]), - start: 1702857600, + start: '2023-12-18', }, } }, {}), @@ -76,7 +76,7 @@ const adapter: BreakdownAdapter = { ...acc, [chain]: { fetch: async (_ts: number, _chain: any, { startOfDay }: FetchOptions) => await getV1Data(startOfDay, v1ChainIDs[chain]), - start: 1631836800, + start: '2021-09-17', }, } }, {}), diff --git a/dexs/flamingo-finance/index.ts b/dexs/flamingo-finance/index.ts index 19613cf5d7..6a788881c7 100644 --- a/dexs/flamingo-finance/index.ts +++ b/dexs/flamingo-finance/index.ts @@ -17,7 +17,7 @@ const adapter: SimpleAdapter = { adapter: { neo: { fetch, - start: 1639130007, + start: '2021-12-10', }, }, }; diff --git a/dexs/flashtrade/index.ts b/dexs/flashtrade/index.ts index 0366700507..fd2a66ad88 100644 --- a/dexs/flashtrade/index.ts +++ b/dexs/flashtrade/index.ts @@ -20,7 +20,7 @@ const adapter: BreakdownAdapter = { perp: { [CHAIN.SOLANA]: { fetch: fetchPerpVolume, - start: 1710028800 // start time llama collect + start: '2024-03-10' // start time llama collect } } }, diff --git a/dexs/flowx-finance/index.ts b/dexs/flowx-finance/index.ts index d894f09d69..8f937f90c3 100644 --- a/dexs/flowx-finance/index.ts +++ b/dexs/flowx-finance/index.ts @@ -62,7 +62,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch: fetch, - start: 1673568000, + start: '2023-01-13', runAtCurrTime: true, }, }, diff --git a/dexs/fluid-dex/index.ts b/dexs/fluid-dex/index.ts index 2d0cf86456..826aa56eee 100644 --- a/dexs/fluid-dex/index.ts +++ b/dexs/fluid-dex/index.ts @@ -76,7 +76,7 @@ const fetch = async ({ api, createBalances, getLogs }: FetchOptions): Promise { const adapter: SimpleAdapter = { adapter: { - [CHAIN.ERA]: { fetch, start: 1690848000, }, - [CHAIN.ARBITRUM]: { fetch, start: 1698883200, }, + [CHAIN.ERA]: { fetch, start: '2023-08-01', }, + [CHAIN.ARBITRUM]: { fetch, start: '2023-11-02', }, }, version: 2 }; diff --git a/dexs/gaspump/index.ts b/dexs/gaspump/index.ts index dd446928ad..9341fc8cd9 100644 --- a/dexs/gaspump/index.ts +++ b/dexs/gaspump/index.ts @@ -26,7 +26,7 @@ const adapter: any = { adapter: { [CHAIN.TON]: { fetch, - start: 1725134400, + start: '2024-08-31', }, }, }; diff --git a/dexs/glyph-exchange-v4/index.ts b/dexs/glyph-exchange-v4/index.ts index 4d54bc800c..dd4c282eff 100644 --- a/dexs/glyph-exchange-v4/index.ts +++ b/dexs/glyph-exchange-v4/index.ts @@ -36,7 +36,7 @@ const classic = Object.keys(endpointsClassic).reduce( ...acc, [chain]: { fetch: graphsClassic(chain as Chain), - start: 1710806400, + start: '2024-03-19', meta: { methodology: { Fees: "GlyphExchange-v4 charges a dynamic fee", diff --git a/dexs/glyph-exchange/index.ts b/dexs/glyph-exchange/index.ts index 6f6a999975..ef570493eb 100644 --- a/dexs/glyph-exchange/index.ts +++ b/dexs/glyph-exchange/index.ts @@ -33,7 +33,7 @@ const classic = Object.keys(endpointsClassic).reduce( ...acc, [chain]: { fetch: graphsClassic(chain as Chain), - start: 1710806400, + start: '2024-03-19', meta: { methodology: { Fees: "GlyphExchange charges a flat 0.3% fee", diff --git a/dexs/goosefx/index.ts b/dexs/goosefx/index.ts index 8dc7b088e4..67a7841ff5 100644 --- a/dexs/goosefx/index.ts +++ b/dexs/goosefx/index.ts @@ -21,7 +21,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SOLANA]: { fetch: fetch, - start: 1696982400, + start: '2023-10-11', customBackfill: customBackfill(CHAIN.SOLANA as CHAIN, () => fetch), runAtCurrTime: false, meta: { diff --git a/dexs/grizzly-trade-derivatives-v2/index.ts b/dexs/grizzly-trade-derivatives-v2/index.ts index c02d38701a..be6da028a6 100644 --- a/dexs/grizzly-trade-derivatives-v2/index.ts +++ b/dexs/grizzly-trade-derivatives-v2/index.ts @@ -58,7 +58,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: fetch(), - start: 1706832000, + start: '2024-02-02', meta: { methodology, }, diff --git a/dexs/hadouken-amm/index.ts b/dexs/hadouken-amm/index.ts index 459720285f..e245107b3a 100644 --- a/dexs/hadouken-amm/index.ts +++ b/dexs/hadouken-amm/index.ts @@ -26,7 +26,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.GODWOKEN_V1]: { fetch: v1graphs(CHAIN.GODWOKEN_V1 as Chain), - start: 1669248000, + start: '2022-11-24', customBackfill: customBackfill(CHAIN.GODWOKEN_V1 as Chain, v1graphs), }, }, diff --git a/dexs/hbarsuite-dex/index.ts b/dexs/hbarsuite-dex/index.ts index 73d30d11fc..95ae6310f7 100644 --- a/dexs/hbarsuite-dex/index.ts +++ b/dexs/hbarsuite-dex/index.ts @@ -74,7 +74,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.HEDERA]: { fetch, - start: 1672531200, + start: '2023-01-01', meta: { methodology }, diff --git a/dexs/heliswap/index.ts b/dexs/heliswap/index.ts index 92c4fbe0b9..3bced84e91 100644 --- a/dexs/heliswap/index.ts +++ b/dexs/heliswap/index.ts @@ -72,7 +72,7 @@ const adapter: SimpleAdapter = { [CHAIN.HEDERA]: { fetch: fetch, runAtCurrTime: true, - start: 1664928000 + start: '2022-10-05' }, }, }; diff --git a/dexs/helix-markets/index.ts b/dexs/helix-markets/index.ts index 9fe6c0ad4d..d6828bcce1 100644 --- a/dexs/helix-markets/index.ts +++ b/dexs/helix-markets/index.ts @@ -23,7 +23,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ICP]: { fetch: fetch, - start: 1713830400, + start: '2024-04-23', runAtCurrTime: true, } } diff --git a/dexs/helix/index.ts b/dexs/helix/index.ts index 998276dab5..754c0b703a 100644 --- a/dexs/helix/index.ts +++ b/dexs/helix/index.ts @@ -37,13 +37,13 @@ const adapter: BreakdownAdapter = { "helix": { [CHAIN.INJECTIVE]: { fetch: fetch, - start: 1676505600, + start: '2023-02-16', } }, "helix-perp": { [CHAIN.INJECTIVE]: { fetch: fetchDerivative, - start: 1706313600, + start: '2024-01-27', } } } diff --git a/dexs/heraswap/index.ts b/dexs/heraswap/index.ts index 533b3e1390..1851014a94 100644 --- a/dexs/heraswap/index.ts +++ b/dexs/heraswap/index.ts @@ -34,7 +34,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ONUS]: { fetch, - start: 1677628800, + start: '2023-03-01', }, }, }; diff --git a/dexs/hmx/index.ts b/dexs/hmx/index.ts index b32e900090..4fa915c028 100644 --- a/dexs/hmx/index.ts +++ b/dexs/hmx/index.ts @@ -108,11 +108,11 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: graphs(endpoints)(CHAIN.ARBITRUM), - start: 1687806000, + start: '2023-06-26', }, [CHAIN.BLAST]: { fetch: graphs(endpoints)(CHAIN.BLAST), - start: 1707094598, + start: '2024-02-05', }, }, }; diff --git a/dexs/holdr/index.ts b/dexs/holdr/index.ts index dd234f5519..ff9ee36dfe 100644 --- a/dexs/holdr/index.ts +++ b/dexs/holdr/index.ts @@ -28,7 +28,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.AURORA]: { fetch: v1graphs(CHAIN.AURORA as Chain), - start: 1672531200, + start: '2023-01-01', customBackfill: customBackfill(CHAIN.AURORA as Chain, v1graphs), }, }, diff --git a/dexs/horiza/index.ts b/dexs/horiza/index.ts index af47940223..ef7dacd31d 100644 --- a/dexs/horiza/index.ts +++ b/dexs/horiza/index.ts @@ -7,7 +7,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: getUniV3LogAdapter({ factory: '0x5b1C257B88537d1Ce2AF55a1760336288CcD28B6', }), - start: 1704585600, + start: '2024-01-07', } } } diff --git a/dexs/hummus/index.ts b/dexs/hummus/index.ts index a4e3503a30..7dfd19162d 100644 --- a/dexs/hummus/index.ts +++ b/dexs/hummus/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.METIS]: { fetch, - start: 1661900400, + start: '2022-08-31', }, }, }; diff --git a/dexs/hydradx/index.ts b/dexs/hydradx/index.ts index c9a97f82a9..b4d7ee2130 100644 --- a/dexs/hydradx/index.ts +++ b/dexs/hydradx/index.ts @@ -26,7 +26,7 @@ const adapter: SimpleAdapter = { fetch, runAtCurrTime: true, customBackfill: undefined, - start: 1692662400, + start: '2023-08-22', }, } }; diff --git a/dexs/hyperionx/index.ts b/dexs/hyperionx/index.ts index f1c6aa0ffd..877d591cf9 100644 --- a/dexs/hyperionx/index.ts +++ b/dexs/hyperionx/index.ts @@ -58,7 +58,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ZKFAIR]: { fetch: graphs(CHAIN.ZKFAIR), - start: 1706659200, + start: '2024-01-31', }, }, }; diff --git a/dexs/hyperliquid/index.ts b/dexs/hyperliquid/index.ts index 1a1cdd80ee..1692eef4d4 100644 --- a/dexs/hyperliquid/index.ts +++ b/dexs/hyperliquid/index.ts @@ -25,7 +25,7 @@ const adapter: SimpleAdapter = { adapter: { "hyperliquid": { fetch, - start: 1677283200, + start: '2023-02-25', }, } }; diff --git a/dexs/icpswap/index.ts b/dexs/icpswap/index.ts index eeeea0b488..945598b51c 100644 --- a/dexs/icpswap/index.ts +++ b/dexs/icpswap/index.ts @@ -19,7 +19,7 @@ const adapter: Adapter = { [CHAIN.ICP]: { fetch: fetch, runAtCurrTime: true, - start: 1689465600, + start: '2023-07-16', }, } } diff --git a/dexs/idex-v4/index.ts b/dexs/idex-v4/index.ts index 9c6406ba35..cb93010e78 100644 --- a/dexs/idex-v4/index.ts +++ b/dexs/idex-v4/index.ts @@ -17,7 +17,7 @@ const adapter: SimpleAdapter = { adapter: { idex: { fetch, - start: 1721312070, + start: '2024-07-18', runAtCurrTime: true, }, }, diff --git a/dexs/immortalx/index.ts b/dexs/immortalx/index.ts index f0a3d5930b..f7fc78a538 100644 --- a/dexs/immortalx/index.ts +++ b/dexs/immortalx/index.ts @@ -53,7 +53,7 @@ const adapter: Adapter = { adapter: { [CHAIN.CELO]: { fetch: fetch(CHAIN.CELO), - start: 1690848000, + start: '2023-08-01', }, }, }; diff --git a/dexs/increment-protocol/index.ts b/dexs/increment-protocol/index.ts index 95df7609ec..7bbc663e61 100644 --- a/dexs/increment-protocol/index.ts +++ b/dexs/increment-protocol/index.ts @@ -29,7 +29,7 @@ export default { ); return { dailyVolume }; }, - start: 1710720000 + start: '2024-03-18' } } }; diff --git a/dexs/increment-swap/index.ts b/dexs/increment-swap/index.ts index 45aa7355f7..c9558a3c41 100644 --- a/dexs/increment-swap/index.ts +++ b/dexs/increment-swap/index.ts @@ -41,7 +41,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.FLOW]: { fetch, - start: 1650844800, + start: '2022-04-25', }, }, }; diff --git a/dexs/intent-x/index.tsx b/dexs/intent-x/index.tsx index d0348bbdc5..ae6d87dbde 100644 --- a/dexs/intent-x/index.tsx +++ b/dexs/intent-x/index.tsx @@ -284,19 +284,19 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetchVolume, - start: 1698796800, + start: '2023-11-01', }, [CHAIN.BLAST]: { fetch: fetchVolumeBlast, - start: 1698796800, + start: '2023-11-01', }, [CHAIN.MANTLE]: { fetch: fetchVolumeMantle, - start: 1698796800, + start: '2023-11-01', }, [CHAIN.ARBITRUM]: { fetch: fetchVolumeArbitrum, - start: 1698796800, + start: '2023-11-01', }, }, }; diff --git a/dexs/interest-protocol/index.ts b/dexs/interest-protocol/index.ts index 6193200b55..8f47313a02 100644 --- a/dexs/interest-protocol/index.ts +++ b/dexs/interest-protocol/index.ts @@ -28,7 +28,7 @@ const adapter: SimpleAdapter = { [CHAIN.SUI]: { fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', } }, }; diff --git a/dexs/jediswap-v2/index.ts b/dexs/jediswap-v2/index.ts index d7a2272b81..81ed7ba532 100644 --- a/dexs/jediswap-v2/index.ts +++ b/dexs/jediswap-v2/index.ts @@ -43,7 +43,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STARKNET]: { fetch: fetch, - start: 1707523200, + start: '2024-02-10', }, }, }; diff --git a/dexs/jediswap/index.ts b/dexs/jediswap/index.ts index 056186fe49..6de04731bf 100644 --- a/dexs/jediswap/index.ts +++ b/dexs/jediswap/index.ts @@ -50,7 +50,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STARKNET]: { fetch: fetch, - start: 1669593600, + start: '2022-11-28', }, }, }; diff --git a/dexs/joe-v2.1/index.ts b/dexs/joe-v2.1/index.ts index 5f5e8cad62..de36eee167 100644 --- a/dexs/joe-v2.1/index.ts +++ b/dexs/joe-v2.1/index.ts @@ -69,9 +69,9 @@ const fetch: FetchV2 = async (options: FetchOptions): Promise => const adapter: SimpleAdapter = { version: 2, adapter: { - [CHAIN.AVAX]: { fetch, start: 1682467200, }, - [CHAIN.ARBITRUM]: { fetch, start: 1682121600, }, - [CHAIN.BSC]: { fetch, start: 1681084800, }, + [CHAIN.AVAX]: { fetch, start: '2023-04-26', }, + [CHAIN.ARBITRUM]: { fetch, start: '2023-04-22', }, + [CHAIN.BSC]: { fetch, start: '2023-04-10', }, } }; diff --git a/dexs/jojo/index.ts b/dexs/jojo/index.ts index 11213a1cdd..e107a1a274 100644 --- a/dexs/jojo/index.ts +++ b/dexs/jojo/index.ts @@ -62,7 +62,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: getVolume, - start: 1711965100, + start: '2024-04-01', }, }, }; diff --git a/dexs/jswap/index.ts b/dexs/jswap/index.ts index 85a8846142..a645a7c52e 100644 --- a/dexs/jswap/index.ts +++ b/dexs/jswap/index.ts @@ -55,7 +55,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.OKEXCHAIN]: { fetch: graphs(CHAIN.OKEXCHAIN), - start: 1627385129, + start: '2021-07-27', }, }, }; diff --git a/dexs/jupiter-perpetual/index.ts b/dexs/jupiter-perpetual/index.ts index ee3cf5cd74..7e491aef8a 100644 --- a/dexs/jupiter-perpetual/index.ts +++ b/dexs/jupiter-perpetual/index.ts @@ -40,7 +40,7 @@ const adapter = { [CHAIN.SOLANA]: { fetch, runAtCurrTime: true, - start: 1705968000, + start: '2024-01-23', }, }, } diff --git a/dexs/karura-swap/index.ts b/dexs/karura-swap/index.ts index e61e9764d1..b3e524e189 100644 --- a/dexs/karura-swap/index.ts +++ b/dexs/karura-swap/index.ts @@ -49,7 +49,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.KARURA]: { fetch: fetch, - start: 1656818240, + start: '2022-07-03', customBackfill: customBackfill(CHAIN.KARURA as Chain, () => fetch) }, }, diff --git a/dexs/kiloex/index.ts b/dexs/kiloex/index.ts index 132b45bdf5..c6b5e93d54 100644 --- a/dexs/kiloex/index.ts +++ b/dexs/kiloex/index.ts @@ -46,22 +46,22 @@ const fetch = (chainId: string) => { const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { - fetch: fetch(CHAIN.BSC), start: 1686528000 + fetch: fetch(CHAIN.BSC), start: '2023-06-12' }, [CHAIN.OP_BNB]: { - fetch: fetch(CHAIN.OP_BNB), start: 1696636800 + fetch: fetch(CHAIN.OP_BNB), start: '2023-10-07' }, [CHAIN.MANTA]: { - fetch: fetch(CHAIN.MANTA), start: 1698796800 + fetch: fetch(CHAIN.MANTA), start: '2023-11-01' }, [CHAIN.TAIKO]: { - fetch: fetch(CHAIN.TAIKO), start: 1717027200 + fetch: fetch(CHAIN.TAIKO), start: '2024-05-30' }, [CHAIN.BSQUARED]: { - fetch: fetch(CHAIN.BSQUARED), start: 1722297600 + fetch: fetch(CHAIN.BSQUARED), start: '2024-07-30' }, [CHAIN.BASE]: { - fetch: fetch(CHAIN.BASE), start: 1728446497 + fetch: fetch(CHAIN.BASE), start: '2024-10-09' }, }, }; diff --git a/dexs/kinetix-derivatives-v2/index.ts b/dexs/kinetix-derivatives-v2/index.ts index 13643f6090..4b7854e1a4 100644 --- a/dexs/kinetix-derivatives-v2/index.ts +++ b/dexs/kinetix-derivatives-v2/index.ts @@ -59,7 +59,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.KAVA]: { fetch: fetch(), - start: 1706832000, + start: '2024-02-02', meta: { methodology, }, diff --git a/dexs/knightswap-finance/index.ts b/dexs/knightswap-finance/index.ts index 3fdab08278..9f8604079b 100644 --- a/dexs/knightswap-finance/index.ts +++ b/dexs/knightswap-finance/index.ts @@ -25,11 +25,11 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: v2Graph(CHAIN.BSC), - start: 1635379200, + start: '2021-10-28', }, [CHAIN.FANTOM]: { fetch: v2Graph(CHAIN.FANTOM), - start: 1637798400, + start: '2021-11-25', }, }, }; diff --git a/dexs/kokonut-swap/index.ts b/dexs/kokonut-swap/index.ts index 63e2e34474..79966f3ac8 100644 --- a/dexs/kokonut-swap/index.ts +++ b/dexs/kokonut-swap/index.ts @@ -41,17 +41,17 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.KLAYTN]: { fetch, - start: 1672358400, + start: '2022-12-30', runAtCurrTime: true }, [CHAIN.POLYGON_ZKEVM]: { fetch: fetchZKEVM, - start: 1687132800, + start: '2023-06-19', runAtCurrTime: true }, [CHAIN.BASE]: { fetch: fetchBASE, - start: 1691570805, + start: '2023-08-09', runAtCurrTime: true }, }, diff --git a/dexs/koyo/index.ts b/dexs/koyo/index.ts index fe2e6773e4..3fddf2e9f4 100644 --- a/dexs/koyo/index.ts +++ b/dexs/koyo/index.ts @@ -22,7 +22,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BOBA]: { fetch: graphs(CHAIN.BOBA), - start: 1655104044, + start: '2022-06-13', customBackfill: customBackfill(CHAIN.BOBA, graphs), }, }, diff --git a/dexs/kriya-clmm/index.ts b/dexs/kriya-clmm/index.ts index f8633517e9..c8d2ae6e8b 100644 --- a/dexs/kriya-clmm/index.ts +++ b/dexs/kriya-clmm/index.ts @@ -38,7 +38,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch: fetch(CHAIN.SUI), - start: 1683604174, + start: '2023-05-09', } }, }; diff --git a/dexs/kriya-dex/index.ts b/dexs/kriya-dex/index.ts index 0433d0f1da..9cad14a3b7 100644 --- a/dexs/kriya-dex/index.ts +++ b/dexs/kriya-dex/index.ts @@ -37,7 +37,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch: fetch(CHAIN.SUI), - start: 1683604174, + start: '2023-05-09', } }, }; diff --git a/dexs/kyex/index.ts b/dexs/kyex/index.ts index 91595a7d62..91a31811c3 100644 --- a/dexs/kyex/index.ts +++ b/dexs/kyex/index.ts @@ -42,7 +42,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ZETA]: { fetch, - start: 1725844149, + start: '2024-09-09', }, }, }; diff --git a/dexs/levana/index.ts b/dexs/levana/index.ts index bd1deb9315..8f7aafb527 100644 --- a/dexs/levana/index.ts +++ b/dexs/levana/index.ts @@ -13,7 +13,7 @@ const adapter: SimpleAdapter = { ]); return { timestamp, dailyVolume, totalVolume, } }, - start: 1688628356 + start: '2023-07-06' }, sei: { fetch: async (timestamp: number): Promise => { @@ -26,7 +26,7 @@ const adapter: SimpleAdapter = { return { timestamp, dailyVolume, totalVolume, } }, - start: 1691305909 + start: '2023-08-06' }, injective: { fetch: async (timestamp: number): Promise => { @@ -39,7 +39,7 @@ const adapter: SimpleAdapter = { return { timestamp, dailyVolume, totalVolume, } }, - start: 1695738685 + start: '2023-09-26' }, neutron: { fetch: async (timestamp: number): Promise => { @@ -52,7 +52,7 @@ const adapter: SimpleAdapter = { return { timestamp, dailyVolume, totalVolume, } }, - start: 1715168042 + start: '2024-05-08' } } } diff --git a/dexs/lexer/index.ts b/dexs/lexer/index.ts index 54e2453a57..7d6dd1f295 100644 --- a/dexs/lexer/index.ts +++ b/dexs/lexer/index.ts @@ -107,13 +107,13 @@ const adapter: BreakdownAdapter = { swap: { [CHAIN.ARBITRUM]: { fetch: fetchSwapValue, - start: 1704758400, + start: '2024-01-09', } }, derivatives: { [CHAIN.ARBITRUM]: { fetch: fetchDerivativesValue, - start: 1704758400, + start: '2024-01-09', } } } diff --git a/dexs/lighter/index.ts b/dexs/lighter/index.ts index 4c14b2dcee..9df0e15940 100644 --- a/dexs/lighter/index.ts +++ b/dexs/lighter/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.ARBITRUM]: { fetch, - start: 1677934513, + start: '2023-03-04', }, }, }; diff --git a/dexs/lighterv2/index.ts b/dexs/lighterv2/index.ts index 6db2c35419..4402b0669c 100644 --- a/dexs/lighterv2/index.ts +++ b/dexs/lighterv2/index.ts @@ -50,7 +50,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetchV2, - start: 1697144400, + start: '2023-10-12', }, }, }; diff --git a/dexs/linehub-perps/index.ts b/dexs/linehub-perps/index.ts index 391f70ce85..d00494334a 100644 --- a/dexs/linehub-perps/index.ts +++ b/dexs/linehub-perps/index.ts @@ -57,7 +57,7 @@ const adapter: Adapter = { adapter: { [CHAIN.LINEA]: { fetch: graphs(endpoints), - start: 1719878400, + start: '2024-07-02', meta: { methodology, }, diff --git a/dexs/liquidswap/index.ts b/dexs/liquidswap/index.ts index 518c3ed7ff..0539431e20 100644 --- a/dexs/liquidswap/index.ts +++ b/dexs/liquidswap/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch, - start: 1668902400 + start: '2022-11-20' }, }, }; diff --git a/dexs/lumenswap/index.ts b/dexs/lumenswap/index.ts index 261c290c72..1fd9249770 100644 --- a/dexs/lumenswap/index.ts +++ b/dexs/lumenswap/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STELLAR]: { fetch, - start: 1648771200, + start: '2022-04-01', }, }, }; diff --git a/dexs/lynex-v1/index.ts b/dexs/lynex-v1/index.ts index b39e01e723..48605d050f 100644 --- a/dexs/lynex-v1/index.ts +++ b/dexs/lynex-v1/index.ts @@ -22,7 +22,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.LINEA]: { fetch: graphqlV3(CHAIN.LINEA), - start: 1707620640, + start: '2024-02-11', }, }, version: 2, diff --git a/dexs/lyra/index.ts b/dexs/lyra/index.ts index 060016a7f0..6a4ed0a9da 100644 --- a/dexs/lyra/index.ts +++ b/dexs/lyra/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.LYRA]: { fetch: fetchLyraVolumeData, - start: 1702630075, + start: '2023-12-15', }, }, }; diff --git a/dexs/maia-v3/index.ts b/dexs/maia-v3/index.ts index 420aa8fd41..524060c416 100644 --- a/dexs/maia-v3/index.ts +++ b/dexs/maia-v3/index.ts @@ -40,7 +40,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.METIS]: { fetch: v3Graphs(CHAIN.METIS), - start: 1680307200, + start: '2023-04-01', meta: { methodology: { ...methodology, diff --git a/dexs/mangrove/index.ts b/dexs/mangrove/index.ts index 4ebcde2913..bd6be58fb1 100644 --- a/dexs/mangrove/index.ts +++ b/dexs/mangrove/index.ts @@ -15,11 +15,11 @@ type ChainConfig = { const mangrove: Record = { [CHAIN.BLAST]: { core: "0xb1a49C54192Ea59B233200eA38aB56650Dfb448C", - start: 1708992000, + start: '2024-02-27', }, [CHAIN.ARBITRUM]: { core: "0x109d9CDFA4aC534354873EF634EF63C235F93f61", - start: 1721664539, + start: '2024-07-22', }, }; diff --git a/dexs/megaton-finance/index.ts b/dexs/megaton-finance/index.ts index d11f20181b..59fd625f62 100644 --- a/dexs/megaton-finance/index.ts +++ b/dexs/megaton-finance/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.TON]: { fetch, - start: 1675814400, + start: '2023-02-08', }, }, }; diff --git a/dexs/merkle-trade/index.ts b/dexs/merkle-trade/index.ts index 57c4d325b9..0d76df37fd 100644 --- a/dexs/merkle-trade/index.ts +++ b/dexs/merkle-trade/index.ts @@ -21,7 +21,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch: fetch, - start: 1698138000, + start: '2023-10-24', }, }, }; diff --git a/dexs/metavault-derivatives-v2/index.ts b/dexs/metavault-derivatives-v2/index.ts index 2741ed774f..86368a7116 100644 --- a/dexs/metavault-derivatives-v2/index.ts +++ b/dexs/metavault-derivatives-v2/index.ts @@ -68,14 +68,14 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.LINEA]: { fetch: fetch(endpoints[CHAIN.LINEA]), - start: 1709251200, + start: '2024-03-01', meta: { methodology, }, }, [CHAIN.POLYGON]: { fetch: fetch(endpoints[CHAIN.POLYGON]), - start: 1709251200, + start: '2024-03-01', meta: { methodology, }, diff --git a/dexs/meteora/index.ts b/dexs/meteora/index.ts index 82f0694c05..06b7b987de 100644 --- a/dexs/meteora/index.ts +++ b/dexs/meteora/index.ts @@ -50,7 +50,7 @@ export default { [CHAIN.SOLANA]: { fetch: fetch, runAtCurrTime: true, - start: 1714435200, // Apr 30 2024 - 00:00:00 UTC + start: '2024-04-30', // Apr 30 2024 - 00:00:00 UTC } } } diff --git a/dexs/miaswap/index.ts b/dexs/miaswap/index.ts index f74942a9eb..3a6fc72ee1 100644 --- a/dexs/miaswap/index.ts +++ b/dexs/miaswap/index.ts @@ -30,7 +30,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.ONUS]: { fetch: async (timestamp: number) => { return { timestamp } }, - start: 1685577600, + start: '2023-06-01', }, }, }; diff --git a/dexs/mimo/index.ts b/dexs/mimo/index.ts index 8d1096c1f0..94e2bb72d9 100644 --- a/dexs/mimo/index.ts +++ b/dexs/mimo/index.ts @@ -23,7 +23,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: graphs(chain as Chain), - start: 1624332218 + start: '2021-06-22' } } }, {}) diff --git a/dexs/minswap/index.ts b/dexs/minswap/index.ts index d0ed7b3ea6..f2fee245b3 100644 --- a/dexs/minswap/index.ts +++ b/dexs/minswap/index.ts @@ -34,7 +34,7 @@ const getStartTimestamp = async () => { const adapter: SimpleAdapter = { adapter: { [CHAIN.CARDANO]: { - start: 1648080000, + start: '2022-03-24', fetch: fetch, } } diff --git a/dexs/mira-ly/index.ts b/dexs/mira-ly/index.ts index 864a24a893..52f5cdcca7 100644 --- a/dexs/mira-ly/index.ts +++ b/dexs/mira-ly/index.ts @@ -21,7 +21,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.FUEL]: { fetch: fetchVolume, - start: 1601424000, + start: '2020-09-30', } } } diff --git a/dexs/mobius-money/index.ts b/dexs/mobius-money/index.ts index 2bcd8cfb4e..869a5d37e4 100644 --- a/dexs/mobius-money/index.ts +++ b/dexs/mobius-money/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.CELO]: { fetch: graphs(CHAIN.CELO), - start: 1636514733, + start: '2021-11-10', }, }, }; diff --git a/dexs/morFi/index.ts b/dexs/morFi/index.ts index d55b079505..baa0cad381 100644 --- a/dexs/morFi/index.ts +++ b/dexs/morFi/index.ts @@ -28,7 +28,7 @@ const adapters: Adapter = { adapter: { [CHAIN.MORPH]: { fetch: fetch(CHAIN.MORPH), - start: 1730177105, + start: '2024-10-29', }, }, }; diff --git a/dexs/mu-exchange/index.ts b/dexs/mu-exchange/index.ts index 9f56912769..dc924a29aa 100644 --- a/dexs/mu-exchange/index.ts +++ b/dexs/mu-exchange/index.ts @@ -59,7 +59,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.XDAI]: { fetch: getFetch(CHAIN.XDAI), - start: 1699488000, + start: '2023-11-09', }, }, }; diff --git a/dexs/muesliswap/index.ts b/dexs/muesliswap/index.ts index 344ad12fc6..8be29c002d 100644 --- a/dexs/muesliswap/index.ts +++ b/dexs/muesliswap/index.ts @@ -35,7 +35,7 @@ const adapters = (() => { }); milkomeda.adapter[CHAIN.CARDANO] = { - start: 1638057600, + start: '2021-11-28', fetch: fetch, }; return milkomeda; diff --git a/dexs/mux-protocol/agge.ts b/dexs/mux-protocol/agge.ts index 9333bb7756..ff62bc774c 100644 --- a/dexs/mux-protocol/agge.ts +++ b/dexs/mux-protocol/agge.ts @@ -76,7 +76,7 @@ const adapteragges: any = { ...acc, [chain]: { fetch: fetch(chain as Chain), - start: 1708387200, + start: '2024-02-20', } } }, {}) diff --git a/dexs/mux-protocol/index.ts b/dexs/mux-protocol/index.ts index a02b364ad5..24aca99409 100644 --- a/dexs/mux-protocol/index.ts +++ b/dexs/mux-protocol/index.ts @@ -54,19 +54,19 @@ const adapter: any = { "mux-protocol": { [CHAIN.ARBITRUM]: { fetch: fetchVolume, - start: 1680393600, + start: '2023-04-02', }, [CHAIN.BSC]: { fetch: fetchVolume, - start: 1663459200, + start: '2022-09-18', }, [CHAIN.AVAX]: { fetch: fetchVolume, - start: 1675555200, + start: '2023-02-05', }, [CHAIN.OPTIMISM]: { fetch: fetchVolume, - start: 1678147200, + start: '2023-03-07', }, } } diff --git a/dexs/myswap-cl/index.ts b/dexs/myswap-cl/index.ts index 96a95e22d3..ba1c985823 100644 --- a/dexs/myswap-cl/index.ts +++ b/dexs/myswap-cl/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { [CHAIN.STARKNET]: { fetch: fetch, runAtCurrTime: true, - start: 1695081600, + start: '2023-09-19', }, }, }; diff --git a/dexs/myswap/index.ts b/dexs/myswap/index.ts index 0d6ccc8bd1..39eedf0e5f 100644 --- a/dexs/myswap/index.ts +++ b/dexs/myswap/index.ts @@ -45,7 +45,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STARKNET]: { fetch, - start: 1668729600 + start: '2022-11-18' }, }, }; diff --git a/dexs/nlx/index.ts b/dexs/nlx/index.ts index 52fcea8525..4258ca7655 100644 --- a/dexs/nlx/index.ts +++ b/dexs/nlx/index.ts @@ -59,7 +59,7 @@ const adapter: any = { adapter: { [CHAIN.CORE]: { fetch: fetch(CHAIN.CORE), - start: 1713916800, + start: '2024-04-24', }, }, }; diff --git a/dexs/nlx/nlx-trade/index.ts b/dexs/nlx/nlx-trade/index.ts index 7eb76d6950..13857a4616 100644 --- a/dexs/nlx/nlx-trade/index.ts +++ b/dexs/nlx/nlx-trade/index.ts @@ -68,7 +68,7 @@ const adapter_trade: any = { adapter: { [CHAIN.CORE]: { fetch: fetch(CHAIN.CORE), - start: 1713916800, + start: '2024-04-24', }, }, }; diff --git a/dexs/noah-swap/index.ts b/dexs/noah-swap/index.ts index 0ee90ac5a4..ec8bc0c9df 100644 --- a/dexs/noah-swap/index.ts +++ b/dexs/noah-swap/index.ts @@ -37,7 +37,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.EOS_EVM]: { fetch: fetchVolume, - start: 1699315200 + start: '2023-11-07' } } } diff --git a/dexs/nomiswap/index.ts b/dexs/nomiswap/index.ts index 922a0c0ab0..6d49c1ba59 100644 --- a/dexs/nomiswap/index.ts +++ b/dexs/nomiswap/index.ts @@ -34,7 +34,7 @@ const adapters: SimpleAdapter = { ...data } }, - start: 1634710338, + start: '2021-10-20', } } } diff --git a/dexs/nostra-pools/index.ts b/dexs/nostra-pools/index.ts index ef57024fc9..56d38c9901 100644 --- a/dexs/nostra-pools/index.ts +++ b/dexs/nostra-pools/index.ts @@ -18,7 +18,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STARKNET]: { fetch, - start: 1718236800, + start: '2024-06-13', }, }, }; diff --git a/dexs/ociswap/index.ts b/dexs/ociswap/index.ts index 0cd086c352..dc9e1f931e 100644 --- a/dexs/ociswap/index.ts +++ b/dexs/ociswap/index.ts @@ -39,14 +39,14 @@ const adapters: BreakdownAdapter = { basic: { [CHAIN.RADIXDLT]: { fetch: fetchVolume('basic'), - start: 1696118400, + start: '2023-10-01', // runAtCurrTime: true } }, precision: { [CHAIN.RADIXDLT]: { fetch: fetchVolume('precision'), - start: 1696118400, + start: '2023-10-01', // runAtCurrTime: true } } diff --git a/dexs/okcswap/index.ts b/dexs/okcswap/index.ts index ab3c23459b..07ea44255a 100644 --- a/dexs/okcswap/index.ts +++ b/dexs/okcswap/index.ts @@ -52,7 +52,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.OKEXCHAIN]: { fetch: graphs(CHAIN.OKEXCHAIN), - start: 1661126400, + start: '2022-08-22', }, }, }; diff --git a/dexs/openbook/index.ts b/dexs/openbook/index.ts index 32012c1083..2ce7cf4dba 100644 --- a/dexs/openbook/index.ts +++ b/dexs/openbook/index.ts @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = { [CHAIN.SOLANA]: { fetch: fetch, runAtCurrTime: true, - start: 1668643200, + start: '2022-11-17', }, }, }; diff --git a/dexs/optim-finance/index.ts b/dexs/optim-finance/index.ts index c45fb6604a..be7b2ce36a 100644 --- a/dexs/optim-finance/index.ts +++ b/dexs/optim-finance/index.ts @@ -18,7 +18,7 @@ const adapter: BreakdownAdapter = { derivatives: { [CHAIN.CARDANO]: { fetch: fetchVolume, - start: 1717200000, + start: '2024-06-01', } }, }, diff --git a/dexs/oraidex-v3/index.ts b/dexs/oraidex-v3/index.ts index 66810c943d..79427888b4 100644 --- a/dexs/oraidex-v3/index.ts +++ b/dexs/oraidex-v3/index.ts @@ -34,7 +34,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ORAI]: { fetch, - start: 1722587676, + start: '2024-08-02', }, }, }; diff --git a/dexs/oraidex/index.ts b/dexs/oraidex/index.ts index e6b40c4587..f0e1f46864 100644 --- a/dexs/oraidex/index.ts +++ b/dexs/oraidex/index.ts @@ -30,7 +30,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ORAI]: { fetch, - start: 1669248000, + start: '2022-11-24', }, }, }; diff --git a/dexs/orca/index.ts b/dexs/orca/index.ts index 3551b2b0ab..64f4c04ed2 100644 --- a/dexs/orca/index.ts +++ b/dexs/orca/index.ts @@ -125,12 +125,12 @@ export default { [CHAIN.SOLANA]: { fetch: fetchSolana, runAtCurrTime: true, - start: 1663113600, + start: '2022-09-14', }, [CHAIN.ECLIPSE]: { fetch: fetchEclipse, runAtCurrTime: true, - start: 1663113600, + start: '2022-09-14', } } } diff --git a/dexs/orderly-network/index.ts b/dexs/orderly-network/index.ts index b06ad23fc9..780d6ac8f3 100644 --- a/dexs/orderly-network/index.ts +++ b/dexs/orderly-network/index.ts @@ -11,7 +11,7 @@ const adapter: BreakdownAdapter = { breakdown: { "orderly-network": { [CHAIN.NEAR]: { - start: 1669977923, + start: '2022-12-02', fetch: async(__t: number, _: any, { startOfDay }: FetchOptions) => { try { const data = await httpGet(apiNear) // error @@ -32,7 +32,7 @@ const adapter: BreakdownAdapter = { }, "orderly-network-derivatives": { [CHAIN.ARBITRUM]: { - start: 1698278400, + start: '2023-10-26', fetch: async (__t: number, _: any, { startOfDay }: FetchOptions) =>{ const data = await httpGet(apiEVM) const cleanTimestamp = getUniqStartOfTodayTimestamp(new Date(startOfDay * 1000)) diff --git a/dexs/oswap/index.ts b/dexs/oswap/index.ts index 1e20c9b0c5..a6979df5c1 100644 --- a/dexs/oswap/index.ts +++ b/dexs/oswap/index.ts @@ -81,7 +81,7 @@ const fetch = async (timestamp: number) => { const adapter: SimpleAdapter = { adapter: { [CHAIN.OBYTE]: { - start: 1677542400, + start: '2023-02-28', runAtCurrTime: true, fetch: fetch } diff --git a/dexs/pact/index.ts b/dexs/pact/index.ts index 501e502807..987fc18969 100644 --- a/dexs/pact/index.ts +++ b/dexs/pact/index.ts @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ALGORAND]: { fetch, - start: 1667520000, + start: '2022-11-04', }, }, }; diff --git a/dexs/paint-swap/index.ts b/dexs/paint-swap/index.ts index e833bf4d67..131b8db49a 100644 --- a/dexs/paint-swap/index.ts +++ b/dexs/paint-swap/index.ts @@ -34,7 +34,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.FANTOM]: { fetch, - start: 1630584906, + start: '2021-09-02', }, }, }; diff --git a/dexs/palmswap/index.ts b/dexs/palmswap/index.ts index df1f391dc5..a66f9a13d3 100644 --- a/dexs/palmswap/index.ts +++ b/dexs/palmswap/index.ts @@ -115,7 +115,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: fetchVolume(), - start: 1689768000, + start: '2023-07-19', }, }, }; diff --git a/dexs/panacakeswap-perp/index.ts b/dexs/panacakeswap-perp/index.ts index c2afcad96c..b94aa38b2a 100644 --- a/dexs/panacakeswap-perp/index.ts +++ b/dexs/panacakeswap-perp/index.ts @@ -39,6 +39,6 @@ const adapter: any = { adapter: {}, }; -Object.keys(config).forEach((chain) => adapter.adapter[chain] = { fetch, start: 1690848000, }); +Object.keys(config).forEach((chain) => adapter.adapter[chain] = { fetch, start: '2023-08-01', }); export default adapter; diff --git a/dexs/paradex/index.ts b/dexs/paradex/index.ts index dfc2222aa6..df67550aa0 100644 --- a/dexs/paradex/index.ts +++ b/dexs/paradex/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1693526400, + start: '2023-09-01', }, }, }; diff --git a/dexs/paycash/index.ts b/dexs/paycash/index.ts index a5fb140ddf..0f19e2f3d5 100644 --- a/dexs/paycash/index.ts +++ b/dexs/paycash/index.ts @@ -39,7 +39,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.EOS]: { fetch, - start: 1618370204, + start: '2021-04-14', customBackfill: customBackfill(CHAIN.EOS as Chain, (_chian: string) => fetch) }, }, diff --git a/dexs/pear-protocol/index.ts b/dexs/pear-protocol/index.ts index c47449ac30..31bb84380d 100644 --- a/dexs/pear-protocol/index.ts +++ b/dexs/pear-protocol/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1715199684, + start: '2024-05-08', }, }, }; diff --git a/dexs/pegasys-v3/index.ts b/dexs/pegasys-v3/index.ts index c58e8f8ec9..d780661a33 100644 --- a/dexs/pegasys-v3/index.ts +++ b/dexs/pegasys-v3/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ROLLUX]: { fetch: graphs(CHAIN.ROLLUX), - start: 1688083200 + start: '2023-06-30' }, }, }; diff --git a/dexs/pendle/index.ts b/dexs/pendle/index.ts index 7a996d5d56..3b76c525fa 100644 --- a/dexs/pendle/index.ts +++ b/dexs/pendle/index.ts @@ -27,11 +27,11 @@ const abi: { [event: string]: string } = { }; const chains: { [chain: string]: { id: number; start: number } } = { - [CHAIN.ETHEREUM]: { id: 1, start: 1686268800 }, - [CHAIN.ARBITRUM]: { id: 42161, start: 1686268800 }, - [CHAIN.MANTLE]: { id: 5000, start: 1711506087 }, - [CHAIN.BSC]: { id: 56, start: 1686268800 }, - [CHAIN.OPTIMISM]: { id: 10, start: 1691733600 }, + [CHAIN.ETHEREUM]: { id: 1, start: '2023-06-09' }, + [CHAIN.ARBITRUM]: { id: 42161, start: '2023-06-09' }, + [CHAIN.MANTLE]: { id: 5000, start: '2024-03-27' }, + [CHAIN.BSC]: { id: 56, start: '2023-06-09' }, + [CHAIN.OPTIMISM]: { id: 10, start: '2023-08-11' }, }; async function amm( diff --git a/dexs/pheasantswap/index.ts b/dexs/pheasantswap/index.ts index 7949aca37e..7df72cecbd 100644 --- a/dexs/pheasantswap/index.ts +++ b/dexs/pheasantswap/index.ts @@ -26,7 +26,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ENULS]: { fetch, - start: 1682294400, + start: '2023-04-24', }, }, }; diff --git a/dexs/phoenix/index.ts b/dexs/phoenix/index.ts index 59e54fc77c..236d451654 100644 --- a/dexs/phoenix/index.ts +++ b/dexs/phoenix/index.ts @@ -24,7 +24,7 @@ export default { [CHAIN.SOLANA]: { fetch: fetch, // runAtCurrTime: true, - start: 1677456000, + start: '2023-02-27', } } } diff --git a/dexs/pika-protocol-v4/index.ts b/dexs/pika-protocol-v4/index.ts index 59607272b3..cba4f7a806 100644 --- a/dexs/pika-protocol-v4/index.ts +++ b/dexs/pika-protocol-v4/index.ts @@ -61,7 +61,7 @@ const adapter: Adapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetch(CHAIN.OPTIMISM), - start: 1687910400, + start: '2023-06-28', }, }, }; diff --git a/dexs/pika-protocol/index.ts b/dexs/pika-protocol/index.ts index 7c6f9dca69..ed4289d47d 100644 --- a/dexs/pika-protocol/index.ts +++ b/dexs/pika-protocol/index.ts @@ -61,7 +61,7 @@ const adapter: Adapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetch(CHAIN.OPTIMISM), - start: 1658534400, + start: '2022-07-23', }, }, }; diff --git a/dexs/pingu/index.ts b/dexs/pingu/index.ts index 9a9f319f15..bfa089ffd6 100644 --- a/dexs/pingu/index.ts +++ b/dexs/pingu/index.ts @@ -38,7 +38,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1704844800, + start: '2024-01-10', }, }, }; diff --git a/dexs/pixelswap/index.ts b/dexs/pixelswap/index.ts index d40df01fba..1a754d8276 100644 --- a/dexs/pixelswap/index.ts +++ b/dexs/pixelswap/index.ts @@ -36,7 +36,7 @@ const adapter: any = { adapter: { [CHAIN.TON]: { fetch, - start: 1726034340, + start: '2024-09-11', }, }, }; diff --git a/dexs/platypus/index.ts b/dexs/platypus/index.ts index 3c6c86c15c..d95f4b6db5 100644 --- a/dexs/platypus/index.ts +++ b/dexs/platypus/index.ts @@ -37,7 +37,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.AVAX]: { fetch: fetch, - start: 1635206400, + start: '2021-10-26', }, }, }; diff --git a/dexs/plenty/index.ts b/dexs/plenty/index.ts index e4935d7be7..e939ae1dcb 100644 --- a/dexs/plenty/index.ts +++ b/dexs/plenty/index.ts @@ -23,7 +23,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.TEZOS]: { fetch: fetch, - start: 1672531200, + start: '2023-01-01', }, }, }; diff --git a/dexs/polkadex/index.ts b/dexs/polkadex/index.ts index 41a3dad741..601a9a40f4 100644 --- a/dexs/polkadex/index.ts +++ b/dexs/polkadex/index.ts @@ -20,7 +20,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.POLKADEX]: { fetch: fetchVolume, - start: 1704292840 + start: '2024-01-03' } } }; diff --git a/dexs/polkaswap/index.ts b/dexs/polkaswap/index.ts index 9bb1a4413a..dbb8c560b7 100644 --- a/dexs/polkaswap/index.ts +++ b/dexs/polkaswap/index.ts @@ -47,7 +47,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SORA]: { fetch: fetch, - start: 1673136000 + start: '2023-01-08' }, }, }; diff --git a/dexs/polymarket/index.ts b/dexs/polymarket/index.ts index 95f8d6a88a..b57dda5ee2 100644 --- a/dexs/polymarket/index.ts +++ b/dexs/polymarket/index.ts @@ -20,7 +20,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.POLYGON]: { fetch: fetchFees, - start: 1601424000, + start: '2020-09-30', } }, isExpensiveAdapter: true, diff --git a/dexs/ponytaswap/index.ts b/dexs/ponytaswap/index.ts index 32c8b3d1d8..25dc0502ae 100644 --- a/dexs/ponytaswap/index.ts +++ b/dexs/ponytaswap/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.RPG]: { fetch, - start: 1678060800 + start: '2023-03-06' }, }, }; diff --git a/dexs/primex-finance/utils.ts b/dexs/primex-finance/utils.ts index 066f4a67c4..7153b3ca41 100644 --- a/dexs/primex-finance/utils.ts +++ b/dexs/primex-finance/utils.ts @@ -20,7 +20,7 @@ const config: { [chain: string]: ChainConfig } = { "0xc611c8c3689B67096180289643Bd086ae5833ADC", "0xc10771D8f5B6Ba702E3a44EC76969f07578F08b7", ], - start: 1697587200, + start: '2023-10-18', }, [CHAIN.ARBITRUM]: { swapManager: [ @@ -32,7 +32,7 @@ const config: { [chain: string]: ChainConfig } = { "0xF2225a8f90311DaF9e989db1AfFd47617bb69E96", "0xE81ed447d923153f51207fdc41973B204F085f21", ], - start: 1700611200, + start: '2023-11-22', }, [CHAIN.ETHEREUM]: { swapManager: [ @@ -44,7 +44,7 @@ const config: { [chain: string]: ChainConfig } = { "0x1da9c104C517C7b4465c8Eef458Da0a6c61835Fe", "0x2ff2D294312D3224d609fCc0b2EeE82b5f665753", ], - start: 1702771200, + start: '2023-12-17', }, }; diff --git a/dexs/pulsex-v1/index.ts b/dexs/pulsex-v1/index.ts index d9e620f0c0..54f8fcb42c 100644 --- a/dexs/pulsex-v1/index.ts +++ b/dexs/pulsex-v1/index.ts @@ -57,7 +57,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.PULSECHAIN]: { fetch: fetchVolume(CHAIN.PULSECHAIN), - start: 1684540800, + start: '2023-05-20', }, }, }; diff --git a/dexs/quenta/index.ts b/dexs/quenta/index.ts index a25c32a62c..3f84da3a23 100644 --- a/dexs/quenta/index.ts +++ b/dexs/quenta/index.ts @@ -49,7 +49,6 @@ const adapter: Adapter = { adapter: { [CHAIN.IOTEX]: { fetch, - start: 29643703, }, }, }; diff --git a/dexs/quickswap-hydra/index.ts b/dexs/quickswap-hydra/index.ts index 5b0746ccaa..7feceab982 100644 --- a/dexs/quickswap-hydra/index.ts +++ b/dexs/quickswap-hydra/index.ts @@ -63,14 +63,14 @@ const adapter: Adapter = { adapter: { [CHAIN.POLYGON_ZKEVM]: { fetch: graphs(endpoints), - start: 1719878400, + start: '2024-07-02', meta: { methodology, }, }, [CHAIN.MANTA]: { fetch: graphs(endpoints), - start: 1719878400, + start: '2024-07-02', meta: { methodology, }, diff --git a/dexs/quickswap-perps/index.ts b/dexs/quickswap-perps/index.ts index 99f3b6925d..688d1520d8 100644 --- a/dexs/quickswap-perps/index.ts +++ b/dexs/quickswap-perps/index.ts @@ -61,7 +61,7 @@ const adapter: Adapter = { adapter: { [CHAIN.POLYGON_ZKEVM]: { fetch: graphs(endpoints), - start: 1704067200, + start: '2024-01-01', meta: { methodology, }, diff --git a/dexs/quickswap/index.ts b/dexs/quickswap/index.ts index 2430984f86..ac172092fe 100644 --- a/dexs/quickswap/index.ts +++ b/dexs/quickswap/index.ts @@ -106,31 +106,31 @@ const adapter: BreakdownAdapter = { v2: { [CHAIN.POLYGON]: { fetch: graphs(CHAIN.POLYGON), - start: 1602118043, + start: '2020-10-08', }, }, v3: { [CHAIN.POLYGON]: { fetch: graphsAlgebraV3(CHAIN.POLYGON), - start: 1662425243, + start: '2022-09-06', }, // [CHAIN.DOGECHAIN]: { // fetch: graphsV3(CHAIN.DOGECHAIN), - // start: 1660694400 + // start: '2022-08-17' // }, [CHAIN.POLYGON_ZKEVM]: { fetch: graphsAlgebraV3(CHAIN.POLYGON_ZKEVM), - start: 1679875200, + start: '2023-03-27', }, [CHAIN.MANTA]: { fetch: v3GraphsUni(CHAIN.MANTA), - start: 1697690974, + start: '2023-10-19', }, }, liquidityHub: { [CHAIN.POLYGON]: { fetch: fetchLiquidityHub, - start: 1695042000, + start: '2023-09-18', }, }, }, diff --git a/dexs/rabbitx/index.ts b/dexs/rabbitx/index.ts index 55c33b8893..e2efd0fe58 100644 --- a/dexs/rabbitx/index.ts +++ b/dexs/rabbitx/index.ts @@ -45,7 +45,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetchVolume, - start: 1700179200, // Replace with actual start timestamp + start: '2023-11-17', // Replace with actual start timestamp }, }, }; diff --git a/dexs/raindex/index.ts b/dexs/raindex/index.ts index 3451211e5e..78b291a07f 100644 --- a/dexs/raindex/index.ts +++ b/dexs/raindex/index.ts @@ -9,81 +9,81 @@ type Orderbooks = { v3: Orderbook[], v4: Orderbook[] } const orderbooks: Record = { [CHAIN.ARBITRUM]: { v3: [ - { address: "0x90caf23ea7e507bb722647b0674e50d8d6468234", start: 1710573200 }, + { address: "0x90caf23ea7e507bb722647b0674e50d8d6468234", start: '2024-03-16' }, ], v4: [ - { address: "0x550878091b2b1506069f61ae59e3a5484bca9166", start: 1727110056 }, + { address: "0x550878091b2b1506069f61ae59e3a5484bca9166", start: '2024-09-23' }, ] }, [CHAIN.BASE]: { v3: [ - { address: "0x2aee87d75cd000583daec7a28db103b1c0c18b76", start: 1710593051 }, + { address: "0x2aee87d75cd000583daec7a28db103b1c0c18b76", start: '2024-03-16' }, ], v4: [ - { address: "0xd2938e7c9fe3597f78832ce780feb61945c377d7", start: 1724856007 }, - { address: "0xa2f56f8f74b7d04d61f281be6576b6155581dcba", start: 1719934425 }, - { address: "0x32aCbdF51abe567C91b7a5cd5E52024a5Ca56844", start: 1724451937 }, - { address: "0x80DE00e3cA96AE0569426A1bb1Ae22CD4181dE6F", start: 1724168357 }, - { address: "0x7A44459893F99b9d9a92d488eb5d16E4090f0545", start: 1723404441 }, + { address: "0xd2938e7c9fe3597f78832ce780feb61945c377d7", start: '2024-08-28' }, + { address: "0xa2f56f8f74b7d04d61f281be6576b6155581dcba", start: '2024-07-02' }, + { address: "0x32aCbdF51abe567C91b7a5cd5E52024a5Ca56844", start: '2024-08-24' }, + { address: "0x80DE00e3cA96AE0569426A1bb1Ae22CD4181dE6F", start: '2024-08-20' }, + { address: "0x7A44459893F99b9d9a92d488eb5d16E4090f0545", start: '2024-08-11' }, ], }, [CHAIN.BSC]: { v3: [ - { address: "0xb1d6d10561d4e1792a7c6b336b0529e4bfb5ea8f", start: 1710592564 }, + { address: "0xb1d6d10561d4e1792a7c6b336b0529e4bfb5ea8f", start: '2024-03-16' }, ], v4: [ - { address: "0xd2938e7c9fe3597f78832ce780feb61945c377d7", start: 1727110200 }, + { address: "0xd2938e7c9fe3597f78832ce780feb61945c377d7", start: '2024-09-23' }, ] }, [CHAIN.ETHEREUM]: { v3: [ - { address: "0xf1224a483ad7f1e9aa46a8ce41229f32d7549a74", start: 1707183011 }, + { address: "0xf1224a483ad7f1e9aa46a8ce41229f32d7549a74", start: '2024-02-06' }, ], v4: [ - { address: "0x0eA6d458488d1cf51695e1D6e4744e6FB715d37C", start: 1729850783 }, + { address: "0x0eA6d458488d1cf51695e1D6e4744e6FB715d37C", start: '2024-10-25' }, ] }, [CHAIN.FLARE]: { v3: [ - { address: "0xb06202aA3Fe7d85171fB7aA5f17011d17E63f382", start: 1712406628 }, + { address: "0xb06202aA3Fe7d85171fB7aA5f17011d17E63f382", start: '2024-04-06' }, ], v4: [ - { address: "0xcee8cd002f151a536394e564b84076c41bbbcd4d", start: 1725430973 }, - { address: "0xaa3b14Af0e29E3854E4148f43321C4410db002bC", start: 1724097373 }, - { address: "0xA2Ac77b982A9c0999472c1De378A81d7363d926F", start: 1724079109 }, - { address: "0x582d9e838FE6cD9F8147C66A8f56A3FBE513a6A2", start: 1720717267 }, + { address: "0xcee8cd002f151a536394e564b84076c41bbbcd4d", start: '2024-09-04' }, + { address: "0xaa3b14Af0e29E3854E4148f43321C4410db002bC", start: '2024-08-19' }, + { address: "0xA2Ac77b982A9c0999472c1De378A81d7363d926F", start: '2024-08-19' }, + { address: "0x582d9e838FE6cD9F8147C66A8f56A3FBE513a6A2", start: '2024-07-11' }, ] }, [CHAIN.LINEA]: { v3: [], v4: [ - { address: "0x22410e2a46261a1b1e3899a072f303022801c764", start: 1727718941 }, - { address: "0xF97DE1c2d864d90851aDBcbEe0A38260440B8D90", start: 1722282647 }, + { address: "0x22410e2a46261a1b1e3899a072f303022801c764", start: '2024-09-30' }, + { address: "0xF97DE1c2d864d90851aDBcbEe0A38260440B8D90", start: '2024-07-29' }, ] }, // not supported? // matchain: { // v3: [], // v4: [ - // { address: "0x40312EDAB8Fe65091354172ad79e9459f21094E2", start: 1725285390 }, + // { address: "0x40312EDAB8Fe65091354172ad79e9459f21094E2", start: '2024-09-02' }, // ] // }, [CHAIN.POLYGON]: { v3: [ - { address: "0xde5abe2837bc042397d80e37fb7b2c850a8d5a6c", start: 1705929922 }, - { address: "0x34200e026fbac0c902a0ff18e77a49265ca6ac99", start: 1691086795 }, - { address: "0xd3edafeb9eaa454ce26e60a66ccda73939c343a4", start: 1698953082 }, - { address: "0xc95a5f8efe14d7a20bd2e5bafec4e71f8ce0b9a6", start: 1710528345 }, - { address: "0x95c9bf235435b660aa69f519904c3f175aab393d", start: 1698859456 }, - { address: "0xdcdee0e7a58bba7e305db3abc42f4887ce8ef729", start: 1701659318 }, - { address: "0x16d518706d666c549da7bd31110623b09ef23abb", start: 1702067640 }, + { address: "0xde5abe2837bc042397d80e37fb7b2c850a8d5a6c", start: '2024-01-22' }, + { address: "0x34200e026fbac0c902a0ff18e77a49265ca6ac99", start: '2023-08-03' }, + { address: "0xd3edafeb9eaa454ce26e60a66ccda73939c343a4", start: '2023-11-02' }, + { address: "0xc95a5f8efe14d7a20bd2e5bafec4e71f8ce0b9a6", start: '2024-03-15' }, + { address: "0x95c9bf235435b660aa69f519904c3f175aab393d", start: '2023-11-01' }, + { address: "0xdcdee0e7a58bba7e305db3abc42f4887ce8ef729", start: '2023-12-04' }, + { address: "0x16d518706d666c549da7bd31110623b09ef23abb", start: '2023-12-08' }, ], v4: [ - { address: "0x7d2f700b1f6fd75734824ea4578960747bdf269a", start: 1726792922 }, - { address: "0x2f209e5b67a33b8fe96e28f24628df6da301c8eb", start: 1721758591 }, - { address: "0xb8CD71e3b4339c8B718D982358cB32Ed272e4174", start: 1723733415 }, - { address: "0x001B302095D66b777C04cd4d64b86CCe16de55A1", start: 1723728017 }, - { address: "0xAfD94467d2eC43D9aD39f835BA758b61b2f41A0E", start: 1721746069 }, + { address: "0x7d2f700b1f6fd75734824ea4578960747bdf269a", start: '2024-09-20' }, + { address: "0x2f209e5b67a33b8fe96e28f24628df6da301c8eb", start: '2024-07-23' }, + { address: "0xb8CD71e3b4339c8B718D982358cB32Ed272e4174", start: '2024-08-15' }, + { address: "0x001B302095D66b777C04cd4d64b86CCe16de55A1", start: '2024-08-15' }, + { address: "0xAfD94467d2eC43D9aD39f835BA758b61b2f41A0E", start: '2024-07-23' }, ] }, } as const diff --git a/dexs/raydium/index.ts b/dexs/raydium/index.ts index b3e893f70a..3c4ea09af9 100644 --- a/dexs/raydium/index.ts +++ b/dexs/raydium/index.ts @@ -70,7 +70,7 @@ const adapter: SimpleAdapter = { solana: { fetch: graphs, runAtCurrTime: true, - start: 1660521600, + start: '2022-08-15', }, }, }; diff --git a/dexs/reax-one-dex/index.ts b/dexs/reax-one-dex/index.ts index 18c261941a..9e5e5478ea 100644 --- a/dexs/reax-one-dex/index.ts +++ b/dexs/reax-one-dex/index.ts @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = { [chain]: { fetch: graphs(chain as Chain), customBackfill: customBackfill(chain as Chain, graphs), - start: 1689638400, + start: '2023-07-18', } } }, {}) diff --git a/dexs/retro/index.ts b/dexs/retro/index.ts index 034b8e110e..f3433ab58a 100644 --- a/dexs/retro/index.ts +++ b/dexs/retro/index.ts @@ -28,7 +28,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.POLYGON]: { fetch: v3Graphs(CHAIN.POLYGON), - start: 1688256000, + start: '2023-07-02', } } } diff --git a/dexs/rollie-finance/index.ts b/dexs/rollie-finance/index.ts index a773cb7ed7..2626ad8bd1 100644 --- a/dexs/rollie-finance/index.ts +++ b/dexs/rollie-finance/index.ts @@ -55,7 +55,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SCROLL]: { fetch: getFetch(CHAIN.SCROLL), - start: 1715212800, + start: '2024-05-09', }, }, }; diff --git a/dexs/ryze/index.ts b/dexs/ryze/index.ts index 76ee52ed26..6381ac9e9d 100644 --- a/dexs/ryze/index.ts +++ b/dexs/ryze/index.ts @@ -69,7 +69,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: v2Graphs(chain), - start: 1689974616, + start: '2023-07-21', } } }, {}) diff --git a/dexs/saddle-finance/index.ts b/dexs/saddle-finance/index.ts index f722d6b6ae..363055bf42 100644 --- a/dexs/saddle-finance/index.ts +++ b/dexs/saddle-finance/index.ts @@ -22,11 +22,11 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: graphs(CHAIN.ARBITRUM), - start: 1659750817, + start: '2022-08-06', }, [CHAIN.ETHEREUM]: { fetch: graphs(CHAIN.ETHEREUM), - start: 1628128417, + start: '2021-08-05', }, }, }; diff --git a/dexs/sanctum/index.ts b/dexs/sanctum/index.ts index 832bbc4066..fc34c66849 100644 --- a/dexs/sanctum/index.ts +++ b/dexs/sanctum/index.ts @@ -17,7 +17,7 @@ const adapter: SimpleAdapter = { adapter: { solana: { fetch, - start: 1657756800, + start: '2022-07-14', runAtCurrTime: true, }, }, diff --git a/dexs/satori/index.ts b/dexs/satori/index.ts index f5ec32d2b3..3eed9a02d2 100644 --- a/dexs/satori/index.ts +++ b/dexs/satori/index.ts @@ -127,37 +127,37 @@ const adapter: SimpleAdapter = { [CHAIN.POLYGON_ZKEVM]: { fetch:evm_fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', }, [CHAIN.ERA]: { fetch:era_fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', }, [CHAIN.LINEA]: { fetch:linea_fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', }, [CHAIN.SCROLL]: { fetch:scroll_fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', }, [CHAIN.BASE]: { fetch:base_fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', }, [CHAIN.ARBITRUM]: { fetch:arbitrum_fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', }, [CHAIN.XLAYER]: { fetch:xlayer_fetch, runAtCurrTime: true, - start: 1684003134, + start: '2023-05-13', } }, }; diff --git a/dexs/saturnswap/index.ts b/dexs/saturnswap/index.ts index d90d82d50d..7ec7b0b52b 100644 --- a/dexs/saturnswap/index.ts +++ b/dexs/saturnswap/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.CARDANO]: { fetch, - start: 1718251200, + start: '2024-06-13', }, }, }; diff --git a/dexs/saucerswap/index.ts b/dexs/saucerswap/index.ts index ffcc6003d6..529a283c81 100644 --- a/dexs/saucerswap/index.ts +++ b/dexs/saucerswap/index.ts @@ -39,7 +39,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.HEDERA]: { fetch, - start: 1659571200, + start: '2022-08-04', }, }, }; diff --git a/dexs/sharpe-dex/index.ts b/dexs/sharpe-dex/index.ts index c0e9affed9..be7636a9ff 100644 --- a/dexs/sharpe-dex/index.ts +++ b/dexs/sharpe-dex/index.ts @@ -22,7 +22,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1711963031, + start: '2024-04-01', }, }, }; diff --git a/dexs/shell-protocol/index.ts b/dexs/shell-protocol/index.ts index 8469cf90a8..2d523c5f22 100644 --- a/dexs/shell-protocol/index.ts +++ b/dexs/shell-protocol/index.ts @@ -11,7 +11,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch, - start: 1705968000, + start: '2024-01-23', }, }, }; diff --git a/dexs/shido-dex/index.ts b/dexs/shido-dex/index.ts index a82aaad10e..ac7ca505be 100644 --- a/dexs/shido-dex/index.ts +++ b/dexs/shido-dex/index.ts @@ -51,7 +51,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SHIDO]: { fetch: fetchV2Data, - start: 1727308800, + start: '2024-09-26', } }, }; diff --git a/dexs/shimmersea/index.ts b/dexs/shimmersea/index.ts index 9d231bf5e0..4e1065c065 100644 --- a/dexs/shimmersea/index.ts +++ b/dexs/shimmersea/index.ts @@ -9,7 +9,7 @@ const adapter: SimpleAdapter = { fetch: getUniV2LogAdapter({ factory: "0x4fb5d3a06f5de2e88ce490e2e11d22b840d5ac47", }), - start: 1696377600, + start: '2023-10-04', }, }, }; diff --git a/dexs/sithswap/index.ts b/dexs/sithswap/index.ts index 954ddf308d..4a20fd146e 100644 --- a/dexs/sithswap/index.ts +++ b/dexs/sithswap/index.ts @@ -37,7 +37,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.STARKNET]: { fetch: fetch, - start: 1673308800, + start: '2023-01-10', }, }, }; diff --git a/dexs/slingshot/index.ts b/dexs/slingshot/index.ts index b5562e8cc9..788c0e66fb 100644 --- a/dexs/slingshot/index.ts +++ b/dexs/slingshot/index.ts @@ -59,27 +59,27 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetchVolume(CHAIN.ARBITRUM), - start: 1683590400 + start: '2023-05-09' }, [CHAIN.ETHEREUM]: { fetch: fetchVolume(CHAIN.ETHEREUM), - start: 1683590400 + start: '2023-05-09' }, [CHAIN.POLYGON]: { fetch: fetchVolume(CHAIN.POLYGON), - start: 1683590400 + start: '2023-05-09' }, [CHAIN.OPTIMISM]: { fetch: fetchVolume(CHAIN.OPTIMISM), - start: 1683590400 + start: '2023-05-09' }, [CHAIN.BSC]: { fetch: fetchVolume(CHAIN.BSC), - start: 1683590400 + start: '2023-05-09' }, [CHAIN.CANTO]: { fetch: fetchVolume(CHAIN.CANTO), - start: 1683590400 + start: '2023-05-09' } } } diff --git a/dexs/sobal/index.ts b/dexs/sobal/index.ts index e3b0456598..d54349c15a 100644 --- a/dexs/sobal/index.ts +++ b/dexs/sobal/index.ts @@ -26,12 +26,12 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.NEON]: { fetch: graphs(CHAIN.NEON), - start: 1689613200, // 17TH JULY 5PM GMT + start: '2023-07-17', // 17TH JULY 5PM GMT customBackfill: customBackfill(CHAIN.NEON as Chain, graphs), }, [CHAIN.BASE]: { fetch: graphs(CHAIN.BASE), - start: 1690850000, // 1ST AUG 12:33 AM GMT + start: '2023-08-01', // 1ST AUG 12:33 AM GMT customBackfill: customBackfill(CHAIN.BASE as Chain, graphs), } } diff --git a/dexs/solar-studios/index.ts b/dexs/solar-studios/index.ts index ac71656bac..a62d83a27a 100644 --- a/dexs/solar-studios/index.ts +++ b/dexs/solar-studios/index.ts @@ -22,7 +22,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ECLIPSE]: { fetch: fetchVolume, - start: 1729382400, + start: '2024-10-20', } } } diff --git a/dexs/spacewhale/index.ts b/dexs/spacewhale/index.ts index 2a6dc1c76a..7c117f6276 100644 --- a/dexs/spacewhale/index.ts +++ b/dexs/spacewhale/index.ts @@ -38,7 +38,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1712109600, + start: '2024-04-03', }, }, }; diff --git a/dexs/spartan/index.ts b/dexs/spartan/index.ts index 1a77f0e1b6..24fc440131 100644 --- a/dexs/spartan/index.ts +++ b/dexs/spartan/index.ts @@ -46,7 +46,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: fetch, - start: 1633305600, + start: '2021-10-04', customBackfill: customBackfill(CHAIN.BSC as Chain, () => fetch) }, }, diff --git a/dexs/spectrum/index.ts b/dexs/spectrum/index.ts index e5b2468f33..36ca23d105 100644 --- a/dexs/spectrum/index.ts +++ b/dexs/spectrum/index.ts @@ -40,12 +40,12 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.CARDANO]: { fetch: fetchVolumeADA, - start: 1697068800, + start: '2023-10-12', runAtCurrTime: true, }, [CHAIN.ERGO]: { fetch: fetchVolumeERGO, - start: 1697068800, + start: '2023-10-12', runAtCurrTime: true, } } diff --git a/dexs/spicyswap/index.ts b/dexs/spicyswap/index.ts index 13aeeebd1a..9f8c5a6771 100644 --- a/dexs/spicyswap/index.ts +++ b/dexs/spicyswap/index.ts @@ -23,7 +23,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.TEZOS]: { fetch: fetchVolume, - start: 1688774400 + start: '2023-07-08' } } } diff --git a/dexs/spiritswap/index.ts b/dexs/spiritswap/index.ts index 2343621998..265340bfed 100644 --- a/dexs/spiritswap/index.ts +++ b/dexs/spiritswap/index.ts @@ -22,7 +22,7 @@ const adapter: SimpleAdapter = { adapter: { fantom: { fetch: graphs("fantom"), - start: 1620864000, + start: '2021-05-13', }, }, }; diff --git a/dexs/spookyswap/index.ts b/dexs/spookyswap/index.ts index b2ddc566ad..d9b9b7ab74 100644 --- a/dexs/spookyswap/index.ts +++ b/dexs/spookyswap/index.ts @@ -45,11 +45,10 @@ const adapter: SimpleAdapter = { }, [CHAIN.EON]: { fetch: graphsV3(CHAIN.EON), - start: 1698969600 + start: '2023-11-03' }, // [CHAIN.BITTORRENT]: { // fetch: graphsV3(CHAIN.BITTORRENT), - // start: 23534368 // }, }, }; diff --git a/dexs/squadswap-v2/index.ts b/dexs/squadswap-v2/index.ts index eb0a58773b..69b04da17c 100644 --- a/dexs/squadswap-v2/index.ts +++ b/dexs/squadswap-v2/index.ts @@ -30,7 +30,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: v2Graph(CHAIN.BSC), - start: 1702339200 + start: '2023-12-12' }, }, }; diff --git a/dexs/squadswap-v3/index.ts b/dexs/squadswap-v3/index.ts index 8aac3161bb..64448dc5bf 100644 --- a/dexs/squadswap-v3/index.ts +++ b/dexs/squadswap-v3/index.ts @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: v3Graphs(CHAIN.BSC), - start: 1704758400 + start: '2024-01-09' }, }, }; diff --git a/dexs/stabble/index.ts b/dexs/stabble/index.ts index 0b6b81e5cd..663f7f6f14 100644 --- a/dexs/stabble/index.ts +++ b/dexs/stabble/index.ts @@ -24,7 +24,7 @@ const adapter: Adapter = { adapter: { [CHAIN.SOLANA]: { fetch: fetch, - start: 1717563162, + start: '2024-06-05', }, }, }; diff --git a/dexs/standard-mode/index.ts b/dexs/standard-mode/index.ts index 0208acbf91..2a9a7c28f8 100644 --- a/dexs/standard-mode/index.ts +++ b/dexs/standard-mode/index.ts @@ -40,7 +40,7 @@ const fetchVolune: FetchV2 = async (options: FetchOptions) => { } -const options: any = { fetch: fetchVolune, start: 1708992000 } +const options: any = { fetch: fetchVolune, start: '2024-02-27' } const adapters: SimpleAdapter = { adapter: { [CHAIN.MODE]: options, diff --git a/dexs/starkdefi/index.ts b/dexs/starkdefi/index.ts index 2207bcf61d..c7507bd57d 100644 --- a/dexs/starkdefi/index.ts +++ b/dexs/starkdefi/index.ts @@ -29,7 +29,7 @@ const adapter: Adapter = { [CHAIN.STARKNET]: { fetch: fetch, // runAtCurrTime: true, - start: 1700956800, + start: '2023-11-26', }, }, }; diff --git a/dexs/ston/index.ts b/dexs/ston/index.ts index 173471c19b..1e098f81d1 100644 --- a/dexs/ston/index.ts +++ b/dexs/ston/index.ts @@ -22,7 +22,7 @@ const adapter: any = { adapter: { [CHAIN.TON]: { fetch, - start: 1668801600, + start: '2022-11-18', }, }, }; diff --git a/dexs/stormtrade/index.ts b/dexs/stormtrade/index.ts index d88afc7e05..d229786cdb 100644 --- a/dexs/stormtrade/index.ts +++ b/dexs/stormtrade/index.ts @@ -6,7 +6,7 @@ export default { adapter: { [CHAIN.TON]: { runAtCurrTime: true, - start: 1700000000, + start: '2023-11-14', meta: { methodology: { DailyVolume: 'Leverage trading volume', diff --git a/dexs/sudofinance/index.ts b/dexs/sudofinance/index.ts index 3c962c2052..8d781a5616 100644 --- a/dexs/sudofinance/index.ts +++ b/dexs/sudofinance/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch: fetch(CHAIN.SUI), - start: 1704412800, + start: '2024-01-05', } }, }; diff --git a/dexs/sundaeswap/index.ts b/dexs/sundaeswap/index.ts index 802e11fd04..dc6ab3646d 100644 --- a/dexs/sundaeswap/index.ts +++ b/dexs/sundaeswap/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.CARDANO]: { fetch, - start: 1643673600, + start: '2022-02-01', }, }, }; diff --git a/dexs/sunswap-v2/index.ts b/dexs/sunswap-v2/index.ts index 33de65964d..8be130bd2e 100644 --- a/dexs/sunswap-v2/index.ts +++ b/dexs/sunswap-v2/index.ts @@ -34,7 +34,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.TRON]: { fetch, - start: 1639440000, + start: '2021-12-14', }, }, }; diff --git a/dexs/sunswap-v3/index.ts b/dexs/sunswap-v3/index.ts index 15dfc906ed..449a85ac4a 100644 --- a/dexs/sunswap-v3/index.ts +++ b/dexs/sunswap-v3/index.ts @@ -25,7 +25,7 @@ const fetchVolume = async (timestamp: number): Promise => { const adapters: SimpleAdapter = { adapter: { [CHAIN.TRON]: { - start: 1702684800, + start: '2023-12-16', fetch: fetchVolume, } } diff --git a/dexs/supswap-v2/index.ts b/dexs/supswap-v2/index.ts index a941155a96..79de2598b5 100644 --- a/dexs/supswap-v2/index.ts +++ b/dexs/supswap-v2/index.ts @@ -28,7 +28,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.MODE]: { fetch: v2Graphs(CHAIN.MODE), - start: 1706313600, + start: '2024-01-27', }, }, }; diff --git a/dexs/supswap-v3/index.ts b/dexs/supswap-v3/index.ts index 23a2d8948a..c27afe4d33 100644 --- a/dexs/supswap-v3/index.ts +++ b/dexs/supswap-v3/index.ts @@ -28,7 +28,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.MODE]: { fetch: v3Graphs(CHAIN.MODE), - start: 1706313600, + start: '2024-01-27', }, }, }; diff --git a/dexs/surfone/index.ts b/dexs/surfone/index.ts index 3417ba1c11..2e04066578 100644 --- a/dexs/surfone/index.ts +++ b/dexs/surfone/index.ts @@ -36,7 +36,6 @@ const adapter: SimpleAdapter = { ['merlin']: { fetch: fetch(), runAtCurrTime: true, - start: 9142115, } }, }; diff --git a/dexs/surfswap/index.ts b/dexs/surfswap/index.ts index 1af9bb0250..6bc84139ab 100644 --- a/dexs/surfswap/index.ts +++ b/dexs/surfswap/index.ts @@ -63,13 +63,13 @@ const adapter: BreakdownAdapter = { classic: { [CHAIN.KAVA]: { fetch: graphs(CHAIN.KAVA as Chain), - start: 1659715200, + start: '2022-08-05', }, }, "stable-amm": { [CHAIN.KAVA]: { fetch: v1graphs(CHAIN.KAVA as Chain), - start: 1656547200, + start: '2022-06-30', }, }, } diff --git a/dexs/surge-trade/index.ts b/dexs/surge-trade/index.ts index 186fc60bcd..51af6ff9e0 100644 --- a/dexs/surge-trade/index.ts +++ b/dexs/surge-trade/index.ts @@ -16,7 +16,7 @@ const adapters: SimpleAdapter = { [CHAIN.RADIXDLT]: { fetch: fetchVolume, runAtCurrTime: true, - start: 1680048000, + start: '2023-03-29', } } } diff --git a/dexs/sushi-aptos/index.ts b/dexs/sushi-aptos/index.ts index d50c49fa76..d20be54ef0 100644 --- a/dexs/sushi-aptos/index.ts +++ b/dexs/sushi-aptos/index.ts @@ -87,7 +87,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch: fetchVolume, - start: 1708992000, + start: '2024-02-27', } }, version: 2, diff --git a/dexs/sushiswap/classic.ts b/dexs/sushiswap/classic.ts index fdee10fb47..9064260eaf 100644 --- a/dexs/sushiswap/classic.ts +++ b/dexs/sushiswap/classic.ts @@ -133,7 +133,7 @@ const classic = Object.keys(endpointsClassic).reduce( } } }, - start: 1711982400, + start: '2024-04-01', meta: { methodology: { Fees: "SushiSwap charges a flat 0.3% fee", @@ -174,7 +174,6 @@ classic[CHAIN.FANTOM] = { dailyRevenue: vol * 0.003, } }, - start: 0 } export default classic diff --git a/dexs/sushiswap/swap.ts b/dexs/sushiswap/swap.ts index 147a0953ee..cdf23efb8b 100644 --- a/dexs/sushiswap/swap.ts +++ b/dexs/sushiswap/swap.ts @@ -211,127 +211,127 @@ const fetch: FetchV2 = async ({ getLogs, createBalances, chain, }): Promise = { [CHAIN.ETHEREUM]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-ethereum/1.0.0/gn", - start: 1688169600, + start: '2023-07-01', id: '2', firstDayVolume: 0 }, [CHAIN.POLYGON]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-polygon/1.0.0/gn", - start: 1688083200, + start: '2023-06-30', id: '2', firstDayVolume: 240.41984714755376 }, [CHAIN.ARBITRUM]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-arbitrum/1.0.0/gn", - start: 1696464000, + start: '2023-10-05', id: '2', firstDayVolume: 0 }, [CHAIN.OPTIMISM]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-optimism/1.0.0/gn", - start: 1716986361, + start: '2024-05-29', id: '2', firstDayVolume: 0 }, [CHAIN.BSC]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-bsc/1.0.0/gn", - start: 1716994360, + start: '2024-05-29', id: '2', firstDayVolume: 0 }, [CHAIN.BASE]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-base/1.0.0/gn", - start: 1715692069, + start: '2024-05-14', id: '2', firstDayVolume: 0 }, [CHAIN.MODE]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-mode/1.0.1/gn", - start: 1714652681, + start: '2024-05-02', id: '2', firstDayVolume: 0 }, [CHAIN.SCROLL]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-scroll/prod/gn", - start: 1719508309, + start: '2024-06-27', id: '2', firstDayVolume: 0 }, [CHAIN.LINEA]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-linea/prod/gn", - start: 1719507890, + start: '2024-06-27', id: '2', firstDayVolume: 0 }, [CHAIN.MANTLE]: { api: "https://api.goldsky.com/api/public/project_clws2t7g7ae9c01xsbnu80a51/subgraphs/swaapv2-linea/prod/gn", - start: 1719508654, + start: '2024-06-27', id: '2', firstDayVolume: 0 }, @@ -155,51 +155,51 @@ const adapter: BreakdownAdapter = { totalVolume } }, - start: 1655195452 + start: '2022-06-14' }, }, v2: { [CHAIN.ETHEREUM]: { fetch: v2graphs, - start: 1688169600, + start: '2023-07-01', }, [CHAIN.POLYGON]: { fetch: v2graphs, - start: 1688083200, + start: '2023-06-30', }, [CHAIN.ARBITRUM]: { fetch: v2graphs, - start: 1696464000, + start: '2023-10-05', }, [CHAIN.OPTIMISM]: { fetch: v2graphs, - start: 1716986361, + start: '2024-05-29', }, [CHAIN.BSC]: { fetch: v2graphs, - start: 1716994360, + start: '2024-05-29', }, [CHAIN.BASE]: { fetch: v2graphs, - start: 1715692069, + start: '2024-05-14', }, [CHAIN.MODE]: { fetch: v2graphs, - start: 1714652681, + start: '2024-05-02', }, [CHAIN.SCROLL]: { fetch: v2graphs, - start: 1719508309, + start: '2024-06-27', }, [CHAIN.LINEA]: { fetch: v2graphs, - start: 1719507890, + start: '2024-06-27', }, [CHAIN.MANTLE]: { fetch: v2graphs, - start: 1719508654, + start: '2024-06-27', }, } diff --git a/dexs/swapbased/index.ts b/dexs/swapbased/index.ts index a0fb9cccdd..82a30c5898 100644 --- a/dexs/swapbased/index.ts +++ b/dexs/swapbased/index.ts @@ -144,7 +144,7 @@ const adapter: BreakdownAdapter = { getUniV2LogAdapter({ factory: "0x04C9f118d21e8B767D2e50C946f0cC9F6C367300", })(options), - start: 1690495200, + start: '2023-07-28', meta: { methodology }, }, }, @@ -156,13 +156,13 @@ const adapter: BreakdownAdapter = { swapEvent: "event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint128 protocolFeesToken0, uint128 protocolFeesToken1)", })(options), - start: 1690443269, + start: '2023-07-27', }, }, perps: { [CHAIN.BASE]: { fetch: getFetch(historicalDataSwap)(CHAIN.BASE), - start: 1688913853, + start: '2023-07-09', }, }, }, diff --git a/dexs/swapline/index.ts b/dexs/swapline/index.ts index d0b37bd3e3..c10a44e0c4 100644 --- a/dexs/swapline/index.ts +++ b/dexs/swapline/index.ts @@ -24,7 +24,7 @@ const fetch = async (_timestamp: number , _: ChainBlocks, { startOfDay,api, crea } } -const fetchObject = { fetch, start:1680048000 } +const fetchObject = { fetch, start: '2023-03-29' } const adapter: SimpleAdapter = { adapter: { diff --git a/dexs/swapmode/index.ts b/dexs/swapmode/index.ts index ec46fc33f6..a86216dd0a 100644 --- a/dexs/swapmode/index.ts +++ b/dexs/swapmode/index.ts @@ -83,7 +83,7 @@ const adapter: BreakdownAdapter = { ...acc, [chain]: { fetch: v2Graph(chain as Chain), - start: 1706818021, + start: '2024-02-01', customBackfill: customBackfill(chain, v2Graph), meta: { methodology: v2Methodology }, }, @@ -92,7 +92,7 @@ const adapter: BreakdownAdapter = { v3: Object.keys(v3Endpoints).reduce((acc, chain) => { acc[chain] = { fetch: v3Graphs(chain as Chain), - start: 1710177917, + start: '2024-03-11', meta: { methodology: v3Methodology, }, diff --git a/dexs/swop/index.ts b/dexs/swop/index.ts index dfe2a96a70..1a7c7ae1c1 100644 --- a/dexs/swop/index.ts +++ b/dexs/swop/index.ts @@ -82,7 +82,7 @@ const adapter: SimpleAdapter = { }, [CHAIN.UNIT0]: { fetch: fetchUnit0, - start: 1699401600, + start: '2023-11-08', }, } }; diff --git a/dexs/swych/index.ts b/dexs/swych/index.ts index 9f868f3319..e2bdca2351 100644 --- a/dexs/swych/index.ts +++ b/dexs/swych/index.ts @@ -129,7 +129,7 @@ export default { adapter: { [CHAIN.BSC]: { fetch: fetchVolumeStats, - start: 1701720000, + start: '2023-12-04', runAtCurrTime: false, }, }, diff --git a/dexs/synfutures-v1/index.ts b/dexs/synfutures-v1/index.ts index 3ecc11ed55..a28de98c78 100644 --- a/dexs/synfutures-v1/index.ts +++ b/dexs/synfutures-v1/index.ts @@ -58,19 +58,19 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.POLYGON]: { fetch: fetch(CHAIN.POLYGON), - start: 1628128417, + start: '2021-08-05', }, [CHAIN.ARBITRUM]: { fetch: fetch(CHAIN.ARBITRUM), - start: 1659750817, + start: '2022-08-06', }, [CHAIN.ETHEREUM]: { fetch: fetch(CHAIN.ETHEREUM), - start: 1628128417, + start: '2021-08-05', }, [CHAIN.BSC]: { fetch: fetch(CHAIN.BSC), - start: 1628128417, + start: '2021-08-05', }, }, }; diff --git a/dexs/synfutures-v2/index.ts b/dexs/synfutures-v2/index.ts index b9d494cebe..86f5dccaeb 100644 --- a/dexs/synfutures-v2/index.ts +++ b/dexs/synfutures-v2/index.ts @@ -81,7 +81,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.POLYGON]: { fetch: fetchVolume(CHAIN.POLYGON), - start: 1662595200 + start: '2022-09-08' } } } diff --git a/dexs/synfutures-v3/index.ts b/dexs/synfutures-v3/index.ts index 3d84d72fbf..099bd53842 100644 --- a/dexs/synfutures-v3/index.ts +++ b/dexs/synfutures-v3/index.ts @@ -97,11 +97,11 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BLAST]: { fetch: fetch(CHAIN.BLAST), - start: 1709197491, + start: '2024-02-29', }, [CHAIN.BASE]: { fetch: fetch(CHAIN.BASE), - start: 1719383967, + start: '2024-06-26', }, }, }; diff --git a/dexs/synthetix-v3/index.ts b/dexs/synthetix-v3/index.ts index 22288f35b6..38103cd968 100644 --- a/dexs/synthetix-v3/index.ts +++ b/dexs/synthetix-v3/index.ts @@ -29,11 +29,11 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetchFees, - start: 1705104000, + start: '2024-01-13', }, [CHAIN.ARBITRUM]: { fetch: fetchFees, - start: 1719187200, + start: '2024-06-24', } } } diff --git a/dexs/synthetix/index.ts b/dexs/synthetix/index.ts index 4e37455e31..df11656ec3 100644 --- a/dexs/synthetix/index.ts +++ b/dexs/synthetix/index.ts @@ -70,7 +70,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetchVolume, - start: 1682121600, + start: '2023-04-22', }, } }; diff --git a/dexs/tangleswap/index.ts b/dexs/tangleswap/index.ts index 873d97222a..725a39b239 100644 --- a/dexs/tangleswap/index.ts +++ b/dexs/tangleswap/index.ts @@ -9,7 +9,7 @@ const adapter: Adapter = { fetch: getUniV3LogAdapter({ factory: "0xdf7bA717FB0D5ce579252f05167cD96d0fA77bCb", }), - start: 1696377600, + start: '2023-10-04', }, }, }; diff --git a/dexs/tealswap/index.ts b/dexs/tealswap/index.ts index dfedf31913..e445659d62 100644 --- a/dexs/tealswap/index.ts +++ b/dexs/tealswap/index.ts @@ -43,7 +43,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.OAS]: { fetch, - start: 1671030000, + start: '2022-12-14', }, }, }; diff --git a/dexs/templedao-trade/index.ts b/dexs/templedao-trade/index.ts index b741d0ca05..03c97f9259 100644 --- a/dexs/templedao-trade/index.ts +++ b/dexs/templedao-trade/index.ts @@ -26,7 +26,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: graphs(chain as Chain), - start: 1655003840, + start: '2022-06-12', customBackfill: customBackfill(chain as Chain, graphs) } } diff --git a/dexs/thalaswap/index.ts b/dexs/thalaswap/index.ts index 01e8c2f2cf..52b9ee0304 100644 --- a/dexs/thalaswap/index.ts +++ b/dexs/thalaswap/index.ts @@ -67,7 +67,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch, - start: 1680652406, + start: '2023-04-05', }, }, }; diff --git a/dexs/thena-perp/index.ts b/dexs/thena-perp/index.ts index 03bdce385e..b347708e52 100644 --- a/dexs/thena-perp/index.ts +++ b/dexs/thena-perp/index.ts @@ -84,7 +84,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: fetchVolume, - start: 1702892400 + start: '2023-12-18' } } } diff --git a/dexs/thorswap/index.ts b/dexs/thorswap/index.ts index 1bd0d44672..e1599aef62 100644 --- a/dexs/thorswap/index.ts +++ b/dexs/thorswap/index.ts @@ -45,7 +45,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.THORCHAIN]: { fetch, - start: 1662508800, + start: '2022-09-07', }, }, }; diff --git a/dexs/tigris/index.ts b/dexs/tigris/index.ts index c5eac5473f..b5f9c3d871 100644 --- a/dexs/tigris/index.ts +++ b/dexs/tigris/index.ts @@ -64,11 +64,11 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch(CHAIN.ARBITRUM), - start: 1663023600, + start: '2022-09-13', }, [CHAIN.POLYGON]: { fetch: fetch(CHAIN.POLYGON), - start: 1663023600, + start: '2022-09-13', } } } diff --git a/dexs/tlx-finance/index.ts b/dexs/tlx-finance/index.ts index 7cbf27a947..a5cf1cb091 100644 --- a/dexs/tlx-finance/index.ts +++ b/dexs/tlx-finance/index.ts @@ -68,7 +68,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetchVolume, - start: 1715656337, + start: '2024-05-14', }, }, }; diff --git a/dexs/tokenlon/index.ts b/dexs/tokenlon/index.ts index ff99be8816..9591010ce7 100644 --- a/dexs/tokenlon/index.ts +++ b/dexs/tokenlon/index.ts @@ -201,8 +201,8 @@ const fetch = async (timestamp: number, _: ChainBlocks, { createBalances, getLog const pmmLogs = await getLogs({ target: "0x8D90113A1e286a5aB3e496fbD1853F265e5913c6", eventAbi: abis.FillOrder }); const rfqv1Logs = await getLogs({ target: "0xfD6C2d2499b1331101726A8AC68CCc9Da3fAB54F", eventAbi: abis.FillOrderByRFQ }); const rfqv2Logs = await getLogs({ target: "0x91c986709bb4fe0763edf8e2690ee9d5019bea4a", eventAbi: abis.FilledRFQ }); - const ammV1Logs = await getLogs({ target: "0x4a14347083B80E5216cA31350a2D21702aC3650d", eventAbi: abis.Swapped}); - const ammV2Logs = await getLogs({ target: "0x4a14347083B80E5216cA31350a2D21702aC3650d", topic: "0xc36ae6e11a161c28ae95fc0f8c0f56d3d0fb7f3a3524499c53fb6733ed86764d"}); + const ammV1Logs = await getLogs({ target: "0x4a14347083B80E5216cA31350a2D21702aC3650d", eventAbi: abis.Swapped }); + const ammV2Logs = await getLogs({ target: "0x4a14347083B80E5216cA31350a2D21702aC3650d", topic: "0xc36ae6e11a161c28ae95fc0f8c0f56d3d0fb7f3a3524499c53fb6733ed86764d" }); [ammV1Logs, rfqv1Logs, pmmLogs].flat().forEach((log: any) => { dailyVolume.add(log.makerAssetAddr, log.makerAssetAmount); @@ -233,10 +233,10 @@ const fetchL2 = async (timestamp: number, _: ChainBlocks, { createBalances, getL return { timestamp, dailyVolume }; }; -const adaptersMultiChain : any = {} -adaptersMultiChain[CHAIN.ETHEREUM] = {fetch, start: 1608048000} +const adaptersMultiChain: any = {} +adaptersMultiChain[CHAIN.ETHEREUM] = { fetch, start: '2020-12-15' } Object.keys(config).forEach(chain => { - adaptersMultiChain[chain] = { fetch: fetchL2, start: 0 } + adaptersMultiChain[chain] = { fetch: fetchL2 } }) const adapter: BreakdownAdapter = { @@ -244,10 +244,10 @@ const adapter: BreakdownAdapter = { tokenlon: { [CHAIN.ETHEREUM]: { fetch: fetchVolume(CHAIN.ETHEREUM), - start: 1608216488, + start: '2020-12-17', }, }, - "tokenlon-agg":adaptersMultiChain, + "tokenlon-agg": adaptersMultiChain, }, }; diff --git a/dexs/torch/index.ts b/dexs/torch/index.ts index 893dc69b82..4fe82da45f 100644 --- a/dexs/torch/index.ts +++ b/dexs/torch/index.ts @@ -15,7 +15,7 @@ const adapter: SimpleAdapter = { adapter: { ton: { fetch, - start: 1725256740, + start: '2024-09-02', }, }, } diff --git a/dexs/traderjoe/index.ts b/dexs/traderjoe/index.ts index bfe26bdeb8..eb72e9b1c9 100644 --- a/dexs/traderjoe/index.ts +++ b/dexs/traderjoe/index.ts @@ -73,33 +73,33 @@ const adapter: BreakdownAdapter = { v1: { [CHAIN.AVAX]: { fetch: graphsV1(CHAIN.AVAX), - start: 1628467200, + start: '2021-08-09', }, [CHAIN.BSC]: { fetch: graphsV1(CHAIN.BSC), - start: 1664841600, + start: '2022-10-04', }, [CHAIN.ARBITRUM]: { fetch: graphsV1(CHAIN.ARBITRUM), - start: 1664841600, + start: '2022-10-04', }, }, v2: { [CHAIN.AVAX]: { fetch: graphsV2(CHAIN.AVAX), - start: 1668556800 + start: '2022-11-16' }, [CHAIN.ARBITRUM]: { fetch: fetchV2, - start: 1672012800 + start: '2022-12-26' }, [CHAIN.BSC]: { fetch: fetchV2, - start: 1677801600 + start: '2023-03-03' }, [CHAIN.ETHEREUM]: { fetch: fetchV2, - start: 1695513600 + start: '2023-09-24' } } }, diff --git a/dexs/trado/index.ts b/dexs/trado/index.ts index 4d2c8e4459..26b107bb90 100644 --- a/dexs/trado/index.ts +++ b/dexs/trado/index.ts @@ -53,7 +53,6 @@ const adapter: Adapter = { adapter: { [CHAIN.FLOW]: { fetch, - start: 1430971, }, }, }; diff --git a/dexs/tradoor/index.ts b/dexs/tradoor/index.ts index 911cadc7c5..0c48a2959f 100644 --- a/dexs/tradoor/index.ts +++ b/dexs/tradoor/index.ts @@ -23,7 +23,7 @@ const adapter: any = { adapter: { [CHAIN.TON]: { fetch, - start: 1716048000, + start: '2024-05-18', }, }, }; diff --git a/dexs/ttswap/index.ts b/dexs/ttswap/index.ts index ff76643683..dabd682fd2 100644 --- a/dexs/ttswap/index.ts +++ b/dexs/ttswap/index.ts @@ -23,7 +23,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.THUNDERCORE]: { fetch, - start: 1673308800, + start: '2023-01-10', runAtCurrTime: true }, }, diff --git a/dexs/turbos/index.ts b/dexs/turbos/index.ts index 2722738a9f..166cc0dc76 100644 --- a/dexs/turbos/index.ts +++ b/dexs/turbos/index.ts @@ -40,7 +40,7 @@ const adapter: SimpleAdapter = { [CHAIN.SUI]: { fetch: fetch(CHAIN.SUI), runAtCurrTime: true, - start: 1697241600, + start: '2023-10-14', } }, }; diff --git a/dexs/unidex/index.ts b/dexs/unidex/index.ts index 6cc3037c4a..45e7c4fa1e 100644 --- a/dexs/unidex/index.ts +++ b/dexs/unidex/index.ts @@ -65,37 +65,37 @@ const adapter: any = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetch(CHAIN.OPTIMISM), - start: 1687422746, + start: '2023-06-22', meta: { methodology }, }, [CHAIN.ERA]: { fetch: fetch(CHAIN.ERA), - start: 1687422746, + start: '2023-06-22', meta: { methodology }, }, [CHAIN.ARBITRUM]: { fetch: fetch(CHAIN.ARBITRUM), - start: 1687422746, + start: '2023-06-22', meta: { methodology }, }, [CHAIN.BASE]: { fetch: fetch(CHAIN.BASE), - start: 1687422746, + start: '2023-06-22', meta: { methodology }, }, [CHAIN.FANTOM]: { fetch: fetch(CHAIN.FANTOM), - start: 1687422746, + start: '2023-06-22', meta: { methodology }, }, [CHAIN.METIS]: { fetch: fetch(CHAIN.METIS), - start: 1687898060, + start: '2023-06-27', meta: { methodology }, }, [CHAIN.EVMOS]: { fetch: fetch(CHAIN.EVMOS), - start: 1700104066, + start: '2023-11-16', meta: { methodology }, }, }, diff --git a/dexs/unidex/unidex-dexs-agg/index.ts b/dexs/unidex/unidex-dexs-agg/index.ts index 7a81f1432d..2f3ad4e7b0 100644 --- a/dexs/unidex/unidex-dexs-agg/index.ts +++ b/dexs/unidex/unidex-dexs-agg/index.ts @@ -50,7 +50,7 @@ const adapter_dexs_agg: any = { [(chainsMap as any)[chain] || chain]: { fetch: fetch(chain), runAtCurrTime: true, - start: 1704348000, + start: '2024-01-04', }, }; }, {}), diff --git a/dexs/vapordex/v2.ts b/dexs/vapordex/v2.ts index be81bf9fc4..3fefd93614 100644 --- a/dexs/vapordex/v2.ts +++ b/dexs/vapordex/v2.ts @@ -6,6 +6,6 @@ export default { fetch: getUniV3LogAdapter({ factory: "0x62B672E531f8c11391019F6fba0b8B6143504169", }), - start: 1697500800, + start: '2023-10-17', }, }; \ No newline at end of file diff --git a/dexs/veax/index.ts b/dexs/veax/index.ts index b2ccf542e5..0fde37cf26 100644 --- a/dexs/veax/index.ts +++ b/dexs/veax/index.ts @@ -16,7 +16,7 @@ const rpc = (url: string, method: string, params: any) => const adapter: SimpleAdapter = { adapter: { near: { - start: 1682607600, + start: '2023-04-27', fetch: async (ts) => { const data = await rpc(POOLS_SERVICE_URL, 'volumes_statistic', { timestamp: ts, diff --git a/dexs/vela/index.ts b/dexs/vela/index.ts index 79eebf2c6d..5ce2c6a237 100644 --- a/dexs/vela/index.ts +++ b/dexs/vela/index.ts @@ -45,11 +45,11 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: graphs(endpoints)(CHAIN.ARBITRUM), - start: 1687806000, + start: '2023-06-26', }, [CHAIN.BASE]: { fetch: graphs(endpoints)(CHAIN.BASE), - start: 1693785600 + start: '2023-09-04' } }, }; diff --git a/dexs/velocore-v2/index.ts b/dexs/velocore-v2/index.ts index d0ae815131..9f06bff97f 100644 --- a/dexs/velocore-v2/index.ts +++ b/dexs/velocore-v2/index.ts @@ -24,7 +24,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.LINEA]: { fetch, - start: 1690876967, + start: '2023-08-01', }, } }; diff --git a/dexs/velodrome-slipstream/index.ts b/dexs/velodrome-slipstream/index.ts index ad5671e241..c0af24d635 100644 --- a/dexs/velodrome-slipstream/index.ts +++ b/dexs/velodrome-slipstream/index.ts @@ -98,7 +98,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetch as any, - start: 1709724600, + start: '2024-03-06', } } } diff --git a/dexs/velodrome/index.ts b/dexs/velodrome/index.ts index 5688ae7efc..d4289b0ef3 100644 --- a/dexs/velodrome/index.ts +++ b/dexs/velodrome/index.ts @@ -34,15 +34,15 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetch(CHAIN.OPTIMISM), - start: 1677110400 + start: '2023-02-23' }, [CHAIN.MODE]: { fetch: fetchV2Volume, - start: 1715763701 + start: '2024-05-15' }, [CHAIN.BOB]: { fetch: fetchV2Volume, - start: 1715763701 + start: '2024-05-15' } }, }; diff --git a/dexs/verse/index.ts b/dexs/verse/index.ts index 04c88a3ff9..bb0790ef0b 100644 --- a/dexs/verse/index.ts +++ b/dexs/verse/index.ts @@ -19,11 +19,11 @@ const fetch = getChainVolume2({ const volumeAdapter: BaseAdapter = { [CHAIN.ETHEREUM]: { fetch: fetch(CHAIN.ETHEREUM), - start: 1655164800, + start: '2022-06-14', }, [CHAIN.SMARTBCH]: { fetch: fetch(CHAIN.SMARTBCH), - start: 1646697600, + start: '2022-03-08', }, } diff --git a/dexs/vertex-protocol/index.ts b/dexs/vertex-protocol/index.ts index 3275fc92cf..98835e6814 100644 --- a/dexs/vertex-protocol/index.ts +++ b/dexs/vertex-protocol/index.ts @@ -164,11 +164,11 @@ const adapter: BreakdownAdapter = { derivatives: { [CHAIN.ARBITRUM]: { fetch: fetchPerps, - start: 1718841600, + start: '2024-06-20', }, [CHAIN.MANTLE]: { fetch: fetchPerps, - start: 1718841600, + start: '2024-06-20', }, [CHAIN.SEI]: { fetch: fetchPerps, diff --git a/dexs/vexchange/index.ts b/dexs/vexchange/index.ts index 4d48f43a4a..f3dda02a20 100644 --- a/dexs/vexchange/index.ts +++ b/dexs/vexchange/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.VECHAIN]: { fetch, - start: 1673827200, + start: '2023-01-16', runAtCurrTime: true }, }, diff --git a/dexs/wagmi/index.ts b/dexs/wagmi/index.ts index a8eceb7da0..433667bc37 100644 --- a/dexs/wagmi/index.ts +++ b/dexs/wagmi/index.ts @@ -7,23 +7,22 @@ const adapter: SimpleAdapter = { adapter: { // [CHAIN.ERA]: { // fetch: fetchVolume(CHAIN.ERA), error: "Wagmi does not exist on Era", - // start: 1681257600, + // start: '2023-04-12', // }, [CHAIN.FANTOM]: { fetch: fetchVolume, - start: 1681257600, + start: '2023-04-12', }, [CHAIN.ETHEREUM]: { fetch: fetchVolume, - start: 18240112, }, [CHAIN.METIS]: { fetch: fetchVolume, - start: 1702888970, + start: '2023-12-18', }, [CHAIN.KAVA]: { fetch: fetchVolume, - start: 1694476800, + start: '2023-09-12', }, }, }; diff --git a/dexs/wardenswap/index.ts b/dexs/wardenswap/index.ts index 4a85c063d4..b46dff489a 100644 --- a/dexs/wardenswap/index.ts +++ b/dexs/wardenswap/index.ts @@ -30,7 +30,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: graphs(chain as Chain), - start: 1657443314 + start: '2022-07-10' } } }, {}) diff --git a/dexs/warpgate/index.ts b/dexs/warpgate/index.ts index 10ff2ef96f..5e64072bb0 100644 --- a/dexs/warpgate/index.ts +++ b/dexs/warpgate/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.IMX]: { fetch: graphs(CHAIN.IMX), - start: 1708041600 + start: '2024-02-16' }, }, }; diff --git a/dexs/wavelength-dao/index.ts b/dexs/wavelength-dao/index.ts index 554929975b..99db99b1eb 100644 --- a/dexs/wavelength-dao/index.ts +++ b/dexs/wavelength-dao/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.VELAS]: { fetch: graphs(CHAIN.VELAS), - start: 1666263553, + start: '2022-10-20', customBackfill: customBackfill(CHAIN.VELAS, graphs as unknown as IGraphs) }, }, diff --git a/dexs/web3world/index.ts b/dexs/web3world/index.ts index 9476f69893..8acecfdd19 100644 --- a/dexs/web3world/index.ts +++ b/dexs/web3world/index.ts @@ -60,7 +60,7 @@ const adapter: SimpleAdapter = { venom: { fetch, runAtCurrTime: true, - start: 1713139200, // 2024-04-15T00:00:00.000Z + start: '2024-04-15', // 2024-04-15T00:00:00.000Z }, }, version: 1, diff --git a/dexs/wefi/index.ts b/dexs/wefi/index.ts index 8315456cc4..1249c32403 100644 --- a/dexs/wefi/index.ts +++ b/dexs/wefi/index.ts @@ -27,19 +27,19 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.LINEA]: { fetch: fetchVolume, - start: 1704067200, + start: '2024-01-01', }, [CHAIN.XDC]: { fetch: fetchVolume, - start: 1704067200, + start: '2024-01-01', }, [CHAIN.POLYGON]: { fetch: fetchVolume, - start: 1704067200, + start: '2024-01-01', }, [CHAIN.BOBA]: { fetch: fetchVolume, - start: 1704067200, + start: '2024-01-01', }, } } diff --git a/dexs/wemix.fi/index.ts b/dexs/wemix.fi/index.ts index 8f289e2f46..282e2ea3d0 100644 --- a/dexs/wemix.fi/index.ts +++ b/dexs/wemix.fi/index.ts @@ -33,7 +33,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.WEMIX]: { fetch, - start: 1676937600, + start: '2023-02-21', }, }, }; diff --git a/dexs/wojak-finance/index.ts b/dexs/wojak-finance/index.ts index 4d258d9037..3ef48c9777 100644 --- a/dexs/wojak-finance/index.ts +++ b/dexs/wojak-finance/index.ts @@ -66,7 +66,7 @@ const adapter: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.DOGECHAIN]: { fetch: async (timestamp: number) => {return {timestamp} }, - start: 1661731200, + start: '2022-08-29', }, }, }; diff --git a/dexs/wombat-exchange/index.ts b/dexs/wombat-exchange/index.ts index b430961fd7..ee4f7889be 100644 --- a/dexs/wombat-exchange/index.ts +++ b/dexs/wombat-exchange/index.ts @@ -77,31 +77,31 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch: fetchVolume(CHAIN.BSC), - start: 1650243600, + start: '2022-04-18', }, [CHAIN.ARBITRUM]: { fetch: fetchVolume(CHAIN.ARBITRUM), - start: 1679809928, + start: '2023-03-26', }, [CHAIN.ETHEREUM]: { fetch: fetchVolume(CHAIN.ETHEREUM), - start: 1691290453, + start: '2023-08-06', }, [CHAIN.SCROLL]: { fetch: fetchVolume(CHAIN.SCROLL), - start: 1697417581, + start: '2023-10-16', }, [CHAIN.AVAX]: { fetch: fetchVolume(CHAIN.AVAX), - start: 1697493603, + start: '2023-10-17', }, [CHAIN.BASE]: { fetch: fetchVolume(CHAIN.BASE), - start: 1697486905, + start: '2023-10-16', }, [CHAIN.OPTIMISM]: { fetch: fetchVolume(CHAIN.OPTIMISM), - start: 1700173545, + start: '2023-11-16', }, }, }; diff --git a/dexs/xei/index.ts b/dexs/xei/index.ts index e1df4cf6c9..5164763fd0 100644 --- a/dexs/xei/index.ts +++ b/dexs/xei/index.ts @@ -22,7 +22,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch, - start: 1716890175, + start: '2024-05-28', runAtCurrTime:false, // customBackfill:customBackfill(contract, chain) }, diff --git a/dexs/xexchange/index.ts b/dexs/xexchange/index.ts index 66ab863306..2e46b86c4e 100644 --- a/dexs/xexchange/index.ts +++ b/dexs/xexchange/index.ts @@ -31,7 +31,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ELROND]: { fetch: fetch, - start: 1664928000 + start: '2022-10-05' }, }, }; diff --git a/dexs/xfai/index.ts b/dexs/xfai/index.ts index 475299acd4..8c024fcec6 100644 --- a/dexs/xfai/index.ts +++ b/dexs/xfai/index.ts @@ -51,7 +51,7 @@ const adapter: SimpleAdapter = { "Total fees are calculated by checking the token balances of the Xfai INFT", }, }, - start: 1692347965, // Aug-18-2023 08:39:25 AM +UTC + start: '2023-08-18', // Aug-18-2023 08:39:25 AM +UTC }, }, }; diff --git a/dexs/xswap-protocol/index.ts b/dexs/xswap-protocol/index.ts index 67defa4fe2..308de3d464 100644 --- a/dexs/xswap-protocol/index.ts +++ b/dexs/xswap-protocol/index.ts @@ -21,7 +21,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.XDC]: { fetch: graphs(CHAIN.XDC), - start: 1647993600, + start: '2022-03-23', }, }, } diff --git a/dexs/y2k/index.ts b/dexs/y2k/index.ts index 5ad933623f..8b1e4eb57f 100644 --- a/dexs/y2k/index.ts +++ b/dexs/y2k/index.ts @@ -9,13 +9,13 @@ const adapter: Adapter = { v1: { [CHAIN.ARBITRUM]: { fetch: v1Fetch, - start: 1667088000, + start: '2022-10-30', }, }, v2: { [CHAIN.ARBITRUM]: { fetch: v2Fetch, - start: 1685404800, + start: '2023-05-30', }, }, }, diff --git a/dexs/zeno/index.ts b/dexs/zeno/index.ts index 95cdafbbbe..1bc7d60fef 100644 --- a/dexs/zeno/index.ts +++ b/dexs/zeno/index.ts @@ -54,7 +54,7 @@ const adapter: Adapter = { adapter: { [CHAIN.METIS]: { fetch: fetch, - start: 1710294153, + start: '2024-03-13', }, }, }; diff --git a/dexs/zeta/index.ts b/dexs/zeta/index.ts index e2c02a6eac..c0077ea00a 100644 --- a/dexs/zeta/index.ts +++ b/dexs/zeta/index.ts @@ -19,7 +19,7 @@ const adapter = { [CHAIN.SOLANA]: { fetch: () => fetch(), runAtCurrTime: true, - start: 1693497600, + start: '2023-08-31', }, }, }, diff --git a/dexs/zigzag/index.ts b/dexs/zigzag/index.ts index 5bf7559301..f810d7df9d 100644 --- a/dexs/zigzag/index.ts +++ b/dexs/zigzag/index.ts @@ -41,7 +41,7 @@ const adapter: SimpleAdapter = { fetch, runAtCurrTime: true, customBackfill: undefined, - start: 1679443200, + start: '2023-03-22', }, } }; diff --git a/dexs/zilswap/index.ts b/dexs/zilswap/index.ts index aff785fe07..69c7194b18 100644 --- a/dexs/zilswap/index.ts +++ b/dexs/zilswap/index.ts @@ -24,7 +24,7 @@ const adapter: SimpleAdapter = { zilliqa: { fetch, runAtCurrTime: true, - start: 1673049600, + start: '2023-01-07', }, }, }; diff --git a/dexs/zkSwap_Finance/index.ts b/dexs/zkSwap_Finance/index.ts index c0798b126a..01db4375dd 100644 --- a/dexs/zkSwap_Finance/index.ts +++ b/dexs/zkSwap_Finance/index.ts @@ -6,7 +6,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ERA]: { fetch: fetchVolume(CHAIN.ERA), - start: 1684842780, + start: '2023-05-23', }, }, }; diff --git a/dexs/zkera-finance/index.ts b/dexs/zkera-finance/index.ts index fc197e25a2..32d33e02c9 100644 --- a/dexs/zkera-finance/index.ts +++ b/dexs/zkera-finance/index.ts @@ -7,7 +7,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.TELOS]: { fetch: fetchVolume, - start: 1627690586, + start: '2021-07-31', }, }, }; diff --git a/dexs/zklite/index.ts b/dexs/zklite/index.ts index 9f840401c8..bc4f1546a8 100644 --- a/dexs/zklite/index.ts +++ b/dexs/zklite/index.ts @@ -51,7 +51,7 @@ const adapter: SimpleAdapter = { fetch, runAtCurrTime: true, customBackfill: undefined, - start: 1712718123, + start: '2024-04-10', }, } }; diff --git a/dexs/zkswap/index.ts b/dexs/zkswap/index.ts index a6a4f4e223..013e2c6204 100644 --- a/dexs/zkswap/index.ts +++ b/dexs/zkswap/index.ts @@ -26,7 +26,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ERA]: { fetch: graph(CHAIN.ERA), - start: 1700524800, + start: '2023-11-21', } } } diff --git a/dexs/zyberswap/index.ts b/dexs/zyberswap/index.ts index 6516f196bd..e06e46fc21 100644 --- a/dexs/zyberswap/index.ts +++ b/dexs/zyberswap/index.ts @@ -45,19 +45,19 @@ const adapter: BreakdownAdapter = { v2: { [CHAIN.ARBITRUM]: { fetch: graphs(CHAIN.ARBITRUM), - start: 1674432000 + start: '2023-01-23' }, }, v3: { [CHAIN.ARBITRUM]: { fetch: graphsV3(CHAIN.ARBITRUM), - start: 1676887200 + start: '2023-02-20' }, }, stable: { [CHAIN.ARBITRUM]: { fetch: graphsStable(CHAIN.ARBITRUM), - start: 1676113200, + start: '2023-02-11', }, } }, diff --git a/fees/4cast/index.ts b/fees/4cast/index.ts index e1e02bc05f..6e7190e052 100644 --- a/fees/4cast/index.ts +++ b/fees/4cast/index.ts @@ -33,7 +33,7 @@ const adapter: Adapter = { [CHAIN.SOLANA]: { fetch, runAtCurrTime: false, - start: 1721174400, + start: '2024-07-17', }, }, }; diff --git a/fees/Omnidrome/index.ts b/fees/Omnidrome/index.ts index 481fd6e8ff..e2535f017a 100644 --- a/fees/Omnidrome/index.ts +++ b/fees/Omnidrome/index.ts @@ -8,7 +8,7 @@ const adapters: SimpleAdapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.ZETA]: { fetch: async (timestamp: number) => {return {timestamp, dailyFees: '0'}}, - start: 1707177600, + start: '2024-02-06', } } } diff --git a/fees/aave/index.ts b/fees/aave/index.ts index 20d17c2362..bbb044fd9c 100644 --- a/fees/aave/index.ts +++ b/fees/aave/index.ts @@ -449,71 +449,71 @@ const adapter = { // v1: { // [ETHEREUM]: { // fetch: v1Graphs(v1Endpoints)(ETHEREUM), -// start: 1578459600 +// start: '2020-01-08' // }, // }, v2: { [AVAX]: { fetch: v2Graphs(v2Endpoints)(AVAX), - start: 1606971600 + start: '2020-12-03' }, [ETHEREUM]: { fetch: v2Graphs(v2Endpoints)(ETHEREUM), - start: 1606971600 + start: '2020-12-03' }, [POLYGON]: { fetch: v2Graphs(v2Endpoints)(POLYGON), - start: 1606971600 + start: '2020-12-03' }, }, v3: { [AVAX]: { fetch: v3Graphs(v3Endpoints)(AVAX), - start: 1647230400 + start: '2022-03-14' }, [POLYGON]: { fetch: v3Graphs(v3Endpoints)(POLYGON), - start: 1647230400 + start: '2022-03-14' }, [ARBITRUM]: { fetch: v3Graphs(v3Endpoints)(ARBITRUM), - start: 1647230400 + start: '2022-03-14' }, [OPTIMISM]: { fetch: v3Graphs(v3Endpoints)(OPTIMISM), - start: 1647230400 + start: '2022-03-14' }, [FANTOM]: { fetch: v3Graphs(v3Endpoints)(FANTOM), - start: 1647230400 + start: '2022-03-14' }, [HARMONY]: { fetch: v3Graphs(v3Endpoints)(HARMONY), - start: 1647230400 + start: '2022-03-14' }, [CHAIN.ETHEREUM]: { fetch: v3Graphs(v3Endpoints)(CHAIN.ETHEREUM), - start: 1647230400 + start: '2022-03-14' }, [CHAIN.BSC]: { fetch: v3Graphs(v3Endpoints)(CHAIN.BSC), - start: 1700222400 + start: '2023-11-17' }, [CHAIN.XDAI]: { fetch: v3Graphs(v3Endpoints)(CHAIN.XDAI), - start: 1696420800 + start: '2023-10-04' }, [CHAIN.METIS]: { fetch: v3Graphs(v3Endpoints)(CHAIN.METIS), - start: 1682164800 + start: '2023-04-22' }, [CHAIN.BASE]: { fetch: v3Graphs(v3Endpoints)(CHAIN.BASE), - start: 1691496000 + start: '2023-08-08' }, [CHAIN.SCROLL]: { fetch: v3Graphs(v3Endpoints)(CHAIN.SCROLL), - start: 1705741200 + start: '2024-01-20' }, } }, diff --git a/fees/amphor/index.ts b/fees/amphor/index.ts index 5f7d28b93c..975b565d3b 100644 --- a/fees/amphor/index.ts +++ b/fees/amphor/index.ts @@ -53,7 +53,7 @@ const adapter: Adapter = { adapter: { [ETHEREUM]: { fetch: data, - start: 1696611600, + start: '2023-10-06', meta: { methodology } diff --git a/fees/angle/index.ts b/fees/angle/index.ts index 3ab63cb28e..a0aaa70ba0 100644 --- a/fees/angle/index.ts +++ b/fees/angle/index.ts @@ -223,23 +223,23 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: graph(endpoints)(CHAIN.ARBITRUM), - start: 1672531200, + start: '2023-01-01', }, [CHAIN.AVAX]: { fetch: graph(endpoints)(CHAIN.AVAX), - start: 1672531200, + start: '2023-01-01', }, [CHAIN.ETHEREUM]: { fetch: graph(endpoints)(CHAIN.ETHEREUM), - start: 1672531200, + start: '2023-01-01', }, [CHAIN.OPTIMISM]: { fetch: graph(endpoints)(CHAIN.OPTIMISM), - start: 1672531200, + start: '2023-01-01', }, [CHAIN.POLYGON]: { fetch: graph(endpoints)(CHAIN.POLYGON), - start: 1672531200, + start: '2023-01-01', }, }, version: 2 diff --git a/fees/apexdefi/index.ts b/fees/apexdefi/index.ts index eaa94dce0c..bd78b00310 100644 --- a/fees/apexdefi/index.ts +++ b/fees/apexdefi/index.ts @@ -51,21 +51,21 @@ const adapters: Adapter = { adapter: { [CHAIN.AVAX]: { fetch: fetch, - start: 1716868800, + start: '2024-05-28', meta: { methodology, }, }, [CHAIN.BASE]: { fetch: fetch, - start: 1716868800, + start: '2024-05-28', meta: { methodology, }, }, [CHAIN.ETHEREUM]: { fetch: fetch, - start: 1716868800, + start: '2024-05-28', meta: { methodology, }, diff --git a/fees/apollox/index.ts b/fees/apollox/index.ts index 641078930b..6db3397bc8 100644 --- a/fees/apollox/index.ts +++ b/fees/apollox/index.ts @@ -26,22 +26,22 @@ const adapter: Adapter = { [CHAIN.BSC]: { runAtCurrTime: true, fetch: request()(CHAIN.BSC), - start: 1689609600, + start: '2023-07-17', }, [CHAIN.ARBITRUM]: { runAtCurrTime: true, fetch: request()(CHAIN.ARBITRUM), - start: 1689609600, + start: '2023-07-17', }, [CHAIN.OP_BNB]: { runAtCurrTime: true, fetch: request()('opbnb'), - start: 1689609600, + start: '2023-07-17', }, [CHAIN.BASE]: { runAtCurrTime: true, fetch: request()(CHAIN.BASE), - start: 1689609600, + start: '2023-07-17', } } } diff --git a/fees/arbitrum/index.ts b/fees/arbitrum/index.ts index c498a1f682..05992d9b48 100644 --- a/fees/arbitrum/index.ts +++ b/fees/arbitrum/index.ts @@ -35,7 +35,7 @@ const adapter: Adapter = { return { dailyFees, dailyRevenue, }; }) as any, - start: 1628553600, + start: '2021-08-10', runAtCurrTime: true, }, }, diff --git a/fees/arrakis-v2/index.ts b/fees/arrakis-v2/index.ts index e333f77d32..53cda9afa4 100644 --- a/fees/arrakis-v2/index.ts +++ b/fees/arrakis-v2/index.ts @@ -100,27 +100,27 @@ const adapter: Adapter = { [CHAIN.ETHEREUM]: { fetch: (options: FetchOptions) => getVaultsFees(options, contracts[CHAIN.ETHEREUM]), - start: 1693039022, + start: '2023-08-26', }, // [CHAIN.POLYGON]: { // fetch: (options: FetchOptions) => // getVaultsFees(options, contracts[CHAIN.POLYGON]), - // start: 1693039022, + // start: '2023-08-26', // }, // [CHAIN.OPTIMISM]: { // fetch: (options: FetchOptions) => // getVaultsFees(options, contracts[CHAIN.OPTIMISM]), - // start: 1693039022, + // start: '2023-08-26', // }, // [CHAIN.BASE]: { // fetch: (options: FetchOptions) => // getVaultsFees(options, contracts[CHAIN.BASE]), - // start: 1693039022, + // start: '2023-08-26', // }, // [CHAIN.ARBITRUM]: { // fetch: (options: FetchOptions) => // getVaultsFees(options, contracts[CHAIN.ARBITRUM]), - // start: 1693039022, + // start: '2023-08-26', // }, }, version: 2, diff --git a/fees/ash-perp/index.ts b/fees/ash-perp/index.ts index 8213844233..36a474873b 100644 --- a/fees/ash-perp/index.ts +++ b/fees/ash-perp/index.ts @@ -29,7 +29,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ELROND]: { fetch, - start: 1706745600, + start: '2024-02-01', runAtCurrTime: true, } }, diff --git a/fees/avantis/index.ts b/fees/avantis/index.ts index 628801ff67..b6ccdc3ac8 100644 --- a/fees/avantis/index.ts +++ b/fees/avantis/index.ts @@ -53,7 +53,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetchData(CHAIN.BASE), - start: 1706313600, + start: '2024-01-27', }, }, version: 1 diff --git a/fees/beefy/index.ts b/fees/beefy/index.ts index ea6545538c..6703892e51 100644 --- a/fees/beefy/index.ts +++ b/fees/beefy/index.ts @@ -18,14 +18,14 @@ const methodology = { const defaultTargets = ['0x02ae4716b9d5d48db1445814b0ede39f5c28264b'] const adapter: any = {} const config: any = { - arbitrum: { start: 1693958400, tokens: ['0xaf88d065e77c8cc2239327c5edb3a432268e5831'], fromAddressFilter: '0x5f98f630009E0E090965fb42DDe95F5A2d495445' }, - base: { start: 1692921600, tokens: ['0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA'], fromAddressFilter: '0x02ae4716b9d5d48db1445814b0ede39f5c28264b'}, - polygon: { start: 1693958400, tokens: ['0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174'], logFilter: polygonLogFilter}, - avax: { start: 1693958400, tokens: ['0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E'], }, - optimism: { start: 1692921600, tokens: ['0x7F5c764cBc14f9669B88837ca1490cCa17c31607'], }, - bsc: { start: 1692921600, tokens: ['0x55d398326f99059fF775485246999027B3197955'], }, - ethereum: { start: 1692921600, tokens: ['0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'], targets: ['0x65f2145693bE3E75B8cfB2E318A3a74D057e6c7B'], logFilter: ethereumLogFilter, }, - linea: { start: 1710028800, tokens: ['0x176211869cA2b568f2A7D4EE941E073a821EE1ff'], }, + arbitrum: { start: '2023-09-06', tokens: ['0xaf88d065e77c8cc2239327c5edb3a432268e5831'], fromAddressFilter: '0x5f98f630009E0E090965fb42DDe95F5A2d495445' }, + base: { start: '2023-08-25', tokens: ['0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA'], fromAddressFilter: '0x02ae4716b9d5d48db1445814b0ede39f5c28264b'}, + polygon: { start: '2023-09-06', tokens: ['0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174'], logFilter: polygonLogFilter}, + avax: { start: '2023-09-06', tokens: ['0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E'], }, + optimism: { start: '2023-08-25', tokens: ['0x7F5c764cBc14f9669B88837ca1490cCa17c31607'], }, + bsc: { start: '2023-08-25', tokens: ['0x55d398326f99059fF775485246999027B3197955'], }, + ethereum: { start: '2023-08-25', tokens: ['0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'], targets: ['0x65f2145693bE3E75B8cfB2E318A3a74D057e6c7B'], logFilter: ethereumLogFilter, }, + linea: { start: '2024-03-10', tokens: ['0x176211869cA2b568f2A7D4EE941E073a821EE1ff'], }, } Object.keys(config).forEach(chain => { diff --git a/fees/betswirl/index.ts b/fees/betswirl/index.ts index d57a2eaf5e..25f586de9b 100644 --- a/fees/betswirl/index.ts +++ b/fees/betswirl/index.ts @@ -219,22 +219,22 @@ const adapter: Adapter = { version: 2, adapter: { [BSC]: { - start: 1658880000, + start: '2022-07-27', fetch: graphs()(BSC), meta, }, [POLYGON]: { - start: 1658880000, + start: '2022-07-27', fetch: graphs()(POLYGON), meta, }, [AVAX]: { - start: 1658880000, + start: '2022-07-27', fetch: graphs()(AVAX), meta, }, [ARBITRUM]: { - start: 1658880000, + start: '2022-07-27', fetch: graphs()(ARBITRUM), meta, }, diff --git a/fees/bifrost-liquid-staking/index.ts b/fees/bifrost-liquid-staking/index.ts index 948560990a..4d1b15f431 100644 --- a/fees/bifrost-liquid-staking/index.ts +++ b/fees/bifrost-liquid-staking/index.ts @@ -19,7 +19,7 @@ const adapter: any = { adapter: { [CHAIN.BIFROST]: { fetch, - start: 1640995200, + start: '2022-01-01', }, }, }; diff --git a/fees/bitlayer/index.ts b/fees/bitlayer/index.ts index aa45d9f935..66adb9020c 100644 --- a/fees/bitlayer/index.ts +++ b/fees/bitlayer/index.ts @@ -46,7 +46,7 @@ const adapter: Adapter = { dailyFees: dailyFees, }; }, - start: 1713089236, + start: '2024-04-14', }, }, protocolType: ProtocolType.CHAIN, diff --git a/fees/blex/index.ts b/fees/blex/index.ts index 0db9ab2e29..b798143693 100644 --- a/fees/blex/index.ts +++ b/fees/blex/index.ts @@ -109,7 +109,7 @@ const adapter: Adapter = { adapter: { [ARBITRUM]: { fetch: getFetch(allFeesData,userFeesData)(ARBITRUM), - start: 1691211277, + start: '2023-08-05', }, }, version: 1 diff --git a/fees/bluemove/index.ts b/fees/bluemove/index.ts index 6d267b8dd1..2680922fc5 100644 --- a/fees/bluemove/index.ts +++ b/fees/bluemove/index.ts @@ -34,7 +34,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.APTOS]: { fetch, - start: 1666224000, + start: '2022-10-20', }, }, version: 1 diff --git a/fees/blur/index.ts b/fees/blur/index.ts index cb9d6f3410..d103a01bf2 100644 --- a/fees/blur/index.ts +++ b/fees/blur/index.ts @@ -88,7 +88,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1688256000 + start: '2023-07-02' } }, version: 2 diff --git a/fees/bonk-bot/index.ts b/fees/bonk-bot/index.ts index becabf8cab..2194adfa5c 100644 --- a/fees/bonk-bot/index.ts +++ b/fees/bonk-bot/index.ts @@ -14,7 +14,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SOLANA]: { fetch: fethcFeesSolana, - start: 1692748800, + start: '2023-08-23', }, } } diff --git a/fees/buffer/index.ts b/fees/buffer/index.ts index d2da616c39..1f96090747 100644 --- a/fees/buffer/index.ts +++ b/fees/buffer/index.ts @@ -37,7 +37,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: graphs(endpoints)(CHAIN.ARBITRUM), - start: 1674950400, + start: '2023-01-29', }, }, version: 1, diff --git a/fees/cellula/index.ts b/fees/cellula/index.ts index abab1bf826..774196c942 100644 --- a/fees/cellula/index.ts +++ b/fees/cellula/index.ts @@ -62,7 +62,7 @@ const adapter: Adapter = { dailyRevenue, dailyProtocolRevenue, dailyHoldersRevenue, dailySupplySideRevenue } }) as FetchV2, - start: 1713052800, + start: '2024-04-14', meta: { methodology }, diff --git a/fees/cetus/index.ts b/fees/cetus/index.ts index 29fbb5bfb8..c404b55b09 100644 --- a/fees/cetus/index.ts +++ b/fees/cetus/index.ts @@ -38,7 +38,7 @@ const adapter: Adapter = { runAtCurrTime: false, customBackfill: undefined, fetch: fetchCetusStats, - start: 1704067200, + start: '2024-01-01', meta: { methodology, }, diff --git a/fees/chainflip/index.ts b/fees/chainflip/index.ts index edf64f7123..a7e5708747 100644 --- a/fees/chainflip/index.ts +++ b/fees/chainflip/index.ts @@ -40,7 +40,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.CHAINFLIP]: { fetch, - start: 1717113600, // First decent swap was 2024-05-31 09:22:30.000000 + start: '2024-05-31', // First decent swap was 2024-05-31 09:22:30.000000 runAtCurrTime: true, meta: { methodology: { diff --git a/fees/colony/index.ts b/fees/colony/index.ts index 6f58edf761..5addee2bef 100644 --- a/fees/colony/index.ts +++ b/fees/colony/index.ts @@ -151,7 +151,7 @@ const adapter: Adapter = { adapter: { [CHAIN.AVAX]: { fetch, - start: 1704067200, + start: '2024-01-01', meta: { methodology } diff --git a/fees/d2finance/index.ts b/fees/d2finance/index.ts index b9061ecfe8..c2aafe08c2 100644 --- a/fees/d2finance/index.ts +++ b/fees/d2finance/index.ts @@ -110,7 +110,7 @@ export default { adapter: { [ARBITRUM]: { fetch, - start: 1705715264, + start: '2024-01-20', runAtCurrTime: true, }, }, diff --git a/fees/dedust/index.ts b/fees/dedust/index.ts index 2c3f01b6bf..343d4cfbab 100644 --- a/fees/dedust/index.ts +++ b/fees/dedust/index.ts @@ -83,7 +83,7 @@ export default { version: 2, adapter: { [CHAIN.TON]: { - start: 1700000000, + start: '2023-11-14', meta: { methodology: { UserFees: "User pays fee on each swap (depends on pool, 0.1% - 1%).", diff --git a/fees/defiplaza/index.ts b/fees/defiplaza/index.ts index fd17515f24..e85a855d94 100644 --- a/fees/defiplaza/index.ts +++ b/fees/defiplaza/index.ts @@ -56,7 +56,7 @@ const adapter: SimpleAdapter = { SupplySideRevenue: "LPs revenue is a small percentage of each swap, which is updated manually on an irregular basis to optimize aggregator volume.", } }, - start: 1633237008 + start: '2021-10-03' }, [CHAIN.RADIXDLT]: { fetch: async ({ endTimestamp }: FetchOptions) => { @@ -84,7 +84,7 @@ const adapter: SimpleAdapter = { SupplySideRevenue: "LPs revenue is 0.5% of each swap, double if hopping between pairs is needed.", } }, - start: 1700784000 + start: '2023-11-24' } }, }; diff --git a/fees/demented-games/index.ts b/fees/demented-games/index.ts index bc0726f152..068e1f59ac 100644 --- a/fees/demented-games/index.ts +++ b/fees/demented-games/index.ts @@ -48,7 +48,7 @@ const adapter: Adapter = { [CHAIN.FUSE]: { fetch, runAtCurrTime: true, - start: 1720396800, + start: '2024-07-08', meta: { methodology: { Fees: 'Sum of all fees from each game on the Demented Games platform.', diff --git a/fees/dhedge/index.ts b/fees/dhedge/index.ts index bc90ee93c5..14de63cefc 100644 --- a/fees/dhedge/index.ts +++ b/fees/dhedge/index.ts @@ -94,10 +94,10 @@ const fetch = async ({ chain, endTimestamp, startTimestamp }: FetchOptions) => { const adapter: SimpleAdapter = { adapter: { - [CHAIN.OPTIMISM]: { fetch, start: 1638446653, }, - [CHAIN.POLYGON]: { fetch, start: 1627560253, }, - [CHAIN.ARBITRUM]: { fetch, start: 1679918653, }, - [CHAIN.BASE]: { fetch, start: 1703073853, }, + [CHAIN.OPTIMISM]: { fetch, start: '2021-12-02', }, + [CHAIN.POLYGON]: { fetch, start: '2021-07-29', }, + [CHAIN.ARBITRUM]: { fetch, start: '2023-03-27', }, + [CHAIN.BASE]: { fetch, start: '2023-12-20', }, }, version: 2 } diff --git a/fees/dln/index.ts b/fees/dln/index.ts index 055b438b93..003c51d191 100644 --- a/fees/dln/index.ts +++ b/fees/dln/index.ts @@ -42,43 +42,43 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetch(1), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.ARBITRUM]: { fetch: fetch(42161), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.AVAX]: { fetch: fetch(43114), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.BSC]: { fetch: fetch(56), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.POLYGON]: { fetch: fetch(137), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.SOLANA]: { fetch: fetch(7565164), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.LINEA]: { fetch: fetch(59144), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.BASE]: { fetch: fetch(8453), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.OPTIMISM]: { fetch: fetch(10), - start: 1680278400, + start: '2023-03-31', }, [CHAIN.FANTOM]: { fetch: fetch(250), - start: 1680278400, + start: '2023-03-31', }, }, }; diff --git a/fees/dydx-v4/index.ts b/fees/dydx-v4/index.ts index 5d45c53286..c6171d5a0e 100644 --- a/fees/dydx-v4/index.ts +++ b/fees/dydx-v4/index.ts @@ -25,7 +25,7 @@ const adapter: SimpleAdapter = { adapter: { "dydx": { fetch: fetchFees, - start: 1699747200, + start: '2023-11-12', } } } diff --git a/fees/equation-v2/index.ts b/fees/equation-v2/index.ts index 8d4f6738ea..aea9112722 100644 --- a/fees/equation-v2/index.ts +++ b/fees/equation-v2/index.ts @@ -54,7 +54,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: getFetch()(CHAIN.ARBITRUM), - start: 1706227200, + start: '2024-01-26', meta: { methodology } diff --git a/fees/equation-v3/index.ts b/fees/equation-v3/index.ts index 236069c199..91a56f7088 100644 --- a/fees/equation-v3/index.ts +++ b/fees/equation-v3/index.ts @@ -53,7 +53,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: getFetch()(CHAIN.ARBITRUM), - start: 1715558400, + start: '2024-05-13', meta: { methodology } diff --git a/fees/equation/index.ts b/fees/equation/index.ts index 55cf54940f..0f35dea98c 100644 --- a/fees/equation/index.ts +++ b/fees/equation/index.ts @@ -57,7 +57,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: getFetch()(CHAIN.ARBITRUM), - start: 1697760000, + start: '2023-10-20', meta: { methodology, }, diff --git a/fees/equity/index.ts b/fees/equity/index.ts index 5fe96df0e8..2fd424160c 100644 --- a/fees/equity/index.ts +++ b/fees/equity/index.ts @@ -48,7 +48,7 @@ const adapter: Adapter = { adapter: { [FANTOM]: { fetch: graphs(endpoints)(FANTOM), - start: 1689767230, + start: '2023-07-19', meta: { methodology: '100.00% of All & Any Fees generated from All activity on Any Equity Platform Product goes solely to veEQUAL voters.' } diff --git a/fees/erinaceus/index.ts b/fees/erinaceus/index.ts index 73a2455f0f..3bcf9fd79e 100644 --- a/fees/erinaceus/index.ts +++ b/fees/erinaceus/index.ts @@ -76,7 +76,7 @@ const adapter: Adapter = { adapter: { [CHAIN.BAHAMUT]: { fetch: fetch(CHAIN.BAHAMUT), - start: 1716364800, + start: '2024-05-22', meta: { methodology: 'All Fees generated from activity on Erinaceus VRF Coordinator contract.' }, diff --git a/fees/ether-fi/index.ts b/fees/ether-fi/index.ts index 530d9d4f66..e10b202aaf 100644 --- a/fees/ether-fi/index.ts +++ b/fees/ether-fi/index.ts @@ -73,7 +73,7 @@ const adapter: Adapter = { "Ether.fi-Liquid vault charges an annualized fee and staking fees are earned by the protocol.", }, }, - start: 1710284400, + start: '2024-03-13', }, }, }; diff --git a/fees/ethereum/index.ts b/fees/ethereum/index.ts index fb4b01528e..1d3febdfcf 100644 --- a/fees/ethereum/index.ts +++ b/fees/ethereum/index.ts @@ -48,7 +48,7 @@ const adapter: Adapter = { adapter: { [ETHEREUM]: { fetch, - start: 1438228800, + start: '2015-07-30', }, }, protocolType: ProtocolType.CHAIN diff --git a/fees/extra/index.ts b/fees/extra/index.ts index 2a24c9a85a..bc42684e10 100644 --- a/fees/extra/index.ts +++ b/fees/extra/index.ts @@ -100,11 +100,11 @@ const adapter: Adapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: graphs(CHAIN.OPTIMISM), - start: 1683450630, + start: '2023-05-07', }, [CHAIN.BASE]: { fetch: graphs(CHAIN.BASE), - start: 1693449471, + start: '2023-08-31', }, }, }; diff --git a/fees/factor/index.ts b/fees/factor/index.ts index 06a33692fc..2542ad89d5 100644 --- a/fees/factor/index.ts +++ b/fees/factor/index.ts @@ -37,7 +37,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch, - start: 1714687200, + start: '2024-05-03', runAtCurrTime: false, }, }, diff --git a/fees/fantasy-top/index.ts b/fees/fantasy-top/index.ts index dfb0a3f185..3657b88e15 100644 --- a/fees/fantasy-top/index.ts +++ b/fees/fantasy-top/index.ts @@ -16,7 +16,7 @@ const adapter: Adapter = { adapter: { [CHAIN.BLAST]: { fetch: getFees, - start: 1714445967 + start: '2024-04-30' }, }, }; diff --git a/fees/filament/index.tsx b/fees/filament/index.tsx index 42430fd411..915fc38713 100644 --- a/fees/filament/index.tsx +++ b/fees/filament/index.tsx @@ -96,7 +96,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SEI]: { fetch: fetchProtocolFees, - start: 1725741586, + start: '2024-09-07', meta: { methodology, }, diff --git a/fees/first-crypto-bank/index.ts b/fees/first-crypto-bank/index.ts index 2ce2f4c29f..32ad78b742 100644 --- a/fees/first-crypto-bank/index.ts +++ b/fees/first-crypto-bank/index.ts @@ -32,7 +32,7 @@ const adapter: Adapter = { adapter: { ethereum: { fetch, - start: 1703203200, + start: '2023-12-22', }, }, } diff --git a/fees/fjord-foundry/index.ts b/fees/fjord-foundry/index.ts index 250e1ccc80..555b94e8cd 100644 --- a/fees/fjord-foundry/index.ts +++ b/fees/fjord-foundry/index.ts @@ -77,7 +77,7 @@ const adapter: BreakdownAdapter = { ...acc, [chain]: { fetch: async ({ startOfDay }: FetchOptions) => await getV2Data(startOfDay, v2ChainIDs[chain]), - start: 1702857600, + start: '2023-12-18', meta: { methodology, }, @@ -89,7 +89,7 @@ const adapter: BreakdownAdapter = { ...acc, [chain]: { fetch: async ({ startOfDay }: FetchOptions) => await getV1Data(startOfDay, v1ChainIDs[chain]), - start: 1631836800, + start: '2021-09-17', meta: { methodology, }, diff --git a/fees/franklin-templeton/index.ts b/fees/franklin-templeton/index.ts index 0a9692a8dc..0bbe95f8bb 100644 --- a/fees/franklin-templeton/index.ts +++ b/fees/franklin-templeton/index.ts @@ -69,12 +69,12 @@ const adapter: Adapter = { [CHAIN.POLYGON]: { fetch: (...args: Parameters) => fetch(...args, CONFIG[CHAIN.POLYGON]), - start: 1696370400, + start: '2023-10-04', }, [CHAIN.STELLAR]: { fetch: (...args: Parameters) => fetch(...args, CONFIG[CHAIN.STELLAR]), - start: 1696370400, + start: '2023-10-04', }, }, }; diff --git a/fees/furucombo/index.ts b/fees/furucombo/index.ts index 20609dd3e7..f86f8e7059 100644 --- a/fees/furucombo/index.ts +++ b/fees/furucombo/index.ts @@ -25,39 +25,39 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetch(1), - start: 1661840884, + start: '2022-08-30', }, [CHAIN.POLYGON]: { fetch: fetch(137), - start: 1661844760, + start: '2022-08-30', }, [CHAIN.ARBITRUM]: { fetch: fetch(42161), - start: 1666339052, + start: '2022-10-21', }, [CHAIN.OPTIMISM]: { fetch: fetch(10), - start: 1666337829, + start: '2022-10-21', }, [CHAIN.AVAX]: { fetch: fetch(43114), - start: 1666340134, + start: '2022-10-21', }, [CHAIN.METIS]: { fetch: fetch(1088), - start: 1687247436, + start: '2023-06-20', }, [CHAIN.FANTOM]: { fetch: fetch(250), - start: 1677838630, + start: '2023-03-03', }, [CHAIN.BASE]: { fetch: fetch(8453), - start: 1700320327, + start: '2023-11-18', }, [CHAIN.XDAI]: { fetch: fetch(100), - start: 1700321230, + start: '2023-11-18', }, }, }; diff --git a/fees/fwx-dex/index.ts b/fees/fwx-dex/index.ts index 5d919a8b77..7c6a04ad9f 100644 --- a/fees/fwx-dex/index.ts +++ b/fees/fwx-dex/index.ts @@ -10,14 +10,14 @@ const adapter: Adapter = { factory: "0x858e3312ed3a876947ea49d572a7c42de08af7ee", fees: 0.001, }), - start: 1717632000, + start: '2024-06-06', }, [CHAIN.BASE]: { fetch: getUniV2LogAdapter({ factory: "0x858e3312ed3a876947ea49d572a7c42de08af7ee", fees: 0.0025, }), - start: 1725408000, + start: '2024-09-04', }, }, }; diff --git a/fees/fwx/index.ts b/fees/fwx/index.ts index a187eb1524..bd743d74a3 100644 --- a/fees/fwx/index.ts +++ b/fees/fwx/index.ts @@ -151,11 +151,11 @@ const adapter: Adapter = { adapter: { [CHAIN.AVAX]: { fetch: fetch(CHAIN.AVAX), - start: 1698796800, + start: '2023-11-01', }, [CHAIN.BASE]: { fetch: fetch(CHAIN.BASE), - start: 1725408000, + start: '2024-09-04', }, }, version: 1, diff --git a/fees/garden/index.ts b/fees/garden/index.ts index d203b762e5..711915501f 100644 --- a/fees/garden/index.ts +++ b/fees/garden/index.ts @@ -53,7 +53,7 @@ const adapter: SimpleAdapter = { ...acc, [chain]: { fetch: fetch(chain as CHAIN), - start: 1698796799, + start: '2023-11-01', meta: { methodology: { Fees: "Users pay 0.3% for each swap along with a base fee", diff --git a/fees/gaspump/index.ts b/fees/gaspump/index.ts index 7f7a020294..89b5cc9a43 100644 --- a/fees/gaspump/index.ts +++ b/fees/gaspump/index.ts @@ -26,7 +26,7 @@ const adapter: any = { adapter: { [CHAIN.TON]: { fetch, - start: 1725134400, + start: '2024-08-31', }, }, }; diff --git a/fees/gearbox/index.ts b/fees/gearbox/index.ts index a85929b272..9c582fca08 100644 --- a/fees/gearbox/index.ts +++ b/fees/gearbox/index.ts @@ -175,7 +175,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetch, - start: 1665360000, + start: '2022-10-10', }, }, }; diff --git a/fees/geist-finance/index.ts b/fees/geist-finance/index.ts index 3a7c7a3608..ac2a65a8b1 100644 --- a/fees/geist-finance/index.ts +++ b/fees/geist-finance/index.ts @@ -44,7 +44,7 @@ const adapter: Adapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [FANTOM]: { fetch: graphs()(CHAIN.FANTOM), - start: 1633478400, + start: '2021-10-06', }, }, } diff --git a/fees/ghostmarket/index.ts b/fees/ghostmarket/index.ts index 7aa7bb9da8..6cce7ae1f4 100644 --- a/fees/ghostmarket/index.ts +++ b/fees/ghostmarket/index.ts @@ -57,49 +57,49 @@ const adapter: Adapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [CHAIN.NEO]: { fetch: apis(endpoints)(CHAIN.NEO), - start: 1629813600, + start: '2021-08-24', meta: { methodology } }, [CHAIN.BSC]: { fetch: apis(endpoints)(CHAIN.BSC), - start: 1653868800, + start: '2022-05-30', meta: { methodology } }, [CHAIN.AVAX]: { fetch: apis(endpoints)(CHAIN.AVAX), - start: 1653868800, + start: '2022-05-30', meta: { methodology } }, [CHAIN.POLYGON]: { fetch: apis(endpoints)(CHAIN.POLYGON), - start: 1653868800, + start: '2022-05-30', meta: { methodology } }, [CHAIN.ETHEREUM]: { fetch: apis(endpoints)(CHAIN.ETHEREUM), - start: 1652400000, + start: '2022-05-13', meta: { methodology } }, [CHAIN.PHANTASMA]: { fetch: apis(endpoints)(CHAIN.PHANTASMA), - start: 1577664000, + start: '2019-12-30', meta: { methodology } }, [CHAIN.BASE]: { fetch: apis(endpoints)(CHAIN.BASE), - start: 1691660245, + start: '2023-08-10', meta: { methodology } diff --git a/fees/gmx-v2/index.ts b/fees/gmx-v2/index.ts index 921d669609..09b7613324 100644 --- a/fees/gmx-v2/index.ts +++ b/fees/gmx-v2/index.ts @@ -38,11 +38,11 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch(CHAIN.ARBITRUM), - start: 1690848000, + start: '2023-08-01', }, [CHAIN.AVAX]: { fetch: fetch(CHAIN.AVAX), - start: 1692835200, + start: '2023-08-24', }, }, isExpensiveAdapter: true, diff --git a/fees/goat-protocol/index.ts b/fees/goat-protocol/index.ts index cdf6a76592..6531677a25 100644 --- a/fees/goat-protocol/index.ts +++ b/fees/goat-protocol/index.ts @@ -34,7 +34,7 @@ const adapter: Adapter = { meta: { methodology: methodology }, - start: 1730415601, + start: '2024-11-01', }, }, }; diff --git a/fees/goku-money/index.ts b/fees/goku-money/index.ts index c934e8b6a7..0e226b15b9 100644 --- a/fees/goku-money/index.ts +++ b/fees/goku-money/index.ts @@ -75,7 +75,7 @@ const adapter: Adapter = { dailyHoldersRevenue: totalRevenue, }; }, - start: 1698768000, // 01 Nov 2023 + start: '2023-10-31', // 01 Nov 2023 }, }, }; diff --git a/fees/hashnote-usyc/index.ts b/fees/hashnote-usyc/index.ts index ba3911a4a4..610aac4322 100644 --- a/fees/hashnote-usyc/index.ts +++ b/fees/hashnote-usyc/index.ts @@ -46,7 +46,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1686693600, + start: '2023-06-14', runAtCurrTime: false, }, }, diff --git a/fees/hipo/index.ts b/fees/hipo/index.ts index 37e486ea4c..853028f210 100644 --- a/fees/hipo/index.ts +++ b/fees/hipo/index.ts @@ -9,7 +9,7 @@ export default { adapter: { [CHAIN.TON]: { runAtCurrTime: true, - start: 1698685200, + start: '2023-10-30', meta: { hallmarks: [ [1698685200, 'Hipo Launch'], diff --git a/fees/hopr/index.ts b/fees/hopr/index.ts index 7c965f85cb..19c746d351 100644 --- a/fees/hopr/index.ts +++ b/fees/hopr/index.ts @@ -71,7 +71,7 @@ const adapter: Adapter = { adapter: { [CHAIN.XDAI]: { fetch: fetch, - start: 1693440000, + start: '2023-08-31', meta: { methodology } diff --git a/fees/hyperionx/index.ts b/fees/hyperionx/index.ts index 1e8aec403f..057b7147e3 100644 --- a/fees/hyperionx/index.ts +++ b/fees/hyperionx/index.ts @@ -54,7 +54,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ZKFAIR]: { fetch: graphs(CHAIN.ZKFAIR), - start: 1706659200, + start: '2024-01-31', }, }, version: 2 diff --git a/fees/immortalx/index.ts b/fees/immortalx/index.ts index 64ac17d406..8f0469cded 100644 --- a/fees/immortalx/index.ts +++ b/fees/immortalx/index.ts @@ -54,7 +54,7 @@ const adapter: Adapter = { adapter: { [CHAIN.CELO]: { fetch: fetch(CHAIN.CELO), - start: 1690848000, + start: '2023-08-01', }, }, version: 2 diff --git a/fees/impermax-finance/index.ts b/fees/impermax-finance/index.ts index 89e5011e60..dca4d3c6a5 100644 --- a/fees/impermax-finance/index.ts +++ b/fees/impermax-finance/index.ts @@ -116,7 +116,7 @@ const adapter: Adapter = { [CHAIN.ETHEREUM]: { fetch: graphs()(CHAIN.ETHEREUM), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -124,7 +124,7 @@ const adapter: Adapter = { [CHAIN.POLYGON]: { fetch: graphs()(CHAIN.POLYGON), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -132,7 +132,7 @@ const adapter: Adapter = { [CHAIN.ARBITRUM]: { fetch: graphs()(CHAIN.ARBITRUM), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -140,7 +140,7 @@ const adapter: Adapter = { [CHAIN.FANTOM]: { fetch: graphs()(CHAIN.FANTOM), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -148,7 +148,7 @@ const adapter: Adapter = { [CHAIN.BASE]: { fetch: graphs()(CHAIN.BASE), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -156,7 +156,7 @@ const adapter: Adapter = { [CHAIN.SCROLL]: { fetch: graphs()(CHAIN.SCROLL), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -164,7 +164,7 @@ const adapter: Adapter = { [CHAIN.OPTIMISM]: { fetch: graphs()(CHAIN.OPTIMISM), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -172,7 +172,7 @@ const adapter: Adapter = { [CHAIN.REAL]: { fetch: graphs()(CHAIN.REAL), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, @@ -180,7 +180,7 @@ const adapter: Adapter = { [CHAIN.AVAX]: { fetch: graphs()(CHAIN.AVAX), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology, }, diff --git a/fees/impermax-finance/old-adapter.ts b/fees/impermax-finance/old-adapter.ts index 8624f7077d..36be8ac6ba 100644 --- a/fees/impermax-finance/old-adapter.ts +++ b/fees/impermax-finance/old-adapter.ts @@ -53,7 +53,7 @@ const adapter: Adapter = { // [CHAIN.ETHEREUM]: { // fetch: graphs()(CHAIN.ETHEREUM), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -61,7 +61,7 @@ const adapter: Adapter = { // [CHAIN.POLYGON]: { // fetch: graphs()(CHAIN.POLYGON), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -69,7 +69,7 @@ const adapter: Adapter = { // [CHAIN.ARBITRUM]: { // fetch: graphs()(CHAIN.ARBITRUM), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -77,7 +77,7 @@ const adapter: Adapter = { // [CHAIN.AVAX]: { // fetch: graphs()(CHAIN.AVAX), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -85,7 +85,7 @@ const adapter: Adapter = { // [CHAIN.ERA]: { // fetch: graphs()(CHAIN.ERA), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -93,7 +93,7 @@ const adapter: Adapter = { // [CHAIN.FANTOM]: { // fetch: graphs()(CHAIN.FANTOM), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -101,7 +101,7 @@ const adapter: Adapter = { [CHAIN.BASE]: { fetch: graphs()(CHAIN.BASE), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology } @@ -109,7 +109,7 @@ const adapter: Adapter = { //[CHAIN.SCROLL]: { // fetch: graphs()(CHAIN.SCROLL), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -117,7 +117,7 @@ const adapter: Adapter = { //[CHAIN.OPTIMISM]: { // fetch: graphs()(CHAIN.OPTIMISM), // runAtCurrTime: true, - // start: 1698019200, + // start: '2023-10-23', // meta: { // methodology // } @@ -125,7 +125,7 @@ const adapter: Adapter = { [CHAIN.REAL]: { fetch: graphs()(CHAIN.REAL), runAtCurrTime: true, - start: 1698019200, + start: '2023-10-23', meta: { methodology } diff --git a/fees/intent-x/index.tsx b/fees/intent-x/index.tsx index a1a9813a81..6297d71b13 100644 --- a/fees/intent-x/index.tsx +++ b/fees/intent-x/index.tsx @@ -333,19 +333,19 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: fetchVolume, - start: 1698796800, + start: '2023-11-01', }, [CHAIN.BLAST]: { fetch: fetchVolumeBlast, - start: 1698796800, + start: '2023-11-01', }, [CHAIN.MANTLE]: { fetch: fetchVolumeMantle, - start: 1698796800, + start: '2023-11-01', }, [CHAIN.ARBITRUM]: { fetch: fetchVolumeArbitrum, - start: 1698796800, + start: '2023-11-01', }, }, }; diff --git a/fees/inverse-finance/index.ts b/fees/inverse-finance/index.ts index 9309621891..8b33d8d157 100644 --- a/fees/inverse-finance/index.ts +++ b/fees/inverse-finance/index.ts @@ -168,7 +168,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetch(CHAIN.ETHEREUM), - start: 1670716800, + start: '2022-12-11', meta: { methodology, }, diff --git a/fees/jeton/index.ts b/fees/jeton/index.ts index 9cbcd73f8d..69db489a4d 100644 --- a/fees/jeton/index.ts +++ b/fees/jeton/index.ts @@ -67,7 +67,7 @@ const adapter: Adapter = { ...acc, [key]: { fetch: fetch(key), - start: 1693785600, + start: '2023-09-04', }, }; }, {}), diff --git a/fees/jojo/index.ts b/fees/jojo/index.ts index d4bab51226..7a3c053013 100644 --- a/fees/jojo/index.ts +++ b/fees/jojo/index.ts @@ -24,7 +24,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BASE]: { fetch: getFetch, - start: 1712678400, + start: '2024-04-09', } } } diff --git a/fees/juice-finance/index.ts b/fees/juice-finance/index.ts index 77fe024a79..d17b6b32bd 100644 --- a/fees/juice-finance/index.ts +++ b/fees/juice-finance/index.ts @@ -73,7 +73,7 @@ const adapter: Adapter = { adapter: { [CHAIN.BLAST]: { fetch, - start: 1709247600, + start: '2024-03-01', meta: { methodology: "Applied to strategies at the team's discretion and always noted on the vault page. It is charged upon entering the strategy, typically ranging from 0.5% to 2%.", diff --git a/fees/kamino-lending/index.ts b/fees/kamino-lending/index.ts index 1e93b36f95..8a5fdd0466 100644 --- a/fees/kamino-lending/index.ts +++ b/fees/kamino-lending/index.ts @@ -45,7 +45,7 @@ const adapter: Adapter = { [CHAIN.SOLANA]: { fetch, runAtCurrTime: true, - start: 1697068700, + start: '2023-10-12', meta: { methodology } diff --git a/fees/kamino-liquidity/index.ts b/fees/kamino-liquidity/index.ts index fdbd9d98e6..24e130440f 100644 --- a/fees/kamino-liquidity/index.ts +++ b/fees/kamino-liquidity/index.ts @@ -45,7 +45,7 @@ const adapter: Adapter = { adapter: { [CHAIN.SOLANA]: { fetch, - start: 1697068700, + start: '2023-10-12', meta: { methodology } diff --git a/fees/kiloex/index.ts b/fees/kiloex/index.ts index 97fc8119a8..ac5259ecc1 100644 --- a/fees/kiloex/index.ts +++ b/fees/kiloex/index.ts @@ -47,19 +47,19 @@ const adapter: SimpleAdapter = { version: 1, adapter: { [CHAIN.BSC]: { - fetch: fetch(CHAIN.BSC), start: 1686528000 + fetch: fetch(CHAIN.BSC), start: '2023-06-12' }, [CHAIN.OP_BNB]: { - fetch: fetch(CHAIN.OP_BNB), start: 1696636800 + fetch: fetch(CHAIN.OP_BNB), start: '2023-10-07' }, [CHAIN.MANTA]: { - fetch: fetch(CHAIN.MANTA), start: 1698796800 + fetch: fetch(CHAIN.MANTA), start: '2023-11-01' }, [CHAIN.TAIKO]: { - fetch: fetch(CHAIN.TAIKO), start: 1717027200 + fetch: fetch(CHAIN.TAIKO), start: '2024-05-30' }, [CHAIN.BSQUARED]: { - fetch: fetch(CHAIN.BSQUARED), start: 1722297600 + fetch: fetch(CHAIN.BSQUARED), start: '2024-07-30' }, }, }; diff --git a/fees/kinetix-derivatives-v2/index.ts b/fees/kinetix-derivatives-v2/index.ts index 1452702259..8fce60c56b 100644 --- a/fees/kinetix-derivatives-v2/index.ts +++ b/fees/kinetix-derivatives-v2/index.ts @@ -50,7 +50,7 @@ const adapter: Adapter = { adapter: { [CHAIN.KAVA]: { fetch: graphs(endpoints)(CHAIN.KAVA), - start: 1706832000, + start: '2024-02-02', meta: { methodology: "All treasury, pool and keeper fees are collected", }, diff --git a/fees/kinetix-v2/index.ts b/fees/kinetix-v2/index.ts index f473e860e4..7293f51bc5 100644 --- a/fees/kinetix-v2/index.ts +++ b/fees/kinetix-v2/index.ts @@ -60,14 +60,14 @@ const adapter: Adapter = { adapter: { [CHAIN.KAVA]: { fetch: fetch(endpoints[CHAIN.KAVA]), - start: 1692662400, // Tuesday, August 22, 2023 12:00:00 AM + start: '2023-08-22', // Tuesday, August 22, 2023 12:00:00 AM meta: { methodology: "Fees collected from user trading fees", }, }, [CHAIN.BASE]: { fetch: fetch(endpoints[CHAIN.BASE]), - start: 1715126400, // Wednesday, May 8, 2024 12:00:00 AM + start: '2024-05-08', // Wednesday, May 8, 2024 12:00:00 AM meta: { methodology: "Fees collected from user trading fees", }, diff --git a/fees/kinetix-v3/index.ts b/fees/kinetix-v3/index.ts index 0188ad6fd8..a48f49a429 100644 --- a/fees/kinetix-v3/index.ts +++ b/fees/kinetix-v3/index.ts @@ -60,14 +60,14 @@ const adapter: Adapter = { adapter: { [CHAIN.KAVA]: { fetch: fetch(endpoints[CHAIN.KAVA]), - start: 1692057600, // Tuesday, August 15, 2023 12:00:00 AM + start: '2023-08-15', // Tuesday, August 15, 2023 12:00:00 AM meta: { methodology: "Fees collected from user trading fees", }, }, [CHAIN.BASE]: { fetch: fetch(endpoints[CHAIN.BASE]), - start: 1715126400, // Wednesday, May 8, 2024 12:00:00 AM + start: '2024-05-08', // Wednesday, May 8, 2024 12:00:00 AM meta: { methodology: "Fees collected from user trading fees", }, diff --git a/fees/kinetix/index.ts b/fees/kinetix/index.ts index 5704109ddd..74232421ce 100644 --- a/fees/kinetix/index.ts +++ b/fees/kinetix/index.ts @@ -48,7 +48,7 @@ const adapter: Adapter = { adapter: { [CHAIN.KAVA]: { fetch: graphs(endpoints)(CHAIN.KAVA), - start: 1693267200, + start: '2023-08-29', 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.", diff --git a/fees/koi-finance/index.ts b/fees/koi-finance/index.ts index 94906cf03c..7f3ff27a25 100644 --- a/fees/koi-finance/index.ts +++ b/fees/koi-finance/index.ts @@ -19,7 +19,7 @@ const adapter: Adapter = { adapter: { [ZKSYNC]: { fetch: getFees, - start: 1677110400, // TODO: Add accurate timestamp + start: '2023-02-23', // TODO: Add accurate timestamp }, }, }; diff --git a/fees/lexer/index.ts b/fees/lexer/index.ts index 4cff2cb8ba..19e21203a1 100644 --- a/fees/lexer/index.ts +++ b/fees/lexer/index.ts @@ -69,7 +69,7 @@ const adapter: SimpleAdapter = { version: 2, adapter: { [CHAIN.ARBITRUM]: { - start: 1704758400, + start: '2024-01-09', fetch, meta:{ methodology: "api calls from grpahql" diff --git a/fees/linehub-perps/index.ts b/fees/linehub-perps/index.ts index 67c025d949..c24917bdc0 100644 --- a/fees/linehub-perps/index.ts +++ b/fees/linehub-perps/index.ts @@ -62,7 +62,7 @@ const adapter: Adapter = { adapter: { [CHAIN.LINEA]: { fetch: graphs(endpoints), - start: 1719878400, + start: '2024-07-02', meta: { methodology, }, diff --git a/fees/linehub-v2/index.ts b/fees/linehub-v2/index.ts index 88e58cb542..a134ddc1c6 100644 --- a/fees/linehub-v2/index.ts +++ b/fees/linehub-v2/index.ts @@ -58,7 +58,7 @@ const adapter: Adapter = { adapter: { [CHAIN.LINEA]: { fetch: fetch(endpoints[CHAIN.LINEA]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "Fees collected from user trading fees", }, diff --git a/fees/linehub-v3/index.ts b/fees/linehub-v3/index.ts index f8033f3cc2..3e6286c592 100644 --- a/fees/linehub-v3/index.ts +++ b/fees/linehub-v3/index.ts @@ -58,7 +58,7 @@ const adapter: Adapter = { adapter: { [CHAIN.LINEA]: { fetch: fetch(endpoints[CHAIN.LINEA]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "Fees collected from user trading fees", }, diff --git a/fees/liondex/index.ts b/fees/liondex/index.ts index 27b4273dfa..fb1290152a 100644 --- a/fees/liondex/index.ts +++ b/fees/liondex/index.ts @@ -51,7 +51,7 @@ const adapter: Adapter = { [DISABLED_ADAPTER_KEY]: disabledAdapter, [ARBITRUM]: { fetch: graphs(endpoints)(ARBITRUM), - start: 1686614400, + start: '2023-06-13', meta: { methodology, }, diff --git a/fees/liquid-collective/index.ts b/fees/liquid-collective/index.ts index fc5a584f13..217cdfae01 100644 --- a/fees/liquid-collective/index.ts +++ b/fees/liquid-collective/index.ts @@ -22,7 +22,7 @@ const adapter: Adapter = { adapter: { [ETHEREUM]: { fetch, - start: 1668812400, + start: '2022-11-19', meta: { methodology: "The Liquid Collective protocol charges a service fee set at 15.0% of network rewards, split amongst Node Operators, Platforms, Wallet & Custody Providers, Service Providers, the protocol's Slashing Coverage Treasury, and the Liquid Collective DAO, which comprises a broad and dispersed community of protocol participants", diff --git a/fees/lista-lisusd/index.ts b/fees/lista-lisusd/index.ts index 1dfa647577..61473ab070 100644 --- a/fees/lista-lisusd/index.ts +++ b/fees/lista-lisusd/index.ts @@ -169,7 +169,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch, - start: 1693361953, + start: '2023-08-30', }, }, }; diff --git a/fees/lista-slisbnb/index.ts b/fees/lista-slisbnb/index.ts index 508b0e6de6..85115780f3 100644 --- a/fees/lista-slisbnb/index.ts +++ b/fees/lista-slisbnb/index.ts @@ -42,7 +42,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.BSC]: { fetch, - start: 1693361953, + start: '2023-08-30', }, }, }; diff --git a/fees/marinade-liquid-staking/index.ts b/fees/marinade-liquid-staking/index.ts index 70c5b47229..998995a6a4 100644 --- a/fees/marinade-liquid-staking/index.ts +++ b/fees/marinade-liquid-staking/index.ts @@ -60,7 +60,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SOLANA]: { fetch, - start: 1689120000, // 2023-07-12T00:00:00Z + start: '2023-07-12', // 2023-07-12T00:00:00Z runAtCurrTime: true, meta: { methodology: { diff --git a/fees/marinade-native/index.ts b/fees/marinade-native/index.ts index 3a1fb812a7..4e12d20c27 100644 --- a/fees/marinade-native/index.ts +++ b/fees/marinade-native/index.ts @@ -60,7 +60,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SOLANA]: { fetch, - start: 1689120000, // 2023-07-12T00:00:00Z + start: '2023-07-12', // 2023-07-12T00:00:00Z runAtCurrTime: true, meta: { methodology: { diff --git a/fees/memecooking/index.ts b/fees/memecooking/index.ts index 7627cddcff..d9629f856e 100644 --- a/fees/memecooking/index.ts +++ b/fees/memecooking/index.ts @@ -69,7 +69,7 @@ const fetch: FetchV2 = async ({ endTimestamp, createBalances }) => { const adapter: Adapter = { adapter: { [CHAIN.NEAR]: { - start: 1727647200, + start: '2024-09-30', fetch, meta: { methodology: { diff --git a/fees/meowl/index.ts b/fees/meowl/index.ts index da97508efc..f316247da0 100644 --- a/fees/meowl/index.ts +++ b/fees/meowl/index.ts @@ -11,7 +11,7 @@ const adapter: Adapter = { dailyRevenue: fees.toString(), }; }, - start: 1685332595 + start: '2023-05-29' }, }, version: 2 diff --git a/fees/metavault-amm-v2/index.ts b/fees/metavault-amm-v2/index.ts index 7d457bf40b..3b48754123 100644 --- a/fees/metavault-amm-v2/index.ts +++ b/fees/metavault-amm-v2/index.ts @@ -63,14 +63,14 @@ const adapter: Adapter = { adapter: { [CHAIN.LINEA]: { fetch: fetch(endpoints[CHAIN.LINEA]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "Fees collected from user trading fees", }, }, [CHAIN.SCROLL]: { fetch: fetch(endpoints[CHAIN.SCROLL]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "Fees collected from user trading fees", }, diff --git a/fees/metavault-derivatives-v2/index.ts b/fees/metavault-derivatives-v2/index.ts index 9dc50a70cd..319014bf2d 100644 --- a/fees/metavault-derivatives-v2/index.ts +++ b/fees/metavault-derivatives-v2/index.ts @@ -62,14 +62,14 @@ const adapter: Adapter = { adapter: { [CHAIN.LINEA]: { fetch: fetch(endpoints[CHAIN.LINEA]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "All treasuryFee, poolFee and keeperFee are collected", }, }, [CHAIN.POLYGON]: { fetch: fetch(endpoints[CHAIN.POLYGON]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "All treasuryFee, poolFee and keeperFee are collected", }, diff --git a/fees/metavault-v3/index.ts b/fees/metavault-v3/index.ts index 7a7664fa64..8676927405 100644 --- a/fees/metavault-v3/index.ts +++ b/fees/metavault-v3/index.ts @@ -63,14 +63,14 @@ const adapter: Adapter = { adapter: { [CHAIN.LINEA]: { fetch: fetch(endpoints[CHAIN.LINEA]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "Fees collected from user trading fees", }, }, [CHAIN.SCROLL]: { fetch: fetch(endpoints[CHAIN.SCROLL]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "Fees collected from user trading fees", }, diff --git a/fees/metavault.trade/index.ts b/fees/metavault.trade/index.ts index ab4dcb855d..d9aac0d70d 100644 --- a/fees/metavault.trade/index.ts +++ b/fees/metavault.trade/index.ts @@ -48,7 +48,7 @@ const adapter: Adapter = { adapter: { [POLYGON]: { fetch: graphs(endpoints)(POLYGON), - start: 1654041600, + start: '2022-06-01', 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.' } diff --git a/fees/monarchpay/index.ts b/fees/monarchpay/index.ts index a060ec70b0..719bf7f545 100644 --- a/fees/monarchpay/index.ts +++ b/fees/monarchpay/index.ts @@ -21,7 +21,7 @@ const adapter: Adapter = { adapter: { [CHAIN.KAVA]: { fetch: fetch, - start: 1694044800 + start: '2023-09-07' }, } } diff --git a/fees/morFi/index.ts b/fees/morFi/index.ts index d55b079505..baa0cad381 100644 --- a/fees/morFi/index.ts +++ b/fees/morFi/index.ts @@ -28,7 +28,7 @@ const adapters: Adapter = { adapter: { [CHAIN.MORPH]: { fetch: fetch(CHAIN.MORPH), - start: 1730177105, + start: '2024-10-29', }, }, }; diff --git a/fees/morpho/index.ts b/fees/morpho/index.ts index 736f17fb98..6ff4c09d23 100644 --- a/fees/morpho/index.ts +++ b/fees/morpho/index.ts @@ -77,11 +77,11 @@ const adapter: SimpleAdapter = { adapter: { ethereum: { fetch: fetchEthereum, - start: 1704197610, + start: '2024-01-02', }, base: { fetch: fetchBase, - start: 1714743643, + start: '2024-05-03', }, }, version: 2, diff --git a/fees/near/index.ts b/fees/near/index.ts index 410ad06f4e..2d2f80d7d4 100644 --- a/fees/near/index.ts +++ b/fees/near/index.ts @@ -31,7 +31,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.NEAR]: { fetch: fetchFees, - start: 1595289600 + start: '2020-07-21' } }, protocolType: ProtocolType.CHAIN diff --git a/fees/ntm/index.ts b/fees/ntm/index.ts index 1da1c00722..6fde0b3dfe 100644 --- a/fees/ntm/index.ts +++ b/fees/ntm/index.ts @@ -32,7 +32,7 @@ const adapter: any = { ...all, [chain]: { fetch: fetchFeesAndRevenues, - start: 1684771200, + start: '2023-05-22', meta: { methodology: 'sums the fees of listing request & trending request.', } diff --git a/fees/nuri-exchange-v2/index.ts b/fees/nuri-exchange-v2/index.ts index acbd4c5193..6f39dab245 100644 --- a/fees/nuri-exchange-v2/index.ts +++ b/fees/nuri-exchange-v2/index.ts @@ -21,7 +21,7 @@ const adapter: SimpleAdapter = { dailyRevenue: dailyRevenue, } }, - start: 1714608000, + start: '2024-05-02', }, } } diff --git a/fees/openeden-t-bills/index.ts b/fees/openeden-t-bills/index.ts index ebc9e37d0c..5c09f7f68f 100644 --- a/fees/openeden-t-bills/index.ts +++ b/fees/openeden-t-bills/index.ts @@ -52,12 +52,12 @@ const adapter: Adapter = { [CHAIN.ETHEREUM]: { fetch: (options: FetchOptions) => fetch(VAULT_ADDRESSES[CHAIN.ETHEREUM], options), - start: 1697580000, + start: '2023-10-18', }, [CHAIN.ARBITRUM]: { fetch: (options: FetchOptions) => fetch(VAULT_ADDRESSES[CHAIN.ARBITRUM], options), - start: 1707778800, + start: '2024-02-13', }, }, }; diff --git a/fees/opensea/index.ts b/fees/opensea/index.ts index c939966ed6..bbbc83703b 100644 --- a/fees/opensea/index.ts +++ b/fees/opensea/index.ts @@ -38,7 +38,7 @@ const adapter: Adapter = { seaport: { [CHAIN.ETHEREUM]: { fetch: graphs(seaportEndpoints)(CHAIN.ETHEREUM), - start: 1655055510, + start: '2022-06-12', }, } } diff --git a/fees/optionBlitz/index.ts b/fees/optionBlitz/index.ts index 37a70b2bc5..35d61dce35 100644 --- a/fees/optionBlitz/index.ts +++ b/fees/optionBlitz/index.ts @@ -78,7 +78,6 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch as any, - start: 194784191, meta: { methodology: methodology, }, diff --git a/fees/orderly/index.ts b/fees/orderly/index.ts index c6ede82d01..c153ec052a 100644 --- a/fees/orderly/index.ts +++ b/fees/orderly/index.ts @@ -17,7 +17,7 @@ type DailyStats = { const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { - start: 1698278400, + start: '2023-10-26', fetch: async (__t: number, _: any, { startOfDay }: FetchOptions) => { const t = getUniqStartOfTodayTimestamp(new Date(startOfDay * 1000)); const data: DailyStats[] = await fetchURL(apiEVM); diff --git a/fees/origin-dollar/index.ts b/fees/origin-dollar/index.ts index ec0dc70a32..1a70cfc493 100644 --- a/fees/origin-dollar/index.ts +++ b/fees/origin-dollar/index.ts @@ -50,7 +50,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1635811200, + start: '2021-11-02', runAtCurrTime: false, meta: { methodology: diff --git a/fees/paal-ai/index.ts b/fees/paal-ai/index.ts index 2906335b4d..1d7f8d8a5c 100644 --- a/fees/paal-ai/index.ts +++ b/fees/paal-ai/index.ts @@ -34,7 +34,7 @@ const adapter: Adapter = { adapter: { ethereum: { fetch, - start: 1690070400, + start: '2023-07-23', }, }, } diff --git a/fees/paxos-gold/index.ts b/fees/paxos-gold/index.ts index 2270017707..89a93a8189 100644 --- a/fees/paxos-gold/index.ts +++ b/fees/paxos-gold/index.ts @@ -28,7 +28,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1704063600, + start: '2024-01-01', }, }, }; diff --git a/fees/pear-protocol/index.ts b/fees/pear-protocol/index.ts index a0fdef061a..0cedb745f6 100644 --- a/fees/pear-protocol/index.ts +++ b/fees/pear-protocol/index.ts @@ -23,7 +23,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1715199684, + start: '2024-05-08', }, }, }; diff --git a/fees/pepe-swaves/index.ts b/fees/pepe-swaves/index.ts index 49ac0360ef..c396288a7e 100644 --- a/fees/pepe-swaves/index.ts +++ b/fees/pepe-swaves/index.ts @@ -70,7 +70,7 @@ const adapter: Adapter = { adapter: { [CHAIN.WAVES]: { fetch, - start: 1667250000 // Mon Oct 31 2022 21:00:00 GMT+0000 + start: '2022-10-31' // Mon Oct 31 2022 21:00:00 GMT+0000 }, }, } diff --git a/fees/pingu/index.ts b/fees/pingu/index.ts index 0678ddf96a..a1c5b9df8a 100644 --- a/fees/pingu/index.ts +++ b/fees/pingu/index.ts @@ -43,7 +43,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1704844800, + start: '2024-01-10', }, }, }; diff --git a/fees/polter/index.ts b/fees/polter/index.ts index 7f44b7d0ad..73eea678e2 100644 --- a/fees/polter/index.ts +++ b/fees/polter/index.ts @@ -153,7 +153,7 @@ const adapter: Adapter = { adapter: { [CHAIN.FANTOM]: { fetch: fetch, - start: 1706546953, // Jan-29-2024 04:49:13 PM +UTC + start: '2024-01-29', // Jan-29-2024 04:49:13 PM +UTC meta: { methodology: { Fees: "lockers' revenue = stakers' revenue + 50% penalty from early exit", @@ -163,7 +163,7 @@ const adapter: Adapter = { }, [CHAIN.BASE]: { fetch: fetch, - start: 19746482, // Sep-14-2024 02:51:51 AM +UTC + start: '2024-09-14', // Sep-14-2024 02:51:51 AM +UTC meta: { methodology: { Fees: "lockers' revenue = stakers' revenue + 50% penalty from early exit", diff --git a/fees/predy-finance/index.ts b/fees/predy-finance/index.ts index 58b513214f..d8d1ef5294 100644 --- a/fees/predy-finance/index.ts +++ b/fees/predy-finance/index.ts @@ -437,7 +437,7 @@ const adapter: BreakdownAdapter = { v5: { [CHAIN.ARBITRUM]: { fetch: graphs(v5endpoints)(CHAIN.ARBITRUM), - start: 1688490168, + start: '2023-07-04', }, }, }, diff --git a/fees/quenta/index.ts b/fees/quenta/index.ts index 856f71f23f..d0b5db06f8 100644 --- a/fees/quenta/index.ts +++ b/fees/quenta/index.ts @@ -50,7 +50,7 @@ const adapter: Adapter = { adapter: { [CHAIN.IOTEX]: { fetch, - start: 1730160000, + start: '2024-10-29', }, }, }; diff --git a/fees/quickswap-hydra/index.ts b/fees/quickswap-hydra/index.ts index 2bd19b4955..057be1bfa2 100644 --- a/fees/quickswap-hydra/index.ts +++ b/fees/quickswap-hydra/index.ts @@ -59,14 +59,14 @@ const adapter: Adapter = { adapter: { [CHAIN.POLYGON_ZKEVM]: { fetch: fetch(endpoints[CHAIN.POLYGON_ZKEVM]), - start: 1704067200, + start: '2024-01-01', meta: { methodology: "All treasuryFee, poolFee and keeperFee are collected", }, }, [CHAIN.MANTA]: { fetch: fetch(endpoints[CHAIN.MANTA]), - start: 1704067200, + start: '2024-01-01', meta: { methodology: "All treasuryFee, poolFee and keeperFee are collected", }, diff --git a/fees/quickswap-perps/index.ts b/fees/quickswap-perps/index.ts index 8601f80e14..e6b8de6f59 100644 --- a/fees/quickswap-perps/index.ts +++ b/fees/quickswap-perps/index.ts @@ -58,7 +58,7 @@ const adapter: Adapter = { adapter: { [CHAIN.POLYGON_ZKEVM]: { fetch: fetch(endpoints[CHAIN.POLYGON_ZKEVM]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "All treasuryFee, poolFee and keeperFee are collected", }, diff --git a/fees/ref-finance/index.ts b/fees/ref-finance/index.ts index 4b49938874..1216d5fda0 100644 --- a/fees/ref-finance/index.ts +++ b/fees/ref-finance/index.ts @@ -5,7 +5,7 @@ const api_revenue = "https://api.ref.finance/get-total-revenue" const adapter: SimpleAdapter = { adapter: { "near": { - start: 1725897600, + start: '2024-09-09', fetch: async () => { const fee_result = await httpGet(api_fee); const revenue_result = await httpGet(api_revenue); diff --git a/fees/reserve/index.ts b/fees/reserve/index.ts index c9a0d66494..188ddc7a97 100644 --- a/fees/reserve/index.ts +++ b/fees/reserve/index.ts @@ -66,7 +66,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch, - start: 1681850303, + start: '2023-04-18', }, }, }; diff --git a/fees/ribbon/index.ts b/fees/ribbon/index.ts index 1fffc12f14..4eae2133cc 100644 --- a/fees/ribbon/index.ts +++ b/fees/ribbon/index.ts @@ -83,11 +83,11 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: (options: FetchOptions) => fetch(ethereum_endpointId, options), - start: 1617228000, + start: '2021-04-01', }, [CHAIN.AVAX]: { fetch: (options: FetchOptions) => fetch(avax_endpointId, options), - start: 1617228000, + start: '2021-04-01', }, }, }; diff --git a/fees/scallop/index.ts b/fees/scallop/index.ts index 69ffb3b17a..6fa0703eed 100644 --- a/fees/scallop/index.ts +++ b/fees/scallop/index.ts @@ -57,7 +57,7 @@ const adapter: Adapter = { runAtCurrTime: false, customBackfill: undefined, fetch: fetchScallopStats, - start: 1703980799, + start: '2023-12-31', meta: { methodology, }, diff --git a/fees/sharpe-earn/index.ts b/fees/sharpe-earn/index.ts index a66ac05122..7fbac8076f 100644 --- a/fees/sharpe-earn/index.ts +++ b/fees/sharpe-earn/index.ts @@ -38,15 +38,15 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1710037587, + start: '2024-03-10', }, [CHAIN.OPTIMISM]: { fetch: fetch, - start: 1710037587, + start: '2024-03-10', }, [CHAIN.BASE]: { fetch: fetch, - start: 1710037587, + start: '2024-03-10', }, }, }; diff --git a/fees/shoebillFinance-v2/index.ts b/fees/shoebillFinance-v2/index.ts index 5effddcd1f..de88e8eebe 100644 --- a/fees/shoebillFinance-v2/index.ts +++ b/fees/shoebillFinance-v2/index.ts @@ -27,12 +27,12 @@ const adapter: Adapter = { adapter: { [CHAIN.MANTA]: { fetch, - start: 1703980800, + start: '2023-12-31', runAtCurrTime: true, }, [CHAIN.WEMIX]: { fetch, - start: 1703980800, + start: '2023-12-31', runAtCurrTime: true, } }, diff --git a/fees/silo-finance/index.ts b/fees/silo-finance/index.ts index 6e8aed81ed..b8d9744677 100644 --- a/fees/silo-finance/index.ts +++ b/fees/silo-finance/index.ts @@ -209,19 +209,19 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: (options: FetchOptions) => fetch(options, silo[CHAIN.ETHEREUM]), - start: 1660150409, + start: '2022-08-10', }, [CHAIN.ARBITRUM]: { fetch: (options: FetchOptions) => fetch(options, silo[CHAIN.ARBITRUM]), - start: 1683046409, + start: '2023-05-02', }, [CHAIN.OPTIMISM]: { fetch: (options: FetchOptions) => fetch(options, silo[CHAIN.OPTIMISM]), - start: 1716656009, + start: '2024-05-25', }, [CHAIN.BASE]: { fetch: (options: FetchOptions) => fetch(options, silo[CHAIN.BASE]), - start: 1719420809, + start: '2024-06-26', }, }, version: 2, diff --git a/fees/solar-studios/index.ts b/fees/solar-studios/index.ts index 5a351a8542..87ca5afd3b 100644 --- a/fees/solar-studios/index.ts +++ b/fees/solar-studios/index.ts @@ -19,7 +19,7 @@ const adapters: SimpleAdapter = { [CHAIN.ECLIPSE]: { fetch: fetchVolume, runAtCurrTime: true, - start: 1729382400, + start: '2024-10-20', } } } diff --git a/fees/sonne-finance/index.ts b/fees/sonne-finance/index.ts index 51ec39815a..690aae610e 100644 --- a/fees/sonne-finance/index.ts +++ b/fees/sonne-finance/index.ts @@ -44,11 +44,11 @@ const adapter: Adapter = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetchoptimism as any, - start: 1664582400, + start: '2022-10-01', }, [CHAIN.BASE]: { fetch: fetchbase as any, - start: 1693449471, + start: '2023-08-31', }, }, }; diff --git a/fees/spacewhale/index.ts b/fees/spacewhale/index.ts index d002240229..8c55026843 100644 --- a/fees/spacewhale/index.ts +++ b/fees/spacewhale/index.ts @@ -43,7 +43,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1712109600, + start: '2024-04-03', }, }, }; diff --git a/fees/sparkdex-v2/index.ts b/fees/sparkdex-v2/index.ts index 4ca4820729..b69ddbca0c 100644 --- a/fees/sparkdex-v2/index.ts +++ b/fees/sparkdex-v2/index.ts @@ -58,7 +58,7 @@ const adapter: Adapter = { adapter: { [CHAIN.FLARE]: { fetch: fetch(endpoints[CHAIN.FLARE]), - start: 1709251200, + start: '2024-03-01', meta: { methodology: "Fees collected from user trading fees", }, diff --git a/fees/sparkdex-v3-1/index.ts b/fees/sparkdex-v3-1/index.ts index ef329a6df8..134242020e 100644 --- a/fees/sparkdex-v3-1/index.ts +++ b/fees/sparkdex-v3-1/index.ts @@ -62,7 +62,7 @@ const adapter: Adapter = { adapter: { [CHAIN.FLARE]: { fetch: graphs(endpoints), - start: 1719878400, + start: '2024-07-02', meta: { methodology, }, diff --git a/fees/sparkdex-v3/index.ts b/fees/sparkdex-v3/index.ts index 79665d66ef..4a1d22ad64 100644 --- a/fees/sparkdex-v3/index.ts +++ b/fees/sparkdex-v3/index.ts @@ -62,7 +62,7 @@ const adapter: Adapter = { adapter: { [CHAIN.FLARE]: { fetch: graphs(endpoints), - start: 1719878400, + start: '2024-07-02', meta: { methodology, }, diff --git a/fees/spiko/index.ts b/fees/spiko/index.ts index 1ef6b2a42b..fce0a50c50 100644 --- a/fees/spiko/index.ts +++ b/fees/spiko/index.ts @@ -85,12 +85,12 @@ const adapter: Adapter = { version: 2, adapter: { [CHAIN.ETHEREUM]: { - start: 1714514400, + start: '2024-05-01', fetch: (options: FetchOptions) => getFundsFees(funds[CHAIN.ETHEREUM], options), }, [CHAIN.POLYGON]: { - start: 1713564000, + start: '2024-04-20', fetch: (options: FetchOptions) => getFundsFees(funds[CHAIN.POLYGON], options), }, diff --git a/fees/splash/index.ts b/fees/splash/index.ts index 08ceb40ebd..08529619b1 100644 --- a/fees/splash/index.ts +++ b/fees/splash/index.ts @@ -23,7 +23,7 @@ const adapter: Adapter = { adapter: { [CHAIN.CARDANO]: { fetch, - start: 1717452000, + start: '2024-06-04', runAtCurrTime: true, }, }, diff --git a/fees/stabble/index.ts b/fees/stabble/index.ts index 6f1087edd0..f5409e607d 100644 --- a/fees/stabble/index.ts +++ b/fees/stabble/index.ts @@ -24,7 +24,7 @@ const adapter: Adapter = { adapter: { [CHAIN.SOLANA]: { fetch: fetch, - start: 1717563162, + start: '2024-06-05', }, }, }; diff --git a/fees/ston/index.ts b/fees/ston/index.ts index 807b407648..25d0d10ee6 100644 --- a/fees/ston/index.ts +++ b/fees/ston/index.ts @@ -72,7 +72,7 @@ const adapter: SimpleAdapter = { version: 2, adapter: { [CHAIN.TON]: { - start: 1700000000, + start: '2023-11-14', meta: { methodology: { UserFees: "User pays fee on each swap. Fees go to the protocol, LPs and optinally to the referral address.", diff --git a/fees/stormtrade/index.ts b/fees/stormtrade/index.ts index d153d23cee..d0890db240 100644 --- a/fees/stormtrade/index.ts +++ b/fees/stormtrade/index.ts @@ -7,7 +7,7 @@ const adapter: SimpleAdapter= { adapter: { [CHAIN.TON]: { runAtCurrTime: true, - start: 1700000000, + start: '2023-11-14', meta: { methodology: { Fees: 'Traders pay opening and closing fees', diff --git a/fees/substanceX/index.ts b/fees/substanceX/index.ts index eee8bc78b7..ee0f3b0922 100644 --- a/fees/substanceX/index.ts +++ b/fees/substanceX/index.ts @@ -16,7 +16,7 @@ const blockNumberGraph = { [CHAIN.ZETA]: "https://gql-zeta.substancex.io/subgraphs/name/substanceexchangedevelop/zeta-blocks" } -const headers = { 'sex-dev': 'ServerDev'} +const headers = { 'sex-dev': 'ServerDev'} as any const graphs = (graphUrls: ChainEndpoints) => { return (chain: Chain) => { @@ -113,12 +113,11 @@ const adapter: Adapter = { version: 2, adapter: { [CHAIN.ARBITRUM]: { - fetch: graphs(endpoints)(CHAIN.ARBITRUM), - start: 1700323200, + fetch: graphs(endpoints)(CHAIN.ARBITRUM) as any, + start: '2023-11-18', }, [CHAIN.ZETA]: { - fetch: graphs(endpoints)(CHAIN.ZETA), - start: 2631301, + fetch: graphs(endpoints)(CHAIN.ZETA) as any, }, }, }; diff --git a/fees/suilend/index.ts b/fees/suilend/index.ts index 999da74c1c..2a0410c5bb 100644 --- a/fees/suilend/index.ts +++ b/fees/suilend/index.ts @@ -55,7 +55,7 @@ const adapter: Adapter = { runAtCurrTime: false, customBackfill: undefined, fetch: fetchSuilendStats, - start: 1709280000, + start: '2024-03-01', meta: { methodology, }, diff --git a/fees/superstate/index.ts b/fees/superstate/index.ts index 352752a099..be9c0653e5 100644 --- a/fees/superstate/index.ts +++ b/fees/superstate/index.ts @@ -62,7 +62,7 @@ const adapter: Adapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: getFundsFees, - start: 1709247600, + start: '2024-03-01', runAtCurrTime: false, }, }, diff --git a/fees/surfone/index.ts b/fees/surfone/index.ts index 1c2fb1a101..b027333c12 100644 --- a/fees/surfone/index.ts +++ b/fees/surfone/index.ts @@ -35,7 +35,6 @@ const adapter: SimpleAdapter = { ['merlin']: { fetch: fetch(), runAtCurrTime: true, - start: 9142115, } }, }; diff --git a/fees/swych/index.ts b/fees/swych/index.ts index 4fdb7ffc55..079b3cd735 100644 --- a/fees/swych/index.ts +++ b/fees/swych/index.ts @@ -125,7 +125,7 @@ const adapter: Adapter = { adapter: { [CHAIN.BSC]: { fetch: fetchFees, - start: 1701720000, + start: '2023-12-04', meta: { methodology: { Fees: 'Swych collects fees from different transactions done on the Perpetual Exchange.', diff --git a/fees/synapse/index.ts b/fees/synapse/index.ts index 43ec3fb765..675c08b861 100644 --- a/fees/synapse/index.ts +++ b/fees/synapse/index.ts @@ -113,7 +113,7 @@ const adapter: Adapter = { ...acc, [chain]: { fetch: graphs(chain as Chain), - start: 1629504000, + start: '2021-08-21', meta: { methodology } diff --git a/fees/synfutures-v3/index.ts b/fees/synfutures-v3/index.ts index 8701742350..4788c30461 100644 --- a/fees/synfutures-v3/index.ts +++ b/fees/synfutures-v3/index.ts @@ -95,14 +95,14 @@ const adapter: Adapter = { adapter: { [CHAIN.BLAST]: { fetch: graphs(endpoints), - start: 1709049600, + start: '2024-02-27', meta: { methodology } }, [CHAIN.BASE]: { fetch: graphs(endpoints), - start: 1719383967, + start: '2024-06-26', meta: { methodology } diff --git a/fees/thorswap/index.ts b/fees/thorswap/index.ts index 8f4985197b..b3ee2cbe35 100644 --- a/fees/thorswap/index.ts +++ b/fees/thorswap/index.ts @@ -86,7 +86,7 @@ const adapters: SimpleAdapter = { [CHAIN.THORCHAIN]: { runAtCurrTime: true, fetch: fetchFees, - start: 1618099200, + start: '2021-04-11', } }, isExpensiveAdapter: true diff --git a/fees/tigris/index.ts b/fees/tigris/index.ts index 70804e60e0..433f455ebe 100644 --- a/fees/tigris/index.ts +++ b/fees/tigris/index.ts @@ -72,11 +72,11 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch(CHAIN.ARBITRUM), - start: 1663023600, + start: '2022-09-13', }, [CHAIN.POLYGON]: { fetch: fetch(CHAIN.POLYGON), - start: 1663023600, + start: '2022-09-13', } } } diff --git a/fees/tlx-finance/index.ts b/fees/tlx-finance/index.ts index 1923b5b788..596f2317d0 100644 --- a/fees/tlx-finance/index.ts +++ b/fees/tlx-finance/index.ts @@ -28,7 +28,7 @@ const adapter: Adapter = { adapter: { [OPTIMISM]: { fetch: getFees, - start: 1712727843, + start: '2024-04-10', }, }, }; diff --git a/fees/torch/index.ts b/fees/torch/index.ts index d97564ff72..dbe4afea8d 100644 --- a/fees/torch/index.ts +++ b/fees/torch/index.ts @@ -19,7 +19,7 @@ export default { version: 2, adapter: { [CHAIN.TON]: { - start: 1700000000, + start: '2023-11-14', meta: { methodology: { UserFees: 'User pays fee on each swap (depends on pool, 0.1% - 1%).', diff --git a/fees/toros/index.ts b/fees/toros/index.ts index b756aa83fb..d9ccc1d67b 100644 --- a/fees/toros/index.ts +++ b/fees/toros/index.ts @@ -146,10 +146,10 @@ const fetch = async ({ chain, getLogs, endTimestamp, startTimestamp }: FetchOpti const adapter: SimpleAdapter = { adapter: { - [CHAIN.OPTIMISM]: { fetch, start: 1638446653, }, - [CHAIN.POLYGON]: { fetch, start: 1627560253, }, - [CHAIN.ARBITRUM]: { fetch, start: 1679918653, }, - [CHAIN.BASE]: { fetch, start: 1703073853, }, + [CHAIN.OPTIMISM]: { fetch, start: '2021-12-02', }, + [CHAIN.POLYGON]: { fetch, start: '2021-07-29', }, + [CHAIN.ARBITRUM]: { fetch, start: '2023-03-27', }, + [CHAIN.BASE]: { fetch, start: '2023-12-20', }, }, version: 2 } diff --git a/fees/trado/index.ts b/fees/trado/index.ts index b4be55d07c..87e66213b2 100644 --- a/fees/trado/index.ts +++ b/fees/trado/index.ts @@ -53,7 +53,6 @@ const adapter: Adapter = { adapter: { [CHAIN.FLOW]: { fetch, - start: 1430971, }, }, }; diff --git a/fees/vela/index.ts b/fees/vela/index.ts index 3c6a0497c2..371516dc8d 100644 --- a/fees/vela/index.ts +++ b/fees/vela/index.ts @@ -43,14 +43,14 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: graphs(endpoints)(CHAIN.ARBITRUM), - start: 1687806000, + start: '2023-06-26', meta: { methodology, }, }, [CHAIN.BASE]: { fetch: graphs(endpoints)(CHAIN.BASE), - start: 1693785600, + start: '2023-09-04', meta: { methodology, }, diff --git a/fees/velo/index.ts b/fees/velo/index.ts index 4b9a4e5b19..8855eafa71 100644 --- a/fees/velo/index.ts +++ b/fees/velo/index.ts @@ -30,7 +30,7 @@ const adapters: SimpleAdapter = { adapter: Object.keys(config).reduce( (all, chain) => ({ ...all, - [chain]: { fetch, start: 1634010700 }, + [chain]: { fetch, start: '2021-10-12' }, }), {} ), diff --git a/fees/velodrome/index.ts b/fees/velodrome/index.ts index 0a16dfc275..316d507c6d 100644 --- a/fees/velodrome/index.ts +++ b/fees/velodrome/index.ts @@ -7,7 +7,7 @@ const adapter: Adapter = { adapter: { [OPTIMISM]: { fetch: fetchV1(), - start: 1677110400, // TODO: Add accurate timestamp + start: '2023-02-23', // TODO: Add accurate timestamp }, }, }; diff --git a/fees/velodrome/velodrome.ts b/fees/velodrome/velodrome.ts index 3c2a772870..00166f64a0 100644 --- a/fees/velodrome/velodrome.ts +++ b/fees/velodrome/velodrome.ts @@ -57,7 +57,7 @@ export const fetchV1 = () => { // adapter: { // [OPTIMISM]: { // fetch: getFees(), -// start: 1677110400, // TODO: Add accurate timestamp +// start: '2023-02-23', // TODO: Add accurate timestamp // }, // }, // }; diff --git a/fees/vfat/index.ts b/fees/vfat/index.ts index 716314a5ff..936cc3d7b4 100644 --- a/fees/vfat/index.ts +++ b/fees/vfat/index.ts @@ -94,39 +94,39 @@ const chainSettings: any = { adapter: { [CHAIN.OPTIMISM]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.BASE]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.ARBITRUM]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.LINEA]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.ETHEREUM]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.MODE]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.FANTOM]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.MANTLE]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, [CHAIN.BSC]: { fetch: fetchFees, - start: 1710979200, + start: '2024-03-21', }, } } diff --git a/fees/wagmi/index.ts b/fees/wagmi/index.ts index 6011d5191c..19bd2a3558 100644 --- a/fees/wagmi/index.ts +++ b/fees/wagmi/index.ts @@ -14,35 +14,34 @@ const adapter: SimpleAdapter = { adapter: { // [CHAIN.ERA]: { // fetch: fetchFee(CHAIN.ERA), - // start: 1681257600, + // start: '2023-04-12', // meta: { // methodology, // }, // }, [CHAIN.FANTOM]: { fetch: fetchFee(CHAIN.FANTOM), - start: 1681257600, + start: '2023-04-12', meta: { methodology, }, }, [CHAIN.KAVA]: { fetch: fetchFee(CHAIN.KAVA), - start: 1694476800, + start: '2023-09-12', meta: { methodology, }, }, [CHAIN.ETHEREUM]: { fetch: fetchFee(CHAIN.ETHEREUM), - start: 18240112, meta: { methodology, }, }, // [CHAIN.METIS]: { // fetch: fetchFee(CHAIN.METIS), - // start: 1702888970, + // start: '2023-12-18', // meta: { // methodology, // }, diff --git a/fees/waves/index.ts b/fees/waves/index.ts index d71aaab38a..6b9a1d1ff5 100644 --- a/fees/waves/index.ts +++ b/fees/waves/index.ts @@ -37,7 +37,7 @@ const adapter: Adapter = { adapter: { [CHAIN.WAVES]: { fetch, - start: 1623024000 + start: '2021-06-07' }, }, protocolType: ProtocolType.CHAIN diff --git a/fees/wbtc/index.ts b/fees/wbtc/index.ts index 016274ddfa..a4d2ac7649 100644 --- a/fees/wbtc/index.ts +++ b/fees/wbtc/index.ts @@ -31,7 +31,7 @@ export default { return { dailyFees, dailyRevenue: dailyFees } }, - start: 1543017600 + start: '2018-11-24' } }, version: 2 diff --git a/fees/wise-lending-v2/index.ts b/fees/wise-lending-v2/index.ts index 99b2e4c18a..bf5ed91182 100644 --- a/fees/wise-lending-v2/index.ts +++ b/fees/wise-lending-v2/index.ts @@ -15,7 +15,7 @@ const adapter: SimpleAdapter = { adapter: { [ARBITRUM]: { fetch, - start: 1727740800, + start: '2024-10-01', }, }, }; diff --git a/fees/xoxno/index.ts b/fees/xoxno/index.ts index a8048433d9..f0b09becb1 100644 --- a/fees/xoxno/index.ts +++ b/fees/xoxno/index.ts @@ -34,7 +34,7 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ELROND]: { fetch: fetchFees, - start: 1683849600, + start: '2023-05-12', } } } diff --git a/fees/y2k/index.ts b/fees/y2k/index.ts index a3cdb792f0..6809b343fe 100644 --- a/fees/y2k/index.ts +++ b/fees/y2k/index.ts @@ -14,7 +14,7 @@ const adapter: Adapter = { v1: { [CHAIN.ARBITRUM]: { fetch: v1Fetch as any, - start: 1667088000, + start: '2022-10-30', meta: { methodology, }, @@ -23,7 +23,7 @@ const adapter: Adapter = { v2: { [CHAIN.ARBITRUM]: { fetch: v2Fetch as any, - start: 1685404800, + start: '2023-05-30', }, }, }, diff --git a/fees/yologames/index.ts b/fees/yologames/index.ts index d9f6adcd54..f6ba2c0299 100644 --- a/fees/yologames/index.ts +++ b/fees/yologames/index.ts @@ -23,7 +23,7 @@ const adapter: Adapter = { adapter: { [CHAIN.BLAST]: { fetch, - start: 1709251200, + start: '2024-03-01', meta: { methodology: { Fees: "YOLO Games collects a 1% fee for Moon Or Doom and YOLO winnings, and a 3% fee on Poke The Bear winnings.", diff --git a/fees/zksync-era/index.ts b/fees/zksync-era/index.ts index ca77bdf7a2..28b23d849f 100644 --- a/fees/zksync-era/index.ts +++ b/fees/zksync-era/index.ts @@ -47,7 +47,7 @@ const adapter: Adapter = { return { timestamp, dailyFees, dailyRevenue, } }) as any, - start: 1679616000 // March 24, 2023 + start: '2023-03-24' // March 24, 2023 }, }, protocolType: ProtocolType.CHAIN diff --git a/fees/zns/index.ts b/fees/zns/index.ts index 4426cb0ee4..874431be06 100644 --- a/fees/zns/index.ts +++ b/fees/zns/index.ts @@ -107,63 +107,63 @@ const adapter: Adapter = { adapter: { [CHAIN.BSC]: { fetch: fetchLogsAndCalculateFees, - start: 1714506194, + start: '2024-04-30', meta: { methodology, }, }, [CHAIN.SCROLL]: { fetch: fetchLogsAndCalculateFees, - start: 1714773760, + start: '2024-05-04', meta: { methodology, }, }, [CHAIN.BLAST]: { fetch: fetchLogsAndCalculateFees, - start: 1717180581, + start: '2024-05-31', meta: { methodology, }, }, [CHAIN.POLYGON]: { fetch: fetchLogsAndCalculateFees, - start: 1717195742, + start: '2024-06-01', meta: { methodology, }, }, [CHAIN.TAIKO]: { fetch: fetchLogsAndCalculateFees, - start: 1717048139, + start: '2024-05-30', meta: { methodology, }, }, [CHAIN.XLAYER]: { fetch: fetchLogsAndCalculateFees, - start: 1713379405, + start: '2024-04-17', meta: { methodology, }, }, [CHAIN.ZORA]: { fetch: fetchLogsAndCalculateFees, - start: 1719239283, + start: '2024-06-24', meta: { methodology, }, }, [CHAIN.BOBA]: { fetch: fetchLogsAndCalculateFees, - start: 1719631449, + start: '2024-06-29', meta: { methodology, }, }, [CHAIN.ZKLINK]: { fetch: fetchLogsAndCalculateFees, - start: 1719631449, + start: '2024-06-29', meta: { methodology, }, diff --git a/helpers/readableStartTimestamp.js b/helpers/readableStartTimestamp.js index eb275aa01a..e745fd2119 100644 --- a/helpers/readableStartTimestamp.js +++ b/helpers/readableStartTimestamp.js @@ -12,6 +12,9 @@ function convertTimestamp(unixTimestamp) { // Function to process files in the given directory function processFiles(dir) { + if (dir.includes('node_modules')) { + return; + } fs.readdir(dir, (err, files) => { if (err) { console.error(`Error reading directory ${dir}:`, err); @@ -59,6 +62,8 @@ function processFiles(dir) { }); } }); + } else if (stats.isDirectory()) { + processFiles(filePath); } }); }); diff --git a/incentives/bitcoin/index.ts b/incentives/bitcoin/index.ts index e1ac75d1a6..692cfb7305 100644 --- a/incentives/bitcoin/index.ts +++ b/incentives/bitcoin/index.ts @@ -35,7 +35,7 @@ const adapter: Adapter = { adapter: { [CHAIN.BITCOIN]: { fetch: getIncentives, - start: 1438228800, + start: '2015-07-30', }, }, protocolType: ProtocolType.CHAIN diff --git a/options/aevo/index.ts b/options/aevo/index.ts index 7e66b4ae80..bc420604d1 100644 --- a/options/aevo/index.ts +++ b/options/aevo/index.ts @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ETHEREUM]: { fetch: fetchAevoVolumeData, - start: 1681430400 + start: '2023-04-14' }, }, }; diff --git a/options/arrow-markets/index.ts b/options/arrow-markets/index.ts index 7f8b57b22c..0db335656d 100644 --- a/options/arrow-markets/index.ts +++ b/options/arrow-markets/index.ts @@ -16,7 +16,7 @@ export const v2_adapter: SimpleAdapter = { adapter: { [CHAIN.AVAX]: { fetch: fetchArrowMarketsVolumeData, - start: 1707350400 + start: '2024-02-08' }, }, }; diff --git a/options/ithaca/index.ts b/options/ithaca/index.ts index dea243eed5..0588824a76 100644 --- a/options/ithaca/index.ts +++ b/options/ithaca/index.ts @@ -24,7 +24,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetchIthacaVolumeData, - start: 1713205800, + start: '2024-04-15', }, }, }; diff --git a/options/lyra-v2/index.ts b/options/lyra-v2/index.ts index d79dbd33f5..9f2e1bf2a2 100644 --- a/options/lyra-v2/index.ts +++ b/options/lyra-v2/index.ts @@ -18,7 +18,7 @@ export const v2_adapter: SimpleAdapter = { adapter: { [CHAIN.LYRA]: { fetch: fetchLyraVolumeData, - start: 1702630075 + start: '2023-12-15' }, }, }; diff --git a/options/lyra/index.ts b/options/lyra/index.ts index ade2020a01..bef3a5474c 100644 --- a/options/lyra/index.ts +++ b/options/lyra/index.ts @@ -20,7 +20,7 @@ const adapters: SimpleAdapter = { ...acc, [chain]: { fetch: subgraph(chain as Chain), - start: 1656154800, + start: '2022-06-25', }, }; }, {}), diff --git a/options/moby/index.ts b/options/moby/index.ts index 055745f83d..8c7d6f9e05 100644 --- a/options/moby/index.ts +++ b/options/moby/index.ts @@ -18,7 +18,7 @@ export const moby_adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetchMobyVolumeData, - start: 1712102400 + start: '2024-04-03' }, }, }; diff --git a/options/optionBlitz/index.ts b/options/optionBlitz/index.ts index 5bde00e5af..8842c068a9 100644 --- a/options/optionBlitz/index.ts +++ b/options/optionBlitz/index.ts @@ -71,7 +71,6 @@ const adapters: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch as any, - start: 194784191, }, }, }; diff --git a/options/opyn/index.ts b/options/opyn/index.ts index fa58a9496a..6a5855abd2 100644 --- a/options/opyn/index.ts +++ b/options/opyn/index.ts @@ -81,7 +81,7 @@ const adapter: BreakdownAdapter = { "gamma": { [CHAIN.ETHEREUM]: { fetch, - start: 1609200000 + start: '2020-12-29' } } } diff --git a/options/pancakeswap-options/index.ts b/options/pancakeswap-options/index.ts index d144427c0b..c271cc3f48 100644 --- a/options/pancakeswap-options/index.ts +++ b/options/pancakeswap-options/index.ts @@ -41,7 +41,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetchOptions, - start: 1699660800, + start: '2023-11-11', }, } } diff --git a/options/rysk-finance/index.ts b/options/rysk-finance/index.ts index 34e2149225..b8de097faa 100644 --- a/options/rysk-finance/index.ts +++ b/options/rysk-finance/index.ts @@ -112,7 +112,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch, - start: 1688428800 + start: '2023-07-04' }, }, }; diff --git a/options/smilee-finance/index.ts b/options/smilee-finance/index.ts index 779ec4cb99..a64c5294d2 100644 --- a/options/smilee-finance/index.ts +++ b/options/smilee-finance/index.ts @@ -77,7 +77,7 @@ const adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch, - start: 1710440552 + start: '2024-03-14' }, } }; diff --git a/options/thales/index.ts b/options/thales/index.ts index 84d67c15f2..04736fb159 100644 --- a/options/thales/index.ts +++ b/options/thales/index.ts @@ -63,13 +63,13 @@ const adapter: Adapter = { version: 2, adapter: { [CHAIN.ARBITRUM]: { - fetch, start: 1662463922, + fetch, start: '2022-09-06', }, [CHAIN.OPTIMISM]: { - fetch, start: 1641838619, + fetch, start: '2022-01-10', }, [CHAIN.BASE]: { - fetch, start: 1691692525, + fetch, start: '2023-08-10', }, }, }; diff --git a/options/tigris/index.ts b/options/tigris/index.ts index d790765028..6d3a6616b3 100644 --- a/options/tigris/index.ts +++ b/options/tigris/index.ts @@ -62,11 +62,11 @@ const adapter: Adapter = { adapter: { [CHAIN.ARBITRUM]: { fetch: fetch(CHAIN.ARBITRUM), - start: 1663023600, + start: '2022-09-13', }, [CHAIN.POLYGON]: { fetch: fetch(CHAIN.POLYGON), - start: 1663023600, + start: '2022-09-13', } } } diff --git a/options/typus/index.ts b/options/typus/index.ts index 1db21660ff..61ecb9746c 100644 --- a/options/typus/index.ts +++ b/options/typus/index.ts @@ -6,7 +6,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.SUI]: { fetch: getChainData, - start: 1697700660, + start: '2023-10-19', } }, version: 2, diff --git a/protocols/magicsea-lb/index.ts b/protocols/magicsea-lb/index.ts index 1c7170f16b..a1cfc19f41 100644 --- a/protocols/magicsea-lb/index.ts +++ b/protocols/magicsea-lb/index.ts @@ -54,7 +54,7 @@ const fetch: any = async (timestamp: number, _: ChainBlocks, { getLogs, api, cre const adapter: SimpleAdapter = { adapter: { - [CHAIN.IOTAEVM]: { fetch, start: 1681130543, }, + [CHAIN.IOTAEVM]: { fetch, start: '2023-04-10', }, } }; diff --git a/protocols/merchant-moe-liquidity-book/index.ts b/protocols/merchant-moe-liquidity-book/index.ts index 26bde0ac4e..6a78ff5a8d 100644 --- a/protocols/merchant-moe-liquidity-book/index.ts +++ b/protocols/merchant-moe-liquidity-book/index.ts @@ -42,7 +42,7 @@ const adapter: SimpleAdapter = { adapter: { [CHAIN.MANTLE]: { fetch: graph, - start: 1711929600 + start: '2024-04-01' } } } diff --git a/protocols/pancakeswap/index.ts b/protocols/pancakeswap/index.ts index db3a1bbc78..3deb43671a 100644 --- a/protocols/pancakeswap/index.ts +++ b/protocols/pancakeswap/index.ts @@ -241,7 +241,7 @@ const adapter: BreakdownAdapter = { timestamp: startTimestamp } }, - start: 1680307200, + start: '2023-04-01', } }, v2: Object.keys(endpoints).reduce((acc, chain) => { @@ -286,7 +286,7 @@ const adapter: BreakdownAdapter = { }; adapter.breakdown.v2[CHAIN.APTOS] = { fetch: fetchVolume, - start: 1699488000, + start: '2023-11-09', // runAtCurrTime: true, } diff --git a/protocols/uniswap/index.ts b/protocols/uniswap/index.ts index a908a05195..185dd459a8 100644 --- a/protocols/uniswap/index.ts +++ b/protocols/uniswap/index.ts @@ -217,7 +217,7 @@ const adapter: BreakdownAdapter = { } return response as FetchResultGeneric }, - start: 1541203200, + start: '2018-11-03', meta: { methodology },