3. Applying the Funding Rate
After calculating the Profits and Losses (PNL), the Protocol applies the Funding Rate. The side with the higher exposure is the one that pays the Funding Rate. For instance, if the balance of the Vault Side exceeds the Trading Expo of the Long Side, the Vault pays. Conversely, if the Trading Expo of the Long Side is higher, the Longs are responsible for paying the Funding Rate.
However, calculating Funding Rate is more complex than simply comparing the imbalance between the two sides. It incorporates several elements, including the level of imbalance, a 5-day exponential moving average to smooth out fluctuations, and an adjustment factor that adapts to maintain the Protocol's balance. For more details on this calculation and its mechanics, please refer to the whitepaper.
Impact on SDEX
With each Funding Rate payment, 8% of the Funding Rate is allocated to a "Buy Back and Burn" mechanism for SDEX tokens. This process permanently reduces the supply of SDEX, thereby increasing its value. It rewards SDEX holders and supports the value growth of the SmarDex token.
Last updated