What does Reflect.Finance code do: _rTotal = (MAX - (MAX % totalSupplyOfToken));

Thanks Skyge! Yeah I’m having a hard time figuring out why exactly they did that in RFI code. I can understand the math, but why is another story haha.

I will probably end up figuring out why it’s exactly doing that after I test deploy and start messing with reflect fees and LP swaps.

Sorry to the OP for bumping this thread, but it’s relevant to figuring out what that code actually does, not just the MAX part.

4 Likes