Oracle

When the liquidity provider provides the initial liquidity to the eAMM pool, only the BASE asset is invested, while the QUOTE asset will be virtually supplied. Oracle will calculate the initial supply of the virtual asset based on the spot prices on other DEX pools alongside the following:

TermDescription

Index price

This price is derived from other DEX pools. The price on UniswapV3 will be used for the first iteration, while a weighted average based on multiple DEX pools will be used in the future.

Mark price

Mark price is the current price of the AMM.

Account mark price

This price is used to calculate whether the user has exceeded the liquidation threshold, account mark price is calculated with mark price

Funding premium fraction

This value is used to calculate the funding payments.

Last updated