nodeset-org / constellation

GNU General Public License v3.0
5 stars 0 forks source link

XrEth oracle change #250

Closed VVander closed 2 months ago

VVander commented 2 months ago

xrETH oracle used to just return all rewards, but it will now be returning all rewards MINUS fees. Therefore, the contracts don't need to calculate this in the oracle updates.

In addition, minipools will now have treasury fee and noFee defined at the time of creation and cannot be changed. This is to prevent new fee changes from retroactively affecting the xrETH ratio.