# Doing the math on the whole rebalancing flow, not just the pool at the end of it

Mentorship Series #15 · 17 December 2025 · [@0xfirefist](https://x.com/0xFireFist) · Mento V3 · Cantina

Mentorship Series · [The Contest Academy](https://0xsimao.com/the-contest-academy) · written by 0xSimao

---

We continued the Mento V3 [contest](https://cantina.xyz/competitions/fe8e03b1-f8db-4698-8a21-44b3a862e434) on Cantina.

**Lesson Summary:**

- Do the math on the whole rebalancing flow, not only in FPMM.

https://youtu.be/l3A8tTmIQME

Session video: https://youtu.be/l3A8tTmIQME

Written by 0xSimao (https://0xsimao.com/) · Sherlock's 2025 Watson of the Year · 21 first places in 57 audit contests.

---

Newer: [Making sure every last token can leave a strategy](https://0xsimao.com/the-contest-academy/mento-stuck-strategy-tokens) · Older: [Rounding always favours the protocol, and what mint does against a one-wei reserve](https://0xsimao.com/the-contest-academy/mento-rounding-one-wei-reserve)
