TurbineLiquidityRouter
State Variables
PERMIT2_CONTRACT
IPermit2 public constant PERMIT2_CONTRACT = IPermit2(0x000000000022D473030F116dDEE9F6B43aC78BA3)POOL_MANAGER
IPoolManager public immutable POOL_MANAGER = IPoolManager(UNIV4_POOL_MANAGER)turbineSettler
address public immutable turbineSettlerMIN_INTENT_EXPIRY
uint256 public constant MIN_INTENT_EXPIRY = 36 secondsSPEEDBUMP_DURATION
uint256 public constant SPEEDBUMP_DURATION = 12 secondsMAX_INTENT_EXPIRY
_TOKEN_PERMISSIONS_TYPEHASH
_PERMIT_TRANSFER_FROM_TYPEHASH
hook
removeLiquidityIntents
removeLiquidityPermits
removeLiquidityCreatedAt
Functions
constructor
ensure
_ensure
turbineSettlerOnly
_turbineSettlerOnly
poolManagerOnly
_poolManagerOnly
settlerOrPoolManagerOnly
_settlerOrPoolManagerOnly
getTurbineSettler
Name
Type
Description
getTurbineHook
Name
Type
Description
submitRemoveLiquidityIntent
Name
Type
Description
Name
Type
Description
executePendingIntents
Name
Type
Description
getRemoveLiquidityIntents
Name
Type
Description
Name
Type
Description
_buildRemoveLiquidityData
_executePendingIntent
unlockCallback
Name
Type
Description
Name
Type
Description
_maybeUnlockPoolManager
Name
Type
Description
Name
Type
Description
swapExactTokens
Name
Type
Description
_swapCallback
Name
Type
Description
Name
Type
Description
addLiquidity
Name
Type
Description
Name
Type
Description
_addLiquidityCallback
Name
Type
Description
Name
Type
Description
removeLiquidity
Name
Type
Description
Name
Type
Description
_removeLiquidity
calculateWithdrawnAmounts
_removeLiquidityCallback
Name
Type
Description
Name
Type
Description
_settleFromRouter
Name
Type
Description
isNonceUsed
Name
Type
Description
Name
Type
Description
_hashRemoveLiquidityIntent
_isTooYoung
_isExpired
_deleteIntentData
hash
Name
Type
Description
Name
Type
Description
Last updated
Was this helpful?