# How can middleware protocols update operator rewards?

**URL:** <https://forum.eigenlayer.xyz/t/how-can-middleware-protocols-update-operator-rewards/658>\
**Category:** AVS Support\
**Created:** [April 6, 2023, 9:44pm UTC](https://forum.eigenlayer.xyz/t/how-can-middleware-protocols-update-operator-rewards/658 "2023-04-06T21:44:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![meir](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@meir](https://forum.eigenlayer.xyz/u/meir)\
**Post date:** [April 6, 2023, 9:44pm UTC](https://forum.eigenlayer.xyz/t/how-can-middleware-protocols-update-operator-rewards/658/1 "2023-04-06T21:44:42Z")

</div>

Looking at this file ([https://github.com/Layr-Labs/eigenlayer-contracts/blob/master/src/contracts/middleware/PaymentManager.sol](https://github.com/Layr-Labs/eigenlayer-contracts/blob/master/src/contracts/middleware/PaymentManager.sol)) it looks like the amount of rewards claimed by an operator is not actually calculated on-chain but rather is secured by the off-chain fraud proof challenge period, where the operator can request an arbitrary amount of rewards, but if lying will be slashed in the challenge period and of course will not receive the rewards.

How will this work when protocols are adjusting the reward rates multiple times in one period between the operators last payment until toTaskNumber?

---

<div class="post-metadata">

**Author:** ![Gideonii](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.eigenlayer.xyz/gideonii/32/3437_2.png) [@Gideonii](https://forum.eigenlayer.xyz/u/Gideonii)\
**Post date:** [August 1, 2023, 5:07pm UTC](https://forum.eigenlayer.xyz/t/how-can-middleware-protocols-update-operator-rewards/658/2 "2023-08-01T17:07:14Z")

</div>

Tell me,what are you up to

---

<div class="post-metadata">

**Author:** ![TOPNFT](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@TOPNFT](https://forum.eigenlayer.xyz/u/TOPNFT)\
**Post date:** [August 6, 2023, 12:33pm UTC](https://forum.eigenlayer.xyz/t/how-can-middleware-protocols-update-operator-rewards/658/3 "2023-08-06T12:33:41Z")

</div>

A good job thank you sir

---

<div class="post-metadata">

**Author:** ![Skbiki](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Skbiki](https://forum.eigenlayer.xyz/u/Skbiki)\
**Post date:** [August 6, 2023, 4:23pm UTC](https://forum.eigenlayer.xyz/t/how-can-middleware-protocols-update-operator-rewards/658/5 "2023-08-06T16:23:32Z")

</div>

Great project guys ❤❤❤❤
