Skip to content

Commit

Permalink
add farcaster and separate utils code
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed Aug 26, 2024
1 parent a41347a commit b152138
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions fees/farcaster.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Adapter } from "../adapters/types";
import { CHAIN } from "../helpers/chains";
import { evmReceivedGasAndTokens } from "../helpers/token";

const adapter: Adapter = {
version: 2,
isExpensiveAdapter: true,
adapter: {
[CHAIN.OPTIMISM]: {
fetch: evmReceivedGasAndTokens('0x00000000fcce7f938e7ae6d3c335bd6a1a7c593d', []), // actual protocol payments
start: 0,
},
[CHAIN.BASE]: {
fetch: evmReceivedGasAndTokens('0xbc698ce1933afb2980d4a5a0f85fea1b02fbb1c9', []), // zora rewards
start: 0,
}
}
}

export default adapter;

0 comments on commit b152138

Please sign in to comment.