Skip to content

Commit 479abdd

Browse files
committed
pendle solvbtc
1 parent f14256a commit 479abdd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

projects/pendle/v2.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ Object.keys(config).forEach((chain) => {
130130
? 18 : decimals[i]));
131131
let index = tokenAssetTypeSy.indexOf(sy[i]);
132132
if (index !== -1) {
133-
value = (value * exchangeRates[index]) / 10 ** 18;
133+
value = (value * exchangeRates[index]) / 10 ** ([
134+
'0x141ec2d606f12ff959d7d07cde6811e5fdff2831',
135+
'0xec30e55b51d9518cfcf5e870bcf89c73f5708f72',
136+
'0xd5cf704dc17403343965b4f9cd4d7b5e9b20cc52'
137+
].includes(sy[i].toLowerCase()) ? v.decimals : 18);
134138
}
135139
api.add(v.uAsset.toLowerCase(), value);
136140
});

0 commit comments

Comments
 (0)