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

update raindex vol adapter #1981

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

rouzwelt
Copy link
Contributor

@rouzwelt rouzwelt commented Oct 10, 2024

  • we use output token to track vol not input token, not input token, input token may not always show the correct volume since it depends on the price that the raindex order has set for it which is not reflected on the emitted event entirely
  • update to include v3 contracts

question: is this current setup ok to show historical volume? if not what changes should be added so that the UI can reflect historical vol?

@llamatester
Copy link

The raindex adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs raindex

🦙 Running RAINDEX adapter 🦙
---------------------------------------------------
Start Date:	Wed, 09 Oct 2024 03:05:16 GMT
End Date:	Thu, 10 Oct 2024 03:05:16 GMT
---------------------------------------------------

ARBITRUM 👇
Backfill start time: 16/3/2024
Daily volume: 61
└─ Methodology: Volume of trades
End timestamp: 1728529515 (2024-10-10T03:05:15.000Z)


BASE 👇
Backfill start time: 16/3/2024
Daily volume: 511
└─ Methodology: Volume of trades
End timestamp: 1728529515 (2024-10-10T03:05:15.000Z)


BSC 👇
Backfill start time: 16/3/2024
Daily volume: 8
└─ Methodology: Volume of trades
End timestamp: 1728529515 (2024-10-10T03:05:15.000Z)


ETHEREUM 👇
Backfill start time: 6/2/2024
Daily volume: 0
└─ Methodology: Volume of trades
End timestamp: 1728529515 (2024-10-10T03:05:15.000Z)


FLARE 👇
Backfill start time: 6/4/2024
Daily volume: 92
└─ Methodology: Volume of trades
End timestamp: 1728529515 (2024-10-10T03:05:15.000Z)


LINEA 👇
Backfill start time: 29/7/2024
Daily volume: 59
└─ Methodology: Volume of trades
End timestamp: 1728529515 (2024-10-10T03:05:15.000Z)


POLYGON 👇
Backfill start time: 3/8/2023
Daily volume: 11
└─ Methodology: Volume of trades
End timestamp: 1728529515 (2024-10-10T03:05:15.000Z)

@g1nt0ki g1nt0ki merged commit 12343a9 into DefiLlama:master Oct 10, 2024
2 checks passed
@g1nt0ki
Copy link
Member

g1nt0ki commented Oct 10, 2024

thanks for the update, you dont need to do anything, will ask a llama to run refill script to show history

@rouzwelt rouzwelt deleted the raindex-v3-vol-adapter branch October 10, 2024 17:00
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