# Application Stats

The APWine application provides useful statistics for all users willing to interact with the protocol.

## Displayed statistics#

### Global Statistics#

The global statistics section provides information about the state of the APWine protocol and AMM.

#### Tokenized TVL#

The Tokenized TVL displays the amount of IBT (Interest Bearing Tokens) deposited in the protocol.

ℹ️ The data displayed corresponds to the network you are currently connected to (e.g Mainnet, Polygon).

#### Exchange liquidity#

The Exchange Liquidity displays the amount of liquidity deposited in each pair of the AMM (including the underlying).

ℹ️ The data displayed corresponds to the network you are currently connected to (e.g Mainnet, Polygon).

#### Current Period#

The current period displays the status of the different futures. It includes the start date, the end date (term of the future period) and shows the time remaining before the future reach maturity.

### Future statistics#

The Future statistics displays an aggregation of data for each future.

#### Tokenized TVL#

The Tokenized TVL corresponds to the amount of IBT (Interest Bearing Tokens) deposited in the corresponding Future Vault.

#### Pools TVL#

The Pools TVL displays the amount of liquidity deposited in each pair of the corresponding AMM.

#### Spot APR#

The Spot APR displays the APR of the IBT given by the corresponding platform contracts.

#### Market APR#

The Market APR represents the APRs implied by the spot price of the derivatives on the amm.

• The PT APR is derived from the PT price in the first pair of the AMM. At expiry of the future the PT token will be worth one underlying token. The spot PT price in the AMM represent therefore the discounted underlying token. From this price the discount rate is computed for the time remaining in the period. This gives the APR of the period implied by the first pair of the AMM.
$P^t_{PT} = PV(P^T_{PT}) = \frac{P^T_{PT}}{1+r_{remaining}}$

with $P^t_{PT}$ the price of the PT in underlying at time $t$. Time $T$ correspond to the term of the future. Hence $P^T_{PT}=1$. Also, $r_{remaining}$ represents the discount rate for the time remaining in the period.

$\implies P^t_{PT} = \frac{1}{1+r_{remaining}} \implies r_{remaining} = \frac{1}{P^t_{PT}}-1$

The APR is then derived as $APR_{PT} = r_{remaining} \times \frac{t_{1year}}{t_{remaining}}$

• The FYT APR is derived from the ratio of FYT and PT in the second pair of the AMM. The ratio of FYT/PT in the second pair of the AMM represent directly the APR of the period predicted by the market.

$APR_{FYT} = P^t_{FYT} \times \frac{t_{1year}}{t_{remaining}}$ with $P^t_{FYT}$ the FYT price in PT at time $t$.

To understand how prices are computed from the AMM state follow this link.