-
Notifications
You must be signed in to change notification settings - Fork 1.3k
add/fees/indx/index.ts #3354
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
base: master
Are you sure you want to change the base?
add/fees/indx/index.ts #3354
Conversation
adding fee revenue to defillama
The indx adapter exports:
|
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.
thanks for the PR, can you pls add fees methodology, like this:
https://github.com/DefiLlama/dimension-adapters/blob/master/fees/bonk-bot/index.ts#L18
fees/indx/index.ts
Outdated
import { CHAIN } from "../../helpers/chains"; | ||
|
||
const FeeCollectedEvent = "event FeesCollected(address indexed token, address indexed integrator, uint256 integratorFee, uint256 indxFee)" | ||
const indxFeeAddress = '0xD04086A2E18f4B1BB565A703EBeC56eaee2ACCA0'; |
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.
this is not a contract, wrong address?
Updated adapter
The indx adapter exports:
|
Should be fine now - all our index contracts send ETH to this address - is that okay? |
The indx adapter exports:
|
The indx adapter exports:
|
The indx adapter exports:
|
The indx adapter exports:
|
The indx adapter exports:
|
The indx adapter exports:
|
The indx adapter exports:
|
The indx adapter exports:
|
adding fee revenue to defillama - thanks guys