-
Notifications
You must be signed in to change notification settings - Fork 1.7k
track babylon chain fees #5101
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
track babylon chain fees #5101
Conversation
|
The babylon-genesis adapter exports: |
|
The babylon-genesis adapter exports: |
helpers/chains.ts
Outdated
| ADVENTURE_LAYER = "adventure_layer", | ||
| DERI_CHAIN = "deri_chain", | ||
| DUCK_CHAIN = "duck_chain", | ||
| BABYLON_GENESIS = "babylon_genesis", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you change it to babylon which match with tvl adapters https://github.com/DefiLlama/DefiLlama-Adapters/blob/main/projects/escher/index.js#L41
fees/babylon-genesis/index.ts
Outdated
|
|
||
| const { data } = await fetchURL("https://babylon.api.explorers.guru/api/v1/analytics?timeframe=6M"); | ||
|
|
||
| const todaysData = data.find((entry:any)=>entry.date===options.dateString); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add some spaces, codes need to breathe
noateden
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
|
The babylon-genesis adapter exports: |
Done |
Closely related to #4782
Since restaking as no yields or fees right now, tracking chain fees