Skip to content

add donation attack comment and pick up any S tokens in the withdrawAll

Codecov / codecov/patch succeeded Jan 10, 2025 in 0s

89.95% of diff hit (target 53.62%)

View this Pull Request on Codecov

89.95% of diff hit (target 53.62%)

Annotations

Check warning on line 55 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L55

Added line #L55 was not covered by tests

Check warning on line 58 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L58

Added line #L58 was not covered by tests

Check warning on line 71 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L71

Added line #L71 was not covered by tests

Check warning on line 77 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L77

Added line #L77 was not covered by tests

Check warning on line 80 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L80

Added line #L80 was not covered by tests

Check warning on line 89 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L89

Added line #L89 was not covered by tests

Check warning on line 91 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L91

Added line #L91 was not covered by tests

Check warning on line 98 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L98

Added line #L98 was not covered by tests

Check warning on line 100 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L100

Added line #L100 was not covered by tests

Check warning on line 102 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L102

Added line #L102 was not covered by tests

Check warning on line 104 in contracts/contracts/strategies/sonic/SonicStakingStrategy.sol

See this annotation in the file changed.

@codecov codecov / codecov/patch

contracts/contracts/strategies/sonic/SonicStakingStrategy.sol#L104

Added line #L104 was not covered by tests