minor fix

This commit is contained in:
Thrilok Kumar 2021-12-21 15:16:43 +05:30
parent 70a341244d
commit 4ef4c48a77
2 changed files with 6 additions and 2 deletions

View File

@ -80,7 +80,7 @@ abstract contract Helpers is DSMath, Basic {
return nftManager.createAndInitializePoolIfNecessary(
address(_token0),
address(_tokenA),
address(_token1),
fee,
TickMath.getSqrtRatioAtTick(initialTick)
);

View File

@ -17,7 +17,11 @@ abstract contract UniswapResolver is Helpers, Events {
address tokenB,
uint24 fee,
int24 initialTick
) {
)
external
payable
returns (string memory _eventName, bytes memory _eventParam)
{
address pool = _createAndInitializePoolIfNecessary(
tokenA,