Skip to content

Commit

Permalink
blast-remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav0808 committed Jan 6, 2025
1 parent 278d41c commit e895d69
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions aggregators/hinkal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,6 @@ const fetchOPTIMISM = async (options: FetchOptions) => {
};
};

const fetchBLAST = async (options: FetchOptions) => {
const timestampStart = options.startTimestamp;
const timestampEnd = options.endTimestamp;
const urlVolume = `https://blast.server.hinkal.pro/totalVolume/${timestampStart}/${timestampEnd}/81457`;

const responseVolume = await httpGet(urlVolume);
const dataTotal = responseVolume;
const dailyVolume = dataTotal.internal_volume + dataTotal.external_volume;
return {
timestamp: options.startTimestamp,
dailyVolume,
};
};

const adapter: Adapter = {
version: 2,
adapter: {
Expand All @@ -125,7 +111,6 @@ const adapter: Adapter = {
[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

0 comments on commit e895d69

Please sign in to comment.