Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.79 KB

rmm-sdk.reservestruct.md

File metadata and controls

29 lines (20 loc) · 1.79 KB

Home > @primitivefi/rmm-sdk > ReserveStruct

ReserveStruct interface

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 

Properties

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.