mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Reverted commit
This commit is contained in:
parent
f0e9e1d529
commit
bacfc9d07c
|
@ -14,19 +14,12 @@ abstract contract UniswapResolver is Helpers, Events {
|
||||||
/**
|
/**
|
||||||
* @dev Mint New Position
|
* @dev Mint New Position
|
||||||
* @notice Mint New NFT LP Position
|
* @notice Mint New NFT LP Position
|
||||||
* @param tokenA parameter for mint
|
* @param params parameter for mint
|
||||||
* @param getIds ID to retrieve amtA
|
* @param getIds ID to retrieve amtA
|
||||||
* @param setId ID stores the amount of LP token
|
* @param setId ID stores the amount of LP token
|
||||||
*/
|
*/
|
||||||
function mint(
|
function mint(
|
||||||
address tokenA,
|
MintParams memory params,
|
||||||
address tokenB,
|
|
||||||
uint24 fee,
|
|
||||||
int24 tickLower,
|
|
||||||
int24 tickUpper,
|
|
||||||
uint256 amtA,
|
|
||||||
uint256 amtB,
|
|
||||||
uint256 slippage,
|
|
||||||
uint256[] calldata getIds,
|
uint256[] calldata getIds,
|
||||||
uint256 setId
|
uint256 setId
|
||||||
)
|
)
|
||||||
|
@ -34,20 +27,6 @@ abstract contract UniswapResolver is Helpers, Events {
|
||||||
payable
|
payable
|
||||||
returns (string memory _eventName, bytes memory _eventParam)
|
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.amtA = getUint(getIds[0], params.amtA);
|
||||||
params.amtB = getUint(getIds[1], params.amtB);
|
params.amtB = getUint(getIds[1], params.amtB);
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module.exports = {
|
||||||
version: "0.7.6",
|
version: "0.7.6",
|
||||||
settings: {
|
settings: {
|
||||||
optimizer: {
|
optimizer: {
|
||||||
enabled: true,
|
enabled: false,
|
||||||
runs: 200,
|
runs: 200,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user