OracleSlippage
Functions
getBlockStartingAndCurrentTick
function getBlockStartingAndCurrentTick(IDragonswapV2Pool pool)
internal
view
returns (int24 blockStartingTick, int24 currentTick);getPoolAddress
function getPoolAddress(address tokenA, address tokenB, uint24 fee)
internal
view
virtual
returns (IDragonswapV2Pool pool);getSyntheticTicks
function getSyntheticTicks(bytes memory path, uint32 secondsAgo)
internal
view
returns (int256 syntheticAverageTick, int256 syntheticCurrentTick);toInt24
getSyntheticTicks
checkOracleSlippage
Name
Type
Description
checkOracleSlippage
Name
Type
Description
Last updated