This contract has price information that reflects the amount and time weight of the tokens held by the LP. The priceACumulativeLast and priceBCumulativeLast you have are TWCP (Time-Weighted Cumulative Price), which is time weighted price information. The quantity and price information of this contract will be used in Price Oracle.


Read-Only Functions



event Sync(address pool, uint112 reserveA, uint112 reserveB);
  • Emitted each time reserves are updated.

  • Parameters

    • pool : Pool contract address of target pool

    • reserveA : TokenA liquidity amount

    • reserveB : TokenB liquidity amount

Last updated