Skip to content

Commit a811787

Browse files
Fisclendg1nt0ki
andauthored
Update index.js (DefiLlama#12827)
Co-authored-by: g1nt0ki <[email protected]>
1 parent 1e22d4f commit a811787

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

projects/fisclend/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ const { compoundExports2 } = require('../helper/compound')
33
module.exports = {
44
apechain: compoundExports2({comptroller: '0xd11443B079D62700061F7311fC48C40B30BCEA91', cether: '0xB1974B31b60C7134978e5574F5f1fC8A16535b5D'}),
55
wc: compoundExports2({comptroller: '0xE3de48DCF4968B419BB55421D6B5bF2c049DaFB2', cether: '0xCD04992D1D8d42BB432AD794103c3B498016Da88'}),
6+
sonic: compoundExports2({comptroller: '0x65E8768B86350875DDE19A791f06FfB7a4ADA71b', cether: '0x0B19823EF1F4a6B1f7c52336F428F1a92e9f645E'}),
67
}

projects/helper/tokenMapping.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ const fixBalancesTokens = {
7979
elys: {
8080
'uelys': { coingeckoId: 'elys-network', decimals: 6 },
8181
},
82+
wc: {
83+
[ADDRESSES.null]: { coingeckoId: 'ethereum', decimals: 18 },
84+
},
8285
}
8386

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

utils/handleError.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function getStackMessage(stack) {
2222
if (!stack) return []
2323
if (/ at (checkExportKeys)/.test(stack)) return []
2424

25-
const isNodeMolule = m => /node_modules/.test(m)
25+
const isNodeMolule = m => /node_modules/.test(m) && !/defillama/.test(m)
2626
const isNotLoggerMessage = m => !/log/.test(m)
2727
const isNotInternalMessage = m => !/node:internal/.test(m)
2828

0 commit comments

Comments
 (0)