Skip to content

Commit 4ecc050

Browse files
Add Capyfi protocol (DefiLlama#11332)
* add capyfi protocol * code refactor --------- Co-authored-by: g1nt0ki <[email protected]>
1 parent 619cc3f commit 4ecc050

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

projects/capyfi/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const { compoundExports2, methodology } = require('../helper/compound')
2+
3+
module.exports = {
4+
methodology,
5+
lac: compoundExports2({ comptroller: '0x123Abe3A273FDBCeC7fc0EBedc05AaeF4eE63060', cether: '0x465ebfceb3953e2922b686f2b4006173664d16ce' })
6+
}

projects/helper/tokenMapping.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ const fixBalancesTokens = {
4646
cronos_zkevm: {
4747
'0xc1bf55ee54e16229d9b369a5502bfe5fc9f20b6d': { coingeckoId: 'crypto-com-chain', decimals: 18 },
4848
},
49+
lac: {
50+
[ADDRESSES.null]: { coingeckoId: "la-coin", decimals: 18 },
51+
'0x2911a1AB18546cb501628Be8625C7503a2A7DB54': { coingeckoId: "la-coin", decimals: 18 },
52+
'0x42c8c9c0f0a98720dacdaeac0c319cb272b00d7e': { coingeckoId: "ethereum", decimals: 18 },
53+
'0xf54b8cb8eeee3823a55dddf5540ceaddf9724626': { coingeckoId: "wrapped-bitcoin", decimals: 8 },
54+
}
4955
}
5056

5157
ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) })

0 commit comments

Comments
 (0)