-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves warnings from slither (#190)
* Modifies L2Reward and L2LockingPosition to supress or resolve slither warnings disables unchecked-transfer rule for all calls to IL2LiskToken.transferFrom in L2Reward disables unused-return rule for all calls to IL2LiskToken.approve in L2Reward disables unused-return rule for all calls to Math.trySub in L2Reward disables reentrancy-no-eth for L2Reward._delePosition disables reentrancy-no-eth for L2Reward._initiateFastUnlock resolves warnings in L2Reward.createPosition disables uninitialized-state for L2LockingPosition.lockingPosition state variable * Adds additional comments to slither warning supression hints
- Loading branch information
Showing
3 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters