-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add reserve increasing #2
Add reserve increasing #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small grammar change
Co-authored-by: Trevor Richard <40277611+trmid@users.noreply.github.com>
src/PrizePool.sol
Outdated
/// @param user The user attempting to increase the reserve | ||
/// @param balance The user's current balance | ||
/// @param amount The amount that the reserve is being increased by | ||
error InsufficientPrizeTokenBalance(address user, uint256 balance, uint256 amount); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did this come from?
src/PrizePool.sol
Outdated
@@ -167,6 +173,10 @@ contract PrizePool is TieredLiquidityDistributor { | |||
/// @param amount The amount of assets transferred | |||
event WithdrawReserve(address indexed to, uint256 amount); | |||
|
|||
/// @notice Emitted when the reserve is manually increased. | |||
/// @param amount The amount of assets transferred | |||
event IncreaseReserve(uint256 amount); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should prob include the user that increased?
No description provided.