Skip to content

Conversation

@Joeysantoro
Copy link
Contributor

Converts the sell penalty to the smooth integral of the distance rather than the lump worst case penalty.

For example a trade starting at .95 and ending at .90 will not just do a (1-.90)^2 burn but rather take the integral of the burn function from .05 to .1 with respect to the distance from the peg.

Commit #1 reverts #63.
Commit #2 implements the fix

@Joeysantoro Joeysantoro added the OZ Fix New A PR dedicated to fix an OpenZeppelin issue label Feb 20, 2021
@Joeysantoro Joeysantoro force-pushed the Pre-Release-Fix-Incentives-Better branch from 00f7a9b to 8e2431d Compare February 20, 2021 18:15
@Joeysantoro Joeysantoro merged commit ce999ac into Release Feb 21, 2021
@xklob xklob deleted the Pre-Release-Fix-Incentives-Better branch September 19, 2021 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OZ Fix New A PR dedicated to fix an OpenZeppelin issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants