Open GriffGreen opened 3 years ago
_refund()
refund()
see https://brettsun.notion.site/Augmented-Bonding-Curve-Review-6dfc203017f34b7a9eca5807fa0609cd
_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)