Skip to content

Commit

Permalink
add custom backfill to Astrolescent
Browse files Browse the repository at this point in the history
  • Loading branch information
timanrebel committed Aug 15, 2024
1 parent 9b0b428 commit 62fb49e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dexs/astrolescent/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { FetchResultFees, FetchResultVolume, SimpleAdapter } from "../../adapters/types"
import { CHAIN } from "../../helpers/chains"
import fetchURL from "../../utils/fetchURL"
import customBackfill from "../../helpers/customBackfill";

interface AstrolescentStats {
volumeUSD: number;
Expand All @@ -20,6 +21,7 @@ const adapters: SimpleAdapter = {
[CHAIN.RADIXDLT]: {
fetch: fetchVolume,
start: 1698624000,
customBackfill: customBackfill(CHAIN.RADIXDLT, () => fetchVolume),
runAtCurrTime: false
}
}
Expand Down

0 comments on commit 62fb49e

Please sign in to comment.