Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Invariant volume and fee tracking adapter #2251

Merged
merged 2 commits into from
Dec 23, 2024
Merged

Add Invariant volume and fee tracking adapter #2251

merged 2 commits into from
Dec 23, 2024

Conversation

g1nt0ki
Copy link
Member

@g1nt0ki g1nt0ki commented Dec 23, 2024

Implement an adapter to fetch daily volume and fees from the Invariant API for Solana and Eclipse chains.

@g1nt0ki g1nt0ki merged commit 92372d1 into master Dec 23, 2024
2 checks passed
@g1nt0ki g1nt0ki deleted the invariant branch December 23, 2024 15:29
@llamabutler
Copy link

The invariant adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts dexs invariant

🦙 Running INVARIANT adapter 🦙
---------------------------------------------------
Start Date:	Sun, 22 Dec 2024 00:00:00 GMT
End Date:	Mon, 23 Dec 2024 00:00:00 GMT
---------------------------------------------------

SOLANA 👇
Backfill start time: 22/12/2024
NO METHODOLOGY SPECIFIED
Daily volume: 916.28 k
Daily fees: 120
End timestamp: 1734911999 (2024-12-22T23:59:59.000Z)


ECLIPSE 👇
Backfill start time: 22/12/2024
NO METHODOLOGY SPECIFIED
Daily volume: 703.13 k
Daily fees: 632
End timestamp: 1734911999 (2024-12-22T23:59:59.000Z)

@llamabutler
Copy link

The invariant.ts adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees invariant.ts

🦙 Running INVARIANT.TS adapter 🦙
---------------------------------------------------
Start Date:	Sun, 22 Dec 2024 00:00:00 GMT
End Date:	Mon, 23 Dec 2024 00:00:00 GMT
---------------------------------------------------

SOLANA 👇
Backfill start time: 22/12/2024
NO METHODOLOGY SPECIFIED
Daily volume: 916.28 k
Daily fees: 120
End timestamp: 1734911999 (2024-12-22T23:59:59.000Z)


ECLIPSE 👇
Backfill start time: 22/12/2024
NO METHODOLOGY SPECIFIED
Daily volume: 703.13 k
Daily fees: 632
End timestamp: 1734911999 (2024-12-22T23:59:59.000Z)

@g1nt0ki g1nt0ki mentioned this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants