diff --git a/fees/makenow-meme.ts b/fees/makenow-meme.ts new file mode 100644 index 0000000000..56b82d5f74 --- /dev/null +++ b/fees/makenow-meme.ts @@ -0,0 +1,29 @@ +import { FetchOptions, SimpleAdapter } from "../adapters/types" +import { CHAIN } from "../helpers/chains" +import { getSolanaReceived } from "../helpers/token" + +// https://solscan.io/account/8tA49tvPiTCkeVfuTms1F2nwVg6FWpQsQ8eNZ4g9vVQF + +// https://solscan.io/account/AEBoqzQU3fDYzhVmaRedcNeVcQQSMEqCAuQ2A7pYNEd7 + + +const fetchFees = async (options: FetchOptions) => { + const targets = [ + '8tA49tvPiTCkeVfuTms1F2nwVg6FWpQsQ8eNZ4g9vVQF', + 'AEBoqzQU3fDYzhVmaRedcNeVcQQSMEqCAuQ2A7pYNEd7' + ] + const dailyFees = await getSolanaReceived({ options, targets: targets }) + return { dailyFees, dailyRevenue: dailyFees, } +} + +const adapters: SimpleAdapter = { + version: 2, + adapter: { + [CHAIN.SOLANA]: { + fetch: fetchFees, + start: 1663113600, + } + } +} + +export default adapters