Skip to content
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

Lido Split Audit Fix #87

Merged
merged 6 commits into from
Sep 28, 2023
Merged

Lido Split Audit Fix #87

merged 6 commits into from
Sep 28, 2023

Conversation

samparsky
Copy link
Collaborator

Fixes #76 , Fixes #77

Copy link
Contributor

@OisinKyne OisinKyne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -70,4 +69,19 @@ contract LidoSplit is Clone {
// transfer to split wallet
ERC20(wstETH).safeTransfer(splitWallet(), amount);
}

/// @notice Rescue stuck ETH
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// @notice Rescue stuck ETH
/// @notice Rescue stuck ETH or ERC20 by pushing to the reward address

I was going to ask should this method have a modifier to protect it, but then realised it didn't matter because the funds can only go one place.

@samparsky samparsky merged commit b27ba37 into feat/audit Sep 28, 2023
1 check passed
@samparsky samparsky deleted the feat/lidosplit-audit-fix branch September 28, 2023 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants