Skip to content

Commit

Permalink
Merge pull request DefiLlama#1386 from kanalabs/master
Browse files Browse the repository at this point in the history
aptos swap removed temporarily
  • Loading branch information
dtmkeng authored Apr 5, 2024
2 parents bbda451 + 34e598e commit b2fb8fd
Show file tree
Hide file tree
Showing 2 changed files with 2,409 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aggregators/kanalabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ const adapter: SimpleAdapter = {
},
[CHAIN.APTOS]: {
fetch: async (timestamp: number) => {
const swap = await fetch(KanaChainID.aptos)(timestamp);
const swap = await fetch(KanaChainID.aptos)(timestamp);
const trade = await fetchDerivatives(KanaChainID.aptos)(timestamp);
return {
dailyVolume: (+swap.dailyVolume + +trade.dailyVolume).toString(),
dailyVolume: (+trade.dailyVolume).toString(),
totalVolume: (+swap.totalVolume + +trade.totalVolume).toString(),
timestamp,
};
Expand Down
Loading

0 comments on commit b2fb8fd

Please sign in to comment.