-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: individual thresholds and reverse dutch auction #17
Conversation
Is this ready to review, CI seems to be failing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for some reason this didnt submit ~8 hours ago when i reviewed...
(address[] memory lRoute,, uint256 lPrevPrice, uint256 lRewardThreshold) = | ||
_getRouteDecimalDifferencePrice(lToken0, lToken1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(address[] memory lRoute,, uint256 lPrevPrice, uint256 lRewardThreshold) = | |
_getRouteDecimalDifferencePrice(lToken0, lToken1); | |
(address[] memory lRoute, , uint256 lPrevPrice, uint256 lRewardThreshold) = | |
_getRouteDecimalDifferencePrice(lToken0, lToken1); |
make it more obvious you're dropping a variable
@@ -329,7 +342,7 @@ contract ReservoirPriceOracle is IPriceOracle, Owned(msg.sender), ReentrancyGuar | |||
if (aAmount > Constants.MAX_AMOUNT_IN) revert OracleErrors.AmountInTooLarge(); | |||
|
|||
(address lToken0, address lToken1) = Utils.sortTokens(aBase, aQuote); | |||
(address[] memory lRoute, int256 lDecimalDiff, uint256 lPrice) = | |||
(address[] memory lRoute, int256 lDecimalDiff, uint256 lPrice,) = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest maybe always putting a space after ,
when dropping a variable?
No description provided.