735546619e
Signed-off-by: T-Hax <>
16 lines
517 B
Solidity
16 lines
517 B
Solidity
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
pragma solidity >=0.5.0;
|
|
pragma abicoder v2;
|
|
|
|
import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
|
|
import '../lens/TickLens.sol';
|
|
|
|
/// @title Tick Lens contract
|
|
contract TickLensTest is TickLens {
|
|
function getGasCostOfGetPopulatedTicksInWord(address pool, int16 tickBitmapIndex) external view returns (uint256) {
|
|
uint256 gasBefore = gasleft();
|
|
getPopulatedTicksInWord(pool, tickBitmapIndex);
|
|
return gasBefore - gasleft();
|
|
}
|
|
}
|