@merkl/api 0.15.16 → 0.15.17

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.
@@ -16,6 +16,7 @@ type dataRawAnglesLiquid = callKeysAnglesLiquid & {};
16
16
  type dataTypeAnglesLiquid = dataType & {
17
17
  poolToken: string;
18
18
  totalAssets: string;
19
+ symbolUnderlyingToken: string;
19
20
  };
20
21
  export declare class AnglesLiquidProcessor extends GenericProcessor<callKeysAnglesLiquid, dataRawAnglesLiquid, dataTypeAnglesLiquid> {
21
22
  rounds: {
@@ -18,6 +18,7 @@ export class AnglesLiquidProcessor extends GenericProcessor {
18
18
  const priceUnderlying = (await pricer.get({ symbol: "S" })) ?? 0;
19
19
  const tvl = priceUnderlying * BN2Number(typeInfo.totalAssets, 18);
20
20
  const priceTargetToken = totalSupply ? tvl / totalSupply : 0;
21
+ const symbolUnderlyingToken = "S";
21
22
  return {
22
23
  ...typeInfo,
23
24
  tvl,
@@ -25,6 +26,7 @@ export class AnglesLiquidProcessor extends GenericProcessor {
25
26
  blacklistedSupply,
26
27
  priceTargetToken,
27
28
  totalSupply,
29
+ symbolUnderlyingToken,
28
30
  totalAssets: typeInfo.totalAssets,
29
31
  poolToken: typeInfo.poolToken,
30
32
  cardName: generateCardName(type, typeInfo, campaign),