Open
Conversation
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
contracts/RewardsDistributor.sol
Outdated
| @@ -1,7 +1,7 @@ | |||
| // SPDX-License-Identifier: GPL-3.0-or-later | |||
Collaborator
Author
There was a problem hiding this comment.
changes made by someone
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
|
|
||
| function _safeApprove(address token, address spender, uint value) internal { | ||
| require(token.code.length > 0); | ||
| (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, spender, value)); |
There was a problem hiding this comment.
encodeCall is better than encodeWithSelector
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
c001ie
reviewed
Mar 2, 2023
|
To-Do in Gauge.Sol |
|
ToDo2 in Pair.Sol from both |
|
ToDo3 in Voter.sol. review and change to the following and its interfaces as seen here |
|
ToDo4 (consider it) In pairFactory.sol remove from but make sure there isnt |
a969b07 to
202aa37
Compare
…ontracts-latest into only-logic-changes
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.