Skip to content

Fix Genesis Arb#27

Merged
Joeysantoro merged 3 commits intoPOZ-Fixesfrom
POZ-Fix-Genesis-Arb
Feb 6, 2021
Merged

Fix Genesis Arb#27
Joeysantoro merged 3 commits intoPOZ-Fixesfrom
POZ-Fix-Genesis-Arb

Conversation

@Joeysantoro
Copy link
Contributor

This PR is intended to fix OpenZeppelin audit issue C04.

The change includes 2 pieces:

  1. Prevent redeeming in same block as launching
  2. Thaw from a 10% discounted price to the average Genesis price

2 decreases the profit margin by 10% for any financially equipped adversary. It is possible that this is not enough, in which case we could bump up the discount a bit

@Joeysantoro Joeysantoro added the OZ Fix New A PR dedicated to fix an OpenZeppelin issue label Feb 6, 2021
@Joeysantoro Joeysantoro changed the base branch from master to POZ-Combined February 6, 2021 05:18
@Joeysantoro Joeysantoro changed the base branch from POZ-Combined to POZ-Fixes February 6, 2021 20:16
@Joeysantoro Joeysantoro merged commit 7f1d5b7 into POZ-Fixes Feb 6, 2021
Joeysantoro added a commit that referenced this pull request Jul 9, 2021
version migration to solidity 0.8.4
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