Skip to content

Commit

Permalink
Add volume adapter for Archly on Ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
tec05 committed Apr 17, 2024
1 parent 3494d1f commit cc21475
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dexs/archly-finance-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { getDexVolumeExports } from "../../helpers/dexVolumeLogs";

const FACTORY_ADDRESS = '0x12508dd9108Abab2c5fD8fC6E4984E46a3CF7824';
const FACTORY_ADDRESS_ZKSYNC = '0x30A0DD3D0D9E99BD0E67b323FB706788766dCff2';
const FACTORY_ADDRESS_ETHERUEM = '0xE8E2b714C57937E0b29c6ABEAF00B52388cAb598';

const adapter: SimpleAdapter = {
adapter: {
Expand Down Expand Up @@ -35,6 +36,10 @@ const adapter: SimpleAdapter = {
fetch: getDexVolumeExports({ chain: CHAIN.CRONOS, factory: FACTORY_ADDRESS }),
start: 1708473600,
},
[CHAIN.ETHEREUM]: {
fetch: getDexVolumeExports({ chain: CHAIN.ETHEREUM, factory: FACTORY_ADDRESS_ETHERUEM }),
start: 1713070800,
},
[CHAIN.FANTOM]: {
fetch: getDexVolumeExports({ chain: CHAIN.FANTOM, factory: FACTORY_ADDRESS }),
start: 1700784000,
Expand Down

0 comments on commit cc21475

Please sign in to comment.