Closed niuniu-afk closed 3 years ago
退出费用不为0,那么需要将流动性的一部分(手续费)转出 此时再销毁时,应该销毁扣除流动性之后的部分吧,否则销毁失败
背景补充:
截图这里确认是bug,因为burn的量多了,应该burn(poolAmountIn.sub(exitFee))
https://github.com/xdefilab/xdefi-base/pull/9
退出费用不为0,那么需要将流动性的一部分(手续费)转出 此时再销毁时,应该销毁扣除流动性之后的部分吧,否则销毁失败