Skip to content

Commit

Permalink
FIX:era
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaxuliang committed Jul 12, 2023
1 parent 74a80ba commit cde4ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dexs/pinnako/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CHAIN } from "../../helpers/chains";
import { getUniqStartOfTodayTimestamp } from "../../helpers/getUniSubgraphVolume";

const endpoints: { [key: string]: string } = {
[CHAIN.ZKSYNC]: "https://api.studio.thegraph.com/query/49418/zkmain_stats/version/latest",
[CHAIN.ERA]: "https://api.studio.thegraph.com/query/49418/zkmain_stats/version/latest",
}

const historicalDataSwap = gql`
Expand Down Expand Up @@ -60,7 +60,7 @@ const getFetch = (query: string)=> (chain: string): Fetch => async (timestamp: n

const getStartTimestamp = async (chain: string) => {
const startTimestamps: { [chain: string]: number } = {
[CHAIN.ZKSYNC]: 1688529600,
[CHAIN.ERA]: 1688529600,
}
return startTimestamps[chain]
}
Expand Down

0 comments on commit cde4ebb

Please sign in to comment.