mstable / mStable-apps

All mStable apps
GNU Lesser General Public License v3.0
14 stars 24 forks source link

Bug: Feeder Pool withdraw when pool balance is low #226

Closed dimsome closed 1 year ago

dimsome commented 1 year ago

About

When redeeming LPtokens from a pool that is low in balance or if the withdrawer is the majority holder of the LPtokens, the normal single sided withdrawal does not work anymore. The user needs to withdraw proportionally.

Issue

Feeder Pool page: https://mstable.app/#/musd/pools/0x4eaa01974b6594c0ee62ffd7fee56cf11e6af936

Cannot specify how many pooltokens should be used.

image

Steps

https://dashboard.tenderly.co/dimsome/project/simulator/74b3cc5e-baae-407b-b2ad-f3e351f3be18