-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: track bitfi fees & revenue #4917
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
Conversation
|
The bitfi.ts adapter exports: |
|
@starfrich is this listing for https://defillama.com/protocol/bitfi-btc i can see you have added start date as 2025-02-06, is there anyway to refill for full history for older version? lmk if you need any help |
|
The bitfi-btc.ts adapter exports: |
|
The bitfi.ts adapter exports: |
|
The bitfi-btc.ts adapter exports: |
the adapter uses event logs which are permanently stored on-chain, so all fee data since deployment can be indexed. |
|
@starfrich can you create new listing to track the bfUSD fees too(https://defillama.com/protocol/bitfi-basis)? as i can see you already have it in the adapter file |
|
The bitfi-basis.ts adapter exports: |
|
The bitfi-btc.ts adapter exports: |
Yes, i just update the adapter: |
|
checking in here, happy to iterate on this if there’s any feedback. thanks |
|
I've refactored and created new PR as can't edit this one #5124 |
#4793