Skip to content

Commit

Permalink
use string timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Nov 21, 2024
1 parent 787edda commit f9ba46b
Show file tree
Hide file tree
Showing 554 changed files with 1,027 additions and 1,047 deletions.
2 changes: 1 addition & 1 deletion aggregator-derivatives/sharpe-perp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
adapter: {
[CHAIN.ETHEREUM]: {
fetch: fetch,
start: 1711963031
start: '2024-04-01'
},
},
version: 2
Expand Down
14 changes: 7 additions & 7 deletions aggregator-derivatives/unidex-agg-perp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,50 +107,50 @@ 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,
},
},
[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,
},
Expand Down
2 changes: 1 addition & 1 deletion aggregators/1inch-agg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const adapter: any = {
[(chainsMap as any)[chain] || chain]: {
fetch: fetch(chain),
runAtCurrTime: true,
start: 1701734400,
start: '2023-12-05',
},
};
}, {}),
Expand Down
2 changes: 1 addition & 1 deletion aggregators/7k-aggregator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const adapter: SimpleAdapter = {
adapter: {
[CHAIN.SUI]: {
fetch,
start: 1719563120,
start: '2024-06-28',
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/aftermath-aggregator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const adapter: SimpleAdapter = {
adapter: {
[CHAIN.SUI]: {
fetch,
start: 1689811200
start: '2023-07-20'
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/aggre/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const adapter: SimpleAdapter = {
...acc,
[chain]: {
fetch,
start: 1698660910,
start: '2023-10-30',
}
}
}, {}),
Expand Down
18 changes: 9 additions & 9 deletions aggregators/aperture-swap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/arcane-dex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const adapters: SimpleAdapter = {
adapter: {
[CHAIN.ARBITRUM]: {
fetch: fetchVolume,
start: 1700092800
start: '2023-11-16'
,
}
}
Expand Down
22 changes: 11 additions & 11 deletions aggregators/bebop/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', },
},
};

Expand Down
2 changes: 1 addition & 1 deletion aggregators/cetus-aggregator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const adapter_agge: any = {
adapter: {
[CHAIN.SUI]: {
fetch: fetchVolume,
start: 1721260800,
start: '2024-07-18',
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/chainspot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const adapter: any = {
...acc,
[chain]: {
fetch: fetch,
start: 1704067200,
start: '2024-01-01',
},
};
}, {}),
Expand Down
2 changes: 1 addition & 1 deletion aggregators/conveyor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const adapter: any = {
[(chainsMap as any)[chain] || chain]: {
fetch: fetch(chain),
runAtCurrTime: true,
start: 1692897682,
start: '2023-08-24',
},
};
}, {}),
Expand Down
6 changes: 3 additions & 3 deletions aggregators/cowswap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', },
},
};

Expand Down
2 changes: 1 addition & 1 deletion aggregators/dforce/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const adapter: SimpleAdapter = {
...acc,
[chain]: {
fetch: fetch(chain),
start: 1679097600,
start: '2023-03-18',
runAtCurrTime: true
}
}
Expand Down
2 changes: 1 addition & 1 deletion aggregators/dodo-agg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion aggregators/etaswap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const adapter: any = {
adapter: {
[CHAIN.HEDERA]: {
fetch: fetchLogs,
start: 1709395559,
start: '2024-03-02',
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/fibrous-finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const adapter: SimpleAdapter = {
adapter: {
[CHAIN.STARKNET]: {
fetch,
start: 1683408691,
start: '2023-05-06',
runAtCurrTime: true
},
},
Expand Down
2 changes: 1 addition & 1 deletion aggregators/flowx-aggregator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const adapter: any = {
adapter: {
[CHAIN.SUI]: {
fetch: fetchVolume,
start: 1717200000,
start: '2024-06-01',
},
},
};
Expand Down
16 changes: 8 additions & 8 deletions aggregators/hinkal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
},
};

Expand Down
2 changes: 1 addition & 1 deletion aggregators/hop-aggregator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const adapter: any = {
adapter: {
[CHAIN.SUI]: {
fetch: fetchVolume,
start: 1714276800
start: '2024-04-28'
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/injex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const adapter: any = {
adapter: {
injective: {
fetch: fetchLogs,
start: 1716411599,
start: '2024-05-22',
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/jeton/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const adapter: Adapter = {
...acc,
[key]: {
fetch: fetch(key),
start: 1693785600,
start: '2023-09-04',
},
};
}, {}),
Expand Down
2 changes: 1 addition & 1 deletion aggregators/jumper-exchange/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', }
}
}, {})
};
Expand Down
2 changes: 1 addition & 1 deletion aggregators/jupiter-aggregator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const adapter: any = {
adapter: {
[CHAIN.SOLANA]: {
fetch,
start: 1681599600,
start: '2023-04-16',
meta: {
methodology: {
totalVolume:
Expand Down
Loading

0 comments on commit f9ba46b

Please sign in to comment.