Skip to content

Commit

Permalink
add kerberos
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed Oct 10, 2024
1 parent f66a03a commit 9f537b2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions fees/kerberos.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { FetchOptions, SimpleAdapter } from "../adapters/types";
import { CHAIN } from "../helpers/chains";
import { addTokensReceived } from "../helpers/token";

const fetch: any = async (options: FetchOptions) => {
const dailyFees = await addTokensReceived({
options, targets: [
'0xf82cc5f5bd5fb6a2731cf7903087e8e4e953c434'
]
})

return { dailyFees, }
};

const adapter: SimpleAdapter = {
version: 2,
adapter: {
[CHAIN.ETHEREUM]: { fetch, start: 0, },
[CHAIN.BASE]: { fetch, start: 0, },
[CHAIN.ARBITRUM]: { fetch, start: 0, },
[CHAIN.BSC]: { fetch, start: 0, },
[CHAIN.POLYGON]: { fetch, start: 0, },
[CHAIN.ERA]: { fetch, start: 0, },
[CHAIN.OPTIMISM]: { fetch, start: 0, },
[CHAIN.AVAX]: { fetch, start: 0, },
},
};
export default adapter;

0 comments on commit 9f537b2

Please sign in to comment.