StakeEase
Launch App
  • Overview
  • Background
    • EigenLayer
      • What is EigenLayer?
      • EigenLayer Components
      • Why EigenLayer?
      • Challenges with EigenLayer
    • Restaking Protocols
      • Intro to Restaking Protocols
      • Benefits of Restaking Protocols
      • Challenges with Restaking Protocols
  • StakeEase
    • sxETH: A Unified LRT Index
    • StakeEase Points (SEP)
    • StakeEase Referral System
    • Security
      • Audit Reports
    • Guides
      • Using the sxETH Testnet
      • Using the StakeEase Testnet
    • Contract Addresses
  • Aggregator
    • Overview
    • Technical
      • Components
      • Adapter Classification
      • User Flow
      • Workflow
      • Native Restaking
        • User Guide
        • Workflow
      • StakeEase Fusion
        • User Flow
        • Calculations
      • Contract Addresses
    • Fee Structure
    • Aggregator APIs
      • Features
      • Swagger API Reference
  • Misc
    • Roadmap
    • FAQs
    • Socials
      • Twitter
      • Discord
      • Telegram
      • Medium
    • Brand Kit
    • Terms of Service
Powered by GitBook
On this page
  1. Aggregator
  2. Technical
  3. StakeEase Fusion

Calculations

Using the example of the Stader-Kelp strategy, let us see how the calculation looks like:

  • N: total number of users in a batch

  • F: total fee in terms of ETH

F=(baseGasLimit+N∗marginalGasPerUser)∗gasPriceF = (\text{baseGasLimit} + N*\text{marginalGasPerUser})*\text{gasPrice}F=(baseGasLimit+N∗marginalGasPerUser)∗gasPrice
  • E: total ETH staked into Stader

E=(ETHuser 1+ETHuser 2+ETHuser 3+....)−FE = (\text{ETH}_{\text{user 1}} + \text{ETH}_{\text{user 2}} + \text{ETH}_{\text{user 3}} + .... )- FE=(ETHuser 1​+ETHuser 2​+ETHuser 3​+....)−F
  • R: total rsETH received for a batch from Kelp

  • rsETH distribution per user:

rsETHuser x=(ETHuser x−FN)E∗R\text{rsETH}_{\text{user x}} = \frac{(\text{ETH}_{\text{user x}} - \frac{F}{N})}{E} * RrsETHuser x​=E(ETHuser x​−NF​)​∗R
PreviousUser FlowNextContract Addresses

Last updated 1 year ago