-
Notifications
You must be signed in to change notification settings - Fork 7
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
IPF #182
base: main
Are you sure you want to change the base?
IPF #182
Conversation
a17
commented
Nov 14, 2024
•
edited
Loading
edited
- integration interfaces
- constants
- routes
- farms
- skeleton
- universal test
- implementation
- deploy script
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #182 +/- ##
==========================================
- Coverage 97.30% 97.26% -0.05%
==========================================
Files 64 64
Lines 4641 4643 +2
Branches 514 515 +1
==========================================
Hits 4516 4516
- Misses 107 109 +2
Partials 18 18 ☔ View full report in Codecov by Sentry. |
function extra() external pure returns (bytes32) { | ||
// todo | ||
return CommonLib.bytesToBytes32(abi.encodePacked(bytes3(0x965fff), bytes3(0x000000))); | ||
} |
Check warning
Code scanning / Slither
Too many digits Warning
- CommonLib.bytesToBytes32(abi.encodePacked(bytes3(0x965fff),bytes3(0x000000)))
function _fetchSpot( | ||
address _tokenIn, | ||
address _tokenOut, | ||
int _tick, | ||
uint _amountIn | ||
) internal pure returns (uint amountOut) { | ||
// return IQMFLib.getQuoteAtTick(int24(_tick), SafeCast.toUint128(_amountIn), _tokenIn, _tokenOut); | ||
} |
Check warning
Code scanning / Slither
Dead-code Warning
function _fetchTwap( | ||
address _pool, | ||
address _tokenIn, | ||
address _tokenOut, | ||
uint32 _twapPeriod, | ||
uint _amountIn | ||
) internal view returns (uint amountOut) { | ||
// Leave twapTick as a int256 to avoid solidity casting | ||
/*int twapTick = IQMFLib.consult(_pool, _twapPeriod); | ||
return IQMFLib.getQuoteAtTick( | ||
int24(twapTick), // can assume safe being result from consult() | ||
SafeCast.toUint128(_amountIn), | ||
_tokenIn, | ||
_tokenOut | ||
);*/ | ||
} |
Check warning
Code scanning / Slither
Dead-code Warning