Skip to content

Commit

Permalink
track g8keep.xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Nov 5, 2024
1 parent 48044cc commit 6235b76
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions fees/g8keep.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import ADDRESSES from '../helpers/coreAssets.json'
import { FetchOptions, SimpleAdapter } from "../adapters/types"
import { CHAIN } from "../helpers/chains"
import { addTokensReceived } from '../helpers/token';

const fetchFees = async (options: FetchOptions) => {
const dailyFees = await addTokensReceived({ options, tokens: [ADDRESSES.base.WETH], fromAddressFilter: '0x3C0B43867Cd04fEdfD6a95497e5ea7e3aFF8cCaE' , target: '0x28253c1A76256bf1D9095587826AfCC5705aF98a' })

return {
dailyFees: dailyFees,
dailyRevenue: dailyFees,
}
}

const adapter: SimpleAdapter = {
version: 2,
adapter: {
[CHAIN.BASE]: {
fetch: fetchFees,
start: 1730674800,
}
}
}
export default adapter

0 comments on commit 6235b76

Please sign in to comment.