TempusAMMsmart contract is an essential component of the Tempus Protocol. It allows users to swap Yields and Capitals for each other, or to provide liquidity to the platform to earn liquidity provider fees. Each
TempusAMMis paired with a corresponding
TempusPool(which are initialized concurrently).
getPricePerFullSharethat returns the value of one full share. So, we calculate balances as:
TempusAMMhas implemented a flat fee model that will initially be set by the pool deployer. All fees will accrue to those who provide liquidity to the TempusAMM.