Calculating APY for an AVS
An AVS’s total APY represents the combined yield potential across all its accepted restaking strategies. The calculation process involves analyzing reward submissions, strategy multiples, and token economics to derive accurate APY figures.1
Gathering Reward Submissions
We start by collecting all reward submissions emitted by the AVS. This
data is captured through the
AVSRewardsSubmissionCreated event.2
Identifying Accepted Restakeable Strategies
Next, we compile a list of accepted restakeable strategies within each
operator quorum, along with their total value locked (TVL) figures.
3
Linking Strategies to Reward Submissions
For each strategy identified, we create a list of reward submissions
that specifically reward that strategy.
4
Calculate Strategy APY
For each relevant reward submission, we retrieve the reward token
metadata, the strategy multiplier, reward amount, and reward duration
and conduct the calculation.Specifically, we use the following formulas to derive the final strategy APY:
5
Calculate AVS APY
Finally, the aggregate APY for the AVS is computed by summing the individual
APYs of each strategy.
Calculating APY for an Operator
The total APY for an operator reflects the combined yield potential from all the AVSs they have opted into, along with the accepted restaking assets or strategies. Calculating an operator’s APY is more complex than that of an individual AVS reward, as it must consider multiple selected AVSs and incorporate the operator’s earnings.1
Identifying Rewarded Restakeable Strategies
We start by identifying the AVS that the operator has opted into and selecting the corresponding restaking token that generates rewards from that AVS. The calculation outlined below must be performed for each AVS the operator has opted into.
2
Linking Strategies to Reward Submissions
For each strategy identified within the selected AVS, we compile a list of reward submissions that specifically correspond to that strategy.
3
Calculate Strategy APY
For each relevant AVS reward submission, we retrieve the reward token metadata, strategy multiplier, reward amount, and reward duration, and then perform the necessary calculations.Specifically, we use the following formulas to derive the final strategy APY:
4
Calculate selected AVS APY
The aggregate APY for the AVS is calculated by summing the individual APYs of all strategies.
5
Calculate Operator APY
The aggregate APY for the operator is calculated by summing the individual APYs of all AVSs.