Skip to content

Commit

Permalink
Merge pull request DefiLlama#1240 from JoscelynFarr/master
Browse files Browse the repository at this point in the history
update trading volume of jojo
  • Loading branch information
dtmkeng authored Feb 27, 2024
2 parents df15498 + 0f2b801 commit a8ed16f
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions dexs/jojo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ const historicalVolumeEndpointZk = (symbol: string, chain: string) => `https://a
const coins = {
'ethusdc': 'coingecko:ethereum',
'btcusdc': 'coingecko:bitcoin',
'arbusdc': 'coingecko:arbitrum',
'solusdc': 'coingecko:solana',
'linkusdc': 'coingecko:link',
'memeusdc': 'coingecko:meme',
'ordiusdc': 'coingecko:ordi',
'wldusdc': 'coingecko:wld',
'agixusdc': 'coingecko:agix',
'arusdc': 'coingecko:ar',
'tiausdc': 'coingecko:tia',
'strkusdc': 'coingecko:strk',
'avaxusdc': 'coingecko:avax',
'xrpusdc': 'coingecko:xrp',
'trxusdc': 'coingecko:trx',
'rndrusdc': 'coingecko:rndr',
'adausdc': 'coingecko:ada',
'altusdc': 'coingecko:alt',
'dogeusdc': 'coingecko:doge',
'xaiusdc': 'coingecko:xai'
}

interface IVolumeall {
Expand Down Expand Up @@ -43,10 +61,6 @@ const getFetch = (chain: string): Fetch => async (timestamp: number) => {

const adapter: SimpleAdapter = {
adapter: {
// [CHAIN.ERA]: {
// fetch: getFetch("zksync"),
// start: 1687017600,
// }, // error
[CHAIN.ARBITRUM]: {
fetch: getFetch("arbitrum"),
start: 1687017600,
Expand Down

0 comments on commit a8ed16f

Please sign in to comment.