Reverted commit

This commit is contained in:
Thrilok Kumar 2021-08-20 03:53:48 +05:30
parent f0e9e1d529
commit bacfc9d07c
2 changed files with 3 additions and 24 deletions

View File

@ -14,19 +14,12 @@ abstract contract UniswapResolver is Helpers, Events {
/**
* @dev Mint New Position
* @notice Mint New NFT LP Position
* @param tokenA parameter for mint
* @param params parameter for mint
* @param getIds ID to retrieve amtA
* @param setId ID stores the amount of LP token
*/
function mint(
address tokenA,
address tokenB,
uint24 fee,
int24 tickLower,
int24 tickUpper,
uint256 amtA,
uint256 amtB,
uint256 slippage,
MintParams memory params,
uint256[] calldata getIds,
uint256 setId
)
@ -34,20 +27,6 @@ abstract contract UniswapResolver is Helpers, Events {
payable
returns (string memory _eventName, bytes memory _eventParam)
{
MintParams memory params;
{
params = MintParams(
tokenA,
tokenB,
fee,
tickLower,
tickUpper,
amtA,
amtB,
slippage
);
}
params.amtA = getUint(getIds[0], params.amtA);
params.amtB = getUint(getIds[1], params.amtB);

View File

@ -26,7 +26,7 @@ module.exports = {
version: "0.7.6",
settings: {
optimizer: {
enabled: true,
enabled: false,
runs: 200,
},
},