Skip to main content

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.

Global Statistics

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.

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. This gives the APR of the period implied by the first pair of the AMM.
PPTt=PV(PPTT)=PPTT1+rremainingP^t_{PT} = PV(P^T_{PT}) = \frac{P^T_{PT}}{1+r_{remaining}}

with PPTtP^t_{PT} the price of the PT in underlying at time tt. Time TT correspond to the term of the future. Hence PPTT=1P^T_{PT}=1. Also, rremainingr_{remaining} represents the discount rate for the time remaining in the period.

โ€…โ€ŠโŸนโ€…โ€ŠPPTt=11+rremainingโ€…โ€ŠโŸนโ€…โ€Šrremaining=1PPTtโˆ’1\implies P^t_{PT} = \frac{1}{1+r_{remaining}} \implies r_{remaining} = \frac{1}{P^t_{PT}}-1

The APR is then derived as APRPT=rremainingร—t1yeartremainingAPR_{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.

APRFYT=PFYTtร—t1yeartremainingAPR_{FYT} = P^t_{FYT} \times \frac{t_{1year}}{t_{remaining}} with PFYTtP^t_{FYT} the FYT price in PT at time tt.

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