-
Notifications
You must be signed in to change notification settings - Fork 93
Native staking updates #2023
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
Native staking updates #2023
Conversation
Fixed spelling of ValidatorAccountant events Implemented depositSSV
Moved MAX_STAKE on ValidatorAccountant to a constant
| modifier onlyStrategist() { | ||
| require(msg.sender == strategist, "Caller is not the Strategist"); | ||
| require( | ||
| msg.sender == IVault(VAULT_ADDRESS).strategistAddr(), |
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.
this is better yes thanks!
| IWETH9(WETH_TOKEN_ADDRESS).deposit{ value: wethToVault }(); | ||
| IWETH9(WETH_TOKEN_ADDRESS).transfer(VAULT_ADDRESS, wethToVault); | ||
|
|
||
| emit AccuntingFullyWithdrawnValidator( |
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.
haha that is a bad typo :D
sparrowDom
left a comment
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.
These look great thanks!
strategistfrom strategy as its already in the Vault