For refunding with vesting, calculate how much they vested and add that to another burn
Opened this issue · 1 comments
GriffGreen commented
- 🚨
_refund()
should check if the vesting's cliff date has been reached when calculating the amount to burn: becauserefund()
can be called at any time, a user who waits until after the cliff period to be refunded may experience odd behaviour (either they receive some vested tokens or are unable to process the refund because the token manager fails to burn the expected amount of tokens)