Skip to content

Commit

Permalink
add capyfi protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMenendez committed Aug 16, 2024
1 parent 4a8f3bb commit 7a93f78
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions projects/capyfi/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const { usdCompoundExports } = require('../helper/compound')

const capyfiConfig = {
comptroller: '0x123Abe3A273FDBCeC7fc0EBedc05AaeF4eE63060',
chain: 'lac',
nativeTokenMarket: '0x465ebFCeB3953e2922B686F2B4006173664D16cE',
options: { blacklist: ['0x25f38518dc45f6b20f716e508b8f468c97b2d4a9'] }
}

const capyfiTVL = usdCompoundExports(
capyfiConfig.comptroller,
capyfiConfig.chain,
capyfiConfig.nativeTokenMarket,
undefined,
capyfiConfig.options
)


module.exports = {
methodology: 'The TVL is calculated by adding the value of total deposits in all markets minus the total borrows.',
lac: { ...capyfiTVL }
}

0 comments on commit 7a93f78

Please sign in to comment.