Type alias PriceCalculationData

PriceCalculationData: {
    decimalsMap: DecimalsMap;
    poolMap: PoolMap;
    tickArrayMap: TickArrayMap;
}

A set of fetched accounts that are used for price calculations in PriceModule functions.

Type declaration

Param: poolMap

A map of WhirlpoolData accounts that are used for price calculations.

Param: tickArrayMap

A map of TickArrayData accounts that are used for price calculations.

Param: decimalsMap

A map of token decimals that are used for price calculations.

Generated using TypeDoc