-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Low | ||
|
||
### Market index 0 is skipped | ||
|
||
The first market index is number 1, rather than 0. | ||
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/VaultFactory.sol#L195 | ||
|
||
## Non-critical | ||
|
||
### Open `TODO` comment | ||
|
||
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/Vault.sol#L196 | ||
|
||
### `StakingRewards.sol` is using the SafeMath library | ||
|
||
Standard mathematical operations reverts if an invalid operation occurs in solidity ^0.8, which means the library is deprecated. | ||
|
||
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/rewards/StakingRewards.sol#L4 | ||
|
||
### Missing _name dev parameter | ||
|
||
Function takes 7 arguments, however the @dev comment for `_name` is missing | ||
|
||
https://github.com/code-423n4/2022-09-y2k-finance/blob/main/src/VaultFactory.sol#L169-L174 |