Skip to content

Commit

Permalink
remove redundant lines
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Dec 7, 2024
1 parent 3edfae2 commit 3c47ff3
Show file tree
Hide file tree
Showing 47 changed files with 0 additions and 75 deletions.
9 changes: 0 additions & 9 deletions aggregators/aperture-swap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,47 +81,38 @@ const adapter: SimpleAdapter = {
adapter: {
[CHAIN.ETHEREUM]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-07-18',
},
[CHAIN.ARBITRUM]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-07-10',
},
[CHAIN.AVAX]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-10-07',
},
[CHAIN.BASE]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-10-13',
},
[CHAIN.BSC]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-10-10',
},
[CHAIN.OPTIMISM]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-10-09',
},
[CHAIN.POLYGON]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-10-09',
},
[CHAIN.MANTA]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-09-19',
},
[CHAIN.SCROLL]: {
fetch: fetch,
runAtCurrTime: false,
start: '2023-12-16',
}
}
Expand Down
1 change: 0 additions & 1 deletion aggregators/deflex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const adapter: SimpleAdapter = {
algorand: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
},
}
};
Expand Down
9 changes: 0 additions & 9 deletions aggregators/kanalabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,26 @@ const adapter: SimpleAdapter = {
adapter: {
[CHAIN.ETHEREUM]: {
fetch: fetch(KanaChainID.ethereum),
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.BSC]: {
fetch: fetch(KanaChainID.bsc),
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.AVAX]: {
fetch: fetch(KanaChainID.Avalanche),
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.ARBITRUM]: {
fetch: fetch(KanaChainID.Arbitrum),
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.POLYGON]: {
fetch: fetch(KanaChainID.polygon),
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.ERA]: {
fetch: fetch(KanaChainID.zkSync),
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.APTOS]: {
Expand All @@ -88,17 +82,14 @@ const adapter: SimpleAdapter = {
timestamp,
};
},
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.SUI]: {
fetch: fetch(KanaChainID.sui),
runAtCurrTime: false,
start: startTimeBlock,
},
[CHAIN.SOLANA]: {
fetch: fetch(KanaChainID.solana),
runAtCurrTime: false,
start: startTimeBlock,
},
},
Expand Down
1 change: 0 additions & 1 deletion aggregators/udex-agg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const adapter: SimpleAdapter = {
[chain]: {
fetch,
start: '2024-09-17',
runAtCurrTime:false
},
}
}, {}),
Expand Down
1 change: 0 additions & 1 deletion dexs/4swap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const adapter: SimpleAdapter = {
[CHAIN.MIXIN]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
},
}
};
Expand Down
1 change: 0 additions & 1 deletion dexs/algofi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const adapter: SimpleAdapter = {
[CHAIN.ALGORAND]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
},
}
};
Expand Down
1 change: 0 additions & 1 deletion dexs/astrolescent/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const adapters: SimpleAdapter = {
fetch: fetchVolume,
start: '2023-10-30',
customBackfill: customBackfill(CHAIN.RADIXDLT, () => fetchVolume),
runAtCurrTime: false
}
}
}
Expand Down
5 changes: 0 additions & 5 deletions dexs/astroport-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,22 @@ const adapter: SimpleAdapter = {
"terra2": {
fetch: fetch("phoenix-1"),
runAtCurrTime: true,
customBackfill: undefined,
},
[CHAIN.INJECTIVE]: {
fetch: fetch("injective-1"),
runAtCurrTime: true,
customBackfill: undefined,
},
neutron: {
fetch: fetch("neutron-1"),
runAtCurrTime: true,
customBackfill: undefined,
},
[CHAIN.SEI]: {
fetch: fetch("pacific-1"),
runAtCurrTime: true,
customBackfill: undefined,
},
[CHAIN.OSMOSIS]: {
fetch: fetch("osmosis-1"),
runAtCurrTime: true,
customBackfill: undefined,
}
},
};
Expand Down
1 change: 0 additions & 1 deletion dexs/astroport/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const adapter: SimpleAdapter = {
}
},
runAtCurrTime: true,
customBackfill: undefined,
},
},
};
Expand Down
1 change: 0 additions & 1 deletion dexs/axial/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const adapter: SimpleAdapter = {
[CHAIN.AVAX]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
start: '2023-01-03',
},
}
Expand Down
2 changes: 0 additions & 2 deletions dexs/bancor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ const adapter: BreakdownAdapter = {
"v2.1": {
[CHAIN.ETHEREUM]: {
fetch: graphs("ethereum"),
runAtCurrTime: false,
customBackfill: undefined,
start: '2019-10-10',
}
},
Expand Down
1 change: 0 additions & 1 deletion dexs/basin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ function volumeForCategory(chain: CHAIN, type: WellType) {
return await getVolumeStats(chain, type, block);
},
start: async () => chains[chain].startTime,
runAtCurrTime: false, // Backfill is allowed
meta: {
methodology
}
Expand Down
1 change: 0 additions & 1 deletion dexs/brine/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const adapter: SimpleAdapter = {
adapter: {
[CHAIN.ETHEREUM]: {
fetch,
runAtCurrTime: false,
start: '2023-04-06',
},
},
Expand Down
1 change: 0 additions & 1 deletion dexs/chainge-finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const adapter: SimpleAdapter = {
[CHAIN.FUSION]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
},
}
};
Expand Down
1 change: 0 additions & 1 deletion dexs/danogo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const adapter: SimpleAdapter = {
cardano: {
fetch: fetchData,
start: DANOGO_START_TIMESTAMP,
runAtCurrTime: false,
}
}
};
Expand Down
1 change: 0 additions & 1 deletion dexs/darkness/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const adapter: SimpleAdapter = {
[CHAIN.CRONOS]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
start: '2023-01-04',
},
}
Expand Down
1 change: 0 additions & 1 deletion dexs/dexter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const adapter: SimpleAdapter = {
adapter: {
persistence: {
fetch,
runAtCurrTime: false,
start: '2023-03-27',
},
},
Expand Down
1 change: 0 additions & 1 deletion dexs/goosefx/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const adapter: SimpleAdapter = {
fetch: fetch,
start: '2023-10-11',
customBackfill: customBackfill(CHAIN.SOLANA as CHAIN, () => fetch),
runAtCurrTime: false,
meta: {
methodology: 'This is the volume generated by our SSL Protocol and calculated by our internal api.'
}
Expand Down
1 change: 0 additions & 1 deletion dexs/humble-defi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const adapter: SimpleAdapter = {
[CHAIN.ALGORAND]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
},
}
};
Expand Down
1 change: 0 additions & 1 deletion dexs/hydradx/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const adapter: SimpleAdapter = {
[CHAIN.HYDRADX]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
start: '2023-08-22',
},
}
Expand Down
2 changes: 0 additions & 2 deletions dexs/mango-v4/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,12 @@ const adapter: BreakdownAdapter = {
solana: {
fetch: fetchSpotVolume,
runAtCurrTime: true,
customBackfill: undefined,
},
},
perp: {
solana: {
fetch: fetchPerpVolume,
runAtCurrTime: true,
customBackfill: undefined,
},
},
},
Expand Down
1 change: 0 additions & 1 deletion dexs/pangea-swap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const adapter: SimpleAdapter = {
[CHAIN.KLAYTN]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined
},
},
};
Expand Down
1 change: 0 additions & 1 deletion dexs/raindex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ const volAdapter: BaseAdapter = {}
Object.keys(orderbooks).forEach(chain => {
volAdapter[chain] = {
fetch: fetchVolume,
runAtCurrTime: false,
start: Object.values(orderbooks[chain])
.flat()
.reduce((a, b) => a.start < b.start ? a : b)
Expand Down
1 change: 0 additions & 1 deletion dexs/saros/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const adapter: SimpleAdapter = {
[CHAIN.SOLANA]: {
fetch: graphs(CHAIN.SOLANA),
runAtCurrTime: true,
customBackfill: undefined,
},
},
};
Expand Down
1 change: 0 additions & 1 deletion dexs/swop/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const adapter: SimpleAdapter = {
[CHAIN.WAVES]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
meta: {
methodology
}
Expand Down
1 change: 0 additions & 1 deletion dexs/swych/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ export default {
[CHAIN.BSC]: {
fetch: fetchVolumeStats,
start: '2023-12-04',
runAtCurrTime: false,
},
},
};
1 change: 0 additions & 1 deletion dexs/tinyman/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const adapter: SimpleAdapter = {
algorand: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
},
}
};
Expand Down
1 change: 0 additions & 1 deletion dexs/wx.network/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const adapter: SimpleAdapter = {
[CHAIN.WAVES]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
},
}
};
Expand Down
1 change: 0 additions & 1 deletion dexs/xei/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const adapter: SimpleAdapter = {
[chain]: {
fetch,
start: '2024-05-28',
runAtCurrTime:false,
// customBackfill:customBackfill(contract, chain)
},
}
Expand Down
1 change: 0 additions & 1 deletion dexs/zigzag/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const adapter: SimpleAdapter = {
[CHAIN.ZKSYNC]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
start: '2023-03-22',
},
}
Expand Down
1 change: 0 additions & 1 deletion dexs/zklite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const adapter: SimpleAdapter = {
[CHAIN.ZKSYNC]: {
fetch,
runAtCurrTime: true,
customBackfill: undefined,
start: '2024-04-10',
},
}
Expand Down
1 change: 0 additions & 1 deletion fees/4cast/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const adapter: Adapter = {
adapter: {
[CHAIN.SOLANA]: {
fetch,
runAtCurrTime: false,
start: '2024-07-17',
},
},
Expand Down
2 changes: 0 additions & 2 deletions fees/bouncebit-cedefi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ const adapter: Adapter = {
version: 1,
adapter: {
[CHAIN.BOUNCE_BIT]: {
runAtCurrTime: false,
customBackfill: undefined,
fetch: fetchBounceBitCedefiStats,
start: "2024-11-11",
},
Expand Down
2 changes: 0 additions & 2 deletions fees/cetus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ const adapter: Adapter = {
version: 2,
adapter: {
[CHAIN.SUI]: {
runAtCurrTime: false,
customBackfill: undefined,
fetch: fetchCetusStats,
start: '2024-01-01',
meta: {
Expand Down
1 change: 0 additions & 1 deletion fees/danogo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const adapter: SimpleAdapter = {
cardano: {
fetch: fetchData,
start: DANOGO_START_TIMESTAMP,
runAtCurrTime: false,
}
},
version: 2
Expand Down
Loading

0 comments on commit 3c47ff3

Please sign in to comment.