TempusAMM
smart 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 TempusAMM
is paired with a corresponding TempusPool
(which are initialized concurrently).getPricePerFullShare
that returns the value of one full share. So, we calculate balances as:TempusAMM
has 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.