Skip to content

Commit

Permalink
Merge pull request #2011 from DefiLlama/makenow-meme-fees
Browse files Browse the repository at this point in the history
add makenow-meme
  • Loading branch information
dtmkeng authored Oct 17, 2024
2 parents 85211b7 + a3a0fd5 commit 6281cf1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions fees/makenow-meme.ts
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6281cf1

Please sign in to comment.