mstable/mStable-contracts

Wrong fee coefficient for Redemption

KStasi opened this issue · 1 comments

Probably, should be set to redemptionFee

uint256 fee = applyFee ? swapFee : 0;

Hey @KStasi , many thanks for pointing this out to us. Actually (counter intuitively) this is correct and intended. The redemptionFee is a seperate fee recently implemented specifically for the redeemMasset function.

Note: mStable has an active bug bounty. If the bug affects running code then you should follow the responsible disclosure guidelines and submit it directly to the team in order to be eligible for a reward