Skip to content

Commit 5e51ada

Browse files
committed
ref: fix warnings for visibility state mutability.
constructor - public is ignored and has no meaning in that context. getProvideLiquiditySingleAssetCalldata, getRemoveLiquiditySingleAssetCalldata - restricted to pure.
1 parent a016dbb commit 5e51ada

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/protocol/integration/amm/ArrakisUniswapV3AmmAdapter.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ contract ArrakisUniswapV3AmmAdapter is IAmmAdapter {
5454
* @param _router Address of Arrakis Router contract
5555
* @param _uniV3Factory Address of UniswapV3 Factory contract
5656
*/
57-
constructor(address _router, address _uniV3Factory) public {
57+
constructor(address _router, address _uniV3Factory){
5858
require(_router != address(0),"_router address must not be zero address");
5959
require(_uniV3Factory != address(0),"_uniV3Factory address must not be zero address");
6060
router = _router;
@@ -127,7 +127,7 @@ contract ArrakisUniswapV3AmmAdapter is IAmmAdapter {
127127
uint256 /*_minLiquidity*/
128128
)
129129
external
130-
view
130+
pure
131131
override
132132
returns (address /*target*/, uint256 /*value*/, bytes memory /*data*/)
133133
{
@@ -194,7 +194,7 @@ contract ArrakisUniswapV3AmmAdapter is IAmmAdapter {
194194
uint256 /*_liquidity*/
195195
)
196196
external
197-
view
197+
pure
198198
override
199199
returns (address /*target*/, uint256 /*value*/, bytes memory /*data*/)
200200
{

0 commit comments

Comments
 (0)