Skip to main content

Application stats

The APWine application provides statistics useful 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.

Global Statistics

Tokenized TVL#

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

ℹ️ The data displayed correspond 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 correspond 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.

Future Statistics

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. To this discount the yield already generated in the future for one deposited underlying is added. This gives the APR of the period implied by the first pair of the AMM.

PU/PTt=PV(PU/PTT)=PU/PTT1+rremainingP^t_{U/PT} = PV(P^T_{U/PT}) = \frac{P^T_{U/PT}}{1+r_{remaining}} with PU/PTtP^t_{U/PT} the price of the PT in underlying at time tt. Time TT correspond to the term of the future. Hence PU/PTT=1P^T_{U/PT}=1. rremainingr_{remaining} is the discount rate for the time remaining in the period.

    PU/PTt=11+rremaining    rremaining=1PU/PTt1\implies P^t_{U/PT} = \frac{1}{1+r_{remaining}} \implies r_{remaining} = \frac{1}{P^t_{U/PT}}-1

The yield generated so far yty^t is taken into account. The APR is then derived from this two values as APRPT=(yt+rremaining)×t1yeartremainingAPR_{PT} = (y^t + 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.

APRFYT=PFYT/PTt×t1yeartremainingAPR_{FYT} = P^t_{FYT/PT} \times \frac{t_{1year}}{t_{remaining}} with PFYT/PTtP^t_{FYT/PT} the FYT price in PT.

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