We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f14256a commit 479abddCopy full SHA for 479abdd
projects/pendle/v2.js
@@ -130,7 +130,11 @@ Object.keys(config).forEach((chain) => {
130
? 18 : decimals[i]));
131
let index = tokenAssetTypeSy.indexOf(sy[i]);
132
if (index !== -1) {
133
- value = (value * exchangeRates[index]) / 10 ** 18;
+ value = (value * exchangeRates[index]) / 10 ** ([
134
+ '0x141ec2d606f12ff959d7d07cde6811e5fdff2831',
135
+ '0xec30e55b51d9518cfcf5e870bcf89c73f5708f72',
136
+ '0xd5cf704dc17403343965b4f9cd4d7b5e9b20cc52'
137
+ ].includes(sy[i].toLowerCase()) ? v.decimals : 18);
138
}
139
api.add(v.uAsset.toLowerCase(), value);
140
});
0 commit comments