Skip to content

Make Max Price 1+b#24

Merged
Joeysantoro merged 4 commits intoPOZ-Fixesfrom
POZ-Genesis-Price-Ceiling
Feb 6, 2021
Merged

Make Max Price 1+b#24
Joeysantoro merged 4 commits intoPOZ-Fixesfrom
POZ-Genesis-Price-Ceiling

Conversation

@Joeysantoro
Copy link
Contributor

@Joeysantoro Joeysantoro commented Feb 2, 2021

This PR should resolve issue H01 and C02 in the OpenZeppelin audit report for Fei Protocol.

The goal is to set a max price on the bonding curve level rather than allowing uncapped price movement. We can then remove the early launch condition of the GenesisGroup and rely on a true max.

This has the added benefit of allowing Genesis to be uncapped in raise size with a worst outcome price of peg + buffer.

@Joeysantoro Joeysantoro added Extra Scope This code wasn't explicitly in an audit but please review OZ Fix New A PR dedicated to fix an OpenZeppelin issue and removed Extra Scope This code wasn't explicitly in an audit but please review labels Feb 6, 2021
@Joeysantoro Joeysantoro changed the title Add a price ceiling to bonding curve purchases Make Max Price 1+b Feb 6, 2021
@Joeysantoro Joeysantoro changed the base branch from POZ-Combined to POZ-Fixes February 6, 2021 20:00
@Joeysantoro Joeysantoro merged commit 861ff0e into POZ-Fixes Feb 6, 2021
Joeysantoro added a commit that referenced this pull request Jul 9, 2021
@xklob xklob deleted the POZ-Genesis-Price-Ceiling branch September 19, 2021 18:54
Joeysantoro pushed a commit that referenced this pull request Sep 11, 2022
Merge public repo `develop` into private repo
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.

1 participant

Comments