TurbineHook
State Variables
router
address public immutable routerMINIMUM_LIQUIDITY
uint256 public constant MINIMUM_LIQUIDITY = 10 ** 17registeredPoolIds
bytes32[] internal registeredPoolIdspools
Functions
constructor
Name
Type
Description
routerOnly
Name
Type
Description
_routerOnly
getPoolStates
Name
Type
Description
Name
Type
Description
getReserves
Name
Type
Description
Name
Type
Description
getLpTokenAddress
Name
Type
Description
Name
Type
Description
isRegisteredPool
Name
Type
Description
Name
Type
Description
getNumberOfRegisteredPools
Name
Type
Description
getRegisteredPoolsSlice
Name
Type
Description
Name
Type
Description
mint
Name
Type
Description
Name
Type
Description
burn
Name
Type
Description
beforeInitialize
_registerPool
Name
Type
Description
beforeSwap
Name
Type
Description
Name
Type
Description
getHookPermissions
Name
Type
Description
getPoolLpToken
_updateReserves
Name
Type
Description
computePoolId
Name
Type
Description
Name
Type
Description
Events
Mint
Burn
Swap
Sync
PoolRegistered
LPTokenDeployed
RouterSet
Errors
RouterOnly
PoolNotRegistered
PoolAlreadyRegistered
ZeroCurrencyAddress
BalanceOverflow
InsufficientInitialLiquidity
Structs
PoolState
PoolData
PoolInfo
Last updated
Was this helpful?