API reference v1.0
Introduction
periphery
tokenomics
IAlgebraPoolPermissionedActions

IAlgebraPoolPermissionedActions

IAlgebraPoolPermissionedActions

Permissioned pool actions Contains pool methods that may only be called by the factory owner or tokenomics

Functions

setCommunityFee

setCommunityFee(uint8,uint8) external

Set the community's % share of the fees. Cannot exceed 25% (250)

NameTypeDescription
communityFee0uint8new community fee percent for token0 of the pool in thousandths (1e-3)
communityFee1uint8new community fee percent for token1 of the pool in thousandths (1e-3)

setIncentive

setIncentive(address) external

Sets an active incentive

NameTypeDescription
virtualPoolAddressaddressThe address of a virtual pool associated with the incentive

setLiquidityCooldown

setLiquidityCooldown(uint32) external

Sets new lock time for added liquidity

NameTypeDescription
newLiquidityCooldownuint32The time in seconds