@merkl/api 0.20.77 → 0.20.78

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.
@@ -306,16 +306,16 @@ export class ClammDynamicData {
306
306
  i = prevI + 4;
307
307
  continue;
308
308
  }
309
- const priceToken0 = (await pricer.get({
309
+ const priceToken0 = await TokenService.getPrice({
310
310
  address: d.campaignParameters.token0,
311
311
  chainId: chainId,
312
312
  symbol: symbolToken0,
313
- }));
314
- const priceToken1 = (await pricer.get({
313
+ });
314
+ const priceToken1 = await TokenService.getPrice({
315
315
  address: d.campaignParameters.token1,
316
316
  chainId: chainId,
317
317
  symbol: symbolToken1,
318
- }));
318
+ });
319
319
  const almDetails = [];
320
320
  /** Direct ALMs */
321
321
  for (const w of pool.alms.filter(a => a.target.toLowerCase() === pool.address.toLowerCase() && a.type !== ALM.A51)) {