# Ideas for ensuring fair solutions: envy-freeness of AMMs and capped surplus

**URL:** <https://forum.cow.fi/t/ideas-for-ensuring-fair-solutions-envy-freeness-of-amms-and-capped-surplus/1029>\
**Category:** Technical\
**Created:** [June 16, 2022, 7:38pm UTC](https://forum.cow.fi/t/ideas-for-ensuring-fair-solutions-envy-freeness-of-amms-and-capped-surplus/1029 "2022-06-16T19:38:00Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![voyta.eth](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.cow.fi/voyta.eth/32/495_2.png) [@voyta.eth](https://forum.cow.fi/u/voyta.eth)\
**Post date:** [June 21, 2022, 10:54am UTC](https://forum.cow.fi/t/ideas-for-ensuring-fair-solutions-envy-freeness-of-amms-and-capped-surplus/1029/12 "2022-06-21T10:54:25Z")

</div>

Right, that sounds good. I’m guessing the deriving a robust function of estimating the AMM spot price would depend on implementation details of contributing AMMs, could be something like midpoint of the best AMM, or midpoint between (potentially weighted) bid/ask for very small volume of different AMMs, or something similar.

---

_[View the full topic](https://forum.cow.fi/t/ideas-for-ensuring-fair-solutions-envy-freeness-of-amms-and-capped-surplus/1029)._
