impermax-sdk 2.1.278 → 2.1.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -195,12 +195,13 @@ class OffchainAPRHelper {
|
|
|
195
195
|
for (let i in params) {
|
|
196
196
|
values[i] = llamaAllPools[llamaId]?.[params[i]] ?? 0;
|
|
197
197
|
}
|
|
198
|
+
console.log("values", values, params);
|
|
198
199
|
}
|
|
199
200
|
catch (err) { }
|
|
200
201
|
return values;
|
|
201
202
|
}
|
|
202
203
|
async getLlamaAPR(pool, chain) {
|
|
203
|
-
return (await this.getLlamaYieldsParams(pool, chain, ['apy'])[0]
|
|
204
|
+
return (await this.getLlamaYieldsParams(pool, chain, ['apy']))[0] / 100;
|
|
204
205
|
}
|
|
205
206
|
async getLlamaYieldsUniswapV3(pool, chain) {
|
|
206
207
|
const [apyBase, apyBase7d, tvlUsd] = await this.getLlamaYieldsParams(pool, chain, [
|