-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add eth,bsc,base fee tracker to mevx.ts #2729
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?
Conversation
The mevx.ts adapter exports:
|
fees/mevx.ts
Outdated
} | ||
|
||
const graph = (chain: Chain) => { | ||
return async (timestamp: number, _: ChainBlocks, { createBalances, getFromBlock, getToBlock, }: FetchOptions): Promise<FetchResultFees> => { |
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.
v2 adapters take only one param, FetchOptions
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.
Could you tell me how to fix?
The mevx.ts adapter exports:
|
The mevx.ts adapter exports:
|
fees/mevx.ts
Outdated
|
||
const value: string[][] = (await queryFlipside(query, 260)) | ||
const rawData = value.map((a: string[]) => { | ||
const data = a[0].replace('0x5f575529', ''); |
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.
sorry for the delayed review, but can you verify the contracts on the explorer or add abi here, so we can parse the input? Also, are these contracts still used? I see that the calls more or less stopped 2 weeks ago
The mevx.ts adapter exports:
|
Add eth, bsc, base fee tracker to mevx.ts