Home > @primitivefi/rmm-sdk > ReserveStruct
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Data structure of the Primitive Engine Reserve struct, which is used tracking tokens in Pool.
Signature:
export interface ReserveStruct
Property | Type | Description |
---|---|---|
blockTimestamp? | string | (BETA) (Optional) Blocktimestamp of the previous block which updated cumulative reserves. |
cumulativeLiquidity? | string | (BETA) (Optional) Cumulative sum of liquidity. |
cumulativeRisky? | string | (BETA) (Optional) Cumulative sum of risky token reserves. |
cumulativeStable? | string | (BETA) (Optional) Cumulative sum of stable token reserves. |
liquidity | string | (BETA) Total liquidity of Pool, including the min liquidity IEngine.MIN_LIQUIDITY. |
reserveRisky | string | (BETA) Risky token reserves of IEngine.risky. |
reserveStable | string | (BETA) Stable token reserves of IEngine.stable. |